@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
|
@@ -1,346 +0,0 @@
|
|
|
1
|
-
import { defineComponent as fe, useAttrs as be, ref as n, provide as he, computed as u, watch as B, openBlock as s, createElementBlock as E, createVNode as I, unref as i, mergeProps as ke, createSlots as ge, withCtx as d, Fragment as G, createTextVNode as C, toDisplayString as k, renderSlot as j, createElementVNode as S, createBlock as c, normalizeClass as J, createCommentVNode as v, renderList as _e } from "vue";
|
|
2
|
-
import { B as ye } from "./button.DWF7FSIw.js";
|
|
3
|
-
import { _ as we } from "./image.vue_vue_type_script_setup_true_lang.BMoSMeM-.js";
|
|
4
|
-
import { B as Ee } from "./input-field.CfU0ZKtL.js";
|
|
5
|
-
import { h as Ce } from "./button-actions.cMQWyZne.js";
|
|
6
|
-
import { d as Re, B as H } from "./typography.B3J6_tYk.js";
|
|
7
|
-
import { C as Le } from "./checkmark-circle-fill.DugX5fbG.js";
|
|
8
|
-
import { D as Ve } from "./dot.DBmwmOUN.js";
|
|
9
|
-
import { S as Te, H as Oe } from "./show.BreRPkgL.js";
|
|
10
|
-
import { e as Ie, w as Se } from "./index.DDwcHPb6.js";
|
|
11
|
-
import { u as Ue } from "./index.B875RXHM.js";
|
|
12
|
-
import { g as Y } from "./generate-uid.DBWe4g6T.js";
|
|
13
|
-
import { u as Pe } from "./form-field.D_2g7vaP.js";
|
|
14
|
-
import { b as Ae } from "./dropdown.MhmX1P9o.js";
|
|
15
|
-
import { T as Ne } from "./tooltip.CbADa_4p.js";
|
|
16
|
-
import { _ as qe } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
17
|
-
import "../assets/input-field-password.css";
|
|
18
|
-
var R = /* @__PURE__ */ ((t) => (t.TEXT = "text", t.PASSWORD = "password", t))(R || {}), g = /* @__PURE__ */ ((t) => (t.MIN_LENGTH = "minLength", t.REQUIRE_LOWERCASE = "requireLowercase", t.REQUIRE_NUMERIC = "requireNumeric", t.REQUIRE_SPECIAL_CHARACTER = "requireSpecialCharacter", t.REQUIRE_UPPERCASE = "requireUppercase", t))(g || {});
|
|
19
|
-
const Me = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='capslock'%3e%3cg%20id='Union'%3e%3cpath%20d='M13.75%205.63952L8%201.03952L2.25%205.63952V7.74999H4.75V11.75H11.25V7.74999H13.75V5.63952ZM6.25%206.24999H3.88809L8%202.96046L12.1119%206.24999H9.75V10.25H6.25V6.24999Z'%20fill='%2300112C'/%3e%3cpath%20d='M11.25%2014.75V13.25H4.75V14.75H11.25Z'%20fill='%2300112C'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
|
|
20
|
-
function L(t) {
|
|
21
|
-
return t?.toString() ?? "";
|
|
22
|
-
}
|
|
23
|
-
function Be(t, U = 12) {
|
|
24
|
-
return L(t).length >= U;
|
|
25
|
-
}
|
|
26
|
-
function He(t) {
|
|
27
|
-
return /[a-z]/.test(L(t));
|
|
28
|
-
}
|
|
29
|
-
function Fe(t) {
|
|
30
|
-
return /[A-Z]/.test(L(t));
|
|
31
|
-
}
|
|
32
|
-
function De(t) {
|
|
33
|
-
return /\d/.test(L(t));
|
|
34
|
-
}
|
|
35
|
-
function We(t) {
|
|
36
|
-
return /[^a-zA-Z0-9]/.test(L(t));
|
|
37
|
-
}
|
|
38
|
-
const ee = {
|
|
39
|
-
"en-US": { capsLockEnabled: "Caps lock on", hidePassword: "Hide", showPassword: "Show", validationChecked: "Checked", validationMinLength: "{numberOfCharacters} characters", validationRequireLowercase: "{numberOne} lowercase (a-z)", validationRequireNumeric: "{numberOne} numerical (0-9)", validationRequireSpecialCharacter: "{numberOne} special character", validationRequireUppercase: "{numberOne} uppercase (A-Z)", validationSuggestion: "Avoid using currency symbols or accented letters.", validationTitle: "Password must contain at least:", validationUnchecked: "Unchecked", validationValid: "Input is valid" },
|
|
40
|
-
"ja-JP": { capsLockEnabled: "Caps lockオン", hidePassword: "非表示", showPassword: "表示", validationChecked: "チェック済み", validationMinLength: "{numberOfCharacters}文字", validationRequireLowercase: "{numberOne} 小文字(a-z)", validationRequireNumeric: "{numberOne} 数値 (0-9)", validationRequireSpecialCharacter: "{numberOne} 特殊文字", validationRequireUppercase: "{numberOne} 大文字 (A-Z)", validationSuggestion: "通貨記号やアクセント付き文字は使用しないでください。", validationTitle: "パスワードには少なくとも次のものを含める必要があります :", validationUnchecked: "チェックなし", validationValid: "入力は有効です" },
|
|
41
|
-
"pt-BR": { capsLockEnabled: "Caps Lock ativado", hidePassword: "ocultar", showPassword: "Exibir", validationChecked: "Checado", validationMinLength: "{numberOfCharacters} caracteres", validationRequireLowercase: "{numberOne} minúscula (a-z)", validationRequireNumeric: "{numberOne} numérico (0-9)", validationRequireSpecialCharacter: "{numberOne} caractere especial", validationRequireUppercase: "{numberOne} maiúscula (A-Z)", validationSuggestion: "Evite usar símbolos de moeda e letras com acento.", validationTitle: "A senha deve conter pelo menos:", validationUnchecked: "Não verificado", validationValid: "A entrada é válida" }
|
|
42
|
-
}, xe = ["id"], Qe = {
|
|
43
|
-
key: 1,
|
|
44
|
-
class: "b-input-field-password__validation-status--valid",
|
|
45
|
-
role: "alert"
|
|
46
|
-
}, Ze = ["id"], ze = { class: "b-input-field-password__validation-list-icon" }, Ke = 12, Xe = 500, $e = 2e3, Ge = 2e3, je = {
|
|
47
|
-
i18n: { messages: ee },
|
|
48
|
-
name: "bento-input-field-password",
|
|
49
|
-
model: { prop: "modelValue" }
|
|
50
|
-
}, Je = /* @__PURE__ */ fe({
|
|
51
|
-
...je,
|
|
52
|
-
props: {
|
|
53
|
-
condensed: { type: Boolean, default: !1 },
|
|
54
|
-
debounceTime: { default: Xe },
|
|
55
|
-
disableValidation: { type: Boolean, default: !1 },
|
|
56
|
-
value: { default: void 0 },
|
|
57
|
-
modelValue: { default: void 0 },
|
|
58
|
-
validation: { default: void 0 },
|
|
59
|
-
withHint: { type: Boolean, default: !0 },
|
|
60
|
-
description: { default: null },
|
|
61
|
-
disabled: { type: Boolean, default: !1 },
|
|
62
|
-
errorMessage: { default: null },
|
|
63
|
-
label: { default: null },
|
|
64
|
-
optional: { type: Boolean, default: !1 },
|
|
65
|
-
placeholder: { default: "" },
|
|
66
|
-
readonly: { type: Boolean, default: !1 },
|
|
67
|
-
required: { type: Boolean, default: !1 },
|
|
68
|
-
tooltipText: { default: null }
|
|
69
|
-
},
|
|
70
|
-
emits: ["blur", "focus", "input:valid", "input:error", "input", "update:model-value"],
|
|
71
|
-
setup(t, { emit: U }) {
|
|
72
|
-
const { t: o, n: _ } = Ue({ messages: ee }), a = t, y = U, ae = be(), V = n(R.PASSWORD), m = n(a.modelValue ?? a.value), F = n(!1), te = n(!1), T = n([]), D = n({}), f = n(null), b = n(!1), W = n(null), P = n(null), A = n(null), N = n(!1);
|
|
73
|
-
he(Ae, "bento-input-field-password");
|
|
74
|
-
const { focused: ie } = Ie(W), { emitValue: le } = Pe(y), x = Y("validationListId"), Q = Y("validationPopoverId"), q = u(() => V.value === R.TEXT), oe = u(
|
|
75
|
-
() => T.value.map(
|
|
76
|
-
(e) => e ? "b-input-field-password__validation-list--valid" : "b-input-field-password__validation-list--invalid"
|
|
77
|
-
)
|
|
78
|
-
), se = u(
|
|
79
|
-
() => f.value ? "b-input-field-password__input-tooltip--timed" : ""
|
|
80
|
-
), ne = u(() => ({
|
|
81
|
-
ariaHidden: !1,
|
|
82
|
-
condensed: a.condensed,
|
|
83
|
-
disabled: a.disabled,
|
|
84
|
-
errorMessage: a.errorMessage,
|
|
85
|
-
optional: a.optional,
|
|
86
|
-
placeholder: a.placeholder,
|
|
87
|
-
readonly: a.readonly,
|
|
88
|
-
required: a.required,
|
|
89
|
-
tooltipText: a.tooltipText,
|
|
90
|
-
type: V.value,
|
|
91
|
-
modelValue: m.value,
|
|
92
|
-
"aria-haspopup": M.value ? "dialog" : !1,
|
|
93
|
-
"aria-describedby": M.value ? Q : "",
|
|
94
|
-
...ae
|
|
95
|
-
})), p = u(() => {
|
|
96
|
-
if (a.validation && !a.validation.extendDefaultValidation)
|
|
97
|
-
return a.validation;
|
|
98
|
-
const e = [
|
|
99
|
-
{
|
|
100
|
-
label: o("validationMinLength", { numberOfCharacters: _(Ke) }),
|
|
101
|
-
key: g.MIN_LENGTH,
|
|
102
|
-
validate: Be
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
label: o("validationRequireLowercase", { numberOne: _(1) }),
|
|
106
|
-
key: g.REQUIRE_LOWERCASE,
|
|
107
|
-
validate: He
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
label: o("validationRequireUppercase", { numberOne: _(1) }),
|
|
111
|
-
key: g.REQUIRE_UPPERCASE,
|
|
112
|
-
validate: Fe
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
label: o("validationRequireNumeric", { numberOne: _(1) }),
|
|
116
|
-
key: g.REQUIRE_NUMERIC,
|
|
117
|
-
validate: De
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
label: o("validationRequireSpecialCharacter", { numberOne: _(1) }),
|
|
121
|
-
key: g.REQUIRE_SPECIAL_CHARACTER,
|
|
122
|
-
validate: We
|
|
123
|
-
}
|
|
124
|
-
];
|
|
125
|
-
let h = e;
|
|
126
|
-
if (a.validation) {
|
|
127
|
-
const w = e.map((r) => r.key), l = a.validation?.list?.map((r) => r.key), O = a.validation?.list?.filter((r) => !w.includes(r.key)) ?? [];
|
|
128
|
-
h = [...e.map((r) => l?.includes(r.key) ? a.validation?.list?.find((me) => me.key === r.key) : r), ...O];
|
|
129
|
-
}
|
|
130
|
-
return {
|
|
131
|
-
title: a.validation?.title ?? o("validationTitle"),
|
|
132
|
-
suggestion: a.validation?.suggestion ?? o("validationSuggestion"),
|
|
133
|
-
list: h
|
|
134
|
-
};
|
|
135
|
-
}), Z = u(() => p.value?.list?.filter((e) => !e.disabled)), z = u(() => T.value?.some((e) => !e)), M = u(
|
|
136
|
-
() => P.value && p.value?.list?.length > 0
|
|
137
|
-
), K = (e) => {
|
|
138
|
-
typeof e.getModifierState == "function" && (N.value = e.getModifierState("CapsLock"));
|
|
139
|
-
}, re = () => {
|
|
140
|
-
q.value ? V.value = R.PASSWORD : V.value = R.TEXT;
|
|
141
|
-
}, de = (e) => {
|
|
142
|
-
a.disabled || (m.value = e, le(m.value));
|
|
143
|
-
}, ue = () => {
|
|
144
|
-
y("focus");
|
|
145
|
-
}, ce = () => {
|
|
146
|
-
y("blur");
|
|
147
|
-
}, X = (e) => {
|
|
148
|
-
const h = Z.value?.map((l) => ({
|
|
149
|
-
key: l.key,
|
|
150
|
-
label: l.label,
|
|
151
|
-
isValid: l.validate(e, ...l.additionalArgs ?? [])
|
|
152
|
-
}));
|
|
153
|
-
let w = 1;
|
|
154
|
-
T.value = h?.map((l) => l.isValid), D.value = h?.filter((l) => !l.isValid).reduce((l, O) => {
|
|
155
|
-
const $ = O.key ?? `custom-rule-${w++}`;
|
|
156
|
-
return {
|
|
157
|
-
...l,
|
|
158
|
-
[$]: O.label
|
|
159
|
-
};
|
|
160
|
-
}, {});
|
|
161
|
-
}, pe = () => {
|
|
162
|
-
b.value = !1, f.value = null;
|
|
163
|
-
}, ve = () => {
|
|
164
|
-
b.value = !0;
|
|
165
|
-
};
|
|
166
|
-
return B(
|
|
167
|
-
() => [a.value, a.modelValue],
|
|
168
|
-
() => {
|
|
169
|
-
m.value = a.modelValue ?? a.value;
|
|
170
|
-
}
|
|
171
|
-
), B(ie, (e) => {
|
|
172
|
-
e || (te.value = !0), a.disableValidation || (a.withHint && (F.value = e), X(m.value));
|
|
173
|
-
}), B(N, (e) => {
|
|
174
|
-
e ? (b.value = !0, f.value = setTimeout(() => {
|
|
175
|
-
f.value = null, b.value = !1;
|
|
176
|
-
}, Ge)) : (clearTimeout(f.value), f.value = null, b.value = !1);
|
|
177
|
-
}), Se(
|
|
178
|
-
m,
|
|
179
|
-
(e) => {
|
|
180
|
-
X(e), z.value ? y("input:error", D.value) : y("input:valid");
|
|
181
|
-
},
|
|
182
|
-
// wait for 0.5s before checking validity OR 2s of continuous typing
|
|
183
|
-
{ debounce: a.debounceTime, maxWait: $e }
|
|
184
|
-
), a.value && Re(
|
|
185
|
-
'BentoInputFieldPassword "value" property',
|
|
186
|
-
`The use of "value" prop in "BentoInputFieldPassword" is no longer supported.
|
|
187
|
-
Use the "v-model" or "model-value" property instead.`,
|
|
188
|
-
"2.0.0"
|
|
189
|
-
), (e, h) => (s(), E("div", {
|
|
190
|
-
ref_key: "inputFieldPasswordRef",
|
|
191
|
-
ref: W
|
|
192
|
-
}, [
|
|
193
|
-
I(i(Ee), ke({
|
|
194
|
-
ref_key: "inputFieldPasswordInputRef",
|
|
195
|
-
ref: P
|
|
196
|
-
}, ne.value, {
|
|
197
|
-
class: "b-input-field-password__input",
|
|
198
|
-
spellcheck: "false",
|
|
199
|
-
onBlur: ce,
|
|
200
|
-
onFocus: ue,
|
|
201
|
-
"onUpdate:modelValue": de,
|
|
202
|
-
onKeydown: K,
|
|
203
|
-
onKeyup: K
|
|
204
|
-
}), ge({
|
|
205
|
-
default: d(() => [
|
|
206
|
-
e.label ? (s(), E(G, { key: 0 }, [
|
|
207
|
-
C(k(e.label), 1)
|
|
208
|
-
], 64)) : j(e.$slots, "default", { key: 1 }, void 0, !0)
|
|
209
|
-
]),
|
|
210
|
-
_: 2
|
|
211
|
-
}, [
|
|
212
|
-
e.description ? {
|
|
213
|
-
name: "description",
|
|
214
|
-
fn: d(() => [
|
|
215
|
-
j(e.$slots, "description", {}, () => [
|
|
216
|
-
C(k(e.description), 1)
|
|
217
|
-
], !0)
|
|
218
|
-
]),
|
|
219
|
-
key: "0"
|
|
220
|
-
} : void 0,
|
|
221
|
-
N.value ? {
|
|
222
|
-
name: "iconBefore",
|
|
223
|
-
fn: d(() => [
|
|
224
|
-
S("div", {
|
|
225
|
-
class: "b-input-field-password__caps-lock-indicator",
|
|
226
|
-
onMouseenter: ve,
|
|
227
|
-
onMouseleave: pe
|
|
228
|
-
}, [
|
|
229
|
-
I(i(we), {
|
|
230
|
-
ref_key: "inputFieldPasswordCapsLockIconRef",
|
|
231
|
-
ref: A,
|
|
232
|
-
src: i(Me),
|
|
233
|
-
alt: i(o)("capsLockEnabled")
|
|
234
|
-
}, null, 8, ["src", "alt"])
|
|
235
|
-
], 32),
|
|
236
|
-
A.value ? (s(), c(i(Ne), {
|
|
237
|
-
key: 0,
|
|
238
|
-
class: J(se.value),
|
|
239
|
-
content: i(o)("capsLockEnabled"),
|
|
240
|
-
"disabled-focus-trap": !0,
|
|
241
|
-
"fallback-position": ["top", "bottom"],
|
|
242
|
-
"is-shown": b.value,
|
|
243
|
-
"target-element": A.value
|
|
244
|
-
}, null, 8, ["class", "content", "is-shown", "target-element"])) : v("", !0)
|
|
245
|
-
]),
|
|
246
|
-
key: "1"
|
|
247
|
-
} : void 0,
|
|
248
|
-
e.disabled ? void 0 : {
|
|
249
|
-
name: "iconAfter",
|
|
250
|
-
fn: d(() => [
|
|
251
|
-
I(i(ye), {
|
|
252
|
-
variant: "tertiary",
|
|
253
|
-
onClick: re
|
|
254
|
-
}, {
|
|
255
|
-
iconLeft: d(() => [
|
|
256
|
-
q.value ? v("", !0) : (s(), c(i(Te), {
|
|
257
|
-
key: 0,
|
|
258
|
-
"svg-title": i(o)("showPassword")
|
|
259
|
-
}, null, 8, ["svg-title"])),
|
|
260
|
-
q.value ? (s(), c(i(Oe), {
|
|
261
|
-
key: 1,
|
|
262
|
-
"svg-title": i(o)("hidePassword")
|
|
263
|
-
}, null, 8, ["svg-title"])) : v("", !0)
|
|
264
|
-
]),
|
|
265
|
-
_: 1
|
|
266
|
-
})
|
|
267
|
-
]),
|
|
268
|
-
key: "2"
|
|
269
|
-
}
|
|
270
|
-
]), 1040),
|
|
271
|
-
M.value ? (s(), c(i(Ce), {
|
|
272
|
-
key: 0,
|
|
273
|
-
open: F.value,
|
|
274
|
-
"target-element": P.value,
|
|
275
|
-
"disable-focus-trap": !0,
|
|
276
|
-
"aria-label": p.value.title,
|
|
277
|
-
"aria-describedby": i(x),
|
|
278
|
-
position: "right-start"
|
|
279
|
-
}, {
|
|
280
|
-
default: d(() => [
|
|
281
|
-
S("div", { id: i(Q) }, [
|
|
282
|
-
p.value.title ? (s(), c(i(H), {
|
|
283
|
-
key: 0,
|
|
284
|
-
class: "b-input-field-password__validation-title"
|
|
285
|
-
}, {
|
|
286
|
-
default: d(() => [
|
|
287
|
-
C(k(p.value.title), 1)
|
|
288
|
-
]),
|
|
289
|
-
_: 1
|
|
290
|
-
})) : v("", !0),
|
|
291
|
-
z.value ? v("", !0) : (s(), E("p", Qe, k(i(o)("validationValid")), 1)),
|
|
292
|
-
S("ul", {
|
|
293
|
-
id: i(x),
|
|
294
|
-
class: "b-input-field-password__validation-list"
|
|
295
|
-
}, [
|
|
296
|
-
(s(!0), E(G, null, _e(Z.value, (w, l) => (s(), E("li", {
|
|
297
|
-
key: l,
|
|
298
|
-
class: J(oe.value[l]),
|
|
299
|
-
"aria-live": "polite",
|
|
300
|
-
"aria-atomic": "true"
|
|
301
|
-
}, [
|
|
302
|
-
S("span", ze, [
|
|
303
|
-
T.value[l] ? (s(), c(i(Le), {
|
|
304
|
-
key: 0,
|
|
305
|
-
"svg-title": i(o)("validationChecked")
|
|
306
|
-
}, null, 8, ["svg-title"])) : (s(), c(i(Ve), {
|
|
307
|
-
key: 1,
|
|
308
|
-
"svg-title": i(o)("validationUnchecked")
|
|
309
|
-
}, null, 8, ["svg-title"]))
|
|
310
|
-
]),
|
|
311
|
-
I(i(H), {
|
|
312
|
-
class: "b-input-field-password__validation-list-text",
|
|
313
|
-
el: "span"
|
|
314
|
-
}, {
|
|
315
|
-
default: d(() => [
|
|
316
|
-
C(k(w.label), 1)
|
|
317
|
-
]),
|
|
318
|
-
_: 2
|
|
319
|
-
}, 1024)
|
|
320
|
-
], 2))), 128))
|
|
321
|
-
], 8, Ze),
|
|
322
|
-
p.value.suggestion ? (s(), c(i(H), {
|
|
323
|
-
key: 2,
|
|
324
|
-
class: "b-input-field-password__validation-suggestion"
|
|
325
|
-
}, {
|
|
326
|
-
default: d(() => [
|
|
327
|
-
C(k(p.value.suggestion), 1)
|
|
328
|
-
]),
|
|
329
|
-
_: 1
|
|
330
|
-
})) : v("", !0)
|
|
331
|
-
], 8, xe)
|
|
332
|
-
]),
|
|
333
|
-
_: 1
|
|
334
|
-
}, 8, ["open", "target-element", "aria-label", "aria-describedby"])) : v("", !0)
|
|
335
|
-
], 512));
|
|
336
|
-
}
|
|
337
|
-
}), ba = /* @__PURE__ */ qe(Je, [["__scopeId", "data-v-e079f788"]]);
|
|
338
|
-
export {
|
|
339
|
-
De as a,
|
|
340
|
-
We as b,
|
|
341
|
-
Fe as c,
|
|
342
|
-
ba as i,
|
|
343
|
-
Be as m,
|
|
344
|
-
He as r
|
|
345
|
-
};
|
|
346
|
-
//# sourceMappingURL=input-field-password.DZytmp_p.js.map
|