@adyen/bento-vue3 1.86.0 → 1.87.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/index.d.ts +12337 -12402
- 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/anchor-scroller.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/checkbox-group.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/controls-group.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/dialog-page.css +1 -1
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/error-message.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/form-layout-title.css +1 -1
- package/dist/assets/input-field-phone-number.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/pagination.css +1 -1
- package/dist/assets/radio-group.css +1 -1
- package/dist/assets/rich-text-editor.css +1 -1
- package/dist/assets/selection-card-group.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/textarea.css +1 -1
- package/dist/button.js +1 -1
- package/dist/card.js +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chunks/{action-bar.g7rM3wUc.js → action-bar.Ho_fXeXK.js} +4 -4
- package/dist/chunks/{action-bar.g7rM3wUc.js.map → action-bar.Ho_fXeXK.js.map} +1 -1
- package/dist/chunks/{ai-tag.UlRkq54l.js → ai-tag.DVCW-_vD.js} +2 -2
- package/dist/chunks/{ai-tag.UlRkq54l.js.map → ai-tag.DVCW-_vD.js.map} +1 -1
- package/dist/chunks/anchor-scroller.BctgW0se.js +214 -0
- package/dist/chunks/anchor-scroller.BctgW0se.js.map +1 -0
- package/dist/chunks/{base-modal.D5HrjwL1.js → base-modal.gZAtk-xP.js} +17 -17
- package/dist/chunks/{base-modal.D5HrjwL1.js.map → base-modal.gZAtk-xP.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.DBqA3Ws5.js → button-actions-with-menu.Tba1ME79.js} +3 -3
- package/dist/chunks/{button-actions-with-menu.DBqA3Ws5.js.map → button-actions-with-menu.Tba1ME79.js.map} +1 -1
- package/dist/chunks/{button-actions.BH-J7dux.js → button-actions.BYBpjNqy.js} +182 -180
- package/dist/chunks/button-actions.BYBpjNqy.js.map +1 -0
- package/dist/chunks/{calendar.DzeJoNc2.js → calendar.vM3abC8y.js} +401 -410
- package/dist/chunks/calendar.vM3abC8y.js.map +1 -0
- package/dist/chunks/{card.DcXXdxWL.js → card.Cw63i7Ul.js} +2 -2
- package/dist/chunks/{card.DcXXdxWL.js.map → card.Cw63i7Ul.js.map} +1 -1
- package/dist/chunks/{checkbox-group.Bh_aqKoA.js → checkbox-group.ODQy-ICn.js} +42 -41
- package/dist/chunks/checkbox-group.ODQy-ICn.js.map +1 -0
- package/dist/chunks/{checkbox.7kpOXm-b.js → checkbox.C3Ewfygy.js} +79 -81
- package/dist/chunks/checkbox.C3Ewfygy.js.map +1 -0
- package/dist/chunks/{code-snippet.UIqVTv4U.js → code-snippet.Dl1MEedz.js} +4 -4
- package/dist/chunks/{code-snippet.UIqVTv4U.js.map → code-snippet.Dl1MEedz.js.map} +1 -1
- package/dist/chunks/constructNow.CIc7d13I.js +8 -0
- package/dist/chunks/{constructNow.B8T1ljs6.js.map → constructNow.CIc7d13I.js.map} +1 -1
- package/dist/chunks/{controls-group.Dip3WAKV.js → controls-group.Bu5lNTyH.js} +22 -28
- package/dist/chunks/controls-group.Bu5lNTyH.js.map +1 -0
- package/dist/chunks/{copy.ByyQlckP.js → copy.C_BCNHYQ.js} +3 -3
- package/dist/chunks/{copy.ByyQlckP.js.map → copy.C_BCNHYQ.js.map} +1 -1
- package/dist/chunks/{dashboard-section.CIHtXoeW.js → dashboard-section.CgoLquLP.js} +3 -3
- package/dist/chunks/{dashboard-section.CIHtXoeW.js.map → dashboard-section.CgoLquLP.js.map} +1 -1
- package/dist/chunks/{dashed-underline.CLwPU-C2.js → dashed-underline.wbRHATeE.js} +3 -3
- package/dist/chunks/{dashed-underline.CLwPU-C2.js.map → dashed-underline.wbRHATeE.js.map} +1 -1
- package/dist/chunks/{data-grid-template.BTpSfkQt.js → data-grid-template.D40V1cmi.js} +3 -3
- package/dist/chunks/{data-grid-template.BTpSfkQt.js.map → data-grid-template.D40V1cmi.js.map} +1 -1
- package/dist/chunks/{data-grid.CXDdiHz8.js → data-grid.KudN-TcY.js} +870 -867
- package/dist/chunks/{data-grid.CXDdiHz8.js.map → data-grid.KudN-TcY.js.map} +1 -1
- package/dist/chunks/date-picker.D5B_SECc.js +251 -0
- package/dist/chunks/date-picker.D5B_SECc.js.map +1 -0
- package/dist/chunks/date-range-picker.CDDw_xl_.js +1104 -0
- package/dist/chunks/date-range-picker.CDDw_xl_.js.map +1 -0
- package/dist/chunks/{de.DvtL0g75.js → de.BJvo6njq.js} +2 -2
- package/dist/chunks/{de.DvtL0g75.js.map → de.BJvo6njq.js.map} +1 -1
- package/dist/chunks/{dialog-page.B3ptLXXP.js → dialog-page.C1KUI51V.js} +2 -2
- package/dist/chunks/{dialog-page.B3ptLXXP.js.map → dialog-page.C1KUI51V.js.map} +1 -1
- package/dist/chunks/{differenceInMonths.BR4Z2HIa.js → differenceInMonths.CIYECBxK.js} +7 -7
- package/dist/chunks/{differenceInMonths.BR4Z2HIa.js.map → differenceInMonths.CIYECBxK.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.B-_dTUVX.js → dropdown-default-textbox.CskseEho.js} +62 -60
- package/dist/chunks/dropdown-default-textbox.CskseEho.js.map +1 -0
- package/dist/chunks/{dropdown-tag.DDNOZhEG.js → dropdown-tag.CwSzUwa7.js} +3 -3
- package/dist/chunks/{dropdown-tag.DDNOZhEG.js.map → dropdown-tag.CwSzUwa7.js.map} +1 -1
- package/dist/chunks/{dropdown.CU6nfq3V.js → dropdown.Bdw2B-Cw.js} +9 -9
- package/dist/chunks/{dropdown.CU6nfq3V.js.map → dropdown.Bdw2B-Cw.js.map} +1 -1
- package/dist/chunks/{en-GB.DCGuCmAv.js → en-GB.C3-QUpva.js} +2 -2
- package/dist/chunks/{en-GB.DCGuCmAv.js.map → en-GB.C3-QUpva.js.map} +1 -1
- package/dist/chunks/{en-US.BZii9jNW.js → en-US.YeSsZuOc.js} +150 -100
- package/dist/chunks/en-US.YeSsZuOc.js.map +1 -0
- package/dist/chunks/error-message.oGiefI2-.js +155 -0
- package/dist/chunks/error-message.oGiefI2-.js.map +1 -0
- package/dist/chunks/{es.bz0mzkMq.js → es.DyUjjSL8.js} +2 -2
- package/dist/chunks/{es.bz0mzkMq.js.map → es.DyUjjSL8.js.map} +1 -1
- package/dist/chunks/{file-uploader.Q2ufNRTY.js → file-uploader.BnmNI1O7.js} +573 -548
- package/dist/chunks/file-uploader.BnmNI1O7.js.map +1 -0
- package/dist/chunks/{filter-bar.BVj9YVv-.js → filter-bar.xwfVuZw4.js} +1973 -2062
- package/dist/chunks/filter-bar.xwfVuZw4.js.map +1 -0
- package/dist/chunks/{focus-trap.CBvh2H_m.js → focus-trap.BxCwzLqN.js} +2 -2
- package/dist/chunks/{focus-trap.CBvh2H_m.js.map → focus-trap.BxCwzLqN.js.map} +1 -1
- package/dist/chunks/{footer-actions.DLzMOB7j.js → footer-actions.Ck6UztD8.js} +2 -2
- package/dist/chunks/{footer-actions.DLzMOB7j.js.map → footer-actions.Ck6UztD8.js.map} +1 -1
- package/dist/chunks/form-layout-title.CQfeGyVw.js +232 -0
- package/dist/chunks/{form-layout-title.DYmTc6M7.js.map → form-layout-title.CQfeGyVw.js.map} +1 -1
- package/dist/chunks/{match.CMBZxEs9.js → fr.JD_4GwS8.js} +98 -61
- package/dist/chunks/fr.JD_4GwS8.js.map +1 -0
- package/dist/chunks/{header-meta.Bw8ZGwJW.js → header-meta.lGt3HsyH.js} +108 -114
- package/dist/chunks/header-meta.lGt3HsyH.js.map +1 -0
- package/dist/chunks/{header-with-views.CJDoE4hw.js → header-with-views.BT6lbAby.js} +9 -9
- package/dist/chunks/{header-with-views.CJDoE4hw.js.map → header-with-views.BT6lbAby.js.map} +1 -1
- package/dist/chunks/{header.BeH8KH_l.js → header.oXqwf2xN.js} +3 -3
- package/dist/chunks/{header.BeH8KH_l.js.map → header.oXqwf2xN.js.map} +1 -1
- package/dist/chunks/{index.CbxHJr39.js → index.Dppy4qHk.js} +204 -197
- package/dist/chunks/{index.CbxHJr39.js.map → index.Dppy4qHk.js.map} +1 -1
- package/dist/chunks/{info-icon.BLtyJvY4.js → info-icon.DyPOv7Pi.js} +3 -3
- package/dist/chunks/{info-icon.BLtyJvY4.js.map → info-icon.DyPOv7Pi.js.map} +1 -1
- package/dist/chunks/{input-field-password.KeKQPIZv.js → input-field-password.CKhqGBVB.js} +6 -6
- package/dist/chunks/{input-field-password.KeKQPIZv.js.map → input-field-password.CKhqGBVB.js.map} +1 -1
- package/dist/chunks/{input-field-phone-number.eaU9p15A.js → input-field-phone-number.Cailj_71.js} +49 -49
- package/dist/chunks/{input-field-phone-number.eaU9p15A.js.map → input-field-phone-number.Cailj_71.js.map} +1 -1
- package/dist/chunks/{input-field.CNdqlGw6.js → input-field.DqXVoKpy.js} +15 -14
- package/dist/chunks/input-field.DqXVoKpy.js.map +1 -0
- package/dist/chunks/{inspector.Bnf0g7QE.js → inspector.BjLhY3bE.js} +3 -3
- package/dist/chunks/{inspector.Bnf0g7QE.js.map → inspector.BjLhY3bE.js.map} +1 -1
- package/dist/chunks/isSameWeek.CzBCmu7d.js +14 -0
- package/dist/chunks/{isSameWeek.DjeUtLwI.js.map → isSameWeek.CzBCmu7d.js.map} +1 -1
- package/dist/chunks/{it.DIafuXtH.js → it.BlUnV-yA.js} +3 -3
- package/dist/chunks/{it.DIafuXtH.js.map → it.BlUnV-yA.js.map} +1 -1
- package/dist/chunks/{ja.Cm9tJMi2.js → ja.nUwDmVf2.js} +8 -8
- package/dist/chunks/{ja.Cm9tJMi2.js.map → ja.nUwDmVf2.js.map} +1 -1
- package/dist/chunks/{layout-row.Bz-mRqAq.js → layout-row.Da8nkm9z.js} +2 -2
- package/dist/chunks/{layout-row.Bz-mRqAq.js.map → layout-row.Da8nkm9z.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.C3ihNg6_.js → listbox-option-tag.CoBUYwFG.js} +2 -2
- package/dist/chunks/{listbox-option-tag.C3ihNg6_.js.map → listbox-option-tag.CoBUYwFG.js.map} +1 -1
- package/dist/chunks/modal-fullscreen.9ZDR_S29.js +301 -0
- package/dist/chunks/modal-fullscreen.9ZDR_S29.js.map +1 -0
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.BAwez0nB.js → modal.vue_vue_type_script_setup_true_lang.B0IdwV0R.js} +4 -4
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.BAwez0nB.js.map → modal.vue_vue_type_script_setup_true_lang.B0IdwV0R.js.map} +1 -1
- package/dist/chunks/pagination.CqCd5JCe.js +488 -0
- package/dist/chunks/pagination.CqCd5JCe.js.map +1 -0
- package/dist/chunks/popover.types.DhALnOLQ.js +6 -0
- package/dist/chunks/{popover.types.C_Z2JeVK.js.map → popover.types.DhALnOLQ.js.map} +1 -1
- package/dist/chunks/{popper-container.BefZxTzP.js → popper-container.DAK7c9uS.js} +2 -2
- package/dist/chunks/{popper-container.BefZxTzP.js.map → popper-container.DAK7c9uS.js.map} +1 -1
- package/dist/chunks/{promo-banner.BLie64oS.js → promo-banner.aNwH6uQx.js} +2 -2
- package/dist/chunks/{promo-banner.BLie64oS.js.map → promo-banner.aNwH6uQx.js.map} +1 -1
- package/dist/chunks/{pt-BR.CiGdfP45.js → pt-BR.BCU2Hj36.js} +2 -2
- package/dist/chunks/{pt-BR.CiGdfP45.js.map → pt-BR.BCU2Hj36.js.map} +1 -1
- package/dist/chunks/{radio-group.C6nQRQDB.js → radio-group.v8mDVZ-o.js} +24 -23
- package/dist/chunks/{radio-group.C6nQRQDB.js.map → radio-group.v8mDVZ-o.js.map} +1 -1
- package/dist/chunks/{rich-text-editor.C39NKgl0.js → rich-text-editor.DH1d5Zcp.js} +7 -6
- package/dist/chunks/{rich-text-editor.C39NKgl0.js.map → rich-text-editor.DH1d5Zcp.js.map} +1 -1
- package/dist/chunks/{search-bar.CbTrg2Sk.js → search-bar.DGpLNVng.js} +3 -3
- package/dist/chunks/{search-bar.CbTrg2Sk.js.map → search-bar.DGpLNVng.js.map} +1 -1
- package/dist/chunks/{secondary-nav.DTOZQewf.js → secondary-nav.l_60nnXA.js} +3 -3
- package/dist/chunks/{secondary-nav.DTOZQewf.js.map → secondary-nav.l_60nnXA.js.map} +1 -1
- package/dist/chunks/{segmented-control.D9rHBysM.js → segmented-control.Aqquod8g.js} +2 -2
- package/dist/chunks/{segmented-control.D9rHBysM.js.map → segmented-control.Aqquod8g.js.map} +1 -1
- package/dist/chunks/{selection-card-group.KEsG0D5V.js → selection-card-group.KBl4fVSH.js} +107 -106
- package/dist/chunks/selection-card-group.KBl4fVSH.js.map +1 -0
- package/dist/chunks/{sidepanel.DJCagqzl.js → sidepanel.DaXPcTHm.js} +5 -5
- package/dist/chunks/{sidepanel.DJCagqzl.js.map → sidepanel.DaXPcTHm.js.map} +1 -1
- package/dist/chunks/{startOfWeek.D8Yh4c0G.js → startOfWeek.CXhhX-R7.js} +2 -2
- package/dist/chunks/{startOfWeek.D8Yh4c0G.js.map → startOfWeek.CXhhX-R7.js.map} +1 -1
- package/dist/chunks/{structured-list-item.f1tmHSEN.js → structured-list-item.DAIaUMCY.js} +4 -4
- package/dist/chunks/{structured-list-item.f1tmHSEN.js.map → structured-list-item.DAIaUMCY.js.map} +1 -1
- package/dist/chunks/{summary-grid.types.COcV-sOB.js → summary-grid.types.BZcZS_dW.js} +5 -5
- package/dist/chunks/{summary-grid.types.COcV-sOB.js.map → summary-grid.types.BZcZS_dW.js.map} +1 -1
- package/dist/chunks/{tag.Dr7MKe9q.js → tag.CqWg6C3H.js} +2 -2
- package/dist/chunks/{tag.Dr7MKe9q.js.map → tag.CqWg6C3H.js.map} +1 -1
- package/dist/chunks/{textarea.CtgbUCjH.js → textarea.CvI2InIB.js} +18 -17
- package/dist/chunks/textarea.CvI2InIB.js.map +1 -0
- package/dist/chunks/{timeline-item.D9nmCe6u.js → timeline-item.BooD99hL.js} +93 -95
- package/dist/chunks/timeline-item.BooD99hL.js.map +1 -0
- package/dist/chunks/{tooltip.DYpJZ-99.js → tooltip.Lwtlhv3u.js} +2 -2
- package/dist/chunks/{tooltip.DYpJZ-99.js.map → tooltip.Lwtlhv3u.js.map} +1 -1
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.B5hWgNSd.js → tutorial.vue_vue_type_script_setup_true_lang.BL2QTKmV.js} +4 -4
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.B5hWgNSd.js.map → tutorial.vue_vue_type_script_setup_true_lang.BL2QTKmV.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.BiSuG1eX.js → use-cached-selected-values.C4_X3vVj.js} +2 -2
- package/dist/chunks/{use-cached-selected-values.BiSuG1eX.js.map → use-cached-selected-values.C4_X3vVj.js.map} +1 -1
- package/dist/chunks/use-date-input-formatter.dtbK-CEy.js +1732 -0
- package/dist/chunks/use-date-input-formatter.dtbK-CEy.js.map +1 -0
- package/dist/chunks/{zh-CN.Bw_6j9Cd.js → zh-CN.ChYkuQAR.js} +3 -3
- package/dist/chunks/{zh-CN.Bw_6j9Cd.js.map → zh-CN.ChYkuQAR.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-handle.js +1 -1
- package/dist/dropdown.js +4 -4
- 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 +1 -1
- package/dist/header-with-views.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +50 -50
- 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/inspector.js +1 -1
- package/dist/internal.js +11 -11
- package/dist/layout.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 +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/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 +11 -16
- package/dist/chunks/anchor-scroller.CKIQu3NK.js +0 -215
- package/dist/chunks/anchor-scroller.CKIQu3NK.js.map +0 -1
- package/dist/chunks/button-actions.BH-J7dux.js.map +0 -1
- package/dist/chunks/calendar.DzeJoNc2.js.map +0 -1
- package/dist/chunks/checkbox-group.Bh_aqKoA.js.map +0 -1
- package/dist/chunks/checkbox.7kpOXm-b.js.map +0 -1
- package/dist/chunks/constructNow.B8T1ljs6.js +0 -8
- package/dist/chunks/controls-group.Dip3WAKV.js.map +0 -1
- package/dist/chunks/date-input.XSJuuCHe.js +0 -20
- package/dist/chunks/date-input.XSJuuCHe.js.map +0 -1
- package/dist/chunks/date-picker.CvTSZhMI.js +0 -250
- package/dist/chunks/date-picker.CvTSZhMI.js.map +0 -1
- package/dist/chunks/date-range-picker.BPCt7cwj.js +0 -1100
- package/dist/chunks/date-range-picker.BPCt7cwj.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.B-_dTUVX.js.map +0 -1
- package/dist/chunks/en-US.BZii9jNW.js.map +0 -1
- package/dist/chunks/error-message.BYA2_fPV.js +0 -158
- package/dist/chunks/error-message.BYA2_fPV.js.map +0 -1
- package/dist/chunks/file-uploader.Q2ufNRTY.js.map +0 -1
- package/dist/chunks/filter-bar.BVj9YVv-.js.map +0 -1
- package/dist/chunks/form-layout-title.DYmTc6M7.js +0 -214
- package/dist/chunks/fr-CA.B1aPU8fp.js +0 -48
- package/dist/chunks/fr-CA.B1aPU8fp.js.map +0 -1
- package/dist/chunks/fr.Dj7wEToe.js +0 -47
- package/dist/chunks/fr.Dj7wEToe.js.map +0 -1
- package/dist/chunks/getTimezoneOffsetInMilliseconds.Tu2wlbTR.js +0 -51
- package/dist/chunks/getTimezoneOffsetInMilliseconds.Tu2wlbTR.js.map +0 -1
- package/dist/chunks/header-meta.Bw8ZGwJW.js.map +0 -1
- package/dist/chunks/input-field.CNdqlGw6.js.map +0 -1
- package/dist/chunks/isSameWeek.DjeUtLwI.js +0 -14
- package/dist/chunks/ko.Ceaof6EP.js +0 -348
- package/dist/chunks/ko.Ceaof6EP.js.map +0 -1
- package/dist/chunks/match.CMBZxEs9.js.map +0 -1
- package/dist/chunks/modal-fullscreen.B3AGUJgl.js +0 -289
- package/dist/chunks/modal-fullscreen.B3AGUJgl.js.map +0 -1
- package/dist/chunks/nl.B6vCf2B9.js +0 -327
- package/dist/chunks/nl.B6vCf2B9.js.map +0 -1
- package/dist/chunks/pagination.lu9nx8j8.js +0 -461
- package/dist/chunks/pagination.lu9nx8j8.js.map +0 -1
- package/dist/chunks/popover.types.C_Z2JeVK.js +0 -6
- package/dist/chunks/selection-card-group.KEsG0D5V.js.map +0 -1
- package/dist/chunks/sv.f8EfZjMZ.js +0 -377
- package/dist/chunks/sv.f8EfZjMZ.js.map +0 -1
- package/dist/chunks/textarea.CtgbUCjH.js.map +0 -1
- package/dist/chunks/timeline-item.D9nmCe6u.js.map +0 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineComponent as V, useSlots as
|
|
2
|
-
import { B as z } from "./checkbox.
|
|
1
|
+
import { defineComponent as V, useSlots as q, toRef as L, computed as l, watch as h, ref as T, onMounted as w, openBlock as s, createElementBlock as b, createVNode as I, unref as a, normalizeClass as N, withCtx as n, Fragment as O, renderList as A, createBlock as g, createSlots as R, createTextVNode as y, toDisplayString as v, renderSlot as F, mergeProps as G, createCommentVNode as U } from "vue";
|
|
2
|
+
import { B as z } from "./checkbox.C3Ewfygy.js";
|
|
3
3
|
import { g as H } from "./generate-uid.NJ8tVoha.js";
|
|
4
4
|
import { d as P } from "./typography.B3J6_tYk.js";
|
|
5
5
|
import { u as Z } from "./use-form-layout-loading.CWbjZiwP.js";
|
|
6
|
-
import { u as
|
|
7
|
-
import { C as
|
|
8
|
-
import { E as
|
|
9
|
-
import { _ as
|
|
6
|
+
import { u as j } from "./form-field.D_2g7vaP.js";
|
|
7
|
+
import { C as D } from "./controls-group.Bu5lNTyH.js";
|
|
8
|
+
import { E as $ } from "./error-message.oGiefI2-.js";
|
|
9
|
+
import { _ as J } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
10
10
|
import "../assets/checkbox-group.css";
|
|
11
11
|
var d = /* @__PURE__ */ ((e) => (e.HORIZONTAL = "horizontal", e.VERTICAL = "vertical", e))(d || {});
|
|
12
|
-
const
|
|
13
|
-
name:
|
|
12
|
+
const K = { class: "b-checkbox-group" }, Q = "bento-checkbox-group", W = {
|
|
13
|
+
name: Q,
|
|
14
14
|
model: { prop: "modelValue" }
|
|
15
|
-
},
|
|
16
|
-
...
|
|
15
|
+
}, X = /* @__PURE__ */ V({
|
|
16
|
+
...W,
|
|
17
17
|
props: {
|
|
18
18
|
/**
|
|
19
19
|
* Descriptive supporting text visbile underneath the label.
|
|
@@ -81,12 +81,12 @@ const J = { class: "b-checkbox-group" }, K = "bento-checkbox-group", Q = {
|
|
|
81
81
|
},
|
|
82
82
|
emits: ["update:model-value", "input"],
|
|
83
83
|
setup(e, { emit: x }) {
|
|
84
|
-
const
|
|
85
|
-
() => !
|
|
86
|
-
), p = l(() => !
|
|
87
|
-
"b-checkbox-group__checkboxes--horizontal":
|
|
88
|
-
})), f = (t) => !!E[t], C = l(() => f("content") &&
|
|
89
|
-
|
|
84
|
+
const r = e, k = x, E = q(), c = H("error"), { isReadOnly: i } = Z(L(r, "readonly")), { emitValue: S } = j(k), m = l(
|
|
85
|
+
() => !r.disabled && !i.value && (!!r.errorMessage || r.hasError)
|
|
86
|
+
), p = l(() => !r.disabled && !i.value && !!r.errorMessage), B = l(() => ({
|
|
87
|
+
"b-checkbox-group__checkboxes--horizontal": r.variant === d.HORIZONTAL
|
|
88
|
+
})), f = (t) => !!E[t], C = l(() => f("content") && r.variant !== "vertical");
|
|
89
|
+
h(
|
|
90
90
|
C,
|
|
91
91
|
(t) => {
|
|
92
92
|
if (t)
|
|
@@ -94,28 +94,29 @@ const J = { class: "b-checkbox-group" }, K = "bento-checkbox-group", Q = {
|
|
|
94
94
|
},
|
|
95
95
|
{ immediate: !0 }
|
|
96
96
|
);
|
|
97
|
-
const u =
|
|
98
|
-
|
|
99
|
-
() =>
|
|
97
|
+
const u = T(r.modelValue);
|
|
98
|
+
h(
|
|
99
|
+
() => r.modelValue,
|
|
100
100
|
() => {
|
|
101
|
-
u.value =
|
|
101
|
+
u.value = r.modelValue;
|
|
102
102
|
}
|
|
103
103
|
);
|
|
104
104
|
const M = (t) => {
|
|
105
105
|
u.value = t, S(t);
|
|
106
106
|
};
|
|
107
|
-
return
|
|
108
|
-
|
|
107
|
+
return w(() => {
|
|
108
|
+
r.hasError && P(
|
|
109
109
|
'BentoCheckboxGroup "hasError" property',
|
|
110
110
|
`Use the BentoCheckboxGroup "errorMessage" property instead to indicate that there is a modifier error.
|
|
111
111
|
Having the field as "undefined" will hide/remove the error.
|
|
112
112
|
<bento-checkbox-group errorMessage="Error message text" />`,
|
|
113
113
|
"2.0.0"
|
|
114
114
|
);
|
|
115
|
-
}), (t,
|
|
116
|
-
|
|
117
|
-
class:
|
|
115
|
+
}), (t, Y) => (s(), b("div", K, [
|
|
116
|
+
I(a(D), {
|
|
117
|
+
class: N(["b-checkbox-group__checkboxes", B.value]),
|
|
118
118
|
"aria-describedby": p.value ? a(c) : "",
|
|
119
|
+
"aria-required": e.required,
|
|
119
120
|
"component-name": "bento-checkbox-group",
|
|
120
121
|
description: e.description,
|
|
121
122
|
disabled: e.disabled,
|
|
@@ -127,41 +128,41 @@ const J = { class: "b-checkbox-group" }, K = "bento-checkbox-group", Q = {
|
|
|
127
128
|
"tooltip-text": e.tooltipText
|
|
128
129
|
}, {
|
|
129
130
|
default: n(() => [
|
|
130
|
-
(s(!0),
|
|
131
|
-
key:
|
|
131
|
+
(s(!0), b(O, null, A(e.items, (o) => (s(), g(z, {
|
|
132
|
+
key: o.value,
|
|
132
133
|
"model-value": u.value,
|
|
133
|
-
value:
|
|
134
|
-
disabled: e.disabled ||
|
|
135
|
-
"has-error": m.value ||
|
|
136
|
-
"error-message": m.value ? null :
|
|
137
|
-
readonly: a(i) ||
|
|
138
|
-
tag:
|
|
134
|
+
value: o.value,
|
|
135
|
+
disabled: e.disabled || o.disabled,
|
|
136
|
+
"has-error": m.value || o.hasError,
|
|
137
|
+
"error-message": m.value ? null : o.errorMessage,
|
|
138
|
+
readonly: a(i) || o.readonly,
|
|
139
|
+
tag: o.tag,
|
|
139
140
|
"onUpdate:modelValue": M
|
|
140
141
|
}, R({
|
|
141
142
|
default: n(() => [
|
|
142
|
-
y(v(
|
|
143
|
+
y(v(o.label), 1)
|
|
143
144
|
]),
|
|
144
145
|
_: 2
|
|
145
146
|
}, [
|
|
146
|
-
|
|
147
|
+
o.description ? {
|
|
147
148
|
name: "description",
|
|
148
149
|
fn: n(() => [
|
|
149
|
-
y(v(
|
|
150
|
+
y(v(o.description), 1)
|
|
150
151
|
]),
|
|
151
152
|
key: "0"
|
|
152
153
|
} : void 0,
|
|
153
154
|
f("content") ? {
|
|
154
155
|
name: "content",
|
|
155
156
|
fn: n(() => [
|
|
156
|
-
F(t.$slots, "content", G({ ref_for: !0 },
|
|
157
|
+
F(t.$slots, "content", G({ ref_for: !0 }, o), void 0, !0)
|
|
157
158
|
]),
|
|
158
159
|
key: "1"
|
|
159
160
|
} : void 0
|
|
160
161
|
]), 1032, ["model-value", "value", "disabled", "has-error", "error-message", "readonly", "tag"]))), 128))
|
|
161
162
|
]),
|
|
162
163
|
_: 3
|
|
163
|
-
}, 8, ["aria-describedby", "class", "description", "disabled", "form", "hide-label", "label", "optional", "required", "tooltip-text"]),
|
|
164
|
-
p.value ? (s(), g(a(
|
|
164
|
+
}, 8, ["aria-describedby", "aria-required", "class", "description", "disabled", "form", "hide-label", "label", "optional", "required", "tooltip-text"]),
|
|
165
|
+
p.value ? (s(), g(a($), {
|
|
165
166
|
key: 0,
|
|
166
167
|
id: a(c),
|
|
167
168
|
"error-message": e.errorMessage,
|
|
@@ -169,9 +170,9 @@ const J = { class: "b-checkbox-group" }, K = "bento-checkbox-group", Q = {
|
|
|
169
170
|
}, null, 8, ["id", "error-message"])) : U("", !0)
|
|
170
171
|
]));
|
|
171
172
|
}
|
|
172
|
-
}), de = /* @__PURE__ */
|
|
173
|
+
}), de = /* @__PURE__ */ J(X, [["__scopeId", "data-v-200de2f6"]]);
|
|
173
174
|
export {
|
|
174
175
|
de as B,
|
|
175
176
|
d as a
|
|
176
177
|
};
|
|
177
|
-
//# sourceMappingURL=checkbox-group.
|
|
178
|
+
//# sourceMappingURL=checkbox-group.ODQy-ICn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox-group.ODQy-ICn.js","sources":["../../../vue2/src/components/checkbox/components/checkbox-group/checkbox-group.types.ts","../../../vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue"],"sourcesContent":["import { type FormFieldEmits } from '../../../../types/form-field';\nimport type { BentoCheckboxTag } from '../../checkbox.types';\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoCheckboxGroupVariant {\n HORIZONTAL = 'horizontal',\n VERTICAL = 'vertical',\n}\n\nexport interface BentoCheckboxGroupItem {\n value: string | number;\n label: string;\n description?: string;\n disabled?: boolean;\n hasError?: boolean;\n errorMessage?: string;\n readonly?: boolean;\n tag?: BentoCheckboxTag;\n}\n\nexport type BentoCheckboxGroupItems = Array<BentoCheckboxGroupItem>;\n\nexport type BentoCheckboxGroupEmits = FormFieldEmits<any>;\n","<template>\n <div class=\"b-checkbox-group\">\n <controls-group\n class=\"b-checkbox-group__checkboxes\"\n :aria-describedby=\"shouldShowGroupErrorMessage ? errorId : ''\"\n :aria-required=\"required\"\n component-name=\"bento-checkbox-group\"\n :class=\"conditionalClasses\"\n :description=\"description\"\n :disabled=\"disabled\"\n :form=\"formId\"\n :hide-label=\"hideLabel\"\n :label=\"label\"\n :optional=\"optional\"\n :required=\"required\"\n :tooltip-text=\"tooltipText\"\n >\n <bento-checkbox\n v-for=\"item in items\"\n :key=\"item.value\"\n :model-value=\"inputValue\"\n :value=\"item.value\"\n :disabled=\"disabled || item.disabled\"\n :has-error=\"shouldShowGroupError || item.hasError\"\n :error-message=\"shouldShowGroupError ? null : item.errorMessage\"\n :readonly=\"isReadOnly || item.readonly\"\n :tag=\"item.tag\"\n @update:model-value=\"onModelValueUpdate\"\n >\n <template #default>{{ item.label }}</template>\n <template v-if=\"item.description\" #description>{{ item.description }}</template>\n <template v-if=\"hasContentSlot('content')\" #content>\n <slot name=\"content\" v-bind=\"item\"></slot>\n </template>\n </bento-checkbox>\n </controls-group>\n <error-message\n v-if=\"shouldShowGroupErrorMessage\"\n :id=\"errorId\"\n :error-message=\"errorMessage\"\n class=\"b-checkbox-group__error-message\"\n />\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, onMounted, type PropType, ref, toRef, useSlots, watch } from 'vue';\n import { ControlsGroup } from '@/components/internal/controls-group';\n import { ErrorMessage } from '@/components/internal/error-message';\n import {\n type BentoCheckboxGroupEmits,\n type BentoCheckboxGroupItems,\n BentoCheckboxGroupVariant,\n } from './checkbox-group.types';\n import BentoCheckbox from '@/components/checkbox/checkbox.vue';\n import { generateUid } from '@/core/utils/ts';\n import { deprecate } from '@/utils/ts/deprecate';\n import { useFormLayoutFieldLoading } from '@/composables/use-form-layout-loading/use-form-layout-loading';\n import { useFormFieldEmits } from '@/utils/ts/form-field/form-field';\n\n const props = defineProps({\n /**\n * Descriptive supporting text visbile underneath the label.\n */\n description: { type: String, default: null },\n\n /**\n * If set to true, renders all checkboxes in the group in a disabled state.\n */\n disabled: { type: Boolean, default: false },\n\n /**\n * Renders all checkboxes in an error state with an error message.\n */\n errorMessage: { type: String, default: null },\n\n /**\n * The form id the checkbox group is associated with. Defaults to null, as a checkbox group can also be used standalone.\n */\n formId: { type: String, default: null },\n\n /**\n * If set to true, renders all checkboxes in the group in an error state.\n *\n * @deprecated Use \"errorMessage\" prop instead\n */\n hasError: { type: Boolean, default: false },\n\n /**\n * Shows/hides the group label.\n */\n hideLabel: { type: Boolean, default: null },\n\n /**\n * The checkbox group's items.\n */\n items: { type: Array as PropType<BentoCheckboxGroupItems>, required: true },\n\n /**\n * The name associated with the group. Required for accessibility purposes.\n */\n label: { type: String, required: true },\n\n /**\n * Determines the initially selected value of the group. Corresponds to the BentoCheckboxButtonItem's value.\n * Defaults to no value selected.\n */\n modelValue: { type: Array as PropType<Array<number | string | null>>, default: () => [] },\n\n /**\n * Indicates the field is optional.\n */\n optional: { type: Boolean, default: false },\n\n /**\n * If set to true, renders all checkboxes in the group in a readonly state.\n */\n readonly: { type: Boolean, default: false },\n\n /**\n * Indicates the field is required.\n */\n required: { type: Boolean, default: false },\n\n /**\n * Tooltip message.\n */\n tooltipText: { type: String, default: null },\n\n /**\n * The checkbox group's layout. It can be vertical or horizontal. Defaults to vertical.\n */\n variant: {\n type: String as PropType<BentoCheckboxGroupVariant | `${BentoCheckboxGroupVariant}`>,\n default: BentoCheckboxGroupVariant.VERTICAL,\n validator: (value: BentoCheckboxGroupVariant) => Object.values(BentoCheckboxGroupVariant).includes(value),\n },\n });\n\n const emit = defineEmits<BentoCheckboxGroupEmits>();\n\n const slots = useSlots();\n\n const errorId = generateUid('error');\n const { isReadOnly } = useFormLayoutFieldLoading(toRef(props, 'readonly'));\n const { emitValue } = useFormFieldEmits(emit);\n\n const shouldShowGroupError = computed(\n () => !props.disabled && !isReadOnly.value && (!!props.errorMessage || props.hasError)\n );\n const shouldShowGroupErrorMessage = computed(() => !props.disabled && !isReadOnly.value && !!props.errorMessage);\n\n const conditionalClasses = computed(() => ({\n 'b-checkbox-group__checkboxes--horizontal': props.variant === BentoCheckboxGroupVariant.HORIZONTAL,\n }));\n\n // Slots logic\n // Temporary, use-has-slots composable doesn't currently work for\n // vue3 named scoped slots\n const hasContentSlot = (name: string) => !!slots[name];\n const shouldShowSlotsError = computed(() => hasContentSlot('content') && props.variant !== 'vertical');\n\n watch(\n shouldShowSlotsError,\n newValue => {\n if (newValue) {\n throw new Error('The content slot is only available for the vertical checkbox group layout');\n }\n },\n { immediate: true }\n );\n\n const inputValue = ref(props.modelValue);\n watch(\n () => props.modelValue,\n () => {\n inputValue.value = props.modelValue;\n }\n );\n\n const onModelValueUpdate = (value: any) => {\n inputValue.value = value;\n emitValue(value);\n };\n\n onMounted(() => {\n if (props.hasError) {\n deprecate(\n 'BentoCheckboxGroup \"hasError\" property',\n `Use the BentoCheckboxGroup \"errorMessage\" property instead to indicate that there is a modifier error.\n Having the field as \"undefined\" will hide/remove the error.\n <bento-checkbox-group errorMessage=\"Error message text\" />`,\n '2.0.0'\n );\n }\n });\n</script>\n\n<script lang=\"ts\">\n const COMPONENT_NAME = 'bento-checkbox-group';\n /**\n * A checkbox group component should be used whenever it is necessary to group a set of checkboxes that are related together\n * This component conforms to the official WAI-ARIA guidelines for grouping controls: https://www.w3.org/WAI/tutorials/forms/grouping/\n *\n * import { BentoCheckboxGroup } from '@adyen/bento-vue2/';\n *\n * export default {\n * components: { BentoCheckboxGroup },\n * template: `\n * <bento-checkbox-group\n * label=\"Your group label\"\n * :items=\"[\n * { value: 1, label: 'Your label' },\n * { value: 2, label: 'Another label', description: 'Your sub label' },\n * ]\"\n * />\n * `\n * };\n */\n export default {\n name: COMPONENT_NAME,\n model: { prop: 'modelValue' },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./checkbox-group.scss\" />\n"],"names":["BentoCheckboxGroupVariant","BentoCheckboxGroupVariant2","COMPONENT_NAME","__default__","props","__props","emit","__emit","slots","useSlots","errorId","generateUid","isReadOnly","useFormLayoutFieldLoading","toRef","emitValue","useFormFieldEmits","shouldShowGroupError","computed","shouldShowGroupErrorMessage","conditionalClasses","hasContentSlot","name","shouldShowSlotsError","watch","newValue","inputValue","ref","onModelValueUpdate","value","onMounted","deprecate"],"mappings":";;;;;;;;;;AAMO,IAAAA,IAAA,kBAAAC,OACHA,EAAA,aAAA,cACAA,EAAA,WAAA,YAFQA,IAAAD,KAAA,CAAA,CAAA;yCCiMRE,IAAA,wBAoBAC,IAAA;AAAA,EAAe,MAAAD;AAAA,EACL,OAAA,EAAA,MAAA,aAAA;AAEV;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAlKA,UAAAE,IAAAC,GA+EAC,IAAAC,GAEAC,IAAAC,EAAA,GAEAC,IAAAC,EAAA,OAAA,GACA,EAAA,YAAAC,EAAA,IAAAC,EAAAC,EAAAV,GAAA,UAAA,CAAA,GACA,EAAA,WAAAW,EAAA,IAAAC,EAAAV,CAAA,GAEAW,IAAAC;AAAA,MAA6B,MAAA,CAAAd,EAAA,YAAA,CAAAQ,EAAA,UAAA,CAAA,CAAAR,EAAA,gBAAAA,EAAA;AAAA,IACoD,GAEjFe,IAAAD,EAAA,MAAA,CAAAd,EAAA,YAAA,CAAAQ,EAAA,SAAA,CAAA,CAAAR,EAAA,YAAA,GAEAgB,IAAAF,EAAA,OAAA;AAAA,MAA2C,4CAAAd,EAAA,YAAAJ,EAAA;AAAA,IACiD,EAAA,GAM5FqB,IAAA,CAAAC,MAAA,CAAA,CAAAd,EAAAc,CAAA,GACAC,IAAAL,EAAA,MAAAG,EAAA,SAAA,KAAAjB,EAAA,YAAA,UAAA;AAEA,IAAAoB;AAAA,MAAAD;AAAA,MACI,CAAAE,MAAA;AAEI,YAAAA;AACI,gBAAA,IAAA,MAAA,2EAAA;AAAA,MACJ;AAAA,MACJ,EAAA,WAAA,GAAA;AAAA,IACkB;AAGtB,UAAAC,IAAAC,EAAAvB,EAAA,UAAA;AACA,IAAAoB;AAAA,MAAA,MAAApB,EAAA;AAAA,MACgB,MAAA;AAER,QAAAsB,EAAA,QAAAtB,EAAA;AAAA,MAAyB;AAAA,IAC7B;AAGJ,UAAAwB,IAAA,CAAAC,MAAA;AACI,MAAAH,EAAA,QAAAG,GACAd,EAAAc,CAAA;AAAA,IAAe;AAGnB,WAAAC,EAAA,MAAA;AACI,MAAA1B,EAAA,YACI2B;AAAA,QAAA;AAAA,QACI;AAAA;AAAA;AAAA,QACA;AAAA,MAGA;AAAA,IAER,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,42 +1,39 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as X, toRefs as D, computed as a, ref as U, onMounted as Z, useAttrs as G, resolveComponent as h, openBlock as t, createElementBlock as L, mergeProps as E, createVNode as x, createBlock as n, withCtx as d, createElementVNode as ee, renderSlot as $, createTextVNode as M, toDisplayString as ae, createCommentVNode as s } from "vue";
|
|
2
2
|
import { B as oe } from "./typography.B3J6_tYk.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
3
|
+
import { u as re } from "./use-default-slot-validator.O02rzsob.js";
|
|
4
|
+
import { u as te } from "./use-has-slot.B7eQSabc.js";
|
|
5
|
+
import { g as N } from "./generate-uid.NJ8tVoha.js";
|
|
6
|
+
import { g as V } from "./get-slot-text.CQRAP2_q.js";
|
|
7
|
+
import { u as le } from "./index.B875RXHM.js";
|
|
8
|
+
import { u as ne } from "./aria-label.CaUURpnB.js";
|
|
9
|
+
import { B as se } from "./tag.CqWg6C3H.js";
|
|
10
|
+
import { E as de } from "./error-message.oGiefI2-.js";
|
|
11
|
+
import { C as ie } from "./checkbox-input.BZjSoCQW.js";
|
|
12
|
+
import { C as P } from "./minus-small.CnYLTuSv.js";
|
|
13
13
|
import { _ as ue } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
14
14
|
import "../assets/checkbox.css";
|
|
15
15
|
var i = /* @__PURE__ */ ((e) => (e.UPDATE = "update:model-value", e.INPUT = "input", e))(i || {});
|
|
16
|
-
const
|
|
16
|
+
const q = {
|
|
17
17
|
"en-US": {
|
|
18
18
|
checkbox: "Checkbox",
|
|
19
|
-
optional: "optional"
|
|
20
|
-
required: "required"
|
|
19
|
+
optional: "optional"
|
|
21
20
|
},
|
|
22
21
|
"ja-JP": {
|
|
23
22
|
checkbox: "チェックボックス",
|
|
24
|
-
optional: "任意"
|
|
25
|
-
required: "必須"
|
|
23
|
+
optional: "任意"
|
|
26
24
|
},
|
|
27
25
|
"pt-BR": {
|
|
28
26
|
checkbox: "Caixa de seleção",
|
|
29
|
-
optional: "Opcional"
|
|
30
|
-
required: "obrigatório"
|
|
27
|
+
optional: "Opcional"
|
|
31
28
|
}
|
|
32
|
-
}, ce =
|
|
29
|
+
}, ce = X({
|
|
33
30
|
name: "bento-checkbox",
|
|
34
|
-
i18n: { messages:
|
|
31
|
+
i18n: { messages: q },
|
|
35
32
|
components: {
|
|
36
|
-
BentoTag:
|
|
33
|
+
BentoTag: se,
|
|
37
34
|
BentoTypography: oe,
|
|
38
|
-
CheckboxInput:
|
|
39
|
-
ErrorMessage:
|
|
35
|
+
CheckboxInput: ie,
|
|
36
|
+
ErrorMessage: de
|
|
40
37
|
},
|
|
41
38
|
inheritAttrs: !1,
|
|
42
39
|
model: { prop: "modelValue" },
|
|
@@ -104,75 +101,76 @@ const w = {
|
|
|
104
101
|
value: { type: [String, Number], default: null }
|
|
105
102
|
},
|
|
106
103
|
emits: [i.UPDATE, i.INPUT],
|
|
107
|
-
setup(e, { attrs:
|
|
108
|
-
const { t:
|
|
109
|
-
|
|
110
|
-
const b = a(() => Array.isArray(
|
|
104
|
+
setup(e, { attrs: u, emit: y, slots: l }) {
|
|
105
|
+
const { t: v } = le({ messages: q }), g = N("description"), c = N("error"), r = te(l), { disabled: p, indeterminate: k, modelValue: S, readonly: w, value: H } = D(e), C = V(l)("default"), I = V(l)("description");
|
|
106
|
+
re("bento-checkbox", l.default, l.description);
|
|
107
|
+
const b = a(() => Array.isArray(S.value)), A = a(() => b.value ? S.value.some((o) => o === H.value) : S.value), m = a(() => k.value), R = a(
|
|
111
108
|
() => !e.disabled && !e.readonly && (e.hasError || !!e.errorMessage)
|
|
112
|
-
),
|
|
113
|
-
() => (
|
|
114
|
-
),
|
|
115
|
-
() => `${
|
|
116
|
-
),
|
|
117
|
-
|
|
118
|
-
|
|
109
|
+
), T = a(() => !e.disabled && !e.readonly && !!e.errorMessage), f = a(() => r("content")), B = a(() => (m == null ? void 0 : m.value) || (A == null ? void 0 : A.value)), j = a(
|
|
110
|
+
() => (f == null ? void 0 : f.value) && (b == null ? void 0 : b.value) && (B == null ? void 0 : B.value)
|
|
111
|
+
), O = a(
|
|
112
|
+
() => `${T.value ? c : ""} ${C && I ? g : ""}`.trim() || null
|
|
113
|
+
), F = U(u["aria-label"]), { ariaLabel: J } = D(e), _ = U();
|
|
114
|
+
Z(() => {
|
|
115
|
+
_.value = v("checkbox");
|
|
119
116
|
});
|
|
120
|
-
const
|
|
121
|
-
() =>
|
|
122
|
-
ariaLabel:
|
|
117
|
+
const Y = a(
|
|
118
|
+
() => ne({
|
|
119
|
+
ariaLabel: F.value,
|
|
123
120
|
// TODO: take this line away when the aria-label props is removed
|
|
124
|
-
label:
|
|
125
|
-
defaultFallback: r("default") ?
|
|
121
|
+
label: J,
|
|
122
|
+
defaultFallback: r("default") ? V(l)("default") : _.value
|
|
126
123
|
}).value
|
|
127
|
-
),
|
|
128
|
-
const { style: o, class:
|
|
124
|
+
), z = (o) => o == null ? void 0 : o["aria-hidden"], K = a(() => {
|
|
125
|
+
const { style: o, class: W } = G();
|
|
129
126
|
return {
|
|
130
|
-
class:
|
|
127
|
+
class: W,
|
|
131
128
|
style: o
|
|
132
129
|
};
|
|
133
|
-
}),
|
|
134
|
-
[`b-checkbox--${
|
|
135
|
-
[`b-checkbox--${
|
|
130
|
+
}), Q = a(() => ({
|
|
131
|
+
[`b-checkbox--${P.DISABLED}`]: p.value,
|
|
132
|
+
[`b-checkbox--${P.READONLY}`]: w.value
|
|
136
133
|
}));
|
|
137
134
|
return {
|
|
138
135
|
// Values
|
|
139
136
|
descriptionId: g,
|
|
140
|
-
errorId:
|
|
141
|
-
ariaDescribedBy:
|
|
142
|
-
computedAriaLabel:
|
|
143
|
-
conditionalClass:
|
|
144
|
-
defaultSlotValue:
|
|
145
|
-
descriptionSlotValue:
|
|
146
|
-
isIndeterminate:
|
|
147
|
-
shouldShowError:
|
|
148
|
-
shouldShowErrorMessage:
|
|
149
|
-
contentSlotAvailable:
|
|
150
|
-
hasContentSlot:
|
|
151
|
-
styleAttrs:
|
|
137
|
+
errorId: c,
|
|
138
|
+
ariaDescribedBy: O,
|
|
139
|
+
computedAriaLabel: Y,
|
|
140
|
+
conditionalClass: Q,
|
|
141
|
+
defaultSlotValue: C,
|
|
142
|
+
descriptionSlotValue: I,
|
|
143
|
+
isIndeterminate: m,
|
|
144
|
+
shouldShowError: R,
|
|
145
|
+
shouldShowErrorMessage: T,
|
|
146
|
+
contentSlotAvailable: j,
|
|
147
|
+
hasContentSlot: f,
|
|
148
|
+
styleAttrs: K,
|
|
152
149
|
// Methods
|
|
153
150
|
hasSlot: r,
|
|
154
151
|
onChange: (o) => {
|
|
155
|
-
|
|
152
|
+
p.value || (y(i.UPDATE, o), y(i.INPUT, o));
|
|
156
153
|
},
|
|
157
|
-
getAriaHidden:
|
|
158
|
-
t:
|
|
154
|
+
getAriaHidden: z,
|
|
155
|
+
t: v
|
|
159
156
|
};
|
|
160
157
|
}
|
|
161
|
-
}),
|
|
158
|
+
}), pe = ["aria-hidden"], be = {
|
|
162
159
|
key: 0,
|
|
163
160
|
class: "b-checkbox__text"
|
|
164
161
|
};
|
|
165
|
-
function me(e,
|
|
166
|
-
const
|
|
167
|
-
return t(),
|
|
162
|
+
function me(e, u, y, l, v, g) {
|
|
163
|
+
const c = h("checkbox-input"), r = h("bento-typography"), p = h("bento-tag"), k = h("error-message");
|
|
164
|
+
return t(), L("label", E({
|
|
168
165
|
class: ["b-checkbox", e.conditionalClass]
|
|
169
166
|
}, e.styleAttrs, {
|
|
170
167
|
"aria-hidden": e.getAriaHidden(e.$attrs)
|
|
171
168
|
}), [
|
|
172
|
-
|
|
169
|
+
x(c, E(e.$attrs, {
|
|
173
170
|
ref: "input",
|
|
174
171
|
"aria-label": e.computedAriaLabel,
|
|
175
172
|
"aria-describedby": e.ariaDescribedBy,
|
|
173
|
+
"aria-required": e.required,
|
|
176
174
|
disabled: e.disabled,
|
|
177
175
|
"has-error": e.shouldShowError,
|
|
178
176
|
indeterminate: e.isIndeterminate,
|
|
@@ -180,8 +178,8 @@ function me(e, $, h, l, y, g) {
|
|
|
180
178
|
"model-value": e.modelValue,
|
|
181
179
|
readonly: e.readonly,
|
|
182
180
|
"onUpdate:modelValue": e.onChange
|
|
183
|
-
}), null, 16, ["aria-label", "aria-describedby", "disabled", "has-error", "indeterminate", "value", "model-value", "readonly", "onUpdate:modelValue"]),
|
|
184
|
-
e.hasSlot("default") || e.shouldShowErrorMessage ? (t(),
|
|
181
|
+
}), null, 16, ["aria-label", "aria-describedby", "aria-required", "disabled", "has-error", "indeterminate", "value", "model-value", "readonly", "onUpdate:modelValue"]),
|
|
182
|
+
e.hasSlot("default") || e.shouldShowErrorMessage ? (t(), L("span", be, [
|
|
185
183
|
e.hasSlot("default") ? (t(), n(r, {
|
|
186
184
|
key: 0,
|
|
187
185
|
class: "b-checkbox__label",
|
|
@@ -189,8 +187,8 @@ function me(e, $, h, l, y, g) {
|
|
|
189
187
|
variant: "body"
|
|
190
188
|
}, {
|
|
191
189
|
default: d(() => [
|
|
192
|
-
|
|
193
|
-
|
|
190
|
+
ee("span", null, [
|
|
191
|
+
$(e.$slots, "default", {}, void 0, !0)
|
|
194
192
|
]),
|
|
195
193
|
e.optional ? (t(), n(r, {
|
|
196
194
|
key: 0,
|
|
@@ -198,7 +196,7 @@ function me(e, $, h, l, y, g) {
|
|
|
198
196
|
el: "span"
|
|
199
197
|
}, {
|
|
200
198
|
default: d(() => [
|
|
201
|
-
|
|
199
|
+
M("(" + ae(e.t("optional")) + ")", 1)
|
|
202
200
|
]),
|
|
203
201
|
_: 1
|
|
204
202
|
})) : e.required ? (t(), n(r, {
|
|
@@ -206,12 +204,12 @@ function me(e, $, h, l, y, g) {
|
|
|
206
204
|
class: "b-checkbox__label-requirement",
|
|
207
205
|
el: "span"
|
|
208
206
|
}, {
|
|
209
|
-
default: d(() => [
|
|
210
|
-
|
|
211
|
-
]),
|
|
207
|
+
default: d(() => u[0] || (u[0] = [
|
|
208
|
+
M("*")
|
|
209
|
+
])),
|
|
212
210
|
_: 1
|
|
213
211
|
})) : s("", !0),
|
|
214
|
-
e.tag ? (t(), n(
|
|
212
|
+
e.tag ? (t(), n(p, E({
|
|
215
213
|
key: 2,
|
|
216
214
|
class: "b-checkbox__label-tag"
|
|
217
215
|
}, e.tag), null, 16)) : s("", !0)
|
|
@@ -226,11 +224,11 @@ function me(e, $, h, l, y, g) {
|
|
|
226
224
|
variant: "body"
|
|
227
225
|
}, {
|
|
228
226
|
default: d(() => [
|
|
229
|
-
|
|
227
|
+
$(e.$slots, "description", {}, void 0, !0)
|
|
230
228
|
]),
|
|
231
229
|
_: 3
|
|
232
230
|
}, 8, ["id"])) : s("", !0),
|
|
233
|
-
e.shouldShowErrorMessage ? (t(), n(
|
|
231
|
+
e.shouldShowErrorMessage ? (t(), n(k, {
|
|
234
232
|
key: 2,
|
|
235
233
|
id: e.errorId,
|
|
236
234
|
"error-message": e.errorMessage
|
|
@@ -242,16 +240,16 @@ function me(e, $, h, l, y, g) {
|
|
|
242
240
|
variant: "body"
|
|
243
241
|
}, {
|
|
244
242
|
default: d(() => [
|
|
245
|
-
|
|
243
|
+
$(e.$slots, "content", {}, void 0, !0)
|
|
246
244
|
]),
|
|
247
245
|
_: 3
|
|
248
246
|
})) : s("", !0)
|
|
249
247
|
])) : s("", !0)
|
|
250
|
-
], 16,
|
|
248
|
+
], 16, pe);
|
|
251
249
|
}
|
|
252
|
-
const
|
|
250
|
+
const Te = /* @__PURE__ */ ue(ce, [["render", me], ["__scopeId", "data-v-5824079e"]]);
|
|
253
251
|
export {
|
|
254
|
-
|
|
252
|
+
Te as B,
|
|
255
253
|
i as a
|
|
256
254
|
};
|
|
257
|
-
//# sourceMappingURL=checkbox.
|
|
255
|
+
//# sourceMappingURL=checkbox.C3Ewfygy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.C3Ewfygy.js","sources":["../../../vue2/src/components/checkbox/checkbox.types.ts","../../../vue2/src/components/checkbox/checkbox.vue"],"sourcesContent":["import type { BentoTagProps } from '../tag/tag.types';\nimport {\n CheckboxInputState as BentoCheckboxState,\n type CheckboxInputType as BentoCheckboxType,\n type MultiCheckboxInputType as BentoMultiCheckboxType,\n} from '@/internal/checkbox-input/checkbox-input.types';\n\nexport { BentoCheckboxState, BentoCheckboxType, BentoMultiCheckboxType };\n\nexport enum BentoCheckboxEvent {\n UPDATE = 'update:model-value',\n INPUT = 'input',\n}\n\nexport type BentoCheckboxTag = BentoTagProps;\n","<template>\n <label class=\"b-checkbox\" :class=\"conditionalClass\" v-bind=\"styleAttrs\" :aria-hidden=\"getAriaHidden($attrs)\">\n <checkbox-input\n v-bind=\"$attrs\"\n ref=\"input\"\n :aria-label=\"computedAriaLabel\"\n :aria-describedby=\"ariaDescribedBy\"\n :aria-required=\"required\"\n :disabled=\"disabled\"\n :has-error=\"shouldShowError\"\n :indeterminate=\"isIndeterminate\"\n :value=\"value\"\n :model-value=\"modelValue\"\n :readonly=\"readonly\"\n @update:model-value=\"onChange\"\n />\n <span v-if=\"hasSlot('default') || shouldShowErrorMessage\" class=\"b-checkbox__text\">\n <bento-typography v-if=\"hasSlot('default')\" class=\"b-checkbox__label\" el=\"span\" variant=\"body\">\n <span><slot /></span>\n <bento-typography v-if=\"optional\" class=\"b-checkbox__label-requirement\" el=\"span\"\n >({{ t('optional') }})</bento-typography\n >\n <bento-typography v-else-if=\"required\" class=\"b-checkbox__label-requirement\" el=\"span\"\n >*</bento-typography\n >\n <bento-tag v-if=\"tag\" class=\"b-checkbox__label-tag\" v-bind=\"tag\" />\n </bento-typography>\n <bento-typography\n v-if=\"hasSlot('default') && hasSlot('description')\"\n :id=\"descriptionId\"\n class=\"b-checkbox__description\"\n el=\"span\"\n variant=\"body\"\n >\n <slot name=\"description\"></slot>\n </bento-typography>\n <error-message v-if=\"shouldShowErrorMessage\" :id=\"errorId\" :error-message=\"errorMessage\" />\n\n <bento-typography v-if=\"contentSlotAvailable\" class=\"b-checkbox__content\" el=\"span\" variant=\"body\">\n <slot name=\"content\"></slot>\n </bento-typography>\n </span>\n </label>\n</template>\n\n<script lang=\"ts\">\n import {\n computed,\n defineComponent,\n type HTMLAttributes,\n onMounted,\n type PropType,\n ref,\n toRefs,\n useAttrs,\n } from 'vue';\n import {\n BentoCheckboxEvent,\n BentoCheckboxState,\n type BentoCheckboxTag,\n type BentoCheckboxType,\n type BentoMultiCheckboxType,\n } from './checkbox.types';\n import { BentoTypography } from '@/components/typography';\n import { CheckboxInput } from '@/components/internal/checkbox-input';\n import { ErrorMessage } from '@/components/internal/error-message';\n import { useDefaultSlotValidator, useHasSlot } from '@/composables';\n import { generateUid } from '@/core/utils/ts';\n import { getSlotText } from '@/utils/ts/get-slot-text';\n import { useI18n } from '@/utils/ts/i18n';\n import { useAriaLabel } from '@/utils/ts/aria-label';\n import { BentoTag } from '@/components/tag';\n import { type BentoCheckboxGroupItems } from './components/checkbox-group/checkbox-group.types';\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n /**\n * Checkboxes are used to make a binary choice about an option.\n * The label tag area is also clickable.\n *\n * @usage\n * import { BentoCheckbox } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoCheckbox },\n * template: `\n * <bento-checkbox>\n * Label text\n * <template #description>Sub label text</template>\n * </bento-checkbox>\n * `,\n * }\n */\n export default defineComponent({\n name: 'bento-checkbox',\n i18n: { messages },\n components: {\n BentoTag,\n BentoTypography,\n CheckboxInput,\n ErrorMessage,\n },\n inheritAttrs: false,\n model: { prop: 'modelValue' },\n props: {\n /**\n * @deprecated from version 2.0.0. Use the aria-label attribute instead.\n */\n /**\n * Accessible name for the radio button component. It is strongly recommended to pas this value in case this component is used without a label.\n */\n ariaLabel: { type: String, default: null },\n\n /**\n * Setting this property to true will disable the checkbox in your form.\n */\n disabled: { type: Boolean, default: false },\n\n /**\n * Renders the checkbox in an error state with an error message.\n */\n errorMessage: { type: String, default: null },\n\n /**\n * Setting this property to true will show the checkbox in error state.\n */\n hasError: { type: Boolean, default: false },\n\n /**\n * The :indeterminate CSS pseudo-class represents any form element\n * whose state is indeterminate, such as checkboxes which have their HTML indeterminate attribute\n * set to true, radio buttons which are members of a group in which all radio buttons are unchecked,\n * and indeterminate <progress> elements. https://developer.mozilla.org/en-US/docs/Web/CSS/:indeterminate\n * This property lets you control the input.indeterminate native property.\n */\n indeterminate: { type: Boolean, default: false },\n\n /**\n * When handling a single checkbox with a singular state, use a boolean.\n *\n * When handling multiple checkboxes, use an array of keys.\n * These keys exist as a set \"value\" prop for each checkbox.\n */\n modelValue: {\n type: [Boolean, Array] as PropType<BentoCheckboxType | BentoCheckboxGroupItems>,\n default: false,\n },\n\n /**\n * Highlights the checkbox is optional.\n */\n optional: { type: Boolean, default: false },\n\n /**\n * Setting this property to true will set the checkbox to read only state.\n */\n readonly: { type: Boolean, default: false },\n\n /**\n * Highlights the checkbox is required.\n */\n required: { type: Boolean, default: false },\n\n /**\n * Sets the properties of the BentoTag component that is placed next to the label.\n * {@see BentoTag}\n */\n tag: { type: Object as PropType<BentoCheckboxTag>, default: undefined },\n\n /**\n * The value of the component. The DOM API casts this to a string.\n * The browser uses \"on\" as the default value.\n *\n * In the case of multiple checkboxes this value is used as a unique key.\n */\n value: { type: [String, Number], default: null },\n },\n emits: [BentoCheckboxEvent.UPDATE, BentoCheckboxEvent.INPUT],\n setup(props, { attrs, emit, slots }) {\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n const descriptionId = generateUid('description');\n const errorId = generateUid('error');\n const hasSlot = useHasSlot(slots);\n\n const { disabled, indeterminate, modelValue, readonly, value } = toRefs(props);\n\n const defaultSlotValue = getSlotText(slots)('default');\n const descriptionSlotValue = getSlotText(slots)('description');\n\n useDefaultSlotValidator('bento-checkbox', slots.default, slots.description);\n\n const isCheckboxGroup = computed(() => Array.isArray(modelValue.value));\n const isChecked = computed(() => {\n if (!isCheckboxGroup.value) {\n return modelValue.value as boolean;\n }\n\n return (modelValue.value as BentoMultiCheckboxType).some(item => item === value.value);\n });\n const isIndeterminate = computed(() => indeterminate.value);\n\n const shouldShowError = computed(\n () => !props.disabled && !props.readonly && (props.hasError || !!props.errorMessage)\n );\n const shouldShowErrorMessage = computed(() => !props.disabled && !props.readonly && !!props.errorMessage);\n\n // Content slot logic\n const hasContentSlot = computed(() => hasSlot('content'));\n const isCheckedOrIntermediate = computed(() => isIndeterminate?.value || isChecked?.value);\n const contentSlotAvailable = computed(\n () => hasContentSlot?.value && isCheckboxGroup?.value && isCheckedOrIntermediate?.value\n );\n\n // ARIA fields\n const ariaDescribedBy = computed<HTMLAttributes['aria-describedby']>(\n () =>\n `${shouldShowErrorMessage.value ? errorId : ''} ${\n defaultSlotValue && descriptionSlotValue ? descriptionId : ''\n }`.trim() || null\n );\n\n const ariaLabelAttribute = ref(attrs['aria-label']);\n const { ariaLabel } = toRefs(props);\n const checkboxTranslation = ref();\n // Translations used in the script tag need to be inside onMounted otherwise they fail in Vue 3\n onMounted(() => {\n checkboxTranslation.value = t('checkbox');\n });\n // Only add aria-label if no label slot is present\n const computedAriaLabel = computed(\n () =>\n useAriaLabel({\n ariaLabel: ariaLabelAttribute.value as string,\n // TODO: take this line away when the aria-label props is removed\n label: ariaLabel,\n defaultFallback: hasSlot('default')\n ? (getSlotText(slots)('default') as string)\n : checkboxTranslation.value,\n }).value\n );\n const getAriaHidden = (attributes: HTMLAttributes) => attributes?.['aria-hidden'];\n\n const styleAttrs = computed(() => {\n const { style, class: cls } = useAttrs();\n return {\n class: cls as HTMLAttributes['class'],\n style: style as HTMLAttributes['style'],\n };\n });\n\n const conditionalClass = computed(() => ({\n [`b-checkbox--${BentoCheckboxState.DISABLED}`]: disabled.value,\n [`b-checkbox--${BentoCheckboxState.READONLY}`]: readonly.value,\n }));\n\n const onChange = (newValue: BentoCheckboxType | BentoCheckboxGroupItems) => {\n if (disabled.value) {\n return;\n }\n emit(BentoCheckboxEvent.UPDATE, newValue);\n emit(BentoCheckboxEvent.INPUT, newValue);\n };\n\n return {\n // Values\n descriptionId,\n errorId,\n ariaDescribedBy,\n computedAriaLabel,\n conditionalClass,\n defaultSlotValue,\n descriptionSlotValue,\n isIndeterminate,\n shouldShowError,\n shouldShowErrorMessage,\n contentSlotAvailable,\n hasContentSlot,\n styleAttrs,\n\n // Methods\n hasSlot,\n onChange,\n getAriaHidden,\n\n t,\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./checkbox.scss\" />\n"],"names":["BentoCheckboxEvent","BentoCheckboxEvent2","_sfc_main","defineComponent","messages","BentoTag","BentoTypography","CheckboxInput","ErrorMessage","props","attrs","emit","slots","t","useI18n","descriptionId","generateUid","errorId","hasSlot","useHasSlot","disabled","indeterminate","modelValue","readonly","value","toRefs","defaultSlotValue","getSlotText","descriptionSlotValue","useDefaultSlotValidator","isCheckboxGroup","computed","isChecked","item","isIndeterminate","shouldShowError","shouldShowErrorMessage","hasContentSlot","isCheckedOrIntermediate","contentSlotAvailable","ariaDescribedBy","ariaLabelAttribute","ref","ariaLabel","checkboxTranslation","onMounted","computedAriaLabel","useAriaLabel","getAriaHidden","attributes","styleAttrs","style","cls","useAttrs","conditionalClass","CheckboxInputState","newValue","_hoisted_1","_ctx","$attrs","createVNode","_component_checkbox_input","mergeProps","required","openBlock","createElementBlock","_hoisted_2","createBlock","_component_bento_typography","createElementVNode","createTextVNode","toDisplayString","createCommentVNode","_component_bento_tag","tag","renderSlot","_component_error_message"],"mappings":";;;;;;;;;;;;;;AASO,IAAAA,IAAA,kBAAAC,OACHA,EAAA,SAAA,sBACAA,EAAA,QAAA,SAFQA,IAAAD,KAAA,CAAA,CAAA;;;;;;;;;;;;;;GCqFRE,KAAAC,EAAA;AAAA,EAA+B,MAAA;AAAA,EACrB,MAAA,EAAA,UAAAC,EAAA;AAAA,EACW,YAAA;AAAA,IACL,UAAAC;AAAA,IACR,iBAAAC;AAAA,IACA,eAAAC;AAAA,IACA,cAAAC;AAAA,EACA;AAAA,EACJ,cAAA;AAAA,EACc,OAAA,EAAA,MAAA,aAAA;AAAA,EACc,OAAA;AAAA;AAAA;AAA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;"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as ee, useAttrs as te, ref as y, computed as m, shallowRef as $, onMounted as ae, watch as ne, watchEffect as oe, resolveComponent as se, openBlock as s, createElementBlock as _, normalizeClass as w, createElementVNode as S, createBlock as f, unref as r, mergeProps as re, createCommentVNode as u, createVNode as C, withCtx as h, createTextVNode as Q, toDisplayString as x, renderSlot as le, normalizeProps as ie, guardReactiveProps as ce } from "vue";
|
|
2
2
|
import { s as de, H as pe, t as e, L as ue, a as ge, b as fe, c as me, p as he, j as be, d as Oe, x as ve, e as ye, E as _e, h as Se, k as Ce, i as Ne, C as N, f as Y, g as E, l as Pe, m as ke } from "./codemirror.D2BAltnu.js";
|
|
3
3
|
import { c as Le, d as Te, e as xe, f as Ee } from "./es6.C1DXQV6f.js";
|
|
4
|
-
import { B as Ie } from "./dropdown.
|
|
4
|
+
import { B as Ie } from "./dropdown.Bdw2B-Cw.js";
|
|
5
5
|
import { B as W } from "./button.C6t9_lzm.js";
|
|
6
6
|
import { B as D } from "./typography.B3J6_tYk.js";
|
|
7
7
|
import { B as Ae } from "./loading-indicator.BPol9I84.js";
|
|
8
8
|
import { u as Re } from "./index.B875RXHM.js";
|
|
9
9
|
import { E as Be } from "./expand.BrywY9jl.js";
|
|
10
|
-
import { h as Ve } from "./base-modal.
|
|
11
|
-
import { C as $e } from "./copy.
|
|
10
|
+
import { h as Ve } from "./base-modal.gZAtk-xP.js";
|
|
11
|
+
import { C as $e } from "./copy.C_BCNHYQ.js";
|
|
12
12
|
import { _ as we } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
13
13
|
import "../assets/code-snippet.css";
|
|
14
14
|
const Qe = {
|
|
@@ -342,4 +342,4 @@ export {
|
|
|
342
342
|
I as b,
|
|
343
343
|
ft as c
|
|
344
344
|
};
|
|
345
|
-
//# sourceMappingURL=code-snippet.
|
|
345
|
+
//# sourceMappingURL=code-snippet.Dl1MEedz.js.map
|