@nextcloud/vue 9.7.0 → 9.8.1

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 (353) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/assets/{NcActionButton-Bb0ihLdt.css → NcActionButton-DLer-aUY.css} +3 -2
  3. package/dist/assets/{NcActionCheckbox-DLJQfCUI.css → NcActionCheckbox-wD8m_a8-.css} +3 -2
  4. package/dist/assets/{NcActionInput-BO4gR6sg.css → NcActionInput-t9WvlgV0.css} +66 -66
  5. package/dist/assets/{NcActionLink-DAEr-vmd.css → NcActionLink-b4Ph5q10.css} +3 -2
  6. package/dist/assets/{NcActionRadio-Bd4RFH-l.css → NcActionRadio-D2rLM1ci.css} +3 -2
  7. package/dist/assets/{NcActionRouter-DeYzeM5W.css → NcActionRouter-BWXfCfxM.css} +3 -2
  8. package/dist/assets/{NcActionText-D9InmayH.css → NcActionText-Dzegj6AY.css} +3 -2
  9. package/dist/assets/{NcActionTextEditable-TPYz4ma-.css → NcActionTextEditable-BlZeHZ7J.css} +66 -66
  10. package/dist/assets/{NcAppNavigation-BSo8jV19.css → NcAppNavigation-2b1jxOXM.css} +18 -14
  11. package/dist/assets/{NcAppNavigationCaption-HUg9fMCm.css → NcAppNavigationCaption-ggcWspH2.css} +8 -8
  12. package/dist/assets/{NcAppNavigationItem-qicc4X_c.css → NcAppNavigationItem-BsuZoJAq.css} +78 -40
  13. package/dist/assets/{NcAppNavigationNewItem-e_CtdnzP.css → NcAppNavigationNewItem-MaYQVcKF.css} +42 -4
  14. package/dist/assets/{NcAppNavigationSettings-BmfpoWXN.css → NcAppNavigationSettings-HQEDobBQ.css} +1 -1
  15. package/dist/assets/NcAppSettingsDialog-HsZoLuDy.css +221 -0
  16. package/dist/assets/{NcAppSettingsSection-ObwpPdgW.css → NcAppSettingsSection-DIw8GLHR.css} +7 -7
  17. package/dist/assets/{NcAppSidebar-Ci7hXMpX.css → NcAppSidebar-dHtSShIl.css} +116 -70
  18. package/dist/assets/{NcAssistantIcon-CxXrcBfu.css → NcAssistantIcon-CsBmzIxJ.css} +4 -4
  19. package/dist/assets/{NcAvatar-CuPj3fbb.css → NcAvatar-Bs7qEhkA.css} +25 -25
  20. package/dist/assets/{NcBreadcrumb-D9N_qB_o.css → NcBreadcrumb-BxhZKQlW.css} +16 -16
  21. package/dist/assets/{NcButton-CCY9S6Db.css → NcButton-Bf9wuDV-.css} +53 -50
  22. package/dist/assets/{NcCheckboxRadioSwitch-DRqOiQON.css → NcCheckboxRadioSwitch-BlQSZVW0.css} +51 -49
  23. package/dist/assets/{NcColorPicker-CCanY5eB.css → NcColorPicker-DVYGs8R3.css} +32 -32
  24. package/dist/assets/{NcContent-CVIwhwfc.css → NcContent-DX4Rs6Pc.css} +22 -11
  25. package/dist/assets/{NcEmptyContent-CLjlZ-UT.css → NcEmptyContent-DJMDuGVz.css} +10 -10
  26. package/dist/assets/{NcFormBoxItem-CATNOTQx.css → NcFormBoxItem-Bjbi17-B.css} +4 -0
  27. package/dist/assets/{NcFormGroup-BjWhd5Ky.css → NcFormGroup-qFucmL8a.css} +1 -1
  28. package/dist/assets/{NcHotkeyList-Braxeyah.css → NcHotkeyList-BfrEkKmK.css} +1 -1
  29. package/dist/assets/{NcIconToggleSwitch-saytabt5.css → NcIconToggleSwitch-V-AKJgPA.css} +2 -2
  30. package/dist/assets/NcInputConfirmCancel-BEmwC87z.css +53 -0
  31. package/dist/assets/{NcInputField-DR0FULeu.css → NcInputField-DpyFJ1xw.css} +44 -44
  32. package/dist/assets/NcListItem-1uR7AJIf.css +219 -0
  33. package/dist/assets/{NcModal-RDmyJqvC.css → NcModal-D81luiuU.css} +59 -59
  34. package/dist/assets/{NcNoteCard-DZSuYX4-.css → NcNoteCard-DfescGKl.css} +11 -11
  35. package/dist/assets/{NcProgressBar-D1DYRrCN.css → NcProgressBar-B6wveIA1.css} +2 -2
  36. package/dist/assets/{NcRadioGroupButton-xGU7fVa3.css → NcRadioGroupButton-DUF_3DDU.css} +1 -1
  37. package/dist/assets/{NcRelatedResourcesPanel-Bx4CA8ph.css → NcRelatedResourcesPanel-CiG_Ixb6.css} +30 -30
  38. package/dist/assets/{NcRichContenteditable-BXRR0rmI.css → NcRichContenteditable-DNABzVif.css} +12 -12
  39. package/dist/assets/{NcRichText-9e40m1to.css → NcRichText-BTu-LT3p.css} +93 -93
  40. package/dist/assets/{NcTextArea-DF9NgPUa.css → NcTextArea-BxGe3Lqn.css} +28 -28
  41. package/dist/assets/{referencePickerModal-CpzDUJ5f.css → referencePickerModal-Dod7nzta.css} +18 -18
  42. package/dist/chunks/{NcActionButton-BuRnYpJX.mjs → NcActionButton-BO5T5ePT.mjs} +3 -3
  43. package/dist/chunks/{NcActionButton-BuRnYpJX.mjs.map → NcActionButton-BO5T5ePT.mjs.map} +1 -1
  44. package/dist/chunks/{NcActionButtonGroup-CgYSlRXJ.mjs → NcActionButtonGroup-B9LfyE-G.mjs} +2 -2
  45. package/dist/chunks/{NcActionButtonGroup-CgYSlRXJ.mjs.map → NcActionButtonGroup-B9LfyE-G.mjs.map} +1 -1
  46. package/dist/chunks/{NcActionCheckbox-CjawS972.mjs → NcActionCheckbox-DBqiK-AZ.mjs} +3 -3
  47. package/dist/chunks/{NcActionCheckbox-CjawS972.mjs.map → NcActionCheckbox-DBqiK-AZ.mjs.map} +1 -1
  48. package/dist/chunks/{NcActionInput-CKbFgbxQ.mjs → NcActionInput-BO0lB4VP.mjs} +7 -7
  49. package/dist/chunks/{NcActionInput-CKbFgbxQ.mjs.map → NcActionInput-BO0lB4VP.mjs.map} +1 -1
  50. package/dist/chunks/{NcActionLink-CCszAEdZ.mjs → NcActionLink-BFiaYt9A.mjs} +2 -2
  51. package/dist/chunks/{NcActionLink-CCszAEdZ.mjs.map → NcActionLink-BFiaYt9A.mjs.map} +1 -1
  52. package/dist/chunks/{NcActionRadio-BV9Ra5tq.mjs → NcActionRadio-BA08CAtA.mjs} +3 -3
  53. package/dist/chunks/{NcActionRadio-BV9Ra5tq.mjs.map → NcActionRadio-BA08CAtA.mjs.map} +1 -1
  54. package/dist/chunks/{NcActionRouter-CvDVCQiQ.mjs → NcActionRouter-vYFtIOzD.mjs} +2 -2
  55. package/dist/chunks/{NcActionRouter-CvDVCQiQ.mjs.map → NcActionRouter-vYFtIOzD.mjs.map} +1 -1
  56. package/dist/chunks/{NcActionText-SU4ghOlw.mjs → NcActionText-CQ9qwJ0p.mjs} +2 -2
  57. package/dist/chunks/{NcActionText-SU4ghOlw.mjs.map → NcActionText-CQ9qwJ0p.mjs.map} +1 -1
  58. package/dist/chunks/{NcActionTextEditable-BC66QDvV.mjs → NcActionTextEditable-B8y_GEre.mjs} +4 -4
  59. package/dist/chunks/NcActionTextEditable-B8y_GEre.mjs.map +1 -0
  60. package/dist/chunks/{NcActions-CeP_c9MH.mjs → NcActions-CUmcZ3C3.mjs} +3 -3
  61. package/dist/chunks/{NcActions-CeP_c9MH.mjs.map → NcActions-CUmcZ3C3.mjs.map} +1 -1
  62. package/dist/chunks/{NcAppContent-CdEdgX3o.mjs → NcAppContent--92JdjRr.mjs} +4 -4
  63. package/dist/chunks/{NcAppContent-CdEdgX3o.mjs.map → NcAppContent--92JdjRr.mjs.map} +1 -1
  64. package/dist/chunks/{NcAppNavigation-C2njwnqV.mjs → NcAppNavigation-Bb9-C2eO.mjs} +13 -9
  65. package/dist/chunks/NcAppNavigation-Bb9-C2eO.mjs.map +1 -0
  66. package/dist/chunks/{NcAppNavigationCaption-C7cl2M2w.mjs → NcAppNavigationCaption-E9iJtiQt.mjs} +4 -4
  67. package/dist/chunks/{NcAppNavigationCaption-C7cl2M2w.mjs.map → NcAppNavigationCaption-E9iJtiQt.mjs.map} +1 -1
  68. package/dist/chunks/{NcAppNavigationItem-Csh8IBIf.mjs → NcAppNavigationItem-BFAIHyTL.mjs} +21 -15
  69. package/dist/chunks/NcAppNavigationItem-BFAIHyTL.mjs.map +1 -0
  70. package/dist/chunks/{NcAppNavigationNew-BkybFzV0.mjs → NcAppNavigationNew-Dspn3-4i.mjs} +2 -2
  71. package/dist/chunks/{NcAppNavigationNew-BkybFzV0.mjs.map → NcAppNavigationNew-Dspn3-4i.mjs.map} +1 -1
  72. package/dist/chunks/{NcAppNavigationNewItem-DsLct9Bj.mjs → NcAppNavigationNewItem-Cg8IJ6ZV.mjs} +4 -4
  73. package/dist/chunks/{NcAppNavigationNewItem-DsLct9Bj.mjs.map → NcAppNavigationNewItem-Cg8IJ6ZV.mjs.map} +1 -1
  74. package/dist/chunks/{NcAppNavigationSearch-C5XwT74Z.mjs → NcAppNavigationSearch-CiOKjV3M.mjs} +3 -3
  75. package/dist/chunks/{NcAppNavigationSearch-C5XwT74Z.mjs.map → NcAppNavigationSearch-CiOKjV3M.mjs.map} +1 -1
  76. package/dist/chunks/{NcAppNavigationSettings-Drwi5qgh.mjs → NcAppNavigationSettings-fbuQmy-q.mjs} +7 -7
  77. package/dist/chunks/{NcAppNavigationSettings-Drwi5qgh.mjs.map → NcAppNavigationSettings-fbuQmy-q.mjs.map} +1 -1
  78. package/dist/chunks/{NcAppSettingsDialog-CjOvPWbc.mjs → NcAppSettingsDialog-DByPnndK.mjs} +24 -18
  79. package/dist/chunks/NcAppSettingsDialog-DByPnndK.mjs.map +1 -0
  80. package/dist/chunks/{NcAppSettingsSection-B-ak1kbx.mjs → NcAppSettingsSection-BosSmisT.mjs} +5 -5
  81. package/dist/chunks/{NcAppSettingsSection-B-ak1kbx.mjs.map → NcAppSettingsSection-BosSmisT.mjs.map} +1 -1
  82. package/dist/chunks/{NcAppSettingsShortcutsSection-yDWzNzFB.mjs → NcAppSettingsShortcutsSection-DgqVuZGx.mjs} +3 -3
  83. package/dist/chunks/{NcAppSettingsShortcutsSection-yDWzNzFB.mjs.map → NcAppSettingsShortcutsSection-DgqVuZGx.mjs.map} +1 -1
  84. package/dist/chunks/{NcAppSidebar-BvXH4I-d.mjs → NcAppSidebar-Ch7Vp7q5.mjs} +23 -18
  85. package/dist/chunks/NcAppSidebar-Ch7Vp7q5.mjs.map +1 -0
  86. package/dist/chunks/{NcAppSidebarHeader.vue_vue_type_script_setup_true_lang-Bk4yFBHY.mjs → NcAppSidebarHeader.vue_vue_type_script_setup_true_lang-C-QhdyiN.mjs} +4 -4
  87. package/dist/chunks/{NcAppSidebarHeader.vue_vue_type_script_setup_true_lang-Bk4yFBHY.mjs.map → NcAppSidebarHeader.vue_vue_type_script_setup_true_lang-C-QhdyiN.mjs.map} +1 -1
  88. package/dist/chunks/{NcAssistantButton-DxNbEbqt.mjs → NcAssistantButton-CTrCv4CO.mjs} +10 -10
  89. package/dist/chunks/NcAssistantButton-CTrCv4CO.mjs.map +1 -0
  90. package/dist/chunks/{NcAssistantContent-DWv2sak_.mjs → NcAssistantContent-CeuwcdMY.mjs} +2 -2
  91. package/dist/chunks/{NcAssistantContent-DWv2sak_.mjs.map → NcAssistantContent-CeuwcdMY.mjs.map} +1 -1
  92. package/dist/chunks/{NcAssistantIcon-Cf0B3EsL.mjs → NcAssistantIcon-Dpp9_LUg.mjs} +4 -4
  93. package/dist/chunks/{NcAssistantIcon-Cf0B3EsL.mjs.map → NcAssistantIcon-Dpp9_LUg.mjs.map} +1 -1
  94. package/dist/chunks/{NcAvatar-D9yNUkjq.mjs → NcAvatar-M3-CbKbq.mjs} +14 -14
  95. package/dist/chunks/{NcAvatar-D9yNUkjq.mjs.map → NcAvatar-M3-CbKbq.mjs.map} +1 -1
  96. package/dist/chunks/{NcBlurHash-B3MufoB_.mjs → NcBlurHash-yPfSKY7W.mjs} +6 -6
  97. package/dist/chunks/{NcBlurHash-B3MufoB_.mjs.map → NcBlurHash-yPfSKY7W.mjs.map} +1 -1
  98. package/dist/chunks/{NcBreadcrumb-CfFsCTmn.mjs → NcBreadcrumb-BeDMWE_b.mjs} +5 -5
  99. package/dist/chunks/{NcBreadcrumb-CfFsCTmn.mjs.map → NcBreadcrumb-BeDMWE_b.mjs.map} +1 -1
  100. package/dist/chunks/{NcBreadcrumbs-bX1x_cye.mjs → NcBreadcrumbs-CuQDDvin.mjs} +6 -6
  101. package/dist/chunks/{NcBreadcrumbs-bX1x_cye.mjs.map → NcBreadcrumbs-CuQDDvin.mjs.map} +1 -1
  102. package/dist/chunks/{NcButton-lQra4n2g.mjs → NcButton-QbPBynlU.mjs} +10 -9
  103. package/dist/chunks/NcButton-QbPBynlU.mjs.map +1 -0
  104. package/dist/chunks/{NcCheckboxRadioSwitch-VV_Err2A.mjs → NcCheckboxRadioSwitch-D8Dfv4iw.mjs} +9 -9
  105. package/dist/chunks/NcCheckboxRadioSwitch-D8Dfv4iw.mjs.map +1 -0
  106. package/dist/chunks/{NcChip-JjodlHFu.mjs → NcChip-nVHnbjaY.mjs} +13 -13
  107. package/dist/chunks/{NcChip-JjodlHFu.mjs.map → NcChip-nVHnbjaY.mjs.map} +1 -1
  108. package/dist/chunks/{NcCollectionList-DK050qCv.mjs → NcCollectionList-CO-iHqi6.mjs} +7 -7
  109. package/dist/chunks/{NcCollectionList-DK050qCv.mjs.map → NcCollectionList-CO-iHqi6.mjs.map} +1 -1
  110. package/dist/chunks/{NcColorPicker-B1FEzC_4.mjs → NcColorPicker-D6NbBOX3.mjs} +15 -15
  111. package/dist/chunks/{NcColorPicker-B1FEzC_4.mjs.map → NcColorPicker-D6NbBOX3.mjs.map} +1 -1
  112. package/dist/chunks/{NcContent-bQ5c_Pwd.mjs → NcContent-BhMoPROW.mjs} +9 -8
  113. package/dist/chunks/{NcContent-bQ5c_Pwd.mjs.map → NcContent-BhMoPROW.mjs.map} +1 -1
  114. package/dist/chunks/{NcCounterBubble-VUNXKsnk.mjs → NcCounterBubble-CV0YMrXW.mjs} +4 -4
  115. package/dist/chunks/{NcCounterBubble-VUNXKsnk.mjs.map → NcCounterBubble-CV0YMrXW.mjs.map} +1 -1
  116. package/dist/chunks/{NcDashboardWidget-CCeqnB6g.mjs → NcDashboardWidget-ftOfMTzx.mjs} +5 -5
  117. package/dist/chunks/{NcDashboardWidget-CCeqnB6g.mjs.map → NcDashboardWidget-ftOfMTzx.mjs.map} +1 -1
  118. package/dist/chunks/{NcDashboardWidgetItem-i7xArH0I.mjs → NcDashboardWidgetItem-BwwFiNOL.mjs} +4 -4
  119. package/dist/chunks/{NcDashboardWidgetItem-i7xArH0I.mjs.map → NcDashboardWidgetItem-BwwFiNOL.mjs.map} +1 -1
  120. package/dist/chunks/{NcDateTime.vue_vue_type_script_setup_true_lang-B4upiZjL.mjs → NcDateTime.vue_vue_type_script_setup_true_lang-BJuPH7S7.mjs} +2 -2
  121. package/dist/chunks/NcDateTime.vue_vue_type_script_setup_true_lang-BJuPH7S7.mjs.map +1 -0
  122. package/dist/chunks/{NcDateTimePicker-4-6ux1S_.mjs → NcDateTimePicker-CK4rhfEB.mjs} +18 -18
  123. package/dist/chunks/{NcDateTimePicker-4-6ux1S_.mjs.map → NcDateTimePicker-CK4rhfEB.mjs.map} +1 -1
  124. package/dist/chunks/{NcDateTimePickerNative-XO_O44n2.mjs → NcDateTimePickerNative-BeM4WOA4.mjs} +8 -8
  125. package/dist/chunks/{NcDateTimePickerNative-XO_O44n2.mjs.map → NcDateTimePickerNative-BeM4WOA4.mjs.map} +1 -1
  126. package/dist/chunks/{NcDialog-DnJfLwGR.mjs → NcDialog-kwzJ3A4X.mjs} +9 -9
  127. package/dist/chunks/{NcDialog-DnJfLwGR.mjs.map → NcDialog-kwzJ3A4X.mjs.map} +1 -1
  128. package/dist/chunks/{NcDialogButton.vue_vue_type_script_setup_true_lang-DMoLf2ll.mjs → NcDialogButton.vue_vue_type_script_setup_true_lang-Cn-8O9iZ.mjs} +12 -12
  129. package/dist/chunks/{NcDialogButton.vue_vue_type_script_setup_true_lang-DMoLf2ll.mjs.map → NcDialogButton.vue_vue_type_script_setup_true_lang-Cn-8O9iZ.mjs.map} +1 -1
  130. package/dist/chunks/{NcEmojiPicker-Cuy9A4DP.mjs → NcEmojiPicker-Bpw-68QP.mjs} +6 -6
  131. package/dist/chunks/{NcEmojiPicker-Cuy9A4DP.mjs.map → NcEmojiPicker-Bpw-68QP.mjs.map} +1 -1
  132. package/dist/chunks/{NcEmptyContent-CDgWCt_m.mjs → NcEmptyContent-CGAPqk4S.mjs} +7 -7
  133. package/dist/chunks/{NcEmptyContent-CDgWCt_m.mjs.map → NcEmptyContent-CGAPqk4S.mjs.map} +1 -1
  134. package/dist/chunks/{NcFilePicker-CrHd83Bv.mjs → NcFilePicker-nPCwHMqj.mjs} +18 -18
  135. package/dist/chunks/{NcFilePicker-CrHd83Bv.mjs.map → NcFilePicker-nPCwHMqj.mjs.map} +1 -1
  136. package/dist/chunks/{NcFormBox-wP5mpW88.mjs → NcFormBox-ClWfuBWz.mjs} +2 -2
  137. package/dist/chunks/{NcFormBox-wP5mpW88.mjs.map → NcFormBox-ClWfuBWz.mjs.map} +1 -1
  138. package/dist/chunks/{NcFormBoxButton-JvZ6_2E3.mjs → NcFormBoxButton-i4i3Lt_Q.mjs} +8 -8
  139. package/dist/chunks/{NcFormBoxButton-JvZ6_2E3.mjs.map → NcFormBoxButton-i4i3Lt_Q.mjs.map} +1 -1
  140. package/dist/chunks/{NcFormBoxCopyButton.vue_vue_type_script_setup_true_lang-DhKiWUS8.mjs → NcFormBoxCopyButton.vue_vue_type_script_setup_true_lang-NfKiRrIn.mjs} +8 -8
  141. package/dist/chunks/{NcFormBoxCopyButton.vue_vue_type_script_setup_true_lang-DhKiWUS8.mjs.map → NcFormBoxCopyButton.vue_vue_type_script_setup_true_lang-NfKiRrIn.mjs.map} +1 -1
  142. package/dist/chunks/{NcFormBoxItem-B7YVodqN.mjs → NcFormBoxItem-BTB68AEB.mjs} +10 -10
  143. package/dist/chunks/{NcFormBoxItem-B7YVodqN.mjs.map → NcFormBoxItem-BTB68AEB.mjs.map} +1 -1
  144. package/dist/chunks/{NcFormBoxSwitch-DP4dD4xe.mjs → NcFormBoxSwitch-DlNcJ1q7.mjs} +8 -8
  145. package/dist/chunks/{NcFormBoxSwitch-DP4dD4xe.mjs.map → NcFormBoxSwitch-DlNcJ1q7.mjs.map} +1 -1
  146. package/dist/chunks/{NcFormGroup-B3a2iUnT.mjs → NcFormGroup-DvLGFMdb.mjs} +7 -7
  147. package/dist/chunks/{NcFormGroup-B3a2iUnT.mjs.map → NcFormGroup-DvLGFMdb.mjs.map} +1 -1
  148. package/dist/chunks/{NcHeaderButton-CXu9xIQP.mjs → NcHeaderButton-m4oAOSTa.mjs} +6 -6
  149. package/dist/chunks/{NcHeaderButton-CXu9xIQP.mjs.map → NcHeaderButton-m4oAOSTa.mjs.map} +1 -1
  150. package/dist/chunks/{NcHeaderMenu-CYU4Y3h5.mjs → NcHeaderMenu-DRxcyWNX.mjs} +10 -10
  151. package/dist/chunks/{NcHeaderMenu-CYU4Y3h5.mjs.map → NcHeaderMenu-DRxcyWNX.mjs.map} +1 -1
  152. package/dist/chunks/{NcHotkey-B0qDRy1t.mjs → NcHotkey-C-TYyC8X.mjs} +3 -3
  153. package/dist/chunks/{NcHotkey-B0qDRy1t.mjs.map → NcHotkey-C-TYyC8X.mjs.map} +1 -1
  154. package/dist/chunks/{NcHotkeyList-lslhX0EJ.mjs → NcHotkeyList-CmMgGhMr.mjs} +5 -5
  155. package/dist/chunks/NcHotkeyList-CmMgGhMr.mjs.map +1 -0
  156. package/dist/chunks/{NcIconSvgWrapper-De-2-ukl.mjs → NcIconSvgWrapper-g8ubWhoz.mjs} +6 -6
  157. package/dist/chunks/{NcIconSvgWrapper-De-2-ukl.mjs.map → NcIconSvgWrapper-g8ubWhoz.mjs.map} +1 -1
  158. package/dist/chunks/{NcIconToggleSwitch-B7kfYo0B.mjs → NcIconToggleSwitch-CbfRwb67.mjs} +7 -7
  159. package/dist/chunks/{NcIconToggleSwitch-B7kfYo0B.mjs.map → NcIconToggleSwitch-CbfRwb67.mjs.map} +1 -1
  160. package/dist/chunks/{NcInputConfirmCancel-xoQuby4k.mjs → NcInputConfirmCancel-B6qC3s63.mjs} +16 -11
  161. package/dist/chunks/NcInputConfirmCancel-B6qC3s63.mjs.map +1 -0
  162. package/dist/chunks/{NcInputField-CPL-a_MM.mjs → NcInputField-B1bGxYHt.mjs} +28 -28
  163. package/dist/chunks/{NcInputField-CPL-a_MM.mjs.map → NcInputField-B1bGxYHt.mjs.map} +1 -1
  164. package/dist/chunks/{NcKbd-Caeq706M.mjs → NcKbd-Iyp0KDp4.mjs} +2 -2
  165. package/dist/chunks/{NcKbd-Caeq706M.mjs.map → NcKbd-Iyp0KDp4.mjs.map} +1 -1
  166. package/dist/chunks/{NcListItem-C0y1LfQx.mjs → NcListItem-Y5a098Cw.mjs} +15 -8
  167. package/dist/chunks/NcListItem-Y5a098Cw.mjs.map +1 -0
  168. package/dist/chunks/{NcListItemIcon-ByoiA9YZ.mjs → NcListItemIcon-D_f5AGrh.mjs} +3 -3
  169. package/dist/chunks/{NcListItemIcon-ByoiA9YZ.mjs.map → NcListItemIcon-D_f5AGrh.mjs.map} +1 -1
  170. package/dist/chunks/{NcLoadingIcon-CInLzPtA.mjs → NcLoadingIcon-BOVpFVQz.mjs} +5 -5
  171. package/dist/chunks/{NcLoadingIcon-CInLzPtA.mjs.map → NcLoadingIcon-BOVpFVQz.mjs.map} +1 -1
  172. package/dist/chunks/{NcModal-CDj4hQx7.mjs → NcModal-DUWLRm_F.mjs} +28 -28
  173. package/dist/chunks/{NcModal-CDj4hQx7.mjs.map → NcModal-DUWLRm_F.mjs.map} +1 -1
  174. package/dist/chunks/{NcNoteCard-CWiO3Dse.mjs → NcNoteCard-mI7qVZ9j.mjs} +9 -9
  175. package/dist/chunks/{NcNoteCard-CWiO3Dse.mjs.map → NcNoteCard-mI7qVZ9j.mjs.map} +1 -1
  176. package/dist/chunks/{NcPasswordField-C7yuRADA.mjs → NcPasswordField-Be5_qcfm.mjs} +9 -9
  177. package/dist/chunks/{NcPasswordField-C7yuRADA.mjs.map → NcPasswordField-Be5_qcfm.mjs.map} +1 -1
  178. package/dist/chunks/{NcProgressBar-JyXXoHLT.mjs → NcProgressBar-C-ane-Ni.mjs} +10 -10
  179. package/dist/chunks/{NcProgressBar-JyXXoHLT.mjs.map → NcProgressBar-C-ane-Ni.mjs.map} +1 -1
  180. package/dist/chunks/{NcRadioGroup-LkOsE5Mc.mjs → NcRadioGroup-BzW4XHoK.mjs} +6 -6
  181. package/dist/chunks/{NcRadioGroup-LkOsE5Mc.mjs.map → NcRadioGroup-BzW4XHoK.mjs.map} +1 -1
  182. package/dist/chunks/{NcRadioGroupButton-BtE_SLVd.mjs → NcRadioGroupButton-CXKQMID9.mjs} +9 -9
  183. package/dist/chunks/{NcRadioGroupButton-BtE_SLVd.mjs.map → NcRadioGroupButton-CXKQMID9.mjs.map} +1 -1
  184. package/dist/chunks/{NcRelatedResourcesPanel-B01Lid3d.mjs → NcRelatedResourcesPanel-C0j0Fs4r.mjs} +11 -11
  185. package/dist/chunks/NcRelatedResourcesPanel-C0j0Fs4r.mjs.map +1 -0
  186. package/dist/chunks/{NcRichContenteditable-DeN1H5pQ.mjs → NcRichContenteditable-DO3_WniI.mjs} +17 -17
  187. package/dist/chunks/NcRichContenteditable-DO3_WniI.mjs.map +1 -0
  188. package/dist/chunks/{NcRichText-DGV7OHFb.mjs → NcRichText-BOBQq7Od.mjs} +19 -12
  189. package/dist/chunks/NcRichText-BOBQq7Od.mjs.map +1 -0
  190. package/dist/chunks/{NcSavingIndicatorIcon.vue_vue_type_script_setup_true_lang-CA0r_04W.mjs → NcSavingIndicatorIcon.vue_vue_type_script_setup_true_lang-DbQnMYZm.mjs} +5 -5
  191. package/dist/chunks/{NcSavingIndicatorIcon.vue_vue_type_script_setup_true_lang-CA0r_04W.mjs.map → NcSavingIndicatorIcon.vue_vue_type_script_setup_true_lang-DbQnMYZm.mjs.map} +1 -1
  192. package/dist/chunks/{NcSelect-Ba-lsVsl.mjs → NcSelect-BOFzoCwK.mjs} +4 -4
  193. package/dist/chunks/{NcSelect-Ba-lsVsl.mjs.map → NcSelect-BOFzoCwK.mjs.map} +1 -1
  194. package/dist/chunks/{NcSelectTags-cNBPJ5FM.mjs → NcSelectTags-D7qWNjXa.mjs} +3 -3
  195. package/dist/chunks/{NcSelectTags-cNBPJ5FM.mjs.map → NcSelectTags-D7qWNjXa.mjs.map} +1 -1
  196. package/dist/chunks/{NcSelectUsers-LqSEQ2A_.mjs → NcSelectUsers-CI8twLn9.mjs} +3 -3
  197. package/dist/chunks/{NcSelectUsers-LqSEQ2A_.mjs.map → NcSelectUsers-CI8twLn9.mjs.map} +1 -1
  198. package/dist/chunks/{NcSettingsSection-DnzR8DRc.mjs → NcSettingsSection-DmfxX2se.mjs} +6 -6
  199. package/dist/chunks/{NcSettingsSection-DnzR8DRc.mjs.map → NcSettingsSection-DmfxX2se.mjs.map} +1 -1
  200. package/dist/chunks/{NcSettingsSelectGroup-C15v3EvD.mjs → NcSettingsSelectGroup-TN64yH4k.mjs} +3 -3
  201. package/dist/chunks/{NcSettingsSelectGroup-C15v3EvD.mjs.map → NcSettingsSelectGroup-TN64yH4k.mjs.map} +1 -1
  202. package/dist/chunks/{NcTextArea-CseOD9aM.mjs → NcTextArea-Dxzj4zdb.mjs} +23 -23
  203. package/dist/chunks/{NcTextArea-CseOD9aM.mjs.map → NcTextArea-Dxzj4zdb.mjs.map} +1 -1
  204. package/dist/chunks/{NcTextField.vue_vue_type_script_setup_true_lang-1ABbHJ0f.mjs → NcTextField.vue_vue_type_script_setup_true_lang-BQHjkK8r.mjs} +7 -7
  205. package/dist/chunks/{NcTextField.vue_vue_type_script_setup_true_lang-1ABbHJ0f.mjs.map → NcTextField.vue_vue_type_script_setup_true_lang-BQHjkK8r.mjs.map} +1 -1
  206. package/dist/chunks/{NcTimezonePicker.vue_vue_type_script_setup_true_lang-lGMjb2u1.mjs → NcTimezonePicker.vue_vue_type_script_setup_true_lang-Csd1JQe6.mjs} +4 -4
  207. package/dist/chunks/{NcTimezonePicker.vue_vue_type_script_setup_true_lang-lGMjb2u1.mjs.map → NcTimezonePicker.vue_vue_type_script_setup_true_lang-Csd1JQe6.mjs.map} +1 -1
  208. package/dist/chunks/{NcUserBubble-D00m2qmd.mjs → NcUserBubble-CDQa0hGy.mjs} +13 -13
  209. package/dist/chunks/{NcUserBubble-D00m2qmd.mjs.map → NcUserBubble-CDQa0hGy.mjs.map} +1 -1
  210. package/dist/chunks/{NcUserStatusIcon-CNh1vXUF.mjs → NcUserStatusIcon-DsviB2Cr.mjs} +2 -2
  211. package/dist/chunks/{NcUserStatusIcon-CNh1vXUF.mjs.map → NcUserStatusIcon-DsviB2Cr.mjs.map} +1 -1
  212. package/dist/chunks/{_l10n-BCg4udFv.mjs → _l10n-CG4CuN3H.mjs} +3 -3
  213. package/dist/chunks/_l10n-CG4CuN3H.mjs.map +1 -0
  214. package/dist/chunks/{autolink-_k1FETYm.mjs → autolink-BT8u-IL-.mjs} +4 -4
  215. package/dist/chunks/{autolink-_k1FETYm.mjs.map → autolink-BT8u-IL-.mjs.map} +1 -1
  216. package/dist/chunks/{colors-CSua0q55.mjs → colors-BDeMBgfq.mjs} +6 -2
  217. package/dist/chunks/{colors-CSua0q55.mjs.map → colors-BDeMBgfq.mjs.map} +1 -1
  218. package/dist/chunks/legacy-BoqDmOCa.mjs +9 -0
  219. package/dist/chunks/legacy-BoqDmOCa.mjs.map +1 -0
  220. package/dist/chunks/{referencePickerModal-Bsq4XIcs.mjs → referencePickerModal-B4bsiMOy.mjs} +19 -19
  221. package/dist/chunks/referencePickerModal-B4bsiMOy.mjs.map +1 -0
  222. package/dist/chunks/{useCopy--plF8q1P.mjs → useCopy-PckLYUAU.mjs} +2 -2
  223. package/dist/chunks/{useCopy--plF8q1P.mjs.map → useCopy-PckLYUAU.mjs.map} +1 -1
  224. package/dist/components/NcActionButton/index.mjs +1 -1
  225. package/dist/components/NcActionButtonGroup/index.mjs +1 -1
  226. package/dist/components/NcActionCheckbox/index.mjs +1 -1
  227. package/dist/components/NcActionInput/NcActionInput.vue.d.ts +10 -18
  228. package/dist/components/NcActionInput/index.mjs +1 -1
  229. package/dist/components/NcActionLink/index.mjs +1 -1
  230. package/dist/components/NcActionRadio/index.mjs +1 -1
  231. package/dist/components/NcActionRouter/index.mjs +1 -1
  232. package/dist/components/NcActionText/index.mjs +1 -1
  233. package/dist/components/NcActionTextEditable/index.mjs +1 -1
  234. package/dist/components/NcActions/index.mjs +1 -1
  235. package/dist/components/NcAppContent/index.mjs +1 -1
  236. package/dist/components/NcAppNavigation/index.mjs +1 -1
  237. package/dist/components/NcAppNavigationCaption/index.mjs +1 -1
  238. package/dist/components/NcAppNavigationItem/NcAppNavigationIconCollapsible.vue.d.ts +3 -1
  239. package/dist/components/NcAppNavigationItem/NcAppNavigationItem.vue.d.ts +7 -2
  240. package/dist/components/NcAppNavigationItem/NcInputConfirmCancel.vue.d.ts +3 -1
  241. package/dist/components/NcAppNavigationItem/index.mjs +1 -1
  242. package/dist/components/NcAppNavigationNew/index.mjs +1 -1
  243. package/dist/components/NcAppNavigationNewItem/NcAppNavigationNewItem.vue.d.ts +3 -1
  244. package/dist/components/NcAppNavigationNewItem/index.mjs +1 -1
  245. package/dist/components/NcAppNavigationSearch/NcAppNavigationSearch.vue.d.ts +6 -10
  246. package/dist/components/NcAppNavigationSearch/index.mjs +1 -1
  247. package/dist/components/NcAppNavigationSettings/index.mjs +1 -1
  248. package/dist/components/NcAppSettingsDialog/index.mjs +1 -1
  249. package/dist/components/NcAppSettingsSection/index.mjs +1 -1
  250. package/dist/components/NcAppSettingsSectionShortcuts/index.mjs +1 -1
  251. package/dist/components/NcAppSettingsShortcutsSection/index.mjs +1 -1
  252. package/dist/components/NcAppSidebar/NcAppSidebar.vue.d.ts +2 -1
  253. package/dist/components/NcAppSidebar/NcAppSidebarTabs.vue.d.ts +3 -2
  254. package/dist/components/NcAppSidebar/index.mjs +1 -1
  255. package/dist/components/NcAppSidebarHeader/index.mjs +1 -1
  256. package/dist/components/NcAssistantButton/index.mjs +1 -1
  257. package/dist/components/NcAssistantContent/index.mjs +1 -1
  258. package/dist/components/NcAssistantIcon/index.mjs +1 -1
  259. package/dist/components/NcAvatar/index.mjs +1 -1
  260. package/dist/components/NcBlurHash/index.mjs +1 -1
  261. package/dist/components/NcBreadcrumb/NcBreadcrumb.vue.d.ts +1 -3
  262. package/dist/components/NcBreadcrumb/index.mjs +1 -1
  263. package/dist/components/NcBreadcrumbs/NcBreadcrumbs.vue.d.ts +1 -3
  264. package/dist/components/NcBreadcrumbs/index.mjs +1 -1
  265. package/dist/components/NcButton/index.mjs +1 -1
  266. package/dist/components/NcCheckboxRadioSwitch/index.mjs +1 -1
  267. package/dist/components/NcChip/index.mjs +1 -1
  268. package/dist/components/NcCollectionList/index.mjs +1 -1
  269. package/dist/components/NcColorPicker/index.mjs +1 -1
  270. package/dist/components/NcContent/index.mjs +1 -1
  271. package/dist/components/NcCounterBubble/index.mjs +1 -1
  272. package/dist/components/NcDashboardWidget/index.mjs +1 -1
  273. package/dist/components/NcDashboardWidgetItem/index.mjs +1 -1
  274. package/dist/components/NcDateTime/index.mjs +1 -1
  275. package/dist/components/NcDateTimePicker/NcDateTimePicker.vue.d.ts +4 -8
  276. package/dist/components/NcDateTimePicker/index.mjs +1 -1
  277. package/dist/components/NcDateTimePickerNative/index.mjs +1 -1
  278. package/dist/components/NcDialog/index.mjs +1 -1
  279. package/dist/components/NcDialogButton/index.mjs +1 -1
  280. package/dist/components/NcEmojiPicker/NcEmojiPicker.vue.d.ts +3 -5
  281. package/dist/components/NcEmojiPicker/index.mjs +1 -1
  282. package/dist/components/NcEmptyContent/index.mjs +1 -1
  283. package/dist/components/NcFilePicker/index.mjs +1 -1
  284. package/dist/components/NcFormBox/index.mjs +1 -1
  285. package/dist/components/NcFormBoxButton/index.mjs +1 -1
  286. package/dist/components/NcFormBoxCopyButton/index.mjs +1 -1
  287. package/dist/components/NcFormBoxSwitch/index.mjs +1 -1
  288. package/dist/components/NcFormGroup/index.mjs +1 -1
  289. package/dist/components/NcHeaderButton/index.mjs +1 -1
  290. package/dist/components/NcHeaderMenu/NcHeaderMenu.vue.d.ts +4 -8
  291. package/dist/components/NcHeaderMenu/index.mjs +1 -1
  292. package/dist/components/NcHotkey/index.mjs +1 -1
  293. package/dist/components/NcHotkeyList/index.mjs +1 -1
  294. package/dist/components/NcIconSvgWrapper/index.mjs +1 -1
  295. package/dist/components/NcInputField/index.mjs +1 -1
  296. package/dist/components/NcKbd/index.mjs +1 -1
  297. package/dist/components/NcListItem/NcListItem.vue.d.ts +3 -1
  298. package/dist/components/NcListItem/index.mjs +1 -1
  299. package/dist/components/NcListItemIcon/index.mjs +1 -1
  300. package/dist/components/NcLoadingIcon/index.mjs +1 -1
  301. package/dist/components/NcModal/index.mjs +1 -1
  302. package/dist/components/NcNoteCard/index.mjs +1 -1
  303. package/dist/components/NcPasswordField/NcPasswordField.vue.d.ts +6 -10
  304. package/dist/components/NcPasswordField/index.mjs +1 -1
  305. package/dist/components/NcProgressBar/index.mjs +1 -1
  306. package/dist/components/NcRadioGroup/index.mjs +1 -1
  307. package/dist/components/NcRadioGroupButton/index.mjs +1 -1
  308. package/dist/components/NcRelatedResourcesPanel/index.mjs +1 -1
  309. package/dist/components/NcRichContenteditable/index.mjs +1 -1
  310. package/dist/components/NcRichText/NcReferencePicker/NcRawLinkInput.vue.d.ts +3 -5
  311. package/dist/components/NcRichText/NcReferencePicker/NcReferencePicker.vue.d.ts +3 -5
  312. package/dist/components/NcRichText/NcReferencePicker/NcReferencePickerModal.vue.d.ts +3 -5
  313. package/dist/components/NcRichText/index.mjs +3 -3
  314. package/dist/components/NcSavingIndicatorIcon/index.mjs +1 -1
  315. package/dist/components/NcSelect/index.mjs +1 -1
  316. package/dist/components/NcSelectTags/index.mjs +1 -1
  317. package/dist/components/NcSelectUsers/index.mjs +1 -1
  318. package/dist/components/NcSettingsSection/index.mjs +1 -1
  319. package/dist/components/NcSettingsSelectGroup/index.mjs +1 -1
  320. package/dist/components/NcTextArea/index.mjs +1 -1
  321. package/dist/components/NcTextField/NcTextField.vue.d.ts +6 -10
  322. package/dist/components/NcTextField/index.mjs +1 -1
  323. package/dist/components/NcTimezonePicker/index.mjs +1 -1
  324. package/dist/components/NcUserBubble/index.mjs +1 -1
  325. package/dist/components/NcUserStatusIcon/index.mjs +1 -1
  326. package/dist/composables/useFormatDateTime/index.mjs +1 -1
  327. package/dist/functions/reference/index.mjs +1 -1
  328. package/dist/functions/usernameToColor/index.mjs +1 -1
  329. package/dist/index.mjs +83 -83
  330. package/dist/utils/legacy.d.ts +1 -0
  331. package/package.json +15 -15
  332. package/dist/assets/NcAppSettingsDialog-Ckc0OWTs.css +0 -98
  333. package/dist/assets/NcInputConfirmCancel-BrdZEfr2.css +0 -39
  334. package/dist/assets/NcListItem-Cat18cSx.css +0 -177
  335. package/dist/chunks/NcActionTextEditable-BC66QDvV.mjs.map +0 -1
  336. package/dist/chunks/NcAppNavigation-C2njwnqV.mjs.map +0 -1
  337. package/dist/chunks/NcAppNavigationItem-Csh8IBIf.mjs.map +0 -1
  338. package/dist/chunks/NcAppSettingsDialog-CjOvPWbc.mjs.map +0 -1
  339. package/dist/chunks/NcAppSidebar-BvXH4I-d.mjs.map +0 -1
  340. package/dist/chunks/NcAssistantButton-DxNbEbqt.mjs.map +0 -1
  341. package/dist/chunks/NcButton-lQra4n2g.mjs.map +0 -1
  342. package/dist/chunks/NcCheckboxRadioSwitch-VV_Err2A.mjs.map +0 -1
  343. package/dist/chunks/NcDateTime.vue_vue_type_script_setup_true_lang-B4upiZjL.mjs.map +0 -1
  344. package/dist/chunks/NcHotkeyList-lslhX0EJ.mjs.map +0 -1
  345. package/dist/chunks/NcInputConfirmCancel-xoQuby4k.mjs.map +0 -1
  346. package/dist/chunks/NcListItem-C0y1LfQx.mjs.map +0 -1
  347. package/dist/chunks/NcRelatedResourcesPanel-B01Lid3d.mjs.map +0 -1
  348. package/dist/chunks/NcRichContenteditable-DeN1H5pQ.mjs.map +0 -1
  349. package/dist/chunks/NcRichText-DGV7OHFb.mjs.map +0 -1
  350. package/dist/chunks/_l10n-BCg4udFv.mjs.map +0 -1
  351. package/dist/chunks/legacy-DcjXBL_t.mjs +0 -6
  352. package/dist/chunks/legacy-DcjXBL_t.mjs.map +0 -1
  353. package/dist/chunks/referencePickerModal-Bsq4XIcs.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"NcFormGroup-B3a2iUnT.mjs","sources":["../../src/components/NcFormGroup/NcFormGroup.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<script setup lang=\"ts\">\nimport type { Slot } from 'vue'\n\nimport { createElementId } from '../../utils/createElementId.ts'\n\nconst {\n\tlabel = undefined,\n\tdescription = undefined,\n\thideLabel = false,\n\thideDescription = false,\n\tnoGap = false,\n} = defineProps<{\n\t/**\n\t * Group label #label slot can be used for custom label content\n\t */\n\tlabel?: string\n\t/**\n\t * Optional fieldset description. #description slot can be used for custom description content\n\t */\n\tdescription?: string\n\t/**\n\t * Hide the label visually but keep it accessible for screen readers\n\t */\n\thideLabel?: boolean\n\t/**\n\t * Hide the description visually but keep it accessible for screen readers\n\t */\n\thideDescription?: boolean\n\t/**\n\t * Disable default fieldset content gap between content elements\n\t */\n\tnoGap?: boolean\n}>()\n\nconst slots = defineSlots<{\n\t/**\n\t * Content\n\t */\n\tdefault?: Slot\n\t/**\n\t * Custom label content\n\t */\n\tlabel?: Slot\n\t/**\n\t * Custom description content\n\t */\n\tdescription?: Slot\n}>()\n\nconst id = `nc-form-group-${createElementId()}`\nconst descriptionId = `${id}-description`\n\nconst hasDescription = () => !!description || !!slots.description\nconst getDescriptionId = () => hasDescription() ? descriptionId : undefined\nconst hasContentOnly = () => hideLabel && (!hasDescription() || hideDescription)\n</script>\n\n<template>\n\t<fieldset\n\t\t:class=\"[$style.formGroup, { [$style.formGroup_noGap]: noGap }]\"\n\t\t:aria-describedby=\"getDescriptionId()\">\n\t\t<legend :class=\"[$style.formGroup__label, { 'hidden-visually': hideLabel }]\">\n\t\t\t<slot name=\"label\">\n\t\t\t\t{{ label || '⚠️ Missing label' }}\n\t\t\t</slot>\n\t\t</legend>\n\t\t<div v-if=\"hasDescription()\" :id=\"descriptionId\" :class=\"[$style.formGroup__description, { 'hidden-visually': hideDescription }]\">\n\t\t\t<slot name=\"description\">\n\t\t\t\t{{ description }}\n\t\t\t</slot>\n\t\t</div>\n\t\t<div :class=\"[$style.formGroup__content, { [$style.formGroup__content_only]: hasContentOnly() }]\">\n\t\t\t<slot />\n\t\t</div>\n\t</fieldset>\n</template>\n\n<style lang=\"scss\" module>\n.formGroup {\n\t--form-element-label-offset: calc(var(--border-radius-element) + var(--default-grid-baseline));\n\t--form-group-content-gap: calc(2 * var(--default-grid-baseline));\n\n\t&.formGroup_noGap {\n\t\t--form-group-content-gap: 0;\n\t}\n}\n\n.formGroup__label {\n\tpadding-inline: var(--form-element-label-offset);\n\tfont-size: var(--font-size);\n\tfont-weight: bold;\n}\n\n.formGroup__description {\n\tpadding-inline: var(--form-element-label-offset);\n\tcolor: var(--color-text-maxcontrast);\n}\n\n.formGroup__content {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: var(--form-group-content-gap);\n\tmargin-block-start: calc(2.5 * var(--default-grid-baseline));\n\n\t&.formGroup__content_only {\n\t\tmargin-block-start: 0;\n\t}\n}\n</style>\n\n<docs>\n### General\n\nLabelled group of form elements.\n\n```vue\n<template>\n\t<NcFormGroup label=\"Personal information\">\n\t\t<NcTextField label=\"First name\" />\n\t\t<NcTextField label=\"Last name\" />\n\t</NcFormGroup>\n</template>\n```\n\n### With description\n\n```vue\n<template>\n\t<NcFormGroup label=\"Personal information\" description=\"Your contact details\">\n\t\t<NcTextField label=\"First name\" />\n\t\t<NcTextField label=\"Last name\" />\n\t</NcFormGroup>\n</template>\n```\n\n### Hidden label/description\n\nYou can visually hide the label and/or the description.\\\nNote: you still must provide the label. Do not visually hide the missing label warning!\n\n```vue\n<template>\n\t<NcFormGroup\n\t\tlabel=\"Personal information\"\n\t\tdescription=\"Your contact details\"\n\t\thide-label\n\t\thide-description>\n\t\t<NcTextField label=\"First name\" />\n\t\t<NcTextField label=\"Last name\" />\n\t</NcFormGroup>\n</template>\n```\n</docs>\n"],"names":["_useSlots","_createElementBlock","_normalizeClass","$style","noGap","_createElementVNode","hideLabel","_renderSlot","label","hideDescription","description"],"mappings":";;;;;;;;;;;;;;AAuCA,UAAM,QAAQA,SAAA;AAed,UAAM,KAAK,iBAAiB,gBAAA,CAAiB;AAC7C,UAAM,gBAAgB,GAAG,EAAE;AAE3B,UAAM,iBAAiB,MAAM,CAAC,CAAC,QAAA,eAAe,CAAC,CAAC,MAAM;AACtD,UAAM,mBAAmB,MAAM,eAAA,IAAmB,gBAAgB;AAClE,UAAM,iBAAiB,MAAM,QAAA,cAAc,CAAC,eAAA,KAAoB,QAAA;;0BAI/DC,mBAgBW,YAAA;AAAA,QAfT,OAAKC,eAAA,CAAGC,YAAO,cAAcA,KAAAA,OAAO,eAAe,GAAGC,KAAAA,MAAAA,CAAK,CAAA;AAAA,QAC3D,oBAAkB,iBAAA;AAAA,MAAgB;QACnCC,mBAIS,UAAA;AAAA,UAJA,OAAKH,eAAA,CAAGC,KAAAA,OAAO,uCAAuCG,KAAAA,WAAS,CAAA;AAAA,QAAA;UACvEC,WAEO,0BAFP,MAEO;AAAA,4CADHC,KAAAA,SAAK,kBAAA,GAAA,CAAA;AAAA,UAAA;;QAGC,iCAAXP,mBAIM,OAAA;AAAA;UAJwB,IAAI;AAAA,UAAgB,OAAKC,eAAA,CAAGC,KAAAA,OAAO,6CAA6CM,KAAAA,iBAAe,CAAA;AAAA,QAAA;UAC5HF,WAEO,gCAFP,MAEO;AAAA,4CADHG,KAAAA,WAAW,GAAA,CAAA;AAAA,UAAA;;QAGhBL,mBAEM,OAAA;AAAA,UAFA,OAAKH,eAAA,CAAGC,YAAO,uBAAuBA,KAAAA,OAAO,uBAAuB,GAAG,eAAA,EAAc,CAAA,CAAA;AAAA,QAAA;UAC1FI,WAAQ,KAAA,QAAA,SAAA;AAAA,QAAA;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"NcFormGroup-DvLGFMdb.mjs","sources":["../../src/components/NcFormGroup/NcFormGroup.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<script setup lang=\"ts\">\nimport type { Slot } from 'vue'\n\nimport { createElementId } from '../../utils/createElementId.ts'\n\nconst {\n\tlabel = undefined,\n\tdescription = undefined,\n\thideLabel = false,\n\thideDescription = false,\n\tnoGap = false,\n} = defineProps<{\n\t/**\n\t * Group label #label slot can be used for custom label content\n\t */\n\tlabel?: string\n\t/**\n\t * Optional fieldset description. #description slot can be used for custom description content\n\t */\n\tdescription?: string\n\t/**\n\t * Hide the label visually but keep it accessible for screen readers\n\t */\n\thideLabel?: boolean\n\t/**\n\t * Hide the description visually but keep it accessible for screen readers\n\t */\n\thideDescription?: boolean\n\t/**\n\t * Disable default fieldset content gap between content elements\n\t */\n\tnoGap?: boolean\n}>()\n\nconst slots = defineSlots<{\n\t/**\n\t * Content\n\t */\n\tdefault?: Slot\n\t/**\n\t * Custom label content\n\t */\n\tlabel?: Slot\n\t/**\n\t * Custom description content\n\t */\n\tdescription?: Slot\n}>()\n\nconst id = `nc-form-group-${createElementId()}`\nconst descriptionId = `${id}-description`\n\nconst hasDescription = () => !!description || !!slots.description\nconst getDescriptionId = () => hasDescription() ? descriptionId : undefined\nconst hasContentOnly = () => hideLabel && (!hasDescription() || hideDescription)\n</script>\n\n<template>\n\t<fieldset\n\t\t:class=\"[$style.formGroup, { [$style.formGroup_noGap]: noGap }]\"\n\t\t:aria-describedby=\"getDescriptionId()\">\n\t\t<legend :class=\"[$style.formGroup__label, { 'hidden-visually': hideLabel }]\">\n\t\t\t<slot name=\"label\">\n\t\t\t\t{{ label || '⚠️ Missing label' }}\n\t\t\t</slot>\n\t\t</legend>\n\t\t<div v-if=\"hasDescription()\" :id=\"descriptionId\" :class=\"[$style.formGroup__description, { 'hidden-visually': hideDescription }]\">\n\t\t\t<slot name=\"description\">\n\t\t\t\t{{ description }}\n\t\t\t</slot>\n\t\t</div>\n\t\t<div :class=\"[$style.formGroup__content, { [$style.formGroup__content_only]: hasContentOnly() }]\">\n\t\t\t<slot />\n\t\t</div>\n\t</fieldset>\n</template>\n\n<style lang=\"scss\" module>\n.formGroup {\n\t--form-element-label-offset: calc(var(--border-radius-element) + var(--default-grid-baseline));\n\t--form-group-content-gap: calc(2 * var(--default-grid-baseline));\n\n\t&.formGroup_noGap {\n\t\t--form-group-content-gap: 0;\n\t}\n}\n\n.formGroup__label {\n\tpadding-inline: var(--form-element-label-offset);\n\tfont-size: var(--font-size);\n\tfont-weight: var(--font-weight-heading, bold);\n}\n\n.formGroup__description {\n\tpadding-inline: var(--form-element-label-offset);\n\tcolor: var(--color-text-maxcontrast);\n}\n\n.formGroup__content {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: var(--form-group-content-gap);\n\tmargin-block-start: calc(2.5 * var(--default-grid-baseline));\n\n\t&.formGroup__content_only {\n\t\tmargin-block-start: 0;\n\t}\n}\n</style>\n\n<docs>\n### General\n\nLabelled group of form elements.\n\n```vue\n<template>\n\t<NcFormGroup label=\"Personal information\">\n\t\t<NcTextField label=\"First name\" />\n\t\t<NcTextField label=\"Last name\" />\n\t</NcFormGroup>\n</template>\n```\n\n### With description\n\n```vue\n<template>\n\t<NcFormGroup label=\"Personal information\" description=\"Your contact details\">\n\t\t<NcTextField label=\"First name\" />\n\t\t<NcTextField label=\"Last name\" />\n\t</NcFormGroup>\n</template>\n```\n\n### Hidden label/description\n\nYou can visually hide the label and/or the description.\\\nNote: you still must provide the label. Do not visually hide the missing label warning!\n\n```vue\n<template>\n\t<NcFormGroup\n\t\tlabel=\"Personal information\"\n\t\tdescription=\"Your contact details\"\n\t\thide-label\n\t\thide-description>\n\t\t<NcTextField label=\"First name\" />\n\t\t<NcTextField label=\"Last name\" />\n\t</NcFormGroup>\n</template>\n```\n</docs>\n"],"names":["_useSlots","_createElementBlock","_normalizeClass","$style","_createElementVNode","_renderSlot"],"mappings":";;;;;;;;;;;;;;AAuCA,UAAM,QAAQA,SAAA;AAed,UAAM,KAAK,iBAAiB,gBAAA,CAAiB;AAC7C,UAAM,gBAAgB,GAAG,EAAE;AAE3B,UAAM,iBAAiB,MAAM,CAAC,CAAC,QAAA,eAAe,CAAC,CAAC,MAAM;AACtD,UAAM,mBAAmB,MAAM,eAAA,IAAmB,gBAAgB;AAClE,UAAM,iBAAiB,MAAM,QAAA,cAAc,CAAC,eAAA,KAAoB,QAAA;;0BAI/DC,mBAgBW,YAAA;AAAA,QAfT,OAAKC,eAAA,CAAGC,YAAO,cAAcA,KAAAA,OAAO,eAAe,GAAG,QAAA,MAAA,CAAK,CAAA;AAAA,QAC3D,oBAAkB,iBAAA;AAAA,MAAgB;QACnCC,mBAIS,UAAA;AAAA,UAJA,OAAKF,eAAA,CAAGC,KAAAA,OAAO,uCAAuC,QAAA,WAAS,CAAA;AAAA,QAAA;UACvEE,WAEO,0BAFP,MAEO;AAAA,4CADH,QAAA,SAAK,kBAAA,GAAA,CAAA;AAAA,UAAA;;QAGC,iCAAXJ,mBAIM,OAAA;AAAA;UAJwB,IAAI;AAAA,UAAgB,OAAKC,eAAA,CAAGC,KAAAA,OAAO,6CAA6C,QAAA,iBAAe,CAAA;AAAA,QAAA;UAC5HE,WAEO,gCAFP,MAEO;AAAA,4CADH,QAAA,WAAW,GAAA,CAAA;AAAA,UAAA;;QAGhBD,mBAEM,OAAA;AAAA,UAFA,OAAKF,eAAA,CAAGC,YAAO,uBAAuBA,KAAAA,OAAO,uBAAuB,GAAG,eAAA,EAAc,CAAA,CAAA;AAAA,QAAA;UAC1FE,WAAQ,KAAA,QAAA,SAAA;AAAA,QAAA;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,7 +1,7 @@
1
1
  import '../assets/NcHeaderButton-CVOQgRjm.css';
2
2
  import { defineComponent, openBlock, createElementBlock, createVNode, unref, withModifiers, withCtx, renderSlot, toDisplayString, createCommentVNode } from "vue";
3
3
  import { c as createElementId } from "./createElementId-DhjFt1I9.mjs";
4
- import { N as NcButton } from "./NcButton-lQra4n2g.mjs";
4
+ import { N as NcButton } from "./NcButton-QbPBynlU.mjs";
5
5
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.mjs";
6
6
  const _hoisted_1 = ["id"];
7
7
  const _hoisted_2 = ["id"];
@@ -17,11 +17,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  const descriptionId = createElementId();
18
18
  return (_ctx, _cache) => {
19
19
  return openBlock(), createElementBlock("div", {
20
- id: _ctx.id,
20
+ id: __props.id,
21
21
  class: "header-menu"
22
22
  }, [
23
23
  createVNode(unref(NcButton), {
24
- "aria-label": _ctx.ariaLabel,
24
+ "aria-label": __props.ariaLabel,
25
25
  "aria-describedby": unref(descriptionId),
26
26
  class: "header-menu__trigger",
27
27
  size: "large",
@@ -33,11 +33,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
33
33
  ]),
34
34
  _: 3
35
35
  }, 8, ["aria-label", "aria-describedby"]),
36
- _ctx.description ? (openBlock(), createElementBlock("span", {
36
+ __props.description ? (openBlock(), createElementBlock("span", {
37
37
  key: 0,
38
38
  id: unref(descriptionId),
39
39
  class: "header-menu__description hidden-visually"
40
- }, toDisplayString(_ctx.description), 9, _hoisted_2)) : createCommentVNode("", true)
40
+ }, toDisplayString(__props.description), 9, _hoisted_2)) : createCommentVNode("", true)
41
41
  ], 8, _hoisted_1);
42
42
  };
43
43
  }
@@ -46,4 +46,4 @@ const NcHeaderButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "da
46
46
  export {
47
47
  NcHeaderButton as N
48
48
  };
49
- //# sourceMappingURL=NcHeaderButton-CXu9xIQP.mjs.map
49
+ //# sourceMappingURL=NcHeaderButton-m4oAOSTa.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"NcHeaderButton-CXu9xIQP.mjs","sources":["../../src/components/NcHeaderButton/NcHeaderButton.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<docs>\nThis component is made to be used in the Nextcloud top header,\nsimilar to the NcHeaderMenu but to be used when only a trigger button is needed, e.g. when opening a dialog.\n\n```\n<template>\n\t<div id=\"nextcloud-header\">\n\t\t<NcHeaderButton id=\"search-dialog\"\n\t\t\taria-label=\"Search\"\n\t\t\t@click=\"showDialog = true\">\n\t\t\t<template #icon>\n\t\t\t\t<Magnify />\n\t\t\t</template>\n\t\t</NcHeaderButton>\n\n\t\t<NcDialog name=\"Search\"\n\t\t\tsize=\"normal\"\n\t\t\tv-model:open=\"showDialog\">\n\t\t\t<NcTextField label=\"Search for files, comments, contacts …\"\n\t\t\t\ttype=\"search\"\n\t\t\t\tv-model=\"query\" />\n\t\t\t<NcEmptyContent name=\"Search\"\n\t\t\t\t:description=\"query ? `No results for '${query}'` : 'Start typing to search'\">\n\t\t\t\t<template #icon>\n\t\t\t\t\t<Magnify />\n\t\t\t\t</template>\n\t\t\t</NcEmptyContent>\n\t\t</NcDialog>\n\t</div>\n</template>\n<script>\nimport Magnify from 'vue-material-design-icons/Magnify'\n\nexport default {\n\tcomponents: {\n\t\tMagnify,\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\tshowDialog: false,\n\t\t\tquery: '',\n\t\t}\n\t},\n}\n</script>\n<style>\n#nextcloud-header {\n\tdisplay: flex;\n\tjustify-content: right;\n\tbackground-color: var(--color-primary);\n\theight: var(--header-height, 50px);\n\tpadding-inline-end: 12px;\n}\n</style>\n```\n</docs>\n\n<template>\n\t<!-- We need a wrapper for server styles to apply -->\n\t<div :id=\"id\" class=\"header-menu\">\n\t\t<NcButton\n\t\t\t:aria-label=\"ariaLabel\"\n\t\t\t:aria-describedby=\"descriptionId\"\n\t\t\tclass=\"header-menu__trigger\"\n\t\t\tsize=\"large\"\n\t\t\tvariant=\"tertiary-no-background\"\n\t\t\t@click.prevent=\"$emit('click', $event)\">\n\t\t\t<template #icon>\n\t\t\t\t<!-- @slot Icon trigger slot. Make sure the svg path\n\t\t\t\tis at least 16px. Usually mdi icon works at 20px -->\n\t\t\t\t<slot name=\"icon\" />\n\t\t\t</template>\n\t\t</NcButton>\n\n\t\t<span\n\t\t\tv-if=\"description\"\n\t\t\t:id=\"descriptionId\"\n\t\t\tclass=\"header-menu__description hidden-visually\">\n\t\t\t{{ description }}\n\t\t</span>\n\t</div>\n</template>\n\n<script setup lang=\"ts\">\nimport { createElementId } from '../../utils/createElementId.ts'\nimport NcButton from '../NcButton/index.ts'\n\ndefineProps<{\n\t/** Unique id for this menu */\n\tid: string\n\t/** `aria-label` attribute of the button */\n\tariaLabel: string\n\t/** Optional visually hidden description text for the button */\n\tdescription?: string\n}>()\n\ndefineEmits<{\n\tclick: [event: MouseEvent]\n}>()\n\nconst descriptionId = createElementId()\n</script>\n\n<style lang=\"scss\" scoped>\n@use '../NcHeaderMenu/header-menu__trigger.scss';\n</style>\n"],"names":["_createElementBlock","id","_createVNode","_unref","ariaLabel","_withModifiers","$emit","_renderSlot","description"],"mappings":";;;;;;;;;;;;;;;AA0GA,UAAM,gBAAgB,gBAAA;;0BAzCrBA,mBAqBM,OAAA;AAAA,QArBA,IAAIC,KAAAA;AAAAA,QAAI,OAAM;AAAA,MAAA;QACnBC,YAYWC,MAAA,QAAA,GAAA;AAAA,UAXT,cAAYC,KAAAA;AAAAA,UACZ,oBAAkBD,MAAA,aAAA;AAAA,UACnB,OAAM;AAAA,UACN,MAAK;AAAA,UACL,SAAQ;AAAA,UACP,SAAK,OAAA,CAAA,MAAA,OAAA,CAAA,IAAAE,cAAA,CAAA,WAAUC,KAAAA,MAAK,SAAU,MAAM,GAAA,CAAA,SAAA,CAAA;AAAA,QAAA;UAC1B,cAGV,MAAoB;AAAA,YAApBC,WAAoB,KAAA,QAAA,QAAA,CAAA,GAAA,QAAA,IAAA;AAAA,UAAA;;;QAKfC,KAAAA,4BADPR,mBAKO,QAAA;AAAA;UAHL,IAAIG,MAAA,aAAA;AAAA,UACL,OAAM;AAAA,QAAA,mBACHK,KAAAA,WAAW,GAAA,GAAA,UAAA;;;;;;"}
1
+ {"version":3,"file":"NcHeaderButton-m4oAOSTa.mjs","sources":["../../src/components/NcHeaderButton/NcHeaderButton.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<docs>\nThis component is made to be used in the Nextcloud top header,\nsimilar to the NcHeaderMenu but to be used when only a trigger button is needed, e.g. when opening a dialog.\n\n```\n<template>\n\t<div id=\"nextcloud-header\">\n\t\t<NcHeaderButton id=\"search-dialog\"\n\t\t\taria-label=\"Search\"\n\t\t\t@click=\"showDialog = true\">\n\t\t\t<template #icon>\n\t\t\t\t<Magnify />\n\t\t\t</template>\n\t\t</NcHeaderButton>\n\n\t\t<NcDialog name=\"Search\"\n\t\t\tsize=\"normal\"\n\t\t\tv-model:open=\"showDialog\">\n\t\t\t<NcTextField label=\"Search for files, comments, contacts …\"\n\t\t\t\ttype=\"search\"\n\t\t\t\tv-model=\"query\" />\n\t\t\t<NcEmptyContent name=\"Search\"\n\t\t\t\t:description=\"query ? `No results for '${query}'` : 'Start typing to search'\">\n\t\t\t\t<template #icon>\n\t\t\t\t\t<Magnify />\n\t\t\t\t</template>\n\t\t\t</NcEmptyContent>\n\t\t</NcDialog>\n\t</div>\n</template>\n<script>\nimport Magnify from 'vue-material-design-icons/Magnify'\n\nexport default {\n\tcomponents: {\n\t\tMagnify,\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\tshowDialog: false,\n\t\t\tquery: '',\n\t\t}\n\t},\n}\n</script>\n<style>\n#nextcloud-header {\n\tdisplay: flex;\n\tjustify-content: right;\n\tbackground-color: var(--color-primary);\n\theight: var(--header-height, 50px);\n\tpadding-inline-end: 12px;\n}\n</style>\n```\n</docs>\n\n<template>\n\t<!-- We need a wrapper for server styles to apply -->\n\t<div :id=\"id\" class=\"header-menu\">\n\t\t<NcButton\n\t\t\t:aria-label=\"ariaLabel\"\n\t\t\t:aria-describedby=\"descriptionId\"\n\t\t\tclass=\"header-menu__trigger\"\n\t\t\tsize=\"large\"\n\t\t\tvariant=\"tertiary-no-background\"\n\t\t\t@click.prevent=\"$emit('click', $event)\">\n\t\t\t<template #icon>\n\t\t\t\t<!-- @slot Icon trigger slot. Make sure the svg path\n\t\t\t\tis at least 16px. Usually mdi icon works at 20px -->\n\t\t\t\t<slot name=\"icon\" />\n\t\t\t</template>\n\t\t</NcButton>\n\n\t\t<span\n\t\t\tv-if=\"description\"\n\t\t\t:id=\"descriptionId\"\n\t\t\tclass=\"header-menu__description hidden-visually\">\n\t\t\t{{ description }}\n\t\t</span>\n\t</div>\n</template>\n\n<script setup lang=\"ts\">\nimport { createElementId } from '../../utils/createElementId.ts'\nimport NcButton from '../NcButton/index.ts'\n\ndefineProps<{\n\t/** Unique id for this menu */\n\tid: string\n\t/** `aria-label` attribute of the button */\n\tariaLabel: string\n\t/** Optional visually hidden description text for the button */\n\tdescription?: string\n}>()\n\ndefineEmits<{\n\tclick: [event: MouseEvent]\n}>()\n\nconst descriptionId = createElementId()\n</script>\n\n<style lang=\"scss\" scoped>\n@use '../NcHeaderMenu/header-menu__trigger.scss';\n</style>\n"],"names":["_createElementBlock","_createVNode","_unref","_withModifiers","$emit","_renderSlot"],"mappings":";;;;;;;;;;;;;;;AA0GA,UAAM,gBAAgB,gBAAA;;0BAzCrBA,mBAqBM,OAAA;AAAA,QArBA,IAAI,QAAA;AAAA,QAAI,OAAM;AAAA,MAAA;QACnBC,YAYWC,MAAA,QAAA,GAAA;AAAA,UAXT,cAAY,QAAA;AAAA,UACZ,oBAAkBA,MAAA,aAAA;AAAA,UACnB,OAAM;AAAA,UACN,MAAK;AAAA,UACL,SAAQ;AAAA,UACP,SAAK,OAAA,CAAA,MAAA,OAAA,CAAA,IAAAC,cAAA,CAAA,WAAUC,KAAAA,MAAK,SAAU,MAAM,GAAA,CAAA,SAAA,CAAA;AAAA,QAAA;UAC1B,cAGV,MAAoB;AAAA,YAApBC,WAAoB,KAAA,QAAA,QAAA,CAAA,GAAA,QAAA,IAAA;AAAA,UAAA;;;QAKf,QAAA,4BADPL,mBAKO,QAAA;AAAA;UAHL,IAAIE,MAAA,aAAA;AAAA,UACL,OAAM;AAAA,QAAA,mBACH,QAAA,WAAW,GAAA,GAAA,UAAA;;;;;;"}
@@ -10,7 +10,7 @@ import "../composables/useIsMobile/index.mjs";
10
10
  import { u as useTrapStackControl } from "./useTrapStackControl-B6cEicto.mjs";
11
11
  import { c as createElementId } from "./createElementId-DhjFt1I9.mjs";
12
12
  import { g as getTrapStack } from "./focusTrap-HJQ4pqHV.mjs";
13
- import { N as NcButton } from "./NcButton-lQra4n2g.mjs";
13
+ import { N as NcButton } from "./NcButton-QbPBynlU.mjs";
14
14
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.mjs";
15
15
  const _hoisted_1 = ["id"];
16
16
  const _hoisted_2 = { class: "header-menu__caret" };
@@ -88,19 +88,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
88
88
  }
89
89
  return (_ctx, _cache) => {
90
90
  return openBlock(), createBlock(resolveDynamicComponent(wrapperTag.value), {
91
- id: _ctx.id,
91
+ id: __props.id,
92
92
  ref: "headerMenu",
93
- "aria-labelledby": _ctx.isNav ? unref(triggerId) : null,
93
+ "aria-labelledby": __props.isNav ? unref(triggerId) : null,
94
94
  class: normalizeClass([{ "header-menu--opened": isOpened.value }, "header-menu"]),
95
95
  onFocusout: onFocusOut
96
96
  }, {
97
97
  default: withCtx(() => [
98
98
  createVNode(unref(NcButton), {
99
- id: _ctx.isNav ? unref(triggerId) : null,
99
+ id: __props.isNav ? unref(triggerId) : null,
100
100
  ref: "triggerButton",
101
- "aria-controls": `header-menu-${_ctx.id}`,
101
+ "aria-controls": `header-menu-${__props.id}`,
102
102
  "aria-expanded": isOpened.value.toString(),
103
- "aria-label": _ctx.ariaLabel,
103
+ "aria-label": __props.ariaLabel,
104
104
  class: "header-menu__trigger",
105
105
  size: "large",
106
106
  variant: "tertiary-no-background",
@@ -111,16 +111,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
111
111
  ]),
112
112
  _: 3
113
113
  }, 8, ["id", "aria-controls", "aria-expanded", "aria-label"]),
114
- _ctx.description ? (openBlock(), createElementBlock("span", {
114
+ __props.description ? (openBlock(), createElementBlock("span", {
115
115
  key: 0,
116
116
  id: unref(descriptionId),
117
117
  class: "header-menu__description hidden-visually"
118
- }, toDisplayString(_ctx.description), 9, _hoisted_1)) : createCommentVNode("", true),
118
+ }, toDisplayString(__props.description), 9, _hoisted_1)) : createCommentVNode("", true),
119
119
  withDirectives(createElementVNode("div", _hoisted_2, null, 512), [
120
120
  [vShow, isOpened.value]
121
121
  ]),
122
122
  withDirectives(createElementVNode("div", {
123
- id: `header-menu-${_ctx.id}`,
123
+ id: `header-menu-${__props.id}`,
124
124
  class: "header-menu__wrapper"
125
125
  }, [
126
126
  createElementVNode("div", _hoisted_4, [
@@ -139,4 +139,4 @@ const NcHeaderMenu = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data
139
139
  export {
140
140
  NcHeaderMenu as N
141
141
  };
142
- //# sourceMappingURL=NcHeaderMenu-CYU4Y3h5.mjs.map
142
+ //# sourceMappingURL=NcHeaderMenu-DRxcyWNX.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"NcHeaderMenu-CYU4Y3h5.mjs","sources":["../../src/components/NcHeaderMenu/NcHeaderMenu.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<docs>\nThis component is made to be used in the Nextcloud top header.\n\n```\n<template>\n\t<div id=\"nextcloud-header\">\n\t\t<NcHeaderMenu id=\"search\"\n\t\t\taria-label=\"Search\">\n\t\t\t<template #trigger>\n\t\t\t\t<Magnify />\n\t\t\t</template>\n\t\t\t<div>\n\t\t\t\t<NcTextField label=\"Search for files, comments, contacts …\"\n\t\t\t\t\tstyle=\"padding-inline: 8px;\"\n\t\t\t\t\ttype=\"search\"\n\t\t\t\t\tv-model=\"query\" />\n\t\t\t\t<NcEmptyContent\n\t\t\t\t\tname=\"Search\"\n\t\t\t\t\t:description=\"query ? `No results for '${query}'` : 'Start typing to search'\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<Magnify />\n\t\t\t\t\t</template>\n\t\t\t\t</NcEmptyContent>\n\t\t\t</div>\n\t\t</NcHeaderMenu>\n\t</div>\n</template>\n<script>\nimport Magnify from 'vue-material-design-icons/Magnify'\n\nexport default {\n\tcomponents: {\n\t\tMagnify,\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tquery: '',\n\t\t}\n\t},\n}\n</script>\n<style>\n#nextcloud-header {\n\tdisplay: flex;\n\tjustify-content: end;\n\tbackground-color: var(--color-primary);\n\theight: var(--header-height, 50px);\n\tpadding-inline-end: 12px;\n}\n</style>\n```\n</docs>\n\n<script setup lang=\"ts\">\nimport type { FocusTrap } from 'focus-trap'\nimport type { Slot } from 'vue'\n\nimport { onClickOutside } from '@vueuse/core'\nimport { createFocusTrap } from 'focus-trap'\nimport { computed, nextTick, ref, useTemplateRef, watch } from 'vue'\nimport { useHotKey } from '../../composables/index.js'\nimport { useTrapStackControl } from '../../composables/useTrapStackControl.ts'\nimport { createElementId } from '../../utils/createElementId.ts'\nimport { getTrapStack } from '../../utils/focusTrap.js'\nimport NcButton from '../NcButton/index.ts'\n\nconst {\n\tariaLabel = undefined,\n\tdescription = undefined,\n\texcludeClickOutsideSelectors = [],\n\topen = false,\n\tisNav = false,\n} = defineProps<{\n\t/**\n\t * Unique id for this menu\n\t */\n\tid: string\n\n\t/**\n\t * aria-label attribute of the menu open button\n\t */\n\tariaLabel?: string\n\n\t/**\n\t * Current menu open state\n\t */\n\topen?: boolean\n\n\t/**\n\t * Pass `true` if the header menu is used for website navigation\n\t *\n\t * The wrapper tag will be set to `nav` and its `aria-labelledby`\n\t * will be associated with the menu open button\n\t */\n\tisNav?: boolean\n\n\t/**\n\t * Additional visually hidden description text for the menu\n\t * open button\n\t */\n\tdescription?: string\n\n\t/**\n\t * A query-selector or an array of query-selectors\n\t * to be ignored when clicking outside an element\n\t */\n\texcludeClickOutsideSelectors?: string | string[]\n}>()\n\nconst emit = defineEmits<{\n\t/** Emitted when the menu is fully closed (animation done) */\n\tclosed: []\n\n\t/** Emitted when the menu is fully opened (animation done) */\n\topened: []\n\n\t/** Updated open state */\n\t'update:open': [v: boolean]\n}>()\n\ndefineSlots<{\n\t/** The menu content */\n\tdefault?: Slot\n\t/** Icon trigger slot. Make sure the svg path is at least 16px. Usually mdi icon works at 20px */\n\ttrigger?: Slot\n}>()\n\n/** Id of the menu description */\nconst descriptionId = createElementId()\n/** Id of the trigger button */\nconst triggerId = createElementId()\n/** The active focus trap (if any) */\nconst focusTrap = ref<FocusTrap>()\n/** Is the menu currently opened */\nconst isOpened = ref(open)\n/** HTML tag to use for the header menu */\nconst wrapperTag = computed(() => isNav ? 'nav' : 'div')\n\n/** The menu content container element */\nconst contentContainerElement = useTemplateRef('contentContainer')\n/** The overall header menu wrapping element (<nav> or <div>) */\nconst headerMenuElement = useTemplateRef<HTMLElement>('headerMenu')\n/** The menu trigger button */\nconst triggerButtonInstance = useTemplateRef('triggerButton')\n\n// Handle click outside of the menu -> should close the menu\nconst ignore = computed(() => Array.isArray(excludeClickOutsideSelectors)\n\t? excludeClickOutsideSelectors\n\t: excludeClickOutsideSelectors.split(' '))\nonClickOutside(headerMenuElement, () => setMenuState(false), { ignore })\n\n// Pressing escape should close the menu\nuseHotKey('Escape', () => setMenuState(false), { prevent: true })\n\n// When component has its own custom focus management\n// The global focus trap stack should be paused\nuseTrapStackControl(isOpened, {\n\tdisabled: () => !isNav,\n})\n\n// Watch the open prop to adjust the internal opened state\nwatch(() => open, (state: boolean) => setMenuState(state))\n\n/**\n * Toggle the current menu open state\n */\nfunction toggleMenu() {\n\tsetMenuState(!isOpened.value)\n}\n\n/**\n * Set the menu opened state\n *\n * @param state The opened state to set\n */\nasync function setMenuState(state: boolean) {\n\tif (state === isOpened.value) {\n\t\treturn\n\t}\n\n\tisOpened.value = state\n\temit('update:open', state)\n\n\t// wait one tick to make sure the rendering finished\n\tawait nextTick()\n\t// either add or clear the focus trap\n\tawait (state ? addFocusTrap() : clearFocusTrap())\n\n\t// Emit signal to mark finished toggling\n\t// @ts-expect-error This seems to be broken in Vue's typescript macro compiler...\n\temit(state ? 'opened' : 'closed')\n}\n\n/**\n * When this is role navigation, then we cannot apply a focus trap.\n * In this case we close the menu on focus-out.\n *\n * @param event the focus event\n */\nfunction onFocusOut(event: FocusEvent) {\n\t// Is not a navigation\n\tif (!isNav) {\n\t\treturn\n\t}\n\n\t// Event target is not a node\n\tif (!(event.relatedTarget instanceof Node)) {\n\t\treturn\n\t}\n\n\tif (headerMenuElement.value?.contains(event.relatedTarget)) {\n\t\tsetMenuState(false)\n\t}\n}\n\n/**\n * Add focus trap for accessibility.\n * Shall only be used when all children are mounted\n * and available in the DOM. We use $nextTick for that.\n */\nasync function addFocusTrap() {\n\t// We cannot add the focus trap on navigation roles\n\t// also skip if already set\n\tif (isNav || focusTrap.value) {\n\t\treturn\n\t}\n\n\t// Init focus trap\n\tfocusTrap.value = createFocusTrap(contentContainerElement.value!, {\n\t\tallowOutsideClick: true,\n\t\ttrapStack: getTrapStack(),\n\t\tfallbackFocus: triggerButtonInstance.value?.$el,\n\t})\n\tfocusTrap.value.activate()\n}\n\n/**\n * Deactivate and clear the focus trap\n */\nfunction clearFocusTrap() {\n\tfocusTrap.value?.deactivate()\n\tfocusTrap.value = undefined\n}\n</script>\n\n<template>\n\t<component\n\t\t:is=\"wrapperTag\"\n\t\t:id=\"id\"\n\t\tref=\"headerMenu\"\n\t\t:aria-labelledby=\"isNav ? triggerId : null\"\n\t\t:class=\"{ 'header-menu--opened': isOpened }\"\n\t\tclass=\"header-menu\"\n\t\t@focusout=\"onFocusOut\">\n\t\t<!-- Trigger -->\n\t\t<NcButton\n\t\t\t:id=\"isNav ? triggerId : null\"\n\t\t\tref=\"triggerButton\"\n\t\t\t:aria-controls=\"`header-menu-${id}`\"\n\t\t\t:aria-expanded=\"isOpened.toString()\"\n\t\t\t:aria-label\n\t\t\tclass=\"header-menu__trigger\"\n\t\t\tsize=\"large\"\n\t\t\tvariant=\"tertiary-no-background\"\n\t\t\t@click.prevent=\"toggleMenu\">\n\t\t\t<template #icon>\n\t\t\t\t<slot name=\"trigger\" />\n\t\t\t</template>\n\t\t</NcButton>\n\n\t\t<span\n\t\t\tv-if=\"description\"\n\t\t\t:id=\"descriptionId\"\n\t\t\tclass=\"header-menu__description hidden-visually\">\n\t\t\t{{ description }}\n\t\t</span>\n\n\t\t<!-- Visual triangle -->\n\t\t<div v-show=\"isOpened\" class=\"header-menu__caret\" />\n\n\t\t<!-- Menu opened content -->\n\t\t<div\n\t\t\tv-show=\"isOpened\"\n\t\t\t:id=\"`header-menu-${id}`\"\n\t\t\tclass=\"header-menu__wrapper\">\n\t\t\t<div ref=\"contentContainer\" class=\"header-menu__content\">\n\t\t\t\t<slot />\n\t\t\t</div>\n\t\t</div>\n\t</component>\n</template>\n\n<style lang=\"scss\" scoped>\n@use './header-menu__trigger.scss';\n\n// content inner and outer margin\n// Also used for menu top-right positioning\n$externalMargin: 8px;\n\n.header-menu {\n\t&__wrapper {\n\t\tposition: fixed;\n\t\tz-index: 2000;\n\t\ttop: var(--header-height);\n\t\tinset-inline-end: 0;\n\t\tbox-sizing: border-box;\n\t\tmargin: 0 $externalMargin;\n\t\tborder-radius: var(--border-radius-element);\n\t\tbackground-color: var(--color-main-background);\n\n\t\tfilter: drop-shadow(0 1px 5px var(--color-box-shadow));\n\t}\n\n\t&__caret {\n\t\tposition: absolute;\n\t\tz-index: 2001; // Because __wrapper is 2000.\n\t\tbottom: 0;\n\t\tinset-inline-start: calc(50% - 10px);\n\t\twidth: 0;\n\t\theight: 0;\n\t\tcontent: ' ';\n\t\tpointer-events: none;\n\t\tborder: 10px solid transparent;\n\t\tborder-bottom-color: var(--color-main-background);\n\t}\n\n\t&__content {\n\t\toverflow: auto;\n\t\twidth: 350px;\n\t\tmax-width: calc(100vw - 2 * $externalMargin);\n\t\tmin-height: calc(var(--default-clickable-area) * 1.5);\n\t\tmax-height: calc(100vh - var(--header-height) * 2);\n\t\t:deep(.empty-content) {\n\t\t\tmargin: 12vh 10px;\n\t\t}\n\t}\n}\n</style>\n"],"names":["_openBlock","_createBlock","_resolveDynamicComponent","id","isNav","_unref","_normalizeClass","_createVNode","ariaLabel","_renderSlot","description","_createElementBlock","_withDirectives","_createElementVNode"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkHA,UAAM,OAAO;AAmBb,UAAM,gBAAgB,gBAAA;AAEtB,UAAM,YAAY,gBAAA;AAElB,UAAM,YAAY,IAAA;AAElB,UAAM,WAAW,IAAI,QAAA,IAAI;AAEzB,UAAM,aAAa,SAAS,MAAM,QAAA,QAAQ,QAAQ,KAAK;AAGvD,UAAM,0BAA0B,eAAe,kBAAkB;AAEjE,UAAM,oBAAoB,eAA4B,YAAY;AAElE,UAAM,wBAAwB,eAAe,eAAe;AAG5D,UAAM,SAAS,SAAS,MAAM,MAAM,QAAQ,QAAA,4BAA4B,IACrE,QAAA,+BACA,QAAA,6BAA6B,MAAM,GAAG,CAAC;AAC1C,mBAAe,mBAAmB,MAAM,aAAa,KAAK,GAAG,EAAE,QAAQ;AAGvE,cAAU,UAAU,MAAM,aAAa,KAAK,GAAG,EAAE,SAAS,MAAM;AAIhE,wBAAoB,UAAU;AAAA,MAC7B,UAAU,MAAM,CAAC,QAAA;AAAA,IAAA,CACjB;AAGD,UAAM,MAAM,QAAA,MAAM,CAAC,UAAmB,aAAa,KAAK,CAAC;AAKzD,aAAS,aAAa;AACrB,mBAAa,CAAC,SAAS,KAAK;AAAA,IAC7B;AAOA,mBAAe,aAAa,OAAgB;AAC3C,UAAI,UAAU,SAAS,OAAO;AAC7B;AAAA,MACD;AAEA,eAAS,QAAQ;AACjB,WAAK,eAAe,KAAK;AAGzB,YAAM,SAAA;AAEN,aAAO,QAAQ,iBAAiB;AAIhC,WAAK,QAAQ,WAAW,QAAQ;AAAA,IACjC;AAQA,aAAS,WAAW,OAAmB;AAEtC,UAAI,CAAC,QAAA,OAAO;AACX;AAAA,MACD;AAGA,UAAI,EAAE,MAAM,yBAAyB,OAAO;AAC3C;AAAA,MACD;AAEA,UAAI,kBAAkB,OAAO,SAAS,MAAM,aAAa,GAAG;AAC3D,qBAAa,KAAK;AAAA,MACnB;AAAA,IACD;AAOA,mBAAe,eAAe;AAG7B,UAAI,QAAA,SAAS,UAAU,OAAO;AAC7B;AAAA,MACD;AAGA,gBAAU,QAAQ,gBAAgB,wBAAwB,OAAQ;AAAA,QACjE,mBAAmB;AAAA,QACnB,WAAW,aAAA;AAAA,QACX,eAAe,sBAAsB,OAAO;AAAA,MAAA,CAC5C;AACD,gBAAU,MAAM,SAAA;AAAA,IACjB;AAKA,aAAS,iBAAiB;AACzB,gBAAU,OAAO,WAAA;AACjB,gBAAU,QAAQ;AAAA,IACnB;;AAIC,aAAAA,aAAAC,YA2CYC,wBA1CN,WAAA,KAAU,GAAA;AAAA,QACd,IAAIC,KAAAA;AAAAA,QACL,KAAI;AAAA,QACH,mBAAiBC,KAAAA,QAAQC,MAAA,SAAA,IAAS;AAAA,QAClC,OAAKC,eAAA,CAAA,EAAA,uBAA2B,SAAA,MAAA,GAC3B,aAAa,CAAA;AAAA,QAClB,YAAU;AAAA,MAAA;yBAEX,MAaW;AAAA,UAbXC,YAaWF,MAAA,QAAA,GAAA;AAAA,YAZT,IAAID,KAAAA,QAAQC,MAAA,SAAA,IAAS;AAAA,YACtB,KAAI;AAAA,YACH,gCAA8BF,KAAAA,EAAE;AAAA,YAChC,iBAAe,SAAA,MAAS,SAAA;AAAA,YACxB,cAAAK,KAAAA;AAAAA,YACD,OAAM;AAAA,YACN,MAAK;AAAA,YACL,SAAQ;AAAA,YACP,uBAAe,YAAU,CAAA,SAAA,CAAA;AAAA,UAAA;YACf,cACV,MAAuB;AAAA,cAAvBC,WAAuB,KAAA,QAAA,WAAA,CAAA,GAAA,QAAA,IAAA;AAAA,YAAA;;;UAKlBC,KAAAA,4BADPC,mBAKO,QAAA;AAAA;YAHL,IAAIN,MAAA,aAAA;AAAA,YACL,OAAM;AAAA,UAAA,mBACHK,KAAAA,WAAW,GAAA,GAAA,UAAA;UAIfE,eAAAC,mBAAoD,OAApD,YAAoD,MAAA,GAAA,GAAA;AAAA,oBAAvC,SAAA,KAAQ;AAAA,UAAA;yBAGrBA,mBAOM,OAAA;AAAA,YALJ,mBAAmBV,KAAAA,EAAE;AAAA,YACtB,OAAM;AAAA,UAAA;YACNU,mBAEM,OAFN,YAEM;AAAA,cADLJ,WAAQ,KAAA,QAAA,WAAA,CAAA,GAAA,QAAA,IAAA;AAAA,YAAA;;oBAJD,SAAA,KAAQ;AAAA,UAAA;;;;;;;;"}
1
+ {"version":3,"file":"NcHeaderMenu-DRxcyWNX.mjs","sources":["../../src/components/NcHeaderMenu/NcHeaderMenu.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<docs>\nThis component is made to be used in the Nextcloud top header.\n\n```\n<template>\n\t<div id=\"nextcloud-header\">\n\t\t<NcHeaderMenu id=\"search\"\n\t\t\taria-label=\"Search\">\n\t\t\t<template #trigger>\n\t\t\t\t<Magnify />\n\t\t\t</template>\n\t\t\t<div>\n\t\t\t\t<NcTextField label=\"Search for files, comments, contacts …\"\n\t\t\t\t\tstyle=\"padding-inline: 8px;\"\n\t\t\t\t\ttype=\"search\"\n\t\t\t\t\tv-model=\"query\" />\n\t\t\t\t<NcEmptyContent\n\t\t\t\t\tname=\"Search\"\n\t\t\t\t\t:description=\"query ? `No results for '${query}'` : 'Start typing to search'\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<Magnify />\n\t\t\t\t\t</template>\n\t\t\t\t</NcEmptyContent>\n\t\t\t</div>\n\t\t</NcHeaderMenu>\n\t</div>\n</template>\n<script>\nimport Magnify from 'vue-material-design-icons/Magnify'\n\nexport default {\n\tcomponents: {\n\t\tMagnify,\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tquery: '',\n\t\t}\n\t},\n}\n</script>\n<style>\n#nextcloud-header {\n\tdisplay: flex;\n\tjustify-content: end;\n\tbackground-color: var(--color-primary);\n\theight: var(--header-height, 50px);\n\tpadding-inline-end: 12px;\n}\n</style>\n```\n</docs>\n\n<script setup lang=\"ts\">\nimport type { FocusTrap } from 'focus-trap'\nimport type { Slot } from 'vue'\n\nimport { onClickOutside } from '@vueuse/core'\nimport { createFocusTrap } from 'focus-trap'\nimport { computed, nextTick, ref, useTemplateRef, watch } from 'vue'\nimport { useHotKey } from '../../composables/index.js'\nimport { useTrapStackControl } from '../../composables/useTrapStackControl.ts'\nimport { createElementId } from '../../utils/createElementId.ts'\nimport { getTrapStack } from '../../utils/focusTrap.js'\nimport NcButton from '../NcButton/index.ts'\n\nconst {\n\tariaLabel = undefined,\n\tdescription = undefined,\n\texcludeClickOutsideSelectors = [],\n\topen = false,\n\tisNav = false,\n} = defineProps<{\n\t/**\n\t * Unique id for this menu\n\t */\n\tid: string\n\n\t/**\n\t * aria-label attribute of the menu open button\n\t */\n\tariaLabel?: string\n\n\t/**\n\t * Current menu open state\n\t */\n\topen?: boolean\n\n\t/**\n\t * Pass `true` if the header menu is used for website navigation\n\t *\n\t * The wrapper tag will be set to `nav` and its `aria-labelledby`\n\t * will be associated with the menu open button\n\t */\n\tisNav?: boolean\n\n\t/**\n\t * Additional visually hidden description text for the menu\n\t * open button\n\t */\n\tdescription?: string\n\n\t/**\n\t * A query-selector or an array of query-selectors\n\t * to be ignored when clicking outside an element\n\t */\n\texcludeClickOutsideSelectors?: string | string[]\n}>()\n\nconst emit = defineEmits<{\n\t/** Emitted when the menu is fully closed (animation done) */\n\tclosed: []\n\n\t/** Emitted when the menu is fully opened (animation done) */\n\topened: []\n\n\t/** Updated open state */\n\t'update:open': [v: boolean]\n}>()\n\ndefineSlots<{\n\t/** The menu content */\n\tdefault?: Slot\n\t/** Icon trigger slot. Make sure the svg path is at least 16px. Usually mdi icon works at 20px */\n\ttrigger?: Slot\n}>()\n\n/** Id of the menu description */\nconst descriptionId = createElementId()\n/** Id of the trigger button */\nconst triggerId = createElementId()\n/** The active focus trap (if any) */\nconst focusTrap = ref<FocusTrap>()\n/** Is the menu currently opened */\nconst isOpened = ref(open)\n/** HTML tag to use for the header menu */\nconst wrapperTag = computed(() => isNav ? 'nav' : 'div')\n\n/** The menu content container element */\nconst contentContainerElement = useTemplateRef('contentContainer')\n/** The overall header menu wrapping element (<nav> or <div>) */\nconst headerMenuElement = useTemplateRef<HTMLElement>('headerMenu')\n/** The menu trigger button */\nconst triggerButtonInstance = useTemplateRef('triggerButton')\n\n// Handle click outside of the menu -> should close the menu\nconst ignore = computed(() => Array.isArray(excludeClickOutsideSelectors)\n\t? excludeClickOutsideSelectors\n\t: excludeClickOutsideSelectors.split(' '))\nonClickOutside(headerMenuElement, () => setMenuState(false), { ignore })\n\n// Pressing escape should close the menu\nuseHotKey('Escape', () => setMenuState(false), { prevent: true })\n\n// When component has its own custom focus management\n// The global focus trap stack should be paused\nuseTrapStackControl(isOpened, {\n\tdisabled: () => !isNav,\n})\n\n// Watch the open prop to adjust the internal opened state\nwatch(() => open, (state: boolean) => setMenuState(state))\n\n/**\n * Toggle the current menu open state\n */\nfunction toggleMenu() {\n\tsetMenuState(!isOpened.value)\n}\n\n/**\n * Set the menu opened state\n *\n * @param state The opened state to set\n */\nasync function setMenuState(state: boolean) {\n\tif (state === isOpened.value) {\n\t\treturn\n\t}\n\n\tisOpened.value = state\n\temit('update:open', state)\n\n\t// wait one tick to make sure the rendering finished\n\tawait nextTick()\n\t// either add or clear the focus trap\n\tawait (state ? addFocusTrap() : clearFocusTrap())\n\n\t// Emit signal to mark finished toggling\n\t// @ts-expect-error This seems to be broken in Vue's typescript macro compiler...\n\temit(state ? 'opened' : 'closed')\n}\n\n/**\n * When this is role navigation, then we cannot apply a focus trap.\n * In this case we close the menu on focus-out.\n *\n * @param event the focus event\n */\nfunction onFocusOut(event: FocusEvent) {\n\t// Is not a navigation\n\tif (!isNav) {\n\t\treturn\n\t}\n\n\t// Event target is not a node\n\tif (!(event.relatedTarget instanceof Node)) {\n\t\treturn\n\t}\n\n\tif (headerMenuElement.value?.contains(event.relatedTarget)) {\n\t\tsetMenuState(false)\n\t}\n}\n\n/**\n * Add focus trap for accessibility.\n * Shall only be used when all children are mounted\n * and available in the DOM. We use $nextTick for that.\n */\nasync function addFocusTrap() {\n\t// We cannot add the focus trap on navigation roles\n\t// also skip if already set\n\tif (isNav || focusTrap.value) {\n\t\treturn\n\t}\n\n\t// Init focus trap\n\tfocusTrap.value = createFocusTrap(contentContainerElement.value!, {\n\t\tallowOutsideClick: true,\n\t\ttrapStack: getTrapStack(),\n\t\tfallbackFocus: triggerButtonInstance.value?.$el,\n\t})\n\tfocusTrap.value.activate()\n}\n\n/**\n * Deactivate and clear the focus trap\n */\nfunction clearFocusTrap() {\n\tfocusTrap.value?.deactivate()\n\tfocusTrap.value = undefined\n}\n</script>\n\n<template>\n\t<component\n\t\t:is=\"wrapperTag\"\n\t\t:id=\"id\"\n\t\tref=\"headerMenu\"\n\t\t:aria-labelledby=\"isNav ? triggerId : null\"\n\t\t:class=\"{ 'header-menu--opened': isOpened }\"\n\t\tclass=\"header-menu\"\n\t\t@focusout=\"onFocusOut\">\n\t\t<!-- Trigger -->\n\t\t<NcButton\n\t\t\t:id=\"isNav ? triggerId : null\"\n\t\t\tref=\"triggerButton\"\n\t\t\t:aria-controls=\"`header-menu-${id}`\"\n\t\t\t:aria-expanded=\"isOpened.toString()\"\n\t\t\t:aria-label\n\t\t\tclass=\"header-menu__trigger\"\n\t\t\tsize=\"large\"\n\t\t\tvariant=\"tertiary-no-background\"\n\t\t\t@click.prevent=\"toggleMenu\">\n\t\t\t<template #icon>\n\t\t\t\t<slot name=\"trigger\" />\n\t\t\t</template>\n\t\t</NcButton>\n\n\t\t<span\n\t\t\tv-if=\"description\"\n\t\t\t:id=\"descriptionId\"\n\t\t\tclass=\"header-menu__description hidden-visually\">\n\t\t\t{{ description }}\n\t\t</span>\n\n\t\t<!-- Visual triangle -->\n\t\t<div v-show=\"isOpened\" class=\"header-menu__caret\" />\n\n\t\t<!-- Menu opened content -->\n\t\t<div\n\t\t\tv-show=\"isOpened\"\n\t\t\t:id=\"`header-menu-${id}`\"\n\t\t\tclass=\"header-menu__wrapper\">\n\t\t\t<div ref=\"contentContainer\" class=\"header-menu__content\">\n\t\t\t\t<slot />\n\t\t\t</div>\n\t\t</div>\n\t</component>\n</template>\n\n<style lang=\"scss\" scoped>\n@use './header-menu__trigger.scss';\n\n// content inner and outer margin\n// Also used for menu top-right positioning\n$externalMargin: 8px;\n\n.header-menu {\n\t&__wrapper {\n\t\tposition: fixed;\n\t\tz-index: 2000;\n\t\ttop: var(--header-height);\n\t\tinset-inline-end: 0;\n\t\tbox-sizing: border-box;\n\t\tmargin: 0 $externalMargin;\n\t\tborder-radius: var(--border-radius-element);\n\t\tbackground-color: var(--color-main-background);\n\n\t\tfilter: drop-shadow(0 1px 5px var(--color-box-shadow));\n\t}\n\n\t&__caret {\n\t\tposition: absolute;\n\t\tz-index: 2001; // Because __wrapper is 2000.\n\t\tbottom: 0;\n\t\tinset-inline-start: calc(50% - 10px);\n\t\twidth: 0;\n\t\theight: 0;\n\t\tcontent: ' ';\n\t\tpointer-events: none;\n\t\tborder: 10px solid transparent;\n\t\tborder-bottom-color: var(--color-main-background);\n\t}\n\n\t&__content {\n\t\toverflow: auto;\n\t\twidth: 350px;\n\t\tmax-width: calc(100vw - 2 * $externalMargin);\n\t\tmin-height: calc(var(--default-clickable-area) * 1.5);\n\t\tmax-height: calc(100vh - var(--header-height) * 2);\n\t\t:deep(.empty-content) {\n\t\t\tmargin: 12vh 10px;\n\t\t}\n\t}\n}\n</style>\n"],"names":["_openBlock","_createBlock","_resolveDynamicComponent","_unref","_normalizeClass","_createVNode","_renderSlot","_createElementBlock","_withDirectives","_createElementVNode"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkHA,UAAM,OAAO;AAmBb,UAAM,gBAAgB,gBAAA;AAEtB,UAAM,YAAY,gBAAA;AAElB,UAAM,YAAY,IAAA;AAElB,UAAM,WAAW,IAAI,QAAA,IAAI;AAEzB,UAAM,aAAa,SAAS,MAAM,QAAA,QAAQ,QAAQ,KAAK;AAGvD,UAAM,0BAA0B,eAAe,kBAAkB;AAEjE,UAAM,oBAAoB,eAA4B,YAAY;AAElE,UAAM,wBAAwB,eAAe,eAAe;AAG5D,UAAM,SAAS,SAAS,MAAM,MAAM,QAAQ,QAAA,4BAA4B,IACrE,QAAA,+BACA,QAAA,6BAA6B,MAAM,GAAG,CAAC;AAC1C,mBAAe,mBAAmB,MAAM,aAAa,KAAK,GAAG,EAAE,QAAQ;AAGvE,cAAU,UAAU,MAAM,aAAa,KAAK,GAAG,EAAE,SAAS,MAAM;AAIhE,wBAAoB,UAAU;AAAA,MAC7B,UAAU,MAAM,CAAC,QAAA;AAAA,IAAA,CACjB;AAGD,UAAM,MAAM,QAAA,MAAM,CAAC,UAAmB,aAAa,KAAK,CAAC;AAKzD,aAAS,aAAa;AACrB,mBAAa,CAAC,SAAS,KAAK;AAAA,IAC7B;AAOA,mBAAe,aAAa,OAAgB;AAC3C,UAAI,UAAU,SAAS,OAAO;AAC7B;AAAA,MACD;AAEA,eAAS,QAAQ;AACjB,WAAK,eAAe,KAAK;AAGzB,YAAM,SAAA;AAEN,aAAO,QAAQ,iBAAiB;AAIhC,WAAK,QAAQ,WAAW,QAAQ;AAAA,IACjC;AAQA,aAAS,WAAW,OAAmB;AAEtC,UAAI,CAAC,QAAA,OAAO;AACX;AAAA,MACD;AAGA,UAAI,EAAE,MAAM,yBAAyB,OAAO;AAC3C;AAAA,MACD;AAEA,UAAI,kBAAkB,OAAO,SAAS,MAAM,aAAa,GAAG;AAC3D,qBAAa,KAAK;AAAA,MACnB;AAAA,IACD;AAOA,mBAAe,eAAe;AAG7B,UAAI,QAAA,SAAS,UAAU,OAAO;AAC7B;AAAA,MACD;AAGA,gBAAU,QAAQ,gBAAgB,wBAAwB,OAAQ;AAAA,QACjE,mBAAmB;AAAA,QACnB,WAAW,aAAA;AAAA,QACX,eAAe,sBAAsB,OAAO;AAAA,MAAA,CAC5C;AACD,gBAAU,MAAM,SAAA;AAAA,IACjB;AAKA,aAAS,iBAAiB;AACzB,gBAAU,OAAO,WAAA;AACjB,gBAAU,QAAQ;AAAA,IACnB;;AAIC,aAAAA,aAAAC,YA2CYC,wBA1CN,WAAA,KAAU,GAAA;AAAA,QACd,IAAI,QAAA;AAAA,QACL,KAAI;AAAA,QACH,mBAAiB,QAAA,QAAQC,MAAA,SAAA,IAAS;AAAA,QAClC,OAAKC,eAAA,CAAA,EAAA,uBAA2B,SAAA,MAAA,GAC3B,aAAa,CAAA;AAAA,QAClB,YAAU;AAAA,MAAA;yBAEX,MAaW;AAAA,UAbXC,YAaWF,MAAA,QAAA,GAAA;AAAA,YAZT,IAAI,QAAA,QAAQA,MAAA,SAAA,IAAS;AAAA,YACtB,KAAI;AAAA,YACH,gCAA8B,QAAA,EAAE;AAAA,YAChC,iBAAe,SAAA,MAAS,SAAA;AAAA,YACxB,cAAA,QAAA;AAAA,YACD,OAAM;AAAA,YACN,MAAK;AAAA,YACL,SAAQ;AAAA,YACP,uBAAe,YAAU,CAAA,SAAA,CAAA;AAAA,UAAA;YACf,cACV,MAAuB;AAAA,cAAvBG,WAAuB,KAAA,QAAA,WAAA,CAAA,GAAA,QAAA,IAAA;AAAA,YAAA;;;UAKlB,QAAA,4BADPC,mBAKO,QAAA;AAAA;YAHL,IAAIJ,MAAA,aAAA;AAAA,YACL,OAAM;AAAA,UAAA,mBACH,QAAA,WAAW,GAAA,GAAA,UAAA;UAIfK,eAAAC,mBAAoD,OAApD,YAAoD,MAAA,GAAA,GAAA;AAAA,oBAAvC,SAAA,KAAQ;AAAA,UAAA;yBAGrBA,mBAOM,OAAA;AAAA,YALJ,mBAAmB,QAAA,EAAE;AAAA,YACtB,OAAM;AAAA,UAAA;YACNA,mBAEM,OAFN,YAEM;AAAA,cADLH,WAAQ,KAAA,QAAA,WAAA,CAAA,GAAA,QAAA,IAAA;AAAA,YAAA;;oBAJD,SAAA,KAAQ;AAAA,UAAA;;;;;;;;"}
@@ -1,6 +1,6 @@
1
1
  import '../assets/NcHotkey-CvuY7fQJ.css';
2
2
  import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, Fragment, renderList, createBlock, createTextVNode, toDisplayString } from "vue";
3
- import { N as NcKbd } from "./NcKbd-Caeq706M.mjs";
3
+ import { N as NcKbd } from "./NcKbd-Iyp0KDp4.mjs";
4
4
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.mjs";
5
5
  const NO_LABEL_WARNING = "⚠️ NcHotKey must have a label or slot content";
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -35,7 +35,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
35
  class: normalizeClass(_ctx.$style.hotkey__label)
36
36
  }, [
37
37
  renderSlot(_ctx.$slots, "default", {}, () => [
38
- createTextVNode(toDisplayString(_ctx.label || NO_LABEL_WARNING), 1)
38
+ createTextVNode(toDisplayString(__props.label || NO_LABEL_WARNING), 1)
39
39
  ])
40
40
  ], 2)
41
41
  ], 2);
@@ -58,4 +58,4 @@ const NcHotkey = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssMod
58
58
  export {
59
59
  NcHotkey as N
60
60
  };
61
- //# sourceMappingURL=NcHotkey-B0qDRy1t.mjs.map
61
+ //# sourceMappingURL=NcHotkey-C-TYyC8X.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"NcHotkey-B0qDRy1t.mjs","sources":["../../src/components/NcHotkey/NcHotkey.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<script setup lang=\"ts\">\nimport type { Slot } from 'vue'\n\nimport { computed } from 'vue'\nimport NcKbd from '../NcKbd/NcKbd.vue'\n\nconst {\n\tlabel = undefined,\n\thotkey = undefined,\n} = defineProps<{\n\t/**\n\t * Label for the hotkey\n\t */\n\tlabel?: string\n\t/**\n\t * Hotkey combination string separated by space, for example, `Control Alt T` or `F2` (see `<NcKbd>` for supported key names)\n\t */\n\thotkey?: string\n}>()\n\ndefineSlots<{\n\t/**\n\t * Custom label content\n\t */\n\tdefault?: Slot\n\t/**\n\t * Custom hotkey content for an advanced hotkey layout with <NcKbd> components or other custom content\n\t */\n\thotkey?: Slot\n}>()\n\nconst symbols = computed(() => {\n\treturn hotkey?.split(/\\s+/).map((s) => s.trim())\n})\n\nconst NO_LABEL_WARNING = '⚠️ NcHotKey must have a label or slot content'\n</script>\n\n<template>\n\t<li :class=\"$style.hotkey\">\n\t\t<span role=\"term\" :class=\"$style.hotkey__keys\">\n\t\t\t<slot name=\"hotkey\">\n\t\t\t\t<NcKbd v-for=\"(symbol, index) in symbols\" :key=\"index\" :symbol />\n\t\t\t</slot>\n\t\t</span>\n\t\t<span role=\"definition\" :class=\"$style.hotkey__label\">\n\t\t\t<slot>\n\t\t\t\t{{ label || NO_LABEL_WARNING }}\n\t\t\t</slot>\n\t\t</span>\n\t</li>\n</template>\n\n<style lang=\"scss\" module>\n.hotkey {\n\t--form-element-label-offset: calc(var(--border-radius-element) + var(--default-grid-baseline));\n\tdisplay: flex;\n\tflex-direction: row-reverse;\n\talign-items: stretch;\n\tpadding-inline: var(--form-element-label-offset);\n\n\t&:first-child {\n\t\t.hotkey__label,\n\t\t.hotkey__keys {\n\t\t\tborder-block-start: none;\n\t\t}\n\t}\n\n}\n\n.hotkey__label,\n.hotkey__keys {\n\tdisplay: flex;\n\talign-items: center;\n\tpadding-block: calc(2 * var(--default-grid-baseline));\n\tborder-block-start: 1px solid var(--color-border);\n}\n\n.hotkey__label {\n\tflex: 1 1 200px;\n}\n\n.hotkey__keys {\n\tflex: 1 1 auto;\n\tflex-wrap: wrap;\n\tjustify-content: end;\n\trow-gap: calc(1 * var(--default-grid-baseline));\n}\n</style>\n"],"names":["_createElementBlock","_normalizeClass","$style","_createElementVNode","_renderSlot","_openBlock","_Fragment","_renderList","_createBlock","label"],"mappings":";;;AAwCA,MAAM,mBAAmB;;;;;;;;AAJzB,UAAM,UAAU,SAAS,MAAM;AAC9B,aAAO,QAAA,QAAQ,MAAM,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,MAAM;AAAA,IAChD,CAAC;;0BAMAA,mBAWK,MAAA;AAAA,QAXA,OAAKC,eAAEC,KAAAA,OAAO,MAAM;AAAA,MAAA;QACxBC,mBAIO,QAAA;AAAA,UAJD,MAAK;AAAA,UAAQ,OAAKF,eAAEC,KAAAA,OAAO,YAAY;AAAA,QAAA;UAC5CE,WAEO,2BAFP,MAEO;AAAA,aADNC,UAAA,IAAA,GAAAL,mBAAiEM,UAAA,MAAAC,WAAhC,QAAA,OAAO,CAAzB,QAAQ,UAAK;kCAA5BC,YAAiE,OAAA;AAAA,gBAAtB,KAAK;AAAA,gBAAQ;AAAA,cAAA;;;;QAG1DL,mBAIO,QAAA;AAAA,UAJD,MAAK;AAAA,UAAc,OAAKF,eAAEC,KAAAA,OAAO,aAAa;AAAA,QAAA;UACnDE,WAEO,4BAFP,MAEO;AAAA,YADHK,gBAAAA,gBAAAA,KAAAA,SAAS,gBAAgB,GAAA,CAAA;AAAA,UAAA;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"NcHotkey-C-TYyC8X.mjs","sources":["../../src/components/NcHotkey/NcHotkey.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<script setup lang=\"ts\">\nimport type { Slot } from 'vue'\n\nimport { computed } from 'vue'\nimport NcKbd from '../NcKbd/NcKbd.vue'\n\nconst {\n\tlabel = undefined,\n\thotkey = undefined,\n} = defineProps<{\n\t/**\n\t * Label for the hotkey\n\t */\n\tlabel?: string\n\t/**\n\t * Hotkey combination string separated by space, for example, `Control Alt T` or `F2` (see `<NcKbd>` for supported key names)\n\t */\n\thotkey?: string\n}>()\n\ndefineSlots<{\n\t/**\n\t * Custom label content\n\t */\n\tdefault?: Slot\n\t/**\n\t * Custom hotkey content for an advanced hotkey layout with <NcKbd> components or other custom content\n\t */\n\thotkey?: Slot\n}>()\n\nconst symbols = computed(() => {\n\treturn hotkey?.split(/\\s+/).map((s) => s.trim())\n})\n\nconst NO_LABEL_WARNING = '⚠️ NcHotKey must have a label or slot content'\n</script>\n\n<template>\n\t<li :class=\"$style.hotkey\">\n\t\t<span role=\"term\" :class=\"$style.hotkey__keys\">\n\t\t\t<slot name=\"hotkey\">\n\t\t\t\t<NcKbd v-for=\"(symbol, index) in symbols\" :key=\"index\" :symbol />\n\t\t\t</slot>\n\t\t</span>\n\t\t<span role=\"definition\" :class=\"$style.hotkey__label\">\n\t\t\t<slot>\n\t\t\t\t{{ label || NO_LABEL_WARNING }}\n\t\t\t</slot>\n\t\t</span>\n\t</li>\n</template>\n\n<style lang=\"scss\" module>\n.hotkey {\n\t--form-element-label-offset: calc(var(--border-radius-element) + var(--default-grid-baseline));\n\tdisplay: flex;\n\tflex-direction: row-reverse;\n\talign-items: stretch;\n\tpadding-inline: var(--form-element-label-offset);\n\n\t&:first-child {\n\t\t.hotkey__label,\n\t\t.hotkey__keys {\n\t\t\tborder-block-start: none;\n\t\t}\n\t}\n\n}\n\n.hotkey__label,\n.hotkey__keys {\n\tdisplay: flex;\n\talign-items: center;\n\tpadding-block: calc(2 * var(--default-grid-baseline));\n\tborder-block-start: 1px solid var(--color-border);\n}\n\n.hotkey__label {\n\tflex: 1 1 200px;\n}\n\n.hotkey__keys {\n\tflex: 1 1 auto;\n\tflex-wrap: wrap;\n\tjustify-content: end;\n\trow-gap: calc(1 * var(--default-grid-baseline));\n}\n</style>\n"],"names":["_createElementBlock","_normalizeClass","$style","_createElementVNode","_renderSlot","_openBlock","_Fragment","_renderList","_createBlock","_createTextVNode","_toDisplayString"],"mappings":";;;AAwCA,MAAM,mBAAmB;;;;;;;;AAJzB,UAAM,UAAU,SAAS,MAAM;AAC9B,aAAO,QAAA,QAAQ,MAAM,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,MAAM;AAAA,IAChD,CAAC;;0BAMAA,mBAWK,MAAA;AAAA,QAXA,OAAKC,eAAEC,KAAAA,OAAO,MAAM;AAAA,MAAA;QACxBC,mBAIO,QAAA;AAAA,UAJD,MAAK;AAAA,UAAQ,OAAKF,eAAEC,KAAAA,OAAO,YAAY;AAAA,QAAA;UAC5CE,WAEO,2BAFP,MAEO;AAAA,aADNC,UAAA,IAAA,GAAAL,mBAAiEM,UAAA,MAAAC,WAAhC,QAAA,OAAO,CAAzB,QAAQ,UAAK;kCAA5BC,YAAiE,OAAA;AAAA,gBAAtB,KAAK;AAAA,gBAAQ;AAAA,cAAA;;;;QAG1DL,mBAIO,QAAA;AAAA,UAJD,MAAK;AAAA,UAAc,OAAKF,eAAEC,KAAAA,OAAO,aAAa;AAAA,QAAA;UACnDE,WAEO,4BAFP,MAEO;AAAA,YADHK,gBAAAC,gBAAA,QAAA,SAAS,gBAAgB,GAAA,CAAA;AAAA,UAAA;;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,6 @@
1
- import '../assets/NcHotkeyList-Braxeyah.css';
1
+ import '../assets/NcHotkeyList-BfrEkKmK.css';
2
2
  import { defineComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, toDisplayString, unref, renderSlot } from "vue";
3
- import { r as register, p as t31, a as t } from "./_l10n-BCg4udFv.mjs";
3
+ import { r as register, p as t31, a as t } from "./_l10n-CG4CuN3H.mjs";
4
4
  import { c as createElementId } from "./createElementId-DhjFt1I9.mjs";
5
5
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.mjs";
6
6
  register(t31);
@@ -17,8 +17,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  }, [
18
18
  createElementVNode("div", {
19
19
  id: labelId,
20
- class: normalizeClass([_ctx.$style.hotkeyList__heading, { "hidden-visually": !_ctx.label }])
21
- }, toDisplayString(_ctx.label || unref(t)("Keyboard shortcuts")), 3),
20
+ class: normalizeClass([_ctx.$style.hotkeyList__heading, { "hidden-visually": !__props.label }])
21
+ }, toDisplayString(__props.label || unref(t)("Keyboard shortcuts")), 3),
22
22
  createElementVNode("ul", { "aria-labelledby": labelId }, [
23
23
  renderSlot(_ctx.$slots, "default")
24
24
  ])
@@ -39,4 +39,4 @@ const NcHotkeyList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cs
39
39
  export {
40
40
  NcHotkeyList as N
41
41
  };
42
- //# sourceMappingURL=NcHotkeyList-lslhX0EJ.mjs.map
42
+ //# sourceMappingURL=NcHotkeyList-CmMgGhMr.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NcHotkeyList-CmMgGhMr.mjs","sources":["../../src/components/NcHotkeyList/NcHotkeyList.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<script setup lang=\"ts\">\nimport type { Slot } from 'vue'\n\nimport { t } from '../../l10n.ts'\nimport { createElementId } from '../../utils/createElementId.ts'\n\nconst {\n\tlabel = undefined,\n} = defineProps<{\n\t/**\n\t * Heading list label to use when there are multiple lists of shortcuts\n\t */\n\tlabel?: string\n}>()\n\ndefineSlots<{\n\t/**\n\t * Shortcuts described via <NcHotkey> components\n\t */\n\tdefault?: Slot\n}>()\n\nconst labelId = `NcHotkeyList_${createElementId()}`\n</script>\n\n<template>\n\t<div :class=\"$style.hotkeyList\">\n\t\t<div :id=\"labelId\" :class=\"[$style.hotkeyList__heading, { 'hidden-visually': !label }]\">\n\t\t\t{{ label || t('Keyboard shortcuts') }}\n\t\t</div>\n\t\t<ul :aria-labelledby=\"labelId\">\n\t\t\t<slot />\n\t\t</ul>\n\t</div>\n</template>\n\n<style module>\n.hotkeyList {\n\t--form-element-label-offset: calc(var(--border-radius-element) + var(--default-grid-baseline));\n}\n\n.hotkeyList__heading {\n\tfont-weight: var(--font-weight-heading, bold);\n\tmargin-inline: var(--form-element-label-offset);\n}\n</style>\n\n<docs>\n## General\n\nList of keyboard shortcuts for the `<NcAppSettingsShortcutsSection>`.\n\n```vue\n<template>\n\t<NcHotkeyList>\n\t\t<NcHotkey label=\"New File\" hotkey=\"Ctrl N\" />\n\t\t<NcHotkey label=\"Open File\" hotkey=\"Ctrl O\" />\n\t\t<NcHotkey label=\"Save File\" hotkey=\"Ctrl S\" />\n\t</NcHotkeyList>\n</template>\n```\n\n## Groups\n\nThe hotkey list can have an optional heading label. This is useful when there are multiple groups of shortcuts in an app with many shortcuts.\n\n```vue\n<template>\n\t<section>\n\t\t<NcHotkeyList label=\"Actions\">\n\t\t\t<NcHotkey label=\"File actions\" hotkey=\"A\" />\n\t\t\t<NcHotkey label=\"Rename\" hotkey=\"F2\" />\n\t\t\t<NcHotkey label=\"Delete\" hotkey=\"Delete\" />\n\t\t\t<NcHotkey label=\"Add or remove favorite\" hotkey=\"S\" />\n\t\t\t<NcHotkey label=\"Manage tags\" hotkey=\"T\" />\n\t\t</NcHotkeyList>\n\n\t\t<NcHotkeyList label=\"Selection\">\n\t\t\t<NcHotkey label=\"Select all files\" hotkey=\"Control A\" />\n\t\t\t<NcHotkey label=\"Deselect all\" hotkey=\"Escape\" />\n\t\t\t<NcHotkey label=\"Select or deselect\" hotkey=\"Control Space\" />\n\t\t\t<NcHotkey label=\"Select a range\" hotkey=\"Control Shift Space\" />\n\t\t</NcHotkeyList>\n\n\t\t<NcHotkeyList label=\"Navigation\">\n\t\t\t<NcHotkey label=\"Go to parent folder\" hotkey=\"Alt ArrowUp\" />\n\t\t\t<NcHotkey label=\"Go to file above\" hotkey=\"ArrowUp\" />\n\t\t\t<NcHotkey label=\"Go to file below\" hotkey=\"ArrowDown\" />\n\t\t\t<NcHotkey label=\"Go left in grid\" hotkey=\"ArrowLeft\" />\n\t\t\t<NcHotkey label=\"Go right in grid\" hotkey=\"ArrowRight\" />\n\t\t</NcHotkeyList>\n\n\t\t<NcHotkeyList label=\"View\">\n\t\t\t<NcHotkey label=\"Toggle grid view\" hotkey=\"V\" />\n\t\t\t<NcHotkey label=\"Open file sidebar\" hotkey=\"D\" />\n\t\t\t<NcHotkey label=\"Show those shortcuts\" hotkey=\"?\" />\n\t\t</NcHotkeyList>\n\t</section>\n</template>\n```\n</docs>\n"],"names":["_createElementBlock","_normalizeClass","$style","_createElementVNode","_toDisplayString","_unref","_renderSlot"],"mappings":";;;;;;;;;;;AA2BA,UAAM,UAAU,gBAAgB,gBAAA,CAAiB;;0BAIhDA,mBAOM,OAAA;AAAA,QAPA,OAAKC,eAAEC,KAAAA,OAAO,UAAU;AAAA,MAAA;QAC7BC,mBAEM,OAAA;AAAA,UAFA,IAAI;AAAA,UAAU,OAAKF,eAAA,CAAGC,KAAAA,OAAO,2CAA2C,QAAA,OAAK,CAAA;AAAA,QAAA,GAC/EE,gBAAA,QAAA,SAASC,MAAA,CAAA,EAAC,oBAAA,CAAA,GAAA,CAAA;AAAA,QAEdF,mBAEK,MAAA,EAFA,mBAAiB,WAAO;AAAA,UAC5BG,WAAQ,KAAA,QAAA,SAAA;AAAA,QAAA;;;;;;;;;;;;;;;"}
@@ -43,16 +43,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
43
43
  });
44
44
  return (_ctx, _cache) => {
45
45
  return openBlock(), createElementBlock("span", {
46
- "aria-hidden": _ctx.name ? void 0 : "true",
47
- "aria-label": _ctx.name || void 0,
46
+ "aria-hidden": __props.name ? void 0 : "true",
47
+ "aria-label": __props.name || void 0,
48
48
  class: normalizeClass(["icon-vue", {
49
- "icon-vue--directional": _ctx.directional,
50
- "icon-vue--inline": _ctx.inline
49
+ "icon-vue--directional": __props.directional,
50
+ "icon-vue--inline": __props.inline
51
51
  }]),
52
52
  role: "img"
53
53
  }, [
54
54
  !cleanSvg.value ? (openBlock(), createElementBlock("svg", _hoisted_2, [
55
- createElementVNode("path", { d: _ctx.path }, null, 8, _hoisted_3)
55
+ createElementVNode("path", { d: __props.path }, null, 8, _hoisted_3)
56
56
  ])) : (openBlock(), createElementBlock("span", {
57
57
  key: 1,
58
58
  innerHTML: cleanSvg.value
@@ -65,4 +65,4 @@ const NcIconSvgWrapper = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "
65
65
  export {
66
66
  NcIconSvgWrapper as N
67
67
  };
68
- //# sourceMappingURL=NcIconSvgWrapper-De-2-ukl.mjs.map
68
+ //# sourceMappingURL=NcIconSvgWrapper-g8ubWhoz.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"NcIconSvgWrapper-De-2-ukl.mjs","sources":["../../src/components/NcIconSvgWrapper/NcIconSvgWrapper.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<docs>\n### Description\n\nRender raw SVG string icons.\n\n### Usage within `icon`-slot\n\n```vue\n<template>\n\t<div class=\"grid\">\n\t\t<NcButton aria-label=\"Close\">\n\t\t\t<template #icon>\n\t\t\t\t<NcIconSvgWrapper :svg=\"closeSvg\" name=\"Close\" />\n\t\t\t</template>\n\t\t</NcButton>\n\t\t<NcButton aria-label=\"Settings\">\n\t\t\t<template #icon>\n\t\t\t\t<NcIconSvgWrapper :svg=\"cogSvg\" name=\"Cog\" />\n\t\t\t</template>\n\t\t</NcButton>\n\t\t<NcButton aria-label=\"Add\">\n\t\t\t<template #icon>\n\t\t\t\t<NcIconSvgWrapper :svg=\"plusSvg\" name=\"Plus\" />\n\t\t\t</template>\n\t\t</NcButton>\n\t\t<NcButton aria-label=\"Send\">\n\t\t\t<template #icon>\n\t\t\t\t<NcIconSvgWrapper :path=\"mdiSendOutline\" name=\"Send\" />\n\t\t\t</template>\n\t\t</NcButton>\n\t\t<NcButton aria-label=\"Star\">\n\t\t\t<template #icon>\n\t\t\t\t<NcIconSvgWrapper :path=\"mdiStarOutline\" name=\"Star\" />\n\t\t\t</template>\n\t\t</NcButton>\n\t</div>\n</template>\n\n<script>\nimport closeSvg from '@mdi/svg/svg/close.svg?raw'\nimport cogSvg from '@mdi/svg/svg/cog-outline.svg?raw'\nimport plusSvg from '@mdi/svg/svg/plus.svg?raw'\nimport { mdiSendOutline } from '@mdi/js'\nimport { mdiStarOutline } from '@mdi/js'\n\nexport default {\n\tsetup() {\n\t\t// These icons are static data, so you do not need to put them into `data` which will make them reactive\n\t\treturn {\n\t\t\tcloseSvg,\n\t\t\tcogSvg,\n\t\t\tplusSvg,\n\t\t\tmdiSendOutline,\n\t\t\tmdiStarOutline,\n\t\t}\n\t},\n}\n</script>\n\n<style>\n.grid {\n\tdisplay: grid;\n\tgrid-template-columns: repeat(5, max-content);\n\tgap: 10px;\n}\n</style>\n```\n\n### Inline usage inside text\n\n```vue\n<template>\n\t<p>\n\t\tThis is my <NcIconSvgWrapper inline :path=\"mdiStarOutline\" /> Favorite\n\t</p>\n</template>\n<script>\nimport { mdiStarOutline } from '@mdi/js'\n\nexport default {\n\tsetup() {\n\t\treturn {\n\t\t\tmdiStarOutline,\n\t\t}\n\t},\n}\n</script>\n```\n\n### Directional usage\n\nThe `directional` property allows to enable a language direction aware icon.\nThis icon component can be used in places where an language direction aware icon should be used,\nfor example if an arrow pointing to the left it used it often points in the wrong direction for right-to-left languages.\nIn this cases this icon can be used which will always point into the logical \"start\" direction.\n\n```vue\n<template>\n\t<div class=\"wrapper\">\n\t\t<NcButton @click=\"isRtl = !isRtl\">Toggle RTL</NcButton>\n\t\t<div class=\"directional\" :dir=\"isRtl ? 'rtl' : 'ltr'\">\n\t\t\t<NcButton alignment=\"start\">\n\t\t\t\t<template #icon>\n\t\t\t\t\t<NcIconSvgWrapper directional :path=\"mdiChevronLeft\" />\n\t\t\t\t</template>\n\t\t\t\tPrevious\n\t\t\t</NcButton>\n\t\t\t<NcButton alignment=\"end-reverse\">\n\t\t\t\t<template #icon>\n\t\t\t\t\t<NcIconSvgWrapper directional :path=\"mdiChevronRight\" />\n\t\t\t\t</template>\n\t\t\t\tNext\n\t\t\t</NcButton>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\nimport { mdiChevronLeft, mdiChevronRight } from '@mdi/js'\n\nexport default {\n\tsetup() {\n\t\treturn {\n\t\t\tmdiChevronLeft,\n\t\t\tmdiChevronRight,\n\t\t}\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tisRtl: false\n\t\t}\n\t},\n}\n</script>\n<style scoped>\n.wrapper {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: calc(2 * var(--default-grid-baseline));\n\tmax-width: 300px;\n}\n\n.directional {\n\tdisplay: flex;\n\tflex-direction: row;\n\tgap: calc(2 * var(--default-grid-baseline));\n}\n\n.directional * {\n\tflex: 1 50%;\n}\n</style>\n```\n</docs>\n\n<script setup lang=\"ts\">\nimport DOMPurify from 'dompurify'\nimport { computed, warn } from 'vue'\n\nconst props = withDefaults(defineProps<{\n\t/**\n\t * Make the icon directional, meaning it is langauge direction aware.\n\t * If the icon is placed in a right-to-left context it will be mirrored vertically.\n\t */\n\tdirectional?: boolean\n\n\t/**\n\t * Set if the icon should be used as inline content e.g. within text.\n\t * By default the icon is made a block element for use inside `icon`-slots.\n\t */\n\tinline?: boolean\n\n\t/**\n\t * Raw SVG string to render\n\t */\n\tsvg?: string\n\n\t/**\n\t * Label of the icon, used in aria-label\n\t */\n\tname?: string\n\n\t/**\n\t * Raw SVG path to render. Takes precedence over the SVG string in the `svg` prop.\n\t */\n\tpath?: string\n\n\t/**\n\t * Size of the icon to show. Only use if not using within an icon slot.\n\t * Defaults to 20px which is the Nextcloud icon size for all icon slots.\n\t */\n\tsize?: number | 'auto'\n}>(), {\n\tname: undefined,\n\tpath: '',\n\tsize: 20,\n\tsvg: '',\n})\n\n/**\n * Icon size used in CSS\n */\nconst iconSize = computed(() => typeof props.size === 'number' ? `${props.size}px` : props.size)\n\n/**\n * The sanitized SVG or undefined if path shall be used\n */\nconst cleanSvg = computed(() => {\n\tif (!props.svg || props.path) {\n\t\treturn\n\t}\n\n\tconst svg = DOMPurify.sanitize(props.svg)\n\n\tconst svgDocument = new DOMParser().parseFromString(svg, 'image/svg+xml')\n\n\tif (svgDocument.querySelector('parsererror')) {\n\t\twarn('SVG is not valid')\n\t\treturn ''\n\t}\n\n\tif (svgDocument.documentElement.id) {\n\t\tsvgDocument.documentElement.removeAttribute('id')\n\t}\n\n\treturn svgDocument.documentElement.outerHTML\n})\n</script>\n\n<template>\n\t<span\n\t\t:aria-hidden=\"name ? undefined : 'true'\"\n\t\t:aria-label=\"name || undefined\"\n\t\tclass=\"icon-vue\"\n\t\t:class=\"{\n\t\t\t'icon-vue--directional': directional,\n\t\t\t'icon-vue--inline': inline,\n\t\t}\"\n\t\trole=\"img\">\n\t\t<svg v-if=\"!cleanSvg\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">\n\t\t\t<path :d=\"path\" />\n\t\t</svg>\n\t\t<!-- eslint-disable-next-line vue/no-v-text-v-html-on-component,vue/no-v-html -->\n\t\t<span v-else v-html=\"cleanSvg\" />\n\t</span>\n</template>\n\n<style lang=\"scss\" scoped>\n.icon-vue {\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\tmin-width: var(--default-clickable-area);\n\tmin-height: var(--default-clickable-area);\n\topacity: 1;\n\n\t&#{&}--inline {\n\t\tdisplay: inline-flex !important;\n\t\tmin-width: fit-content;\n\t\tmin-height: fit-content;\n\t\tvertical-align: text-bottom;\n\t}\n\n\t// Icon svg wrapper\n\tspan {\n\t\tline-height: 0;\n\t}\n\n\t&:deep(svg) {\n\t\tfill: currentColor;\n\t\twidth: v-bind('iconSize');\n\t\theight: v-bind('iconSize');\n\t\tmax-width: v-bind('iconSize');\n\t\tmax-height: v-bind('iconSize');\n\t}\n\n\t&--directional:deep(svg:dir(rtl)) {\n\t\ttransform: scaleX(-1);\n\t}\n}\n</style>\n"],"names":["_createElementBlock","name","directional","inline","_openBlock","_createElementVNode","path"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAoKA,UAAM,QAAQ;AA2Cd,UAAM,WAAW,SAAS,MAAM,OAAO,MAAM,SAAS,WAAW,GAAG,MAAM,IAAI,OAAO,MAAM,IAAI;AAK/F,UAAM,WAAW,SAAS,MAAM;AAC/B,UAAI,CAAC,MAAM,OAAO,MAAM,MAAM;AAC7B;AAAA,MACD;AAEA,YAAM,MAAM,UAAU,SAAS,MAAM,GAAG;AAExC,YAAM,cAAc,IAAI,UAAA,EAAY,gBAAgB,KAAK,eAAe;AAExE,UAAI,YAAY,cAAc,aAAa,GAAG;AAC7C,aAAK,kBAAkB;AACvB,eAAO;AAAA,MACR;AAEA,UAAI,YAAY,gBAAgB,IAAI;AACnC,oBAAY,gBAAgB,gBAAgB,IAAI;AAAA,MACjD;AAEA,aAAO,YAAY,gBAAgB;AAAA,IACpC,CAAC;;0BAIAA,mBAcO,QAAA;AAAA,QAbL,eAAaC,KAAAA,OAAO,SAAS;AAAA,QAC7B,cAAYA,KAAAA,QAAQ;AAAA,QACrB,uBAAM,YAAU;AAAA,mCACsBC,KAAAA;AAAAA,8BAAoCC,KAAAA;AAAAA,QAAAA;QAI1E,MAAK;AAAA,MAAA;SACO,SAAA,SAAZC,aAAAJ,mBAEM,OAFN,YAEM;AAAA,UADLK,mBAAkB,QAAA,EAAX,GAAGC,KAAAA,QAAI,MAAA,GAAA,UAAA;AAAA,QAAA,oBAGfN,mBAAiC,QAAA;AAAA;UAApB,WAAQ,SAAA;AAAA,QAAA;;;;;;"}
1
+ {"version":3,"file":"NcIconSvgWrapper-g8ubWhoz.mjs","sources":["../../src/components/NcIconSvgWrapper/NcIconSvgWrapper.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<docs>\n### Description\n\nRender raw SVG string icons.\n\n### Usage within `icon`-slot\n\n```vue\n<template>\n\t<div class=\"grid\">\n\t\t<NcButton aria-label=\"Close\">\n\t\t\t<template #icon>\n\t\t\t\t<NcIconSvgWrapper :svg=\"closeSvg\" name=\"Close\" />\n\t\t\t</template>\n\t\t</NcButton>\n\t\t<NcButton aria-label=\"Settings\">\n\t\t\t<template #icon>\n\t\t\t\t<NcIconSvgWrapper :svg=\"cogSvg\" name=\"Cog\" />\n\t\t\t</template>\n\t\t</NcButton>\n\t\t<NcButton aria-label=\"Add\">\n\t\t\t<template #icon>\n\t\t\t\t<NcIconSvgWrapper :svg=\"plusSvg\" name=\"Plus\" />\n\t\t\t</template>\n\t\t</NcButton>\n\t\t<NcButton aria-label=\"Send\">\n\t\t\t<template #icon>\n\t\t\t\t<NcIconSvgWrapper :path=\"mdiSendOutline\" name=\"Send\" />\n\t\t\t</template>\n\t\t</NcButton>\n\t\t<NcButton aria-label=\"Star\">\n\t\t\t<template #icon>\n\t\t\t\t<NcIconSvgWrapper :path=\"mdiStarOutline\" name=\"Star\" />\n\t\t\t</template>\n\t\t</NcButton>\n\t</div>\n</template>\n\n<script>\nimport closeSvg from '@mdi/svg/svg/close.svg?raw'\nimport cogSvg from '@mdi/svg/svg/cog-outline.svg?raw'\nimport plusSvg from '@mdi/svg/svg/plus.svg?raw'\nimport { mdiSendOutline } from '@mdi/js'\nimport { mdiStarOutline } from '@mdi/js'\n\nexport default {\n\tsetup() {\n\t\t// These icons are static data, so you do not need to put them into `data` which will make them reactive\n\t\treturn {\n\t\t\tcloseSvg,\n\t\t\tcogSvg,\n\t\t\tplusSvg,\n\t\t\tmdiSendOutline,\n\t\t\tmdiStarOutline,\n\t\t}\n\t},\n}\n</script>\n\n<style>\n.grid {\n\tdisplay: grid;\n\tgrid-template-columns: repeat(5, max-content);\n\tgap: 10px;\n}\n</style>\n```\n\n### Inline usage inside text\n\n```vue\n<template>\n\t<p>\n\t\tThis is my <NcIconSvgWrapper inline :path=\"mdiStarOutline\" /> Favorite\n\t</p>\n</template>\n<script>\nimport { mdiStarOutline } from '@mdi/js'\n\nexport default {\n\tsetup() {\n\t\treturn {\n\t\t\tmdiStarOutline,\n\t\t}\n\t},\n}\n</script>\n```\n\n### Directional usage\n\nThe `directional` property allows to enable a language direction aware icon.\nThis icon component can be used in places where an language direction aware icon should be used,\nfor example if an arrow pointing to the left it used it often points in the wrong direction for right-to-left languages.\nIn this cases this icon can be used which will always point into the logical \"start\" direction.\n\n```vue\n<template>\n\t<div class=\"wrapper\">\n\t\t<NcButton @click=\"isRtl = !isRtl\">Toggle RTL</NcButton>\n\t\t<div class=\"directional\" :dir=\"isRtl ? 'rtl' : 'ltr'\">\n\t\t\t<NcButton alignment=\"start\">\n\t\t\t\t<template #icon>\n\t\t\t\t\t<NcIconSvgWrapper directional :path=\"mdiChevronLeft\" />\n\t\t\t\t</template>\n\t\t\t\tPrevious\n\t\t\t</NcButton>\n\t\t\t<NcButton alignment=\"end-reverse\">\n\t\t\t\t<template #icon>\n\t\t\t\t\t<NcIconSvgWrapper directional :path=\"mdiChevronRight\" />\n\t\t\t\t</template>\n\t\t\t\tNext\n\t\t\t</NcButton>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\nimport { mdiChevronLeft, mdiChevronRight } from '@mdi/js'\n\nexport default {\n\tsetup() {\n\t\treturn {\n\t\t\tmdiChevronLeft,\n\t\t\tmdiChevronRight,\n\t\t}\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tisRtl: false\n\t\t}\n\t},\n}\n</script>\n<style scoped>\n.wrapper {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: calc(2 * var(--default-grid-baseline));\n\tmax-width: 300px;\n}\n\n.directional {\n\tdisplay: flex;\n\tflex-direction: row;\n\tgap: calc(2 * var(--default-grid-baseline));\n}\n\n.directional * {\n\tflex: 1 50%;\n}\n</style>\n```\n</docs>\n\n<script setup lang=\"ts\">\nimport DOMPurify from 'dompurify'\nimport { computed, warn } from 'vue'\n\nconst props = withDefaults(defineProps<{\n\t/**\n\t * Make the icon directional, meaning it is langauge direction aware.\n\t * If the icon is placed in a right-to-left context it will be mirrored vertically.\n\t */\n\tdirectional?: boolean\n\n\t/**\n\t * Set if the icon should be used as inline content e.g. within text.\n\t * By default the icon is made a block element for use inside `icon`-slots.\n\t */\n\tinline?: boolean\n\n\t/**\n\t * Raw SVG string to render\n\t */\n\tsvg?: string\n\n\t/**\n\t * Label of the icon, used in aria-label\n\t */\n\tname?: string\n\n\t/**\n\t * Raw SVG path to render. Takes precedence over the SVG string in the `svg` prop.\n\t */\n\tpath?: string\n\n\t/**\n\t * Size of the icon to show. Only use if not using within an icon slot.\n\t * Defaults to 20px which is the Nextcloud icon size for all icon slots.\n\t */\n\tsize?: number | 'auto'\n}>(), {\n\tname: undefined,\n\tpath: '',\n\tsize: 20,\n\tsvg: '',\n})\n\n/**\n * Icon size used in CSS\n */\nconst iconSize = computed(() => typeof props.size === 'number' ? `${props.size}px` : props.size)\n\n/**\n * The sanitized SVG or undefined if path shall be used\n */\nconst cleanSvg = computed(() => {\n\tif (!props.svg || props.path) {\n\t\treturn\n\t}\n\n\tconst svg = DOMPurify.sanitize(props.svg)\n\n\tconst svgDocument = new DOMParser().parseFromString(svg, 'image/svg+xml')\n\n\tif (svgDocument.querySelector('parsererror')) {\n\t\twarn('SVG is not valid')\n\t\treturn ''\n\t}\n\n\tif (svgDocument.documentElement.id) {\n\t\tsvgDocument.documentElement.removeAttribute('id')\n\t}\n\n\treturn svgDocument.documentElement.outerHTML\n})\n</script>\n\n<template>\n\t<span\n\t\t:aria-hidden=\"name ? undefined : 'true'\"\n\t\t:aria-label=\"name || undefined\"\n\t\tclass=\"icon-vue\"\n\t\t:class=\"{\n\t\t\t'icon-vue--directional': directional,\n\t\t\t'icon-vue--inline': inline,\n\t\t}\"\n\t\trole=\"img\">\n\t\t<svg v-if=\"!cleanSvg\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">\n\t\t\t<path :d=\"path\" />\n\t\t</svg>\n\t\t<!-- eslint-disable-next-line vue/no-v-text-v-html-on-component,vue/no-v-html -->\n\t\t<span v-else v-html=\"cleanSvg\" />\n\t</span>\n</template>\n\n<style lang=\"scss\" scoped>\n.icon-vue {\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\tmin-width: var(--default-clickable-area);\n\tmin-height: var(--default-clickable-area);\n\topacity: 1;\n\n\t&#{&}--inline {\n\t\tdisplay: inline-flex !important;\n\t\tmin-width: fit-content;\n\t\tmin-height: fit-content;\n\t\tvertical-align: text-bottom;\n\t}\n\n\t// Icon svg wrapper\n\tspan {\n\t\tline-height: 0;\n\t}\n\n\t&:deep(svg) {\n\t\tfill: currentColor;\n\t\twidth: v-bind('iconSize');\n\t\theight: v-bind('iconSize');\n\t\tmax-width: v-bind('iconSize');\n\t\tmax-height: v-bind('iconSize');\n\t}\n\n\t&--directional:deep(svg:dir(rtl)) {\n\t\ttransform: scaleX(-1);\n\t}\n}\n</style>\n"],"names":["_createElementBlock","_openBlock","_createElementVNode"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAoKA,UAAM,QAAQ;AA2Cd,UAAM,WAAW,SAAS,MAAM,OAAO,MAAM,SAAS,WAAW,GAAG,MAAM,IAAI,OAAO,MAAM,IAAI;AAK/F,UAAM,WAAW,SAAS,MAAM;AAC/B,UAAI,CAAC,MAAM,OAAO,MAAM,MAAM;AAC7B;AAAA,MACD;AAEA,YAAM,MAAM,UAAU,SAAS,MAAM,GAAG;AAExC,YAAM,cAAc,IAAI,UAAA,EAAY,gBAAgB,KAAK,eAAe;AAExE,UAAI,YAAY,cAAc,aAAa,GAAG;AAC7C,aAAK,kBAAkB;AACvB,eAAO;AAAA,MACR;AAEA,UAAI,YAAY,gBAAgB,IAAI;AACnC,oBAAY,gBAAgB,gBAAgB,IAAI;AAAA,MACjD;AAEA,aAAO,YAAY,gBAAgB;AAAA,IACpC,CAAC;;0BAIAA,mBAcO,QAAA;AAAA,QAbL,eAAa,QAAA,OAAO,SAAS;AAAA,QAC7B,cAAY,QAAA,QAAQ;AAAA,QACrB,uBAAM,YAAU;AAAA,mCACsB,QAAA;AAAA,8BAAoC,QAAA;AAAA,QAAA;QAI1E,MAAK;AAAA,MAAA;SACO,SAAA,SAAZC,aAAAD,mBAEM,OAFN,YAEM;AAAA,UADLE,mBAAkB,QAAA,EAAX,GAAG,QAAA,QAAI,MAAA,GAAA,UAAA;AAAA,QAAA,oBAGfF,mBAAiC,QAAA;AAAA;UAApB,WAAQ,SAAA;AAAA,QAAA;;;;;;"}
@@ -1,6 +1,6 @@
1
- import '../assets/NcIconToggleSwitch-saytabt5.css';
1
+ import '../assets/NcIconToggleSwitch-V-AKJgPA.css';
2
2
  import { defineComponent, useCssVars, computed, openBlock, createBlock, normalizeClass } from "vue";
3
- import { N as NcIconSvgWrapper } from "./NcIconSvgWrapper-De-2-ukl.mjs";
3
+ import { N as NcIconSvgWrapper } from "./NcIconSvgWrapper-g8ubWhoz.mjs";
4
4
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.mjs";
5
5
  const svg = `<svg
6
6
  xmlns="http://www.w3.org/2000/svg"
@@ -20,8 +20,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
20
20
  },
21
21
  setup(__props) {
22
22
  useCssVars((_ctx) => ({
23
- "6bd152af": color.value,
24
- "16fd8ca9": cx.value
23
+ "v6bd152af": color.value,
24
+ "v16fd8ca9": cx.value
25
25
  }));
26
26
  const color = computed(() => __props.checked ? "var(--color-primary-element)" : "var(--color-text-maxcontrast)");
27
27
  const cx = computed(() => __props.checked ? "calc(17 / 24 * 100%)" : "calc(7 / 24 * 100%)");
@@ -29,8 +29,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
29
29
  return openBlock(), createBlock(NcIconSvgWrapper, {
30
30
  class: normalizeClass(_ctx.$style.iconToggleSwitch),
31
31
  svg,
32
- size: _ctx.size,
33
- inline: _ctx.inline
32
+ size: __props.size,
33
+ inline: __props.inline
34
34
  }, null, 8, ["class", "size", "inline"]);
35
35
  };
36
36
  }
@@ -47,4 +47,4 @@ const NcIconToggleSwitch = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModule
47
47
  export {
48
48
  NcIconToggleSwitch as N
49
49
  };
50
- //# sourceMappingURL=NcIconToggleSwitch-B7kfYo0B.mjs.map
50
+ //# sourceMappingURL=NcIconToggleSwitch-CbfRwb67.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"NcIconToggleSwitch-B7kfYo0B.mjs","sources":["../../src/components/NcIconToggleSwitch/NcIconToggleSwitch.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<script lang=\"ts\">\nconst svg = `<svg\n\txmlns=\"http://www.w3.org/2000/svg\"\n\tviewBox=\"0 0 24 12\">\n\t<path d=\"M17,1H7A5,5 0 0,0 2,6 5,5 0 0,0 7,11H17A5,5 0 0,0 22,6 5,5 0 0,0 17,1Z\" />\n\t<circle\n\t\tcy=\"6\"\n\t\tr=\"3\"\n\t\tfill=\"var(--color-main-background)\" />\n</svg>`\n</script>\n\n<script setup lang=\"ts\">\nimport { computed } from 'vue'\nimport NcIconSvgWrapper from '../NcIconSvgWrapper/NcIconSvgWrapper.vue'\n\nconst {\n\tchecked,\n\tsize = 34,\n\tinline = false,\n} = defineProps<{\n\t/** Whether the toggle switch is checked */\n\tchecked: boolean\n\t/** Size of the icon */\n\tsize?: number\n\t/** NcIconSvgWrapper's inline prop */\n\tinline?: boolean\n}>()\n\nconst color = computed(() => checked ? 'var(--color-primary-element)' : 'var(--color-text-maxcontrast)')\nconst cx = computed(() => checked ? 'calc(17 / 24 * 100%)' : 'calc(7 / 24 * 100%)')\n</script>\n\n<template>\n\t<NcIconSvgWrapper\n\t\t:class=\"$style.iconToggleSwitch\"\n\t\t:svg\n\t\t:size\n\t\t:inline />\n</template>\n\n<style module lang=\"scss\">\n.iconToggleSwitch {\n\tcolor: v-bind(color);\n\ttransition: color var(--animation-quick) ease;\n\n\tsvg {\n\t\t/* Unlike other icons, this icon is not a square */\n\t\theight: auto !important;\n\t}\n\n\tcircle {\n\t\tcx: v-bind(cx);\n\t\ttransition: cx var(--animation-quick) ease;\n\t}\n}\n</style>\n\n<docs>\nPrivate component\n</docs>\n"],"names":["_createBlock","_normalizeClass","$style","size","inline"],"mappings":";;;AAMA,MAAM,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;AA4BZ,UAAM,QAAQ,SAAS,MAAM,kBAAU,iCAAiC,+BAA+B;AACvG,UAAM,KAAK,SAAS,MAAM,QAAA,UAAU,yBAAyB,qBAAqB;;0BAIjFA,YAIW,kBAAA;AAAA,QAHT,OAAKC,eAAEC,KAAAA,OAAO,gBAAgB;AAAA,QAC9B;AAAA,QACA,MAAAC,KAAAA;AAAAA,QACA,QAAAC,KAAAA;AAAAA,MAAAA;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"NcIconToggleSwitch-CbfRwb67.mjs","sources":["../../src/components/NcIconToggleSwitch/NcIconToggleSwitch.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<script lang=\"ts\">\nconst svg = `<svg\n\txmlns=\"http://www.w3.org/2000/svg\"\n\tviewBox=\"0 0 24 12\">\n\t<path d=\"M17,1H7A5,5 0 0,0 2,6 5,5 0 0,0 7,11H17A5,5 0 0,0 22,6 5,5 0 0,0 17,1Z\" />\n\t<circle\n\t\tcy=\"6\"\n\t\tr=\"3\"\n\t\tfill=\"var(--color-main-background)\" />\n</svg>`\n</script>\n\n<script setup lang=\"ts\">\nimport { computed } from 'vue'\nimport NcIconSvgWrapper from '../NcIconSvgWrapper/NcIconSvgWrapper.vue'\n\nconst {\n\tchecked,\n\tsize = 34,\n\tinline = false,\n} = defineProps<{\n\t/** Whether the toggle switch is checked */\n\tchecked: boolean\n\t/** Size of the icon */\n\tsize?: number\n\t/** NcIconSvgWrapper's inline prop */\n\tinline?: boolean\n}>()\n\nconst color = computed(() => checked ? 'var(--color-primary-element)' : 'var(--color-text-maxcontrast)')\nconst cx = computed(() => checked ? 'calc(17 / 24 * 100%)' : 'calc(7 / 24 * 100%)')\n</script>\n\n<template>\n\t<NcIconSvgWrapper\n\t\t:class=\"$style.iconToggleSwitch\"\n\t\t:svg\n\t\t:size\n\t\t:inline />\n</template>\n\n<style module lang=\"scss\">\n.iconToggleSwitch {\n\tcolor: v-bind(color);\n\ttransition: color var(--animation-quick) ease;\n\n\tsvg {\n\t\t/* Unlike other icons, this icon is not a square */\n\t\theight: auto !important;\n\t}\n\n\tcircle {\n\t\tcx: v-bind(cx);\n\t\ttransition: cx var(--animation-quick) ease;\n\t}\n}\n</style>\n\n<docs>\nPrivate component\n</docs>\n"],"names":["_createBlock","_normalizeClass","$style"],"mappings":";;;AAMA,MAAM,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;AA4BZ,UAAM,QAAQ,SAAS,MAAM,kBAAU,iCAAiC,+BAA+B;AACvG,UAAM,KAAK,SAAS,MAAM,QAAA,UAAU,yBAAyB,qBAAqB;;0BAIjFA,YAIW,kBAAA;AAAA,QAHT,OAAKC,eAAEC,KAAAA,OAAO,gBAAgB;AAAA,QAC9B;AAAA,QACA,MAAA,QAAA;AAAA,QACA,QAAA,QAAA;AAAA,MAAA;;;;;;;;;;;;;"}
@@ -1,9 +1,10 @@
1
- import '../assets/NcInputConfirmCancel-BrdZEfr2.css';
1
+ import '../assets/NcInputConfirmCancel-BEmwC87z.css';
2
2
  import { I as IconArrowRight } from "./ArrowRight-B1ncAhus.mjs";
3
3
  import { I as IconClose } from "./Close-CuhcJnX2.mjs";
4
- import { r as register, k as t14, a as t } from "./_l10n-BCg4udFv.mjs";
5
- import { N as NcButton } from "./NcButton-lQra4n2g.mjs";
6
- import { resolveComponent, openBlock, createElementBlock, createElementVNode, withModifiers, withKeys, withDirectives, vModelText, createVNode, withCtx } from "vue";
4
+ import { r as register, k as t14, a as t } from "./_l10n-CG4CuN3H.mjs";
5
+ import { i as isLegacy34 } from "./legacy-BoqDmOCa.mjs";
6
+ import { N as NcButton } from "./NcButton-QbPBynlU.mjs";
7
+ import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, withModifiers, withKeys, withDirectives, vModelText, createVNode, withCtx } from "vue";
7
8
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.mjs";
8
9
  register(t14);
9
10
  const _sfc_main = {
@@ -13,6 +14,9 @@ const _sfc_main = {
13
14
  IconClose,
14
15
  NcButton
15
16
  },
17
+ setup() {
18
+ return { isLegacy34 };
19
+ },
16
20
  props: {
17
21
  /**
18
22
  * If this element is used on a primary element set to true for primary styling.
@@ -69,13 +73,14 @@ const _sfc_main = {
69
73
  }
70
74
  }
71
75
  };
72
- const _hoisted_1 = { class: "app-navigation-input-confirm" };
73
- const _hoisted_2 = ["placeholder"];
76
+ const _hoisted_1 = ["placeholder"];
74
77
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
75
78
  const _component_IconArrowRight = resolveComponent("IconArrowRight");
76
79
  const _component_NcButton = resolveComponent("NcButton");
77
80
  const _component_IconClose = resolveComponent("IconClose");
78
- return openBlock(), createElementBlock("div", _hoisted_1, [
81
+ return openBlock(), createElementBlock("div", {
82
+ class: normalizeClass(["app-navigation-input-confirm", { "app-navigation-input-confirm--legacy": $setup.isLegacy34 }])
83
+ }, [
79
84
  createElementVNode("form", {
80
85
  onSubmit: _cache[1] || (_cache[1] = withModifiers((...args) => $options.confirm && $options.confirm(...args), ["prevent"])),
81
86
  onKeydown: _cache[2] || (_cache[2] = withKeys(withModifiers((...args) => $options.cancel && $options.cancel(...args), ["exact", "stop", "prevent"]), ["esc"])),
@@ -88,7 +93,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
88
93
  type: "text",
89
94
  class: "app-navigation-input-confirm__input",
90
95
  placeholder: $props.placeholder
91
- }, null, 8, _hoisted_2), [
96
+ }, null, 8, _hoisted_1), [
92
97
  [vModelText, $options.valueModel]
93
98
  ]),
94
99
  createVNode(_component_NcButton, {
@@ -114,10 +119,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
114
119
  _: 1
115
120
  }, 8, ["aria-label", "variant", "onClick"])
116
121
  ], 32)
117
- ]);
122
+ ], 2);
118
123
  }
119
- const NcInputConfirmCancel = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-dd457d48"]]);
124
+ const NcInputConfirmCancel = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-a8724c7f"]]);
120
125
  export {
121
126
  NcInputConfirmCancel as N
122
127
  };
123
- //# sourceMappingURL=NcInputConfirmCancel-xoQuby4k.mjs.map
128
+ //# sourceMappingURL=NcInputConfirmCancel-B6qC3s63.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NcInputConfirmCancel-B6qC3s63.mjs","sources":["../../src/components/NcAppNavigationItem/NcInputConfirmCancel.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<docs>\n# Usage\n\n```\n<NcInputConfirmCancel @confirm=\"alert('confirm')\" @cancel=\"alert('cancel')\" />\n```\n</docs>\n\n<template>\n\t<div class=\"app-navigation-input-confirm\" :class=\"{ 'app-navigation-input-confirm--legacy': isLegacy34 }\">\n\t\t<form\n\t\t\t@submit.prevent=\"confirm\"\n\t\t\t@keydown.esc.exact.stop.prevent=\"cancel\"\n\t\t\t@click.stop.prevent>\n\t\t\t<input\n\t\t\t\tref=\"input\"\n\t\t\t\tv-model=\"valueModel\"\n\t\t\t\ttype=\"text\"\n\t\t\t\tclass=\"app-navigation-input-confirm__input\"\n\t\t\t\t:placeholder=\"placeholder\">\n\n\t\t\t<NcButton\n\t\t\t\t:aria-label=\"labelConfirm\"\n\t\t\t\ttype=\"submit\"\n\t\t\t\tvariant=\"primary\"\n\t\t\t\t@click.stop.prevent=\"confirm\">\n\t\t\t\t<template #icon>\n\t\t\t\t\t<IconArrowRight :size=\"20\" />\n\t\t\t\t</template>\n\t\t\t</NcButton>\n\n\t\t\t<NcButton\n\t\t\t\t:aria-label=\"labelCancel\"\n\t\t\t\ttype=\"reset\"\n\t\t\t\t:variant=\"primary ? 'primary' : 'tertiary'\"\n\t\t\t\t@click.stop.prevent=\"cancel\">\n\t\t\t\t<template #icon>\n\t\t\t\t\t<IconClose :size=\"20\" />\n\t\t\t\t</template>\n\t\t\t</NcButton>\n\t\t</form>\n\t</div>\n</template>\n\n<script>\nimport IconArrowRight from 'vue-material-design-icons/ArrowRight.vue'\nimport IconClose from 'vue-material-design-icons/Close.vue'\nimport { t } from '../../l10n.ts'\nimport { isLegacy34 } from '../../utils/legacy.ts'\nimport NcButton from '../NcButton/index.js'\n\nexport default {\n\tname: 'NcInputConfirmCancel',\n\n\tcomponents: {\n\t\tIconArrowRight,\n\t\tIconClose,\n\t\tNcButton,\n\t},\n\n\tsetup() {\n\t\treturn { isLegacy34 }\n\t},\n\n\tprops: {\n\t\t/**\n\t\t * If this element is used on a primary element set to true for primary styling.\n\t\t */\n\t\tprimary: {\n\t\t\tdefault: false,\n\t\t\ttype: Boolean,\n\t\t},\n\n\t\t/**\n\t\t * Placeholder of the edit field\n\t\t */\n\t\tplaceholder: {\n\t\t\tdefault: '',\n\t\t\ttype: String,\n\t\t},\n\n\t\t/**\n\t\t * The current name (model value)\n\t\t */\n\t\tmodelValue: {\n\t\t\tdefault: '',\n\t\t\ttype: String,\n\t\t},\n\t},\n\n\temits: [\n\t\t'cancel',\n\t\t'confirm',\n\t\t'update:modelValue',\n\t],\n\n\tdata() {\n\t\treturn {\n\t\t\tlabelConfirm: t('Confirm changes'),\n\t\t\tlabelCancel: t('Cancel changes'),\n\t\t}\n\t},\n\n\tcomputed: {\n\t\tvalueModel: {\n\t\t\tget() { return this.modelValue },\n\t\t\tset(newValue) {\n\t\t\t\tthis.$emit('update:modelValue', newValue)\n\t\t\t},\n\t\t},\n\t},\n\n\tmethods: {\n\t\tconfirm() {\n\t\t\tthis.$emit('confirm')\n\t\t},\n\n\t\tcancel() {\n\t\t\tthis.$emit('cancel')\n\t\t},\n\n\t\tfocusInput() {\n\t\t\tthis.$refs.input.focus()\n\t\t},\n\t},\n}\n</script>\n\n<style scoped lang=\"scss\">\n$input-height: 34px;\n$input-padding: 7px;\n$input-margin: 5px;\n\n.app-navigation-input-confirm {\n\tflex: 1 0 100%;\n\twidth: 100%;\n\n\tform {\n\t\tdisplay: flex;\n\t}\n\n\t&__input {\n\t\theight: $input-height;\n\t\tflex: 1 1 100%;\n\t\tfont-size: 100% !important;\n\t\tmargin: $input-margin !important;\n\t\tmargin-inline-start: -1px - $input-padding !important;\n\t\tpadding: $input-padding !important;\n\n\t\t&:active,\n\t\t&:focus,\n\t\t&:hover {\n\t\t\toutline: none;\n\t\t\tbackground-color: var(--color-main-background);\n\t\t\tcolor: var(--color-main-text);\n\t\t\tborder-color: var(--color-primary-element);\n\t\t}\n\t}\n\n\t// New design (NC34+): square confirm/cancel buttons with consistent gaps.\n\t&:not(&--legacy) {\n\t\tform {\n\t\t\talign-items: center;\n\t\t\tgap: $input-margin;\n\t\t\tpadding-inline-end: $input-margin;\n\t\t}\n\n\t\t.app-navigation-input-confirm__input {\n\t\t\tmargin-inline-end: 0 !important;\n\t\t}\n\n\t\t:deep(.button-vue) {\n\t\t\twidth: $input-height !important;\n\t\t\tmin-width: $input-height !important;\n\t\t\theight: $input-height !important;\n\t\t\tflex: 0 0 $input-height;\n\t\t}\n\t}\n}\n</style>\n"],"names":["_createElementBlock","_normalizeClass","_createElementVNode","_createVNode"],"mappings":";;;;;;;;AAwDA,MAAK,YAAU;AAAA,EACd,MAAM;AAAA,EAEN,YAAY;AAAA,IACX;AAAA,IACA;AAAA,IACA;AAAA;EAGD,QAAQ;AACP,WAAO,EAAE,WAAS;AAAA,EACnB;AAAA,EAEA,OAAO;AAAA;AAAA;AAAA;AAAA,IAIN,SAAS;AAAA,MACR,SAAS;AAAA,MACT,MAAM;AAAA;;;;IAMP,aAAa;AAAA,MACZ,SAAS;AAAA,MACT,MAAM;AAAA;;;;IAMP,YAAY;AAAA,MACX,SAAS;AAAA,MACT,MAAM;AAAA;;EAIR,OAAO;AAAA,IACN;AAAA,IACA;AAAA,IACA;AAAA;EAGD,OAAO;AACN,WAAO;AAAA,MACN,cAAc,EAAE,iBAAiB;AAAA,MACjC,aAAa,EAAE,gBAAgB;AAAA,IAChC;AAAA,EACD;AAAA,EAEA,UAAU;AAAA,IACT,YAAY;AAAA,MACX,MAAM;AAAE,eAAO,KAAK;AAAA,MAAW;AAAA,MAC/B,IAAI,UAAU;AACb,aAAK,MAAM,qBAAqB,QAAQ;AAAA,MACzC;AAAA;;EAIF,SAAS;AAAA,IACR,UAAU;AACT,WAAK,MAAM,SAAS;AAAA,IACrB;AAAA,IAEA,SAAS;AACR,WAAK,MAAM,QAAQ;AAAA,IACpB;AAAA,IAEA,aAAa;AACZ,WAAK,MAAM,MAAM,MAAK;AAAA,IACvB;AAAA;AAEF;;;;;;sBApHCA,mBAgCM,OAAA;AAAA,IAhCD,OAAKC,eAAA,CAAC,gCAA8B,EAAA,wCAAmD,OAAA,YAAU,CAAA;AAAA;IACrGC,mBA8BO,QAAA;AAAA,MA7BL,+DAAgB,SAAA,WAAA,SAAA,QAAA,GAAA,IAAA,GAAO,CAAA,SAAA,CAAA;AAAA,MACvB,yEAAgC,SAAA,UAAA,SAAA,OAAA,GAAA,IAAA,GAAM,CAAA,SAAA,QAAA,SAAA,CAAA,GAAA,CAAA,KAAA,CAAA;AAAA,MACtC,iDAAD,MAAA;AAAA,MAAA,GAAmB,CAAA,QAAA,SAAA,CAAA;AAAA;qBACnBA,mBAK4B,SAAA;AAAA,QAJ3B,KAAI;AAAA,qEACK,SAAA,aAAU;AAAA,QACnB,MAAK;AAAA,QACL,OAAM;AAAA,QACL,aAAa,OAAA;AAAA;qBAHL,SAAA,UAAU;AAAA;MAKpBC,YAQW,qBAAA;AAAA,QAPT,cAAY,MAAA;AAAA,QACb,MAAK;AAAA,QACL,SAAQ;AAAA,QACP,uBAAoB,SAAA,SAAO,CAAA,QAAA,SAAA,CAAA;AAAA;QACjB,cACV,MAA6B;AAAA,UAA7BA,YAA6B,2BAAA,EAAZ,MAAM,GAAE,CAAA;AAAA;;;MAI3BA,YAQW,qBAAA;AAAA,QAPT,cAAY,MAAA;AAAA,QACb,MAAK;AAAA,QACJ,SAAS,OAAA,UAAO,YAAA;AAAA,QAChB,uBAAoB,SAAA,QAAM,CAAA,QAAA,SAAA,CAAA;AAAA;QAChB,cACV,MAAwB;AAAA,UAAxBA,YAAwB,sBAAA,EAAZ,MAAM,GAAE,CAAA;AAAA;;;;;;;"}