@nextcloud/vue 8.6.0 → 8.6.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 (293) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/Components/NcActionButton.cjs +1 -1
  3. package/dist/Components/NcActionButton.mjs +1 -1
  4. package/dist/Components/NcActionButtonGroup.cjs +1 -1
  5. package/dist/Components/NcActionButtonGroup.mjs +1 -1
  6. package/dist/Components/NcActionCheckbox.cjs +1 -1
  7. package/dist/Components/NcActionCheckbox.mjs +1 -1
  8. package/dist/Components/NcActionInput.cjs +1 -1
  9. package/dist/Components/NcActionInput.mjs +1 -1
  10. package/dist/Components/NcActionLink.cjs +1 -1
  11. package/dist/Components/NcActionLink.mjs +1 -1
  12. package/dist/Components/NcActionRadio.cjs +1 -1
  13. package/dist/Components/NcActionRadio.mjs +1 -1
  14. package/dist/Components/NcActionRouter.cjs +1 -1
  15. package/dist/Components/NcActionRouter.mjs +1 -1
  16. package/dist/Components/NcActionText.cjs +1 -1
  17. package/dist/Components/NcActionText.mjs +1 -1
  18. package/dist/Components/NcActionTextEditable.cjs +1 -1
  19. package/dist/Components/NcActionTextEditable.mjs +1 -1
  20. package/dist/Components/NcActions.cjs +1 -1
  21. package/dist/Components/NcActions.mjs +1 -1
  22. package/dist/Components/NcAppContent.cjs +1 -1
  23. package/dist/Components/NcAppContent.mjs +1 -1
  24. package/dist/Components/NcAppNavigation.cjs +1 -1
  25. package/dist/Components/NcAppNavigation.mjs +1 -1
  26. package/dist/Components/NcAppNavigationCaption.cjs +1 -1
  27. package/dist/Components/NcAppNavigationCaption.mjs +1 -1
  28. package/dist/Components/NcAppNavigationItem.cjs +1 -1
  29. package/dist/Components/NcAppNavigationItem.mjs +1 -1
  30. package/dist/Components/NcAppNavigationNewItem.cjs +1 -1
  31. package/dist/Components/NcAppNavigationNewItem.mjs +1 -1
  32. package/dist/Components/NcAppNavigationSettings.cjs +1 -1
  33. package/dist/Components/NcAppNavigationSettings.mjs +1 -1
  34. package/dist/Components/NcAppNavigationToggle.cjs +1 -1
  35. package/dist/Components/NcAppNavigationToggle.mjs +1 -1
  36. package/dist/Components/NcAppSettingsDialog.cjs +1 -1
  37. package/dist/Components/NcAppSettingsDialog.mjs +1 -1
  38. package/dist/Components/NcAppSidebar.cjs +1 -1
  39. package/dist/Components/NcAppSidebar.mjs +1 -1
  40. package/dist/Components/NcAvatar.cjs +1 -1
  41. package/dist/Components/NcAvatar.mjs +1 -1
  42. package/dist/Components/NcBreadcrumb.cjs +1 -1
  43. package/dist/Components/NcBreadcrumb.mjs +1 -1
  44. package/dist/Components/NcBreadcrumbs.cjs +1 -1
  45. package/dist/Components/NcBreadcrumbs.mjs +1 -1
  46. package/dist/Components/NcCheckboxRadioSwitch.cjs +1 -1
  47. package/dist/Components/NcCheckboxRadioSwitch.mjs +1 -1
  48. package/dist/Components/NcColorPicker.cjs +1 -1
  49. package/dist/Components/NcColorPicker.mjs +1 -1
  50. package/dist/Components/NcContent.cjs +1 -1
  51. package/dist/Components/NcContent.mjs +1 -1
  52. package/dist/Components/NcDashboardWidget.cjs +1 -1
  53. package/dist/Components/NcDashboardWidget.mjs +1 -1
  54. package/dist/Components/NcDashboardWidgetItem.cjs +1 -1
  55. package/dist/Components/NcDashboardWidgetItem.mjs +1 -1
  56. package/dist/Components/NcDateTime.cjs +1 -1
  57. package/dist/Components/NcDateTime.mjs +1 -1
  58. package/dist/Components/NcDateTimePicker.cjs +2 -2
  59. package/dist/Components/NcDateTimePicker.mjs +4 -4
  60. package/dist/Components/NcDateTimePickerNative.cjs +1 -1
  61. package/dist/Components/NcDateTimePickerNative.mjs +1 -1
  62. package/dist/Components/NcEmojiPicker.cjs +1 -1
  63. package/dist/Components/NcEmojiPicker.mjs +1 -1
  64. package/dist/Components/NcListItem.cjs +1 -1
  65. package/dist/Components/NcListItem.mjs +1 -1
  66. package/dist/Components/NcListItemIcon.cjs +1 -1
  67. package/dist/Components/NcListItemIcon.mjs +1 -1
  68. package/dist/Components/NcModal.cjs +1 -1
  69. package/dist/Components/NcModal.mjs +3 -3
  70. package/dist/Components/NcPasswordField.cjs +1 -1
  71. package/dist/Components/NcPasswordField.mjs +1 -1
  72. package/dist/Components/NcRelatedResourcesPanel.cjs +1 -1
  73. package/dist/Components/NcRelatedResourcesPanel.mjs +1 -1
  74. package/dist/Components/NcRichContenteditable.cjs +1 -1
  75. package/dist/Components/NcRichContenteditable.mjs +1 -1
  76. package/dist/Components/NcRichText.cjs +1 -1
  77. package/dist/Components/NcRichText.mjs +3 -3
  78. package/dist/Components/NcSelect.cjs +1 -1
  79. package/dist/Components/NcSelect.mjs +1 -1
  80. package/dist/Components/NcSelectTags.cjs +1 -1
  81. package/dist/Components/NcSelectTags.mjs +1 -1
  82. package/dist/Components/NcSettingsInputText.cjs +1 -1
  83. package/dist/Components/NcSettingsInputText.mjs +1 -1
  84. package/dist/Components/NcSettingsSection.cjs +1 -1
  85. package/dist/Components/NcSettingsSection.mjs +1 -1
  86. package/dist/Components/NcSettingsSelectGroup.cjs +1 -1
  87. package/dist/Components/NcSettingsSelectGroup.mjs +1 -1
  88. package/dist/Components/NcTextField.cjs +1 -1
  89. package/dist/Components/NcTextField.mjs +1 -1
  90. package/dist/Components/NcTimezonePicker.cjs +1 -1
  91. package/dist/Components/NcTimezonePicker.mjs +1 -1
  92. package/dist/Components/NcUserBubble.cjs +1 -1
  93. package/dist/Components/NcUserBubble.mjs +1 -1
  94. package/dist/Components/NcUserStatusIcon.cjs +1 -1
  95. package/dist/Components/NcUserStatusIcon.mjs +1 -1
  96. package/dist/Functions/usernameToColor.cjs +1 -1
  97. package/dist/Functions/usernameToColor.mjs +1 -1
  98. package/dist/assets/{NcAppNavigationItem-n-wauJE7.css → NcAppNavigationItem-caMsw_N_.css} +14 -7
  99. package/dist/assets/{NcAppNavigationNewItem-MQBvffq9.css → NcAppNavigationNewItem-ue-H4LQY.css} +14 -7
  100. package/dist/assets/{NcDateTimePicker-RY_Hm2sB.css → NcDateTimePicker-vivOLt2Q.css} +10 -10
  101. package/dist/chunks/{GenColors-OoWIPB3C.mjs → GenColors-wNwbCHuq.mjs} +1 -1
  102. package/dist/chunks/{GenColors-OoWIPB3C.mjs.map → GenColors-wNwbCHuq.mjs.map} +1 -1
  103. package/dist/chunks/{GenColors-gc0oVgC_.cjs → GenColors-zPMSiY0e.cjs} +1 -1
  104. package/dist/chunks/{GenColors-gc0oVgC_.cjs.map → GenColors-zPMSiY0e.cjs.map} +1 -1
  105. package/dist/chunks/{NcActionButtonGroup-D49ovBAN.mjs → NcActionButtonGroup-A5Ixaw5n.mjs} +1 -1
  106. package/dist/chunks/{NcActionButtonGroup-D49ovBAN.mjs.map → NcActionButtonGroup-A5Ixaw5n.mjs.map} +1 -1
  107. package/dist/chunks/{NcActionButtonGroup-hpwif0u3.cjs → NcActionButtonGroup-HIUn669C.cjs} +1 -1
  108. package/dist/chunks/{NcActionButtonGroup-hpwif0u3.cjs.map → NcActionButtonGroup-HIUn669C.cjs.map} +1 -1
  109. package/dist/chunks/{NcActionInput-m10Amrmc.cjs → NcActionInput--MiyWKmE.cjs} +1 -1
  110. package/dist/chunks/{NcActionInput-m10Amrmc.cjs.map → NcActionInput--MiyWKmE.cjs.map} +1 -1
  111. package/dist/chunks/{NcActionInput-cyxUHqTr.mjs → NcActionInput-jQFZLsoe.mjs} +5 -5
  112. package/dist/chunks/{NcActionInput-cyxUHqTr.mjs.map → NcActionInput-jQFZLsoe.mjs.map} +1 -1
  113. package/dist/chunks/{NcActions-z-BOuDhM.cjs → NcActions-SlBohqiI.cjs} +1 -1
  114. package/dist/chunks/{NcActions-z-BOuDhM.cjs.map → NcActions-SlBohqiI.cjs.map} +1 -1
  115. package/dist/chunks/{NcActions-bAnBpPrc.mjs → NcActions-qCVw08zV.mjs} +1 -1
  116. package/dist/chunks/{NcActions-bAnBpPrc.mjs.map → NcActions-qCVw08zV.mjs.map} +1 -1
  117. package/dist/chunks/{NcAppContent-t8UhBH3s.cjs → NcAppContent-Kq5fJ7_W.cjs} +1 -1
  118. package/dist/chunks/{NcAppContent-t8UhBH3s.cjs.map → NcAppContent-Kq5fJ7_W.cjs.map} +1 -1
  119. package/dist/chunks/{NcAppContent-y9KdCdfx.mjs → NcAppContent-WBzZJh-y.mjs} +1 -1
  120. package/dist/chunks/{NcAppContent-y9KdCdfx.mjs.map → NcAppContent-WBzZJh-y.mjs.map} +1 -1
  121. package/dist/chunks/{NcAppNavigation-PLg2oNao.cjs → NcAppNavigation-U6yaDk7k.cjs} +1 -1
  122. package/dist/chunks/{NcAppNavigation-PLg2oNao.cjs.map → NcAppNavigation-U6yaDk7k.cjs.map} +1 -1
  123. package/dist/chunks/{NcAppNavigation-hiPB8YDB.mjs → NcAppNavigation-n6P3oVZv.mjs} +1 -1
  124. package/dist/chunks/{NcAppNavigation-hiPB8YDB.mjs.map → NcAppNavigation-n6P3oVZv.mjs.map} +1 -1
  125. package/dist/chunks/{NcAppNavigationCaption-q8C0HzdM.mjs → NcAppNavigationCaption-0lGP-5CR.mjs} +1 -1
  126. package/dist/chunks/{NcAppNavigationCaption-q8C0HzdM.mjs.map → NcAppNavigationCaption-0lGP-5CR.mjs.map} +1 -1
  127. package/dist/chunks/{NcAppNavigationCaption-kKsAcV3F.cjs → NcAppNavigationCaption-nEKQXQYr.cjs} +1 -1
  128. package/dist/chunks/{NcAppNavigationCaption-kKsAcV3F.cjs.map → NcAppNavigationCaption-nEKQXQYr.cjs.map} +1 -1
  129. package/dist/chunks/{NcAppNavigationItem-BTI9BVOR.cjs → NcAppNavigationItem-AdLvgSbV.cjs} +2 -2
  130. package/dist/chunks/{NcAppNavigationItem-BTI9BVOR.cjs.map → NcAppNavigationItem-AdLvgSbV.cjs.map} +1 -1
  131. package/dist/chunks/{NcAppNavigationItem-WmNVPGgg.mjs → NcAppNavigationItem-g_XncGxL.mjs} +4 -4
  132. package/dist/chunks/{NcAppNavigationItem-WmNVPGgg.mjs.map → NcAppNavigationItem-g_XncGxL.mjs.map} +1 -1
  133. package/dist/chunks/{NcAppNavigationNewItem-bEBZNF2D.cjs → NcAppNavigationNewItem-TyGHutbG.cjs} +2 -2
  134. package/dist/chunks/{NcAppNavigationNewItem-bEBZNF2D.cjs.map → NcAppNavigationNewItem-TyGHutbG.cjs.map} +1 -1
  135. package/dist/chunks/{NcAppNavigationNewItem-iJxYhc8O.mjs → NcAppNavigationNewItem-t1ST1cif.mjs} +2 -2
  136. package/dist/chunks/{NcAppNavigationNewItem-iJxYhc8O.mjs.map → NcAppNavigationNewItem-t1ST1cif.mjs.map} +1 -1
  137. package/dist/chunks/{NcAppNavigationSettings--bavO03z.mjs → NcAppNavigationSettings-DQHPDc4X.mjs} +1 -1
  138. package/dist/chunks/{NcAppNavigationSettings--bavO03z.mjs.map → NcAppNavigationSettings-DQHPDc4X.mjs.map} +1 -1
  139. package/dist/chunks/{NcAppNavigationSettings-J7w9P7fI.cjs → NcAppNavigationSettings-UKQnGAEz.cjs} +1 -1
  140. package/dist/chunks/{NcAppNavigationSettings-J7w9P7fI.cjs.map → NcAppNavigationSettings-UKQnGAEz.cjs.map} +1 -1
  141. package/dist/chunks/{NcAppNavigationToggle-8FtmM4XU.mjs → NcAppNavigationToggle-KT8eqw6r.mjs} +1 -1
  142. package/dist/chunks/{NcAppNavigationToggle-8FtmM4XU.mjs.map → NcAppNavigationToggle-KT8eqw6r.mjs.map} +1 -1
  143. package/dist/chunks/{NcAppNavigationToggle-mMhLE73x.cjs → NcAppNavigationToggle-Wz0s35Rd.cjs} +1 -1
  144. package/dist/chunks/{NcAppNavigationToggle-mMhLE73x.cjs.map → NcAppNavigationToggle-Wz0s35Rd.cjs.map} +1 -1
  145. package/dist/chunks/{NcAppSettingsDialog-FqEZ3lXG.mjs → NcAppSettingsDialog-5t3vGpRF.mjs} +1 -1
  146. package/dist/chunks/{NcAppSettingsDialog-FqEZ3lXG.mjs.map → NcAppSettingsDialog-5t3vGpRF.mjs.map} +1 -1
  147. package/dist/chunks/{NcAppSettingsDialog-tN3bu9XO.cjs → NcAppSettingsDialog-h22q7l_7.cjs} +1 -1
  148. package/dist/chunks/{NcAppSettingsDialog-tN3bu9XO.cjs.map → NcAppSettingsDialog-h22q7l_7.cjs.map} +1 -1
  149. package/dist/chunks/{NcAppSidebar-lE3w-VIf.mjs → NcAppSidebar-Wo8-p3nm.mjs} +3 -3
  150. package/dist/chunks/{NcAppSidebar-lE3w-VIf.mjs.map → NcAppSidebar-Wo8-p3nm.mjs.map} +1 -1
  151. package/dist/chunks/{NcAppSidebar-J2XzL1WT.cjs → NcAppSidebar-WyDtlgwP.cjs} +2 -2
  152. package/dist/chunks/{NcAppSidebar-J2XzL1WT.cjs.map → NcAppSidebar-WyDtlgwP.cjs.map} +1 -1
  153. package/dist/chunks/{NcAvatar-MNJp-c9e.mjs → NcAvatar-c9ryo-7h.mjs} +4 -4
  154. package/dist/chunks/{NcAvatar-MNJp-c9e.mjs.map → NcAvatar-c9ryo-7h.mjs.map} +1 -1
  155. package/dist/chunks/{NcAvatar-OWW68uV3.cjs → NcAvatar-khVnYpF2.cjs} +2 -2
  156. package/dist/chunks/{NcAvatar-OWW68uV3.cjs.map → NcAvatar-khVnYpF2.cjs.map} +1 -1
  157. package/dist/chunks/{NcBreadcrumb-4FfLWUDX.mjs → NcBreadcrumb-Ac0G-oky.mjs} +1 -1
  158. package/dist/chunks/{NcBreadcrumb-4FfLWUDX.mjs.map → NcBreadcrumb-Ac0G-oky.mjs.map} +1 -1
  159. package/dist/chunks/{NcBreadcrumb-YClz0EeP.cjs → NcBreadcrumb-SEyo99to.cjs} +1 -1
  160. package/dist/chunks/{NcBreadcrumb-YClz0EeP.cjs.map → NcBreadcrumb-SEyo99to.cjs.map} +1 -1
  161. package/dist/chunks/{NcBreadcrumbs-SPqCk2mi.cjs → NcBreadcrumbs-DXpOwLNx.cjs} +1 -1
  162. package/dist/chunks/{NcBreadcrumbs-SPqCk2mi.cjs.map → NcBreadcrumbs-DXpOwLNx.cjs.map} +1 -1
  163. package/dist/chunks/{NcBreadcrumbs-Gln66w_d.mjs → NcBreadcrumbs-YOANgGCY.mjs} +2 -2
  164. package/dist/chunks/{NcBreadcrumbs-Gln66w_d.mjs.map → NcBreadcrumbs-YOANgGCY.mjs.map} +1 -1
  165. package/dist/chunks/{NcCheckboxRadioSwitch-R-zNvd7d.cjs → NcCheckboxRadioSwitch-7pZp_rWo.cjs} +2 -2
  166. package/dist/chunks/{NcCheckboxRadioSwitch-R-zNvd7d.cjs.map → NcCheckboxRadioSwitch-7pZp_rWo.cjs.map} +1 -1
  167. package/dist/chunks/{NcCheckboxRadioSwitch-paTuPXGc.mjs → NcCheckboxRadioSwitch-PlgK1zWr.mjs} +2 -2
  168. package/dist/chunks/{NcCheckboxRadioSwitch-paTuPXGc.mjs.map → NcCheckboxRadioSwitch-PlgK1zWr.mjs.map} +1 -1
  169. package/dist/chunks/{NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-Ooje-q1U.cjs → NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-kOW4T17e.cjs} +1 -1
  170. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-kOW4T17e.cjs.map +1 -0
  171. package/dist/chunks/{NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-l6e0b34w.mjs → NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-rJ3UZLGm.mjs} +1 -1
  172. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-rJ3UZLGm.mjs.map +1 -0
  173. package/dist/chunks/{NcColorPicker-ullH7CFZ.mjs → NcColorPicker-rPobPO3M.mjs} +2 -2
  174. package/dist/chunks/{NcColorPicker-ullH7CFZ.mjs.map → NcColorPicker-rPobPO3M.mjs.map} +1 -1
  175. package/dist/chunks/{NcColorPicker-vHHSVKQS.cjs → NcColorPicker-yr9Pfeem.cjs} +1 -1
  176. package/dist/chunks/{NcColorPicker-vHHSVKQS.cjs.map → NcColorPicker-yr9Pfeem.cjs.map} +1 -1
  177. package/dist/chunks/{NcContent-M_ZUbKIL.cjs → NcContent-BdekB7Zr.cjs} +1 -1
  178. package/dist/chunks/{NcContent-M_ZUbKIL.cjs.map → NcContent-BdekB7Zr.cjs.map} +1 -1
  179. package/dist/chunks/{NcContent-RGzECysY.mjs → NcContent-EGBAB5sy.mjs} +1 -1
  180. package/dist/chunks/{NcContent-RGzECysY.mjs.map → NcContent-EGBAB5sy.mjs.map} +1 -1
  181. package/dist/chunks/{NcDashboardWidget-KMrDOCQC.mjs → NcDashboardWidget-bEnoXtKm.mjs} +3 -3
  182. package/dist/chunks/{NcDashboardWidget-KMrDOCQC.mjs.map → NcDashboardWidget-bEnoXtKm.mjs.map} +1 -1
  183. package/dist/chunks/{NcDashboardWidget-mV9UTaUo.cjs → NcDashboardWidget-zBrcpL_E.cjs} +1 -1
  184. package/dist/chunks/{NcDashboardWidget-mV9UTaUo.cjs.map → NcDashboardWidget-zBrcpL_E.cjs.map} +1 -1
  185. package/dist/chunks/{NcDashboardWidgetItem-_dvqhu7z.cjs → NcDashboardWidgetItem-LcxIx2-S.cjs} +1 -1
  186. package/dist/chunks/{NcDashboardWidgetItem-_dvqhu7z.cjs.map → NcDashboardWidgetItem-LcxIx2-S.cjs.map} +1 -1
  187. package/dist/chunks/{NcDashboardWidgetItem-Hg805JCn.mjs → NcDashboardWidgetItem-p7yyFX-b.mjs} +2 -2
  188. package/dist/chunks/{NcDashboardWidgetItem-Hg805JCn.mjs.map → NcDashboardWidgetItem-p7yyFX-b.mjs.map} +1 -1
  189. package/dist/chunks/{NcDateTime-t_L5Vf2V.mjs → NcDateTime-UCw1o96E.mjs} +1 -1
  190. package/dist/chunks/{NcDateTime-t_L5Vf2V.mjs.map → NcDateTime-UCw1o96E.mjs.map} +1 -1
  191. package/dist/chunks/{NcDateTime-TRJPnoyx.cjs → NcDateTime-hyWStpUj.cjs} +1 -1
  192. package/dist/chunks/{NcDateTime-TRJPnoyx.cjs.map → NcDateTime-hyWStpUj.cjs.map} +1 -1
  193. package/dist/chunks/{NcEmojiPicker-t9ZKXOeE.mjs → NcEmojiPicker-O0EAGlkS.mjs} +4 -4
  194. package/dist/chunks/{NcEmojiPicker-t9ZKXOeE.mjs.map → NcEmojiPicker-O0EAGlkS.mjs.map} +1 -1
  195. package/dist/chunks/{NcEmojiPicker-SiFuLrOy.cjs → NcEmojiPicker-xzt2RvDK.cjs} +1 -1
  196. package/dist/chunks/{NcEmojiPicker-SiFuLrOy.cjs.map → NcEmojiPicker-xzt2RvDK.cjs.map} +1 -1
  197. package/dist/chunks/{NcInputConfirmCancel-QI-5lWEZ.cjs → NcInputConfirmCancel-tvpFnpKT.cjs} +1 -1
  198. package/dist/chunks/{NcInputConfirmCancel-QI-5lWEZ.cjs.map → NcInputConfirmCancel-tvpFnpKT.cjs.map} +1 -1
  199. package/dist/chunks/{NcInputConfirmCancel-iPOBMuwq.mjs → NcInputConfirmCancel-z3ANO-1N.mjs} +1 -1
  200. package/dist/chunks/{NcInputConfirmCancel-iPOBMuwq.mjs.map → NcInputConfirmCancel-z3ANO-1N.mjs.map} +1 -1
  201. package/dist/chunks/{NcListItem-m2T3a1c4.mjs → NcListItem-90hXqC4C.mjs} +2 -2
  202. package/dist/chunks/{NcListItem-m2T3a1c4.mjs.map → NcListItem-90hXqC4C.mjs.map} +1 -1
  203. package/dist/chunks/{NcListItem-J1Ru_eFH.cjs → NcListItem-lqYZQhuZ.cjs} +1 -1
  204. package/dist/chunks/{NcListItem-J1Ru_eFH.cjs.map → NcListItem-lqYZQhuZ.cjs.map} +1 -1
  205. package/dist/chunks/{NcListItemIcon-aE0JNfCX.cjs → NcListItemIcon-ccke4gpg.cjs} +1 -1
  206. package/dist/chunks/{NcListItemIcon-aE0JNfCX.cjs.map → NcListItemIcon-ccke4gpg.cjs.map} +1 -1
  207. package/dist/chunks/{NcListItemIcon-RHDhF_NC.mjs → NcListItemIcon-hTbMo3-O.mjs} +1 -1
  208. package/dist/chunks/{NcListItemIcon-RHDhF_NC.mjs.map → NcListItemIcon-hTbMo3-O.mjs.map} +1 -1
  209. package/dist/chunks/{NcPasswordField-h__iqTKL.mjs → NcPasswordField-EbKN3MlL.mjs} +1 -1
  210. package/dist/chunks/{NcPasswordField-h__iqTKL.mjs.map → NcPasswordField-EbKN3MlL.mjs.map} +1 -1
  211. package/dist/chunks/{NcPasswordField-rgZThnoq.cjs → NcPasswordField-IkBZCjOy.cjs} +1 -1
  212. package/dist/chunks/{NcPasswordField-rgZThnoq.cjs.map → NcPasswordField-IkBZCjOy.cjs.map} +1 -1
  213. package/dist/chunks/{NcRelatedResourcesPanel-DCGxBHHT.mjs → NcRelatedResourcesPanel-EDvgZgjQ.mjs} +1 -1
  214. package/dist/chunks/{NcRelatedResourcesPanel-DCGxBHHT.mjs.map → NcRelatedResourcesPanel-EDvgZgjQ.mjs.map} +1 -1
  215. package/dist/chunks/{NcRelatedResourcesPanel-u1ob1njl.cjs → NcRelatedResourcesPanel-f2UeB_6X.cjs} +1 -1
  216. package/dist/chunks/{NcRelatedResourcesPanel-u1ob1njl.cjs.map → NcRelatedResourcesPanel-f2UeB_6X.cjs.map} +1 -1
  217. package/dist/chunks/{NcRichContenteditable-03_DWRDq.cjs → NcRichContenteditable-WxSgSNot.cjs} +5 -5
  218. package/dist/chunks/{NcRichContenteditable-03_DWRDq.cjs.map → NcRichContenteditable-WxSgSNot.cjs.map} +1 -1
  219. package/dist/chunks/{NcRichContenteditable-_Ac_ZEfF.mjs → NcRichContenteditable-gQh2HFSV.mjs} +6 -6
  220. package/dist/chunks/{NcRichContenteditable-_Ac_ZEfF.mjs.map → NcRichContenteditable-gQh2HFSV.mjs.map} +1 -1
  221. package/dist/chunks/{NcRichText-4Y574QZM.mjs → NcRichText-RSAcESV2.mjs} +2 -2
  222. package/dist/chunks/{NcRichText-4Y574QZM.mjs.map → NcRichText-RSAcESV2.mjs.map} +1 -1
  223. package/dist/chunks/{NcRichText-Qh1uk4U8.cjs → NcRichText-fHn-j5sa.cjs} +1 -1
  224. package/dist/chunks/{NcRichText-Qh1uk4U8.cjs.map → NcRichText-fHn-j5sa.cjs.map} +1 -1
  225. package/dist/chunks/{NcSelect-BnTLFd27.cjs → NcSelect-rMSul72R.cjs} +1 -1
  226. package/dist/chunks/{NcSelect-BnTLFd27.cjs.map → NcSelect-rMSul72R.cjs.map} +1 -1
  227. package/dist/chunks/{NcSelect-DzZqm1fn.mjs → NcSelect-vSPKKiyt.mjs} +2 -2
  228. package/dist/chunks/{NcSelect-DzZqm1fn.mjs.map → NcSelect-vSPKKiyt.mjs.map} +1 -1
  229. package/dist/chunks/{NcSelectTags-qBzjNabg.mjs → NcSelectTags-MwCs_QbM.mjs} +2 -2
  230. package/dist/chunks/{NcSelectTags-qBzjNabg.mjs.map → NcSelectTags-MwCs_QbM.mjs.map} +1 -1
  231. package/dist/chunks/{NcSelectTags-PgYBpBfS.cjs → NcSelectTags-beMN3ZsT.cjs} +1 -1
  232. package/dist/chunks/{NcSelectTags-PgYBpBfS.cjs.map → NcSelectTags-beMN3ZsT.cjs.map} +1 -1
  233. package/dist/chunks/{NcSettingsInputText-FH_6k117.cjs → NcSettingsInputText-0K3HYGJr.cjs} +1 -1
  234. package/dist/chunks/{NcSettingsInputText-FH_6k117.cjs.map → NcSettingsInputText-0K3HYGJr.cjs.map} +1 -1
  235. package/dist/chunks/{NcSettingsInputText-DROaqnIE.mjs → NcSettingsInputText-Pz6fV7At.mjs} +1 -1
  236. package/dist/chunks/{NcSettingsInputText-DROaqnIE.mjs.map → NcSettingsInputText-Pz6fV7At.mjs.map} +1 -1
  237. package/dist/chunks/{NcSettingsSection-pxZK64xe.mjs → NcSettingsSection-CRmU7GLC.mjs} +1 -1
  238. package/dist/chunks/{NcSettingsSection-pxZK64xe.mjs.map → NcSettingsSection-CRmU7GLC.mjs.map} +1 -1
  239. package/dist/chunks/{NcSettingsSection-HGZQAB56.cjs → NcSettingsSection-IbUOeZ-e.cjs} +1 -1
  240. package/dist/chunks/{NcSettingsSection-HGZQAB56.cjs.map → NcSettingsSection-IbUOeZ-e.cjs.map} +1 -1
  241. package/dist/chunks/{NcSettingsSelectGroup-NtqYZTN-.mjs → NcSettingsSelectGroup-HkS2QpZS.mjs} +2 -2
  242. package/dist/chunks/{NcSettingsSelectGroup-NtqYZTN-.mjs.map → NcSettingsSelectGroup-HkS2QpZS.mjs.map} +1 -1
  243. package/dist/chunks/{NcSettingsSelectGroup-d0wrSLXq.cjs → NcSettingsSelectGroup-msn3aYsn.cjs} +1 -1
  244. package/dist/chunks/{NcSettingsSelectGroup-d0wrSLXq.cjs.map → NcSettingsSelectGroup-msn3aYsn.cjs.map} +1 -1
  245. package/dist/chunks/{NcTextField-RnMWfagW.mjs → NcTextField-NnW31cA4.mjs} +1 -1
  246. package/dist/chunks/{NcTextField-RnMWfagW.mjs.map → NcTextField-NnW31cA4.mjs.map} +1 -1
  247. package/dist/chunks/{NcTextField-2P7HaQ-i.cjs → NcTextField-eclRKl_B.cjs} +1 -1
  248. package/dist/chunks/{NcTextField-2P7HaQ-i.cjs.map → NcTextField-eclRKl_B.cjs.map} +1 -1
  249. package/dist/chunks/{NcTimezonePicker-98XoQsZ0.cjs → NcTimezonePicker-Cp479kFL.cjs} +1 -1
  250. package/dist/chunks/{NcTimezonePicker-98XoQsZ0.cjs.map → NcTimezonePicker-Cp479kFL.cjs.map} +1 -1
  251. package/dist/chunks/{NcTimezonePicker-HvUUs7VK.mjs → NcTimezonePicker-I6wF2jeF.mjs} +2 -2
  252. package/dist/chunks/{NcTimezonePicker-HvUUs7VK.mjs.map → NcTimezonePicker-I6wF2jeF.mjs.map} +1 -1
  253. package/dist/chunks/{NcUserBubble-pCJK4AXS.cjs → NcUserBubble-6AbwSr2B.cjs} +1 -1
  254. package/dist/chunks/{NcUserBubble-pCJK4AXS.cjs.map → NcUserBubble-6AbwSr2B.cjs.map} +1 -1
  255. package/dist/chunks/{NcUserBubble-y-RdfxGU.mjs → NcUserBubble-imSUw-aP.mjs} +1 -1
  256. package/dist/chunks/{NcUserBubble-y-RdfxGU.mjs.map → NcUserBubble-imSUw-aP.mjs.map} +1 -1
  257. package/dist/chunks/{NcUserStatusIcon-iczxs1an.cjs → NcUserStatusIcon-79RsINrv.cjs} +1 -1
  258. package/dist/chunks/{NcUserStatusIcon-iczxs1an.cjs.map → NcUserStatusIcon-79RsINrv.cjs.map} +1 -1
  259. package/dist/chunks/{NcUserStatusIcon-Wwtp8zH3.mjs → NcUserStatusIcon-pRUzQidI.mjs} +1 -1
  260. package/dist/chunks/{NcUserStatusIcon-Wwtp8zH3.mjs.map → NcUserStatusIcon-pRUzQidI.mjs.map} +1 -1
  261. package/dist/chunks/{ScopeComponent-3zN8-DXa.mjs → ScopeComponent-CjAOgGnx.mjs} +3 -3
  262. package/dist/chunks/{ScopeComponent-3zN8-DXa.mjs.map → ScopeComponent-CjAOgGnx.mjs.map} +1 -1
  263. package/dist/chunks/{ScopeComponent-_Qe2Qn0v.cjs → ScopeComponent-V9SPec9g.cjs} +1 -1
  264. package/dist/chunks/{ScopeComponent-_Qe2Qn0v.cjs.map → ScopeComponent-V9SPec9g.cjs.map} +1 -1
  265. package/dist/chunks/_l10n-FmsZpnE4.mjs +66 -0
  266. package/dist/chunks/_l10n-FmsZpnE4.mjs.map +1 -0
  267. package/dist/chunks/_l10n-Od-4xzJA.cjs +64 -0
  268. package/dist/chunks/_l10n-Od-4xzJA.cjs.map +1 -0
  269. package/dist/chunks/{actionGlobal-_f-PhW84.cjs → actionGlobal-SGFis4LZ.cjs} +1 -1
  270. package/dist/chunks/{actionGlobal-ejpd0zqm.mjs.map → actionGlobal-SGFis4LZ.cjs.map} +1 -1
  271. package/dist/chunks/{actionGlobal-ejpd0zqm.mjs → actionGlobal-fRayfdEK.mjs} +1 -1
  272. package/dist/chunks/{actionGlobal-_f-PhW84.cjs.map → actionGlobal-fRayfdEK.mjs.map} +1 -1
  273. package/dist/chunks/{actionText-AoAs4kqP.mjs → actionText-bMy_49i8.mjs} +1 -1
  274. package/dist/chunks/{actionText-AoAs4kqP.mjs.map → actionText-bMy_49i8.mjs.map} +1 -1
  275. package/dist/chunks/{actionText-pGrMQtZ3.cjs → actionText-nj1gFMEY.cjs} +1 -1
  276. package/dist/chunks/{actionText-pGrMQtZ3.cjs.map → actionText-nj1gFMEY.cjs.map} +1 -1
  277. package/dist/chunks/{referencePickerModal-oI8JiWDV.mjs → referencePickerModal-FeA-PRqB.mjs} +3 -3
  278. package/dist/chunks/{referencePickerModal-oI8JiWDV.mjs.map → referencePickerModal-FeA-PRqB.mjs.map} +1 -1
  279. package/dist/chunks/{referencePickerModal-Cnscu3tI.cjs → referencePickerModal-GXRJ351Q.cjs} +1 -1
  280. package/dist/chunks/{referencePickerModal-Cnscu3tI.cjs.map → referencePickerModal-GXRJ351Q.cjs.map} +1 -1
  281. package/dist/chunks/{usernameToColor-nIJ4GOsW.cjs → usernameToColor-D5bplyWJ.cjs} +1 -1
  282. package/dist/chunks/{usernameToColor-nIJ4GOsW.cjs.map → usernameToColor-D5bplyWJ.cjs.map} +1 -1
  283. package/dist/chunks/{usernameToColor-HiPZbTLh.mjs → usernameToColor-xm3MLiw4.mjs} +1 -1
  284. package/dist/chunks/{usernameToColor-HiPZbTLh.mjs.map → usernameToColor-xm3MLiw4.mjs.map} +1 -1
  285. package/dist/index.cjs +4 -4
  286. package/dist/index.mjs +40 -40
  287. package/package.json +1 -1
  288. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-Ooje-q1U.cjs.map +0 -1
  289. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-l6e0b34w.mjs.map +0 -1
  290. package/dist/chunks/_l10n--bDJ_Qyj.mjs +0 -66
  291. package/dist/chunks/_l10n--bDJ_Qyj.mjs.map +0 -1
  292. package/dist/chunks/_l10n-mEcF7TYU.cjs +0 -64
  293. package/dist/chunks/_l10n-mEcF7TYU.cjs.map +0 -1
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: !0 }, [Symbol.toStringTag]: { value: "Module" } });
3
- const r = require("../chunks/NcRichText-Qh1uk4U8.cjs"), e = require("../chunks/referencePickerModal-Cnscu3tI.cjs");
3
+ const r = require("../chunks/NcRichText-fHn-j5sa.cjs"), e = require("../chunks/referencePickerModal-GXRJ351Q.cjs");
4
4
  /**
5
5
  * @copyright Copyright (c) 2023 Raimund Schlüßler <raimund.schluessler@mailbox.org>
6
6
  *
@@ -1,6 +1,6 @@
1
- import { N as r } from "../chunks/NcRichText-4Y574QZM.mjs";
2
- import { a as t } from "../chunks/NcRichText-4Y574QZM.mjs";
3
- import { e as c, a as d, b as o, N as n, c as g, k as m, j as P, l as k, m as f, h as N, i as R, f as l, r as u, g as h, d as v, n as W, s as p } from "../chunks/referencePickerModal-oI8JiWDV.mjs";
1
+ import { N as r } from "../chunks/NcRichText-RSAcESV2.mjs";
2
+ import { a as t } from "../chunks/NcRichText-RSAcESV2.mjs";
3
+ import { e as c, a as d, b as o, N as n, c as g, k as m, j as P, l as k, m as f, h as N, i as R, f as l, r as u, g as h, d as v, n as W, s as p } from "../chunks/referencePickerModal-FeA-PRqB.mjs";
4
4
  /**
5
5
  * @copyright Copyright (c) 2023 Raimund Schlüßler <raimund.schluessler@mailbox.org>
6
6
  *
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- const e = require("../chunks/NcSelect-BnTLFd27.cjs");
2
+ const e = require("../chunks/NcSelect-rMSul72R.cjs");
3
3
  module.exports = e.NcSelect;
@@ -1,4 +1,4 @@
1
- import { N as f } from "../chunks/NcSelect-DzZqm1fn.mjs";
1
+ import { N as f } from "../chunks/NcSelect-vSPKKiyt.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- const e = require("../chunks/NcSelectTags-PgYBpBfS.cjs");
2
+ const e = require("../chunks/NcSelectTags-beMN3ZsT.cjs");
3
3
  module.exports = e.NcSelectTags;
@@ -1,4 +1,4 @@
1
- import { N as f } from "../chunks/NcSelectTags-qBzjNabg.mjs";
1
+ import { N as f } from "../chunks/NcSelectTags-MwCs_QbM.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- const t = require("../chunks/NcSettingsInputText-FH_6k117.cjs");
2
+ const t = require("../chunks/NcSettingsInputText-0K3HYGJr.cjs");
3
3
  module.exports = t.NcSettingsInputText;
@@ -1,4 +1,4 @@
1
- import { N as f } from "../chunks/NcSettingsInputText-DROaqnIE.mjs";
1
+ import { N as f } from "../chunks/NcSettingsInputText-Pz6fV7At.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- const t = require("../chunks/NcSettingsSection-HGZQAB56.cjs");
2
+ const t = require("../chunks/NcSettingsSection-IbUOeZ-e.cjs");
3
3
  module.exports = t.NcSettingsSection;
@@ -1,4 +1,4 @@
1
- import { N as f } from "../chunks/NcSettingsSection-pxZK64xe.mjs";
1
+ import { N as f } from "../chunks/NcSettingsSection-CRmU7GLC.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: !0 }, [Symbol.toStringTag]: { value: "Module" } });
3
- const e = require("../chunks/NcSettingsSelectGroup-d0wrSLXq.cjs");
3
+ const e = require("../chunks/NcSettingsSelectGroup-msn3aYsn.cjs");
4
4
  /**
5
5
  * @copyright Copyright (c) 2019 Greta Doci <gretadoci@gmail.com>
6
6
  *
@@ -1,4 +1,4 @@
1
- import { N as e } from "../chunks/NcSettingsSelectGroup-NtqYZTN-.mjs";
1
+ import { N as e } from "../chunks/NcSettingsSelectGroup-HkS2QpZS.mjs";
2
2
  /**
3
3
  * @copyright Copyright (c) 2019 Greta Doci <gretadoci@gmail.com>
4
4
  *
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- const e = require("../chunks/NcTextField-2P7HaQ-i.cjs");
2
+ const e = require("../chunks/NcTextField-eclRKl_B.cjs");
3
3
  module.exports = e.NcTextField;
@@ -1,4 +1,4 @@
1
- import { N as f } from "../chunks/NcTextField-RnMWfagW.mjs";
1
+ import { N as f } from "../chunks/NcTextField-NnW31cA4.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- const e = require("../chunks/NcTimezonePicker-98XoQsZ0.cjs");
2
+ const e = require("../chunks/NcTimezonePicker-Cp479kFL.cjs");
3
3
  module.exports = e.NcTimezonePicker;
@@ -1,4 +1,4 @@
1
- import { N as f } from "../chunks/NcTimezonePicker-HvUUs7VK.mjs";
1
+ import { N as f } from "../chunks/NcTimezonePicker-I6wF2jeF.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- const e = require("../chunks/NcUserBubble-pCJK4AXS.cjs");
2
+ const e = require("../chunks/NcUserBubble-6AbwSr2B.cjs");
3
3
  module.exports = e.NcUserBubble;
@@ -1,4 +1,4 @@
1
- import { N as f } from "../chunks/NcUserBubble-y-RdfxGU.mjs";
1
+ import { N as f } from "../chunks/NcUserBubble-imSUw-aP.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- const s = require("../chunks/NcUserStatusIcon-iczxs1an.cjs");
2
+ const s = require("../chunks/NcUserStatusIcon-79RsINrv.cjs");
3
3
  module.exports = s.NcUserStatusIcon;
@@ -1,4 +1,4 @@
1
- import { N as f } from "../chunks/NcUserStatusIcon-Wwtp8zH3.mjs";
1
+ import { N as f } from "../chunks/NcUserStatusIcon-pRUzQidI.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- const e = require("../chunks/usernameToColor-nIJ4GOsW.cjs");
2
+ const e = require("../chunks/usernameToColor-D5bplyWJ.cjs");
3
3
  module.exports = e.usernameToColor;
@@ -1,4 +1,4 @@
1
- import { u as f } from "../chunks/usernameToColor-HiPZbTLh.mjs";
1
+ import { u as f } from "../chunks/usernameToColor-xm3MLiw4.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -75,7 +75,8 @@
75
75
  .app-navigation-entry.active[data-v-6a7129ac]:hover {
76
76
  background-color: var(--color-primary-element-hover) !important;
77
77
  }
78
- .app-navigation-entry.active .app-navigation-entry-link[data-v-6a7129ac] {
78
+ .app-navigation-entry.active .app-navigation-entry-link[data-v-6a7129ac],
79
+ .app-navigation-entry.active .app-navigation-entry-button[data-v-6a7129ac] {
79
80
  color: var(--color-primary-element-text) !important;
80
81
  }
81
82
  .app-navigation-entry[data-v-6a7129ac]:focus-within,
@@ -97,10 +98,12 @@
97
98
  .app-navigation-entry.app-navigation-entry--deleted > ul[data-v-6a7129ac] {
98
99
  display: none;
99
100
  }
100
- .app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-link[data-v-6a7129ac] {
101
+ .app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-link[data-v-6a7129ac],
102
+ .app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-button[data-v-6a7129ac] {
101
103
  padding-right: 14px;
102
104
  }
103
- .app-navigation-entry .app-navigation-entry-link[data-v-6a7129ac] {
105
+ .app-navigation-entry .app-navigation-entry-link[data-v-6a7129ac],
106
+ .app-navigation-entry .app-navigation-entry-button[data-v-6a7129ac] {
104
107
  z-index: 100;
105
108
  display: flex;
106
109
  overflow: hidden;
@@ -115,7 +118,8 @@
115
118
  background-size: 16px 16px;
116
119
  line-height: 44px;
117
120
  }
118
- .app-navigation-entry .app-navigation-entry-link .app-navigation-entry-icon[data-v-6a7129ac] {
121
+ .app-navigation-entry .app-navigation-entry-link .app-navigation-entry-icon[data-v-6a7129ac],
122
+ .app-navigation-entry .app-navigation-entry-button .app-navigation-entry-icon[data-v-6a7129ac] {
119
123
  display: flex;
120
124
  align-items: center;
121
125
  flex: 0 0 44px;
@@ -126,17 +130,20 @@
126
130
  background-repeat: no-repeat;
127
131
  background-position: 14px center;
128
132
  }
129
- .app-navigation-entry .app-navigation-entry-link .app-navigation-entry__name[data-v-6a7129ac] {
133
+ .app-navigation-entry .app-navigation-entry-link .app-navigation-entry__name[data-v-6a7129ac],
134
+ .app-navigation-entry .app-navigation-entry-button .app-navigation-entry__name[data-v-6a7129ac] {
130
135
  overflow: hidden;
131
136
  max-width: 100%;
132
137
  white-space: nowrap;
133
138
  text-overflow: ellipsis;
134
139
  }
135
- .app-navigation-entry .app-navigation-entry-link .editingContainer[data-v-6a7129ac] {
140
+ .app-navigation-entry .app-navigation-entry-link .editingContainer[data-v-6a7129ac],
141
+ .app-navigation-entry .app-navigation-entry-button .editingContainer[data-v-6a7129ac] {
136
142
  width: calc(100% - 44px);
137
143
  margin: auto;
138
144
  }
139
- .app-navigation-entry .app-navigation-entry-link[data-v-6a7129ac]:focus-visible {
145
+ .app-navigation-entry .app-navigation-entry-link[data-v-6a7129ac]:focus-visible,
146
+ .app-navigation-entry .app-navigation-entry-button[data-v-6a7129ac]:focus-visible {
140
147
  box-shadow: 0 0 0 4px var(--color-main-background);
141
148
  outline: 2px solid var(--color-main-text);
142
149
  border-radius: var(--border-radius-pill);
@@ -56,7 +56,8 @@
56
56
  .app-navigation-entry.active[data-v-8950be04]:hover {
57
57
  background-color: var(--color-primary-element-hover) !important;
58
58
  }
59
- .app-navigation-entry.active .app-navigation-entry-link[data-v-8950be04] {
59
+ .app-navigation-entry.active .app-navigation-entry-link[data-v-8950be04],
60
+ .app-navigation-entry.active .app-navigation-entry-button[data-v-8950be04] {
60
61
  color: var(--color-primary-element-text) !important;
61
62
  }
62
63
  .app-navigation-entry[data-v-8950be04]:focus-within,
@@ -78,10 +79,12 @@
78
79
  .app-navigation-entry.app-navigation-entry--deleted > ul[data-v-8950be04] {
79
80
  display: none;
80
81
  }
81
- .app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-link[data-v-8950be04] {
82
+ .app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-link[data-v-8950be04],
83
+ .app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-button[data-v-8950be04] {
82
84
  padding-right: 14px;
83
85
  }
84
- .app-navigation-entry .app-navigation-entry-link[data-v-8950be04] {
86
+ .app-navigation-entry .app-navigation-entry-link[data-v-8950be04],
87
+ .app-navigation-entry .app-navigation-entry-button[data-v-8950be04] {
85
88
  z-index: 100;
86
89
  display: flex;
87
90
  overflow: hidden;
@@ -96,7 +99,8 @@
96
99
  background-size: 16px 16px;
97
100
  line-height: 44px;
98
101
  }
99
- .app-navigation-entry .app-navigation-entry-link .app-navigation-entry-icon[data-v-8950be04] {
102
+ .app-navigation-entry .app-navigation-entry-link .app-navigation-entry-icon[data-v-8950be04],
103
+ .app-navigation-entry .app-navigation-entry-button .app-navigation-entry-icon[data-v-8950be04] {
100
104
  display: flex;
101
105
  align-items: center;
102
106
  flex: 0 0 44px;
@@ -107,17 +111,20 @@
107
111
  background-repeat: no-repeat;
108
112
  background-position: 14px center;
109
113
  }
110
- .app-navigation-entry .app-navigation-entry-link .app-navigation-entry__name[data-v-8950be04] {
114
+ .app-navigation-entry .app-navigation-entry-link .app-navigation-entry__name[data-v-8950be04],
115
+ .app-navigation-entry .app-navigation-entry-button .app-navigation-entry__name[data-v-8950be04] {
111
116
  overflow: hidden;
112
117
  max-width: 100%;
113
118
  white-space: nowrap;
114
119
  text-overflow: ellipsis;
115
120
  }
116
- .app-navigation-entry .app-navigation-entry-link .editingContainer[data-v-8950be04] {
121
+ .app-navigation-entry .app-navigation-entry-link .editingContainer[data-v-8950be04],
122
+ .app-navigation-entry .app-navigation-entry-button .editingContainer[data-v-8950be04] {
117
123
  width: calc(100% - 44px);
118
124
  margin: auto;
119
125
  }
120
- .app-navigation-entry .app-navigation-entry-link[data-v-8950be04]:focus-visible {
126
+ .app-navigation-entry .app-navigation-entry-link[data-v-8950be04]:focus-visible,
127
+ .app-navigation-entry .app-navigation-entry-button[data-v-8950be04]:focus-visible {
121
128
  box-shadow: 0 0 0 4px var(--color-main-background);
122
129
  outline: 2px solid var(--color-main-text);
123
130
  border-radius: var(--border-radius-pill);
@@ -424,32 +424,32 @@
424
424
  color: #ccc;
425
425
  background-color: #f3f3f3;
426
426
  }
427
- .mx-datepicker[data-v-88b6d4d] {
427
+ .mx-datepicker[data-v-426cbc6] {
428
428
  -webkit-user-select: none;
429
429
  user-select: none;
430
430
  color: var(--color-main-text);
431
431
  }
432
- .mx-datepicker[data-v-88b6d4d] svg {
432
+ .mx-datepicker[data-v-426cbc6] svg {
433
433
  fill: var(--color-main-text);
434
434
  }
435
- .mx-datepicker[data-v-88b6d4d] .mx-input-wrapper .mx-input {
435
+ .mx-datepicker[data-v-426cbc6] .mx-input-wrapper .mx-input {
436
436
  width: 100%;
437
437
  border: 2px solid var(--color-border-maxcontrast);
438
438
  background-color: var(--color-main-background);
439
439
  background-clip: content-box;
440
440
  }
441
- .mx-datepicker[data-v-88b6d4d] .mx-input-wrapper .mx-input:active:not(.disabled),
442
- .mx-datepicker[data-v-88b6d4d] .mx-input-wrapper .mx-input:hover:not(.disabled),
443
- .mx-datepicker[data-v-88b6d4d] .mx-input-wrapper .mx-input:focus:not(.disabled) {
441
+ .mx-datepicker[data-v-426cbc6] .mx-input-wrapper .mx-input:active:not(.disabled),
442
+ .mx-datepicker[data-v-426cbc6] .mx-input-wrapper .mx-input:hover:not(.disabled),
443
+ .mx-datepicker[data-v-426cbc6] .mx-input-wrapper .mx-input:focus:not(.disabled) {
444
444
  border-color: var(--color-primary-element);
445
445
  }
446
- .mx-datepicker[data-v-88b6d4d] .mx-input-wrapper:disabled,
447
- .mx-datepicker[data-v-88b6d4d] .mx-input-wrapper.disabled {
446
+ .mx-datepicker[data-v-426cbc6] .mx-input-wrapper:disabled,
447
+ .mx-datepicker[data-v-426cbc6] .mx-input-wrapper.disabled {
448
448
  cursor: not-allowed;
449
449
  opacity: .7;
450
450
  }
451
- .mx-datepicker[data-v-88b6d4d] .mx-input-wrapper .mx-icon-calendar,
452
- .mx-datepicker[data-v-88b6d4d] .mx-input-wrapper .mx-icon-clear {
451
+ .mx-datepicker[data-v-426cbc6] .mx-input-wrapper .mx-icon-calendar,
452
+ .mx-datepicker[data-v-426cbc6] .mx-input-wrapper .mx-icon-clear {
453
453
  color: var(--color-text-lighter);
454
454
  }
455
455
  .mx-datepicker-main {
@@ -1,4 +1,4 @@
1
- import { r as h, t as f, a as n } from "./_l10n--bDJ_Qyj.mjs";
1
+ import { r as h, t as f, a as n } from "./_l10n-FmsZpnE4.mjs";
2
2
  h(f);
3
3
  /**
4
4
  * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
@@ -1 +1 @@
1
- {"version":3,"file":"GenColors-OoWIPB3C.mjs","sources":["../../src/utils/GenColors.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n * @author Grigorii K. Shartsev <me@shgk.me>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nimport { t } from '../l10n.js'\n\nexport class Color {\n\n\t/**\n\t * @param {number} r The red value\n\t * @param {number} g The green value\n\t * @param {number} b The blue value\n\t * @param {string} [name] The name of the color\n\t */\n\tconstructor(r, g, b, name) {\n\t\tthis.r = r\n\t\tthis.g = g\n\t\tthis.b = b\n\t\tif (name) {\n\t\t\tthis.name = name\n\t\t}\n\t}\n\n\tget color() {\n\t\tconst toHex = (num) => `00${num.toString(16)}`.slice(-2)\n\t\treturn `#${toHex(this.r)}${toHex(this.g)}${toHex(this.b)}`\n\t}\n\n}\n\n/**\n * Calculate the number of steps\n *\n * @param {number} steps The number of steps\n * @param {Array} ends The ends\n * @return {Array} Array containing the number of steps per color\n */\nfunction stepCalc(steps, ends) {\n\tconst step = new Array(3)\n\tstep[0] = (ends[1].r - ends[0].r) / steps\n\tstep[1] = (ends[1].g - ends[0].g) / steps\n\tstep[2] = (ends[1].b - ends[0].b) / steps\n\treturn step\n}\n\n/**\n * Create a color palette from two colors\n *\n * @param {number} steps The number of steps the palette has\n * @param {Color} color1 The first color\n * @param {Color} color2 The second color\n * @return {Array} The created palette array\n */\nfunction mixPalette(steps, color1, color2) {\n\tconst palette = []\n\tpalette.push(color1)\n\tconst step = stepCalc(steps, [color1, color2])\n\tfor (let i = 1; i < steps; i++) {\n\t\tconst r = Math.floor(color1.r + step[0] * i)\n\t\tconst g = Math.floor(color1.g + step[1] * i)\n\t\tconst b = Math.floor(color1.b + step[2] * i)\n\t\tpalette.push(new Color(r, g, b))\n\t}\n\treturn palette\n}\n\n/**\n * Like GenColor(4) but with labels\n */\nexport const defaultPalette = [\n\tnew Color(182, 70, 157, t('Purple')),\n\tnew Color(\n\t\t191, 103, 139,\n\t\tt('Rosy brown'), // TRANSLATORS: A color name for RGB(191, 103, 139)\n\t),\n\tnew Color(\n\t\t201, 136, 121,\n\t\tt('Feldspar'), // TRANSLATORS: A color name for RGB(201, 136, 121)\n\t),\n\tnew Color(\n\t\t211, 169, 103,\n\t\tt('Whiskey'), // TRANSLATORS: A color name for RGB(211, 169, 103)\n\t),\n\tnew Color(\n\t\t221, 203, 85,\n\t\tt('Gold'),\n\t),\n\tnew Color(\n\t\t165, 184, 114,\n\t\tt('Olivine'), // TRANSLATORS: A color name for RGB(165, 184, 114)\n\t),\n\tnew Color(\n\t\t110, 166, 143,\n\t\tt('Acapulco'), // TRANSLATORS: A color name for RGB(110, 166, 143)\n\t),\n\tnew Color(\n\t\t55, 148, 172,\n\t\tt('Boston Blue'), // TRANSLATORS: A color name for RGB(55, 148, 172)\n\t),\n\tnew Color(\n\t\t0, 130, 201,\n\t\tt('Nextcloud blue'),\n\t),\n\tnew Color(\n\t\t45, 115, 190,\n\t\tt('Mariner'), // TRANSLATORS: A color name for RGB(45, 115, 190)\n\t),\n\tnew Color(\n\t\t91, 100, 179,\n\t\tt('Blue Violet'), // TRANSLATORS: A color name for RGB(91, 100, 179)\n\t),\n\tnew Color(\n\t\t136, 85, 168,\n\t\tt('Deluge'), // TRANSLATORS: A color name for RGB(136, 85, 168)\n\t),\n]\n\n/**\n * Generate colors from the official nextcloud color\n * You can provide how many colors you want (multiplied by 3)\n * if step = 6\n * 3 colors * 6 will result in 18 generated colors\n *\n * @param {number} [steps] Number of steps to go from a color to another\n * @return {object[]}\n */\nexport function GenColors(steps) {\n\tif (!steps) {\n\t\tsteps = 6\n\t}\n\n\tif (steps === 4) {\n\t\treturn defaultPalette\n\t}\n\n\tconst red = new Color(182, 70, 157, t('Purple'))\n\tconst yellow = new Color(221, 203, 85, t('Gold'))\n\tconst blue = new Color(0, 130, 201, t('Nextcloud blue'))\n\n\tconst palette1 = mixPalette(steps, red, yellow)\n\tconst palette2 = mixPalette(steps, yellow, blue)\n\tconst palette3 = mixPalette(steps, blue, red)\n\n\treturn palette1.concat(palette2).concat(palette3)\n}\n"],"names":["Color","r","g","b","name","toHex","num","stepCalc","steps","ends","step","mixPalette","color1","color2","palette","i","defaultPalette","t","GenColors","red","yellow","blue","palette1","palette2","palette3"],"mappings":";;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAyBO,MAAMA,EAAM;AAAA;AAAA;AAAA;AAAA;AAAA;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KAAKiB,EAAE,QAAQ,CAAC,GACzCG,IAAS,IAAIpB,EAAM,KAAK,KAAK,IAAIiB,EAAE,MAAM,CAAC,GAC1CI,IAAO,IAAIrB,EAAM,GAAG,KAAK,KAAKiB,EAAE,gBAAgB,CAAC,GAEjDK,IAAWX,EAAWH,GAAOW,GAAKC,CAAM,GACxCG,IAAWZ,EAAWH,GAAOY,GAAQC,CAAI,GACzCG,IAAWb,EAAWH,GAAOa,GAAMF,CAAG;AAE5C,SAAOG,EAAS,OAAOC,CAAQ,EAAE,OAAOC,CAAQ;AACjD;"}
1
+ {"version":3,"file":"GenColors-wNwbCHuq.mjs","sources":["../../src/utils/GenColors.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n * @author Grigorii K. Shartsev <me@shgk.me>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nimport { t } from '../l10n.js'\n\nexport class Color {\n\n\t/**\n\t * @param {number} r The red value\n\t * @param {number} g The green value\n\t * @param {number} b The blue value\n\t * @param {string} [name] The name of the color\n\t */\n\tconstructor(r, g, b, name) {\n\t\tthis.r = r\n\t\tthis.g = g\n\t\tthis.b = b\n\t\tif (name) {\n\t\t\tthis.name = name\n\t\t}\n\t}\n\n\tget color() {\n\t\tconst toHex = (num) => `00${num.toString(16)}`.slice(-2)\n\t\treturn `#${toHex(this.r)}${toHex(this.g)}${toHex(this.b)}`\n\t}\n\n}\n\n/**\n * Calculate the number of steps\n *\n * @param {number} steps The number of steps\n * @param {Array} ends The ends\n * @return {Array} Array containing the number of steps per color\n */\nfunction stepCalc(steps, ends) {\n\tconst step = new Array(3)\n\tstep[0] = (ends[1].r - ends[0].r) / steps\n\tstep[1] = (ends[1].g - ends[0].g) / steps\n\tstep[2] = (ends[1].b - ends[0].b) / steps\n\treturn step\n}\n\n/**\n * Create a color palette from two colors\n *\n * @param {number} steps The number of steps the palette has\n * @param {Color} color1 The first color\n * @param {Color} color2 The second color\n * @return {Array} The created palette array\n */\nfunction mixPalette(steps, color1, color2) {\n\tconst palette = []\n\tpalette.push(color1)\n\tconst step = stepCalc(steps, [color1, color2])\n\tfor (let i = 1; i < steps; i++) {\n\t\tconst r = Math.floor(color1.r + step[0] * i)\n\t\tconst g = Math.floor(color1.g + step[1] * i)\n\t\tconst b = Math.floor(color1.b + step[2] * i)\n\t\tpalette.push(new Color(r, g, b))\n\t}\n\treturn palette\n}\n\n/**\n * Like GenColor(4) but with labels\n */\nexport const defaultPalette = [\n\tnew Color(182, 70, 157, t('Purple')),\n\tnew Color(\n\t\t191, 103, 139,\n\t\tt('Rosy brown'), // TRANSLATORS: A color name for RGB(191, 103, 139)\n\t),\n\tnew Color(\n\t\t201, 136, 121,\n\t\tt('Feldspar'), // TRANSLATORS: A color name for RGB(201, 136, 121)\n\t),\n\tnew Color(\n\t\t211, 169, 103,\n\t\tt('Whiskey'), // TRANSLATORS: A color name for RGB(211, 169, 103)\n\t),\n\tnew Color(\n\t\t221, 203, 85,\n\t\tt('Gold'),\n\t),\n\tnew Color(\n\t\t165, 184, 114,\n\t\tt('Olivine'), // TRANSLATORS: A color name for RGB(165, 184, 114)\n\t),\n\tnew Color(\n\t\t110, 166, 143,\n\t\tt('Acapulco'), // TRANSLATORS: A color name for RGB(110, 166, 143)\n\t),\n\tnew Color(\n\t\t55, 148, 172,\n\t\tt('Boston Blue'), // TRANSLATORS: A color name for RGB(55, 148, 172)\n\t),\n\tnew Color(\n\t\t0, 130, 201,\n\t\tt('Nextcloud blue'),\n\t),\n\tnew Color(\n\t\t45, 115, 190,\n\t\tt('Mariner'), // TRANSLATORS: A color name for RGB(45, 115, 190)\n\t),\n\tnew Color(\n\t\t91, 100, 179,\n\t\tt('Blue Violet'), // TRANSLATORS: A color name for RGB(91, 100, 179)\n\t),\n\tnew Color(\n\t\t136, 85, 168,\n\t\tt('Deluge'), // TRANSLATORS: A color name for RGB(136, 85, 168)\n\t),\n]\n\n/**\n * Generate colors from the official nextcloud color\n * You can provide how many colors you want (multiplied by 3)\n * if step = 6\n * 3 colors * 6 will result in 18 generated colors\n *\n * @param {number} [steps] Number of steps to go from a color to another\n * @return {object[]}\n */\nexport function GenColors(steps) {\n\tif (!steps) {\n\t\tsteps = 6\n\t}\n\n\tif (steps === 4) {\n\t\treturn defaultPalette\n\t}\n\n\tconst red = new Color(182, 70, 157, t('Purple'))\n\tconst yellow = new Color(221, 203, 85, t('Gold'))\n\tconst blue = new Color(0, 130, 201, t('Nextcloud blue'))\n\n\tconst palette1 = mixPalette(steps, red, yellow)\n\tconst palette2 = mixPalette(steps, yellow, blue)\n\tconst palette3 = mixPalette(steps, blue, red)\n\n\treturn palette1.concat(palette2).concat(palette3)\n}\n"],"names":["Color","r","g","b","name","toHex","num","stepCalc","steps","ends","step","mixPalette","color1","color2","palette","i","defaultPalette","t","GenColors","red","yellow","blue","palette1","palette2","palette3"],"mappings":";;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAyBO,MAAMA,EAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQlB,YAAYC,GAAGC,GAAGC,GAAGC,GAAM;AAC1B,SAAK,IAAIH,GACT,KAAK,IAAIC,GACT,KAAK,IAAIC,GACLC,MACH,KAAK,OAAOA;AAAA,EAEb;AAAA,EAED,IAAI,QAAQ;A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IAAWX,EAAWH,GAAOW,GAAKC,CAAM,GACxCG,IAAWZ,EAAWH,GAAOY,GAAQC,CAAI,GACzCG,IAAWb,EAAWH,GAAOa,GAAMF,CAAG;AAE5C,SAAOG,EAAS,OAAOC,CAAQ,EAAE,OAAOC,CAAQ;AACjD;"}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const e = require("./_l10n-mEcF7TYU.cjs");
2
+ const e = require("./_l10n-Od-4xzJA.cjs");
3
3
  e.register(e.t3);
4
4
  /**
5
5
  * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
@@ -1 +1 @@
1
- {"version":3,"file":"GenColors-gc0oVgC_.cjs","sources":["../../src/utils/GenColors.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n * @author Grigorii K. Shartsev <me@shgk.me>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nimport { t } from '../l10n.js'\n\nexport class Color {\n\n\t/**\n\t * @param {number} r The red value\n\t * @param {number} g The green value\n\t * @param {number} b The blue value\n\t * @param {string} [name] The name of the color\n\t */\n\tconstructor(r, g, b, name) {\n\t\tthis.r = r\n\t\tthis.g = g\n\t\tthis.b = b\n\t\tif (name) {\n\t\t\tthis.name = name\n\t\t}\n\t}\n\n\tget color() {\n\t\tconst toHex = (num) => `00${num.toString(16)}`.slice(-2)\n\t\treturn `#${toHex(this.r)}${toHex(this.g)}${toHex(this.b)}`\n\t}\n\n}\n\n/**\n * Calculate the number of steps\n *\n * @param {number} steps The number of steps\n * @param {Array} ends The ends\n * @return {Array} Array containing the number of steps per color\n */\nfunction stepCalc(steps, ends) {\n\tconst step = new Array(3)\n\tstep[0] = (ends[1].r - ends[0].r) / steps\n\tstep[1] = (ends[1].g - ends[0].g) / steps\n\tstep[2] = (ends[1].b - ends[0].b) / steps\n\treturn step\n}\n\n/**\n * Create a color palette from two colors\n *\n * @param {number} steps The number of steps the palette has\n * @param {Color} color1 The first color\n * @param {Color} color2 The second color\n * @return {Array} The created palette array\n */\nfunction mixPalette(steps, color1, color2) {\n\tconst palette = []\n\tpalette.push(color1)\n\tconst step = stepCalc(steps, [color1, color2])\n\tfor (let i = 1; i < steps; i++) {\n\t\tconst r = Math.floor(color1.r + step[0] * i)\n\t\tconst g = Math.floor(color1.g + step[1] * i)\n\t\tconst b = Math.floor(color1.b + step[2] * i)\n\t\tpalette.push(new Color(r, g, b))\n\t}\n\treturn palette\n}\n\n/**\n * Like GenColor(4) but with labels\n */\nexport const defaultPalette = [\n\tnew Color(182, 70, 157, t('Purple')),\n\tnew Color(\n\t\t191, 103, 139,\n\t\tt('Rosy brown'), // TRANSLATORS: A color name for RGB(191, 103, 139)\n\t),\n\tnew Color(\n\t\t201, 136, 121,\n\t\tt('Feldspar'), // TRANSLATORS: A color name for RGB(201, 136, 121)\n\t),\n\tnew Color(\n\t\t211, 169, 103,\n\t\tt('Whiskey'), // TRANSLATORS: A color name for RGB(211, 169, 103)\n\t),\n\tnew Color(\n\t\t221, 203, 85,\n\t\tt('Gold'),\n\t),\n\tnew Color(\n\t\t165, 184, 114,\n\t\tt('Olivine'), // TRANSLATORS: A color name for RGB(165, 184, 114)\n\t),\n\tnew Color(\n\t\t110, 166, 143,\n\t\tt('Acapulco'), // TRANSLATORS: A color name for RGB(110, 166, 143)\n\t),\n\tnew Color(\n\t\t55, 148, 172,\n\t\tt('Boston Blue'), // TRANSLATORS: A color name for RGB(55, 148, 172)\n\t),\n\tnew Color(\n\t\t0, 130, 201,\n\t\tt('Nextcloud blue'),\n\t),\n\tnew Color(\n\t\t45, 115, 190,\n\t\tt('Mariner'), // TRANSLATORS: A color name for RGB(45, 115, 190)\n\t),\n\tnew Color(\n\t\t91, 100, 179,\n\t\tt('Blue Violet'), // TRANSLATORS: A color name for RGB(91, 100, 179)\n\t),\n\tnew Color(\n\t\t136, 85, 168,\n\t\tt('Deluge'), // TRANSLATORS: A color name for RGB(136, 85, 168)\n\t),\n]\n\n/**\n * Generate colors from the official nextcloud color\n * You can provide how many colors you want (multiplied by 3)\n * if step = 6\n * 3 colors * 6 will result in 18 generated colors\n *\n * @param {number} [steps] Number of steps to go from a color to another\n * @return {object[]}\n */\nexport function GenColors(steps) {\n\tif (!steps) {\n\t\tsteps = 6\n\t}\n\n\tif (steps === 4) {\n\t\treturn defaultPalette\n\t}\n\n\tconst red = new Color(182, 70, 157, t('Purple'))\n\tconst yellow = new Color(221, 203, 85, t('Gold'))\n\tconst blue = new Color(0, 130, 201, t('Nextcloud blue'))\n\n\tconst palette1 = mixPalette(steps, red, yellow)\n\tconst palette2 = mixPalette(steps, yellow, blue)\n\tconst palette3 = mixPalette(steps, blue, red)\n\n\treturn palette1.concat(palette2).concat(palette3)\n}\n"],"names":["Color","r","g","b","name","toHex","num","stepCalc","steps","ends","step","mixPalette","color1","color2","palette","i","defaultPalette","t","GenColors","red","yellow","blue","palette1","palette2","palette3"],"mappings":";;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAyBO,MAAMA,EAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQlB,YAAYC,GAAGC,GAAGC,GAAGC,GAAM;AAC1B,SAAK,IAAIH,GACT,KAAK,IAAIC,GACT,KAAK,IAAIC,GACLC,MACH,KAAK,OAAOA;AAAA,EAEb;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M,KAAK,KAAK,IAAIiB,EAAAA,EAAE,MAAM,CAAC,GAC1CI,IAAO,IAAIrB,EAAM,GAAG,KAAK,KAAKiB,EAAAA,EAAE,gBAAgB,CAAC,GAEjDK,IAAWX,EAAWH,GAAOW,GAAKC,CAAM,GACxCG,IAAWZ,EAAWH,GAAOY,GAAQC,CAAI,GACzCG,IAAWb,EAAWH,GAAOa,GAAMF,CAAG;AAE5C,SAAOG,EAAS,OAAOC,CAAQ,EAAE,OAAOC,CAAQ;AACjD;;;;"}
1
+ {"version":3,"file":"GenColors-zPMSiY0e.cjs","sources":["../../src/utils/GenColors.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n * @author Grigorii K. Shartsev <me@shgk.me>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nimport { t } from '../l10n.js'\n\nexport class Color {\n\n\t/**\n\t * @param {number} r The red value\n\t * @param {number} g The green value\n\t * @param {number} b The blue value\n\t * @param {string} [name] The name of the color\n\t */\n\tconstructor(r, g, b, name) {\n\t\tthis.r = r\n\t\tthis.g = g\n\t\tthis.b = b\n\t\tif (name) {\n\t\t\tthis.name = name\n\t\t}\n\t}\n\n\tget color() {\n\t\tconst toHex = (num) => `00${num.toString(16)}`.slice(-2)\n\t\treturn `#${toHex(this.r)}${toHex(this.g)}${toHex(this.b)}`\n\t}\n\n}\n\n/**\n * Calculate the number of steps\n *\n * @param {number} steps The number of steps\n * @param {Array} ends The ends\n * @return {Array} Array containing the number of steps per color\n */\nfunction stepCalc(steps, ends) {\n\tconst step = new Array(3)\n\tstep[0] = (ends[1].r - ends[0].r) / steps\n\tstep[1] = (ends[1].g - ends[0].g) / steps\n\tstep[2] = (ends[1].b - ends[0].b) / steps\n\treturn step\n}\n\n/**\n * Create a color palette from two colors\n *\n * @param {number} steps The number of steps the palette has\n * @param {Color} color1 The first color\n * @param {Color} color2 The second color\n * @return {Array} The created palette array\n */\nfunction mixPalette(steps, color1, color2) {\n\tconst palette = []\n\tpalette.push(color1)\n\tconst step = stepCalc(steps, [color1, color2])\n\tfor (let i = 1; i < steps; i++) {\n\t\tconst r = Math.floor(color1.r + step[0] * i)\n\t\tconst g = Math.floor(color1.g + step[1] * i)\n\t\tconst b = Math.floor(color1.b + step[2] * i)\n\t\tpalette.push(new Color(r, g, b))\n\t}\n\treturn palette\n}\n\n/**\n * Like GenColor(4) but with labels\n */\nexport const defaultPalette = [\n\tnew Color(182, 70, 157, t('Purple')),\n\tnew Color(\n\t\t191, 103, 139,\n\t\tt('Rosy brown'), // TRANSLATORS: A color name for RGB(191, 103, 139)\n\t),\n\tnew Color(\n\t\t201, 136, 121,\n\t\tt('Feldspar'), // TRANSLATORS: A color name for RGB(201, 136, 121)\n\t),\n\tnew Color(\n\t\t211, 169, 103,\n\t\tt('Whiskey'), // TRANSLATORS: A color name for RGB(211, 169, 103)\n\t),\n\tnew Color(\n\t\t221, 203, 85,\n\t\tt('Gold'),\n\t),\n\tnew Color(\n\t\t165, 184, 114,\n\t\tt('Olivine'), // TRANSLATORS: A color name for RGB(165, 184, 114)\n\t),\n\tnew Color(\n\t\t110, 166, 143,\n\t\tt('Acapulco'), // TRANSLATORS: A color name for RGB(110, 166, 143)\n\t),\n\tnew Color(\n\t\t55, 148, 172,\n\t\tt('Boston Blue'), // TRANSLATORS: A color name for RGB(55, 148, 172)\n\t),\n\tnew Color(\n\t\t0, 130, 201,\n\t\tt('Nextcloud blue'),\n\t),\n\tnew Color(\n\t\t45, 115, 190,\n\t\tt('Mariner'), // TRANSLATORS: A color name for RGB(45, 115, 190)\n\t),\n\tnew Color(\n\t\t91, 100, 179,\n\t\tt('Blue Violet'), // TRANSLATORS: A color name for RGB(91, 100, 179)\n\t),\n\tnew Color(\n\t\t136, 85, 168,\n\t\tt('Deluge'), // TRANSLATORS: A color name for RGB(136, 85, 168)\n\t),\n]\n\n/**\n * Generate colors from the official nextcloud color\n * You can provide how many colors you want (multiplied by 3)\n * if step = 6\n * 3 colors * 6 will result in 18 generated colors\n *\n * @param {number} [steps] Number of steps to go from a color to another\n * @return {object[]}\n */\nexport function GenColors(steps) {\n\tif (!steps) {\n\t\tsteps = 6\n\t}\n\n\tif (steps === 4) {\n\t\treturn defaultPalette\n\t}\n\n\tconst red = new Color(182, 70, 157, t('Purple'))\n\tconst yellow = new Color(221, 203, 85, t('Gold'))\n\tconst blue = new Color(0, 130, 201, t('Nextcloud blue'))\n\n\tconst palette1 = mixPalette(steps, red, yellow)\n\tconst palette2 = mixPalette(steps, yellow, blue)\n\tconst palette3 = mixPalette(steps, blue, red)\n\n\treturn palette1.concat(palette2).concat(palette3)\n}\n"],"names":["Color","r","g","b","name","toHex","num","stepCalc","steps","ends","step","mixPalette","color1","color2","palette","i","defaultPalette","t","GenColors","red","yellow","blue","palette1","palette2","palette3"],"mappings":";;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAyBO,MAAMA,EAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQlB,YAAYC,GAAGC,GAAGC,GAAGC,GAAM;AAC1B,SAAK,IAAIH,GACT,KAAK,IAAIC,GACT,KAAK,IAAIC,GACLC,MACH,KAAK,OAAOA;AAAA,EAEb;AAAA,EAED,IAAI,QAAQ;AACX,UAAMC,IAAQ,CAACC,MAAQ,KA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AO,IAAIrB,EAAM,GAAG,KAAK,KAAKiB,EAAAA,EAAE,gBAAgB,CAAC,GAEjDK,IAAWX,EAAWH,GAAOW,GAAKC,CAAM,GACxCG,IAAWZ,EAAWH,GAAOY,GAAQC,CAAI,GACzCG,IAAWb,EAAWH,GAAOa,GAAMF,CAAG;AAE5C,SAAOG,EAAS,OAAOC,CAAQ,EAAE,OAAOC,CAAQ;AACjD;;;;"}
@@ -1,7 +1,7 @@
1
1
  import '../assets/NcActionButtonGroup-oXobVIqQ.css';
2
2
  import { defineComponent as t } from "vue";
3
3
  import { G as r } from "./GenRandomId-VodkdWbp.mjs";
4
- import { r as a, a as o } from "./_l10n--bDJ_Qyj.mjs";
4
+ import { r as a, a as o } from "./_l10n-FmsZpnE4.mjs";
5
5
  import { n as s } from "./_plugin-vue2_normalizer-u6G_3nkj.mjs";
6
6
  a();
7
7
  const i = t({
@@ -1 +1 @@
1
- {"version":3,"file":"NcActionButtonGroup-D49ovBAN.mjs","sources":["../../src/components/NcActionButtonGroup/NcActionButtonGroup.vue"],"sourcesContent":["<!--\n - @copyright Copyright (c) 2022\n -\n - @license AGPL-3.0-or-later\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n -->\n\n<docs>\nThis component is made to be used inside of the [NcActions](#NcActions) component slots,\nto group buttons as one visual action, like for text alignment.\nThis should be used sparingly for accessibility.\n\n```vue\n<template>\n\t<div style=\"display: flex; align-items: center;\">\n\t\t<NcActions>\n\t\t\t<NcActionButtonGroup name=\"Text alignment\">\n\t\t\t\t<NcActionButton aria-label=\"Align left\"\n\t\t\t\t\t:model-value.sync=\"alignment\"\n\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\tvalue=\"l\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<AlignLeft :size=\"20\" />\n\t\t\t\t\t</template>\n\t\t\t\t</NcActionButton>\n\t\t\t\t<NcActionButton aria-label=\"Align center\"\n\t\t\t\t\t:model-value.sync=\"alignment\"\n\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\tvalue=\"c\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<AlignCenter :size=\"20\" />\n\t\t\t\t\t</template>\n\t\t\t\t</NcActionButton>\n\t\t\t\t<NcActionButton aria-label=\"Align right\"\n\t\t\t\t\t:model-value.sync=\"alignment\"\n\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\tvalue=\"r\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<AlignRight :size=\"20\" />\n\t\t\t\t\t</template>\n\t\t\t\t</NcActionButton>\n\t\t\t</NcActionButtonGroup>\n\t\t\t<NcActionButton :close-after-click=\"true\"\n\t\t\t\t@click=\"showMessage('Some other action')\">\n\t\t\t\t<template #icon>\n\t\t\t\t\t<Plus :size=\"20\" />\n\t\t\t\t</template>\n\t\t\t\tSome other action\n\t\t\t</NcActionButton>\n\t\t</NcActions>\n\t</div>\n</template>\n<script>\nimport AlignLeft from 'vue-material-design-icons/AlignHorizontalLeft'\nimport AlignRight from 'vue-material-design-icons/AlignHorizontalRight'\nimport AlignCenter from 'vue-material-design-icons/AlignHorizontalCenter'\nimport Plus from 'vue-material-design-icons/Plus'\n\nexport default {\n\tcomponents: {\n\t\tAlignLeft,\n\t\tAlignRight,\n\t\tAlignCenter,\n\t\tPlus,\n\t},\n\tdata() {\n\t\treturn { alignment: 'l' }\n\t},\n\tmethods: {\n\t\tshowMessage(msg) {\n\t\t\talert(msg)\n\t\t},\n\t},\n}\n</script>\n```\n</docs>\n\n<template>\n\t<li class=\"nc-button-group-base\" :role=\"isInSemanticMenu && 'presentation'\">\n\t\t<div v-if=\"name\" :id=\"labelId\">\n\t\t\t{{ name }}\n\t\t</div>\n\t\t<ul class=\"nc-button-group-content\" role=\"group\" :aria-labelledby=\"name ? labelId : undefined\">\n\t\t\t<slot />\n\t\t</ul>\n\t</li>\n</template>\n\n<script>\nimport { defineComponent } from 'vue'\nimport GenRandomId from '../../utils/GenRandomId.js'\nimport { t } from '../../l10n.js'\n\n/**\n * A wrapper for allowing inlining NcAction components within the action menu\n */\nexport default defineComponent({\n\tname: 'NcActionButtonGroup',\n\n\tinject: {\n\t\tisInSemanticMenu: {\n\t\t\tfrom: 'NcActions:isSemanticMenu',\n\t\t\tdefault: false,\n\t\t},\n\t},\n\n\tprops: {\n\t\t/**\n\t\t * Optional text shown below the button group\n\t\t */\n\t\tname: {\n\t\t\trequired: false,\n\t\t\tdefault: undefined,\n\t\t\ttype: String,\n\t\t},\n\t},\n\n\tsetup() {\n\t\treturn {\n\t\t\tlabelId: `nc-action-button-group-${GenRandomId()}`,\n\t\t}\n\t},\n\n\tmethods: {\n\t\tt,\n\t},\n})\n</script>\n\n<style lang=\"scss\">\n.nc-button-group-base {\n\t>div {\n\t\ttext-align: center;\n\t\tcolor: var(--color-text-maxcontrast);\n\t}\n\n\tul.nc-button-group-content {\n\t\tdisplay: flex;\n\t\tgap: 4px; // required for the focus-visible outline\n\t\tjustify-content: space-between;\n\t\tli {\n\t\t\tflex: 1 1;\n\t\t}\n\n\t\t.action-button {\n\t\t\t// Fix action buttons beeing shifted to the left (right padding)\n\t\t\tpadding: 0 !important;\n\t\t\twidth: 100%;\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: center;\n\n\t\t\t&.action-button--active {\n\t\t\t\tbackground-color: var(--color-primary-element);\n\t\t\t\tborder-radius: var(--border-radius-large);\n\t\t\t\tcolor: var(--color-primary-element-text);\n\n\t\t\t\t&:hover, &:focus, &:focus-within {\n\t\t\t\t\tbackground-color: var(--color-primary-element-hover);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t.action-button__pressed-icon {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n}\n</style>\n"],"names":["_sfc_main","defineComponent","GenRandomId","t"],"mappings":";;;;;AA8GA,MAAAA,IAAAC,EAAA;AAAA,EACA,MAAA;AAAA,EAEA,QAAA;AAAA,IACA,kBAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA,IAIA,MAAA;AAAA,MACA,UAAA;AAAA,MACA,SAAA;AAAA,MACA,MAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,QAAA;AACA,WAAA;AAAA,MACA,SAAA,0BAAAC,EAAA,CAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,SAAA;AAAA,IACA,GAAAC;AAAA,EACA;AACA,CAAA;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"NcActionButtonGroup-A5Ixaw5n.mjs","sources":["../../src/components/NcActionButtonGroup/NcActionButtonGroup.vue"],"sourcesContent":["<!--\n - @copyright Copyright (c) 2022\n -\n - @license AGPL-3.0-or-later\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n -->\n\n<docs>\nThis component is made to be used inside of the [NcActions](#NcActions) component slots,\nto group buttons as one visual action, like for text alignment.\nThis should be used sparingly for accessibility.\n\n```vue\n<template>\n\t<div style=\"display: flex; align-items: center;\">\n\t\t<NcActions>\n\t\t\t<NcActionButtonGroup name=\"Text alignment\">\n\t\t\t\t<NcActionButton aria-label=\"Align left\"\n\t\t\t\t\t:model-value.sync=\"alignment\"\n\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\tvalue=\"l\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<AlignLeft :size=\"20\" />\n\t\t\t\t\t</template>\n\t\t\t\t</NcActionButton>\n\t\t\t\t<NcActionButton aria-label=\"Align center\"\n\t\t\t\t\t:model-value.sync=\"alignment\"\n\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\tvalue=\"c\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<AlignCenter :size=\"20\" />\n\t\t\t\t\t</template>\n\t\t\t\t</NcActionButton>\n\t\t\t\t<NcActionButton aria-label=\"Align right\"\n\t\t\t\t\t:model-value.sync=\"alignment\"\n\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\tvalue=\"r\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<AlignRight :size=\"20\" />\n\t\t\t\t\t</template>\n\t\t\t\t</NcActionButton>\n\t\t\t</NcActionButtonGroup>\n\t\t\t<NcActionButton :close-after-click=\"true\"\n\t\t\t\t@click=\"showMessage('Some other action')\">\n\t\t\t\t<template #icon>\n\t\t\t\t\t<Plus :size=\"20\" />\n\t\t\t\t</template>\n\t\t\t\tSome other action\n\t\t\t</NcActionButton>\n\t\t</NcActions>\n\t</div>\n</template>\n<script>\nimport AlignLeft from 'vue-material-design-icons/AlignHorizontalLeft'\nimport AlignRight from 'vue-material-design-icons/AlignHorizontalRight'\nimport AlignCenter from 'vue-material-design-icons/AlignHorizontalCenter'\nimport Plus from 'vue-material-design-icons/Plus'\n\nexport default {\n\tcomponents: {\n\t\tAlignLeft,\n\t\tAlignRight,\n\t\tAlignCenter,\n\t\tPlus,\n\t},\n\tdata() {\n\t\treturn { alignment: 'l' }\n\t},\n\tmethods: {\n\t\tshowMessage(msg) {\n\t\t\talert(msg)\n\t\t},\n\t},\n}\n</script>\n```\n</docs>\n\n<template>\n\t<li class=\"nc-button-group-base\" :role=\"isInSemanticMenu && 'presentation'\">\n\t\t<div v-if=\"name\" :id=\"labelId\">\n\t\t\t{{ name }}\n\t\t</div>\n\t\t<ul class=\"nc-button-group-content\" role=\"group\" :aria-labelledby=\"name ? labelId : undefined\">\n\t\t\t<slot />\n\t\t</ul>\n\t</li>\n</template>\n\n<script>\nimport { defineComponent } from 'vue'\nimport GenRandomId from '../../utils/GenRandomId.js'\nimport { t } from '../../l10n.js'\n\n/**\n * A wrapper for allowing inlining NcAction components within the action menu\n */\nexport default defineComponent({\n\tname: 'NcActionButtonGroup',\n\n\tinject: {\n\t\tisInSemanticMenu: {\n\t\t\tfrom: 'NcActions:isSemanticMenu',\n\t\t\tdefault: false,\n\t\t},\n\t},\n\n\tprops: {\n\t\t/**\n\t\t * Optional text shown below the button group\n\t\t */\n\t\tname: {\n\t\t\trequired: false,\n\t\t\tdefault: undefined,\n\t\t\ttype: String,\n\t\t},\n\t},\n\n\tsetup() {\n\t\treturn {\n\t\t\tlabelId: `nc-action-button-group-${GenRandomId()}`,\n\t\t}\n\t},\n\n\tmethods: {\n\t\tt,\n\t},\n})\n</script>\n\n<style lang=\"scss\">\n.nc-button-group-base {\n\t>div {\n\t\ttext-align: center;\n\t\tcolor: var(--color-text-maxcontrast);\n\t}\n\n\tul.nc-button-group-content {\n\t\tdisplay: flex;\n\t\tgap: 4px; // required for the focus-visible outline\n\t\tjustify-content: space-between;\n\t\tli {\n\t\t\tflex: 1 1;\n\t\t}\n\n\t\t.action-button {\n\t\t\t// Fix action buttons beeing shifted to the left (right padding)\n\t\t\tpadding: 0 !important;\n\t\t\twidth: 100%;\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: center;\n\n\t\t\t&.action-button--active {\n\t\t\t\tbackground-color: var(--color-primary-element);\n\t\t\t\tborder-radius: var(--border-radius-large);\n\t\t\t\tcolor: var(--color-primary-element-text);\n\n\t\t\t\t&:hover, &:focus, &:focus-within {\n\t\t\t\t\tbackground-color: var(--color-primary-element-hover);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t.action-button__pressed-icon {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n}\n</style>\n"],"names":["_sfc_main","defineComponent","GenRandomId","t"],"mappings":";;;;;AA8GA,MAAAA,IAAAC,EAAA;AAAA,EACA,MAAA;AAAA,EAEA,QAAA;AAAA,IACA,kBAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA,IAIA,MAAA;AAAA,MACA,UAAA;AAAA,MACA,SAAA;AAAA,MACA,MAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,QAAA;AACA,WAAA;AAAA,MACA,SAAA,0BAAAC,EAAA,CAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,SAAA;AAAA,IACA,GAAAC;AAAA,EACA;AACA,CAAA;;;;;;;;;;;;;;;"}
@@ -1,6 +1,6 @@
1
1
  require('../assets/NcActionButtonGroup-oXobVIqQ.css');
2
2
  "use strict";
3
- const r = require("vue"), o = require("./GenRandomId-ULxaMkkr.cjs"), t = require("./_l10n-mEcF7TYU.cjs"), s = require("./_plugin-vue2_normalizer-DCfUPqga.cjs");
3
+ const r = require("vue"), o = require("./GenRandomId-ULxaMkkr.cjs"), t = require("./_l10n-Od-4xzJA.cjs"), s = require("./_plugin-vue2_normalizer-DCfUPqga.cjs");
4
4
  t.register();
5
5
  const a = r.defineComponent({
6
6
  name: "NcActionButtonGroup",
@@ -1 +1 @@
1
- {"version":3,"file":"NcActionButtonGroup-hpwif0u3.cjs","sources":["../../src/components/NcActionButtonGroup/NcActionButtonGroup.vue"],"sourcesContent":["<!--\n - @copyright Copyright (c) 2022\n -\n - @license AGPL-3.0-or-later\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n -->\n\n<docs>\nThis component is made to be used inside of the [NcActions](#NcActions) component slots,\nto group buttons as one visual action, like for text alignment.\nThis should be used sparingly for accessibility.\n\n```vue\n<template>\n\t<div style=\"display: flex; align-items: center;\">\n\t\t<NcActions>\n\t\t\t<NcActionButtonGroup name=\"Text alignment\">\n\t\t\t\t<NcActionButton aria-label=\"Align left\"\n\t\t\t\t\t:model-value.sync=\"alignment\"\n\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\tvalue=\"l\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<AlignLeft :size=\"20\" />\n\t\t\t\t\t</template>\n\t\t\t\t</NcActionButton>\n\t\t\t\t<NcActionButton aria-label=\"Align center\"\n\t\t\t\t\t:model-value.sync=\"alignment\"\n\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\tvalue=\"c\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<AlignCenter :size=\"20\" />\n\t\t\t\t\t</template>\n\t\t\t\t</NcActionButton>\n\t\t\t\t<NcActionButton aria-label=\"Align right\"\n\t\t\t\t\t:model-value.sync=\"alignment\"\n\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\tvalue=\"r\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<AlignRight :size=\"20\" />\n\t\t\t\t\t</template>\n\t\t\t\t</NcActionButton>\n\t\t\t</NcActionButtonGroup>\n\t\t\t<NcActionButton :close-after-click=\"true\"\n\t\t\t\t@click=\"showMessage('Some other action')\">\n\t\t\t\t<template #icon>\n\t\t\t\t\t<Plus :size=\"20\" />\n\t\t\t\t</template>\n\t\t\t\tSome other action\n\t\t\t</NcActionButton>\n\t\t</NcActions>\n\t</div>\n</template>\n<script>\nimport AlignLeft from 'vue-material-design-icons/AlignHorizontalLeft'\nimport AlignRight from 'vue-material-design-icons/AlignHorizontalRight'\nimport AlignCenter from 'vue-material-design-icons/AlignHorizontalCenter'\nimport Plus from 'vue-material-design-icons/Plus'\n\nexport default {\n\tcomponents: {\n\t\tAlignLeft,\n\t\tAlignRight,\n\t\tAlignCenter,\n\t\tPlus,\n\t},\n\tdata() {\n\t\treturn { alignment: 'l' }\n\t},\n\tmethods: {\n\t\tshowMessage(msg) {\n\t\t\talert(msg)\n\t\t},\n\t},\n}\n</script>\n```\n</docs>\n\n<template>\n\t<li class=\"nc-button-group-base\" :role=\"isInSemanticMenu && 'presentation'\">\n\t\t<div v-if=\"name\" :id=\"labelId\">\n\t\t\t{{ name }}\n\t\t</div>\n\t\t<ul class=\"nc-button-group-content\" role=\"group\" :aria-labelledby=\"name ? labelId : undefined\">\n\t\t\t<slot />\n\t\t</ul>\n\t</li>\n</template>\n\n<script>\nimport { defineComponent } from 'vue'\nimport GenRandomId from '../../utils/GenRandomId.js'\nimport { t } from '../../l10n.js'\n\n/**\n * A wrapper for allowing inlining NcAction components within the action menu\n */\nexport default defineComponent({\n\tname: 'NcActionButtonGroup',\n\n\tinject: {\n\t\tisInSemanticMenu: {\n\t\t\tfrom: 'NcActions:isSemanticMenu',\n\t\t\tdefault: false,\n\t\t},\n\t},\n\n\tprops: {\n\t\t/**\n\t\t * Optional text shown below the button group\n\t\t */\n\t\tname: {\n\t\t\trequired: false,\n\t\t\tdefault: undefined,\n\t\t\ttype: String,\n\t\t},\n\t},\n\n\tsetup() {\n\t\treturn {\n\t\t\tlabelId: `nc-action-button-group-${GenRandomId()}`,\n\t\t}\n\t},\n\n\tmethods: {\n\t\tt,\n\t},\n})\n</script>\n\n<style lang=\"scss\">\n.nc-button-group-base {\n\t>div {\n\t\ttext-align: center;\n\t\tcolor: var(--color-text-maxcontrast);\n\t}\n\n\tul.nc-button-group-content {\n\t\tdisplay: flex;\n\t\tgap: 4px; // required for the focus-visible outline\n\t\tjustify-content: space-between;\n\t\tli {\n\t\t\tflex: 1 1;\n\t\t}\n\n\t\t.action-button {\n\t\t\t// Fix action buttons beeing shifted to the left (right padding)\n\t\t\tpadding: 0 !important;\n\t\t\twidth: 100%;\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: center;\n\n\t\t\t&.action-button--active {\n\t\t\t\tbackground-color: var(--color-primary-element);\n\t\t\t\tborder-radius: var(--border-radius-large);\n\t\t\t\tcolor: var(--color-primary-element-text);\n\n\t\t\t\t&:hover, &:focus, &:focus-within {\n\t\t\t\t\tbackground-color: var(--color-primary-element-hover);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t.action-button__pressed-icon {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n}\n</style>\n"],"names":["_sfc_main","defineComponent","GenRandomId","t"],"mappings":";;;AA8GA,MAAAA,IAAAC,EAAAA,gBAAA;AAAA,EACA,MAAA;AAAA,EAEA,QAAA;AAAA,IACA,kBAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA,IAIA,MAAA;AAAA,MACA,UAAA;AAAA,MACA,SAAA;AAAA,MACA,MAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,QAAA;AACA,WAAA;AAAA,MACA,SAAA,0BAAAC,EAAA,YAAA,CAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,SAAA;AAAA,IACA,GAAAC,EAAA;AAAA,EACA;AACA,CAAA;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"NcActionButtonGroup-HIUn669C.cjs","sources":["../../src/components/NcActionButtonGroup/NcActionButtonGroup.vue"],"sourcesContent":["<!--\n - @copyright Copyright (c) 2022\n -\n - @license AGPL-3.0-or-later\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n -->\n\n<docs>\nThis component is made to be used inside of the [NcActions](#NcActions) component slots,\nto group buttons as one visual action, like for text alignment.\nThis should be used sparingly for accessibility.\n\n```vue\n<template>\n\t<div style=\"display: flex; align-items: center;\">\n\t\t<NcActions>\n\t\t\t<NcActionButtonGroup name=\"Text alignment\">\n\t\t\t\t<NcActionButton aria-label=\"Align left\"\n\t\t\t\t\t:model-value.sync=\"alignment\"\n\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\tvalue=\"l\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<AlignLeft :size=\"20\" />\n\t\t\t\t\t</template>\n\t\t\t\t</NcActionButton>\n\t\t\t\t<NcActionButton aria-label=\"Align center\"\n\t\t\t\t\t:model-value.sync=\"alignment\"\n\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\tvalue=\"c\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<AlignCenter :size=\"20\" />\n\t\t\t\t\t</template>\n\t\t\t\t</NcActionButton>\n\t\t\t\t<NcActionButton aria-label=\"Align right\"\n\t\t\t\t\t:model-value.sync=\"alignment\"\n\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\tvalue=\"r\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<AlignRight :size=\"20\" />\n\t\t\t\t\t</template>\n\t\t\t\t</NcActionButton>\n\t\t\t</NcActionButtonGroup>\n\t\t\t<NcActionButton :close-after-click=\"true\"\n\t\t\t\t@click=\"showMessage('Some other action')\">\n\t\t\t\t<template #icon>\n\t\t\t\t\t<Plus :size=\"20\" />\n\t\t\t\t</template>\n\t\t\t\tSome other action\n\t\t\t</NcActionButton>\n\t\t</NcActions>\n\t</div>\n</template>\n<script>\nimport AlignLeft from 'vue-material-design-icons/AlignHorizontalLeft'\nimport AlignRight from 'vue-material-design-icons/AlignHorizontalRight'\nimport AlignCenter from 'vue-material-design-icons/AlignHorizontalCenter'\nimport Plus from 'vue-material-design-icons/Plus'\n\nexport default {\n\tcomponents: {\n\t\tAlignLeft,\n\t\tAlignRight,\n\t\tAlignCenter,\n\t\tPlus,\n\t},\n\tdata() {\n\t\treturn { alignment: 'l' }\n\t},\n\tmethods: {\n\t\tshowMessage(msg) {\n\t\t\talert(msg)\n\t\t},\n\t},\n}\n</script>\n```\n</docs>\n\n<template>\n\t<li class=\"nc-button-group-base\" :role=\"isInSemanticMenu && 'presentation'\">\n\t\t<div v-if=\"name\" :id=\"labelId\">\n\t\t\t{{ name }}\n\t\t</div>\n\t\t<ul class=\"nc-button-group-content\" role=\"group\" :aria-labelledby=\"name ? labelId : undefined\">\n\t\t\t<slot />\n\t\t</ul>\n\t</li>\n</template>\n\n<script>\nimport { defineComponent } from 'vue'\nimport GenRandomId from '../../utils/GenRandomId.js'\nimport { t } from '../../l10n.js'\n\n/**\n * A wrapper for allowing inlining NcAction components within the action menu\n */\nexport default defineComponent({\n\tname: 'NcActionButtonGroup',\n\n\tinject: {\n\t\tisInSemanticMenu: {\n\t\t\tfrom: 'NcActions:isSemanticMenu',\n\t\t\tdefault: false,\n\t\t},\n\t},\n\n\tprops: {\n\t\t/**\n\t\t * Optional text shown below the button group\n\t\t */\n\t\tname: {\n\t\t\trequired: false,\n\t\t\tdefault: undefined,\n\t\t\ttype: String,\n\t\t},\n\t},\n\n\tsetup() {\n\t\treturn {\n\t\t\tlabelId: `nc-action-button-group-${GenRandomId()}`,\n\t\t}\n\t},\n\n\tmethods: {\n\t\tt,\n\t},\n})\n</script>\n\n<style lang=\"scss\">\n.nc-button-group-base {\n\t>div {\n\t\ttext-align: center;\n\t\tcolor: var(--color-text-maxcontrast);\n\t}\n\n\tul.nc-button-group-content {\n\t\tdisplay: flex;\n\t\tgap: 4px; // required for the focus-visible outline\n\t\tjustify-content: space-between;\n\t\tli {\n\t\t\tflex: 1 1;\n\t\t}\n\n\t\t.action-button {\n\t\t\t// Fix action buttons beeing shifted to the left (right padding)\n\t\t\tpadding: 0 !important;\n\t\t\twidth: 100%;\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: center;\n\n\t\t\t&.action-button--active {\n\t\t\t\tbackground-color: var(--color-primary-element);\n\t\t\t\tborder-radius: var(--border-radius-large);\n\t\t\t\tcolor: var(--color-primary-element-text);\n\n\t\t\t\t&:hover, &:focus, &:focus-within {\n\t\t\t\t\tbackground-color: var(--color-primary-element-hover);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t.action-button__pressed-icon {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n}\n</style>\n"],"names":["_sfc_main","defineComponent","GenRandomId","t"],"mappings":";;;AA8GA,MAAAA,IAAAC,EAAAA,gBAAA;AAAA,EACA,MAAA;AAAA,EAEA,QAAA;AAAA,IACA,kBAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA,IAIA,MAAA;AAAA,MACA,UAAA;AAAA,MACA,SAAA;AAAA,MACA,MAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,QAAA;AACA,WAAA;AAAA,MACA,SAAA,0BAAAC,EAAA,YAAA,CAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,SAAA;AAAA,IACA,GAAAC,EAAA;AAAA,EACA;AACA,CAAA;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,6 @@
1
1
  require('../assets/NcActionInput-4zSvDkWm.css');
2
2
  "use strict";
3
- const n = require("../Components/NcDateTimePicker.cjs"), r = require("../Components/NcDateTimePickerNative.cjs"), c = require("./NcPasswordField-rgZThnoq.cjs"), o = require("./NcSelect-BnTLFd27.cjs"), u = require("./NcTextField-2P7HaQ-i.cjs"), d = require("./actionGlobal-_f-PhW84.cjs"), s = require("./GenRandomId-ULxaMkkr.cjs"), l = require("./_l10n-mEcF7TYU.cjs"), p = require("./_plugin-vue2_normalizer-DCfUPqga.cjs");
3
+ const n = require("../Components/NcDateTimePicker.cjs"), r = require("../Components/NcDateTimePickerNative.cjs"), c = require("./NcPasswordField-IkBZCjOy.cjs"), o = require("./NcSelect-rMSul72R.cjs"), u = require("./NcTextField-eclRKl_B.cjs"), d = require("./actionGlobal-SGFis4LZ.cjs"), s = require("./GenRandomId-ULxaMkkr.cjs"), l = require("./_l10n-Od-4xzJA.cjs"), p = require("./_plugin-vue2_normalizer-DCfUPqga.cjs");
4
4
  l.register(l.t39);
5
5
  const b = {
6
6
  name: "NcActionInput",