@adyen/bento-vue3 1.74.0 → 1.76.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 +1660 -614
- 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/calendar.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/data-grid-template.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-tag.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/header-meta.css +1 -1
- package/dist/assets/input-field-password.css +1 -1
- package/dist/assets/input-field.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/selection-card-group.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/timeline-item.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chunks/calendar.Tm7Cvpwu.js +2001 -0
- package/dist/chunks/calendar.Tm7Cvpwu.js.map +1 -0
- package/dist/chunks/{checkbox-group.8ebmaHsA.js → checkbox-group.8J29fVna.js} +2 -2
- package/dist/chunks/{checkbox-group.8ebmaHsA.js.map → checkbox-group.8J29fVna.js.map} +1 -1
- package/dist/chunks/{checkbox.BI0dqARY.js → checkbox.CfNYUty6.js} +18 -18
- package/dist/chunks/{checkbox.BI0dqARY.js.map → checkbox.CfNYUty6.js.map} +1 -1
- package/dist/chunks/{code-snippet.CO78Nfj0.js → code-snippet.EeIcRV20.js} +2 -2
- package/dist/chunks/{code-snippet.CO78Nfj0.js.map → code-snippet.EeIcRV20.js.map} +1 -1
- package/dist/chunks/constructNow.CHWWeLPc.js +8 -0
- package/dist/chunks/constructNow.CHWWeLPc.js.map +1 -0
- package/dist/chunks/{dashboard-section.CVttsom5.js → dashboard-section.Cqi0PWeJ.js} +2 -2
- package/dist/chunks/{dashboard-section.CVttsom5.js.map → dashboard-section.Cqi0PWeJ.js.map} +1 -1
- package/dist/chunks/{data-grid-template.CFt1NV_4.js → data-grid-template.D7kB3S1u.js} +2 -2
- package/dist/chunks/{data-grid-template.CFt1NV_4.js.map → data-grid-template.D7kB3S1u.js.map} +1 -1
- package/dist/chunks/data-grid.DJIxBwCa.js +4143 -0
- package/dist/chunks/data-grid.DJIxBwCa.js.map +1 -0
- package/dist/chunks/{date-picker.DSkvT_CA.js → date-picker.CobmiKaJ.js} +16 -16
- package/dist/chunks/date-picker.CobmiKaJ.js.map +1 -0
- package/dist/chunks/date-range-picker.B6UKl1_N.js +1114 -0
- package/dist/chunks/date-range-picker.B6UKl1_N.js.map +1 -0
- package/dist/chunks/{get-date-locale.CAyOIbcp.js → differenceInMonths.C8FyCrav.js} +580 -364
- package/dist/chunks/differenceInMonths.C8FyCrav.js.map +1 -0
- package/dist/chunks/dropdown-tag.CMjilUQb.js +242 -0
- package/dist/chunks/dropdown-tag.CMjilUQb.js.map +1 -0
- package/dist/chunks/{dropdown.bLsoTZbw.js → dropdown.DG_EnV8g.js} +18 -18
- package/dist/chunks/{dropdown.bLsoTZbw.js.map → dropdown.DG_EnV8g.js.map} +1 -1
- package/dist/chunks/es6.MoTTyETW.js.map +1 -1
- package/dist/chunks/{filter-bar.nX73NKNC.js → filter-bar.dmC284Po.js} +737 -710
- package/dist/chunks/filter-bar.dmC284Po.js.map +1 -0
- package/dist/chunks/getRoundingMethod.C3eaeGLR.js +10 -0
- package/dist/chunks/getRoundingMethod.C3eaeGLR.js.map +1 -0
- package/dist/chunks/{index.BrH1t1iu.js → getTimezoneOffsetInMilliseconds.BW7U6PxE.js} +254 -177
- package/dist/chunks/getTimezoneOffsetInMilliseconds.BW7U6PxE.js.map +1 -0
- package/dist/chunks/header-meta.BE6QfUNi.js +221 -0
- package/dist/chunks/header-meta.BE6QfUNi.js.map +1 -0
- package/dist/chunks/{header-with-views.BLW817ZC.js → header-with-views.BZ16v5-m.js} +4 -4
- package/dist/chunks/{header-with-views.BLW817ZC.js.map → header-with-views.BZ16v5-m.js.map} +1 -1
- package/dist/chunks/{header.DARVAeE9.js → header.3It50Clh.js} +2 -2
- package/dist/chunks/{header.DARVAeE9.js.map → header.3It50Clh.js.map} +1 -1
- package/dist/chunks/{input-field-password.BtM3-txc.js → input-field-password.BVnZWBAV.js} +185 -167
- package/dist/chunks/input-field-password.BVnZWBAV.js.map +1 -0
- package/dist/chunks/{input-field-phone-number.oaNB69nM.js → input-field-phone-number.CWhPGQ1U.js} +3 -3
- package/dist/chunks/{input-field-phone-number.oaNB69nM.js.map → input-field-phone-number.CWhPGQ1U.js.map} +1 -1
- package/dist/chunks/{input-field.D_tADgPG.js → input-field.A-dEZZfC.js} +124 -119
- package/dist/chunks/input-field.A-dEZZfC.js.map +1 -0
- package/dist/chunks/{pagination.D1Gdo5to.js → pagination.B4qBK4pM.js} +2 -2
- package/dist/chunks/{pagination.D1Gdo5to.js.map → pagination.B4qBK4pM.js.map} +1 -1
- package/dist/chunks/radio-group.DWNqrkZ3.js.map +1 -1
- package/dist/chunks/{rich-text-editor.BK9AivIm.js → rich-text-editor.BA6_k4Vv.js} +354 -352
- package/dist/chunks/{rich-text-editor.BK9AivIm.js.map → rich-text-editor.BA6_k4Vv.js.map} +1 -1
- package/dist/chunks/{search-bar.BD_R-vgA.js → search-bar.dZ7UCMxb.js} +3 -3
- package/dist/chunks/{search-bar.BD_R-vgA.js.map → search-bar.dZ7UCMxb.js.map} +1 -1
- package/dist/chunks/{secondary-nav.Du2PL7Ok.js → secondary-nav.CE082cQ_.js} +2 -2
- package/dist/chunks/{secondary-nav.Du2PL7Ok.js.map → secondary-nav.CE082cQ_.js.map} +1 -1
- package/dist/chunks/selection-card-group.NnTbPQjj.js +412 -0
- package/dist/chunks/{selection-card-group._RgLiMyQ.js.map → selection-card-group.NnTbPQjj.js.map} +1 -1
- package/dist/chunks/textarea.C1jkfowf.js.map +1 -1
- package/dist/chunks/timeline-item.DNjubXL2.js +556 -0
- package/dist/chunks/timeline-item.DNjubXL2.js.map +1 -0
- package/dist/chunks/{use-cached-selected-values.C32tjNKy.js → use-cached-selected-values.8MdrR9wt.js} +501 -467
- package/dist/chunks/use-cached-selected-values.8MdrR9wt.js.map +1 -0
- package/dist/code-snippet.js +1 -1
- package/dist/dashboard-template.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/dropdown.js +3 -3
- package/dist/filter-bar.js +1 -1
- package/dist/header-with-views.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +24 -24
- 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/internal.js +3 -3
- package/dist/pagination.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/selection-card.js +1 -1
- package/dist/styles/bento-dark.css +7 -5
- package/dist/styles/bento-light.css +7 -5
- package/dist/styles/bento.css +7 -5
- package/dist/styles/legacy.css +7 -5
- package/dist/styles/styleguide.css +7 -5
- package/dist/timeline.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +8 -23
- package/dist/chunks/_commonjsHelpers.C6fGbg64.js +0 -7
- package/dist/chunks/_commonjsHelpers.C6fGbg64.js.map +0 -1
- package/dist/chunks/calendar.Cqjyxc69.js +0 -2223
- package/dist/chunks/calendar.Cqjyxc69.js.map +0 -1
- package/dist/chunks/data-grid.BjPdbx50.js +0 -4071
- package/dist/chunks/data-grid.BjPdbx50.js.map +0 -1
- package/dist/chunks/date-picker.DSkvT_CA.js.map +0 -1
- package/dist/chunks/date-range-picker.cmg75lC-.js +0 -1117
- package/dist/chunks/date-range-picker.cmg75lC-.js.map +0 -1
- package/dist/chunks/dropdown-tag.DvQQIJsw.js +0 -308
- package/dist/chunks/dropdown-tag.DvQQIJsw.js.map +0 -1
- package/dist/chunks/filter-bar.nX73NKNC.js.map +0 -1
- package/dist/chunks/get-date-locale.CAyOIbcp.js.map +0 -1
- package/dist/chunks/header-meta.C4iaUsfq.js +0 -236
- package/dist/chunks/header-meta.C4iaUsfq.js.map +0 -1
- package/dist/chunks/index.BrH1t1iu.js.map +0 -1
- package/dist/chunks/index.BxBB1rsx.js +0 -15
- package/dist/chunks/index.BxBB1rsx.js.map +0 -1
- package/dist/chunks/input-field-password.BtM3-txc.js.map +0 -1
- package/dist/chunks/input-field.D_tADgPG.js.map +0 -1
- package/dist/chunks/selection-card-group._RgLiMyQ.js +0 -474
- package/dist/chunks/timeline-item.C8PA_w7m.js +0 -568
- package/dist/chunks/timeline-item.C8PA_w7m.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.C32tjNKy.js.map +0 -1
|
@@ -2,7 +2,7 @@ import { defineComponent as b, computed as u, resolveComponent as n, createEleme
|
|
|
2
2
|
import { u as E } from "./use-has-slot.B7eQSabc.js";
|
|
3
3
|
import { B as N, a as k, c as h } from "./typography.yBEME_Gu.js";
|
|
4
4
|
import { B as O } from "./button-actions-with-menu.BeQ-j1bv.js";
|
|
5
|
-
import { I as t, H as w } from "./header-meta.
|
|
5
|
+
import { I as t, H as w } from "./header-meta.BE6QfUNi.js";
|
|
6
6
|
import { _ as A } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
7
7
|
import "../assets/header.css";
|
|
8
8
|
var o = /* @__PURE__ */ ((e) => (e.PAGE = "page", e.COMPONENT = "component", e))(o || {});
|
|
@@ -138,4 +138,4 @@ const F = /* @__PURE__ */ A($, [["render", G], ["__scopeId", "data-v-56ef1e22"]]
|
|
|
138
138
|
export {
|
|
139
139
|
F as B
|
|
140
140
|
};
|
|
141
|
-
//# sourceMappingURL=header.
|
|
141
|
+
//# sourceMappingURL=header.3It50Clh.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"header.
|
|
1
|
+
{"version":3,"file":"header.3It50Clh.js","sources":["../../../vue2/src/components/header/header.types.ts","../../../vue2/src/components/header/header.vue"],"sourcesContent":["import { type BentoLoadingButtonState } from '../button/components/loading-button/loading-button.types';\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoHeaderVariant {\n PAGE = 'page',\n COMPONENT = 'component',\n}\n\nexport interface BentoHeaderReloadButton {\n title: string;\n event?: (event: Event) => void;\n state?: `${BentoLoadingButtonState}`;\n}\n","<template>\n <header class=\"b-header\" :class=\"conditionalClasses\">\n <div class=\"b-header__wrapper\">\n <div class=\"b-header__title\">\n <div>\n <bento-typography v-bind=\"typography\" class=\"b-header__text\">{{ title }}</bento-typography>\n <info-icon-with-popover\n v-if=\"infoIconTooltipText || hasSlot('infoIconTooltipContent')\"\n class=\"b-header__tooltip\"\n :popover-text=\"infoIconTooltipText\"\n >\n <template v-if=\"hasSlot('infoIconTooltipContent')\" #default\n ><slot name=\"infoIconTooltipContent\"\n /></template>\n </info-icon-with-popover>\n </div>\n </div>\n <header-meta\n v-if=\"description || hasSlot('description') || lastUpdated\"\n class=\"b-header__meta-container\"\n :description=\"description\"\n :last-updated=\"lastUpdated\"\n :reload-button=\"reloadButton\"\n >\n <template v-if=\"hasSlot('description')\" #description><slot name=\"description\" /></template>\n </header-meta>\n <button-actions-with-menu\n v-if=\"actions\"\n :actions=\"actions\"\n :displayed-actions=\"2\"\n class=\"b-header__actions\"\n />\n </div>\n </header>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent, type PropType } from 'vue';\n import { InfoIconWithPopover } from '@/internal';\n import { type BentoButtonActionsList } from '@/components/button';\n import { useHasSlot } from '@/composables';\n import { type BentoHeaderReloadButton, BentoHeaderVariant } from './header.types';\n import { BentoTypography, BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';\n import { HeaderMeta } from '@/internal/header-meta';\n import ButtonActionsWithMenu from '../internal/button-actions-with-menu/button-actions-with-menu.vue';\n\n export default defineComponent({\n name: 'bento-header',\n components: {\n BentoTypography,\n ButtonActionsWithMenu,\n InfoIconWithPopover,\n HeaderMeta,\n },\n props: {\n /**\n * Array of BentoButtonActionsList to show to the right of the title\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n default: null,\n },\n\n /**\n * Text showed under the title\n */\n description: { type: String, default: null },\n\n /**\n * Text showed in the info-icon tooltip on hover\n */\n infoIconTooltipText: { type: InfoIconWithPopover.props.popoverText.type, default: null },\n\n /**\n * Popover position of the info icon text.\n */\n infoIconPopoverPosition: {\n type: InfoIconWithPopover.props.popoverPosition.type,\n default: InfoIconWithPopover.props.popoverPosition.default,\n validator: InfoIconWithPopover.props.popoverPosition.validator,\n },\n\n /**\n * JavaScript \"Date\" object for when the content was last updated\n */\n lastUpdated: { type: [Date, Number], default: null },\n\n /**\n * Variant represents type of Header\n * @values page, component\n */\n variant: {\n type: String as PropType<BentoHeaderVariant | `${BentoHeaderVariant}`>,\n default: BentoHeaderVariant.PAGE,\n validator: (value: BentoHeaderVariant) => Object.values(BentoHeaderVariant).includes(value),\n },\n\n /**\n * Text used as a title\n */\n title: { type: String, required: true },\n\n /**\n * Reload button which shows next to the header's timestamp\n * {@see BentoHeaderReloadButton}\n */\n reloadButton: {\n type: Object as PropType<BentoHeaderReloadButton>,\n default: null,\n },\n },\n emits: ['reload'],\n setup(props, { slots }) {\n const conditionalClasses = computed(() => ({\n 'b-header--component': props.variant === BentoHeaderVariant.COMPONENT,\n }));\n\n const typography = computed(() => ({\n el: props.variant === BentoHeaderVariant.PAGE ? BentoTypographyElement.H1 : BentoTypographyElement.H2,\n variant: BentoTypographyVariant.TITLE,\n medium: props.variant === BentoHeaderVariant.COMPONENT,\n large: props.variant === BentoHeaderVariant.PAGE,\n }));\n return {\n hasSlot: useHasSlot(slots),\n conditionalClasses,\n typography,\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./header.scss\" />\n"],"names":["BentoHeaderVariant","BentoHeaderVariant2","_sfc_main","defineComponent","BentoTypography","ButtonActionsWithMenu","InfoIconWithPopover","HeaderMeta","value","props","slots","conditionalClasses","computed","typography","BentoTypographyElement","BentoTypographyVariant","useHasSlot","_component_button_actions_with_menu","resolveComponent","normalizeClass","_ctx","createElementVNode","_hoisted_2","createVNode","_component_bento_typography","mergeProps","withCtx","createTextVNode","toDisplayString","infoIconTooltipText","openBlock","createBlock","_component_info_icon_with_popover","createSlots","renderSlot","createCommentVNode","description","_component_header_meta","reloadButton"],"mappings":"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"}
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { B as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { B as
|
|
5
|
-
import { h as
|
|
6
|
-
import { B as
|
|
7
|
-
import { C as
|
|
8
|
-
import { D as
|
|
9
|
-
import { S as
|
|
10
|
-
import { e as
|
|
11
|
-
import { u as
|
|
12
|
-
import { g as
|
|
13
|
-
import { b as
|
|
14
|
-
import { T as
|
|
15
|
-
import { _ as
|
|
1
|
+
import { defineComponent as ye, useAttrs as Ee, ref as r, provide as we, computed as v, watch as W, createElementBlock as R, openBlock as s, createVNode as A, createBlock as f, createCommentVNode as b, unref as i, mergeProps as Ce, createSlots as Re, withCtx as c, renderSlot as ae, Fragment as te, createTextVNode as L, toDisplayString as k, createElementVNode as U, normalizeClass as ie, renderList as Le } from "vue";
|
|
2
|
+
import { B as Te } from "./button.DhcxX2GJ.js";
|
|
3
|
+
import { _ as Ie } from "./image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js";
|
|
4
|
+
import { B as Oe } from "./input-field.A-dEZZfC.js";
|
|
5
|
+
import { h as Se } from "./button-actions.BQ3AFQqt.js";
|
|
6
|
+
import { B as F } from "./typography.yBEME_Gu.js";
|
|
7
|
+
import { C as Pe } from "./checkmark-circle-fill._6-d40ru.js";
|
|
8
|
+
import { D as Ae } from "./dot.ob6N-5Um.js";
|
|
9
|
+
import { S as Ue, H as Ve } from "./show.CT4Augxb.js";
|
|
10
|
+
import { e as qe, w as Ne } from "./index.E60QniEu.js";
|
|
11
|
+
import { u as Me } from "./index.pdBj0KQU.js";
|
|
12
|
+
import { g as le } from "./generate-uid.NJ8tVoha.js";
|
|
13
|
+
import { b as He } from "./dropdown.DG_EnV8g.js";
|
|
14
|
+
import { T as Be } from "./tooltip.Dp9_ESm_.js";
|
|
15
|
+
import { _ as De } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
16
16
|
import "../assets/input-field-password.css";
|
|
17
|
-
var
|
|
18
|
-
const
|
|
19
|
-
function
|
|
17
|
+
var T = /* @__PURE__ */ ((a) => (a.TEXT = "text", a.PASSWORD = "password", a))(T || {}), y = /* @__PURE__ */ ((a) => (a.MIN_LENGTH = "minLength", a.REQUIRE_LOWERCASE = "requireLowercase", a.REQUIRE_NUMERIC = "requireNumeric", a.REQUIRE_SPECIAL_CHARACTER = "requireSpecialCharacter", a.REQUIRE_UPPERCASE = "requireUppercase", a))(y || {});
|
|
18
|
+
const We = "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";
|
|
19
|
+
function I(a) {
|
|
20
20
|
return (a == null ? void 0 : a.toString()) ?? "";
|
|
21
21
|
}
|
|
22
|
-
function
|
|
23
|
-
return
|
|
22
|
+
function Fe(a, V = 12) {
|
|
23
|
+
return I(a).length >= V;
|
|
24
24
|
}
|
|
25
25
|
function xe(a) {
|
|
26
|
-
return /[a-z]/.test(
|
|
27
|
-
}
|
|
28
|
-
function Fe(a) {
|
|
29
|
-
return /[A-Z]/.test(L(a));
|
|
26
|
+
return /[a-z]/.test(I(a));
|
|
30
27
|
}
|
|
31
28
|
function Qe(a) {
|
|
32
|
-
return
|
|
29
|
+
return /[A-Z]/.test(I(a));
|
|
33
30
|
}
|
|
34
31
|
function Ze(a) {
|
|
35
|
-
return
|
|
32
|
+
return /\d/.test(I(a));
|
|
33
|
+
}
|
|
34
|
+
function ze(a) {
|
|
35
|
+
return /[^a-zA-Z0-9]/.test(I(a));
|
|
36
36
|
}
|
|
37
|
-
const
|
|
37
|
+
const oe = {
|
|
38
38
|
"en-US": {
|
|
39
39
|
capsLockEnabled: "Caps lock on",
|
|
40
40
|
hidePassword: "Hide",
|
|
@@ -74,297 +74,315 @@ const ie = {
|
|
|
74
74
|
validationSuggestion: "Evite símbolos de moeda ou letras acentuadas.",
|
|
75
75
|
validationTitle: "A senha deve conter pelo menos:"
|
|
76
76
|
}
|
|
77
|
-
},
|
|
77
|
+
}, Xe = ["id"], $e = {
|
|
78
78
|
key: 1,
|
|
79
79
|
class: "b-input-field-password__validation-status--valid",
|
|
80
80
|
role: "alert"
|
|
81
|
-
}, Ge = ["id"], Ke = { class: "b-input-field-password__validation-list-icon" }, Je = 12,
|
|
82
|
-
i18n: { messages:
|
|
81
|
+
}, Ge = ["id"], Ke = { class: "b-input-field-password__validation-list-icon" }, Je = 12, Ye = 500, je = 2e3, ea = 2e3, aa = {
|
|
82
|
+
i18n: { messages: oe },
|
|
83
83
|
name: "bento-input-field-password"
|
|
84
|
-
},
|
|
85
|
-
...
|
|
84
|
+
}, ta = /* @__PURE__ */ ye({
|
|
85
|
+
...aa,
|
|
86
86
|
props: {
|
|
87
87
|
condensed: { type: Boolean, default: !1 },
|
|
88
|
-
debounceTime: { default:
|
|
89
|
-
disabled: { type: Boolean, default: !1 },
|
|
88
|
+
debounceTime: { default: Ye },
|
|
90
89
|
disableValidation: { type: Boolean, default: !1 },
|
|
90
|
+
value: { default: void 0 },
|
|
91
|
+
validation: { default: void 0 },
|
|
92
|
+
withHint: { type: Boolean, default: !0 },
|
|
93
|
+
description: { default: null },
|
|
94
|
+
disabled: { type: Boolean, default: !1 },
|
|
91
95
|
errorMessage: { default: null },
|
|
96
|
+
label: { default: null },
|
|
97
|
+
optional: { type: Boolean, default: !1 },
|
|
92
98
|
placeholder: { default: "" },
|
|
93
99
|
readonly: { type: Boolean, default: !1 },
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
validation: { default: void 0 },
|
|
97
|
-
withHint: { type: Boolean, default: !0 }
|
|
100
|
+
required: { type: Boolean, default: !1 },
|
|
101
|
+
tooltipText: { default: null }
|
|
98
102
|
},
|
|
99
103
|
emits: ["blur", "focus", "input:valid", "input:error", "input"],
|
|
100
104
|
setup(a, { emit: V }) {
|
|
101
|
-
const { t: o, n: E } =
|
|
102
|
-
|
|
103
|
-
const { focused:
|
|
104
|
-
() =>
|
|
105
|
+
const { t: o, n: E } = Me({ messages: oe }), t = a, w = V, ne = Ee(), O = r(T.PASSWORD), h = r(t.value), x = r(!1), se = r(!1), S = r([]), Q = r({}), _ = r(null), g = r(!1), Z = r(null), q = r(null), N = r(null), M = r(!1);
|
|
106
|
+
we(He, "bento-input-field-password");
|
|
107
|
+
const { focused: re } = qe(Z), z = le("validationListId"), X = le("validationPopoverId"), H = v(() => O.value === T.TEXT), de = v(
|
|
108
|
+
() => S.value.map(
|
|
105
109
|
(e) => e ? "b-input-field-password__validation-list--valid" : "b-input-field-password__validation-list--invalid"
|
|
106
110
|
)
|
|
107
|
-
),
|
|
108
|
-
() =>
|
|
109
|
-
),
|
|
111
|
+
), ue = v(
|
|
112
|
+
() => _.value ? "b-input-field-password__input-tooltip--timed" : ""
|
|
113
|
+
), ce = v(() => ({
|
|
110
114
|
ariaHidden: !1,
|
|
111
|
-
condensed:
|
|
112
|
-
disabled:
|
|
113
|
-
errorMessage:
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
115
|
+
condensed: t.condensed,
|
|
116
|
+
disabled: t.disabled,
|
|
117
|
+
errorMessage: t.errorMessage,
|
|
118
|
+
optional: t.optional,
|
|
119
|
+
placeholder: t.placeholder,
|
|
120
|
+
readonly: t.readonly,
|
|
121
|
+
required: t.required,
|
|
122
|
+
tooltipText: t.tooltipText,
|
|
123
|
+
type: O.value,
|
|
124
|
+
value: h.value,
|
|
118
125
|
"aria-haspopup": B.value ? "dialog" : !1,
|
|
119
126
|
"aria-describedby": B.value ? X : "",
|
|
120
|
-
...
|
|
121
|
-
})), m =
|
|
122
|
-
var
|
|
123
|
-
if (
|
|
124
|
-
return
|
|
127
|
+
...ne
|
|
128
|
+
})), m = v(() => {
|
|
129
|
+
var p, d, n, C, P, Y;
|
|
130
|
+
if (t.validation && !t.validation.extendDefaultValidation)
|
|
131
|
+
return t.validation;
|
|
125
132
|
const e = [
|
|
126
133
|
{
|
|
127
134
|
label: o("validationMinLength", { numberOfCharacters: E(Je) }),
|
|
128
|
-
key:
|
|
129
|
-
validate:
|
|
135
|
+
key: y.MIN_LENGTH,
|
|
136
|
+
validate: Fe
|
|
130
137
|
},
|
|
131
138
|
{
|
|
132
139
|
label: o("validationRequireLowercase", { numberOne: E(1) }),
|
|
133
|
-
key:
|
|
140
|
+
key: y.REQUIRE_LOWERCASE,
|
|
134
141
|
validate: xe
|
|
135
142
|
},
|
|
136
143
|
{
|
|
137
144
|
label: o("validationRequireUppercase", { numberOne: E(1) }),
|
|
138
|
-
key:
|
|
139
|
-
validate:
|
|
145
|
+
key: y.REQUIRE_UPPERCASE,
|
|
146
|
+
validate: Qe
|
|
140
147
|
},
|
|
141
148
|
{
|
|
142
149
|
label: o("validationRequireNumeric", { numberOne: E(1) }),
|
|
143
|
-
key:
|
|
144
|
-
validate:
|
|
150
|
+
key: y.REQUIRE_NUMERIC,
|
|
151
|
+
validate: Ze
|
|
145
152
|
},
|
|
146
153
|
{
|
|
147
154
|
label: o("validationRequireSpecialCharacter", { numberOne: E(1) }),
|
|
148
|
-
key:
|
|
149
|
-
validate:
|
|
155
|
+
key: y.REQUIRE_SPECIAL_CHARACTER,
|
|
156
|
+
validate: ze
|
|
150
157
|
}
|
|
151
158
|
];
|
|
152
159
|
let l = e;
|
|
153
|
-
if (
|
|
154
|
-
const
|
|
160
|
+
if (t.validation) {
|
|
161
|
+
const _e = e.map((u) => u.key), D = (d = (p = t.validation) == null ? void 0 : p.list) == null ? void 0 : d.map((u) => u.key), ge = ((C = (n = t.validation) == null ? void 0 : n.list) == null ? void 0 : C.filter((u) => !_e.includes(u.key))) ?? [];
|
|
155
162
|
l = [...e.map((u) => {
|
|
156
163
|
var j, ee;
|
|
157
|
-
return D != null && D.includes(u.key) ? (ee = (j =
|
|
158
|
-
}), ...
|
|
164
|
+
return D != null && D.includes(u.key) ? (ee = (j = t.validation) == null ? void 0 : j.list) == null ? void 0 : ee.find((ke) => ke.key === u.key) : u;
|
|
165
|
+
}), ...ge];
|
|
159
166
|
}
|
|
160
167
|
return {
|
|
161
|
-
title: ((
|
|
162
|
-
suggestion: ((Y =
|
|
168
|
+
title: ((P = t.validation) == null ? void 0 : P.title) ?? o("validationTitle"),
|
|
169
|
+
suggestion: ((Y = t.validation) == null ? void 0 : Y.suggestion) ?? o("validationSuggestion"),
|
|
163
170
|
list: l
|
|
164
171
|
};
|
|
165
|
-
}),
|
|
172
|
+
}), $ = v(() => {
|
|
166
173
|
var e, l;
|
|
167
|
-
return (l = (e = m.value) == null ? void 0 : e.list) == null ? void 0 : l.filter((
|
|
168
|
-
}),
|
|
174
|
+
return (l = (e = m.value) == null ? void 0 : e.list) == null ? void 0 : l.filter((p) => !p.disabled);
|
|
175
|
+
}), G = v(() => {
|
|
169
176
|
var e;
|
|
170
|
-
return (e =
|
|
171
|
-
}), B =
|
|
177
|
+
return (e = S.value) == null ? void 0 : e.some((l) => !l);
|
|
178
|
+
}), B = v(
|
|
172
179
|
() => {
|
|
173
180
|
var e, l;
|
|
174
|
-
return
|
|
181
|
+
return q.value && ((l = (e = m.value) == null ? void 0 : e.list) == null ? void 0 : l.length) > 0;
|
|
175
182
|
}
|
|
176
|
-
),
|
|
183
|
+
), K = (e) => {
|
|
177
184
|
typeof e.getModifierState == "function" && (M.value = e.getModifierState("CapsLock"));
|
|
178
|
-
}, ue = () => {
|
|
179
|
-
H.value ? T.value = R.PASSWORD : T.value = R.TEXT;
|
|
180
|
-
}, ce = (e) => {
|
|
181
|
-
i.disabled || (_.value = e, w("input", _.value));
|
|
182
185
|
}, pe = () => {
|
|
186
|
+
H.value ? O.value = T.PASSWORD : O.value = T.TEXT;
|
|
187
|
+
}, ve = (e) => {
|
|
188
|
+
t.disabled || (h.value = e, w("input", h.value));
|
|
189
|
+
}, fe = () => {
|
|
183
190
|
w("focus");
|
|
184
|
-
},
|
|
191
|
+
}, me = () => {
|
|
185
192
|
w("blur");
|
|
186
|
-
},
|
|
193
|
+
}, J = (e) => {
|
|
187
194
|
var d;
|
|
188
|
-
const l = (d =
|
|
195
|
+
const l = (d = $.value) == null ? void 0 : d.map((n) => ({
|
|
189
196
|
key: n.key,
|
|
190
197
|
label: n.label,
|
|
191
198
|
isValid: n.validate(e, ...n.additionalArgs ?? [])
|
|
192
199
|
}));
|
|
193
|
-
let
|
|
194
|
-
|
|
195
|
-
const
|
|
200
|
+
let p = 1;
|
|
201
|
+
S.value = l == null ? void 0 : l.map((n) => n.isValid), Q.value = l == null ? void 0 : l.filter((n) => !n.isValid).reduce((n, C) => {
|
|
202
|
+
const P = C.key ?? `custom-rule-${p++}`;
|
|
196
203
|
return {
|
|
197
204
|
...n,
|
|
198
|
-
[
|
|
205
|
+
[P]: C.label
|
|
199
206
|
};
|
|
200
207
|
}, {});
|
|
201
|
-
},
|
|
202
|
-
g.value = !1,
|
|
203
|
-
},
|
|
208
|
+
}, be = () => {
|
|
209
|
+
g.value = !1, _.value = null;
|
|
210
|
+
}, he = () => {
|
|
204
211
|
g.value = !0;
|
|
205
212
|
};
|
|
206
213
|
return W(
|
|
207
|
-
() =>
|
|
214
|
+
() => t.value,
|
|
208
215
|
(e) => {
|
|
209
|
-
|
|
216
|
+
h.value = e;
|
|
210
217
|
}
|
|
211
|
-
), W(
|
|
212
|
-
e || (
|
|
218
|
+
), W(re, (e) => {
|
|
219
|
+
e || (se.value = !0), t.disableValidation || (t.withHint && (x.value = e), J(h.value));
|
|
213
220
|
}), W(M, (e) => {
|
|
214
|
-
e ? (g.value = !0,
|
|
215
|
-
|
|
216
|
-
},
|
|
221
|
+
e ? (g.value = !0, _.value = setTimeout(() => {
|
|
222
|
+
_.value = null, g.value = !1;
|
|
223
|
+
}, ea)) : (clearTimeout(_.value), _.value = null, g.value = !1);
|
|
217
224
|
}), Ne(
|
|
218
|
-
|
|
225
|
+
h,
|
|
219
226
|
(e) => {
|
|
220
|
-
|
|
227
|
+
J(e), G.value ? w("input:error", Q.value) : w("input:valid");
|
|
221
228
|
},
|
|
222
229
|
// wait for 0.5s before checking validity OR 2s of continuous typing
|
|
223
|
-
{ debounce:
|
|
224
|
-
), (e, l) => (
|
|
230
|
+
{ debounce: t.debounceTime, maxWait: je }
|
|
231
|
+
), (e, l) => (s(), R("div", {
|
|
225
232
|
ref_key: "inputFieldPasswordRef",
|
|
226
233
|
ref: Z
|
|
227
234
|
}, [
|
|
228
|
-
|
|
235
|
+
A(i(Oe), Ce({
|
|
229
236
|
ref_key: "inputFieldPasswordInputRef",
|
|
230
|
-
ref:
|
|
231
|
-
},
|
|
237
|
+
ref: q
|
|
238
|
+
}, ce.value, {
|
|
232
239
|
class: "b-input-field-password__input",
|
|
233
240
|
spellcheck: "false",
|
|
234
|
-
onBlur:
|
|
235
|
-
onFocus:
|
|
236
|
-
onInput:
|
|
237
|
-
onKeydown:
|
|
238
|
-
onKeyup:
|
|
239
|
-
}),
|
|
240
|
-
default:
|
|
241
|
-
|
|
241
|
+
onBlur: me,
|
|
242
|
+
onFocus: fe,
|
|
243
|
+
onInput: ve,
|
|
244
|
+
onKeydown: K,
|
|
245
|
+
onKeyup: K
|
|
246
|
+
}), Re({
|
|
247
|
+
default: c(() => [
|
|
248
|
+
e.label ? (s(), R(te, { key: 0 }, [
|
|
249
|
+
L(k(e.label), 1)
|
|
250
|
+
], 64)) : ae(e.$slots, "default", { key: 1 }, void 0, !0)
|
|
242
251
|
]),
|
|
243
252
|
_: 2
|
|
244
253
|
}, [
|
|
254
|
+
e.description ? {
|
|
255
|
+
name: "description",
|
|
256
|
+
fn: c(() => [
|
|
257
|
+
ae(e.$slots, "description", {}, () => [
|
|
258
|
+
L(k(e.description), 1)
|
|
259
|
+
], !0)
|
|
260
|
+
]),
|
|
261
|
+
key: "0"
|
|
262
|
+
} : void 0,
|
|
245
263
|
M.value ? {
|
|
246
264
|
name: "iconBefore",
|
|
247
|
-
fn:
|
|
265
|
+
fn: c(() => [
|
|
248
266
|
U("div", {
|
|
249
267
|
class: "b-input-field-password__caps-lock-indicator",
|
|
250
|
-
onMouseenter:
|
|
251
|
-
onMouseleave:
|
|
268
|
+
onMouseenter: he,
|
|
269
|
+
onMouseleave: be
|
|
252
270
|
}, [
|
|
253
|
-
|
|
271
|
+
A(i(Ie), {
|
|
254
272
|
ref_key: "inputFieldPasswordCapsLockIconRef",
|
|
255
|
-
ref:
|
|
256
|
-
src:
|
|
257
|
-
alt:
|
|
273
|
+
ref: N,
|
|
274
|
+
src: i(We),
|
|
275
|
+
alt: i(o)("capsLockEnabled")
|
|
258
276
|
}, null, 8, ["src", "alt"])
|
|
259
277
|
], 32),
|
|
260
|
-
|
|
278
|
+
N.value ? (s(), f(i(Be), {
|
|
261
279
|
key: 0,
|
|
262
|
-
class:
|
|
263
|
-
content:
|
|
280
|
+
class: ie(ue.value),
|
|
281
|
+
content: i(o)("capsLockEnabled"),
|
|
264
282
|
"disabled-focus-trap": !0,
|
|
265
283
|
"fallback-position": ["top", "bottom"],
|
|
266
284
|
"is-shown": g.value,
|
|
267
|
-
"target-element":
|
|
285
|
+
"target-element": N.value
|
|
268
286
|
}, null, 8, ["class", "content", "is-shown", "target-element"])) : b("", !0)
|
|
269
287
|
]),
|
|
270
|
-
key: "
|
|
288
|
+
key: "1"
|
|
271
289
|
} : void 0,
|
|
272
290
|
e.disabled ? void 0 : {
|
|
273
291
|
name: "iconAfter",
|
|
274
|
-
fn:
|
|
275
|
-
|
|
292
|
+
fn: c(() => [
|
|
293
|
+
A(i(Te), {
|
|
276
294
|
variant: "tertiary",
|
|
277
|
-
onClick:
|
|
295
|
+
onClick: pe
|
|
278
296
|
}, {
|
|
279
|
-
iconLeft:
|
|
280
|
-
H.value ? b("", !0) : (
|
|
297
|
+
iconLeft: c(() => [
|
|
298
|
+
H.value ? b("", !0) : (s(), f(i(Ue), {
|
|
281
299
|
key: 0,
|
|
282
|
-
"svg-title":
|
|
300
|
+
"svg-title": i(o)("showPassword")
|
|
283
301
|
}, null, 8, ["svg-title"])),
|
|
284
|
-
H.value ? (
|
|
302
|
+
H.value ? (s(), f(i(Ve), {
|
|
285
303
|
key: 1,
|
|
286
|
-
"svg-title":
|
|
304
|
+
"svg-title": i(o)("hidePassword")
|
|
287
305
|
}, null, 8, ["svg-title"])) : b("", !0)
|
|
288
306
|
]),
|
|
289
307
|
_: 1
|
|
290
308
|
})
|
|
291
309
|
]),
|
|
292
|
-
key: "
|
|
310
|
+
key: "2"
|
|
293
311
|
}
|
|
294
312
|
]), 1040),
|
|
295
|
-
B.value ? (
|
|
313
|
+
B.value ? (s(), f(i(Se), {
|
|
296
314
|
key: 0,
|
|
297
|
-
open:
|
|
298
|
-
"target-element":
|
|
315
|
+
open: x.value,
|
|
316
|
+
"target-element": q.value,
|
|
299
317
|
"disable-focus-trap": !0,
|
|
300
318
|
"aria-label": m.value.title,
|
|
301
|
-
"aria-describedby":
|
|
319
|
+
"aria-describedby": i(z),
|
|
302
320
|
position: "right-start"
|
|
303
321
|
}, {
|
|
304
|
-
default:
|
|
305
|
-
U("div", { id:
|
|
306
|
-
m.value.title ? (
|
|
322
|
+
default: c(() => [
|
|
323
|
+
U("div", { id: i(X) }, [
|
|
324
|
+
m.value.title ? (s(), f(i(F), {
|
|
307
325
|
key: 0,
|
|
308
326
|
class: "b-input-field-password__validation-title"
|
|
309
327
|
}, {
|
|
310
|
-
default:
|
|
311
|
-
|
|
328
|
+
default: c(() => [
|
|
329
|
+
L(k(m.value.title), 1)
|
|
312
330
|
]),
|
|
313
331
|
_: 1
|
|
314
332
|
})) : b("", !0),
|
|
315
|
-
|
|
333
|
+
G.value ? b("", !0) : (s(), R("p", $e, k(i(o)("validationValid")), 1)),
|
|
316
334
|
U("ul", {
|
|
317
|
-
id:
|
|
335
|
+
id: i(z),
|
|
318
336
|
class: "b-input-field-password__validation-list"
|
|
319
337
|
}, [
|
|
320
|
-
(
|
|
338
|
+
(s(!0), R(te, null, Le($.value, (p, d) => (s(), R("li", {
|
|
321
339
|
key: d,
|
|
322
|
-
class:
|
|
340
|
+
class: ie(de.value[d]),
|
|
323
341
|
"aria-live": "polite",
|
|
324
342
|
"aria-atomic": "true"
|
|
325
343
|
}, [
|
|
326
344
|
U("span", Ke, [
|
|
327
|
-
|
|
345
|
+
S.value[d] ? (s(), f(i(Pe), {
|
|
328
346
|
key: 0,
|
|
329
|
-
"svg-title":
|
|
330
|
-
}, null, 8, ["svg-title"])) : (
|
|
347
|
+
"svg-title": i(o)("validationChecked")
|
|
348
|
+
}, null, 8, ["svg-title"])) : (s(), f(i(Ae), {
|
|
331
349
|
key: 1,
|
|
332
|
-
"svg-title":
|
|
350
|
+
"svg-title": i(o)("validationUnchecked")
|
|
333
351
|
}, null, 8, ["svg-title"]))
|
|
334
352
|
]),
|
|
335
|
-
|
|
353
|
+
A(i(F), {
|
|
336
354
|
class: "b-input-field-password__validation-list-text",
|
|
337
355
|
el: "span"
|
|
338
356
|
}, {
|
|
339
|
-
default:
|
|
340
|
-
|
|
357
|
+
default: c(() => [
|
|
358
|
+
L(k(p.label), 1)
|
|
341
359
|
]),
|
|
342
360
|
_: 2
|
|
343
361
|
}, 1024)
|
|
344
362
|
], 2))), 128))
|
|
345
363
|
], 8, Ge),
|
|
346
|
-
m.value.suggestion ? (
|
|
364
|
+
m.value.suggestion ? (s(), f(i(F), {
|
|
347
365
|
key: 2,
|
|
348
366
|
class: "b-input-field-password__validation-suggestion"
|
|
349
367
|
}, {
|
|
350
|
-
default:
|
|
351
|
-
|
|
368
|
+
default: c(() => [
|
|
369
|
+
L(k(m.value.suggestion), 1)
|
|
352
370
|
]),
|
|
353
371
|
_: 1
|
|
354
372
|
})) : b("", !0)
|
|
355
|
-
], 8,
|
|
373
|
+
], 8, Xe)
|
|
356
374
|
]),
|
|
357
375
|
_: 1
|
|
358
376
|
}, 8, ["open", "target-element", "aria-label", "aria-describedby"])) : b("", !0)
|
|
359
377
|
], 512));
|
|
360
378
|
}
|
|
361
|
-
}),
|
|
379
|
+
}), ka = /* @__PURE__ */ De(ta, [["__scopeId", "data-v-5ff7942d"]]);
|
|
362
380
|
export {
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
381
|
+
Qe as a,
|
|
382
|
+
Ze as b,
|
|
383
|
+
ze as c,
|
|
384
|
+
ka as i,
|
|
385
|
+
Fe as m,
|
|
368
386
|
xe as r
|
|
369
387
|
};
|
|
370
|
-
//# sourceMappingURL=input-field-password.
|
|
388
|
+
//# sourceMappingURL=input-field-password.BVnZWBAV.js.map
|