@adyen/bento-vue3 1.88.1 → 1.89.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.
Files changed (366) hide show
  1. package/dist/@types/components.d.ts +4 -0
  2. package/dist/@types/index.d.ts +722 -524
  3. package/dist/accordion.js +1 -1
  4. package/dist/action-bar.js +1 -1
  5. package/dist/ai-tag.js +1 -1
  6. package/dist/alert.js +1 -1
  7. package/dist/anchor-scroller.js +1 -1
  8. package/dist/assets/accordion-item.css +1 -1
  9. package/dist/assets/action-bar.css +1 -1
  10. package/dist/assets/ai-button.css +1 -1
  11. package/dist/assets/base-modal.css +1 -1
  12. package/dist/assets/button-actions.css +1 -1
  13. package/dist/assets/button.css +1 -1
  14. package/dist/assets/card.css +1 -1
  15. package/dist/assets/checkbox-input.css +1 -1
  16. package/dist/assets/data-grid-template.css +1 -1
  17. package/dist/assets/data-grid.css +1 -1
  18. package/dist/assets/dialog-page.css +1 -1
  19. package/dist/assets/file-uploader.css +1 -1
  20. package/dist/assets/filter-bar.css +1 -1
  21. package/dist/assets/index.css +1 -1
  22. package/dist/assets/inspector.css +1 -1
  23. package/dist/assets/list-item.css +1 -0
  24. package/dist/assets/modal-fullscreen.css +1 -1
  25. package/dist/assets/radio-input.css +1 -1
  26. package/dist/assets/selection-card-group.css +1 -1
  27. package/dist/assets/sidepanel.css +1 -1
  28. package/dist/assets/timeline-item.css +1 -1
  29. package/dist/assets/use-cached-selected-values.css +1 -1
  30. package/dist/button.js +3 -3
  31. package/dist/card.js +1 -1
  32. package/dist/checkbox.js +2 -2
  33. package/dist/chip.js +1 -1
  34. package/dist/chunks/{accordion-item.QQ06tTjt.js → accordion-item.BX1KrLMl.js} +6 -15
  35. package/dist/chunks/{accordion-item.QQ06tTjt.js.map → accordion-item.BX1KrLMl.js.map} +1 -1
  36. package/dist/chunks/{action-bar.BS2cJzG_.js → action-bar.DLMaIUWW.js} +8 -34
  37. package/dist/chunks/{action-bar.BS2cJzG_.js.map → action-bar.DLMaIUWW.js.map} +1 -1
  38. package/dist/chunks/{ai-button.XfeGC4-Q.js → ai-button.1YJdI-sw.js} +3 -3
  39. package/dist/chunks/{ai-button.XfeGC4-Q.js.map → ai-button.1YJdI-sw.js.map} +1 -1
  40. package/dist/chunks/{ai-tag.DVCW-_vD.js → ai-tag.DK63ExDc.js} +6 -15
  41. package/dist/chunks/{ai-tag.DVCW-_vD.js.map → ai-tag.DK63ExDc.js.map} +1 -1
  42. package/dist/chunks/{alert.CDWtu0Hu.js → alert.C_8-VNi_.js} +6 -24
  43. package/dist/chunks/{alert.CDWtu0Hu.js.map → alert.C_8-VNi_.js.map} +1 -1
  44. package/dist/chunks/anchor-scroller.NhjLDBZI.js +207 -0
  45. package/dist/chunks/{anchor-scroller.BctgW0se.js.map → anchor-scroller.NhjLDBZI.js.map} +1 -1
  46. package/dist/chunks/{base-button.CRYAiuzn.js → base-button.CvHl36Ue.js} +24 -27
  47. package/dist/chunks/{base-button.CRYAiuzn.js.map → base-button.CvHl36Ue.js.map} +1 -1
  48. package/dist/chunks/base-modal.C2-JyHC_.js +424 -0
  49. package/dist/chunks/{base-modal.gZAtk-xP.js.map → base-modal.C2-JyHC_.js.map} +1 -1
  50. package/dist/chunks/button-actions-with-menu.BQFAgAI2.js +85 -0
  51. package/dist/chunks/{button-actions-with-menu.Tba1ME79.js.map → button-actions-with-menu.BQFAgAI2.js.map} +1 -1
  52. package/dist/chunks/{button-actions.BYBpjNqy.js → button-actions.cMQWyZne.js} +511 -542
  53. package/dist/chunks/{button-actions.BYBpjNqy.js.map → button-actions.cMQWyZne.js.map} +1 -1
  54. package/dist/chunks/{button.C6t9_lzm.js → button.DWF7FSIw.js} +42 -45
  55. package/dist/chunks/{button.C6t9_lzm.js.map → button.DWF7FSIw.js.map} +1 -1
  56. package/dist/chunks/calendar.DcCqkSNJ.js +1201 -0
  57. package/dist/chunks/{calendar.vM3abC8y.js.map → calendar.DcCqkSNJ.js.map} +1 -1
  58. package/dist/chunks/{card.Cw63i7Ul.js → card.CoxQ_L0w.js} +9 -21
  59. package/dist/chunks/{card.Cw63i7Ul.js.map → card.CoxQ_L0w.js.map} +1 -1
  60. package/dist/chunks/{checkbox-group.ODQy-ICn.js → checkbox-group.96n9Cc3W.js} +5 -5
  61. package/dist/chunks/{checkbox-group.ODQy-ICn.js.map → checkbox-group.96n9Cc3W.js.map} +1 -1
  62. package/dist/chunks/{checkbox-input.BZjSoCQW.js → checkbox-input.CVFQCfZM.js} +44 -51
  63. package/dist/chunks/{checkbox-input.BZjSoCQW.js.map → checkbox-input.CVFQCfZM.js.map} +1 -1
  64. package/dist/chunks/{checkbox.C3Ewfygy.js → checkbox.C6ATh8f5.js} +85 -94
  65. package/dist/chunks/{checkbox.C3Ewfygy.js.map → checkbox.C6ATh8f5.js.map} +1 -1
  66. package/dist/chunks/chevron-right-small.BCinNiMt.js +29 -0
  67. package/dist/chunks/chevron-right-small.BCinNiMt.js.map +1 -0
  68. package/dist/chunks/{chip.CyW1V8RU.js → chip.CdgpQyXN.js} +6 -12
  69. package/dist/chunks/{chip.CyW1V8RU.js.map → chip.CdgpQyXN.js.map} +1 -1
  70. package/dist/chunks/click-outside.BPylIosK.js +20 -0
  71. package/dist/chunks/{click-outside.CDz_x8mN.js.map → click-outside.BPylIosK.js.map} +1 -1
  72. package/dist/chunks/{code-snippet.BaJU2I5_.js → code-snippet.DgAuuZF5.js} +9 -24
  73. package/dist/chunks/{code-snippet.BaJU2I5_.js.map → code-snippet.DgAuuZF5.js.map} +1 -1
  74. package/dist/chunks/{codemirror.D2BAltnu.js → codemirror.Bzus_EPG.js} +15 -15
  75. package/dist/chunks/{codemirror.D2BAltnu.js.map → codemirror.Bzus_EPG.js.map} +1 -1
  76. package/dist/chunks/constructNow.D9uRk678.js +8 -0
  77. package/dist/chunks/{constructNow.CIc7d13I.js.map → constructNow.D9uRk678.js.map} +1 -1
  78. package/dist/chunks/{controls-group.Bu5lNTyH.js → controls-group.C7hOE1F4.js} +3 -3
  79. package/dist/chunks/{controls-group.Bu5lNTyH.js.map → controls-group.C7hOE1F4.js.map} +1 -1
  80. package/dist/chunks/{copy.C_BCNHYQ.js → copy.C2kQ1PbI.js} +7 -19
  81. package/dist/chunks/{copy.C_BCNHYQ.js.map → copy.C2kQ1PbI.js.map} +1 -1
  82. package/dist/chunks/{country.DJts6kCv.js → country.CaGc08Ps.js} +3 -3
  83. package/dist/chunks/{country.DJts6kCv.js.map → country.CaGc08Ps.js.map} +1 -1
  84. package/dist/chunks/country.types.DjpMGz7a.js +19 -0
  85. package/dist/chunks/{country.types.BBQbWkTY.js.map → country.types.DjpMGz7a.js.map} +1 -1
  86. package/dist/chunks/{currency.Afx8MVdY.js → currency.DuTEzR_W.js} +40 -42
  87. package/dist/chunks/{currency.Afx8MVdY.js.map → currency.DuTEzR_W.js.map} +1 -1
  88. package/dist/chunks/dashboard-section.UafHRkMa.js +161 -0
  89. package/dist/chunks/{dashboard-section.CgoLquLP.js.map → dashboard-section.UafHRkMa.js.map} +1 -1
  90. package/dist/chunks/dashed-underline.CcDV2Aks.js +108 -0
  91. package/dist/chunks/{dashed-underline.wbRHATeE.js.map → dashed-underline.CcDV2Aks.js.map} +1 -1
  92. package/dist/chunks/data-grid-template.CnC4TQvk.js +135 -0
  93. package/dist/chunks/{data-grid-template.D40V1cmi.js.map → data-grid-template.CnC4TQvk.js.map} +1 -1
  94. package/dist/chunks/data-grid.BSIXLRm7.js +4014 -0
  95. package/dist/chunks/{data-grid.C2nCCbeC.js.map → data-grid.BSIXLRm7.js.map} +1 -1
  96. package/dist/chunks/date-picker.dlzZ_-5f.js +231 -0
  97. package/dist/chunks/{date-picker.D5B_SECc.js.map → date-picker.dlzZ_-5f.js.map} +1 -1
  98. package/dist/chunks/date-range-picker.DC6CK0As.js +995 -0
  99. package/dist/chunks/{date-range-picker.B0q7Z4df.js.map → date-range-picker.DC6CK0As.js.map} +1 -1
  100. package/dist/chunks/{date.BtB1HyWQ.js → date.R2Wz6o7J.js} +28 -28
  101. package/dist/chunks/{date.BtB1HyWQ.js.map → date.R2Wz6o7J.js.map} +1 -1
  102. package/dist/chunks/{de.BJvo6njq.js → de.DXrHnkLX.js} +18 -18
  103. package/dist/chunks/{de.BJvo6njq.js.map → de.DXrHnkLX.js.map} +1 -1
  104. package/dist/chunks/{dialog-page.C1KUI51V.js → dialog-page.COfKqjT-.js} +7 -13
  105. package/dist/chunks/{dialog-page.C1KUI51V.js.map → dialog-page.COfKqjT-.js.map} +1 -1
  106. package/dist/chunks/differenceInMonths.s_znQQpw.js +43 -0
  107. package/dist/chunks/{differenceInMonths.CIYECBxK.js.map → differenceInMonths.s_znQQpw.js.map} +1 -1
  108. package/dist/chunks/{directive.rXUeDb8p.js → directive.Dpivxq_t.js} +2 -2
  109. package/dist/chunks/{directive.rXUeDb8p.js.map → directive.Dpivxq_t.js.map} +1 -1
  110. package/dist/chunks/{dropdown-default-textbox.CskseEho.js → dropdown-default-textbox.bq9AlGzJ.js} +55 -64
  111. package/dist/chunks/{dropdown-default-textbox.CskseEho.js.map → dropdown-default-textbox.bq9AlGzJ.js.map} +1 -1
  112. package/dist/chunks/{dropdown-tag.Zj-exiup.js → dropdown-tag.Ysrac5GN.js} +82 -86
  113. package/dist/chunks/{dropdown-tag.Zj-exiup.js.map → dropdown-tag.Ysrac5GN.js.map} +1 -1
  114. package/dist/chunks/dropdown.MhmX1P9o.js +799 -0
  115. package/dist/chunks/{dropdown.CxjzXI-k.js.map → dropdown.MhmX1P9o.js.map} +1 -1
  116. package/dist/chunks/{empty-state.DqdPzU-g.js → empty-state.DT4sFyjB.js} +7 -14
  117. package/dist/chunks/{empty-state.DqdPzU-g.js.map → empty-state.DT4sFyjB.js.map} +1 -1
  118. package/dist/chunks/{en-GB.C3-QUpva.js → en-GB.CBpvhDYV.js} +2 -2
  119. package/dist/chunks/{en-GB.C3-QUpva.js.map → en-GB.CBpvhDYV.js.map} +1 -1
  120. package/dist/chunks/{en-US.YeSsZuOc.js → en-US.CCazFVNP.js} +30 -30
  121. package/dist/chunks/{en-US.YeSsZuOc.js.map → en-US.CCazFVNP.js.map} +1 -1
  122. package/dist/chunks/{error-message.oGiefI2-.js → error-message.DCgo8q20.js} +8 -20
  123. package/dist/chunks/{error-message.oGiefI2-.js.map → error-message.DCgo8q20.js.map} +1 -1
  124. package/dist/chunks/{es.DyUjjSL8.js → es.CoF2PB8b.js} +14 -14
  125. package/dist/chunks/{es.DyUjjSL8.js.map → es.CoF2PB8b.js.map} +1 -1
  126. package/dist/chunks/{file-uploader.BnmNI1O7.js → file-uploader.Bfd1uUMe.js} +575 -680
  127. package/dist/chunks/{file-uploader.BnmNI1O7.js.map → file-uploader.Bfd1uUMe.js.map} +1 -1
  128. package/dist/chunks/filter-bar.CkAjLQol.js +3675 -0
  129. package/dist/chunks/filter-bar.CkAjLQol.js.map +1 -0
  130. package/dist/chunks/fixed-scroller.DtkaGyMD.js +150 -0
  131. package/dist/chunks/{fixed-scroller.i1tmEmst.js.map → fixed-scroller.DtkaGyMD.js.map} +1 -1
  132. package/dist/chunks/{focus-trap.BxCwzLqN.js → focus-trap.BAiM_ywb.js} +70 -86
  133. package/dist/chunks/{focus-trap.BxCwzLqN.js.map → focus-trap.BAiM_ywb.js.map} +1 -1
  134. package/dist/chunks/{footer-actions.Ck6UztD8.js → footer-actions.BcYSsoUg.js} +3 -3
  135. package/dist/chunks/{footer-actions.Ck6UztD8.js.map → footer-actions.BcYSsoUg.js.map} +1 -1
  136. package/dist/chunks/{form-layout-title.CQfeGyVw.js → form-layout-title.DW5Kg1rh.js} +4 -6
  137. package/dist/chunks/{form-layout-title.CQfeGyVw.js.map → form-layout-title.DW5Kg1rh.js.map} +1 -1
  138. package/dist/chunks/{fr.JD_4GwS8.js → fr.CJXL-Ief.js} +16 -16
  139. package/dist/chunks/{fr.JD_4GwS8.js.map → fr.CJXL-Ief.js.map} +1 -1
  140. package/dist/chunks/{generate-uid.NJ8tVoha.js → generate-uid.DBWe4g6T.js} +15 -16
  141. package/dist/chunks/{generate-uid.NJ8tVoha.js.map → generate-uid.DBWe4g6T.js.map} +1 -1
  142. package/dist/chunks/get-slot-text.8Fbl1GOr.js +6 -0
  143. package/dist/chunks/{get-slot-text.CQRAP2_q.js.map → get-slot-text.8Fbl1GOr.js.map} +1 -1
  144. package/dist/chunks/{grid-layout.Vhv1_zFs.js → grid-layout.CCWNscU_.js} +11 -12
  145. package/dist/chunks/{grid-layout.Vhv1_zFs.js.map → grid-layout.CCWNscU_.js.map} +1 -1
  146. package/dist/chunks/{header-meta.lGt3HsyH.js → header-meta.Bym9AlQm.js} +84 -96
  147. package/dist/chunks/{header-meta.lGt3HsyH.js.map → header-meta.Bym9AlQm.js.map} +1 -1
  148. package/dist/chunks/{header-with-views.D_sy4I2A.js → header-with-views.Djba6iol.js} +1013 -1156
  149. package/dist/chunks/{header-with-views.D_sy4I2A.js.map → header-with-views.Djba6iol.js.map} +1 -1
  150. package/dist/chunks/{header.oXqwf2xN.js → header.o-7SyHtU.js} +4 -4
  151. package/dist/chunks/{header.oXqwf2xN.js.map → header.o-7SyHtU.js.map} +1 -1
  152. package/dist/chunks/{index.Dppy4qHk.js → index.DDwcHPb6.js} +12 -12
  153. package/dist/chunks/{index.Dppy4qHk.js.map → index.DDwcHPb6.js.map} +1 -1
  154. package/dist/chunks/{info-icon.DyPOv7Pi.js → info-icon.BUala_wq.js} +3 -3
  155. package/dist/chunks/{info-icon.DyPOv7Pi.js.map → info-icon.BUala_wq.js.map} +1 -1
  156. package/dist/chunks/input-field-password.DZytmp_p.js +346 -0
  157. package/dist/chunks/{input-field-password.C_h61CMn.js.map → input-field-password.DZytmp_p.js.map} +1 -1
  158. package/dist/chunks/{input-field-phone-number.KctRYA9p.js → input-field-phone-number.CxblrmaU.js} +720 -736
  159. package/dist/chunks/{input-field-phone-number.KctRYA9p.js.map → input-field-phone-number.CxblrmaU.js.map} +1 -1
  160. package/dist/chunks/{input-field.DPElUS0U.js → input-field.CfU0ZKtL.js} +42 -54
  161. package/dist/chunks/{input-field.DPElUS0U.js.map → input-field.CfU0ZKtL.js.map} +1 -1
  162. package/dist/chunks/{inspector.BjLhY3bE.js → inspector.B9k4tJWe.js} +9 -27
  163. package/dist/chunks/{inspector.BjLhY3bE.js.map → inspector.B9k4tJWe.js.map} +1 -1
  164. package/dist/chunks/isSameWeek.Dj6luS8h.js +14 -0
  165. package/dist/chunks/{isSameWeek.CzBCmu7d.js.map → isSameWeek.Dj6luS8h.js.map} +1 -1
  166. package/dist/chunks/{it.BlUnV-yA.js → it.20Y7h-bF.js} +8 -8
  167. package/dist/chunks/{it.BlUnV-yA.js.map → it.20Y7h-bF.js.map} +1 -1
  168. package/dist/chunks/{ja.nUwDmVf2.js → ja.DXlq0H98.js} +27 -27
  169. package/dist/chunks/{ja.nUwDmVf2.js.map → ja.DXlq0H98.js.map} +1 -1
  170. package/dist/chunks/layout-row.B5VJGEQH.js +99 -0
  171. package/dist/chunks/{layout-row.Da8nkm9z.js.map → layout-row.B5VJGEQH.js.map} +1 -1
  172. package/dist/chunks/link.D6D6YGsN.js +113 -0
  173. package/dist/chunks/{link.DTCn2EtX.js.map → link.D6D6YGsN.js.map} +1 -1
  174. package/dist/chunks/list-item.DO5uULke.js +128 -0
  175. package/dist/chunks/list-item.DO5uULke.js.map +1 -0
  176. package/dist/chunks/{listbox-option-tag.CoBUYwFG.js → listbox-option-tag.Cvplth7d.js} +2 -2
  177. package/dist/chunks/{listbox-option-tag.CoBUYwFG.js.map → listbox-option-tag.Cvplth7d.js.map} +1 -1
  178. package/dist/chunks/{modal-fullscreen.9ZDR_S29.js → modal-fullscreen.CuKVyTWb.js} +100 -108
  179. package/dist/chunks/{modal-fullscreen.9ZDR_S29.js.map → modal-fullscreen.CuKVyTWb.js.map} +1 -1
  180. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.B0IdwV0R.js → modal.vue_vue_type_script_setup_true_lang.DmPw0l5Y.js} +134 -143
  181. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.B0IdwV0R.js.map → modal.vue_vue_type_script_setup_true_lang.DmPw0l5Y.js.map} +1 -1
  182. package/dist/chunks/on-click-outside.ZUMLlxE_.js +90 -0
  183. package/dist/chunks/{on-click-outside.BW4rkhzG.js.map → on-click-outside.ZUMLlxE_.js.map} +1 -1
  184. package/dist/chunks/pagination.dpVc6Yt0.js +401 -0
  185. package/dist/chunks/pagination.dpVc6Yt0.js.map +1 -0
  186. package/dist/chunks/popover.types.D8tHtFl3.js +6 -0
  187. package/dist/chunks/{popover.types.DhALnOLQ.js.map → popover.types.D8tHtFl3.js.map} +1 -1
  188. package/dist/chunks/{popper-container.DAK7c9uS.js → popper-container.DMN8n5iC.js} +79 -86
  189. package/dist/chunks/{popper-container.DAK7c9uS.js.map → popper-container.DMN8n5iC.js.map} +1 -1
  190. package/dist/chunks/{promo-banner.aNwH6uQx.js → promo-banner.BzveHNOI.js} +7 -13
  191. package/dist/chunks/{promo-banner.aNwH6uQx.js.map → promo-banner.BzveHNOI.js.map} +1 -1
  192. package/dist/chunks/{pt-BR.BCU2Hj36.js → pt-BR.DmhmCzxE.js} +14 -14
  193. package/dist/chunks/{pt-BR.BCU2Hj36.js.map → pt-BR.DmhmCzxE.js.map} +1 -1
  194. package/dist/chunks/{radio-group.DEYzF6o7.js → radio-group.Cuiq4mxy.js} +46 -46
  195. package/dist/chunks/{radio-group.DEYzF6o7.js.map → radio-group.Cuiq4mxy.js.map} +1 -1
  196. package/dist/chunks/{rich-text-editor.DH1d5Zcp.js → rich-text-editor.DLMiT4f5.js} +1018 -1024
  197. package/dist/chunks/{rich-text-editor.DH1d5Zcp.js.map → rich-text-editor.DLMiT4f5.js.map} +1 -1
  198. package/dist/chunks/{search-bar.Dtzx88Pv.js → search-bar.CsFyP0_I.js} +6 -15
  199. package/dist/chunks/{search-bar.Dtzx88Pv.js.map → search-bar.CsFyP0_I.js.map} +1 -1
  200. package/dist/chunks/{secondary-nav.Zs7dBoJv.js → secondary-nav.CLBdq98c.js} +6 -12
  201. package/dist/chunks/{secondary-nav.Zs7dBoJv.js.map → secondary-nav.CLBdq98c.js.map} +1 -1
  202. package/dist/chunks/{segmented-control.Aqquod8g.js → segmented-control.KeQ5kuR1.js} +47 -51
  203. package/dist/chunks/{segmented-control.Aqquod8g.js.map → segmented-control.KeQ5kuR1.js.map} +1 -1
  204. package/dist/chunks/selection-card-group.XM11Kk-4.js +412 -0
  205. package/dist/chunks/{selection-card-group.C7IK2Vl5.js.map → selection-card-group.XM11Kk-4.js.map} +1 -1
  206. package/dist/chunks/{sidepanel.DaXPcTHm.js → sidepanel.b2QZ1Jsx.js} +64 -71
  207. package/dist/chunks/{sidepanel.DaXPcTHm.js.map → sidepanel.b2QZ1Jsx.js.map} +1 -1
  208. package/dist/chunks/startOfWeek.Cvmo-f5J.js +9 -0
  209. package/dist/chunks/{startOfWeek.CXhhX-R7.js.map → startOfWeek.Cvmo-f5J.js.map} +1 -1
  210. package/dist/chunks/status.H00BAmRx.js +42 -0
  211. package/dist/chunks/status.H00BAmRx.js.map +1 -0
  212. package/dist/chunks/status.types.Dx8MDhEH.js +5 -0
  213. package/dist/chunks/status.types.Dx8MDhEH.js.map +1 -0
  214. package/dist/chunks/{step.BV7MsrRF.js → step.BlwoLfdw.js} +56 -68
  215. package/dist/chunks/{step.BV7MsrRF.js.map → step.BlwoLfdw.js.map} +1 -1
  216. package/dist/chunks/{structured-list-item.DAIaUMCY.js → structured-list-item.e-8kRleh.js} +8 -14
  217. package/dist/chunks/{structured-list-item.DAIaUMCY.js.map → structured-list-item.e-8kRleh.js.map} +1 -1
  218. package/dist/chunks/{summary-grid.types.BZcZS_dW.js → summary-grid.types.CcvOC03H.js} +172 -179
  219. package/dist/chunks/{summary-grid.types.BZcZS_dW.js.map → summary-grid.types.CcvOC03H.js.map} +1 -1
  220. package/dist/chunks/tab.mR5uUSdp.js +265 -0
  221. package/dist/chunks/{tab.DRrnMCxe.js.map → tab.mR5uUSdp.js.map} +1 -1
  222. package/dist/chunks/{tag.CqWg6C3H.js → tag.DujMVFh-.js} +3 -3
  223. package/dist/chunks/{tag.CqWg6C3H.js.map → tag.DujMVFh-.js.map} +1 -1
  224. package/dist/chunks/textarea.CHV6Z8nt.js +247 -0
  225. package/dist/chunks/{textarea.CvI2InIB.js.map → textarea.CHV6Z8nt.js.map} +1 -1
  226. package/dist/chunks/timeline-item.CaGcRZbt.js +419 -0
  227. package/dist/chunks/timeline-item.CaGcRZbt.js.map +1 -0
  228. package/dist/chunks/{toast.Bbtq3Icj.js → toast.C2oehk9P.js} +72 -78
  229. package/dist/chunks/{toast.Bbtq3Icj.js.map → toast.C2oehk9P.js.map} +1 -1
  230. package/dist/chunks/{toggle.BupEBkIG.js → toggle.BQoprdX-.js} +5 -5
  231. package/dist/chunks/{toggle.BupEBkIG.js.map → toggle.BQoprdX-.js.map} +1 -1
  232. package/dist/chunks/tooltip.CbADa_4p.js +199 -0
  233. package/dist/chunks/{tooltip.Lwtlhv3u.js.map → tooltip.CbADa_4p.js.map} +1 -1
  234. package/dist/chunks/truncate.DmCXQmeb.js +8 -0
  235. package/dist/chunks/{truncate.BfIl_-71.js.map → truncate.DmCXQmeb.js.map} +1 -1
  236. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BL2QTKmV.js → tutorial.vue_vue_type_script_setup_true_lang.BOruzlTt.js} +100 -124
  237. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BL2QTKmV.js.map → tutorial.vue_vue_type_script_setup_true_lang.BOruzlTt.js.map} +1 -1
  238. package/dist/chunks/{use-bento-toast-controller.BFctDoMg.js → use-bento-toast-controller.D_NSnBxi.js} +2 -2
  239. package/dist/chunks/{use-bento-toast-controller.BFctDoMg.js.map → use-bento-toast-controller.D_NSnBxi.js.map} +1 -1
  240. package/dist/chunks/use-cached-selected-values.ClEJRFAd.js +1631 -0
  241. package/dist/chunks/{use-cached-selected-values.C4_X3vVj.js.map → use-cached-selected-values.ClEJRFAd.js.map} +1 -1
  242. package/dist/chunks/use-country-items.D_3LBe2I.js +30 -0
  243. package/dist/chunks/{use-country-items.BTzByPdQ.js.map → use-country-items.D_3LBe2I.js.map} +1 -1
  244. package/dist/chunks/use-country-phon-code.DoqTGkNr.js +287 -0
  245. package/dist/chunks/use-country-phon-code.DoqTGkNr.js.map +1 -0
  246. package/dist/chunks/use-date-input-formatter.CDRzd-hW.js +1629 -0
  247. package/dist/chunks/{use-date-input-formatter.dtbK-CEy.js.map → use-date-input-formatter.CDRzd-hW.js.map} +1 -1
  248. package/dist/chunks/use-default-slot-validator.BzHcrgmy.js +12 -0
  249. package/dist/chunks/{use-default-slot-validator.O02rzsob.js.map → use-default-slot-validator.BzHcrgmy.js.map} +1 -1
  250. package/dist/chunks/use-expandable-content-height.B5jjRvCz.js +16 -0
  251. package/dist/chunks/{use-expandable-content-height.GkjjbmPy.js.map → use-expandable-content-height.B5jjRvCz.js.map} +1 -1
  252. package/dist/chunks/use-has-slot.CyMiImRQ.js +14 -0
  253. package/dist/chunks/{use-has-slot.B7eQSabc.js.map → use-has-slot.CyMiImRQ.js.map} +1 -1
  254. package/dist/chunks/utils.DWmc2mUI.js +19 -0
  255. package/dist/chunks/{utils.BzUwtTXc.js.map → utils.DWmc2mUI.js.map} +1 -1
  256. package/dist/chunks/{zh-CN.ChYkuQAR.js → zh-CN.Ce34mXsX.js} +28 -28
  257. package/dist/chunks/{zh-CN.ChYkuQAR.js.map → zh-CN.Ce34mXsX.js.map} +1 -1
  258. package/dist/click-outside.js +1 -1
  259. package/dist/code-snippet.js +1 -1
  260. package/dist/country.js +3 -3
  261. package/dist/currency.js +1 -1
  262. package/dist/dashboard-template.js +1 -1
  263. package/dist/dashed-underline.js +1 -1
  264. package/dist/data-grid-template.js +1 -1
  265. package/dist/data-grid.js +1 -1
  266. package/dist/date-picker.js +2 -2
  267. package/dist/date-range-picker.js +2 -2
  268. package/dist/date.js +1 -1
  269. package/dist/draggable-handle.js +4 -28
  270. package/dist/draggable-handle.js.map +1 -1
  271. package/dist/dropdown.js +4 -4
  272. package/dist/empty-state.js +1 -1
  273. package/dist/file-uploader.js +1 -1
  274. package/dist/filter-bar.js +1 -1
  275. package/dist/focus-trap.js +1 -1
  276. package/dist/form-layout.js +1 -1
  277. package/dist/header-with-views.js +1 -1
  278. package/dist/header.js +1 -1
  279. package/dist/index.js +241 -241
  280. package/dist/index.js.map +1 -1
  281. package/dist/info-icon.js +1 -1
  282. package/dist/input-field-password.js +1 -1
  283. package/dist/input-field-phone-number.js +1 -1
  284. package/dist/input-field.js +1 -1
  285. package/dist/inspector.js +1 -1
  286. package/dist/internal.js +13 -13
  287. package/dist/layout.js +1 -1
  288. package/dist/link.js +1 -1
  289. package/dist/list.js +6 -0
  290. package/dist/list.js.map +1 -0
  291. package/dist/menu.js +1 -1
  292. package/dist/modal-fullscreen.js +1 -1
  293. package/dist/modal.js +2 -2
  294. package/dist/pagination.js +1 -1
  295. package/dist/popover.js +2 -2
  296. package/dist/popper-container.js +1 -1
  297. package/dist/promo-banner.js +1 -1
  298. package/dist/radio-group.js +1 -1
  299. package/dist/rich-text-editor.js +1 -1
  300. package/dist/search-bar.js +2 -2
  301. package/dist/secondary-nav.js +1 -1
  302. package/dist/segmented-control.js +1 -1
  303. package/dist/selection-card.js +1 -1
  304. package/dist/sidepanel.js +1 -1
  305. package/dist/status.js +4 -3
  306. package/dist/status.js.map +1 -1
  307. package/dist/stepper.js +1 -1
  308. package/dist/structured-list.js +1 -1
  309. package/dist/summary-grid.js +1 -1
  310. package/dist/tabs.js +1 -1
  311. package/dist/tag.js +1 -1
  312. package/dist/textarea.js +1 -1
  313. package/dist/timeline.js +1 -1
  314. package/dist/toast.js +1 -1
  315. package/dist/toggle.js +1 -1
  316. package/dist/tutorial.js +1 -1
  317. package/dist/use-form-v4.js +331 -341
  318. package/dist/use-form-v4.js.map +1 -1
  319. package/dist/web-types.json +1 -1
  320. package/package.json +7 -7
  321. package/dist/chunks/anchor-scroller.BctgW0se.js +0 -214
  322. package/dist/chunks/base-modal.gZAtk-xP.js +0 -443
  323. package/dist/chunks/button-actions-with-menu.Tba1ME79.js +0 -93
  324. package/dist/chunks/calendar.vM3abC8y.js +0 -1234
  325. package/dist/chunks/click-outside.CDz_x8mN.js +0 -23
  326. package/dist/chunks/constructNow.CIc7d13I.js +0 -8
  327. package/dist/chunks/country.types.BBQbWkTY.js +0 -773
  328. package/dist/chunks/dashboard-section.CgoLquLP.js +0 -165
  329. package/dist/chunks/dashed-underline.wbRHATeE.js +0 -114
  330. package/dist/chunks/data-grid-template.D40V1cmi.js +0 -144
  331. package/dist/chunks/data-grid.C2nCCbeC.js +0 -4368
  332. package/dist/chunks/date-picker.D5B_SECc.js +0 -251
  333. package/dist/chunks/date-range-picker.B0q7Z4df.js +0 -1084
  334. package/dist/chunks/differenceInMonths.CIYECBxK.js +0 -43
  335. package/dist/chunks/dropdown.CxjzXI-k.js +0 -837
  336. package/dist/chunks/filter-bar.DJ7O4zLX.js +0 -4036
  337. package/dist/chunks/filter-bar.DJ7O4zLX.js.map +0 -1
  338. package/dist/chunks/fixed-scroller.i1tmEmst.js +0 -161
  339. package/dist/chunks/get-slot-text.CQRAP2_q.js +0 -12
  340. package/dist/chunks/input-field-password.C_h61CMn.js +0 -402
  341. package/dist/chunks/isSameWeek.CzBCmu7d.js +0 -14
  342. package/dist/chunks/layout-row.Da8nkm9z.js +0 -100
  343. package/dist/chunks/link.DTCn2EtX.js +0 -116
  344. package/dist/chunks/on-click-outside.BW4rkhzG.js +0 -91
  345. package/dist/chunks/pagination.B32UgSoH.js +0 -488
  346. package/dist/chunks/pagination.B32UgSoH.js.map +0 -1
  347. package/dist/chunks/popover.types.DhALnOLQ.js +0 -6
  348. package/dist/chunks/selection-card-group.C7IK2Vl5.js +0 -417
  349. package/dist/chunks/startOfWeek.CXhhX-R7.js +0 -10
  350. package/dist/chunks/status.types.D3v3k-Q8.js +0 -44
  351. package/dist/chunks/status.types.D3v3k-Q8.js.map +0 -1
  352. package/dist/chunks/tab.DRrnMCxe.js +0 -273
  353. package/dist/chunks/textarea.CvI2InIB.js +0 -255
  354. package/dist/chunks/timeline-item.BooD99hL.js +0 -427
  355. package/dist/chunks/timeline-item.BooD99hL.js.map +0 -1
  356. package/dist/chunks/tooltip.Lwtlhv3u.js +0 -202
  357. package/dist/chunks/truncate.BfIl_-71.js +0 -8
  358. package/dist/chunks/use-cached-selected-values.C4_X3vVj.js +0 -1711
  359. package/dist/chunks/use-country-items.BTzByPdQ.js +0 -30
  360. package/dist/chunks/use-country-phon-code.Bui3zD6W.js +0 -5621
  361. package/dist/chunks/use-country-phon-code.Bui3zD6W.js.map +0 -1
  362. package/dist/chunks/use-date-input-formatter.dtbK-CEy.js +0 -1732
  363. package/dist/chunks/use-default-slot-validator.O02rzsob.js +0 -16
  364. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js +0 -17
  365. package/dist/chunks/use-has-slot.B7eQSabc.js +0 -15
  366. package/dist/chunks/utils.BzUwtTXc.js +0 -21
@@ -1,165 +0,0 @@
1
- import { defineComponent as I, useSlots as F, ref as u, computed as d, watch as g, onUnmounted as L, openBlock as a, createElementBlock as l, createVNode as $, unref as s, mergeProps as R, createSlots as H, withCtx as _, renderSlot as i, createElementVNode as f, normalizeClass as C, createCommentVNode as W, createBlock as w, Fragment as M, renderList as U, onMounted as q } from "vue";
2
- import { B as E } from "./header.oXqwf2xN.js";
3
- import { a as A, B as G } from "./tab.DRrnMCxe.js";
4
- import { d as J } from "./index.Dppy4qHk.js";
5
- import { o as K } from "./resize.Bqks3WUm.js";
6
- import { u as N } from "./use-has-slot.B7eQSabc.js";
7
- import { _ as P } from "./_plugin-vue_export-helper.CHgC5LLL.js";
8
- import { B as Q } from "./divider.BIY84UH7.js";
9
- import "../assets/dashboard-section.css";
10
- const X = { class: "b-dashboard-template" }, Y = { class: "b-dashboard-template__container b-dashboard-template__container--tabs" }, Z = {
11
- key: 2,
12
- class: "b-dashboard-template__container"
13
- }, x = {}, tt = /* @__PURE__ */ I({
14
- ...x,
15
- __name: "dashboard-template",
16
- props: {
17
- header: {},
18
- tabs: { default: void 0 },
19
- stickyTabs: { type: Boolean, default: !1 },
20
- stickyFilters: { type: Boolean, default: !1 }
21
- },
22
- setup(h) {
23
- const o = h, r = F(), n = N(r), b = u(), e = u(null), p = u(!1);
24
- let c = null;
25
- const v = u(0), m = d(() => e.value && o.stickyFilters), B = d(() => b.value && o.stickyTabs), V = d(() => ({
26
- "b-dashboard-template__filters--sticky": o.stickyFilters,
27
- "b-dashboard-template__filters--show-border": m.value && !B.value && p.value
28
- })), z = d(() => ({
29
- "b-dashboard-template__top-section--sticky": o.stickyTabs || o.stickyFilters
30
- })), S = d(() => Object.keys(r).filter((t) => t == null ? void 0 : t.includes("tab-"))), O = (t) => {
31
- var y, k;
32
- return ((k = (y = o == null ? void 0 : o.tabs.tabs) == null ? void 0 : y[t]) == null ? void 0 : k.title) ?? `Tab ${t + 1}`;
33
- }, j = d(() => v.value ? { top: v.value } : void 0), { y: D } = J();
34
- return g(
35
- () => e.value,
36
- () => {
37
- !c && e.value && (c = K(e.value, () => {
38
- if (e.value && B.value) {
39
- const t = e.value.offsetHeight;
40
- v.value = m.value ? t : 0;
41
- }
42
- }));
43
- }
44
- ), g(
45
- () => D.value,
46
- () => {
47
- var t;
48
- m.value && (p.value = ((t = e.value) == null ? void 0 : t.getBoundingClientRect().top) === 0);
49
- }
50
- ), L(() => {
51
- c == null || c.disconnect();
52
- }), (t, y) => (a(), l("main", X, [
53
- $(s(E), R(t.header, {
54
- variant: "page",
55
- class: "b-dashboard-template__header"
56
- }), H({ _: 2 }, [
57
- s(n)("infoIconTooltipContent") ? {
58
- name: "infoIconTooltipContent",
59
- fn: _(() => [
60
- i(t.$slots, "infoIconTooltipContent", {}, void 0, !0)
61
- ]),
62
- key: "0"
63
- } : void 0
64
- ]), 1040),
65
- f("div", {
66
- class: C(["b-dashboard-template__top-section", z.value])
67
- }, [
68
- s(n)("filters") ? (a(), l("div", {
69
- key: 0,
70
- ref_key: "filtersRef",
71
- ref: e,
72
- class: C(["b-dashboard-template__filters", V.value]),
73
- "data-testid": "filters"
74
- }, [
75
- i(t.$slots, "filters", {}, void 0, !0)
76
- ], 2)) : W("", !0),
77
- S.value.length > 1 ? (a(), w(s(A), {
78
- key: 1,
79
- ref_key: "tabsRef",
80
- ref: b,
81
- "active-tab-index": t.tabs.activeTabIndex,
82
- sticky: t.stickyTabs,
83
- "sticky-options": j.value,
84
- "data-testid": "tabs"
85
- }, {
86
- default: _(() => [
87
- (a(!0), l(M, null, U(S.value, (k, T) => (a(), w(s(G), {
88
- key: `tab-${T}`,
89
- title: O(T)
90
- }, {
91
- default: _(() => [
92
- f("div", Y, [
93
- i(t.$slots, `tab-${T + 1}`, {}, void 0, !0)
94
- ])
95
- ]),
96
- _: 2
97
- }, 1032, ["title"]))), 128))
98
- ]),
99
- _: 3
100
- }, 8, ["active-tab-index", "sticky", "sticky-options"])) : (a(), l("div", Z, [
101
- i(t.$slots, "default", {}, void 0, !0)
102
- ]))
103
- ], 2)
104
- ]));
105
- }
106
- }), pt = /* @__PURE__ */ P(tt, [["__scopeId", "data-v-20c70d44"]]), et = {
107
- key: 0,
108
- class: "b-dashboard-section__controls"
109
- }, ot = {
110
- key: 1,
111
- class: "b-dashboard-section__content"
112
- }, st = {
113
- key: 2,
114
- class: "b-dashboard-section__columns"
115
- }, at = { class: "b-dashboard-section__content" }, nt = { class: "b-dashboard-section__content" }, it = {}, lt = /* @__PURE__ */ I({
116
- ...it,
117
- __name: "dashboard-section",
118
- props: {
119
- header: {},
120
- halfWidth: { type: Boolean, default: !1 }
121
- },
122
- setup(h) {
123
- const o = h, r = F(), n = N(r), b = d(() => ({
124
- "b-dashboard-section--half-width": o.halfWidth
125
- }));
126
- return q(() => {
127
- if ((n("content-col-1") || n("content-col-2")) && o.halfWidth)
128
- throw new Error("`content-col-1` and `content-col-2` cannot be used with half-width prop");
129
- }), (e, p) => (a(), l("div", {
130
- class: C(["b-dashboard-section", b.value])
131
- }, [
132
- $(s(E), R(e.header, {
133
- variant: "component",
134
- class: "b-dashboard-template__header"
135
- }), H({ _: 2 }, [
136
- s(n)("infoIconTooltipContent") ? {
137
- name: "infoIconTooltipContent",
138
- fn: _(() => [
139
- i(e.$slots, "infoIconTooltipContent", {}, void 0, !0)
140
- ]),
141
- key: "0"
142
- } : void 0
143
- ]), 1040),
144
- s(n)("controls") ? (a(), l("div", et, [
145
- i(e.$slots, "controls", {}, void 0, !0)
146
- ])) : W("", !0),
147
- !s(n)("content-col-1") && !s(n)("content-col-2") ? (a(), l("div", ot, [
148
- i(e.$slots, "default", {}, void 0, !0)
149
- ])) : (a(), l("div", st, [
150
- f("div", at, [
151
- i(e.$slots, "content-col-1", {}, void 0, !0)
152
- ]),
153
- f("div", nt, [
154
- i(e.$slots, "content-col-2", {}, void 0, !0)
155
- ])
156
- ])),
157
- $(s(Q), { class: "b-dashboard-section__divider" })
158
- ], 2));
159
- }
160
- }), vt = /* @__PURE__ */ P(lt, [["__scopeId", "data-v-55110156"]]);
161
- export {
162
- pt as a,
163
- vt as d
164
- };
165
- //# sourceMappingURL=dashboard-section.CgoLquLP.js.map
@@ -1,114 +0,0 @@
1
- import { defineComponent as E, useSlots as C, ref as i, computed as p, watch as D, withDirectives as k, openBlock as h, createElementBlock as w, createElementVNode as T, renderSlot as _, createBlock as N, unref as t, withCtx as u, toHandlers as V, createVNode as P, createTextVNode as y, toDisplayString as I, createCommentVNode as z } from "vue";
2
- import { e as F, h as L } from "./button-actions.BYBpjNqy.js";
3
- import { b as M } from "./tooltip.Lwtlhv3u.js";
4
- import { B as U } from "./typography.B3J6_tYk.js";
5
- import { u as A } from "./use-has-slot.B7eQSabc.js";
6
- import { _ as G } from "./_plugin-vue_export-helper.CHgC5LLL.js";
7
- import "../assets/dashed-underline.css";
8
- const H = { class: "b-dashed-underline__content" }, R = {}, Y = /* @__PURE__ */ E({
9
- ...R,
10
- __name: "dashed-underline",
11
- props: {
12
- popoverText: { default: null },
13
- popoverTitle: { default: null },
14
- popoverPosition: { default: "top" },
15
- popoverSize: { default: "fit-content" },
16
- teleport: { default: () => ({
17
- disabled: !0
18
- }) },
19
- tooltipText: { default: null },
20
- tooltipPosition: { default: "top" }
21
- },
22
- setup(S) {
23
- const n = S, O = C(), b = A(O), o = i(null), l = i(!1), r = i(), s = () => {
24
- l.value = !0, r.value && clearTimeout(r.value);
25
- }, a = () => {
26
- const e = setTimeout(() => {
27
- l.value = !1;
28
- }, 200);
29
- r.value = e;
30
- }, d = () => {
31
- s();
32
- }, c = (e) => {
33
- (!o.value || !((e == null ? void 0 : e.relatedTarget) instanceof Element) || !o.value.contains(e.relatedTarget)) && a();
34
- }, v = p(() => n.popoverText || b("popover-content")), g = p(() => !n.tooltipText && !v.value);
35
- D(
36
- g,
37
- (e) => {
38
- if (e)
39
- throw new Error(
40
- "BentoDashedUnderline requires either a tooltip or a popover to be configured. Check the docs for more info."
41
- );
42
- },
43
- { immediate: !0 }
44
- );
45
- const B = p(
46
- () => {
47
- var e;
48
- return ((e = n.teleport) == null ? void 0 : e.disabled) === !1 ? {
49
- mouseenter: s,
50
- mouseleave: a,
51
- focus: d,
52
- focusout: c
53
- } : {};
54
- }
55
- );
56
- return (e, q) => {
57
- var f, m;
58
- return k((h(), w("span", {
59
- ref_key: "element",
60
- ref: o,
61
- class: "b-dashed-underline",
62
- tabindex: "0",
63
- onMouseenter: s,
64
- onMouseleave: a,
65
- onFocus: d,
66
- onFocusout: c
67
- }, [
68
- T("span", H, [
69
- _(e.$slots, "default", {}, void 0, !0)
70
- ]),
71
- o.value && v.value ? (h(), N(t(F), {
72
- key: 0,
73
- disabled: (f = e.teleport) == null ? void 0 : f.disabled,
74
- to: (m = e.teleport) == null ? void 0 : m.to
75
- }, {
76
- default: u(() => [
77
- T("span", V(B.value, !0), [
78
- P(t(L), {
79
- open: l.value,
80
- "target-element": o.value,
81
- position: e.popoverPosition,
82
- role: "tooltip",
83
- "fit-content": e.popoverSize === "fit-content" || void 0,
84
- large: e.popoverSize === "large" || void 0,
85
- small: e.popoverSize === "small" || void 0,
86
- title: e.popoverTitle,
87
- "disable-focus-trap": ""
88
- }, {
89
- default: u(() => [
90
- _(e.$slots, "popover-content", {}, () => [
91
- P(t(U), null, {
92
- default: u(() => [
93
- y(I(e.popoverText), 1)
94
- ]),
95
- _: 1
96
- })
97
- ], !0)
98
- ]),
99
- _: 3
100
- }, 8, ["open", "target-element", "position", "fit-content", "large", "small", "title"])
101
- ], 16)
102
- ]),
103
- _: 3
104
- }, 8, ["disabled", "to"])) : z("", !0)
105
- ], 32)), [
106
- [t(M), e.tooltipText, e.tooltipPosition]
107
- ]);
108
- };
109
- }
110
- }), X = /* @__PURE__ */ G(Y, [["__scopeId", "data-v-d87d8c52"]]);
111
- export {
112
- X as B
113
- };
114
- //# sourceMappingURL=dashed-underline.wbRHATeE.js.map
@@ -1,144 +0,0 @@
1
- import { defineComponent as E, useSlots as G, ref as f, computed as o, provide as H, openBlock as c, createElementBlock as m, createVNode as T, unref as n, mergeProps as N, toHandlers as O, withCtx as l, renderSlot as s, createElementVNode as P, normalizeProps as j, guardReactiveProps as x, createSlots as V, normalizeClass as w, createCommentVNode as z, createBlock as _, Fragment as L, renderList as F, toRef as C } from "vue";
2
- import { B as J } from "./header.oXqwf2xN.js";
3
- import { B as K } from "./inspector.BjLhY3bE.js";
4
- import { a as M, B as U } from "./tab.DRrnMCxe.js";
5
- import { u as Y } from "./use-has-slot.B7eQSabc.js";
6
- import { D as q } from "./data-grid-template.keys.VezYtHtM.js";
7
- import { _ as Q } from "./_plugin-vue_export-helper.CHgC5LLL.js";
8
- import "../assets/data-grid-template.css";
9
- const W = { class: "b-data-grid-template" }, X = { class: "b-data-grid-template__header" }, Z = {}, tt = /* @__PURE__ */ E({
10
- ...Z,
11
- __name: "data-grid-template",
12
- props: {
13
- /**
14
- * The header that goes to the top of the template
15
- */
16
- header: {
17
- type: Object,
18
- default: void 0
19
- },
20
- /**
21
- * All the tab properties that can be set on the inner tab components.
22
- * - tabs.activeTabIndex: the currenly active tab index.
23
- * - tabs.tabs: an array of BentoTab props, the first item in the array will affect the `tab-1` slot and so on.
24
- */
25
- tabs: {
26
- type: Object,
27
- default: void 0
28
- },
29
- /**
30
- * Renders the additional content slot with a sticky positioning
31
- */
32
- stickyAdditionalContent: {
33
- type: Boolean,
34
- default: !1
35
- },
36
- /**
37
- * Renders the tabs with a sticky positioning
38
- */
39
- stickyTabs: {
40
- type: Boolean,
41
- default: !1
42
- },
43
- /**
44
- * All the inspector properties that can be set on the inner inspector component.
45
- */
46
- inspector: {
47
- type: Object,
48
- default: void 0
49
- }
50
- },
51
- emits: ["update:tabs", "update:is-open:inspector", "update:active-page:inspector", "expand:inspector"],
52
- setup(i, { emit: g }) {
53
- const e = i, b = G(), v = Y(b), p = g, y = f(null), d = f(null), I = f(null), R = o(() => ({
54
- "b-data-grid-template__additional-content--sticky": e.stickyAdditionalContent
55
- })), h = o(() => ({
56
- title: "",
57
- ...e.inspector
58
- })), B = o(() => {
59
- var t;
60
- return (t = d == null ? void 0 : d.value) == null ? void 0 : t.offsetHeight;
61
- }), S = o(() => {
62
- var t, a;
63
- return (a = (t = y.value) == null ? void 0 : t.$refs) == null ? void 0 : a.tablistwrapper;
64
- }), k = o(() => Object.keys(b).filter((t) => t == null ? void 0 : t.includes("tab-"))), $ = o(() => ({
65
- "update:is-open": (t) => p("update:is-open:inspector", t),
66
- "update:active-page": (t) => p("update:active-page:inspector", t),
67
- expand: (t) => p("expand:inspector", t)
68
- })), A = (t) => {
69
- p("update:tabs", { ...e.tabs, activeTabIndex: t });
70
- }, D = (t) => {
71
- var a, r;
72
- return ((r = (a = e == null ? void 0 : e.tabs.tabs) == null ? void 0 : a[t]) == null ? void 0 : r.title) ?? `Tab ${t + 1}`;
73
- };
74
- return H(q, () => {
75
- const a = C(e, "stickyTabs"), r = C(e, "stickyAdditionalContent");
76
- return {
77
- isDataGridTemplate: !0,
78
- stickyTabs: a,
79
- tabsRef: S,
80
- stickyAdditionalContent: r,
81
- additionalContentSlotRef: d
82
- };
83
- }), (t, a) => (c(), m("main", W, [
84
- T(n(K), N(h.value, {
85
- ref_key: "inspectorRef",
86
- ref: I
87
- }, O($.value)), {
88
- page: l(() => [
89
- P("div", X, [
90
- s(t.$slots, "header", {}, () => [
91
- T(n(J), j(x(i.header)), V({ _: 2 }, [
92
- n(v)("infoIconTooltipContent") ? {
93
- name: "infoIconTooltipContent",
94
- fn: l(() => [
95
- s(t.$slots, "infoIconTooltipContent", {}, void 0, !0)
96
- ]),
97
- key: "0"
98
- } : void 0
99
- ]), 1040)
100
- ], !0)
101
- ]),
102
- n(v)("additionalContent") ? (c(), m("div", {
103
- key: 0,
104
- ref_key: "additionalContentRef",
105
- ref: d,
106
- class: w(["b-data-grid-template__additional-content", R.value])
107
- }, [
108
- s(t.$slots, "additionalContent", {}, void 0, !0)
109
- ], 2)) : z("", !0),
110
- k.value.length > 1 ? (c(), _(n(M), {
111
- key: 1,
112
- ref_key: "tabsRef",
113
- ref: y,
114
- "active-tab-index": i.tabs.activeTabIndex,
115
- sticky: i.stickyTabs,
116
- "sticky-options": i.stickyAdditionalContent ? { top: B.value } : null,
117
- "onUpdate:activeTabIndex": A
118
- }, {
119
- default: l(() => [
120
- (c(!0), m(L, null, F(k.value, (r, u) => (c(), _(n(U), {
121
- key: `tab-${u}`,
122
- title: D(u)
123
- }, {
124
- default: l(() => [
125
- s(t.$slots, `tab-${u + 1}`, {}, void 0, !0)
126
- ]),
127
- _: 2
128
- }, 1032, ["title"]))), 128))
129
- ]),
130
- _: 3
131
- }, 8, ["active-tab-index", "sticky", "sticky-options"])) : s(t.$slots, "default", { key: 2 }, void 0, !0)
132
- ]),
133
- content: l(() => [
134
- s(t.$slots, "inspector-content", {}, void 0, !0)
135
- ]),
136
- _: 3
137
- }, 16)
138
- ]));
139
- }
140
- }), lt = /* @__PURE__ */ Q(tt, [["__scopeId", "data-v-ae4e472c"]]);
141
- export {
142
- lt as d
143
- };
144
- //# sourceMappingURL=data-grid-template.D40V1cmi.js.map