@beeq/core 1.12.2-beta.0 → 1.12.2
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/beeq/beeq.esm.js +1 -44
- package/dist/beeq/index.esm.js +1 -69
- package/dist/beeq/p-04dac1c6.entry.js +6 -0
- package/dist/beeq/{p-ff327b98.entry.js.map → p-04dac1c6.entry.js.map} +1 -1
- package/dist/beeq/p-08c11d40.entry.js +6 -0
- package/dist/beeq/{p-c34fc2c7.entry.js.map → p-08c11d40.entry.js.map} +1 -1
- package/dist/beeq/p-1f8fbd9d.entry.js +6 -0
- package/dist/beeq/{p-ff73f344.entry.js.map → p-1f8fbd9d.entry.js.map} +1 -1
- package/dist/beeq/p-214ec65e.entry.js +6 -0
- package/dist/beeq/{p-110c262d.entry.js.map → p-214ec65e.entry.js.map} +1 -1
- package/dist/beeq/p-2a7b2e52.entry.js +6 -0
- package/dist/beeq/{p-978b2249.entry.js.map → p-2a7b2e52.entry.js.map} +1 -1
- package/dist/beeq/p-2eb81c09.entry.js +6 -0
- package/dist/beeq/{p-47571092.entry.js.map → p-2eb81c09.entry.js.map} +1 -1
- package/dist/beeq/p-39888c37.entry.js +6 -0
- package/dist/beeq/{p-11671252.entry.js.map → p-39888c37.entry.js.map} +1 -1
- package/dist/beeq/p-3abc34ec.entry.js +6 -0
- package/dist/beeq/{p-94c2081a.entry.js.map → p-3abc34ec.entry.js.map} +1 -1
- package/dist/beeq/p-4588abed.entry.js +6 -0
- package/dist/beeq/{p-f6d82c39.entry.js.map → p-4588abed.entry.js.map} +1 -1
- package/dist/{components/p-C8_OKNHL.js → beeq/p-4c32eb15.entry.js} +2 -221
- package/dist/beeq/{p-20162842.entry.js.map → p-4c32eb15.entry.js.map} +1 -1
- package/dist/beeq/p-4fbfc43c.entry.js +6 -0
- package/dist/beeq/{p-70607940.entry.js.map → p-4fbfc43c.entry.js.map} +1 -1
- package/dist/beeq/p-520335c7.entry.js +6 -0
- package/dist/beeq/{p-b194e120.entry.js.map → p-520335c7.entry.js.map} +1 -1
- package/dist/beeq/p-586937fa.entry.js +6 -0
- package/dist/beeq/{p-ac7cd72b.entry.js.map → p-586937fa.entry.js.map} +1 -1
- package/dist/beeq/p-64bf3252.entry.js +6 -0
- package/dist/beeq/{p-6d708caf.entry.js.map → p-64bf3252.entry.js.map} +1 -1
- package/dist/beeq/p-6e1856ec.entry.js +6 -0
- package/dist/beeq/{p-54ddd09f.entry.js.map → p-6e1856ec.entry.js.map} +1 -1
- package/dist/beeq/p-7dd86b3a.entry.js +6 -0
- package/dist/beeq/{p-1aba3eec.entry.js.map → p-7dd86b3a.entry.js.map} +1 -1
- package/dist/beeq/p-81d78b05.entry.js +6 -0
- package/dist/beeq/{p-c630a8b8.entry.js.map → p-81d78b05.entry.js.map} +1 -1
- package/dist/beeq/p-82ee164d.entry.js +6 -0
- package/dist/beeq/{p-9a78587d.entry.js.map → p-82ee164d.entry.js.map} +1 -1
- package/dist/{components/p-CXLw0i9p.js → beeq/p-85d57b16.entry.js} +2 -291
- package/dist/beeq/{p-f97c679f.entry.js.map → p-85d57b16.entry.js.map} +1 -1
- package/dist/beeq/p-91c69867.entry.js +6 -0
- package/dist/beeq/{p-72c376a9.entry.js.map → p-91c69867.entry.js.map} +1 -1
- package/dist/beeq/p-B4sM1t6Z.js +1 -8
- package/dist/beeq/p-BNvWMggA.js +1 -23
- package/dist/beeq/p-BRMw_HGf.js +1 -8
- package/dist/beeq/p-BRbYDZoo.js +1 -10
- package/dist/beeq/p-BcPwGxIn.js +1 -9
- package/dist/beeq/p-BsSDkLU5.js +1 -26
- package/dist/beeq/p-BtYhUEAn.js +1 -4
- package/dist/beeq/p-C33fRBEf.js +1 -151
- package/dist/beeq/p-CCNjsDdb.js +1 -88
- package/dist/beeq/p-CVw85-WU.js +1 -64
- package/dist/beeq/p-Cau9SvT4.js +1 -12
- package/dist/beeq/p-CmKvDWiL.js +1 -1782
- package/dist/beeq/p-CpKQ7XUL.js +1 -284
- package/dist/beeq/p-D1A0LpG_.js +1 -10
- package/dist/beeq/p-D1N0tWF3.js +7 -0
- package/dist/beeq/p-D1N0tWF3.js.map +1 -0
- package/dist/beeq/p-DdvbF5yL.js +1 -119
- package/dist/beeq/p-DnkZCdMA.js +1 -8
- package/dist/beeq/p-Ds7rcaFH.js +1 -65
- package/dist/beeq/p-Dx-CEPSQ.js +1 -13
- package/dist/beeq/p-_RvVpeh2.js +1 -29
- package/dist/beeq/p-a350925a.entry.js +6 -0
- package/dist/beeq/{p-cc6b349e.entry.js.map → p-a350925a.entry.js.map} +1 -1
- package/dist/beeq/p-a416eb22.entry.js +6 -0
- package/dist/beeq/{p-8b5934a3.entry.js.map → p-a416eb22.entry.js.map} +1 -1
- package/dist/beeq/p-a4865383.entry.js +6 -0
- package/dist/beeq/{p-1011ae42.entry.js.map → p-a4865383.entry.js.map} +1 -1
- package/dist/beeq/p-a6cd9c8c.entry.js +6 -0
- package/dist/beeq/{p-b0f9a0cb.entry.js.map → p-a6cd9c8c.entry.js.map} +1 -1
- package/dist/beeq/p-aec68c6d.entry.js +6 -0
- package/dist/beeq/{p-b2858324.entry.js.map → p-aec68c6d.entry.js.map} +1 -1
- package/dist/beeq/p-aede4b4e.entry.js +6 -0
- package/dist/beeq/{p-3a4c4de9.entry.js.map → p-aede4b4e.entry.js.map} +1 -1
- package/dist/beeq/{p-db09cc1e.entry.js → p-c0e9a6cf.entry.js} +2 -83
- package/dist/beeq/{p-78bbd845.entry.js.map → p-c0e9a6cf.entry.js.map} +1 -1
- package/dist/beeq/p-c6fdcdf6.entry.js +6 -0
- package/dist/beeq/{p-f83010e9.entry.js.map → p-c6fdcdf6.entry.js.map} +1 -1
- package/dist/beeq/p-c9ff0a5c.entry.js +6 -0
- package/dist/beeq/{p-426fd908.entry.js.map → p-c9ff0a5c.entry.js.map} +1 -1
- package/dist/{components/p-DBPU_cIr.js → beeq/p-cc634b64.entry.js} +2 -334
- package/dist/beeq/{p-8012f01d.entry.js.map → p-cc634b64.entry.js.map} +1 -1
- package/dist/beeq/p-d1d71d1c.entry.js +6 -0
- package/dist/beeq/{p-db09cc1e.entry.js.map → p-d1d71d1c.entry.js.map} +1 -1
- package/dist/beeq/p-df16b51b.entry.js +6 -0
- package/dist/beeq/{p-11fcb99b.entry.js.map → p-df16b51b.entry.js.map} +1 -1
- package/dist/{components/p-YyF6_fWE.js → beeq/p-e4767c3c.entry.js} +2 -381
- package/dist/beeq/{p-6b68123f.entry.js.map → p-e4767c3c.entry.js.map} +1 -1
- package/dist/beeq/p-e9ac61fd.entry.js +6 -0
- package/dist/beeq/{p-cb9b1edc.entry.js.map → p-e9ac61fd.entry.js.map} +1 -1
- package/dist/beeq/p-ea2214aa.entry.js +6 -0
- package/dist/beeq/{p-ae85a23a.entry.js.map → p-ea2214aa.entry.js.map} +1 -1
- package/dist/beeq/{p-ff327b98.entry.js → p-ea3db4eb.entry.js} +2 -116
- package/dist/beeq/{p-49e90223.entry.js.map → p-ea3db4eb.entry.js.map} +1 -1
- package/dist/beeq/p-f0729f34.entry.js +6 -0
- package/dist/beeq/{p-95979cb0.entry.js.map → p-f0729f34.entry.js.map} +1 -1
- package/dist/beeq/p-f159529e.entry.js +6 -0
- package/dist/beeq/{p-4b00a155.entry.js.map → p-f159529e.entry.js.map} +1 -1
- package/dist/beeq/p-fb8f84c3.entry.js +6 -0
- package/dist/beeq/{p-d0edfaa5.entry.js.map → p-fb8f84c3.entry.js.map} +1 -1
- package/dist/beeq/p-lysmVw2n.js +1 -12
- package/dist/beeq/p-uqkxeAeG.js +1 -88
- package/dist/beeq/p-zh4P02Kn.js +1 -21
- package/dist/beeq.html-custom-data.json +80 -80
- package/dist/cjs/beeq.cjs.js +1 -1
- package/dist/cjs/bq-accordion-group.cjs.entry.js +2 -2
- package/dist/cjs/bq-accordion-group.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-accordion.cjs.entry.js +1 -1
- package/dist/cjs/bq-alert.cjs.entry.js +2 -2
- package/dist/cjs/bq-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-avatar.cjs.entry.js +2 -2
- package/dist/cjs/bq-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-badge.cjs.entry.js +1 -1
- package/dist/cjs/bq-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/bq-breadcrumb-item.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/bq-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-button_2.cjs.entry.js +2 -2
- package/dist/cjs/bq-button_2.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-card.cjs.entry.js +2 -2
- package/dist/cjs/bq-card.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/bq-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/bq-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-dialog.cjs.entry.js +2 -2
- package/dist/cjs/bq-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-divider.cjs.entry.js +1 -1
- package/dist/cjs/bq-drawer.cjs.entry.js +2 -2
- package/dist/cjs/bq-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-dropdown_2.cjs.entry.js +3 -3
- package/dist/cjs/bq-dropdown_2.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-empty-state.cjs.entry.js +2 -2
- package/dist/cjs/bq-empty-state.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-input.cjs.entry.js +2 -2
- package/dist/cjs/bq-input.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-notification.cjs.entry.js +2 -2
- package/dist/cjs/bq-notification.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-option-group.cjs.entry.js +2 -2
- package/dist/cjs/bq-option-group.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-option-list_2.cjs.entry.js +3 -3
- package/dist/cjs/bq-option-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-option.cjs.entry.js +1 -1
- package/dist/cjs/bq-page-title.cjs.entry.js +2 -2
- package/dist/cjs/bq-page-title.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-progress.cjs.entry.js +2 -2
- package/dist/cjs/bq-progress.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/bq-radio.cjs.entry.js +1 -1
- package/dist/cjs/bq-select.cjs.entry.js +2 -2
- package/dist/cjs/bq-select.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-side-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/bq-side-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-side-menu.cjs.entry.js +1 -1
- package/dist/cjs/bq-slider.cjs.entry.js +1 -1
- package/dist/cjs/bq-spinner.cjs.entry.js +2 -2
- package/dist/cjs/bq-spinner.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-status.cjs.entry.js +2 -2
- package/dist/cjs/bq-status.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-step-item.cjs.entry.js +2 -2
- package/dist/cjs/bq-step-item.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-steps.cjs.entry.js +1 -1
- package/dist/cjs/bq-switch.cjs.entry.js +2 -2
- package/dist/cjs/bq-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/bq-tab.cjs.entry.js +2 -2
- package/dist/cjs/bq-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-textarea.cjs.entry.js +2 -2
- package/dist/cjs/bq-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-toast.cjs.entry.js +2 -2
- package/dist/cjs/bq-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/{index-BwvwUnfB.js → index-CvbyQUB9.js} +2 -19
- package/dist/cjs/index-CvbyQUB9.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/select/bq-select.js +2 -2
- package/dist/collection/components/select/scss/bq-select.css +1 -1
- package/dist/collection/components/step-item/scss/bq-step-item.css +1 -1
- package/dist/collection/components/tag/scss/bq-tag.css +1 -1
- package/dist/components/bq-accordion-group.js +1 -157
- package/dist/components/bq-accordion-group.js.map +1 -1
- package/dist/components/bq-accordion.js +1 -444
- package/dist/components/bq-accordion.js.map +1 -1
- package/dist/components/bq-alert.js +1 -354
- package/dist/components/bq-alert.js.map +1 -1
- package/dist/components/bq-avatar.js +1 -206
- package/dist/components/bq-avatar.js.map +1 -1
- package/dist/components/bq-badge.js +1 -8
- package/dist/components/bq-breadcrumb-item.js +1 -129
- package/dist/components/bq-breadcrumb-item.js.map +1 -1
- package/dist/components/bq-breadcrumb.js +1 -138
- package/dist/components/bq-breadcrumb.js.map +1 -1
- package/dist/components/bq-button.js +1 -8
- package/dist/components/bq-card.js +1 -118
- package/dist/components/bq-card.js.map +1 -1
- package/dist/components/bq-checkbox.js +1 -314
- package/dist/components/bq-checkbox.js.map +1 -1
- package/dist/components/bq-date-picker.js +1 -1113
- package/dist/components/bq-date-picker.js.map +1 -1
- package/dist/components/bq-dialog.js +1 -347
- package/dist/components/bq-dialog.js.map +1 -1
- package/dist/components/bq-divider.js +1 -8
- package/dist/components/bq-drawer.js +1 -356
- package/dist/components/bq-drawer.js.map +1 -1
- package/dist/components/bq-dropdown.js +1 -8
- package/dist/components/bq-empty-state.js +1 -192
- package/dist/components/bq-empty-state.js.map +1 -1
- package/dist/components/bq-icon.js +1 -8
- package/dist/components/bq-input.js +1 -502
- package/dist/components/bq-input.js.map +1 -1
- package/dist/components/bq-notification.js +1 -381
- package/dist/components/bq-notification.js.map +1 -1
- package/dist/components/bq-option-group.js +1 -104
- package/dist/components/bq-option-group.js.map +1 -1
- package/dist/components/bq-option-list.js +1 -8
- package/dist/components/bq-option.js +1 -200
- package/dist/components/bq-option.js.map +1 -1
- package/dist/components/bq-page-title.js +1 -150
- package/dist/components/bq-page-title.js.map +1 -1
- package/dist/components/bq-panel.js +1 -8
- package/dist/components/bq-progress.js +1 -220
- package/dist/components/bq-progress.js.map +1 -1
- package/dist/components/bq-radio-group.js +1 -457
- package/dist/components/bq-radio-group.js.map +1 -1
- package/dist/components/bq-radio.js +1 -219
- package/dist/components/bq-radio.js.map +1 -1
- package/dist/components/bq-select.js +1 -794
- package/dist/components/bq-select.js.map +1 -1
- package/dist/components/bq-side-menu-item.js +1 -181
- package/dist/components/bq-side-menu-item.js.map +1 -1
- package/dist/components/bq-side-menu.js +1 -200
- package/dist/components/bq-side-menu.js.map +1 -1
- package/dist/components/bq-slider.js +1 -443
- package/dist/components/bq-slider.js.map +1 -1
- package/dist/components/bq-spinner.js +1 -248
- package/dist/components/bq-spinner.js.map +1 -1
- package/dist/components/bq-status.js +1 -119
- package/dist/components/bq-status.js.map +1 -1
- package/dist/components/bq-step-item.js +1 -236
- package/dist/components/bq-step-item.js.map +1 -1
- package/dist/components/bq-steps.js +1 -175
- package/dist/components/bq-steps.js.map +1 -1
- package/dist/components/bq-switch.js +1 -330
- package/dist/components/bq-switch.js.map +1 -1
- package/dist/components/bq-tab-group.js +1 -273
- package/dist/components/bq-tab-group.js.map +1 -1
- package/dist/components/bq-tab.js +1 -248
- package/dist/components/bq-tab.js.map +1 -1
- package/dist/components/bq-tag.js +1 -8
- package/dist/components/bq-textarea.js +1 -393
- package/dist/components/bq-textarea.js.map +1 -1
- package/dist/components/bq-toast.js +1 -281
- package/dist/components/bq-toast.js.map +1 -1
- package/dist/components/bq-tooltip.js +1 -8
- package/dist/components/index.js +1 -149
- package/dist/components/index.js.map +1 -1
- package/dist/components/p--ouTGcG3.js +6 -0
- package/dist/components/p--ouTGcG3.js.map +1 -0
- package/dist/components/p-B4sM1t6Z.js +1 -8
- package/dist/components/p-B4sM1t6Z.js.map +1 -1
- package/dist/components/p-BAkBsRtN.js +6 -0
- package/dist/components/{p-C8_OKNHL.js.map → p-BAkBsRtN.js.map} +1 -1
- package/dist/components/p-BRMw_HGf.js +1 -8
- package/dist/components/p-BRMw_HGf.js.map +1 -1
- package/dist/components/p-BRbYDZoo.js +1 -10
- package/dist/components/p-BRbYDZoo.js.map +1 -1
- package/dist/components/p-B_4UApqI.js +6 -0
- package/dist/components/{p-DSqLegVR.js.map → p-B_4UApqI.js.map} +1 -1
- package/dist/components/p-BcPwGxIn.js +1 -9
- package/dist/components/p-BcPwGxIn.js.map +1 -1
- package/dist/components/p-BhbDh_JY.js +6 -0
- package/dist/components/{p-DBPU_cIr.js.map → p-BhbDh_JY.js.map} +1 -1
- package/dist/components/p-BoJH_4tj.js +6 -0
- package/dist/components/{p-DHhUeR-_.js.map → p-BoJH_4tj.js.map} +1 -1
- package/dist/components/p-BsSDkLU5.js +1 -26
- package/dist/components/p-BsSDkLU5.js.map +1 -1
- package/dist/components/p-CLmlNuSo.js +6 -0
- package/dist/components/{p-CMejKLsB.js.map → p-CLmlNuSo.js.map} +1 -1
- package/dist/{beeq/p-1011ae42.entry.js → components/p-CN6wf6ZV.js} +2 -89
- package/dist/components/{p-YyF6_fWE.js.map → p-CN6wf6ZV.js.map} +1 -1
- package/dist/components/p-CVw85-WU.js +1 -64
- package/dist/components/p-CVw85-WU.js.map +1 -1
- package/dist/components/p-CmKvDWiL.js +1 -1782
- package/dist/components/p-CmKvDWiL.js.map +1 -1
- package/dist/components/p-D1A0LpG_.js +1 -10
- package/dist/components/p-D1A0LpG_.js.map +1 -1
- package/dist/components/p-DGQflEm1.js +6 -0
- package/dist/components/{p-C97BzPa8.js.map → p-DGQflEm1.js.map} +1 -1
- package/dist/{beeq/p-6b68123f.entry.js → components/p-DYvRNhKc.js} +2 -246
- package/dist/components/{p-CXLw0i9p.js.map → p-DYvRNhKc.js.map} +1 -1
- package/dist/components/p-DdvbF5yL.js +1 -119
- package/dist/components/p-DdvbF5yL.js.map +1 -1
- package/dist/components/p-DnkZCdMA.js +1 -8
- package/dist/components/p-DnkZCdMA.js.map +1 -1
- package/dist/components/p-Dx-CEPSQ.js +1 -13
- package/dist/components/p-Dx-CEPSQ.js.map +1 -1
- package/dist/components/p-Hb8O3M5O.js +6 -0
- package/dist/components/{p-qOL6hl5s.js.map → p-Hb8O3M5O.js.map} +1 -1
- package/dist/components/p-_RvVpeh2.js +1 -29
- package/dist/components/p-_RvVpeh2.js.map +1 -1
- package/dist/components/p-lysmVw2n.js +1 -12
- package/dist/components/p-lysmVw2n.js.map +1 -1
- package/dist/components/p-uqkxeAeG.js +1 -88
- package/dist/components/p-uqkxeAeG.js.map +1 -1
- package/dist/components/p-zh4P02Kn.js +1 -21
- package/dist/components/p-zh4P02Kn.js.map +1 -1
- package/dist/custom-elements.json +1513 -1513
- package/dist/esm/beeq.js +2 -2
- package/dist/esm/bq-accordion-group.entry.js +2 -2
- package/dist/esm/bq-accordion-group.entry.js.map +1 -1
- package/dist/esm/bq-accordion.entry.js +1 -1
- package/dist/esm/bq-alert.entry.js +2 -2
- package/dist/esm/bq-alert.entry.js.map +1 -1
- package/dist/esm/bq-avatar.entry.js +2 -2
- package/dist/esm/bq-avatar.entry.js.map +1 -1
- package/dist/esm/bq-badge.entry.js +1 -1
- package/dist/esm/bq-breadcrumb-item.entry.js +2 -2
- package/dist/esm/bq-breadcrumb-item.entry.js.map +1 -1
- package/dist/esm/bq-breadcrumb.entry.js +2 -2
- package/dist/esm/bq-breadcrumb.entry.js.map +1 -1
- package/dist/esm/bq-button_2.entry.js +2 -2
- package/dist/esm/bq-button_2.entry.js.map +1 -1
- package/dist/esm/bq-card.entry.js +2 -2
- package/dist/esm/bq-card.entry.js.map +1 -1
- package/dist/esm/bq-checkbox.entry.js +2 -2
- package/dist/esm/bq-checkbox.entry.js.map +1 -1
- package/dist/esm/bq-date-picker.entry.js +2 -2
- package/dist/esm/bq-date-picker.entry.js.map +1 -1
- package/dist/esm/bq-dialog.entry.js +2 -2
- package/dist/esm/bq-dialog.entry.js.map +1 -1
- package/dist/esm/bq-divider.entry.js +1 -1
- package/dist/esm/bq-drawer.entry.js +2 -2
- package/dist/esm/bq-drawer.entry.js.map +1 -1
- package/dist/esm/bq-dropdown_2.entry.js +3 -3
- package/dist/esm/bq-dropdown_2.entry.js.map +1 -1
- package/dist/esm/bq-empty-state.entry.js +2 -2
- package/dist/esm/bq-empty-state.entry.js.map +1 -1
- package/dist/esm/bq-input.entry.js +2 -2
- package/dist/esm/bq-input.entry.js.map +1 -1
- package/dist/esm/bq-notification.entry.js +2 -2
- package/dist/esm/bq-notification.entry.js.map +1 -1
- package/dist/esm/bq-option-group.entry.js +2 -2
- package/dist/esm/bq-option-group.entry.js.map +1 -1
- package/dist/esm/bq-option-list_2.entry.js +3 -3
- package/dist/esm/bq-option-list_2.entry.js.map +1 -1
- package/dist/esm/bq-option.entry.js +1 -1
- package/dist/esm/bq-page-title.entry.js +2 -2
- package/dist/esm/bq-page-title.entry.js.map +1 -1
- package/dist/esm/bq-progress.entry.js +2 -2
- package/dist/esm/bq-progress.entry.js.map +1 -1
- package/dist/esm/bq-radio-group.entry.js +1 -1
- package/dist/esm/bq-radio.entry.js +1 -1
- package/dist/esm/bq-select.entry.js +2 -2
- package/dist/esm/bq-select.entry.js.map +1 -1
- package/dist/esm/bq-side-menu-item.entry.js +2 -2
- package/dist/esm/bq-side-menu-item.entry.js.map +1 -1
- package/dist/esm/bq-side-menu.entry.js +1 -1
- package/dist/esm/bq-slider.entry.js +1 -1
- package/dist/esm/bq-spinner.entry.js +2 -2
- package/dist/esm/bq-spinner.entry.js.map +1 -1
- package/dist/esm/bq-status.entry.js +2 -2
- package/dist/esm/bq-status.entry.js.map +1 -1
- package/dist/esm/bq-step-item.entry.js +2 -2
- package/dist/esm/bq-step-item.entry.js.map +1 -1
- package/dist/esm/bq-steps.entry.js +1 -1
- package/dist/esm/bq-switch.entry.js +2 -2
- package/dist/esm/bq-switch.entry.js.map +1 -1
- package/dist/esm/bq-tab-group.entry.js +1 -1
- package/dist/esm/bq-tab.entry.js +2 -2
- package/dist/esm/bq-tab.entry.js.map +1 -1
- package/dist/esm/bq-textarea.entry.js +2 -2
- package/dist/esm/bq-textarea.entry.js.map +1 -1
- package/dist/esm/bq-toast.entry.js +2 -2
- package/dist/esm/bq-toast.entry.js.map +1 -1
- package/dist/esm/bq-tooltip.entry.js +1 -1
- package/dist/esm/{index-D0hQxkOP.js → index-D1N0tWF3.js} +2 -19
- package/dist/esm/index-D1N0tWF3.js.map +1 -0
- package/dist/esm/loader.js +2 -2
- package/dist/hydrate/index.js +3 -3
- package/dist/hydrate/index.mjs +3 -3
- package/package.json +1 -1
- package/dist/beeq/p-110c262d.entry.js +0 -173
- package/dist/beeq/p-11671252.entry.js +0 -128
- package/dist/beeq/p-11fcb99b.entry.js +0 -281
- package/dist/beeq/p-1aba3eec.entry.js +0 -150
- package/dist/beeq/p-20162842.entry.js +0 -151
- package/dist/beeq/p-3a4c4de9.entry.js +0 -188
- package/dist/beeq/p-426fd908.entry.js +0 -215
- package/dist/beeq/p-47571092.entry.js +0 -289
- package/dist/beeq/p-49e90223.entry.js +0 -86
- package/dist/beeq/p-4b00a155.entry.js +0 -747
- package/dist/beeq/p-54ddd09f.entry.js +0 -392
- package/dist/beeq/p-6d708caf.entry.js +0 -339
- package/dist/beeq/p-70607940.entry.js +0 -174
- package/dist/beeq/p-72c376a9.entry.js +0 -165
- package/dist/beeq/p-78bbd845.entry.js +0 -109
- package/dist/beeq/p-8012f01d.entry.js +0 -556
- package/dist/beeq/p-8b5934a3.entry.js +0 -158
- package/dist/beeq/p-94c2081a.entry.js +0 -681
- package/dist/beeq/p-95979cb0.entry.js +0 -289
- package/dist/beeq/p-978b2249.entry.js +0 -196
- package/dist/beeq/p-9a78587d.entry.js +0 -138
- package/dist/beeq/p-D0hQxkOP.js +0 -2816
- package/dist/beeq/p-D0hQxkOP.js.map +0 -1
- package/dist/beeq/p-ac7cd72b.entry.js +0 -322
- package/dist/beeq/p-ae85a23a.entry.js +0 -408
- package/dist/beeq/p-b0f9a0cb.entry.js +0 -296
- package/dist/beeq/p-b194e120.entry.js +0 -293
- package/dist/beeq/p-b2858324.entry.js +0 -210
- package/dist/beeq/p-c34fc2c7.entry.js +0 -351
- package/dist/beeq/p-c630a8b8.entry.js +0 -442
- package/dist/beeq/p-cb9b1edc.entry.js +0 -232
- package/dist/beeq/p-cc6b349e.entry.js +0 -172
- package/dist/beeq/p-d0edfaa5.entry.js +0 -388
- package/dist/beeq/p-f6d82c39.entry.js +0 -206
- package/dist/beeq/p-f83010e9.entry.js +0 -118
- package/dist/beeq/p-f97c679f.entry.js +0 -233
- package/dist/beeq/p-ff73f344.entry.js +0 -396
- package/dist/cjs/index-BwvwUnfB.js.map +0 -1
- package/dist/components/p-C97BzPa8.js +0 -177
- package/dist/components/p-CMejKLsB.js +0 -248
- package/dist/components/p-DDCN9O42.js +0 -2669
- package/dist/components/p-DDCN9O42.js.map +0 -1
- package/dist/components/p-DHhUeR-_.js +0 -377
- package/dist/components/p-DSqLegVR.js +0 -100
- package/dist/components/p-qOL6hl5s.js +0 -298
- package/dist/esm/index-D0hQxkOP.js.map +0 -1
- /package/dist/types/{Users/dramos/PROJECTs/ENDAVA/BEEQ-Design-System → home/runner/work/BEEQ/BEEQ}/.stencil/packages/beeq/jest.config.d.ts +0 -0
- /package/dist/types/{Users/dramos/PROJECTs/ENDAVA/BEEQ-Design-System → home/runner/work/BEEQ/BEEQ}/.stencil/packages/beeq/stencil.config.d.ts +0 -0
- /package/dist/types/{Users/dramos/PROJECTs/ENDAVA/BEEQ-Design-System → home/runner/work/BEEQ/BEEQ}/.stencil/tailwind.config.d.ts +0 -0
package/dist/beeq/beeq.esm.js
CHANGED
|
@@ -2,48 +2,5 @@
|
|
|
2
2
|
* Built by Endavans
|
|
3
3
|
* © https://beeq.design - Apache 2 License.
|
|
4
4
|
*/
|
|
5
|
-
import { p as e, H as a, b as o } from "./p-D0hQxkOP.js";
|
|
6
|
-
|
|
7
|
-
export { s as setNonce } from "./p-D0hQxkOP.js";
|
|
8
|
-
|
|
9
|
-
import { g as n } from "./p-BtYhUEAn.js";
|
|
10
|
-
|
|
11
|
-
/*
|
|
12
|
-
Stencil Client Patch Browser v4.41.3 | MIT Licensed | https://stenciljs.com
|
|
13
|
-
*/ var patchBrowser = () => {
|
|
14
|
-
{
|
|
15
|
-
patchCloneNodeFix(a.prototype);
|
|
16
|
-
}
|
|
17
|
-
const o = import.meta.url;
|
|
18
|
-
const n = {};
|
|
19
|
-
if (o !== "") {
|
|
20
|
-
n.resourcesUrl = new URL(".", o).href;
|
|
21
|
-
}
|
|
22
|
-
return e(n);
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
var patchCloneNodeFix = e => {
|
|
26
|
-
const a = e.cloneNode;
|
|
27
|
-
e.cloneNode = function(e) {
|
|
28
|
-
if (this.nodeName === "TEMPLATE") {
|
|
29
|
-
return a.call(this, e);
|
|
30
|
-
}
|
|
31
|
-
const o = a.call(this, false);
|
|
32
|
-
const n = this.childNodes;
|
|
33
|
-
if (e) {
|
|
34
|
-
for (let e = 0; e < n.length; e++) {
|
|
35
|
-
if (n[e].nodeType !== 2) {
|
|
36
|
-
o.appendChild(n[e].cloneNode(true));
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
return o;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
patchBrowser().then((async e => {
|
|
45
|
-
await n();
|
|
46
|
-
return o(JSON.parse('[["p-94c2081a",[[849,"bq-select",{"autofocus":[516],"clearButtonLabel":[513,"clear-button-label"],"debounceTime":[1538,"debounce-time"],"disableScrollLock":[516,"disable-scroll-lock"],"disabled":[1028],"disableClear":[516,"disable-clear"],"distance":[514],"form":[513],"keepOpenOnSelect":[516,"keep-open-on-select"],"name":[513],"maxTagsVisible":[1026,"max-tags-visible"],"multiple":[516],"open":[1540],"panelHeight":[513,"panel-height"],"placeholder":[513],"placement":[513],"readonly":[516],"required":[516],"sameWidth":[516,"same-width"],"skidding":[514],"strategy":[513],"validationStatus":[513,"validation-status"],"value":[1537],"displayValue":[32],"hasHelperText":[32],"selectedOptions":[32],"hasLabel":[32],"hasPrefix":[32],"hasSuffix":[32],"hasValue":[32],"clear":[64],"reset":[64]},[[2,"bqOpen","handleOpenChange"],[2,"bqFocus","stopOptionFocusBlurPropagation"],[2,"bqBlur","stopOptionFocusBlurPropagation"],[11,"scroll","handleScrollEvent"]],{"value":[{"handleValueChange":0}]}]]],["p-4b00a155",[[849,"bq-date-picker",{"autofocus":[516],"clearButtonLabel":[513,"clear-button-label"],"disableClear":[516,"disable-clear"],"disabled":[1028],"distance":[514],"firstDayOfWeek":[514,"first-day-of-week"],"formatOptions":[16],"form":[513],"formValidationMessage":[1025,"form-validation-message"],"isDateDisallowed":[16],"locale":[513],"max":[513],"min":[513],"months":[514],"monthsPerView":[513,"months-per-view"],"name":[513],"open":[1540],"panelHeight":[1537,"panel-height"],"placeholder":[513],"placement":[513],"required":[516],"skidding":[514],"showOutsideDays":[516,"show-outside-days"],"strategy":[513],"tentative":[1537],"type":[513],"validationStatus":[513,"validation-status"],"value":[1537],"isCallyLoaded":[32],"focusedDate":[32],"displayDate":[32],"hasLabel":[32],"hasPrefix":[32],"hasRangeEnd":[32],"hasSuffix":[32],"hasValue":[32],"clear":[64]},[[2,"bqOpen","handleOpenChange"],[18,"click","handleClickOutside"]],{"value":[{"handleValueChange":0}],"type":[{"checkPropValues":0}]}]]],["p-b194e120",[[769,"bq-drawer",{"enableBackdrop":[516,"enable-backdrop"],"closeOnClickOutside":[516,"close-on-click-outside"],"closeOnEsc":[516,"close-on-esc"],"open":[1540],"placement":[1537],"position":[1537],"hasFooter":[32],"hasIcon":[32],"hide":[64],"show":[64]},[[11,"mousedown","handleMouseClick"],[10,"keydown","handleKeyDown"]],{"open":[{"handleOpenChange":0}],"placement":[{"handlePlacementChange":0}],"position":[{"handlePositionChange":0}]}]]],["p-b0f9a0cb",[[769,"bq-alert",{"autoDismiss":[516,"auto-dismiss"],"border":[513],"disableClose":[516,"disable-close"],"hideIcon":[516,"hide-icon"],"open":[1540],"time":[514],"type":[513],"sticky":[516],"hasContent":[32],"hasFooter":[32],"hide":[64],"show":[64]},null,{"autoDismiss":[{"handleTimeout":0}],"time":[{"handleTimeout":0}],"open":[{"handleOpenChange":0}],"type":[{"checkPropValues":0}]}]]],["p-95979cb0",[[769,"bq-dialog",{"border":[513],"disableBackdrop":[516,"disable-backdrop"],"disableCloseEscKeydown":[516,"disable-close-esc-keydown"],"disableCloseClickOutside":[516,"disable-close-click-outside"],"footerAppearance":[513,"footer-appearance"],"hideCloseButton":[516,"hide-close-button"],"open":[1540],"size":[1537],"hasContent":[32],"hasFooter":[32],"show":[64],"hide":[64],"cancel":[64]},[[11,"mousedown","handleMouseClick"],[10,"keydown","handleKeyDown"]],{"footerAppearance":[{"checkPropValues":0}],"size":[{"checkPropValues":0}],"open":[{"handleOpenChange":0}]}]]],["p-c630a8b8",[[849,"bq-input",{"autocapitalize":[513],"autocomplete":[513],"autofocus":[516],"clearButtonLabel":[513,"clear-button-label"],"debounceTime":[1538,"debounce-time"],"disabled":[1028],"disableClear":[516,"disable-clear"],"form":[513],"formValidationMessage":[1025,"form-validation-message"],"inputmode":[1],"max":[520],"maxlength":[514],"min":[520],"minlength":[514],"name":[513],"pattern":[513],"placeholder":[513],"readonly":[516],"required":[516],"step":[520],"type":[513],"validationStatus":[513,"validation-status"],"value":[1544],"hasHelperText":[32],"hasLabel":[32],"hasPrefix":[32],"hasSuffix":[32],"hasValue":[32]},null,{"value":[{"handleValueChange":0}]}]]],["p-ac7cd72b",[[769,"bq-notification",{"autoDismiss":[516,"auto-dismiss"],"border":[513],"disableClose":[516,"disable-close"],"hideIcon":[516,"hide-icon"],"open":[1540],"time":[514],"type":[513],"hasContent":[32],"hasFooter":[32],"notificationPortal":[32],"hide":[64],"show":[64],"toast":[64]},[[0,"bqAfterClose","afterNotificationClose"]],{"autoDismiss":[{"handleTimeout":0}],"time":[{"handleTimeout":0}],"open":[{"handleOpenChange":0}],"type":[{"checkPropValues":0}]}]]],["p-ff73f344",[[769,"bq-accordion",{"appearance":[1537],"disabled":[516],"expanded":[1540],"noAnimation":[516,"no-animation"],"rotate":[516],"size":[1537],"hasPrefix":[32],"hasSuffix":[32]},[[0,"accordionTransitionEnd","onAccordionTransitionEnd"]],{"size":[{"checkPropValues":0}],"expanded":[{"handleExpandedChange":0}],"disabled":[{"handleDisabledChange":0}],"noAnimation":[{"handleJsAnimation":0}]}]]],["p-8b5934a3",[[769,"bq-empty-state",{"size":[1537],"hasBody":[32],"hasFooter":[32]},null,{"size":[{"checkPropValues":0}]}]]],["p-110c262d",[[513,"bq-progress",{"borderShape":[513,"border-shape"],"enableTooltip":[516,"enable-tooltip"],"indeterminate":[516],"label":[516],"thickness":[513],"type":[513],"value":[1538]},null,{"borderShape":[{"handleTypePropChange":0}],"thickness":[{"handleTypePropChange":0}],"type":[{"handleTypePropChange":0}],"value":[{"handleValuePropChange":0}]}]]],["p-1aba3eec",[[769,"bq-side-menu-item",{"active":[4],"collapse":[4],"disabled":[4],"textContent":[32]}]]],["p-d0edfaa5",[[593,"bq-slider",{"debounceTime":[514,"debounce-time"],"disabled":[516],"enableValueIndicator":[516,"enable-value-indicator"],"gap":[1538],"max":[514],"min":[514],"name":[513],"step":[514],"type":[513],"value":[1544],"enableTooltip":[516,"enable-tooltip"],"tooltipAlwaysVisible":[516,"tooltip-always-visible"],"minValue":[32],"maxValue":[32],"minThumbPosition":[32],"maxThumbPosition":[32]},null,{"value":[{"handleValuePropChange":0}],"step":[{"handleStepPropChange":0}],"gap":[{"handleGapChange":0}]}]]],["p-db09cc1e",[[769,"bq-status",{"type":[513]},null,{"type":[{"checkPropValues":0}]}]]],["p-978b2249",[[785,"bq-step-item",{"dividerColor":[513,"divider-color"],"isLast":[516,"is-last"],"orientation":[513],"size":[513],"status":[1537],"type":[513]},null,{"size":[{"checkPropValues":0}],"status":[{"checkPropValues":0}]}]]],["p-47571092",[[849,"bq-switch",{"backgroundOnHover":[516,"background-on-hover"],"checked":[1540],"disabled":[516],"formValidationMessage":[1025,"form-validation-message"],"fullWidth":[516,"full-width"],"innerLabel":[513,"inner-label"],"justifyContent":[513,"justify-content"],"name":[513],"required":[516],"reverseOrder":[516,"reverse-order"],"value":[513],"hasLabel":[32],"vClick":[64],"vFocus":[64],"vBlur":[64]},null,{"required":[{"handleRequiredChange":0}]}]]],["p-f97c679f",[[769,"bq-toast",{"border":[513],"type":[1537],"placement":[1537],"hideIcon":[1540,"hide-icon"],"open":[1540],"time":[514],"toastPortal":[32],"show":[64],"hide":[64],"toast":[64]},[[0,"bqHide","onNotificationHide"]],{"type":[{"checkPropValues":0}],"placement":[{"checkPropValues":0}],"time":[{"handleTimeChange":0}],"open":[{"handleOpenChange":0}]}]]],["p-ff327b98",[[769,"bq-accordion-group",{"appearance":[1537],"expandAll":[516,"expand-all"],"noAnimation":[516,"no-animation"],"multiple":[516],"size":[1537]},[[1,"bqClick","onBqClick"]],{"appearance":[{"checkPropValues":0}],"expandAll":[{"checkPropValues":0}],"noAnimation":[{"checkPropValues":0}],"size":[{"checkPropValues":0}]}]]],["p-72c376a9",[[769,"bq-avatar",{"altText":[513,"alt-text"],"image":[513],"label":[513],"initials":[513],"shape":[513],"size":[1537],"hasError":[32]},null,{"image":[{"handleImagePropChange":0}],"shape":[{"checkPropValues":0}],"size":[{"checkPropValues":0},{"onInitialsChange":0}],"initials":[{"onInitialsChange":0}]}]]],["p-f83010e9",[[769,"bq-breadcrumb",{"label":[513]}]]],["p-78bbd845",[[769,"bq-breadcrumb-item",{"href":[513],"target":[513],"rel":[513]}]]],["p-1011ae42",[[769,"bq-card",{"type":[513],"border":[513]},null,{"type":[{"checkPropValue":0}]}]]],["p-11fcb99b",[[849,"bq-checkbox",{"backgroundOnHover":[516,"background-on-hover"],"formId":[513,"form-id"],"formValidationMessage":[1025,"form-validation-message"],"checked":[1540],"disabled":[516],"indeterminate":[1540],"name":[513],"required":[516],"value":[513],"vClick":[64],"vFocus":[64],"vBlur":[64]},null,{"indeterminate":[{"handleIndeterminatePropChange":0}],"required":[{"handleRequiredPropChange":0}]}]]],["p-70607940",[[769,"bq-option",{"hidden":[516],"disabled":[516],"displayValue":[513,"display-value"],"selected":[516],"value":[513],"hasPrefix":[32],"hasSuffix":[32]},[[0,"keydown","onKeyDown"]]]]],["p-49e90223",[[257,"bq-option-group"]]],["p-11671252",[[769,"bq-page-title",{"haveBackNavigation":[32],"hasSuffix":[32],"hasSubTitle":[32]}]]],["p-3a4c4de9",[[785,"bq-radio",{"backgroundOnHover":[516,"background-on-hover"],"checked":[1540],"disabled":[516],"forceDisabled":[516,"force-disabled"],"formId":[513,"form-id"],"name":[513],"required":[516],"value":[513],"vClick":[64],"vFocus":[64],"vBlur":[64],"getNativeInput":[64]}]]],["p-ae85a23a",[[849,"bq-radio-group",{"backgroundOnHover":[516,"background-on-hover"],"debounceTime":[1538,"debounce-time"],"disabled":[516],"fieldset":[516],"name":[513],"orientation":[1537],"required":[516],"requiredValidationMessage":[513,"required-validation-message"],"value":[1537],"checkedRadio":[32],"tabIndex":[32]},[[2,"bqClick","onBqClick"],[0,"bqKeyDown","onBqKeyDown"],[2,"bqFocus","onBqFocus"],[2,"bqBlur","onBqBlur"]],{"debounceTime":[{"handleDebounceTimeChange":0}],"disabled":[{"handleDisabledChange":0},{"handleGroupProperties":0}],"backgroundOnHover":[{"handleGroupProperties":0}],"name":[{"handleGroupProperties":0}],"required":[{"handleGroupProperties":0},{"handleRequiredChange":0}],"orientation":[{"checkPropValues":0}],"value":[{"handleValueChange":0}]}]]],["p-cc6b349e",[[769,"bq-side-menu",{"appearance":[513],"collapse":[516],"size":[513],"documentBody":[32],"toggleCollapse":[64]},[[1,"bqClick","onMenuItemClick"]],{"collapse":[{"onCollapsePropChange":0}]}]]],["p-426fd908",[[769,"bq-spinner",{"animation":[516],"textPosition":[513,"text-position"],"size":[513],"hasIconSlot":[32],"hasSlot":[32],"slotContentLength":[32]},null,{"textPosition":[{"handleTextPositionProp":0}],"size":[{"handleSizeProp":0}],"hasIconSlot":[{"handleHasIconSlot":0}]}]]],["p-9a78587d",[[769,"bq-steps",{"dividerColor":[513,"divider-color"],"orientation":[513],"size":[513],"type":[513],"setCurrentStepItem":[64]},null,{"dividerColor":[{"checkPropValues":0}],"orientation":[{"checkPropValues":0}],"type":[{"checkPropValues":0}],"size":[{"checkPropValues":0}]}]]],["p-f6d82c39",[[769,"bq-tab",{"active":[1540],"controls":[513],"disabled":[516],"orientation":[513],"placement":[513],"size":[513],"tabId":[513,"tab-id"],"tabIndex":[32],"hasIcon":[32],"vClick":[64],"vFocus":[64],"vBlur":[64],"enableFocus":[64]},null,{"size":[{"checkPropValues":0}],"orientation":[{"checkPropValues":0}],"placement":[{"checkPropValues":0}]}]]],["p-cb9b1edc",[[769,"bq-tab-group",{"debounceTime":[1538,"debounce-time"],"disableDivider":[516,"disable-divider"],"orientation":[513],"placement":[513],"size":[513],"value":[1537]},[[19,"keyup","onKeyUp"],[1,"bqClick","onBqClick"],[1,"bqKeyDown","onBqKeyDown"],[3,"bqBlur","onBqBlur"]],{"debounceTime":[{"checkDebounceChange":0}],"size":[{"checkPropValues":0}],"value":[{"checkPropValues":0}],"orientation":[{"checkPropValues":0}],"placement":[{"checkPropValues":0}]}]]],["p-c34fc2c7",[[849,"bq-textarea",{"autocapitalize":[513],"autocomplete":[513],"autofocus":[516],"autoGrow":[516,"auto-grow"],"debounceTime":[1538,"debounce-time"],"disabled":[516],"disableResize":[516,"disable-resize"],"form":[513],"formValidationMessage":[1025,"form-validation-message"],"maxlength":[514],"name":[513],"placeholder":[513],"readonly":[516],"required":[516],"rows":[514],"spellcheck":[516],"validationStatus":[1537,"validation-status"],"value":[1025],"wrap":[513],"hasHelperText":[32],"hasLabel":[32]},null,{"value":[{"handleValueChange":0}],"required":[{"handleRequiredPropChange":0}]}]]],["p-20162842",[[769,"bq-badge",{"backgroundColor":[1537,"background-color"],"textColor":[1537,"text-color"],"size":[1537],"contentLength":[32]},null,{"size":[{"handleSizePropChange":0}]}]]],["p-8012f01d",[[849,"bq-button",{"appearance":[513],"block":[516],"border":[513],"disabled":[4],"download":[1],"href":[513],"justifyContent":[513,"justify-content"],"label":[513],"loading":[4],"onlyIcon":[4,"only-icon"],"size":[513],"target":[513],"type":[513],"variant":[513],"hasPrefix":[32],"hasSuffix":[32]},null,{"appearance":[{"checkPropValues":0}],"type":[{"checkPropValues":0}],"size":[{"checkPropValues":0}],"variant":[{"checkPropValues":0}],"onlyIcon":[{"handleOnlyIconPropChange":0}]}],[513,"bq-icon",{"label":[513],"color":[513],"name":[513],"size":[520],"src":[513],"weight":[513],"svgContent":[32]},null,{"color":[{"handlePropsChange":0}],"name":[{"handlePropsChange":0}],"size":[{"handlePropsChange":0}],"weight":[{"handleWeightChange":0}]}]]],["p-54ddd09f",[[785,"bq-tag",{"border":[513],"clickable":[516],"color":[513],"disabled":[516],"hidden":[1540],"removable":[516],"selected":[1540],"size":[513],"variant":[513],"hasPrefix":[32],"hide":[64],"show":[64]},null,{"size":[{"checkPropValues":0}],"variant":[{"checkPropValues":0}]}],[769,"bq-option-list",{"ariaLabel":[513,"aria-label"]},[[1,"bqClick","onBqSelect"],[1,"bqEnter","onBqSelect"]]]]],["p-b2858324",[[769,"bq-divider",{"dashed":[4],"orientation":[513],"strokeColor":[513,"stroke-color"],"titleAlignment":[513,"title-alignment"],"strokeDashWidth":[514,"stroke-dash-width"],"strokeDashGap":[514,"stroke-dash-gap"],"strokeThickness":[514,"stroke-thickness"],"strokeBasis":[514,"stroke-basis"],"strokeLinecap":[513,"stroke-linecap"],"hasTitle":[32]},null,{"orientation":[{"checkPropValues":0}],"titleAlignment":[{"checkPropValues":0}],"strokeLinecap":[{"checkPropValues":0}]}]]],["p-6b68123f",[[769,"bq-tooltip",{"alwaysVisible":[4,"always-visible"],"distance":[514],"hideArrow":[516,"hide-arrow"],"placement":[513],"sameWidth":[516,"same-width"],"displayOn":[513,"display-on"],"visible":[1540],"show":[64],"hide":[64]},[[4,"keydown","handleDocumentKeyDown"],[5,"mousedown","handleDocumentMouseDown"],[5,"scroll","handleDocumentScroll"]],{"visible":[{"handleVisibleChange":0}],"distance":[{"handleFloatingUIOptionsChange":0}],"hideArrow":[{"handleFloatingUIOptionsChange":0}],"placement":[{"handleFloatingUIOptionsChange":0}],"sameWidth":[{"handleFloatingUIOptionsChange":0}]}]]],["p-6d708caf",[[769,"bq-dropdown",{"disableScrollLock":[516,"disable-scroll-lock"],"disabled":[516],"distance":[514],"keepOpenOnSelect":[516,"keep-open-on-select"],"placement":[513],"open":[1540],"panelHeight":[513,"panel-height"],"sameWidth":[516,"same-width"],"skidding":[514],"strategy":[513]},[[1,"bqSelect","onItemSelect"],[5,"click","onClickOutside"],[9,"keyup","onEscape"],[11,"scroll","handleScrollEvent"]],{"open":[{"onOpenChange":0}],"disabled":[{"handleDisabledChange":0}]}],[769,"bq-panel",{"disableScrollLock":[516,"disable-scroll-lock"],"distance":[514],"placement":[513],"open":[1540],"sameWidth":[516,"same-width"],"skidding":[514],"strategy":[513]},null,{"open":[{"handleOpenChange":0}],"distance":[{"onPropChange":0}],"placement":[{"onPropChange":0}],"sameWidth":[{"onPropChange":0}],"skidding":[{"onPropChange":0}],"strategy":[{"onPropChange":0}]}]]]]'), e);
|
|
47
|
-
}));
|
|
48
|
-
//# sourceMappingURL=beeq.esm.js.map
|
|
5
|
+
import{p as e,H as a,b as o}from"./p-D1N0tWF3.js";export{s as setNonce}from"./p-D1N0tWF3.js";import{g as n}from"./p-BtYhUEAn.js";var l=()=>{{i(a.prototype)}const o=import.meta.url;const n={};if(o!==""){n.resourcesUrl=new URL(".",o).href}return e(n)};var i=e=>{const a=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return a.call(this,e)}const o=a.call(this,false);const n=this.childNodes;if(e){for(let e=0;e<n.length;e++){if(n[e].nodeType!==2){o.appendChild(n[e].cloneNode(true))}}}return o}};l().then((async e=>{await n();return o(JSON.parse('[["p-3abc34ec",[[849,"bq-select",{"autofocus":[516],"clearButtonLabel":[513,"clear-button-label"],"debounceTime":[1538,"debounce-time"],"disableScrollLock":[516,"disable-scroll-lock"],"disabled":[1028],"disableClear":[516,"disable-clear"],"distance":[514],"form":[513],"keepOpenOnSelect":[516,"keep-open-on-select"],"name":[513],"maxTagsVisible":[1026,"max-tags-visible"],"multiple":[516],"open":[1540],"panelHeight":[513,"panel-height"],"placeholder":[513],"placement":[513],"readonly":[516],"required":[516],"sameWidth":[516,"same-width"],"skidding":[514],"strategy":[513],"validationStatus":[513,"validation-status"],"value":[1537],"displayValue":[32],"hasHelperText":[32],"selectedOptions":[32],"hasLabel":[32],"hasPrefix":[32],"hasSuffix":[32],"hasValue":[32],"clear":[64],"reset":[64]},[[2,"bqOpen","handleOpenChange"],[2,"bqFocus","stopOptionFocusBlurPropagation"],[2,"bqBlur","stopOptionFocusBlurPropagation"],[11,"scroll","handleScrollEvent"]],{"value":[{"handleValueChange":0}]}]]],["p-f159529e",[[849,"bq-date-picker",{"autofocus":[516],"clearButtonLabel":[513,"clear-button-label"],"disableClear":[516,"disable-clear"],"disabled":[1028],"distance":[514],"firstDayOfWeek":[514,"first-day-of-week"],"formatOptions":[16],"form":[513],"formValidationMessage":[1025,"form-validation-message"],"isDateDisallowed":[16],"locale":[513],"max":[513],"min":[513],"months":[514],"monthsPerView":[513,"months-per-view"],"name":[513],"open":[1540],"panelHeight":[1537,"panel-height"],"placeholder":[513],"placement":[513],"required":[516],"skidding":[514],"showOutsideDays":[516,"show-outside-days"],"strategy":[513],"tentative":[1537],"type":[513],"validationStatus":[513,"validation-status"],"value":[1537],"isCallyLoaded":[32],"focusedDate":[32],"displayDate":[32],"hasLabel":[32],"hasPrefix":[32],"hasRangeEnd":[32],"hasSuffix":[32],"hasValue":[32],"clear":[64]},[[2,"bqOpen","handleOpenChange"],[18,"click","handleClickOutside"]],{"value":[{"handleValueChange":0}],"type":[{"checkPropValues":0}]}]]],["p-520335c7",[[769,"bq-drawer",{"enableBackdrop":[516,"enable-backdrop"],"closeOnClickOutside":[516,"close-on-click-outside"],"closeOnEsc":[516,"close-on-esc"],"open":[1540],"placement":[1537],"position":[1537],"hasFooter":[32],"hasIcon":[32],"hide":[64],"show":[64]},[[11,"mousedown","handleMouseClick"],[10,"keydown","handleKeyDown"]],{"open":[{"handleOpenChange":0}],"placement":[{"handlePlacementChange":0}],"position":[{"handlePositionChange":0}]}]]],["p-a6cd9c8c",[[769,"bq-alert",{"autoDismiss":[516,"auto-dismiss"],"border":[513],"disableClose":[516,"disable-close"],"hideIcon":[516,"hide-icon"],"open":[1540],"time":[514],"type":[513],"sticky":[516],"hasContent":[32],"hasFooter":[32],"hide":[64],"show":[64]},null,{"autoDismiss":[{"handleTimeout":0}],"time":[{"handleTimeout":0}],"open":[{"handleOpenChange":0}],"type":[{"checkPropValues":0}]}]]],["p-f0729f34",[[769,"bq-dialog",{"border":[513],"disableBackdrop":[516,"disable-backdrop"],"disableCloseEscKeydown":[516,"disable-close-esc-keydown"],"disableCloseClickOutside":[516,"disable-close-click-outside"],"footerAppearance":[513,"footer-appearance"],"hideCloseButton":[516,"hide-close-button"],"open":[1540],"size":[1537],"hasContent":[32],"hasFooter":[32],"show":[64],"hide":[64],"cancel":[64]},[[11,"mousedown","handleMouseClick"],[10,"keydown","handleKeyDown"]],{"footerAppearance":[{"checkPropValues":0}],"size":[{"checkPropValues":0}],"open":[{"handleOpenChange":0}]}]]],["p-81d78b05",[[849,"bq-input",{"autocapitalize":[513],"autocomplete":[513],"autofocus":[516],"clearButtonLabel":[513,"clear-button-label"],"debounceTime":[1538,"debounce-time"],"disabled":[1028],"disableClear":[516,"disable-clear"],"form":[513],"formValidationMessage":[1025,"form-validation-message"],"inputmode":[1],"max":[520],"maxlength":[514],"min":[520],"minlength":[514],"name":[513],"pattern":[513],"placeholder":[513],"readonly":[516],"required":[516],"step":[520],"type":[513],"validationStatus":[513,"validation-status"],"value":[1544],"hasHelperText":[32],"hasLabel":[32],"hasPrefix":[32],"hasSuffix":[32],"hasValue":[32]},null,{"value":[{"handleValueChange":0}]}]]],["p-586937fa",[[769,"bq-notification",{"autoDismiss":[516,"auto-dismiss"],"border":[513],"disableClose":[516,"disable-close"],"hideIcon":[516,"hide-icon"],"open":[1540],"time":[514],"type":[513],"hasContent":[32],"hasFooter":[32],"notificationPortal":[32],"hide":[64],"show":[64],"toast":[64]},[[0,"bqAfterClose","afterNotificationClose"]],{"autoDismiss":[{"handleTimeout":0}],"time":[{"handleTimeout":0}],"open":[{"handleOpenChange":0}],"type":[{"checkPropValues":0}]}]]],["p-1f8fbd9d",[[769,"bq-accordion",{"appearance":[1537],"disabled":[516],"expanded":[1540],"noAnimation":[516,"no-animation"],"rotate":[516],"size":[1537],"hasPrefix":[32],"hasSuffix":[32]},[[0,"accordionTransitionEnd","onAccordionTransitionEnd"]],{"size":[{"checkPropValues":0}],"expanded":[{"handleExpandedChange":0}],"disabled":[{"handleDisabledChange":0}],"noAnimation":[{"handleJsAnimation":0}]}]]],["p-a416eb22",[[769,"bq-empty-state",{"size":[1537],"hasBody":[32],"hasFooter":[32]},null,{"size":[{"checkPropValues":0}]}]]],["p-214ec65e",[[513,"bq-progress",{"borderShape":[513,"border-shape"],"enableTooltip":[516,"enable-tooltip"],"indeterminate":[516],"label":[516],"thickness":[513],"type":[513],"value":[1538]},null,{"borderShape":[{"handleTypePropChange":0}],"thickness":[{"handleTypePropChange":0}],"type":[{"handleTypePropChange":0}],"value":[{"handleValuePropChange":0}]}]]],["p-7dd86b3a",[[769,"bq-side-menu-item",{"active":[4],"collapse":[4],"disabled":[4],"textContent":[32]}]]],["p-fb8f84c3",[[593,"bq-slider",{"debounceTime":[514,"debounce-time"],"disabled":[516],"enableValueIndicator":[516,"enable-value-indicator"],"gap":[1538],"max":[514],"min":[514],"name":[513],"step":[514],"type":[513],"value":[1544],"enableTooltip":[516,"enable-tooltip"],"tooltipAlwaysVisible":[516,"tooltip-always-visible"],"minValue":[32],"maxValue":[32],"minThumbPosition":[32],"maxThumbPosition":[32]},null,{"value":[{"handleValuePropChange":0}],"step":[{"handleStepPropChange":0}],"gap":[{"handleGapChange":0}]}]]],["p-d1d71d1c",[[769,"bq-status",{"type":[513]},null,{"type":[{"checkPropValues":0}]}]]],["p-2a7b2e52",[[785,"bq-step-item",{"dividerColor":[513,"divider-color"],"isLast":[516,"is-last"],"orientation":[513],"size":[513],"status":[1537],"type":[513]},null,{"size":[{"checkPropValues":0}],"status":[{"checkPropValues":0}]}]]],["p-2eb81c09",[[849,"bq-switch",{"backgroundOnHover":[516,"background-on-hover"],"checked":[1540],"disabled":[516],"formValidationMessage":[1025,"form-validation-message"],"fullWidth":[516,"full-width"],"innerLabel":[513,"inner-label"],"justifyContent":[513,"justify-content"],"name":[513],"required":[516],"reverseOrder":[516,"reverse-order"],"value":[513],"hasLabel":[32],"vClick":[64],"vFocus":[64],"vBlur":[64]},null,{"required":[{"handleRequiredChange":0}]}]]],["p-85d57b16",[[769,"bq-toast",{"border":[513],"type":[1537],"placement":[1537],"hideIcon":[1540,"hide-icon"],"open":[1540],"time":[514],"toastPortal":[32],"show":[64],"hide":[64],"toast":[64]},[[0,"bqHide","onNotificationHide"]],{"type":[{"checkPropValues":0}],"placement":[{"checkPropValues":0}],"time":[{"handleTimeChange":0}],"open":[{"handleOpenChange":0}]}]]],["p-04dac1c6",[[769,"bq-accordion-group",{"appearance":[1537],"expandAll":[516,"expand-all"],"noAnimation":[516,"no-animation"],"multiple":[516],"size":[1537]},[[1,"bqClick","onBqClick"]],{"appearance":[{"checkPropValues":0}],"expandAll":[{"checkPropValues":0}],"noAnimation":[{"checkPropValues":0}],"size":[{"checkPropValues":0}]}]]],["p-91c69867",[[769,"bq-avatar",{"altText":[513,"alt-text"],"image":[513],"label":[513],"initials":[513],"shape":[513],"size":[1537],"hasError":[32]},null,{"image":[{"handleImagePropChange":0}],"shape":[{"checkPropValues":0}],"size":[{"checkPropValues":0},{"onInitialsChange":0}],"initials":[{"onInitialsChange":0}]}]]],["p-c6fdcdf6",[[769,"bq-breadcrumb",{"label":[513]}]]],["p-c0e9a6cf",[[769,"bq-breadcrumb-item",{"href":[513],"target":[513],"rel":[513]}]]],["p-a4865383",[[769,"bq-card",{"type":[513],"border":[513]},null,{"type":[{"checkPropValue":0}]}]]],["p-df16b51b",[[849,"bq-checkbox",{"backgroundOnHover":[516,"background-on-hover"],"formId":[513,"form-id"],"formValidationMessage":[1025,"form-validation-message"],"checked":[1540],"disabled":[516],"indeterminate":[1540],"name":[513],"required":[516],"value":[513],"vClick":[64],"vFocus":[64],"vBlur":[64]},null,{"indeterminate":[{"handleIndeterminatePropChange":0}],"required":[{"handleRequiredPropChange":0}]}]]],["p-4fbfc43c",[[769,"bq-option",{"hidden":[516],"disabled":[516],"displayValue":[513,"display-value"],"selected":[516],"value":[513],"hasPrefix":[32],"hasSuffix":[32]},[[0,"keydown","onKeyDown"]]]]],["p-ea3db4eb",[[257,"bq-option-group"]]],["p-39888c37",[[769,"bq-page-title",{"haveBackNavigation":[32],"hasSuffix":[32],"hasSubTitle":[32]}]]],["p-aede4b4e",[[785,"bq-radio",{"backgroundOnHover":[516,"background-on-hover"],"checked":[1540],"disabled":[516],"forceDisabled":[516,"force-disabled"],"formId":[513,"form-id"],"name":[513],"required":[516],"value":[513],"vClick":[64],"vFocus":[64],"vBlur":[64],"getNativeInput":[64]}]]],["p-ea2214aa",[[849,"bq-radio-group",{"backgroundOnHover":[516,"background-on-hover"],"debounceTime":[1538,"debounce-time"],"disabled":[516],"fieldset":[516],"name":[513],"orientation":[1537],"required":[516],"requiredValidationMessage":[513,"required-validation-message"],"value":[1537],"checkedRadio":[32],"tabIndex":[32]},[[2,"bqClick","onBqClick"],[0,"bqKeyDown","onBqKeyDown"],[2,"bqFocus","onBqFocus"],[2,"bqBlur","onBqBlur"]],{"debounceTime":[{"handleDebounceTimeChange":0}],"disabled":[{"handleDisabledChange":0},{"handleGroupProperties":0}],"backgroundOnHover":[{"handleGroupProperties":0}],"name":[{"handleGroupProperties":0}],"required":[{"handleGroupProperties":0},{"handleRequiredChange":0}],"orientation":[{"checkPropValues":0}],"value":[{"handleValueChange":0}]}]]],["p-a350925a",[[769,"bq-side-menu",{"appearance":[513],"collapse":[516],"size":[513],"documentBody":[32],"toggleCollapse":[64]},[[1,"bqClick","onMenuItemClick"]],{"collapse":[{"onCollapsePropChange":0}]}]]],["p-c9ff0a5c",[[769,"bq-spinner",{"animation":[516],"textPosition":[513,"text-position"],"size":[513],"hasIconSlot":[32],"hasSlot":[32],"slotContentLength":[32]},null,{"textPosition":[{"handleTextPositionProp":0}],"size":[{"handleSizeProp":0}],"hasIconSlot":[{"handleHasIconSlot":0}]}]]],["p-82ee164d",[[769,"bq-steps",{"dividerColor":[513,"divider-color"],"orientation":[513],"size":[513],"type":[513],"setCurrentStepItem":[64]},null,{"dividerColor":[{"checkPropValues":0}],"orientation":[{"checkPropValues":0}],"type":[{"checkPropValues":0}],"size":[{"checkPropValues":0}]}]]],["p-4588abed",[[769,"bq-tab",{"active":[1540],"controls":[513],"disabled":[516],"orientation":[513],"placement":[513],"size":[513],"tabId":[513,"tab-id"],"tabIndex":[32],"hasIcon":[32],"vClick":[64],"vFocus":[64],"vBlur":[64],"enableFocus":[64]},null,{"size":[{"checkPropValues":0}],"orientation":[{"checkPropValues":0}],"placement":[{"checkPropValues":0}]}]]],["p-e9ac61fd",[[769,"bq-tab-group",{"debounceTime":[1538,"debounce-time"],"disableDivider":[516,"disable-divider"],"orientation":[513],"placement":[513],"size":[513],"value":[1537]},[[19,"keyup","onKeyUp"],[1,"bqClick","onBqClick"],[1,"bqKeyDown","onBqKeyDown"],[3,"bqBlur","onBqBlur"]],{"debounceTime":[{"checkDebounceChange":0}],"size":[{"checkPropValues":0}],"value":[{"checkPropValues":0}],"orientation":[{"checkPropValues":0}],"placement":[{"checkPropValues":0}]}]]],["p-08c11d40",[[849,"bq-textarea",{"autocapitalize":[513],"autocomplete":[513],"autofocus":[516],"autoGrow":[516,"auto-grow"],"debounceTime":[1538,"debounce-time"],"disabled":[516],"disableResize":[516,"disable-resize"],"form":[513],"formValidationMessage":[1025,"form-validation-message"],"maxlength":[514],"name":[513],"placeholder":[513],"readonly":[516],"required":[516],"rows":[514],"spellcheck":[516],"validationStatus":[1537,"validation-status"],"value":[1025],"wrap":[513],"hasHelperText":[32],"hasLabel":[32]},null,{"value":[{"handleValueChange":0}],"required":[{"handleRequiredPropChange":0}]}]]],["p-4c32eb15",[[769,"bq-badge",{"backgroundColor":[1537,"background-color"],"textColor":[1537,"text-color"],"size":[1537],"contentLength":[32]},null,{"size":[{"handleSizePropChange":0}]}]]],["p-cc634b64",[[849,"bq-button",{"appearance":[513],"block":[516],"border":[513],"disabled":[4],"download":[1],"href":[513],"justifyContent":[513,"justify-content"],"label":[513],"loading":[4],"onlyIcon":[4,"only-icon"],"size":[513],"target":[513],"type":[513],"variant":[513],"hasPrefix":[32],"hasSuffix":[32]},null,{"appearance":[{"checkPropValues":0}],"type":[{"checkPropValues":0}],"size":[{"checkPropValues":0}],"variant":[{"checkPropValues":0}],"onlyIcon":[{"handleOnlyIconPropChange":0}]}],[513,"bq-icon",{"label":[513],"color":[513],"name":[513],"size":[520],"src":[513],"weight":[513],"svgContent":[32]},null,{"color":[{"handlePropsChange":0}],"name":[{"handlePropsChange":0}],"size":[{"handlePropsChange":0}],"weight":[{"handleWeightChange":0}]}]]],["p-6e1856ec",[[785,"bq-tag",{"border":[513],"clickable":[516],"color":[513],"disabled":[516],"hidden":[1540],"removable":[516],"selected":[1540],"size":[513],"variant":[513],"hasPrefix":[32],"hide":[64],"show":[64]},null,{"size":[{"checkPropValues":0}],"variant":[{"checkPropValues":0}]}],[769,"bq-option-list",{"ariaLabel":[513,"aria-label"]},[[1,"bqClick","onBqSelect"],[1,"bqEnter","onBqSelect"]]]]],["p-aec68c6d",[[769,"bq-divider",{"dashed":[4],"orientation":[513],"strokeColor":[513,"stroke-color"],"titleAlignment":[513,"title-alignment"],"strokeDashWidth":[514,"stroke-dash-width"],"strokeDashGap":[514,"stroke-dash-gap"],"strokeThickness":[514,"stroke-thickness"],"strokeBasis":[514,"stroke-basis"],"strokeLinecap":[513,"stroke-linecap"],"hasTitle":[32]},null,{"orientation":[{"checkPropValues":0}],"titleAlignment":[{"checkPropValues":0}],"strokeLinecap":[{"checkPropValues":0}]}]]],["p-e4767c3c",[[769,"bq-tooltip",{"alwaysVisible":[4,"always-visible"],"distance":[514],"hideArrow":[516,"hide-arrow"],"placement":[513],"sameWidth":[516,"same-width"],"displayOn":[513,"display-on"],"visible":[1540],"show":[64],"hide":[64]},[[4,"keydown","handleDocumentKeyDown"],[5,"mousedown","handleDocumentMouseDown"],[5,"scroll","handleDocumentScroll"]],{"visible":[{"handleVisibleChange":0}],"distance":[{"handleFloatingUIOptionsChange":0}],"hideArrow":[{"handleFloatingUIOptionsChange":0}],"placement":[{"handleFloatingUIOptionsChange":0}],"sameWidth":[{"handleFloatingUIOptionsChange":0}]}]]],["p-64bf3252",[[769,"bq-dropdown",{"disableScrollLock":[516,"disable-scroll-lock"],"disabled":[516],"distance":[514],"keepOpenOnSelect":[516,"keep-open-on-select"],"placement":[513],"open":[1540],"panelHeight":[513,"panel-height"],"sameWidth":[516,"same-width"],"skidding":[514],"strategy":[513]},[[1,"bqSelect","onItemSelect"],[5,"click","onClickOutside"],[9,"keyup","onEscape"],[11,"scroll","handleScrollEvent"]],{"open":[{"onOpenChange":0}],"disabled":[{"handleDisabledChange":0}]}],[769,"bq-panel",{"disableScrollLock":[516,"disable-scroll-lock"],"distance":[514],"placement":[513],"open":[1540],"sameWidth":[516,"same-width"],"skidding":[514],"strategy":[513]},null,{"open":[{"handleOpenChange":0}],"distance":[{"onPropChange":0}],"placement":[{"onPropChange":0}],"sameWidth":[{"onPropChange":0}],"skidding":[{"onPropChange":0}],"strategy":[{"onPropChange":0}]}]]]]'),e)}));
|
|
49
6
|
//# sourceMappingURL=beeq.esm.js.map
|
package/dist/beeq/index.esm.js
CHANGED
|
@@ -2,73 +2,5 @@
|
|
|
2
2
|
* Built by Endavans
|
|
3
3
|
* © https://beeq.design - Apache 2 License.
|
|
4
4
|
*/
|
|
5
|
-
export { g as
|
|
6
|
-
|
|
7
|
-
export { c as clamp } from "./p-Cau9SvT4.js";
|
|
8
|
-
|
|
9
|
-
export { a as getCSSVariableValue, g as getColorCSSVariable } from "./p-_RvVpeh2.js";
|
|
10
|
-
|
|
11
|
-
export { I as ISO_DATE_LOCALE, c as clampDateToRange, e as extractFocusedDate, f as formatDisplayValue, g as getTodayISO, i as isValidISODate, p as parseDateInput, t as toISODateString, u as updateFormValidity } from "./p-CpKQ7XUL.js";
|
|
12
|
-
|
|
13
|
-
export { d as debounce, s as setRafTimeout } from "./p-CVw85-WU.js";
|
|
14
|
-
|
|
15
|
-
export { i as isEventTargetChildOfElement } from "./p-Dx-CEPSQ.js";
|
|
16
|
-
|
|
17
|
-
export { g as getNextElement } from "./p-BsSDkLU5.js";
|
|
18
|
-
|
|
19
|
-
export { i as isClient } from "./p-B4sM1t6Z.js";
|
|
20
|
-
|
|
21
|
-
import { i as o } from "./p-BRbYDZoo.js";
|
|
22
|
-
|
|
23
|
-
import { i as r } from "./p-BcPwGxIn.js";
|
|
24
|
-
|
|
25
|
-
export { i as isHTMLElement } from "./p-D1A0LpG_.js";
|
|
26
|
-
|
|
27
|
-
export { i as isString } from "./p-lysmVw2n.js";
|
|
28
|
-
|
|
29
|
-
export { v as validatePropValue } from "./p-zh4P02Kn.js";
|
|
30
|
-
|
|
31
|
-
export { c as configureScrollLock, f as forceUnlockAllBodyScroll, g as getScrollLockCount, i as isBodyScrollLocked, l as lockBodyScroll, u as unlockBodyScroll } from "./p-CCNjsDdb.js";
|
|
32
|
-
|
|
33
|
-
export { g as getInnerHTML, a as getTextContent, h as hasSlot, b as hasSlotContent } from "./p-uqkxeAeG.js";
|
|
34
|
-
|
|
35
|
-
export { s as stringToArray } from "./p-BNvWMggA.js";
|
|
36
|
-
|
|
37
|
-
export { e as enter, l as leave, t as toggle } from "./p-DdvbF5yL.js";
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Get a number of randoms items from Array
|
|
41
|
-
*
|
|
42
|
-
* @param {Array} arr - The array where to look
|
|
43
|
-
* @param {Number} n - The number of random items to take
|
|
44
|
-
* @returns {Array} An array with the number of random items specified
|
|
45
|
-
*/ const getRandomFromArray = (e, s) => {
|
|
46
|
-
let a = e.length;
|
|
47
|
-
const t = new Array(s);
|
|
48
|
-
const o = new Array(a);
|
|
49
|
-
if (s > a) throw new RangeError("getRandom: more elements taken than available");
|
|
50
|
-
while (s--) {
|
|
51
|
-
const r = Date.now() % a;
|
|
52
|
-
t[s] = e[r in o ? o[r] : r];
|
|
53
|
-
o[r] = --a in o ? o[a] : a;
|
|
54
|
-
}
|
|
55
|
-
return t;
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Check if the value is an empty array, object, set, map
|
|
60
|
-
* @param value the value to be checked
|
|
61
|
-
* @returns {boolean} true if value is empty
|
|
62
|
-
*/ const isEmpty = e => {
|
|
63
|
-
if (r(e)) {
|
|
64
|
-
return true;
|
|
65
|
-
} else if ("size" in e) {
|
|
66
|
-
return !o(e.size);
|
|
67
|
-
} else {
|
|
68
|
-
return !o(Object.values(e).length);
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
export { getRandomFromArray, o as isDefined, isEmpty, r as isNil };
|
|
73
|
-
//# sourceMappingURL=index.esm.js.map
|
|
5
|
+
export{g as getBasePath,s as setBasePath}from"./p-Ds7rcaFH.js";export{c as clamp}from"./p-Cau9SvT4.js";export{a as getCSSVariableValue,g as getColorCSSVariable}from"./p-_RvVpeh2.js";export{I as ISO_DATE_LOCALE,c as clampDateToRange,e as extractFocusedDate,f as formatDisplayValue,g as getTodayISO,i as isValidISODate,p as parseDateInput,t as toISODateString,u as updateFormValidity}from"./p-CpKQ7XUL.js";export{d as debounce,s as setRafTimeout}from"./p-CVw85-WU.js";export{i as isEventTargetChildOfElement}from"./p-Dx-CEPSQ.js";export{g as getNextElement}from"./p-BsSDkLU5.js";export{i as isClient}from"./p-B4sM1t6Z.js";import{i as o}from"./p-BRbYDZoo.js";import{i as r}from"./p-BcPwGxIn.js";export{i as isHTMLElement}from"./p-D1A0LpG_.js";export{i as isString}from"./p-lysmVw2n.js";export{v as validatePropValue}from"./p-zh4P02Kn.js";export{c as configureScrollLock,f as forceUnlockAllBodyScroll,g as getScrollLockCount,i as isBodyScrollLocked,l as lockBodyScroll,u as unlockBodyScroll}from"./p-CCNjsDdb.js";export{g as getInnerHTML,a as getTextContent,h as hasSlot,b as hasSlotContent}from"./p-uqkxeAeG.js";export{s as stringToArray}from"./p-BNvWMggA.js";export{e as enter,l as leave,t as toggle}from"./p-DdvbF5yL.js";const n=(e,s)=>{let a=e.length;const t=new Array(s);const o=new Array(a);if(s>a)throw new RangeError("getRandom: more elements taken than available");while(s--){const r=Date.now()%a;t[s]=e[r in o?o[r]:r];o[r]=--a in o?o[a]:a}return t};const m=e=>{if(r(e)){return true}else if("size"in e){return!o(e.size)}else{return!o(Object.values(e).length)}};export{n as getRandomFromArray,o as isDefined,m as isEmpty,r as isNil};
|
|
74
6
|
//# sourceMappingURL=index.esm.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built by Endavans
|
|
3
|
+
* © https://beeq.design - Apache 2 License.
|
|
4
|
+
*/
|
|
5
|
+
import{r as a,g as r}from"./p-D1N0tWF3.js";import{a as b}from"./p-C33fRBEf.js";import{i as e}from"./p-BcPwGxIn.js";import{i as q}from"./p-D1A0LpG_.js";const n=()=>`.transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}::backdrop,:root{--bq-blue-100:#e7f0fd;--bq-blue-200:#d0e2fb;--bq-blue-300:#a1c5f7;--bq-blue-400:#73a8f3;--bq-blue-500:#448bef;--bq-blue-600:#156eeb;--bq-blue-700:#1158bc;--bq-blue-800:#0d428d;--bq-blue-900:#082c5e;--bq-blue-1000:#04162f;--bq-corai-100:#fff2f2;--bq-corai-200:#ffe6e6;--bq-corai-300:#ffccce;--bq-corai-400:#ffb3b5;--bq-corai-500:#ff999d;--bq-corai-600:#ff8084;--bq-corai-700:#cc666a;--bq-corai-800:#994d4f;--bq-corai-900:#663335;--bq-corai-1000:#331a1a;--bq-cyan-100:#e8f7fb;--bq-cyan-200:#d2f0f8;--bq-cyan-300:#a5e1f1;--bq-cyan-400:#78d1e9;--bq-cyan-500:#4bc2e2;--bq-cyan-600:#1eb3db;--bq-cyan-700:#188faf;--bq-cyan-800:#126b83;--bq-cyan-900:#0c4858;--bq-cyan-1000:#06242c;--bq-gold-100:#fbf4ec;--bq-gold-200:#f7e9da;--bq-gold-300:#f0d3b6;--bq-gold-400:#e8bc91;--bq-gold-500:#e1a66d;--bq-gold-600:#d99048;--bq-gold-700:#ae733a;--bq-gold-800:#82562b;--bq-gold-900:#573a1d;--bq-gold-1000:#2b1d0e;--bq-green-100:#e8f8ef;--bq-green-200:#d2f1e0;--bq-green-300:#a5e3c1;--bq-green-400:#78d5a1;--bq-green-500:#4bc782;--bq-green-600:#1eb963;--bq-green-700:#18944f;--bq-green-800:#126f3b;--bq-green-900:#0c4a28;--bq-green-1000:#062514;--bq-grey-100:#f1f2f4;--bq-grey-200:#e7e8eb;--bq-grey-300:#caccd2;--bq-grey-400:#a6aab3;--bq-grey-50:#f6f6f8;--bq-grey-500:#898e99;--bq-grey-600:#646a77;--bq-grey-700:#3f4350;--bq-grey-800:#2a2c35;--bq-grey-900:#1c1d23;--bq-grey-950:#15161a;--bq-grey-1000:#0d0e11;--bq-indigo-100:#edecfc;--bq-indigo-200:#dcdafa;--bq-indigo-300:#b9b5f5;--bq-indigo-400:#9590ef;--bq-indigo-500:#726bea;--bq-indigo-600:#4f46e5;--bq-indigo-700:#3f38b7;--bq-indigo-800:#2f2a89;--bq-indigo-900:#201c5c;--bq-indigo-1000:#100e2e;--bq-iris-100:#e9f0ff;--bq-iris-200:#d6e0ff;--bq-iris-300:#b2c0fe;--bq-iris-400:#8691f8;--bq-iris-500:#6061ee;--bq-iris-600:#4f46e5;--bq-iris-700:#413abd;--bq-iris-800:#332e95;--bq-iris-900:#26216d;--bq-iris-1000:#181545;--bq-lime-100:#f5fae8;--bq-lime-200:#ecf6d2;--bq-lime-300:#d9eda5;--bq-lime-400:#c5e379;--bq-lime-500:#b2da4c;--bq-lime-600:#9fd11f;--bq-lime-700:#7fa719;--bq-lime-800:#5f7d13;--bq-lime-900:#40540c;--bq-lime-1000:#202a06;--bq-magenta-100:#fce7f4;--bq-magenta-200:#f9cfea;--bq-magenta-300:#f39fd6;--bq-magenta-400:#ee6fbf;--bq-magenta-500:#e83fab;--bq-magenta-600:#de1395;--bq-magenta-700:#b20f77;--bq-magenta-800:#850c59;--bq-magenta-900:#58083c;--bq-magenta-1000:#2c041e;--bq-neutral-white:#fbfbfc;--bq-neutral-black:#060708;--bq-orange-100:#fbf0e9;--bq-orange-200:#f8e1d4;--bq-orange-300:#f1c2a8;--bq-orange-400:#eaa47d;--bq-orange-500:#e38551;--bq-orange-600:#dc6726;--bq-orange-700:#b0521e;--bq-orange-800:#843e17;--bq-orange-900:#58290f;--bq-orange-1000:#2c1508;--bq-purple-100:#efebf8;--bq-purple-200:#e0d7f2;--bq-purple-300:#c1afe5;--bq-purple-400:#a388d8;--bq-purple-500:#8460cb;--bq-purple-600:#6538be;--bq-purple-700:#512d98;--bq-purple-800:#3d2272;--bq-purple-900:#28164c;--bq-purple-1000:#140b26;--bq-red-100:#fce7ea;--bq-red-200:#f9d1d5;--bq-red-300:#f3a2ac;--bq-red-400:#ed7482;--bq-red-500:#e74559;--bq-red-600:#e1172f;--bq-red-700:#b41226;--bq-red-800:#870e1c;--bq-red-900:#5a0913;--bq-red-1000:#2d0509;--bq-sky-100:#eff4fb;--bq-sky-200:#dfeaf8;--bq-sky-300:#bfd5f1;--bq-sky-400:#9ec1e9;--bq-sky-500:#7eace2;--bq-sky-600:#5e97db;--bq-sky-700:#4b79af;--bq-sky-800:#385b83;--bq-sky-900:#263c58;--bq-sky-1000:#131e2c;--bq-teal-100:#e5f7f5;--bq-teal-200:#ccf0eb;--bq-teal-300:#99e1d8;--bq-teal-400:#66d2c4;--bq-teal-500:#33c3b1;--bq-teal-600:#00b49d;--bq-teal-700:#00907e;--bq-teal-800:#006c5e;--bq-teal-900:#00483f;--bq-teal-1000:#00241f;--bq-volcano-100:#feede7;--bq-volcano-200:#fddbd1;--bq-volcano-300:#fbb8a3;--bq-volcano-400:#fa9474;--bq-volcano-500:#f87146;--bq-volcano-600:#f64d18;--bq-volcano-700:#c53e13;--bq-volcano-800:#942e0e;--bq-volcano-900:#621f0a;--bq-volcano-1000:#310f05;--bq-yellow-100:#fefbe7;--bq-yellow-200:#fcf6d0;--bq-yellow-300:#faeea0;--bq-yellow-400:#f7e571;--bq-yellow-500:#f5dd41;--bq-yellow-600:#f2d412;--bq-yellow-700:#c2aa0e;--bq-yellow-800:#917f0b;--bq-yellow-900:#615507;--bq-yellow-1000:#302a04;--bq-endava-grey-50:#f7f7f8;--bq-endava-grey-100:#e4e6e7;--bq-endava-grey-200:#b5babe;--bq-endava-grey-300:#949ca1;--bq-endava-grey-400:#737d84;--bq-endava-grey-500:#525f67;--bq-endava-grey-600:#30404b;--bq-endava-grey-700:#2b3942;--bq-endava-grey-800:#263139;--bq-endava-grey-900:#192b37;--bq-endava-grey-950:#151b1e;--bq-endava-grey-1000:#0f1316;--bq-endava-neutral-white:#fafbfb;--bq-endava-neutral-black:#060708;--bq-endava-orange-100:#fef3f1;--bq-endava-orange-200:#fbd6d1;--bq-endava-orange-300:#fab7af;--bq-endava-orange-400:#fa988b;--bq-endava-orange-500:#fc7866;--bq-endava-orange-600:#ff5640;--bq-endava-orange-700:#ce4a39;--bq-endava-orange-800:#a03d30;--bq-endava-orange-900:#722e25;--bq-endava-orange-1000:#471e19}*,:after,:before{box-sizing:border-box}*{font:inherit;margin:0}ol[role=list],ul[role=list]{list-style-type:none}html{text-size-adjust:none;font-family:var(--bq-font-family);font-size:var(--bq-font-size--m)}html:focus-within{scroll-behavior:smooth}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--bq-background--primary);color:var(--bq-text--primary);line-height:var(--bq-font-line-height--regular);min-height:100vb;text-rendering:optimizeSpeed}a:not([class]){text-decoration-skip-ink:auto}canvas,img,picture,svg,video{display:block;max-width:100%}button,input,select,textarea{font:inherit}h1,h2,h3,h4,h5,h6,p{overflow-wrap:break-word}@media (prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto;transition-duration:.01ms!important}}:where(:root){--bq-white:#fff;--bq-black:#060708;--bq-neutral-50:var(--bq-grey-50);--bq-neutral-100:var(--bq-grey-100);--bq-neutral-200:var(--bq-grey-200);--bq-neutral-300:var(--bq-grey-300);--bq-neutral-400:var(--bq-grey-400);--bq-neutral-500:var(--bq-grey-500);--bq-neutral-600:var(--bq-grey-600);--bq-neutral-700:var(--bq-grey-700);--bq-neutral-800:var(--bq-grey-800);--bq-neutral-900:var(--bq-grey-900);--bq-neutral-950:var(--bq-grey-950);--bq-neutral-1000:var(--bq-grey-1000);--bq-brand-light:var(--bq-iris-100);--bq-brand:var(--bq-iris-600);--bq-brand-dark:var(--bq-iris-1000);--bq-accent-light:var(--bq-purple-100);--bq-accent:var(--bq-purple-600);--bq-accent-dark:var(--bq-purple-1000);--bq-success-light:var(--bq-teal-100);--bq-success:var(--bq-teal-600);--bq-success-dark:var(--bq-teal-1000);--bq-danger-light:var(--bq-red-100);--bq-danger:var(--bq-red-600);--bq-danger-dark:var(--bq-red-1000);--bq-warning-light:var(--bq-gold-100);--bq-warning:var(--bq-gold-600);--bq-warning-dark:var(--bq-gold-1000);--bq-info-light:var(--bq-iris-100);--bq-info:var(--bq-iris-600);--bq-info-dark:var(--bq-iris-1000);--bq-focus:var(--bq-iris-600);--bq-data-01:var(--bq-brand);--bq-data-02:var(--bq-purple-600);--bq-data-03:var(--bq-magenta-600);--bq-data-04:var(--bq-cyan-600);--bq-data-05:var(--bq-teal-600);--bq-data-06:var(--bq-orange-600);--bq-data-07:var(--bq-yellow-600);--bq-data-08:var(--bq-red-600);--bq-data-09:var(--bq-blue-600);--bq-data-10:var(--bq-grey-600);--bq-data-11:var(--bq-black);--bq-data-12:var(--bq-white);--bq-radius--none:0;--bq-radius--xs2:0.125rem;--bq-radius--xs:0.25rem;--bq-radius--s:0.5rem;--bq-radius--m:0.75rem;--bq-radius--l:1.5rem;--bq-radius--full:9999px;--bq-box-shadow--xs:0 2px 0 rgba(0,0,0,.016);--bq-box-shadow--s:0 8px 24px rgba(0,0,0,.04);--bq-box-shadow--m:0 10px 48px -16px rgba(0,0,0,.12);--bq-box-shadow--l:0 20px 58px -16px rgba(0,0,0,.16);--bq-font-family:"Outfit",sans-serif;--bq-font-size--xs:0.75rem;--bq-font-size--s:0.875rem;--bq-font-size--m:1rem;--bq-font-size--l:1.125rem;--bq-font-size--xl:1.5rem;--bq-font-size--xxl:2rem;--bq-font-size--xxl2:2.5rem;--bq-font-size--xxl3:3rem;--bq-font-size--xxl4:3.5rem;--bq-font-size--xxl5:4rem;--bq-font-weight--thin:100;--bq-font-weight--light:300;--bq-font-weight--regular:400;--bq-font-weight--medium:500;--bq-font-weight--semibold:600;--bq-font-weight--bold:700;--bq-font-line-height--small:1.2;--bq-font-line-height--regular:1.5;--bq-font-line-height--large:1.5;--bq-spacing-xs3:0.125rem;--bq-spacing-xs2:0.25rem;--bq-spacing-xs:0.5rem;--bq-spacing-s:0.75rem;--bq-spacing-m:1rem;--bq-spacing-l:1.5rem;--bq-spacing-xl:2rem;--bq-spacing-xxl:2.5rem;--bq-spacing-xxl2:3.5rem;--bq-spacing-xxl3:4rem;--bq-spacing-xxl4:4.5rem;--bq-stroke-s:1px;--bq-stroke-m:2px;--bq-stroke-l:3px}.beeq:not([bq-mode]),.light,:root:not([bq-theme]):not([bq-mode]),:root[bq-theme=beeq]:not([bq-mode]),[bq-mode=light]{--bq-background--primary:var(--bq-white);--bq-background--secondary:var(--bq-neutral-100);--bq-background--tertiary:var(--bq-neutral-200);--bq-background--alt:var(--bq-neutral-300);--bq-background--inverse:var(--bq-neutral-900);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-800);--bq-icon--alt:var(--bq-white);--bq-icon--secondary:var(--bq-neutral-600);--bq-icon--inverse:var(--bq-neutral-50);--bq-icon--brand:var(--bq-brand);--bq-icon--info:var(--bq-brand);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-200);--bq-stroke--secondary:var(--bq-neutral-600);--bq-stroke--tertiary:var(--bq-neutral-900);--bq-stroke--inverse:var(--bq-white);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-50);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-brand);--bq-text--primary:var(--bq-neutral-800);--bq-text--secondary:var(--bq-neutral-600);--bq-text--inverse:var(--bq-neutral-50);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-brand);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-white);--bq-ui--secondary:var(--bq-neutral-100);--bq-ui--tertiary:var(--bq-neutral-500);--bq-ui--inverse:var(--bq-neutral-900);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-light);--bq-ui--alt:var(--bq-neutral-50);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-light);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-light);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-light);--bq-ui--info:var(--bq-brand);--bq-ui--info-alt:var(--bq-brand-light);--bq-hover:#bcbfc5;--bq-active:#444546}.dark,[bq-mode=dark]{--bq-background--primary:var(--bq-neutral-1000);--bq-background--secondary:var(--bq-neutral-950);--bq-background--tertiary:var(--bq-neutral-800);--bq-background--alt:var(--bq-neutral-700);--bq-background--inverse:var(--bq-neutral-600);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-100);--bq-icon--secondary:var(--bq-neutral-400);--bq-icon--inverse:var(--bq-neutral-800);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-brand);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-900);--bq-stroke--secondary:var(--bq-neutral-700);--bq-stroke--tertiary:var(--bq-neutral-400);--bq-stroke--inverse:var(--bq-neutral-950);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-1000);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-brand);--bq-text--primary:var(--bq-neutral-100);--bq-text--secondary:var(--bq-neutral-400);--bq-text--inverse:var(--bq-neutral-800);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-brand);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-neutral-900);--bq-ui--secondary:var(--bq-neutral-950);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-brand);--bq-ui--info-alt:var(--bq-brand-dark);--bq-hover:#444546;--bq-active:#1f2026}:where(.endava),:where([bq-theme=endava]){--bq-font-family:"Poppins",sans-serif;--bq-white:#fafbfb;--bq-black:#030406;--bq-neutral-50:var(--bq-endava-grey-50);--bq-neutral-100:var(--bq-endava-grey-100);--bq-neutral-200:var(--bq-endava-grey-200);--bq-neutral-300:var(--bq-endava-grey-300);--bq-neutral-400:var(--bq-endava-grey-400);--bq-neutral-500:var(--bq-endava-grey-500);--bq-neutral-600:var(--bq-endava-grey-600);--bq-neutral-700:var(--bq-endava-grey-700);--bq-neutral-800:var(--bq-endava-grey-800);--bq-neutral-900:var(--bq-endava-grey-900);--bq-neutral-950:var(--bq-endava-grey-950);--bq-neutral-1000:var(--bq-endava-grey-1000);--bq-brand-light:var(--bq-endava-orange-100);--bq-brand:var(--bq-endava-orange-600);--bq-brand-dark:var(--bq-endava-orange-1000);--bq-accent-light:var(--bq-endava-orange-100);--bq-accent:var(--bq-endava-orange-600);--bq-accent-dark:var(--bq-endava-orange-1000);--bq-success-light:var(--bq-green-100);--bq-success:var(--bq-green-600);--bq-success-dark:var(--bq-green-1000);--bq-danger-light:var(--bq-corai-100);--bq-danger:var(--bq-corai-600);--bq-danger-dark:var(--bq-corai-1000);--bq-warning-light:var(--bq-yellow-100);--bq-warning:var(--bq-yellow-600);--bq-warning-dark:var(--bq-yellow-1000);--bq-info-light:var(--bq-blue-100);--bq-info:var(--bq-blue-600);--bq-info-dark:var(--bq-blue-1000);--bq-focus:var(--bq-endava-orange-600);--bq-data-01:var(--bq-brand);--bq-data-02:#af0cd8;--bq-data-03:#0ca8d8;--bq-data-04:var(--bq-teal-600);--bq-data-05:var(--bq-yellow-600);--bq-data-06:var(--bq-orange-600);--bq-data-07:var(--bq-blue-600);--bq-data-08:var(--bq-red-600);--bq-data-09:var(--bq-purple-600);--bq-data-10:#394b56;--bq-data-11:var(--bq-black);--bq-data-12:var(--bq-white)}.endava.light,.endava:not([bq-mode]),[bq-theme=endava]:not([bq-mode]),[bq-theme=endava][bq-mode=light]{--bq-background--primary:var(--bq-white);--bq-background--secondary:var(--bq-neutral-100);--bq-background--tertiary:var(--bq-neutral-200);--bq-background--alt:var(--bq-neutral-300);--bq-background--inverse:var(--bq-neutral-900);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-800);--bq-icon--secondary:var(--bq-neutral-600);--bq-icon--inverse:var(--bq-neutral-50);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-info);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-200);--bq-stroke--secondary:var(--bq-neutral-600);--bq-stroke--tertiary:var(--bq-neutral-900);--bq-stroke--inverse:var(--bq-white);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-50);--bq-stroke--brand-alt:var(--bq-brand-light);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-info);--bq-text--primary:var(--bq-neutral-800);--bq-text--secondary:var(--bq-neutral-600);--bq-text--inverse:var(--bq-neutral-50);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-info);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-white);--bq-ui--secondary:var(--bq-neutral-100);--bq-ui--tertiary:var(--bq-neutral-500);--bq-ui--inverse:var(--bq-neutral-900);--bq-ui--alt:var(--bq-neutral-50);--bq-ui--brand-alt:var(--bq-brand-light);--bq-ui--brand:var(--bq-brand);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-light);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-light);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-light);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-light);--bq-hover:#444546;--bq-active:#1f2026}.endava.dark,[bq-theme=endava][bq-mode=dark]{--bq-background--primary:var(--bq-neutral-1000);--bq-background--secondary:var(--bq-neutral-900);--bq-background--tertiary:var(--bq-neutral-800);--bq-background--alt:var(--bq-neutral-700);--bq-background--inverse:var(--bq-neutral-600);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-100);--bq-icon--secondary:var(--bq-neutral-400);--bq-icon--inverse:var(--bq-neutral-800);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-info);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-900);--bq-stroke--secondary:var(--bq-neutral-700);--bq-stroke--tertiary:var(--bq-neutral-400);--bq-stroke--inverse:var(--bq-neutral-950);--bq-stroke--brand:var(--bq-brand);--bq-stroke--brand-alt:var(--bq-brand-dark);--bq-stroke--alt:var(--bq-neutral-1000);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-info);--bq-text--primary:var(--bq-neutral-100);--bq-text--secondary:var(--bq-neutral-400);--bq-text--inverse:var(--bq-neutral-800);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-neutral-white);--bq-text--info:var(--bq-info);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-neutral-900);--bq-ui--secondary:var(--bq-neutral-950);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-dark);--bq-hover:#444546;--bq-active:#1f2026}.block{display:block}@-webkit-keyframes fade-in{0%{opacity:0}}@keyframes fade-in{0%{opacity:0}}@-webkit-keyframes slide-in{0%{-webkit-transform:translateY(10px);transform:translateY(10px)}}@keyframes slide-in{0%{-webkit-transform:translateY(10px);transform:translateY(10px)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}:host{--bq-accordion-group--gap:var(--bq-spacing-xs);display:block}.static{position:static}.flex{display:flex}.flex-col{flex-direction:column}.gap-\\[--bq-accordion-group--gap\\]{gap:var(--bq-accordion-group--gap)}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}`;const t=class{constructor(r){a(this,r)}get el(){return r(this)}appearance="filled";expandAll;noAnimation=false;multiple=false;size="medium";checkPropValues(){this.bqAccordionElements.forEach((a=>{if(!e(this.expandAll)){a.expanded=this.expandAll}a.appearance=this.appearance;a.noAnimation=this.noAnimation;a.size=this.size}))}onBqClick(a){const{detail:r}=a;if(!q(r,"bq-accordion")||!this.el.contains(r))return;if(this.multiple)return;this.bqAccordionElements.forEach((r=>{if(r===a.detail)return;r.expanded=false}))}componentWillLoad(){this.checkPropValues()}get bqAccordionElements(){return Array.from(this.el.querySelectorAll("bq-accordion"))}render(){return b("div",{class:"flex flex-col gap-[--bq-accordion-group--gap]",part:"base",children:b("slot",{},"72b21ed37ad96002f3e15c4c2268bfb69e34929e")},"2697a74a88fc4266bd32bf6fb73614a36e55fd59")}static get watchers(){return{appearance:[{checkPropValues:0}],expandAll:[{checkPropValues:0}],noAnimation:[{checkPropValues:0}],size:[{checkPropValues:0}]}}};t.style=n();export{t as bq_accordion_group};
|
|
6
|
+
//# sourceMappingURL=p-04dac1c6.entry.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["bqAccordionGroupCss","BqAccordionGroup","appearance","expandAll","noAnimation","multiple","size","checkPropValues","this","bqAccordionElements","forEach","bqAccordionElement","isNil","expanded","onBqClick","event","detail","bqElem","isHTMLElement","el","contains","componentWillLoad","Array","from","querySelectorAll","render","_jsx","class","part","children"],"sources":["../../packages/beeq/src/components/accordion-group/scss/bq-accordion-group.scss?tag=bq-accordion-group&encapsulation=shadow","../../packages/beeq/src/components/accordion-group/bq-accordion-group.tsx"],"sourcesContent":["/* -------------------------------------------------------------------------- */\n/* Accordion group styles */\n/* -------------------------------------------------------------------------- */\n\n@import './bq-accordion-group.variables';\n\n:host {\n @apply block;\n}\n","import { Component, Element, Listen, Prop, Watch } from '@stencil/core';\n\nimport { isHTMLElement, isNil } from '../../shared/utils';\nimport type { TAccordionAppearance, TAccordionSize } from '../accordion/bq-accordion.types';\n\n/**\n * The accordion group component is a container for multiple accordion elements.\n * It allows to manage the appearance and size of all accordions at once.\n *\n * @example How to use it\n * ```html\n * <bq-accordion-group appearance=\"filled\" size=\"medium\">\n * <bq-accordion> ... </bq-accordion>\n * <bq-accordion> ... </bq-accordion>\n * <bq-accordion> ... </bq-accordion>\n * </bq-accordion-group>\n * ```\n *\n * @documentation https://www.beeq.design/3d466e231/p/713eae-accordion\n * @status stable\n *\n * @attr {\"filled\" | \"ghost\"} [appearance=\"filled\"] - The appearance style of accordion to be applied to all accordions\n * @attr {boolean} [expandAll=false] - If true all accordions are expanded\n * @attr {boolean} [no-animation=false] - Animation is set through JS when the browser does not support CSS calc-size() If true, the accordion animation, will be disabled. No animation will be applied.\n * @attr {boolean} [multiple=false] - If true multiple accordions can be expanded at the same time\n * @attr {\"small\" | \"medium\"} [size=\"medium\"] - The size of accordion to be applied to all accordions\n *\n * @slot - The default slot where the bq-accordion elements are placed.\n *\n * @part base - The component's base wrapper.\n *\n * @cssprop --bq-accordion-group--gap - Accordion group distance between elements\n */\n@Component({\n tag: 'bq-accordion-group',\n styleUrl: './scss/bq-accordion-group.scss',\n shadow: true,\n})\nexport class BqAccordionGroup {\n // Own Properties\n // ====================\n\n // Reference to host HTML element\n // ===================================\n\n @Element() el!: HTMLBqAccordionGroupElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n // Public Property API\n // ========================\n\n /** The appearance style of accordion to be applied to all accordions */\n @Prop({ reflect: true, mutable: true }) appearance: TAccordionAppearance = 'filled';\n\n /** If true all accordions are expanded */\n @Prop({ reflect: true }) expandAll: boolean;\n\n /**\n * Animation is set through JS when the browser does not support CSS calc-size()\n * If true, the accordion animation, will be disabled. No animation will be applied.\n */\n @Prop({ reflect: true }) noAnimation: boolean = false;\n\n /** If true multiple accordions can be expanded at the same time */\n @Prop({ reflect: true }) multiple: boolean = false;\n\n /** The size of accordion to be applied to all accordions */\n @Prop({ reflect: true, mutable: true }) size: TAccordionSize = 'medium';\n\n // Prop lifecycle events\n // =======================\n\n @Watch('appearance')\n @Watch('expandAll')\n @Watch('noAnimation')\n @Watch('size')\n checkPropValues() {\n this.bqAccordionElements.forEach((bqAccordionElement) => {\n // NOTE: if expandAll is nil we will keep accordion default state\n if (!isNil(this.expandAll)) {\n bqAccordionElement.expanded = this.expandAll;\n }\n bqAccordionElement.appearance = this.appearance;\n bqAccordionElement.noAnimation = this.noAnimation;\n bqAccordionElement.size = this.size;\n });\n }\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n @Listen('bqClick', { passive: true })\n onBqClick(event: CustomEvent<HTMLBqAccordionElement>) {\n const { detail: bqElem } = event;\n // Make sure the event is coming from a bq-accordion element and its a child of the bq-accordion-group\n if (!isHTMLElement(bqElem, 'bq-accordion') || !this.el.contains(bqElem)) return;\n // We keep default behavior if multiple accordion can be expanded\n if (this.multiple) return;\n\n this.bqAccordionElements.forEach((bqAccordionElement) => {\n if (bqAccordionElement === event.detail) return;\n\n bqAccordionElement.expanded = false;\n });\n }\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n componentWillLoad() {\n this.checkPropValues();\n }\n\n // Listeners\n // ==============\n\n // Public methods API\n // These methods are exposed on the host element.\n // Always use two lines.\n // Public Methods must be async.\n // Requires JSDocs for public API documentation.\n // ===============================================\n\n // Local methods\n // Internal business logic.\n // These methods cannot be called from the host element.\n // =======================================================\n\n private get bqAccordionElements(): HTMLBqAccordionElement[] {\n return Array.from(this.el.querySelectorAll('bq-accordion'));\n }\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n return (\n <div class=\"flex flex-col gap-[--bq-accordion-group--gap]\" part=\"base\">\n <slot />\n </div>\n );\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["bqAccordionGroupCss","BqAccordionGroup","appearance","expandAll","noAnimation","multiple","size","checkPropValues","this","bqAccordionElements","forEach","bqAccordionElement","isNil","expanded","onBqClick","event","detail","bqElem","isHTMLElement","el","contains","componentWillLoad","Array","from","querySelectorAll","render","_jsx","class","part","children"],"sources":["../../packages/beeq/src/components/accordion-group/scss/bq-accordion-group.scss?tag=bq-accordion-group&encapsulation=shadow","../../packages/beeq/src/components/accordion-group/bq-accordion-group.tsx"],"sourcesContent":["/* -------------------------------------------------------------------------- */\n/* Accordion group styles */\n/* -------------------------------------------------------------------------- */\n\n@import './bq-accordion-group.variables';\n\n:host {\n @apply block;\n}\n","import { Component, Element, Listen, Prop, Watch } from '@stencil/core';\n\nimport { isHTMLElement, isNil } from '../../shared/utils';\nimport type { TAccordionAppearance, TAccordionSize } from '../accordion/bq-accordion.types';\n\n/**\n * The accordion group component is a container for multiple accordion elements.\n * It allows to manage the appearance and size of all accordions at once.\n *\n * @example How to use it\n * ```html\n * <bq-accordion-group appearance=\"filled\" size=\"medium\">\n * <bq-accordion> ... </bq-accordion>\n * <bq-accordion> ... </bq-accordion>\n * <bq-accordion> ... </bq-accordion>\n * </bq-accordion-group>\n * ```\n *\n * @documentation https://www.beeq.design/3d466e231/p/713eae-accordion\n * @status stable\n *\n * @attr {\"filled\" | \"ghost\"} [appearance=\"filled\"] - The appearance style of accordion to be applied to all accordions\n * @attr {boolean} [expandAll=false] - If true all accordions are expanded\n * @attr {boolean} [no-animation=false] - Animation is set through JS when the browser does not support CSS calc-size() If true, the accordion animation, will be disabled. No animation will be applied.\n * @attr {boolean} [multiple=false] - If true multiple accordions can be expanded at the same time\n * @attr {\"small\" | \"medium\"} [size=\"medium\"] - The size of accordion to be applied to all accordions\n *\n * @slot - The default slot where the bq-accordion elements are placed.\n *\n * @part base - The component's base wrapper.\n *\n * @cssprop --bq-accordion-group--gap - Accordion group distance between elements\n */\n@Component({\n tag: 'bq-accordion-group',\n styleUrl: './scss/bq-accordion-group.scss',\n shadow: true,\n})\nexport class BqAccordionGroup {\n // Own Properties\n // ====================\n\n // Reference to host HTML element\n // ===================================\n\n @Element() el!: HTMLBqAccordionGroupElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n // Public Property API\n // ========================\n\n /** The appearance style of accordion to be applied to all accordions */\n @Prop({ reflect: true, mutable: true }) appearance: TAccordionAppearance = 'filled';\n\n /** If true all accordions are expanded */\n @Prop({ reflect: true }) expandAll: boolean;\n\n /**\n * Animation is set through JS when the browser does not support CSS calc-size()\n * If true, the accordion animation, will be disabled. No animation will be applied.\n */\n @Prop({ reflect: true }) noAnimation: boolean = false;\n\n /** If true multiple accordions can be expanded at the same time */\n @Prop({ reflect: true }) multiple: boolean = false;\n\n /** The size of accordion to be applied to all accordions */\n @Prop({ reflect: true, mutable: true }) size: TAccordionSize = 'medium';\n\n // Prop lifecycle events\n // =======================\n\n @Watch('appearance')\n @Watch('expandAll')\n @Watch('noAnimation')\n @Watch('size')\n checkPropValues() {\n this.bqAccordionElements.forEach((bqAccordionElement) => {\n // NOTE: if expandAll is nil we will keep accordion default state\n if (!isNil(this.expandAll)) {\n bqAccordionElement.expanded = this.expandAll;\n }\n bqAccordionElement.appearance = this.appearance;\n bqAccordionElement.noAnimation = this.noAnimation;\n bqAccordionElement.size = this.size;\n });\n }\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n @Listen('bqClick', { passive: true })\n onBqClick(event: CustomEvent<HTMLBqAccordionElement>) {\n const { detail: bqElem } = event;\n // Make sure the event is coming from a bq-accordion element and its a child of the bq-accordion-group\n if (!isHTMLElement(bqElem, 'bq-accordion') || !this.el.contains(bqElem)) return;\n // We keep default behavior if multiple accordion can be expanded\n if (this.multiple) return;\n\n this.bqAccordionElements.forEach((bqAccordionElement) => {\n if (bqAccordionElement === event.detail) return;\n\n bqAccordionElement.expanded = false;\n });\n }\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n componentWillLoad() {\n this.checkPropValues();\n }\n\n // Listeners\n // ==============\n\n // Public methods API\n // These methods are exposed on the host element.\n // Always use two lines.\n // Public Methods must be async.\n // Requires JSDocs for public API documentation.\n // ===============================================\n\n // Local methods\n // Internal business logic.\n // These methods cannot be called from the host element.\n // =======================================================\n\n private get bqAccordionElements(): HTMLBqAccordionElement[] {\n return Array.from(this.el.querySelectorAll('bq-accordion'));\n }\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n return (\n <div class=\"flex flex-col gap-[--bq-accordion-group--gap]\" part=\"base\">\n <slot />\n </div>\n );\n }\n}\n"],"mappings":";;;;uJAAA,MAAMA,EAAsB,IAAM,+zmB,MCsCrBC,EAAgB,M,iDAiBaC,WAAmC,SAGlDC,UAMAC,YAAuB,MAGvBC,SAAoB,MAGLC,KAAuB,SAS/D,eAAAC,GACEC,KAAKC,oBAAoBC,SAASC,IAEhC,IAAKC,EAAMJ,KAAKL,WAAY,CAC1BQ,EAAmBE,SAAWL,KAAKL,S,CAErCQ,EAAmBT,WAAaM,KAAKN,WACrCS,EAAmBP,YAAcI,KAAKJ,YACtCO,EAAmBL,KAAOE,KAAKF,IAAI,G,CASvC,SAAAQ,CAAUC,GACR,MAAQC,OAAQC,GAAWF,EAE3B,IAAKG,EAAcD,EAAQ,kBAAoBT,KAAKW,GAAGC,SAASH,GAAS,OAEzE,GAAIT,KAAKH,SAAU,OAEnBG,KAAKC,oBAAoBC,SAASC,IAChC,GAAIA,IAAuBI,EAAMC,OAAQ,OAEzCL,EAAmBE,SAAW,KAAK,G,CAQvC,iBAAAQ,GACEb,KAAKD,iB,CAkBP,uBAAYE,GACV,OAAOa,MAAMC,KAAKf,KAAKW,GAAGK,iBAAiB,gB,CAM7C,MAAAC,GACE,OACEC,EAAA,OAAKC,MAAM,gDAAgDC,KAAK,OAAMC,SACpEH,EAAQ,kG","ignoreList":[]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built by Endavans
|
|
3
|
+
* © https://beeq.design - Apache 2 License.
|
|
4
|
+
*/
|
|
5
|
+
import{r as a,c as r,g as e}from"./p-D1N0tWF3.js";import{j as b,a as t}from"./p-C33fRBEf.js";import{d as n}from"./p-CVw85-WU.js";import{i as q}from"./p-D1A0LpG_.js";import{i}from"./p-BcPwGxIn.js";import{b as o}from"./p-uqkxeAeG.js";const s=()=>`.transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}::backdrop,:root{--bq-blue-100:#e7f0fd;--bq-blue-200:#d0e2fb;--bq-blue-300:#a1c5f7;--bq-blue-400:#73a8f3;--bq-blue-500:#448bef;--bq-blue-600:#156eeb;--bq-blue-700:#1158bc;--bq-blue-800:#0d428d;--bq-blue-900:#082c5e;--bq-blue-1000:#04162f;--bq-corai-100:#fff2f2;--bq-corai-200:#ffe6e6;--bq-corai-300:#ffccce;--bq-corai-400:#ffb3b5;--bq-corai-500:#ff999d;--bq-corai-600:#ff8084;--bq-corai-700:#cc666a;--bq-corai-800:#994d4f;--bq-corai-900:#663335;--bq-corai-1000:#331a1a;--bq-cyan-100:#e8f7fb;--bq-cyan-200:#d2f0f8;--bq-cyan-300:#a5e1f1;--bq-cyan-400:#78d1e9;--bq-cyan-500:#4bc2e2;--bq-cyan-600:#1eb3db;--bq-cyan-700:#188faf;--bq-cyan-800:#126b83;--bq-cyan-900:#0c4858;--bq-cyan-1000:#06242c;--bq-gold-100:#fbf4ec;--bq-gold-200:#f7e9da;--bq-gold-300:#f0d3b6;--bq-gold-400:#e8bc91;--bq-gold-500:#e1a66d;--bq-gold-600:#d99048;--bq-gold-700:#ae733a;--bq-gold-800:#82562b;--bq-gold-900:#573a1d;--bq-gold-1000:#2b1d0e;--bq-green-100:#e8f8ef;--bq-green-200:#d2f1e0;--bq-green-300:#a5e3c1;--bq-green-400:#78d5a1;--bq-green-500:#4bc782;--bq-green-600:#1eb963;--bq-green-700:#18944f;--bq-green-800:#126f3b;--bq-green-900:#0c4a28;--bq-green-1000:#062514;--bq-grey-100:#f1f2f4;--bq-grey-200:#e7e8eb;--bq-grey-300:#caccd2;--bq-grey-400:#a6aab3;--bq-grey-50:#f6f6f8;--bq-grey-500:#898e99;--bq-grey-600:#646a77;--bq-grey-700:#3f4350;--bq-grey-800:#2a2c35;--bq-grey-900:#1c1d23;--bq-grey-950:#15161a;--bq-grey-1000:#0d0e11;--bq-indigo-100:#edecfc;--bq-indigo-200:#dcdafa;--bq-indigo-300:#b9b5f5;--bq-indigo-400:#9590ef;--bq-indigo-500:#726bea;--bq-indigo-600:#4f46e5;--bq-indigo-700:#3f38b7;--bq-indigo-800:#2f2a89;--bq-indigo-900:#201c5c;--bq-indigo-1000:#100e2e;--bq-iris-100:#e9f0ff;--bq-iris-200:#d6e0ff;--bq-iris-300:#b2c0fe;--bq-iris-400:#8691f8;--bq-iris-500:#6061ee;--bq-iris-600:#4f46e5;--bq-iris-700:#413abd;--bq-iris-800:#332e95;--bq-iris-900:#26216d;--bq-iris-1000:#181545;--bq-lime-100:#f5fae8;--bq-lime-200:#ecf6d2;--bq-lime-300:#d9eda5;--bq-lime-400:#c5e379;--bq-lime-500:#b2da4c;--bq-lime-600:#9fd11f;--bq-lime-700:#7fa719;--bq-lime-800:#5f7d13;--bq-lime-900:#40540c;--bq-lime-1000:#202a06;--bq-magenta-100:#fce7f4;--bq-magenta-200:#f9cfea;--bq-magenta-300:#f39fd6;--bq-magenta-400:#ee6fbf;--bq-magenta-500:#e83fab;--bq-magenta-600:#de1395;--bq-magenta-700:#b20f77;--bq-magenta-800:#850c59;--bq-magenta-900:#58083c;--bq-magenta-1000:#2c041e;--bq-neutral-white:#fbfbfc;--bq-neutral-black:#060708;--bq-orange-100:#fbf0e9;--bq-orange-200:#f8e1d4;--bq-orange-300:#f1c2a8;--bq-orange-400:#eaa47d;--bq-orange-500:#e38551;--bq-orange-600:#dc6726;--bq-orange-700:#b0521e;--bq-orange-800:#843e17;--bq-orange-900:#58290f;--bq-orange-1000:#2c1508;--bq-purple-100:#efebf8;--bq-purple-200:#e0d7f2;--bq-purple-300:#c1afe5;--bq-purple-400:#a388d8;--bq-purple-500:#8460cb;--bq-purple-600:#6538be;--bq-purple-700:#512d98;--bq-purple-800:#3d2272;--bq-purple-900:#28164c;--bq-purple-1000:#140b26;--bq-red-100:#fce7ea;--bq-red-200:#f9d1d5;--bq-red-300:#f3a2ac;--bq-red-400:#ed7482;--bq-red-500:#e74559;--bq-red-600:#e1172f;--bq-red-700:#b41226;--bq-red-800:#870e1c;--bq-red-900:#5a0913;--bq-red-1000:#2d0509;--bq-sky-100:#eff4fb;--bq-sky-200:#dfeaf8;--bq-sky-300:#bfd5f1;--bq-sky-400:#9ec1e9;--bq-sky-500:#7eace2;--bq-sky-600:#5e97db;--bq-sky-700:#4b79af;--bq-sky-800:#385b83;--bq-sky-900:#263c58;--bq-sky-1000:#131e2c;--bq-teal-100:#e5f7f5;--bq-teal-200:#ccf0eb;--bq-teal-300:#99e1d8;--bq-teal-400:#66d2c4;--bq-teal-500:#33c3b1;--bq-teal-600:#00b49d;--bq-teal-700:#00907e;--bq-teal-800:#006c5e;--bq-teal-900:#00483f;--bq-teal-1000:#00241f;--bq-volcano-100:#feede7;--bq-volcano-200:#fddbd1;--bq-volcano-300:#fbb8a3;--bq-volcano-400:#fa9474;--bq-volcano-500:#f87146;--bq-volcano-600:#f64d18;--bq-volcano-700:#c53e13;--bq-volcano-800:#942e0e;--bq-volcano-900:#621f0a;--bq-volcano-1000:#310f05;--bq-yellow-100:#fefbe7;--bq-yellow-200:#fcf6d0;--bq-yellow-300:#faeea0;--bq-yellow-400:#f7e571;--bq-yellow-500:#f5dd41;--bq-yellow-600:#f2d412;--bq-yellow-700:#c2aa0e;--bq-yellow-800:#917f0b;--bq-yellow-900:#615507;--bq-yellow-1000:#302a04;--bq-endava-grey-50:#f7f7f8;--bq-endava-grey-100:#e4e6e7;--bq-endava-grey-200:#b5babe;--bq-endava-grey-300:#949ca1;--bq-endava-grey-400:#737d84;--bq-endava-grey-500:#525f67;--bq-endava-grey-600:#30404b;--bq-endava-grey-700:#2b3942;--bq-endava-grey-800:#263139;--bq-endava-grey-900:#192b37;--bq-endava-grey-950:#151b1e;--bq-endava-grey-1000:#0f1316;--bq-endava-neutral-white:#fafbfb;--bq-endava-neutral-black:#060708;--bq-endava-orange-100:#fef3f1;--bq-endava-orange-200:#fbd6d1;--bq-endava-orange-300:#fab7af;--bq-endava-orange-400:#fa988b;--bq-endava-orange-500:#fc7866;--bq-endava-orange-600:#ff5640;--bq-endava-orange-700:#ce4a39;--bq-endava-orange-800:#a03d30;--bq-endava-orange-900:#722e25;--bq-endava-orange-1000:#471e19}*,:after,:before{box-sizing:border-box}*{font:inherit;margin:0}ol[role=list],ul[role=list]{list-style-type:none}html{text-size-adjust:none;font-family:var(--bq-font-family);font-size:var(--bq-font-size--m)}html:focus-within{scroll-behavior:smooth}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--bq-background--primary);color:var(--bq-text--primary);line-height:var(--bq-font-line-height--regular);min-height:100vb;text-rendering:optimizeSpeed}a:not([class]){text-decoration-skip-ink:auto}canvas,img,picture,svg,video{display:block;max-width:100%}button,input,select,textarea{font:inherit}h1,h2,h3,h4,h5,h6,p{overflow-wrap:break-word}@media (prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto;transition-duration:.01ms!important}}:where(:root){--bq-white:#fff;--bq-black:#060708;--bq-neutral-50:var(--bq-grey-50);--bq-neutral-100:var(--bq-grey-100);--bq-neutral-200:var(--bq-grey-200);--bq-neutral-300:var(--bq-grey-300);--bq-neutral-400:var(--bq-grey-400);--bq-neutral-500:var(--bq-grey-500);--bq-neutral-600:var(--bq-grey-600);--bq-neutral-700:var(--bq-grey-700);--bq-neutral-800:var(--bq-grey-800);--bq-neutral-900:var(--bq-grey-900);--bq-neutral-950:var(--bq-grey-950);--bq-neutral-1000:var(--bq-grey-1000);--bq-brand-light:var(--bq-iris-100);--bq-brand:var(--bq-iris-600);--bq-brand-dark:var(--bq-iris-1000);--bq-accent-light:var(--bq-purple-100);--bq-accent:var(--bq-purple-600);--bq-accent-dark:var(--bq-purple-1000);--bq-success-light:var(--bq-teal-100);--bq-success:var(--bq-teal-600);--bq-success-dark:var(--bq-teal-1000);--bq-danger-light:var(--bq-red-100);--bq-danger:var(--bq-red-600);--bq-danger-dark:var(--bq-red-1000);--bq-warning-light:var(--bq-gold-100);--bq-warning:var(--bq-gold-600);--bq-warning-dark:var(--bq-gold-1000);--bq-info-light:var(--bq-iris-100);--bq-info:var(--bq-iris-600);--bq-info-dark:var(--bq-iris-1000);--bq-focus:var(--bq-iris-600);--bq-data-01:var(--bq-brand);--bq-data-02:var(--bq-purple-600);--bq-data-03:var(--bq-magenta-600);--bq-data-04:var(--bq-cyan-600);--bq-data-05:var(--bq-teal-600);--bq-data-06:var(--bq-orange-600);--bq-data-07:var(--bq-yellow-600);--bq-data-08:var(--bq-red-600);--bq-data-09:var(--bq-blue-600);--bq-data-10:var(--bq-grey-600);--bq-data-11:var(--bq-black);--bq-data-12:var(--bq-white);--bq-radius--none:0;--bq-radius--xs2:0.125rem;--bq-radius--xs:0.25rem;--bq-radius--s:0.5rem;--bq-radius--m:0.75rem;--bq-radius--l:1.5rem;--bq-radius--full:9999px;--bq-box-shadow--xs:0 2px 0 rgba(0,0,0,.016);--bq-box-shadow--s:0 8px 24px rgba(0,0,0,.04);--bq-box-shadow--m:0 10px 48px -16px rgba(0,0,0,.12);--bq-box-shadow--l:0 20px 58px -16px rgba(0,0,0,.16);--bq-font-family:"Outfit",sans-serif;--bq-font-size--xs:0.75rem;--bq-font-size--s:0.875rem;--bq-font-size--m:1rem;--bq-font-size--l:1.125rem;--bq-font-size--xl:1.5rem;--bq-font-size--xxl:2rem;--bq-font-size--xxl2:2.5rem;--bq-font-size--xxl3:3rem;--bq-font-size--xxl4:3.5rem;--bq-font-size--xxl5:4rem;--bq-font-weight--thin:100;--bq-font-weight--light:300;--bq-font-weight--regular:400;--bq-font-weight--medium:500;--bq-font-weight--semibold:600;--bq-font-weight--bold:700;--bq-font-line-height--small:1.2;--bq-font-line-height--regular:1.5;--bq-font-line-height--large:1.5;--bq-spacing-xs3:0.125rem;--bq-spacing-xs2:0.25rem;--bq-spacing-xs:0.5rem;--bq-spacing-s:0.75rem;--bq-spacing-m:1rem;--bq-spacing-l:1.5rem;--bq-spacing-xl:2rem;--bq-spacing-xxl:2.5rem;--bq-spacing-xxl2:3.5rem;--bq-spacing-xxl3:4rem;--bq-spacing-xxl4:4.5rem;--bq-stroke-s:1px;--bq-stroke-m:2px;--bq-stroke-l:3px}.beeq:not([bq-mode]),.light,:root:not([bq-theme]):not([bq-mode]),:root[bq-theme=beeq]:not([bq-mode]),[bq-mode=light]{--bq-background--primary:var(--bq-white);--bq-background--secondary:var(--bq-neutral-100);--bq-background--tertiary:var(--bq-neutral-200);--bq-background--alt:var(--bq-neutral-300);--bq-background--inverse:var(--bq-neutral-900);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-800);--bq-icon--alt:var(--bq-white);--bq-icon--secondary:var(--bq-neutral-600);--bq-icon--inverse:var(--bq-neutral-50);--bq-icon--brand:var(--bq-brand);--bq-icon--info:var(--bq-brand);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-200);--bq-stroke--secondary:var(--bq-neutral-600);--bq-stroke--tertiary:var(--bq-neutral-900);--bq-stroke--inverse:var(--bq-white);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-50);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-brand);--bq-text--primary:var(--bq-neutral-800);--bq-text--secondary:var(--bq-neutral-600);--bq-text--inverse:var(--bq-neutral-50);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-brand);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-white);--bq-ui--secondary:var(--bq-neutral-100);--bq-ui--tertiary:var(--bq-neutral-500);--bq-ui--inverse:var(--bq-neutral-900);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-light);--bq-ui--alt:var(--bq-neutral-50);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-light);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-light);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-light);--bq-ui--info:var(--bq-brand);--bq-ui--info-alt:var(--bq-brand-light);--bq-hover:#bcbfc5;--bq-active:#444546}.dark,[bq-mode=dark]{--bq-background--primary:var(--bq-neutral-1000);--bq-background--secondary:var(--bq-neutral-950);--bq-background--tertiary:var(--bq-neutral-800);--bq-background--alt:var(--bq-neutral-700);--bq-background--inverse:var(--bq-neutral-600);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-100);--bq-icon--secondary:var(--bq-neutral-400);--bq-icon--inverse:var(--bq-neutral-800);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-brand);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-900);--bq-stroke--secondary:var(--bq-neutral-700);--bq-stroke--tertiary:var(--bq-neutral-400);--bq-stroke--inverse:var(--bq-neutral-950);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-1000);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-brand);--bq-text--primary:var(--bq-neutral-100);--bq-text--secondary:var(--bq-neutral-400);--bq-text--inverse:var(--bq-neutral-800);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-brand);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-neutral-900);--bq-ui--secondary:var(--bq-neutral-950);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-brand);--bq-ui--info-alt:var(--bq-brand-dark);--bq-hover:#444546;--bq-active:#1f2026}:where(.endava),:where([bq-theme=endava]){--bq-font-family:"Poppins",sans-serif;--bq-white:#fafbfb;--bq-black:#030406;--bq-neutral-50:var(--bq-endava-grey-50);--bq-neutral-100:var(--bq-endava-grey-100);--bq-neutral-200:var(--bq-endava-grey-200);--bq-neutral-300:var(--bq-endava-grey-300);--bq-neutral-400:var(--bq-endava-grey-400);--bq-neutral-500:var(--bq-endava-grey-500);--bq-neutral-600:var(--bq-endava-grey-600);--bq-neutral-700:var(--bq-endava-grey-700);--bq-neutral-800:var(--bq-endava-grey-800);--bq-neutral-900:var(--bq-endava-grey-900);--bq-neutral-950:var(--bq-endava-grey-950);--bq-neutral-1000:var(--bq-endava-grey-1000);--bq-brand-light:var(--bq-endava-orange-100);--bq-brand:var(--bq-endava-orange-600);--bq-brand-dark:var(--bq-endava-orange-1000);--bq-accent-light:var(--bq-endava-orange-100);--bq-accent:var(--bq-endava-orange-600);--bq-accent-dark:var(--bq-endava-orange-1000);--bq-success-light:var(--bq-green-100);--bq-success:var(--bq-green-600);--bq-success-dark:var(--bq-green-1000);--bq-danger-light:var(--bq-corai-100);--bq-danger:var(--bq-corai-600);--bq-danger-dark:var(--bq-corai-1000);--bq-warning-light:var(--bq-yellow-100);--bq-warning:var(--bq-yellow-600);--bq-warning-dark:var(--bq-yellow-1000);--bq-info-light:var(--bq-blue-100);--bq-info:var(--bq-blue-600);--bq-info-dark:var(--bq-blue-1000);--bq-focus:var(--bq-endava-orange-600);--bq-data-01:var(--bq-brand);--bq-data-02:#af0cd8;--bq-data-03:#0ca8d8;--bq-data-04:var(--bq-teal-600);--bq-data-05:var(--bq-yellow-600);--bq-data-06:var(--bq-orange-600);--bq-data-07:var(--bq-blue-600);--bq-data-08:var(--bq-red-600);--bq-data-09:var(--bq-purple-600);--bq-data-10:#394b56;--bq-data-11:var(--bq-black);--bq-data-12:var(--bq-white)}.endava.light,.endava:not([bq-mode]),[bq-theme=endava]:not([bq-mode]),[bq-theme=endava][bq-mode=light]{--bq-background--primary:var(--bq-white);--bq-background--secondary:var(--bq-neutral-100);--bq-background--tertiary:var(--bq-neutral-200);--bq-background--alt:var(--bq-neutral-300);--bq-background--inverse:var(--bq-neutral-900);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-800);--bq-icon--secondary:var(--bq-neutral-600);--bq-icon--inverse:var(--bq-neutral-50);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-info);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-200);--bq-stroke--secondary:var(--bq-neutral-600);--bq-stroke--tertiary:var(--bq-neutral-900);--bq-stroke--inverse:var(--bq-white);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-50);--bq-stroke--brand-alt:var(--bq-brand-light);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-info);--bq-text--primary:var(--bq-neutral-800);--bq-text--secondary:var(--bq-neutral-600);--bq-text--inverse:var(--bq-neutral-50);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-info);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-white);--bq-ui--secondary:var(--bq-neutral-100);--bq-ui--tertiary:var(--bq-neutral-500);--bq-ui--inverse:var(--bq-neutral-900);--bq-ui--alt:var(--bq-neutral-50);--bq-ui--brand-alt:var(--bq-brand-light);--bq-ui--brand:var(--bq-brand);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-light);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-light);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-light);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-light);--bq-hover:#444546;--bq-active:#1f2026}.endava.dark,[bq-theme=endava][bq-mode=dark]{--bq-background--primary:var(--bq-neutral-1000);--bq-background--secondary:var(--bq-neutral-900);--bq-background--tertiary:var(--bq-neutral-800);--bq-background--alt:var(--bq-neutral-700);--bq-background--inverse:var(--bq-neutral-600);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-100);--bq-icon--secondary:var(--bq-neutral-400);--bq-icon--inverse:var(--bq-neutral-800);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-info);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-900);--bq-stroke--secondary:var(--bq-neutral-700);--bq-stroke--tertiary:var(--bq-neutral-400);--bq-stroke--inverse:var(--bq-neutral-950);--bq-stroke--brand:var(--bq-brand);--bq-stroke--brand-alt:var(--bq-brand-dark);--bq-stroke--alt:var(--bq-neutral-1000);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-info);--bq-text--primary:var(--bq-neutral-100);--bq-text--secondary:var(--bq-neutral-400);--bq-text--inverse:var(--bq-neutral-800);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-neutral-white);--bq-text--info:var(--bq-info);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-neutral-900);--bq-ui--secondary:var(--bq-neutral-950);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-dark);--bq-hover:#444546;--bq-active:#1f2026}.block{display:block}.flex-auto{flex:1 1 auto}.resize-y{resize:vertical}.rounded-\\[--bq-textarea--border-radius\\]{border-radius:var(--bq-textarea--border-radius)}.border-\\[length\\:--bq-textarea--border-width\\]{border-width:var(--bq-textarea--border-width)}.border-\\[color\\:--bq-ring-color-focus\\]{border-color:var(--bq-ring-color-focus)}.border-\\[color\\:--bq-textarea--border-color\\]{border-color:var(--bq-textarea--border-color)}.border-danger{border-color:var(--bq-stroke--danger)}.border-success{border-color:var(--bq-stroke--success)}.border-warning{border-color:var(--bq-stroke--warning)}.bg-\\[--bq-textarea--background-color\\]{background-color:var(--bq-textarea--background-color)}.pe-\\[--bq-textarea--padding-end\\]{padding-inline-end:var(--bq-textarea--padding-end)}.ps-\\[--bq-textarea--padding-start\\]{padding-inline-start:var(--bq-textarea--padding-start)}.text-\\[length\\:--bq-textarea--helper-text-size\\]{font-size:var(--bq-textarea--helper-text-size)}.text-\\[length\\:--bq-textarea--label-text-size\\]{font-size:var(--bq-textarea--label-text-size)}.text-\\[length\\:--bq-textarea--text-size\\]{font-size:var(--bq-textarea--text-size)}.text-\\[color\\:--bq-textarea--helper-text-color\\]{color:var(--bq-textarea--helper-text-color)}.text-\\[color\\:--bq-textarea--label-text-color\\]{color:var(--bq-textarea--label-text-color)}.text-\\[color\\:--bq-textarea--text-color\\]{color:var(--bq-textarea--text-color)}.text-danger{color:var(--bq-text--danger)}.text-success{color:var(--bq-text--success)}.text-warning{color:var(--bq-text--warning)}.opacity-60{opacity:.6}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.border-active-danger{border-color:color-mix(in srgb,var(--bq-stroke--danger),var(--bq-active) 20%)}.border-active-success{border-color:color-mix(in srgb,var(--bq-stroke--success),var(--bq-active) 20%)}.border-active-warning{border-color:color-mix(in srgb,var(--bq-stroke--warning),var(--bq-active) 20%)}.bs-\\[inherit\\]{block-size:inherit}.is-full{inline-size:100%}.p-b-\\[--bq-textarea--paddingY\\]{padding-block:var(--bq-textarea--paddingY)}.m-be-\\[--bq-textarea--label-margin-bottom\\]{margin-block-end:var(--bq-textarea--label-margin-bottom)}.m-bs-\\[--bq-textarea--helper-margin-top\\]{margin-block-start:var(--bq-textarea--helper-margin-top)}.focus{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}@-webkit-keyframes fade-in{0%{opacity:0}}@keyframes fade-in{0%{opacity:0}}@-webkit-keyframes slide-in{0%{-webkit-transform:translateY(10px);transform:translateY(10px)}}@keyframes slide-in{0%{-webkit-transform:translateY(10px);transform:translateY(10px)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}:host{--bq-textarea--background-color:transparent;--bq-textarea--border-color:var(--bq-stroke--tertiary);--bq-textarea--border-color-focus:var(--bq-stroke--brand);--bq-textarea--border-radius:var(--bq-radius--s);--bq-textarea--border-width:var(--bq-stroke-s);--bq-textarea--border-style:solid;--bq-textarea--helper-margin-top:var(--bq-spacing-xs);--bq-textarea--helper-text-size:var(--bq-font-size--s);--bq-textarea--helper-text-color:var(--bq-text--primary);--bq-textarea--label-margin-bottom:var(--bq-spacing-xs);--bq-textarea--label-text-size:var(--bq-font-size--s);--bq-textarea--label-text-color:var(--bq-text--primary);--bq-textarea--paddingY:var(--bq-spacing-s);--bq-textarea--padding-start:var(--bq-spacing-m);--bq-textarea--padding-end:var(--bq-spacing-m);--bq-textarea--text-color:var(--bq-text--primary);--bq-textarea--text-size:var(--bq-font-size--m);--bq-textarea--text-placeholder-color:var(--bq-text--secondary);display:block;inline-size:100%}.bq-textarea__label{color:var(--bq-textarea--label-text-color);font-size:var(--bq-textarea--label-text-size);margin-block-end:var(--bq-textarea--label-margin-bottom)}.bq-textarea__input{background-color:var(--bq-textarea--background-color);block-size:inherit;border-color:var(--bq-textarea--border-color);border-radius:var(--bq-textarea--border-radius);border-width:var(--bq-textarea--border-width);color:var(--bq-textarea--text-color);flex:1 1 auto;font-size:var(--bq-textarea--text-size);padding-block:var(--bq-textarea--paddingY);padding-inline-end:var(--bq-textarea--padding-end);padding-inline-start:var(--bq-textarea--padding-start);resize:vertical;transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.bq-textarea__input::placeholder{color:var(--bq-textarea--text-placeholder-color)}.bq-textarea__input:hover:not([disabled]):not(:focus-within){border-color:color-mix(in srgb,var(--bq-stroke--brand),var(--bq-hover) 20%)}.bq-textarea__input:disabled{cursor:not-allowed;opacity:.6}.bq-textarea__input:not([disabled]):focus-within{--bq-ring-width:1px;--bq-ring-offset-width:0;--bq-ring-color-focus:var(--bq-textarea--border-color-focus);border-color:var(--bq-ring-color-focus);outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}.bq-textarea__input.validation-error{border-color:var(--bq-stroke--danger)}.bq-textarea__input.validation-error:hover:not(.disabled):not(:focus-within){border-color:color-mix(in srgb,var(--bq-stroke--danger),var(--bq-hover) 20%)}.bq-textarea__input.validation-error:not(.disabled):focus-within{--bq-ring-color-focus:var(--bq-stroke--danger);border-color:color-mix(in srgb,var(--bq-stroke--danger),var(--bq-active) 20%)}.bq-textarea__input.validation-success{border-color:var(--bq-stroke--success)}.bq-textarea__input.validation-success:hover:not(.disabled):not(:focus-within){border-color:color-mix(in srgb,var(--bq-stroke--success),var(--bq-hover) 20%)}.bq-textarea__input.validation-success:not(.disabled):focus-within{--bq-ring-color-focus:var(--bq-stroke--success);border-color:color-mix(in srgb,var(--bq-stroke--success),var(--bq-active) 20%)}.bq-textarea__input.validation-warning{border-color:var(--bq-stroke--warning)}.bq-textarea__input.validation-warning:hover:not(.disabled):not(:focus-within){border-color:color-mix(in srgb,var(--bq-stroke--warning),var(--bq-hover) 20%)}.bq-textarea__input.validation-warning:not(.disabled):focus-within{--bq-ring-color-focus:var(--bq-stroke--warning);border-color:color-mix(in srgb,var(--bq-stroke--warning),var(--bq-active) 20%)}.bq-textarea__helper{color:var(--bq-textarea--helper-text-color);font-size:var(--bq-textarea--helper-text-size);margin-block-start:var(--bq-textarea--helper-margin-top)}.bq-textarea__helper.validation-error{color:var(--bq-text--danger)}.bq-textarea__helper.validation-success{color:var(--bq-text--success)}.bq-textarea__helper.validation-warning{color:var(--bq-text--warning)}.bq-textarea__helper[class~=validation-none] .bq-textarea__helper--counter{opacity:.6}.placeholder\\:text-\\[color\\:--bq-textarea--text-placeholder-color\\]::placeholder{color:var(--bq-textarea--text-placeholder-color)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-60:disabled{opacity:.6}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.flex{display:flex}.contents{display:contents}.\\!hidden{display:none!important}.shrink{flex-shrink:1}.grow{flex-grow:1}.resize-none{resize:none}.resize{resize:both}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-xs{gap:var(--bq-spacing-xs)}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.\\[fontVariant\\:tabular-nums\\]{font-variant:tabular-nums}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}`;const l=class{constructor(e){a(this,e);this.bqBlur=r(this,"bqBlur");this.bqChange=r(this,"bqChange");this.bqClear=r(this,"bqClear");this.bqFocus=r(this,"bqFocus");this.bqInput=r(this,"bqInput");if(e.$hostElement$["s-ei"]){this.internals=e.$hostElement$["s-ei"]}else{this.internals=e.$hostElement$.attachInternals();e.$hostElement$["s-ei"]=this.internals}}debounceBqInput;fallbackId="textarea";helperTextElem;labelElem;textarea;internals;get el(){return e(this)}hasHelperText=false;hasLabel=false;autocapitalize="off";autocomplete="off";autofocus=false;autoGrow=false;debounceTime=0;disabled=false;disableResize=false;form;formValidationMessage;maxlength;name;placeholder;readonly=false;required=false;rows=5;spellcheck=false;validationStatus="none";value;wrap="soft";handleValueChange(){if(!this.textarea)return;if(!this.maxlength||this.value?.length<this.maxlength)return;this.value=this.value?.substring(0,this.maxlength);this.textarea.value=this.value??""}handleRequiredPropChange(){this.updateFormValidity()}bqBlur;bqChange;bqClear;bqFocus;bqInput;componentDidLoad(){this.handleSlotChange();this.handleValueChange()}formAssociatedCallback(){this.setFormValue(this.value);this.updateFormValidity()}formResetCallback(){this.clearSelection();this.setFormValue();this.updateFormValidity()}get numberOfCharacters(){if(!this.maxlength||!this.textarea)return 0;return this.value?.length}handleBlur=()=>{if(this.disabled)return;this.bqBlur.emit(this.el)};handleFocus=()=>{if(this.disabled)return;this.bqFocus.emit(this.el)};handleChange=a=>{if(this.disabled)return;if(!q(a.target,"textarea"))return;this.value=a.target.value;this.setFormValue(this.value);this.updateFormValidity();this.bqChange.emit({value:this.value,el:this.el})};handleInput=a=>{if(this.disabled)return;this.debounceBqInput?.cancel();if(!q(a.target,"textarea"))return;this.value=a.target.value;this.debounceBqInput=n((()=>{this.bqInput.emit({value:this.value,el:this.el})}),this.debounceTime);this.debounceBqInput();this.autoResize()};autoResize=()=>{if(!this.autoGrow)return;const a=this.textarea;if(!a)return;a.style.height="auto";a.style.height=`${a.scrollHeight}px`};handleSlotChange=()=>{this.hasLabel=o(this.labelElem);this.hasHelperText=o(this.helperTextElem)};setFormValue=a=>{this.internals.setFormValue(!i(a)?`${a}`:undefined)};updateFormValidity=()=>{const{formValidationMessage:a,internals:r,required:e,value:b,textarea:t}=this;r?.states.clear();if(e&&(!b||b.trim()==="")){r?.states.add("invalid");r?.setValidity({valueMissing:true},a,t);return}r?.states.add("valid");r?.setValidity({})};clearSelection=()=>{this.value="";this.textarea.value=this.value};render(){return b("div",{class:"bq-textarea flex flex-auto flex-col",part:"base",children:[t("label",{"aria-label":this.name??this.fallbackId,class:{"bq-textarea__label":true,"!hidden":!this.hasLabel},htmlFor:this.name??this.fallbackId,part:"label",ref:a=>{this.labelElem=a},children:t("slot",{name:"label",onSlotchange:this.handleSlotChange},"6d02974de11bf31ebb6da60e7608b659ac2d462d")},"8121cff062625dc74d01afe61afd734cbda953ac"),t("textarea",{autocapitalize:this.autocapitalize,autocomplete:this.autocomplete,autofocus:this.autofocus,class:{"bq-textarea__input":true,"resize-none":this.disableResize,[`validation-${this.validationStatus}`]:true},disabled:this.disabled,form:this.form,id:this.name??this.fallbackId,maxLength:this.maxlength>0?this.maxlength:undefined,name:this.name,onBlur:this.handleBlur,onChange:this.handleChange,onFocus:this.handleFocus,onInput:this.handleInput,part:"input",placeholder:this.placeholder,readOnly:this.readonly,ref:a=>{this.textarea=a},required:this.required,rows:this.rows,spellcheck:this.spellcheck,wrap:this.wrap,children:this.value},"28fd67642c49deae46c0e8966df132b752b56725"),b("div",{class:{"bq-textarea__helper flex items-center justify-between":true,[`validation-${this.validationStatus}`]:true,"!hidden":!this.hasHelperText&&!this.maxlength},part:"helper-info",children:[t("span",{class:"bq-textarea__helper--text",part:"helper-text",ref:a=>{this.helperTextElem=a},children:t("slot",{name:"helper-text",onSlotchange:this.handleSlotChange},"31765c8f2f546ffbc95ba26c50830ff86d84d062")},"e331426d3eec275ccaa37c451968cf3c6d1beb67"),b("span",{class:{"bq-textarea__helper--counter [fontVariant:tabular-nums]":true,"!hidden":!this.maxlength},part:"helper-counter",children:[this.numberOfCharacters??0,"/",this.maxlength]},"050123325d09fbadee93eda14b406012faaa998b")]},"2eb37a48714447275eea400a61f78785ba824cf2")]},"79dbf4a3fefa9a9ecc04cfe88a789bfc832a40c6")}static get delegatesFocus(){return true}static get formAssociated(){return true}static get watchers(){return{value:[{handleValueChange:0}],required:[{handleRequiredPropChange:0}]}}};l.style=s();export{l as bq_textarea};
|
|
6
|
+
//# sourceMappingURL=p-08c11d40.entry.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["bqTextareaCss","BqTextarea","debounceBqInput","fallbackId","helperTextElem","labelElem","textarea","internals","hasHelperText","hasLabel","autocapitalize","autocomplete","autofocus","autoGrow","debounceTime","disabled","disableResize","form","formValidationMessage","maxlength","name","placeholder","readonly","required","rows","spellcheck","validationStatus","value","wrap","handleValueChange","this","length","substring","handleRequiredPropChange","updateFormValidity","bqBlur","bqChange","bqClear","bqFocus","bqInput","componentDidLoad","handleSlotChange","formAssociatedCallback","setFormValue","formResetCallback","clearSelection","numberOfCharacters","handleBlur","emit","el","handleFocus","handleChange","ev","isHTMLElement","target","handleInput","cancel","debounce","autoResize","inputElem","style","height","scrollHeight","hasSlotContent","isNil","undefined","states","clear","trim","add","setValidity","valueMissing","render","_jsxs","class","part","children","_jsx","htmlFor","ref","label","onSlotchange","id","maxLength","onBlur","onChange","onFocus","onInput","readOnly","elem","span"],"sources":["../../packages/beeq/src/components/textarea/scss/bq-textarea.scss?tag=bq-textarea&encapsulation=shadow","../../packages/beeq/src/components/textarea/bq-textarea.tsx"],"sourcesContent":["/* -------------------------------------------------------------------------- */\n/* Textarea styles */\n/* -------------------------------------------------------------------------- */\n\n@import './bq-textarea.variables';\n\n:host {\n @apply block is-full;\n}\n\n/* -------------------------------------------------------------------------- */\n/* Label */\n/* -------------------------------------------------------------------------- */\n\n.bq-textarea__label {\n @apply text-[length:--bq-textarea--label-text-size] text-[color:--bq-textarea--label-text-color] m-be-[--bq-textarea--label-margin-bottom];\n}\n\n/* -------------------------------------------------------------------------- */\n/* Native HTML Textarea control */\n/* -------------------------------------------------------------------------- */\n\n.bq-textarea__input {\n @apply flex-auto resize-y bg-[--bq-textarea--background-color] bs-[inherit];\n // Border\n @apply rounded-[--bq-textarea--border-radius] border-[length:--bq-textarea--border-width] border-[color:--bq-textarea--border-color];\n // Padding\n @apply pe-[--bq-textarea--padding-end] ps-[--bq-textarea--padding-start] p-b-[--bq-textarea--paddingY];\n // Text\n @apply text-[length:--bq-textarea--text-size] text-[color:--bq-textarea--text-color] placeholder:text-[color:--bq-textarea--text-placeholder-color];\n // Transition\n @apply transition-colors ease-in-out;\n // Hover\n @apply [&:not([disabled]):not(:focus-within)]:hover:border-hover-brand;\n // Disabled\n @apply disabled:cursor-not-allowed disabled:opacity-60;\n // Focus\n &:not([disabled]):focus-within {\n --bq-ring-width: 1px;\n --bq-ring-offset-width: 0;\n --bq-ring-color-focus: var(--bq-textarea--border-color-focus);\n\n @apply focus border-[color:--bq-ring-color-focus];\n }\n}\n\n/* ------------------------------- Validations ------------------------------- */\n\n.bq-textarea__input.validation-error {\n @apply border-danger [&:not(.disabled):not(:focus-within)]:hover:border-hover-danger;\n\n &:not(.disabled):focus-within {\n --bq-ring-color-focus: theme(stroke.danger);\n\n @apply border-active-danger;\n }\n}\n\n.bq-textarea__input.validation-success {\n @apply border-success [&:not(.disabled):not(:focus-within)]:hover:border-hover-success;\n\n &:not(.disabled):focus-within {\n --bq-ring-color-focus: theme(stroke.success);\n\n @apply border-active-success;\n }\n}\n\n.bq-textarea__input.validation-warning {\n @apply border-warning [&:not(.disabled):not(:focus-within)]:hover:border-hover-warning;\n\n &:not(.disabled):focus-within {\n --bq-ring-color-focus: theme(stroke.warning);\n\n @apply border-active-warning;\n }\n}\n\n/* -------------------------------------------------------------------------- */\n/* Helper text */\n/* -------------------------------------------------------------------------- */\n\n.bq-textarea__helper {\n @apply text-[length:--bq-textarea--helper-text-size] text-[color:--bq-textarea--helper-text-color] m-bs-[--bq-textarea--helper-margin-top];\n}\n\n/* ------------------------------- Validations ------------------------------ */\n\n.bq-textarea__helper.validation-error {\n @apply text-danger;\n}\n\n.bq-textarea__helper.validation-success {\n @apply text-success;\n}\n\n.bq-textarea__helper.validation-warning {\n @apply text-warning;\n}\n\n/* ----------------------------- Helper counter ----------------------------- */\n\n/** Apply a disabled text color style to the textarea counter when the validation is none. */\n.bq-textarea__helper[class~='validation-none'] {\n .bq-textarea__helper--counter {\n @apply opacity-60;\n }\n}\n","import type { EventEmitter } from '@stencil/core';\nimport { AttachInternals, Component, Element, Event, Prop, State, Watch } from '@stencil/core';\n\nimport { debounce, hasSlotContent, isHTMLElement, isNil, type TDebounce } from '../../shared/utils';\nimport type { TInputValidation } from '../input/bq-input.types';\nimport type { TTextareaAutoCapitalize, TTextareaWrap } from './bq-textarea.types';\n\n/**\n * The Textarea component is a multi-line text input control that is often used in a form to collect user inputs like comments or reviews.\n *\n * @example How to use it\n * ```html\n * <bq-textarea maxlength=\"0\" name=\"textarea\" placeholder=\"Placeholder...\" rows=\"5\">\n * <label slot=\"label\">Label</label>\n * <span class=\"flex items-center gap-xs\" slot=\"helper-text\">\n * <bq-icon name=\"star\"></bq-icon>\n * Helper text\n * </span>\n * </bq-textarea>\n * ```\n *\n * @documentation https://www.beeq.design/3d466e231/p/16792c-textarea\n * @status stable\n *\n * @attr {string} autocapitalize - Controls whether or not the textarea field should be capitalized and how.\n * @attr {string} autocomplete - Specifies whether or not the textarea field should have autocomplete enabled.\n * @attr {boolean} autofocus - If `true`, the textarea will be focused on component render.\n * @attr {boolean} auto-grow - If `true`, the textarea will automatically grow and shrink to fit its contents.\n * @attr {number} debounce-time - The amount of time, in milliseconds, to wait before emitting the `bqInput` event after the textarea value changes.\n * @attr {boolean} disabled - If `true`, the user cannot interact with the textarea.\n * @attr {boolean} disable-resize - If `true`, it will block the user's ability to resize the textarea.\n * @attr {string} form - The ID of the form that the textarea field belongs to.\n * @attr {string} form-validation-message - The native form validation message.\n * @attr {number} maxlength - The maximum number of characters that can be entered into the textarea (`0`: no limit).\n * @attr {string} name - The name of the textarea element.\n * @attr {string} placeholder - The placeholder text to show when there is no value.\n * @attr {boolean} readonly - If `true`, the textarea field cannot be modified.\n * @attr {boolean} required - Indicates whether or not the textarea field is required to be filled out before submitting the form.\n * @attr {number} rows - The number of visible text lines for the control. It must be a positive integer.\n * @attr {boolean} spellcheck - If `true`, the textarea content may be checked for spelling errors.\n * @attr {\"error\" | \"none\" | \"success\" | \"warning\"} validation-status - The validation status of the textarea.\n * @attr {string} value - The value of the textarea. It can be used to reset the textarea to a previous value.\n * @attr {\"soft\" | \"hard\"} wrap - Specifies how the text in a text area is to be wrapped when submitted in a form.\n *\n * @event bqBlur - Handler to be called when the textarea loses focus.\n * @event bqChange - Handler to be called when the textarea value has changed and the textarea loses focus.\n * @event bqClear - Handler to be called when the textarea value has been cleared.\n * @event bqFocus - Handler to be called when the textarea has received focus.\n * @event bqInput - Handler to be called when the textarea value changes.\n *\n * @slot label - The textarea label.\n * @slot helper-text - The helper text.\n *\n * @part base - The component's base wrapper.\n * @part input - The textarea element.\n * @part label - The textarea label.\n * @part helper-info - The helper info container.\n * @part helper-text - The helper text.\n * @part helper-counter - The helper counter.\n *\n * @cssprop --bq-textarea--background-color - Textarea background color\n * @cssprop --bq-textarea--border-color - Textarea border color\n * @cssprop --bq-textarea--border-color-focus - Textarea border color on focus\n * @cssprop --bq-textarea--border-radius - Textarea border radius\n * @cssprop --bq-textarea--border-width - Textarea border width\n * @cssprop --bq-textarea--border-style - Textarea border style\n * @cssprop --bq-textarea--helper-margin-top - Textarea helper text margin top\n * @cssprop --bq-textarea--helper-text-color - Textarea helper text color\n * @cssprop --bq-textarea--helper-text-size - Textarea helper text size\n * @cssprop --bq-textarea--label-margin-bottom - Textarea label margin bottom\n * @cssprop --bq-textarea--label-text-color - Textarea label text color\n * @cssprop --bq-textarea--label-text-size - Textarea label text size\n * @cssprop --bq-textarea--paddingY - Textarea padding top and bottom\n * @cssprop --bq-textarea--padding-start - Textarea padding start\n * @cssprop --bq-textarea--padding-end - Textarea padding end\n * @cssprop --bq-textarea--text-color - Textarea text color\n * @cssprop --bq-textarea--text-size - Textarea text size\n * @cssprop --bq-textarea--text-placeholder-color - Textarea placeholder text color\n */\n@Component({\n tag: 'bq-textarea',\n styleUrl: './scss/bq-textarea.scss',\n formAssociated: true,\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class BqTextarea {\n // Own Properties\n // ====================\n\n private debounceBqInput: TDebounce<void>;\n private fallbackId = 'textarea';\n\n private helperTextElem?: HTMLElement;\n private labelElem?: HTMLLabelElement;\n private textarea: HTMLTextAreaElement;\n\n // Reference to host HTML element\n // ===================================\n\n @AttachInternals() internals!: ElementInternals;\n @Element() el!: HTMLBqTextareaElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n @State() private hasHelperText = false;\n @State() private hasLabel = false;\n\n // Public Property API\n // ========================\n\n /**\n * Controls whether or not the textarea field should be capitalized and how.\n * Possible values are 'off', 'none', 'on', 'sentences', 'words', and 'characters'.\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autocapitalize\n */\n @Prop({ reflect: true }) autocapitalize: TTextareaAutoCapitalize = 'off';\n\n /**\n * Specifies whether or not the textarea field should have autocomplete enabled.\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete#values\n */\n @Prop({ reflect: true }) autocomplete: string = 'off';\n\n /** If true, the textarea will be focused on component render */\n @Prop({ reflect: true }) autofocus: boolean = false;\n\n /**\n * If `true`, the textarea will automatically grow and shrink to fit its contents.\n * If `false`, the textarea will have a fixed height specified by the `rows` property.\n */\n @Prop({ reflect: true }) autoGrow: boolean = false;\n\n /**\n * The amount of time, in milliseconds, to wait before emitting the `bqInput` event after the textarea value changes.\n * A value of 0 means no debouncing will occur.\n */\n @Prop({ reflect: true, mutable: true }) debounceTime? = 0;\n\n /** If `true`, the user cannot interact with the textarea. */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** If `true`, it will block the user's ability to resize the textarea. */\n @Prop({ reflect: true }) disableResize?: boolean = false;\n\n /** The ID of the form that the textarea field belongs to. */\n @Prop({ reflect: true }) form?: string;\n\n /** The native form validation message */\n @Prop({ mutable: true }) formValidationMessage?: string;\n\n /**\n * The maximum number of characters that can be entered into the textarea (`0`: no limit).\n * When enabled, a character counter will be shown underneath the textarea.\n */\n @Prop({ reflect: true }) maxlength: number;\n\n /** The name of the textarea element. */\n @Prop({ reflect: true }) name!: string;\n\n /** The placeholder text to show when there is no value. */\n @Prop({ reflect: true }) placeholder!: string;\n\n /** If true, the textarea field cannot be modified. */\n @Prop({ reflect: true }) readonly?: boolean = false;\n\n /** Indicates whether or not the textarea field is required to be filled out before submitting the form. */\n @Prop({ reflect: true }) required?: boolean = false;\n\n /** The number of visible text lines for the control. It must be a positive integer. */\n @Prop({ reflect: true }) rows: number = 5;\n\n /** If true, the textarea content may be checked for spelling errors. */\n @Prop({ reflect: true }) spellcheck: boolean = false;\n\n /**\n * The validation status of the textarea.\n *\n * @remarks\n * This property is used to indicate the validation status of the textarea. It can be set to one of the following values:\n * - `'none'`: No validation status is set.\n * - `'error'`: The textarea has a validation error.\n * - `'warning'`: The textarea has a validation warning.\n * - `'success'`: The textarea has passed validation.\n */\n @Prop({ reflect: true, mutable: true }) validationStatus: TInputValidation = 'none';\n\n /** The value of the textarea. It can be used to reset the textarea to a previous value. */\n @Prop({ mutable: true }) value: string;\n\n /** Specifies how the text in a text area is to be wrapped when submitted in a form */\n @Prop({ reflect: true }) wrap: TTextareaWrap = 'soft';\n\n // Prop lifecycle events\n // =======================\n\n @Watch('value')\n handleValueChange() {\n if (!this.textarea) return;\n if (!this.maxlength || this.value?.length < this.maxlength) return;\n // If the value is longer than the maxlength, we need to truncate it\n this.value = this.value?.substring(0, this.maxlength);\n this.textarea.value = this.value ?? '';\n }\n\n @Watch('required')\n handleRequiredPropChange() {\n this.updateFormValidity();\n }\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n /** Callback handler emitted when the textarea loses focus */\n @Event() bqBlur!: EventEmitter<HTMLBqTextareaElement>;\n\n /**\n * Callback handler emitted when the textarea value has changed and the textarea loses focus.\n * This handler is called whenever the user finishes typing or pasting text into the textarea field and then clicks outside of the textarea field.\n */\n @Event() bqChange!: EventEmitter<{ value: string; el: HTMLBqTextareaElement }>;\n\n /** Callback handler emitted when the textarea value has been cleared */\n @Event() bqClear!: EventEmitter<HTMLBqTextareaElement>;\n\n /** Callback handler emitted when the textarea has received focus */\n @Event() bqFocus!: EventEmitter<HTMLBqTextareaElement>;\n\n /**\n * Callback handler emitted when the textarea value changes.\n * This handler is called whenever the user types or pastes text into the textarea field.\n */\n @Event() bqInput!: EventEmitter<{ value: string; el: HTMLBqTextareaElement }>;\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n componentDidLoad() {\n this.handleSlotChange();\n this.handleValueChange();\n }\n\n formAssociatedCallback() {\n this.setFormValue(this.value);\n this.updateFormValidity();\n }\n\n formResetCallback() {\n this.clearSelection();\n // Reset the form validity state\n this.setFormValue();\n this.updateFormValidity();\n }\n\n // Listeners\n // ==============\n\n // Public methods API\n // These methods are exposed on the host element.\n // Always use two lines.\n // Public Methods must be async.\n // Requires JSDocs for public API documentation.\n // ===============================================\n\n // Local methods\n // Internal business logic.\n // These methods cannot be called from the host element.\n // =======================================================\n\n private get numberOfCharacters() {\n if (!this.maxlength || !this.textarea) return 0;\n\n return this.value?.length;\n }\n\n private handleBlur = () => {\n if (this.disabled) return;\n\n this.bqBlur.emit(this.el);\n };\n\n private handleFocus = () => {\n if (this.disabled) return;\n\n this.bqFocus.emit(this.el);\n };\n\n private handleChange = (ev: Event) => {\n if (this.disabled) return;\n\n if (!isHTMLElement(ev.target, 'textarea')) return;\n this.value = ev.target.value;\n this.setFormValue(this.value);\n this.updateFormValidity();\n\n this.bqChange.emit({ value: this.value, el: this.el });\n };\n\n private handleInput = (ev: Event) => {\n if (this.disabled) return;\n\n this.debounceBqInput?.cancel();\n\n if (!isHTMLElement(ev.target, 'textarea')) return;\n this.value = ev.target.value;\n\n this.debounceBqInput = debounce(() => {\n this.bqInput.emit({ value: this.value, el: this.el });\n }, this.debounceTime);\n this.debounceBqInput();\n\n this.autoResize();\n };\n\n private autoResize = () => {\n if (!this.autoGrow) return;\n\n const inputElem = this.textarea;\n if (!inputElem) return;\n\n inputElem.style.height = 'auto';\n inputElem.style.height = `${inputElem.scrollHeight}px`;\n };\n\n private handleSlotChange = () => {\n this.hasLabel = hasSlotContent(this.labelElem);\n this.hasHelperText = hasSlotContent(this.helperTextElem);\n };\n\n private setFormValue = (value?: string) => {\n this.internals.setFormValue(!isNil(value) ? `${value}` : undefined);\n };\n\n private updateFormValidity = () => {\n const { formValidationMessage, internals, required, value, textarea } = this;\n\n // Clear the validity state\n internals?.states.clear();\n\n if (required && (!value || value.trim() === '')) {\n // Set validity state to invalid\n internals?.states.add('invalid');\n internals?.setValidity({ valueMissing: true }, formValidationMessage, textarea);\n return;\n }\n\n // Set validity state to valid if textarea has value or is not required\n internals?.states.add('valid');\n internals?.setValidity({});\n };\n\n private clearSelection = () => {\n this.value = '';\n this.textarea.value = this.value;\n };\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n return (\n <div class=\"bq-textarea flex flex-auto flex-col\" part=\"base\">\n <label\n aria-label={this.name ?? this.fallbackId}\n class={{ 'bq-textarea__label': true, '!hidden': !this.hasLabel }}\n htmlFor={this.name ?? this.fallbackId}\n part=\"label\"\n ref={(label: HTMLLabelElement) => {\n this.labelElem = label;\n }}\n >\n <slot name=\"label\" onSlotchange={this.handleSlotChange} />\n </label>\n <textarea\n autocapitalize={this.autocapitalize}\n autocomplete={this.autocomplete}\n autofocus={this.autofocus}\n class={{\n 'bq-textarea__input': true,\n 'resize-none': this.disableResize,\n [`validation-${this.validationStatus}`]: true,\n }}\n disabled={this.disabled}\n form={this.form}\n id={this.name ?? this.fallbackId}\n maxLength={this.maxlength > 0 ? this.maxlength : undefined}\n name={this.name}\n onBlur={this.handleBlur}\n onChange={this.handleChange}\n onFocus={this.handleFocus}\n onInput={this.handleInput}\n part=\"input\"\n placeholder={this.placeholder}\n readOnly={this.readonly}\n ref={(elem: HTMLTextAreaElement) => {\n this.textarea = elem;\n }}\n required={this.required}\n rows={this.rows}\n spellcheck={this.spellcheck}\n wrap={this.wrap}\n >\n {this.value}\n </textarea>\n <div\n class={{\n 'bq-textarea__helper flex items-center justify-between': true,\n [`validation-${this.validationStatus}`]: true,\n '!hidden': !this.hasHelperText && !this.maxlength,\n }}\n part=\"helper-info\"\n >\n <span\n class=\"bq-textarea__helper--text\"\n part=\"helper-text\"\n ref={(span: HTMLElement) => {\n this.helperTextElem = span;\n }}\n >\n <slot name=\"helper-text\" onSlotchange={this.handleSlotChange} />\n </span>\n <span\n class={{ 'bq-textarea__helper--counter [fontVariant:tabular-nums]': true, '!hidden': !this.maxlength }}\n part=\"helper-counter\"\n >\n {this.numberOfCharacters ?? 0}/{this.maxlength}\n </span>\n </div>\n </div>\n );\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAAA,MAAMA,gBAAgB,MAAM;;MCuFfC,IAAU;;;;;;;;;;;;;;;;;EAIbC;EACAC,WAAa;EAEbC;EACAC;EACAC;;;EAKWC;;;;;;;EAOFC,cAAgB;EAChBC,SAAW;;;;;;;;;EAWHC,eAA0C;;;;;;EAO1CC,aAAuB;;EAGvBC,UAAqB;;;;;EAMrBC,SAAoB;;;;;EAMLC,aAAgB;;EAG/BC,SAAoB;;EAGpBC,cAA0B;;EAG1BC;;EAGAC;;;;;EAMAC;;EAGAC;;EAGAC;;EAGAC,SAAqB;;EAGrBC,SAAqB;;EAGrBC,KAAe;;EAGfC,WAAsB;;;;;;;;;;;EAYPC,iBAAqC;;EAGpDC;;EAGAC,KAAsB;;;EAM/C,iBAAAC;IACE,KAAKC,KAAKxB,UAAU;IACpB,KAAKwB,KAAKX,aAAaW,KAAKH,OAAOI,SAASD,KAAKX,WAAW;;QAE5DW,KAAKH,QAAQG,KAAKH,OAAOK,UAAU,GAAGF,KAAKX;IAC3CW,KAAKxB,SAASqB,QAAQG,KAAKH,SAAS;;EAItC,wBAAAM;IACEH,KAAKI;;;;;;EAQEC;;;;;EAMAC;;EAGAC;;EAGAC;;;;;EAMAC;;;;EAMT,gBAAAC;IACEV,KAAKW;IACLX,KAAKD;;EAGP,sBAAAa;IACEZ,KAAKa,aAAab,KAAKH;IACvBG,KAAKI;;EAGP,iBAAAU;IACEd,KAAKe;;QAELf,KAAKa;IACLb,KAAKI;;;;;;;;;;;;;;EAkBP,sBAAYY;IACV,KAAKhB,KAAKX,cAAcW,KAAKxB,UAAU,OAAO;IAE9C,OAAOwB,KAAKH,OAAOI;;EAGbgB,WAAa;IACnB,IAAIjB,KAAKf,UAAU;IAEnBe,KAAKK,OAAOa,KAAKlB,KAAKmB;AAAG;EAGnBC,YAAc;IACpB,IAAIpB,KAAKf,UAAU;IAEnBe,KAAKQ,QAAQU,KAAKlB,KAAKmB;AAAG;EAGpBE,aAAgBC;IACtB,IAAItB,KAAKf,UAAU;IAEnB,KAAKsC,EAAcD,EAAGE,QAAQ,aAAa;IAC3CxB,KAAKH,QAAQyB,EAAGE,OAAO3B;IACvBG,KAAKa,aAAab,KAAKH;IACvBG,KAAKI;IAELJ,KAAKM,SAASY,KAAK;MAAErB,OAAOG,KAAKH;MAAOsB,IAAInB,KAAKmB;;AAAK;EAGhDM,YAAeH;IACrB,IAAItB,KAAKf,UAAU;IAEnBe,KAAK5B,iBAAiBsD;IAEtB,KAAKH,EAAcD,EAAGE,QAAQ,aAAa;IAC3CxB,KAAKH,QAAQyB,EAAGE,OAAO3B;IAEvBG,KAAK5B,kBAAkBuD,GAAS;MAC9B3B,KAAKS,QAAQS,KAAK;QAAErB,OAAOG,KAAKH;QAAOsB,IAAInB,KAAKmB;;AAAK,QACpDnB,KAAKhB;IACRgB,KAAK5B;IAEL4B,KAAK4B;AAAY;EAGXA,WAAa;IACnB,KAAK5B,KAAKjB,UAAU;IAEpB,MAAM8C,IAAY7B,KAAKxB;IACvB,KAAKqD,GAAW;IAEhBA,EAAUC,MAAMC,SAAS;IACzBF,EAAUC,MAAMC,SAAS,GAAGF,EAAUG;AAAgB;EAGhDrB,iBAAmB;IACzBX,KAAKrB,WAAWsD,EAAejC,KAAKzB;IACpCyB,KAAKtB,gBAAgBuD,EAAejC,KAAK1B;AAAe;EAGlDuC,aAAgBhB;IACtBG,KAAKvB,UAAUoC,cAAcqB,EAAMrC,KAAS,GAAGA,MAAUsC;AAAU;EAG7D/B,mBAAqB;IAC3B,OAAMhB,uBAAEA,GAAqBX,WAAEA,GAASgB,UAAEA,GAAQI,OAAEA,GAAKrB,UAAEA,KAAawB;;QAGxEvB,GAAW2D,OAAOC;IAElB,IAAI5C,OAAcI,KAASA,EAAMyC,WAAW,KAAK;;MAE/C7D,GAAW2D,OAAOG,IAAI;MACtB9D,GAAW+D,YAAY;QAAEC,cAAc;SAAQrD,GAAuBZ;MACtE;;;QAIFC,GAAW2D,OAAOG,IAAI;IACtB9D,GAAW+D,YAAY;AAAG;EAGpBzB,eAAiB;IACvBf,KAAKH,QAAQ;IACbG,KAAKxB,SAASqB,QAAQG,KAAKH;AAAK;;;;EAOlC,MAAA6C;IACE,OACEC,EAAK;MAAAC,OAAM;MAAsCC,MAAK;MAAMC,UAAA,EAC1DC,EACc;QAAA,cAAA/C,KAAKV,QAAQU,KAAK3B;QAC9BuE,OAAO;UAAE,sBAAsB;UAAM,YAAY5C,KAAKrB;;QACtDqE,SAAShD,KAAKV,QAAQU,KAAK3B;QAC3BwE,MAAK;QACLI,KAAMC;UACJlD,KAAKzB,YAAY2E;AAAK;QAGxBJ,UAAAC,EAAA;UAAMzD,MAAK;UAAQ6D,cAAcnD,KAAKW;WAAgB;SAChD,6CACRoC;QACEnE,gBAAgBoB,KAAKpB;QACrBC,cAAcmB,KAAKnB;QACnBC,WAAWkB,KAAKlB;QAChB8D,OAAO;UACL,sBAAsB;UACtB,eAAe5C,KAAKd;UACpB,CAAC,cAAcc,KAAKJ,qBAAqB;;QAE3CX,UAAUe,KAAKf;QACfE,MAAMa,KAAKb;QACXiE,IAAIpD,KAAKV,QAAQU,KAAK3B;QACtBgF,WAAWrD,KAAKX,YAAY,IAAIW,KAAKX,YAAY8C;QACjD7C,MAAMU,KAAKV;QACXgE,QAAQtD,KAAKiB;QACbsC,UAAUvD,KAAKqB;QACfmC,SAASxD,KAAKoB;QACdqC,SAASzD,KAAKyB;QACdoB,MAAK;QACLtD,aAAaS,KAAKT;QAClBmE,UAAU1D,KAAKR;QACfyD,KAAMU;UACJ3D,KAAKxB,WAAWmF;AAAI;QAEtBlE,UAAUO,KAAKP;QACfC,MAAMM,KAAKN;QACXC,YAAYK,KAAKL;QACjBG,MAAME,KAAKF;QAAIgD,UAEd9C,KAAKH;SAAK,6CAEb8C,EAAA;QACEC,OAAO;UACL,yDAAyD;UACzD,CAAC,cAAc5C,KAAKJ,qBAAqB;UACzC,YAAYI,KAAKtB,kBAAkBsB,KAAKX;;QAE1CwD,MAAK;QAAaC,UAAA,EAElBC,EACE;UAAAH,OAAM;UACNC,MAAK;UACLI,KAAMW;YACJ5D,KAAK1B,iBAAiBsF;AAAI;UAC3Bd,UAEDC;YAAMzD,MAAK;YAAc6D,cAAcnD,KAAKW;aAAoB;WAAA,6CAElEgC,EACE;UAAAC,OAAO;YAAE,2DAA2D;YAAM,YAAY5C,KAAKX;;UAC3FwD,MAAK;UAAgBC,UAAA,EAEpB9C,KAAKgB,sBAAsB,GAAC,KAAGhB,KAAKX;WAChC;SAAA;OAEL","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["bqTextareaCss","BqTextarea","debounceBqInput","fallbackId","helperTextElem","labelElem","textarea","internals","hasHelperText","hasLabel","autocapitalize","autocomplete","autofocus","autoGrow","debounceTime","disabled","disableResize","form","formValidationMessage","maxlength","name","placeholder","readonly","required","rows","spellcheck","validationStatus","value","wrap","handleValueChange","this","length","substring","handleRequiredPropChange","updateFormValidity","bqBlur","bqChange","bqClear","bqFocus","bqInput","componentDidLoad","handleSlotChange","formAssociatedCallback","setFormValue","formResetCallback","clearSelection","numberOfCharacters","handleBlur","emit","el","handleFocus","handleChange","ev","isHTMLElement","target","handleInput","cancel","debounce","autoResize","inputElem","style","height","scrollHeight","hasSlotContent","isNil","undefined","states","clear","trim","add","setValidity","valueMissing","render","_jsxs","class","part","children","_jsx","htmlFor","ref","label","onSlotchange","id","maxLength","onBlur","onChange","onFocus","onInput","readOnly","elem","span"],"sources":["../../packages/beeq/src/components/textarea/scss/bq-textarea.scss?tag=bq-textarea&encapsulation=shadow","../../packages/beeq/src/components/textarea/bq-textarea.tsx"],"sourcesContent":["/* -------------------------------------------------------------------------- */\n/* Textarea styles */\n/* -------------------------------------------------------------------------- */\n\n@import './bq-textarea.variables';\n\n:host {\n @apply block is-full;\n}\n\n/* -------------------------------------------------------------------------- */\n/* Label */\n/* -------------------------------------------------------------------------- */\n\n.bq-textarea__label {\n @apply text-[length:--bq-textarea--label-text-size] text-[color:--bq-textarea--label-text-color] m-be-[--bq-textarea--label-margin-bottom];\n}\n\n/* -------------------------------------------------------------------------- */\n/* Native HTML Textarea control */\n/* -------------------------------------------------------------------------- */\n\n.bq-textarea__input {\n @apply flex-auto resize-y bg-[--bq-textarea--background-color] bs-[inherit];\n // Border\n @apply rounded-[--bq-textarea--border-radius] border-[length:--bq-textarea--border-width] border-[color:--bq-textarea--border-color];\n // Padding\n @apply pe-[--bq-textarea--padding-end] ps-[--bq-textarea--padding-start] p-b-[--bq-textarea--paddingY];\n // Text\n @apply text-[length:--bq-textarea--text-size] text-[color:--bq-textarea--text-color] placeholder:text-[color:--bq-textarea--text-placeholder-color];\n // Transition\n @apply transition-colors ease-in-out;\n // Hover\n @apply [&:not([disabled]):not(:focus-within)]:hover:border-hover-brand;\n // Disabled\n @apply disabled:cursor-not-allowed disabled:opacity-60;\n // Focus\n &:not([disabled]):focus-within {\n --bq-ring-width: 1px;\n --bq-ring-offset-width: 0;\n --bq-ring-color-focus: var(--bq-textarea--border-color-focus);\n\n @apply focus border-[color:--bq-ring-color-focus];\n }\n}\n\n/* ------------------------------- Validations ------------------------------- */\n\n.bq-textarea__input.validation-error {\n @apply border-danger [&:not(.disabled):not(:focus-within)]:hover:border-hover-danger;\n\n &:not(.disabled):focus-within {\n --bq-ring-color-focus: theme(stroke.danger);\n\n @apply border-active-danger;\n }\n}\n\n.bq-textarea__input.validation-success {\n @apply border-success [&:not(.disabled):not(:focus-within)]:hover:border-hover-success;\n\n &:not(.disabled):focus-within {\n --bq-ring-color-focus: theme(stroke.success);\n\n @apply border-active-success;\n }\n}\n\n.bq-textarea__input.validation-warning {\n @apply border-warning [&:not(.disabled):not(:focus-within)]:hover:border-hover-warning;\n\n &:not(.disabled):focus-within {\n --bq-ring-color-focus: theme(stroke.warning);\n\n @apply border-active-warning;\n }\n}\n\n/* -------------------------------------------------------------------------- */\n/* Helper text */\n/* -------------------------------------------------------------------------- */\n\n.bq-textarea__helper {\n @apply text-[length:--bq-textarea--helper-text-size] text-[color:--bq-textarea--helper-text-color] m-bs-[--bq-textarea--helper-margin-top];\n}\n\n/* ------------------------------- Validations ------------------------------ */\n\n.bq-textarea__helper.validation-error {\n @apply text-danger;\n}\n\n.bq-textarea__helper.validation-success {\n @apply text-success;\n}\n\n.bq-textarea__helper.validation-warning {\n @apply text-warning;\n}\n\n/* ----------------------------- Helper counter ----------------------------- */\n\n/** Apply a disabled text color style to the textarea counter when the validation is none. */\n.bq-textarea__helper[class~='validation-none'] {\n .bq-textarea__helper--counter {\n @apply opacity-60;\n }\n}\n","import type { EventEmitter } from '@stencil/core';\nimport { AttachInternals, Component, Element, Event, Prop, State, Watch } from '@stencil/core';\n\nimport { debounce, hasSlotContent, isHTMLElement, isNil, type TDebounce } from '../../shared/utils';\nimport type { TInputValidation } from '../input/bq-input.types';\nimport type { TTextareaAutoCapitalize, TTextareaWrap } from './bq-textarea.types';\n\n/**\n * The Textarea component is a multi-line text input control that is often used in a form to collect user inputs like comments or reviews.\n *\n * @example How to use it\n * ```html\n * <bq-textarea maxlength=\"0\" name=\"textarea\" placeholder=\"Placeholder...\" rows=\"5\">\n * <label slot=\"label\">Label</label>\n * <span class=\"flex items-center gap-xs\" slot=\"helper-text\">\n * <bq-icon name=\"star\"></bq-icon>\n * Helper text\n * </span>\n * </bq-textarea>\n * ```\n *\n * @documentation https://www.beeq.design/3d466e231/p/16792c-textarea\n * @status stable\n *\n * @attr {string} autocapitalize - Controls whether or not the textarea field should be capitalized and how.\n * @attr {string} autocomplete - Specifies whether or not the textarea field should have autocomplete enabled.\n * @attr {boolean} autofocus - If `true`, the textarea will be focused on component render.\n * @attr {boolean} auto-grow - If `true`, the textarea will automatically grow and shrink to fit its contents.\n * @attr {number} debounce-time - The amount of time, in milliseconds, to wait before emitting the `bqInput` event after the textarea value changes.\n * @attr {boolean} disabled - If `true`, the user cannot interact with the textarea.\n * @attr {boolean} disable-resize - If `true`, it will block the user's ability to resize the textarea.\n * @attr {string} form - The ID of the form that the textarea field belongs to.\n * @attr {string} form-validation-message - The native form validation message.\n * @attr {number} maxlength - The maximum number of characters that can be entered into the textarea (`0`: no limit).\n * @attr {string} name - The name of the textarea element.\n * @attr {string} placeholder - The placeholder text to show when there is no value.\n * @attr {boolean} readonly - If `true`, the textarea field cannot be modified.\n * @attr {boolean} required - Indicates whether or not the textarea field is required to be filled out before submitting the form.\n * @attr {number} rows - The number of visible text lines for the control. It must be a positive integer.\n * @attr {boolean} spellcheck - If `true`, the textarea content may be checked for spelling errors.\n * @attr {\"error\" | \"none\" | \"success\" | \"warning\"} validation-status - The validation status of the textarea.\n * @attr {string} value - The value of the textarea. It can be used to reset the textarea to a previous value.\n * @attr {\"soft\" | \"hard\"} wrap - Specifies how the text in a text area is to be wrapped when submitted in a form.\n *\n * @event bqBlur - Handler to be called when the textarea loses focus.\n * @event bqChange - Handler to be called when the textarea value has changed and the textarea loses focus.\n * @event bqClear - Handler to be called when the textarea value has been cleared.\n * @event bqFocus - Handler to be called when the textarea has received focus.\n * @event bqInput - Handler to be called when the textarea value changes.\n *\n * @slot label - The textarea label.\n * @slot helper-text - The helper text.\n *\n * @part base - The component's base wrapper.\n * @part input - The textarea element.\n * @part label - The textarea label.\n * @part helper-info - The helper info container.\n * @part helper-text - The helper text.\n * @part helper-counter - The helper counter.\n *\n * @cssprop --bq-textarea--background-color - Textarea background color\n * @cssprop --bq-textarea--border-color - Textarea border color\n * @cssprop --bq-textarea--border-color-focus - Textarea border color on focus\n * @cssprop --bq-textarea--border-radius - Textarea border radius\n * @cssprop --bq-textarea--border-width - Textarea border width\n * @cssprop --bq-textarea--border-style - Textarea border style\n * @cssprop --bq-textarea--helper-margin-top - Textarea helper text margin top\n * @cssprop --bq-textarea--helper-text-color - Textarea helper text color\n * @cssprop --bq-textarea--helper-text-size - Textarea helper text size\n * @cssprop --bq-textarea--label-margin-bottom - Textarea label margin bottom\n * @cssprop --bq-textarea--label-text-color - Textarea label text color\n * @cssprop --bq-textarea--label-text-size - Textarea label text size\n * @cssprop --bq-textarea--paddingY - Textarea padding top and bottom\n * @cssprop --bq-textarea--padding-start - Textarea padding start\n * @cssprop --bq-textarea--padding-end - Textarea padding end\n * @cssprop --bq-textarea--text-color - Textarea text color\n * @cssprop --bq-textarea--text-size - Textarea text size\n * @cssprop --bq-textarea--text-placeholder-color - Textarea placeholder text color\n */\n@Component({\n tag: 'bq-textarea',\n styleUrl: './scss/bq-textarea.scss',\n formAssociated: true,\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class BqTextarea {\n // Own Properties\n // ====================\n\n private debounceBqInput: TDebounce<void>;\n private fallbackId = 'textarea';\n\n private helperTextElem?: HTMLElement;\n private labelElem?: HTMLLabelElement;\n private textarea: HTMLTextAreaElement;\n\n // Reference to host HTML element\n // ===================================\n\n @AttachInternals() internals!: ElementInternals;\n @Element() el!: HTMLBqTextareaElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n @State() private hasHelperText = false;\n @State() private hasLabel = false;\n\n // Public Property API\n // ========================\n\n /**\n * Controls whether or not the textarea field should be capitalized and how.\n * Possible values are 'off', 'none', 'on', 'sentences', 'words', and 'characters'.\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autocapitalize\n */\n @Prop({ reflect: true }) autocapitalize: TTextareaAutoCapitalize = 'off';\n\n /**\n * Specifies whether or not the textarea field should have autocomplete enabled.\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete#values\n */\n @Prop({ reflect: true }) autocomplete: string = 'off';\n\n /** If true, the textarea will be focused on component render */\n @Prop({ reflect: true }) autofocus: boolean = false;\n\n /**\n * If `true`, the textarea will automatically grow and shrink to fit its contents.\n * If `false`, the textarea will have a fixed height specified by the `rows` property.\n */\n @Prop({ reflect: true }) autoGrow: boolean = false;\n\n /**\n * The amount of time, in milliseconds, to wait before emitting the `bqInput` event after the textarea value changes.\n * A value of 0 means no debouncing will occur.\n */\n @Prop({ reflect: true, mutable: true }) debounceTime? = 0;\n\n /** If `true`, the user cannot interact with the textarea. */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** If `true`, it will block the user's ability to resize the textarea. */\n @Prop({ reflect: true }) disableResize?: boolean = false;\n\n /** The ID of the form that the textarea field belongs to. */\n @Prop({ reflect: true }) form?: string;\n\n /** The native form validation message */\n @Prop({ mutable: true }) formValidationMessage?: string;\n\n /**\n * The maximum number of characters that can be entered into the textarea (`0`: no limit).\n * When enabled, a character counter will be shown underneath the textarea.\n */\n @Prop({ reflect: true }) maxlength: number;\n\n /** The name of the textarea element. */\n @Prop({ reflect: true }) name!: string;\n\n /** The placeholder text to show when there is no value. */\n @Prop({ reflect: true }) placeholder!: string;\n\n /** If true, the textarea field cannot be modified. */\n @Prop({ reflect: true }) readonly?: boolean = false;\n\n /** Indicates whether or not the textarea field is required to be filled out before submitting the form. */\n @Prop({ reflect: true }) required?: boolean = false;\n\n /** The number of visible text lines for the control. It must be a positive integer. */\n @Prop({ reflect: true }) rows: number = 5;\n\n /** If true, the textarea content may be checked for spelling errors. */\n @Prop({ reflect: true }) spellcheck: boolean = false;\n\n /**\n * The validation status of the textarea.\n *\n * @remarks\n * This property is used to indicate the validation status of the textarea. It can be set to one of the following values:\n * - `'none'`: No validation status is set.\n * - `'error'`: The textarea has a validation error.\n * - `'warning'`: The textarea has a validation warning.\n * - `'success'`: The textarea has passed validation.\n */\n @Prop({ reflect: true, mutable: true }) validationStatus: TInputValidation = 'none';\n\n /** The value of the textarea. It can be used to reset the textarea to a previous value. */\n @Prop({ mutable: true }) value: string;\n\n /** Specifies how the text in a text area is to be wrapped when submitted in a form */\n @Prop({ reflect: true }) wrap: TTextareaWrap = 'soft';\n\n // Prop lifecycle events\n // =======================\n\n @Watch('value')\n handleValueChange() {\n if (!this.textarea) return;\n if (!this.maxlength || this.value?.length < this.maxlength) return;\n // If the value is longer than the maxlength, we need to truncate it\n this.value = this.value?.substring(0, this.maxlength);\n this.textarea.value = this.value ?? '';\n }\n\n @Watch('required')\n handleRequiredPropChange() {\n this.updateFormValidity();\n }\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n /** Callback handler emitted when the textarea loses focus */\n @Event() bqBlur!: EventEmitter<HTMLBqTextareaElement>;\n\n /**\n * Callback handler emitted when the textarea value has changed and the textarea loses focus.\n * This handler is called whenever the user finishes typing or pasting text into the textarea field and then clicks outside of the textarea field.\n */\n @Event() bqChange!: EventEmitter<{ value: string; el: HTMLBqTextareaElement }>;\n\n /** Callback handler emitted when the textarea value has been cleared */\n @Event() bqClear!: EventEmitter<HTMLBqTextareaElement>;\n\n /** Callback handler emitted when the textarea has received focus */\n @Event() bqFocus!: EventEmitter<HTMLBqTextareaElement>;\n\n /**\n * Callback handler emitted when the textarea value changes.\n * This handler is called whenever the user types or pastes text into the textarea field.\n */\n @Event() bqInput!: EventEmitter<{ value: string; el: HTMLBqTextareaElement }>;\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n componentDidLoad() {\n this.handleSlotChange();\n this.handleValueChange();\n }\n\n formAssociatedCallback() {\n this.setFormValue(this.value);\n this.updateFormValidity();\n }\n\n formResetCallback() {\n this.clearSelection();\n // Reset the form validity state\n this.setFormValue();\n this.updateFormValidity();\n }\n\n // Listeners\n // ==============\n\n // Public methods API\n // These methods are exposed on the host element.\n // Always use two lines.\n // Public Methods must be async.\n // Requires JSDocs for public API documentation.\n // ===============================================\n\n // Local methods\n // Internal business logic.\n // These methods cannot be called from the host element.\n // =======================================================\n\n private get numberOfCharacters() {\n if (!this.maxlength || !this.textarea) return 0;\n\n return this.value?.length;\n }\n\n private handleBlur = () => {\n if (this.disabled) return;\n\n this.bqBlur.emit(this.el);\n };\n\n private handleFocus = () => {\n if (this.disabled) return;\n\n this.bqFocus.emit(this.el);\n };\n\n private handleChange = (ev: Event) => {\n if (this.disabled) return;\n\n if (!isHTMLElement(ev.target, 'textarea')) return;\n this.value = ev.target.value;\n this.setFormValue(this.value);\n this.updateFormValidity();\n\n this.bqChange.emit({ value: this.value, el: this.el });\n };\n\n private handleInput = (ev: Event) => {\n if (this.disabled) return;\n\n this.debounceBqInput?.cancel();\n\n if (!isHTMLElement(ev.target, 'textarea')) return;\n this.value = ev.target.value;\n\n this.debounceBqInput = debounce(() => {\n this.bqInput.emit({ value: this.value, el: this.el });\n }, this.debounceTime);\n this.debounceBqInput();\n\n this.autoResize();\n };\n\n private autoResize = () => {\n if (!this.autoGrow) return;\n\n const inputElem = this.textarea;\n if (!inputElem) return;\n\n inputElem.style.height = 'auto';\n inputElem.style.height = `${inputElem.scrollHeight}px`;\n };\n\n private handleSlotChange = () => {\n this.hasLabel = hasSlotContent(this.labelElem);\n this.hasHelperText = hasSlotContent(this.helperTextElem);\n };\n\n private setFormValue = (value?: string) => {\n this.internals.setFormValue(!isNil(value) ? `${value}` : undefined);\n };\n\n private updateFormValidity = () => {\n const { formValidationMessage, internals, required, value, textarea } = this;\n\n // Clear the validity state\n internals?.states.clear();\n\n if (required && (!value || value.trim() === '')) {\n // Set validity state to invalid\n internals?.states.add('invalid');\n internals?.setValidity({ valueMissing: true }, formValidationMessage, textarea);\n return;\n }\n\n // Set validity state to valid if textarea has value or is not required\n internals?.states.add('valid');\n internals?.setValidity({});\n };\n\n private clearSelection = () => {\n this.value = '';\n this.textarea.value = this.value;\n };\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n return (\n <div class=\"bq-textarea flex flex-auto flex-col\" part=\"base\">\n <label\n aria-label={this.name ?? this.fallbackId}\n class={{ 'bq-textarea__label': true, '!hidden': !this.hasLabel }}\n htmlFor={this.name ?? this.fallbackId}\n part=\"label\"\n ref={(label: HTMLLabelElement) => {\n this.labelElem = label;\n }}\n >\n <slot name=\"label\" onSlotchange={this.handleSlotChange} />\n </label>\n <textarea\n autocapitalize={this.autocapitalize}\n autocomplete={this.autocomplete}\n autofocus={this.autofocus}\n class={{\n 'bq-textarea__input': true,\n 'resize-none': this.disableResize,\n [`validation-${this.validationStatus}`]: true,\n }}\n disabled={this.disabled}\n form={this.form}\n id={this.name ?? this.fallbackId}\n maxLength={this.maxlength > 0 ? this.maxlength : undefined}\n name={this.name}\n onBlur={this.handleBlur}\n onChange={this.handleChange}\n onFocus={this.handleFocus}\n onInput={this.handleInput}\n part=\"input\"\n placeholder={this.placeholder}\n readOnly={this.readonly}\n ref={(elem: HTMLTextAreaElement) => {\n this.textarea = elem;\n }}\n required={this.required}\n rows={this.rows}\n spellcheck={this.spellcheck}\n wrap={this.wrap}\n >\n {this.value}\n </textarea>\n <div\n class={{\n 'bq-textarea__helper flex items-center justify-between': true,\n [`validation-${this.validationStatus}`]: true,\n '!hidden': !this.hasHelperText && !this.maxlength,\n }}\n part=\"helper-info\"\n >\n <span\n class=\"bq-textarea__helper--text\"\n part=\"helper-text\"\n ref={(span: HTMLElement) => {\n this.helperTextElem = span;\n }}\n >\n <slot name=\"helper-text\" onSlotchange={this.handleSlotChange} />\n </span>\n <span\n class={{ 'bq-textarea__helper--counter [fontVariant:tabular-nums]': true, '!hidden': !this.maxlength }}\n part=\"helper-counter\"\n >\n {this.numberOfCharacters ?? 0}/{this.maxlength}\n </span>\n </div>\n </div>\n );\n }\n}\n"],"mappings":";;;;wOAAA,MAAMA,EAAgB,IAAM,810B,MCuFfC,EAAU,M,qVAIbC,gBACAC,WAAa,WAEbC,eACAC,UACAC,SAKWC,U,wBAOFC,cAAgB,MAChBC,SAAW,MAWHC,eAA0C,MAO1CC,aAAuB,MAGvBC,UAAqB,MAMrBC,SAAoB,MAMLC,aAAgB,EAG/BC,SAAoB,MAGpBC,cAA0B,MAG1BC,KAGAC,sBAMAC,UAGAC,KAGAC,YAGAC,SAAqB,MAGrBC,SAAqB,MAGrBC,KAAe,EAGfC,WAAsB,MAYPC,iBAAqC,OAGpDC,MAGAC,KAAsB,OAM/C,iBAAAC,GACE,IAAKC,KAAKxB,SAAU,OACpB,IAAKwB,KAAKX,WAAaW,KAAKH,OAAOI,OAASD,KAAKX,UAAW,OAE5DW,KAAKH,MAAQG,KAAKH,OAAOK,UAAU,EAAGF,KAAKX,WAC3CW,KAAKxB,SAASqB,MAAQG,KAAKH,OAAS,E,CAItC,wBAAAM,GACEH,KAAKI,oB,CAQEC,OAMAC,SAGAC,QAGAC,QAMAC,QAMT,gBAAAC,GACEV,KAAKW,mBACLX,KAAKD,mB,CAGP,sBAAAa,GACEZ,KAAKa,aAAab,KAAKH,OACvBG,KAAKI,oB,CAGP,iBAAAU,GACEd,KAAKe,iBAELf,KAAKa,eACLb,KAAKI,oB,CAkBP,sBAAYY,GACV,IAAKhB,KAAKX,YAAcW,KAAKxB,SAAU,OAAO,EAE9C,OAAOwB,KAAKH,OAAOI,M,CAGbgB,WAAa,KACnB,GAAIjB,KAAKf,SAAU,OAEnBe,KAAKK,OAAOa,KAAKlB,KAAKmB,GAAG,EAGnBC,YAAc,KACpB,GAAIpB,KAAKf,SAAU,OAEnBe,KAAKQ,QAAQU,KAAKlB,KAAKmB,GAAG,EAGpBE,aAAgBC,IACtB,GAAItB,KAAKf,SAAU,OAEnB,IAAKsC,EAAcD,EAAGE,OAAQ,YAAa,OAC3CxB,KAAKH,MAAQyB,EAAGE,OAAO3B,MACvBG,KAAKa,aAAab,KAAKH,OACvBG,KAAKI,qBAELJ,KAAKM,SAASY,KAAK,CAAErB,MAAOG,KAAKH,MAAOsB,GAAInB,KAAKmB,IAAK,EAGhDM,YAAeH,IACrB,GAAItB,KAAKf,SAAU,OAEnBe,KAAK5B,iBAAiBsD,SAEtB,IAAKH,EAAcD,EAAGE,OAAQ,YAAa,OAC3CxB,KAAKH,MAAQyB,EAAGE,OAAO3B,MAEvBG,KAAK5B,gBAAkBuD,GAAS,KAC9B3B,KAAKS,QAAQS,KAAK,CAAErB,MAAOG,KAAKH,MAAOsB,GAAInB,KAAKmB,IAAK,GACpDnB,KAAKhB,cACRgB,KAAK5B,kBAEL4B,KAAK4B,YAAY,EAGXA,WAAa,KACnB,IAAK5B,KAAKjB,SAAU,OAEpB,MAAM8C,EAAY7B,KAAKxB,SACvB,IAAKqD,EAAW,OAEhBA,EAAUC,MAAMC,OAAS,OACzBF,EAAUC,MAAMC,OAAS,GAAGF,EAAUG,gBAAgB,EAGhDrB,iBAAmB,KACzBX,KAAKrB,SAAWsD,EAAejC,KAAKzB,WACpCyB,KAAKtB,cAAgBuD,EAAejC,KAAK1B,eAAe,EAGlDuC,aAAgBhB,IACtBG,KAAKvB,UAAUoC,cAAcqB,EAAMrC,GAAS,GAAGA,IAAUsC,UAAU,EAG7D/B,mBAAqB,KAC3B,MAAMhB,sBAAEA,EAAqBX,UAAEA,EAASgB,SAAEA,EAAQI,MAAEA,EAAKrB,SAAEA,GAAawB,KAGxEvB,GAAW2D,OAAOC,QAElB,GAAI5C,KAAcI,GAASA,EAAMyC,SAAW,IAAK,CAE/C7D,GAAW2D,OAAOG,IAAI,WACtB9D,GAAW+D,YAAY,CAAEC,aAAc,MAAQrD,EAAuBZ,GACtE,M,CAIFC,GAAW2D,OAAOG,IAAI,SACtB9D,GAAW+D,YAAY,GAAG,EAGpBzB,eAAiB,KACvBf,KAAKH,MAAQ,GACbG,KAAKxB,SAASqB,MAAQG,KAAKH,KAAK,EAOlC,MAAA6C,GACE,OACEC,EAAK,OAAAC,MAAM,sCAAsCC,KAAK,OAAMC,SAAA,CAC1DC,EACc,sBAAA/C,KAAKV,MAAQU,KAAK3B,WAC9BuE,MAAO,CAAE,qBAAsB,KAAM,WAAY5C,KAAKrB,UACtDqE,QAAShD,KAAKV,MAAQU,KAAK3B,WAC3BwE,KAAK,QACLI,IAAMC,IACJlD,KAAKzB,UAAY2E,CAAK,EAGxBJ,SAAAC,EAAA,QAAMzD,KAAK,QAAQ6D,aAAcnD,KAAKW,kBAAgB,6CAChD,4CACRoC,cACEnE,eAAgBoB,KAAKpB,eACrBC,aAAcmB,KAAKnB,aACnBC,UAAWkB,KAAKlB,UAChB8D,MAAO,CACL,qBAAsB,KACtB,cAAe5C,KAAKd,cACpB,CAAC,cAAcc,KAAKJ,oBAAqB,MAE3CX,SAAUe,KAAKf,SACfE,KAAMa,KAAKb,KACXiE,GAAIpD,KAAKV,MAAQU,KAAK3B,WACtBgF,UAAWrD,KAAKX,UAAY,EAAIW,KAAKX,UAAY8C,UACjD7C,KAAMU,KAAKV,KACXgE,OAAQtD,KAAKiB,WACbsC,SAAUvD,KAAKqB,aACfmC,QAASxD,KAAKoB,YACdqC,QAASzD,KAAKyB,YACdoB,KAAK,QACLtD,YAAaS,KAAKT,YAClBmE,SAAU1D,KAAKR,SACfyD,IAAMU,IACJ3D,KAAKxB,SAAWmF,CAAI,EAEtBlE,SAAUO,KAAKP,SACfC,KAAMM,KAAKN,KACXC,WAAYK,KAAKL,WACjBG,KAAME,KAAKF,KAAIgD,SAEd9C,KAAKH,OAAK,4CAEb8C,EAAA,OACEC,MAAO,CACL,wDAAyD,KACzD,CAAC,cAAc5C,KAAKJ,oBAAqB,KACzC,WAAYI,KAAKtB,gBAAkBsB,KAAKX,WAE1CwD,KAAK,cAAaC,SAAA,CAElBC,EACE,QAAAH,MAAM,4BACNC,KAAK,cACLI,IAAMW,IACJ5D,KAAK1B,eAAiBsF,CAAI,EAC3Bd,SAEDC,UAAMzD,KAAK,cAAc6D,aAAcnD,KAAKW,kBAAoB,yFAElEgC,EACE,QAAAC,MAAO,CAAE,0DAA2D,KAAM,WAAY5C,KAAKX,WAC3FwD,KAAK,iBAAgBC,SAAA,CAEpB9C,KAAKgB,oBAAsB,EAAC,IAAGhB,KAAKX,YAChC,4FAEL,2C","ignoreList":[]}
|