@nextcloud/vue 9.0.0-rc.4 → 9.0.0-rc.6

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 (421) hide show
  1. package/CHANGELOG.md +138 -24
  2. package/README.md +1 -1
  3. package/dist/assets/{NcActionButtonGroup-BND4GQdv.css → NcActionButtonGroup-BLIEEeG3.css} +1 -1
  4. package/dist/assets/NcActionInput-BrCsR1ZO.css +221 -0
  5. package/dist/assets/{NcActionTextEditable-BbOijUsB.css → NcActionTextEditable-vhpb77-W.css} +4 -9
  6. package/dist/assets/{NcActions-DfCOtp0b.css → NcActions-CG3xO48Y.css} +13 -13
  7. package/dist/assets/{NcAppContent-RmHDNYBp.css → NcAppContent-vj2DL4Yr.css} +4 -4
  8. package/dist/assets/{NcAppNavigation-C6-8ErA_.css → NcAppNavigation-Dx5I2eEV.css} +38 -12
  9. package/dist/assets/{NcAppNavigationItem-B-slGJHZ.css → NcAppNavigationItem-D0G4tdGd.css} +37 -37
  10. package/dist/assets/{NcAppNavigationNewItem-CYsA6ZGQ.css → NcAppNavigationNewItem-CCu1yQxq.css} +2 -2
  11. package/dist/assets/{NcAppNavigationSearch-BAzhDRd7.css → NcAppNavigationSearch-C1BuilVS.css} +5 -8
  12. package/dist/assets/{NcAppSettingsDialog-DfBJYMdm.css → NcAppSettingsDialog-705Crvh8.css} +11 -11
  13. package/dist/assets/{NcAppSidebar-BeRME1Bx.css → NcAppSidebar-CZ-bJUxG.css} +61 -77
  14. package/dist/assets/NcAvatar-DETOZR8d.css +134 -0
  15. package/dist/assets/{NcBreadcrumb-CV3DgRKn.css → NcBreadcrumb-Dll7O4N9.css} +15 -15
  16. package/dist/assets/{NcButton-Cpw_vPKw.css → NcButton-BWD8LdCm.css} +74 -70
  17. package/dist/assets/{NcCheckboxRadioSwitch-DKVMIvxJ.css → NcCheckboxRadioSwitch-Cbnc4p0H.css} +35 -35
  18. package/dist/assets/{NcChip-rGBYOr-Q.css → NcChip-1ZmWY_6e.css} +9 -9
  19. package/dist/assets/{NcCollectionList-DVlSPO13.css → NcCollectionList-C7_FPg95.css} +42 -42
  20. package/dist/assets/{NcColorPicker-DgByWqzp.css → NcColorPicker-RX6YpqSU.css} +31 -31
  21. package/dist/assets/{NcContent-1ivDf2e_.css → NcContent-voMuob0w.css} +13 -10
  22. package/dist/assets/{NcCounterBubble-DpKQwKTI.css → NcCounterBubble-C0CtLaMW.css} +8 -8
  23. package/dist/assets/{NcDashboardWidget-BEYk4O95.css → NcDashboardWidget-CTP_ajin.css} +13 -13
  24. package/dist/assets/{NcDashboardWidgetItem-V_jSEH-7.css → NcDashboardWidgetItem-DYwI3Qof.css} +13 -13
  25. package/dist/assets/{NcDateTimePicker-_rRYVngX.css → NcDateTimePicker-D76SV5EC.css} +236 -233
  26. package/dist/assets/NcDateTimePickerNative-B7hWPWho.css +60 -0
  27. package/dist/assets/{NcDialog-Ch6FuMQo.css → NcDialog-DVe1SvHJ.css} +16 -16
  28. package/dist/assets/{NcEmojiPicker-vTc7_EDA.css → NcEmojiPicker-CeVpBSVx.css} +5 -5
  29. package/dist/assets/{NcGuestContent-BZ26iXQi.css → NcGuestContent-j8ai4O1K.css} +3 -3
  30. package/dist/assets/{NcHeaderButton-Ct8k0yDh.css → NcHeaderButton-BZeIVAHI.css} +11 -7
  31. package/dist/assets/{NcHeaderMenu-BAKwNTFx.css → NcHeaderMenu-U_duiDuh.css} +16 -13
  32. package/dist/assets/{NcInputConfirmCancel-9YyvRYjw.css → NcInputConfirmCancel-DNNS3DDJ.css} +5 -5
  33. package/dist/assets/{NcInputField-CvP4PFAO.css → NcInputField-Xm6zpzck.css} +47 -42
  34. package/dist/assets/{NcListItem-BBaZDZQK.css → NcListItem-CAWaHeb2.css} +41 -50
  35. package/dist/assets/{NcLoadingIcon-DlDKflKI.css → NcLoadingIcon-B-JbyXuV.css} +5 -2
  36. package/dist/assets/{NcModal-BMVfhs7c.css → NcModal-x_u5Tqtc.css} +62 -62
  37. package/dist/assets/{NcNoteCard-DlW6RBOO.css → NcNoteCard-DGpRZQtS.css} +18 -18
  38. package/dist/assets/{NcPasswordField-D7XrnwDs.css → NcPasswordField-Ck5YCufb.css} +2 -2
  39. package/dist/assets/{NcPopover-zFjgXDlM.css → NcPopover-BzkXE_af.css} +2 -2
  40. package/dist/assets/{NcProgressBar--z-WqmX4.css → NcProgressBar-BZzxurHX.css} +16 -15
  41. package/dist/assets/{NcRelatedResourcesPanel-BQkQvMMD.css → NcRelatedResourcesPanel-9I4RRIks.css} +26 -26
  42. package/dist/assets/{NcRichContenteditable-1zTxLjsG.css → NcRichContenteditable-DLvvIjC_.css} +33 -33
  43. package/dist/assets/{NcRichText-cO2UCM_o.css → NcRichText-Fp8zf8zq.css} +87 -87
  44. package/dist/assets/{NcSelect-BCBpQnFL.css → NcSelect-DjCC5X0A.css} +2 -2
  45. package/dist/assets/NcSelectUsers-Cyr5NLrJ.css +4 -0
  46. package/dist/assets/{NcSettingsInputText-B-V6Y4MD.css → NcSettingsInputText-B2b1M_wK.css} +5 -5
  47. package/dist/assets/{NcSettingsSection-DLjgl3j1.css → NcSettingsSection-CxQtVrUq.css} +7 -7
  48. package/dist/assets/{NcSettingsSelectGroup-DZcNr_Dq.css → NcSettingsSelectGroup-BH0B-4BJ.css} +4 -4
  49. package/dist/assets/{NcTextArea-DoBYU3IE.css → NcTextArea-IV7f8C-Q.css} +24 -24
  50. package/dist/assets/{NcUserStatusIcon-CtJLt6AU.css → NcUserStatusIcon-Du6m_1El.css} +7 -7
  51. package/dist/assets/{referencePickerModal-DIHQ6_wW.css → referencePickerModal-D80hwmre.css} +48 -48
  52. package/dist/chunks/ArrowRight-DRKHUZMH.mjs.map +1 -1
  53. package/dist/chunks/ChevronDown-FiGpp0KT.mjs.map +1 -1
  54. package/dist/chunks/ChevronUp-DPXFp1ss.mjs.map +1 -1
  55. package/dist/chunks/Close-D6ngJ4t9.mjs.map +1 -1
  56. package/dist/chunks/{NcActionButton-Bd35_0n4.mjs → NcActionButton-k1JvZ5eE.mjs} +2 -2
  57. package/dist/chunks/{NcActionButton-Bd35_0n4.mjs.map → NcActionButton-k1JvZ5eE.mjs.map} +1 -1
  58. package/dist/chunks/{NcActionButtonGroup-BVbWDFaC.mjs → NcActionButtonGroup-WjVxibM-.mjs} +3 -3
  59. package/dist/chunks/{NcActionButtonGroup-BVbWDFaC.mjs.map → NcActionButtonGroup-WjVxibM-.mjs.map} +1 -1
  60. package/dist/chunks/NcActionCaption-Fumfjzxj.mjs.map +1 -1
  61. package/dist/chunks/NcActionCheckbox-DLPDTACR.mjs.map +1 -1
  62. package/dist/chunks/{NcActionInput-B_f8z2fo.mjs → NcActionInput-Cu77Jgzr.mjs} +13 -15
  63. package/dist/chunks/NcActionInput-Cu77Jgzr.mjs.map +1 -0
  64. package/dist/chunks/NcActionLink-BEo7zmXX.mjs.map +1 -1
  65. package/dist/chunks/NcActionRadio-CPoWB58D.mjs.map +1 -1
  66. package/dist/chunks/NcActionRouter-ERoQjJKv.mjs.map +1 -1
  67. package/dist/chunks/NcActionText-16Mj4-P1.mjs.map +1 -1
  68. package/dist/chunks/{NcActionTextEditable-B4nTAiHu.mjs → NcActionTextEditable-BLkdbR1d.mjs} +3 -3
  69. package/dist/chunks/{NcActionTextEditable-B4nTAiHu.mjs.map → NcActionTextEditable-BLkdbR1d.mjs.map} +1 -1
  70. package/dist/chunks/{NcActions-BM3DmGLW.mjs → NcActions-CDD8eIxC.mjs} +53 -10
  71. package/dist/chunks/NcActions-CDD8eIxC.mjs.map +1 -0
  72. package/dist/chunks/{NcAppContent-BZZyPqOo.mjs → NcAppContent-BuPSAcBt.mjs} +6 -6
  73. package/dist/chunks/{NcAppContent-BZZyPqOo.mjs.map → NcAppContent-BuPSAcBt.mjs.map} +1 -1
  74. package/dist/chunks/NcAppContentDetails.vue_vue_type_script_setup_true_lang-Dnf4r_Ng.mjs.map +1 -1
  75. package/dist/chunks/NcAppContentList-DnLY_sWw.mjs.map +1 -1
  76. package/dist/chunks/NcAppNavigation-ByAPTGke.mjs +163 -0
  77. package/dist/chunks/NcAppNavigation-ByAPTGke.mjs.map +1 -0
  78. package/dist/chunks/{NcAppNavigationCaption-BrCiN8XK.mjs → NcAppNavigationCaption-SJPzGdtT.mjs} +2 -2
  79. package/dist/chunks/{NcAppNavigationCaption-BrCiN8XK.mjs.map → NcAppNavigationCaption-SJPzGdtT.mjs.map} +1 -1
  80. package/dist/chunks/NcAppNavigationIconBullet-B1kc4u65.mjs.map +1 -1
  81. package/dist/chunks/{NcAppNavigationItem-ClySLuSM.mjs → NcAppNavigationItem-0xVXJPEm.mjs} +14 -11
  82. package/dist/chunks/NcAppNavigationItem-0xVXJPEm.mjs.map +1 -0
  83. package/dist/chunks/{NcAppNavigationNew-CMjaAY5A.mjs → NcAppNavigationNew-CjJgIwfl.mjs} +2 -2
  84. package/dist/chunks/{NcAppNavigationNew-CMjaAY5A.mjs.map → NcAppNavigationNew-CjJgIwfl.mjs.map} +1 -1
  85. package/dist/chunks/{NcAppNavigationNewItem-BUgPntuN.mjs → NcAppNavigationNewItem-BCFq6zq8.mjs} +4 -4
  86. package/dist/chunks/{NcAppNavigationNewItem-BUgPntuN.mjs.map → NcAppNavigationNewItem-BCFq6zq8.mjs.map} +1 -1
  87. package/dist/chunks/{NcAppNavigationSearch-DpjlWi9j.mjs → NcAppNavigationSearch-Bnr0rygy.mjs} +7 -8
  88. package/dist/chunks/NcAppNavigationSearch-Bnr0rygy.mjs.map +1 -0
  89. package/dist/chunks/{NcAppNavigationSettings-DGATbBqy.mjs → NcAppNavigationSettings-CM0_QsTH.mjs} +6 -6
  90. package/dist/chunks/NcAppNavigationSettings-CM0_QsTH.mjs.map +1 -0
  91. package/dist/chunks/NcAppNavigationSpacer-BvkBfuVw.mjs.map +1 -1
  92. package/dist/chunks/{NcAppSettingsDialog-Dgh5jydA.mjs → NcAppSettingsDialog-DBI8-FZa.mjs} +10 -6
  93. package/dist/chunks/{NcAppSettingsDialog-Dgh5jydA.mjs.map → NcAppSettingsDialog-DBI8-FZa.mjs.map} +1 -1
  94. package/dist/chunks/NcAppSettingsSection-CssmXyZ0.mjs.map +1 -1
  95. package/dist/chunks/{NcAppSidebar-DWRmX_-Y.mjs → NcAppSidebar-CyyFi0n6.mjs} +10 -9
  96. package/dist/chunks/NcAppSidebar-CyyFi0n6.mjs.map +1 -0
  97. package/dist/chunks/NcAppSidebarHeader.vue_vue_type_script_setup_true_lang-0j0aFDeK.mjs.map +1 -1
  98. package/dist/chunks/NcAppSidebarTab-D1RmFRTu.mjs.map +1 -1
  99. package/dist/chunks/{NcAvatar-PCbT0J_-.mjs → NcAvatar-CnRCSalb.mjs} +27 -38
  100. package/dist/chunks/NcAvatar-CnRCSalb.mjs.map +1 -0
  101. package/dist/chunks/NcBlurHash-BiFktE2N.mjs.map +1 -1
  102. package/dist/chunks/{NcBreadcrumb-D9gRzaYP.mjs → NcBreadcrumb-B97vQkN2.mjs} +20 -21
  103. package/dist/chunks/NcBreadcrumb-B97vQkN2.mjs.map +1 -0
  104. package/dist/chunks/{NcBreadcrumbs-DjqDBMn-.mjs → NcBreadcrumbs-CvUgliJa.mjs} +4 -4
  105. package/dist/chunks/{NcBreadcrumbs-DjqDBMn-.mjs.map → NcBreadcrumbs-CvUgliJa.mjs.map} +1 -1
  106. package/dist/chunks/{NcButton-yN4vYgXb.mjs → NcButton-BMnvzy1A.mjs} +47 -31
  107. package/dist/chunks/NcButton-BMnvzy1A.mjs.map +1 -0
  108. package/dist/chunks/{NcCheckboxRadioSwitch-D9N_BDHh.mjs → NcCheckboxRadioSwitch-Da0F7y0G.mjs} +7 -7
  109. package/dist/chunks/{NcCheckboxRadioSwitch-D9N_BDHh.mjs.map → NcCheckboxRadioSwitch-Da0F7y0G.mjs.map} +1 -1
  110. package/dist/chunks/{NcChip-BPresRp1.mjs → NcChip-DuaqxToL.mjs} +7 -7
  111. package/dist/chunks/{NcChip-BPresRp1.mjs.map → NcChip-DuaqxToL.mjs.map} +1 -1
  112. package/dist/chunks/{NcCollectionList-BPDCogsB.mjs → NcCollectionList-Cr0T14g-.mjs} +10 -10
  113. package/dist/chunks/{NcCollectionList-BPDCogsB.mjs.map → NcCollectionList-Cr0T14g-.mjs.map} +1 -1
  114. package/dist/chunks/{NcColorPicker-BNpZzN-p.mjs → NcColorPicker-D6g3v7Qc.mjs} +36 -24
  115. package/dist/chunks/NcColorPicker-D6g3v7Qc.mjs.map +1 -0
  116. package/dist/chunks/{NcContent-CZKDyVcI.mjs → NcContent-DV3z9w_V.mjs} +5 -5
  117. package/dist/chunks/{NcContent-CZKDyVcI.mjs.map → NcContent-DV3z9w_V.mjs.map} +1 -1
  118. package/dist/chunks/{NcCounterBubble-PBdqn9Nf.mjs → NcCounterBubble-Bop3e-Tr.mjs} +3 -3
  119. package/dist/chunks/{NcCounterBubble-PBdqn9Nf.mjs.map → NcCounterBubble-Bop3e-Tr.mjs.map} +1 -1
  120. package/dist/chunks/{NcDashboardWidget-DhZ5c4oF.mjs → NcDashboardWidget-Wkx_9xKh.mjs} +50 -8
  121. package/dist/chunks/NcDashboardWidget-Wkx_9xKh.mjs.map +1 -0
  122. package/dist/chunks/{NcDashboardWidgetItem-pJ-PctjL.mjs → NcDashboardWidgetItem-CMrxp0Lc.mjs} +6 -6
  123. package/dist/chunks/{NcDashboardWidgetItem-pJ-PctjL.mjs.map → NcDashboardWidgetItem-CMrxp0Lc.mjs.map} +1 -1
  124. package/dist/chunks/NcDateTime.vue_vue_type_script_setup_true_lang-B0Lci6v0.mjs.map +1 -1
  125. package/dist/chunks/{NcDateTimePicker-CKOTExmB.mjs → NcDateTimePicker-BarX7J-6.mjs} +33 -25
  126. package/dist/chunks/NcDateTimePicker-BarX7J-6.mjs.map +1 -0
  127. package/dist/chunks/{NcDateTimePickerNative-NVYPDSmf.mjs → NcDateTimePickerNative-BOoA1aEf.mjs} +4 -4
  128. package/dist/chunks/{NcDateTimePickerNative-NVYPDSmf.mjs.map → NcDateTimePickerNative-BOoA1aEf.mjs.map} +1 -1
  129. package/dist/chunks/{NcDialog-DTbCOARa.mjs → NcDialog-IKWAQK-K.mjs} +10 -15
  130. package/dist/chunks/NcDialog-IKWAQK-K.mjs.map +1 -0
  131. package/dist/chunks/{NcDialogButton.vue_vue_type_script_setup_true_lang-DaU1luyJ.mjs → NcDialogButton.vue_vue_type_script_setup_true_lang-BT66zCa4.mjs} +4 -4
  132. package/dist/chunks/{NcDialogButton.vue_vue_type_script_setup_true_lang-DaU1luyJ.mjs.map → NcDialogButton.vue_vue_type_script_setup_true_lang-BT66zCa4.mjs.map} +1 -1
  133. package/dist/chunks/NcEllipsisedOption-C8uNDC-j.mjs.map +1 -1
  134. package/dist/chunks/{NcEmojiPicker-DHXabPDE.mjs → NcEmojiPicker-DL9u7r5m.mjs} +10 -10
  135. package/dist/chunks/{NcEmojiPicker-DHXabPDE.mjs.map → NcEmojiPicker-DL9u7r5m.mjs.map} +1 -1
  136. package/dist/chunks/NcEmptyContent-BdOezubv.mjs.map +1 -1
  137. package/dist/chunks/{NcGuestContent-B_S2nyJ4.mjs → NcGuestContent-CfCh49o0.mjs} +3 -3
  138. package/dist/chunks/NcGuestContent-CfCh49o0.mjs.map +1 -0
  139. package/dist/chunks/{NcHeaderButton-BTZ1WNux.mjs → NcHeaderButton-DAxGG1vc.mjs} +4 -4
  140. package/dist/chunks/{NcHeaderButton-BTZ1WNux.mjs.map → NcHeaderButton-DAxGG1vc.mjs.map} +1 -1
  141. package/dist/chunks/{NcHeaderMenu-Bf_rW093.mjs → NcHeaderMenu-DcBWHaZv.mjs} +15 -17
  142. package/dist/chunks/NcHeaderMenu-DcBWHaZv.mjs.map +1 -0
  143. package/dist/chunks/NcHighlight.vue_vue_type_script_lang-DnWQDM_2.mjs.map +1 -1
  144. package/dist/chunks/NcIconSvgWrapper-CprKb_SE.mjs.map +1 -1
  145. package/dist/chunks/{NcInputConfirmCancel-DCUXeKPz.mjs → NcInputConfirmCancel-BG4KRrhr.mjs} +5 -5
  146. package/dist/chunks/{NcInputConfirmCancel-DCUXeKPz.mjs.map → NcInputConfirmCancel-BG4KRrhr.mjs.map} +1 -1
  147. package/dist/chunks/{NcInputField-BZWRHkmQ.mjs → NcInputField-Cz1RwzSy.mjs} +10 -11
  148. package/dist/chunks/NcInputField-Cz1RwzSy.mjs.map +1 -0
  149. package/dist/chunks/{NcListItem-7BHAmqB0.mjs → NcListItem-CwAOX69Q.mjs} +5 -13
  150. package/dist/chunks/NcListItem-CwAOX69Q.mjs.map +1 -0
  151. package/dist/chunks/{NcListItemIcon-gkuv5FT8.mjs → NcListItemIcon-26IdztJ2.mjs} +2 -2
  152. package/dist/chunks/{NcListItemIcon-gkuv5FT8.mjs.map → NcListItemIcon-26IdztJ2.mjs.map} +1 -1
  153. package/dist/chunks/{NcLoadingIcon-Dm3kRPrf.mjs → NcLoadingIcon-CiMp51wb.mjs} +3 -3
  154. package/dist/chunks/{NcLoadingIcon-Dm3kRPrf.mjs.map → NcLoadingIcon-CiMp51wb.mjs.map} +1 -1
  155. package/dist/chunks/NcMentionBubble.vue_vue_type_style_index_0_scoped_25f4d6e1_lang-aMwzB20D.mjs.map +1 -1
  156. package/dist/chunks/{NcModal-CX28vCtF.mjs → NcModal-CdXZncEM.mjs} +8 -12
  157. package/dist/chunks/NcModal-CdXZncEM.mjs.map +1 -0
  158. package/dist/chunks/{NcNoteCard-oGt6biyJ.mjs → NcNoteCard-C8JB31rn.mjs} +4 -4
  159. package/dist/chunks/{NcNoteCard-oGt6biyJ.mjs.map → NcNoteCard-C8JB31rn.mjs.map} +1 -1
  160. package/dist/chunks/{NcPasswordField-w13_Lpyn.mjs → NcPasswordField-BlbWNpfS.mjs} +8 -9
  161. package/dist/chunks/NcPasswordField-BlbWNpfS.mjs.map +1 -0
  162. package/dist/chunks/{NcPopover-BUlWWIxc.mjs → NcPopover-Zs7qt_Zd.mjs} +3 -3
  163. package/dist/chunks/{NcPopover-BUlWWIxc.mjs.map → NcPopover-Zs7qt_Zd.mjs.map} +1 -1
  164. package/dist/chunks/NcProgressBar-Ds0zTPYX.mjs +94 -0
  165. package/dist/chunks/NcProgressBar-Ds0zTPYX.mjs.map +1 -0
  166. package/dist/chunks/{NcRelatedResourcesPanel-CpOgjo9h.mjs → NcRelatedResourcesPanel-DBOgpeIK.mjs} +8 -8
  167. package/dist/chunks/NcRelatedResourcesPanel-DBOgpeIK.mjs.map +1 -0
  168. package/dist/chunks/{NcRichContenteditable-J9ILu0dF.mjs → NcRichContenteditable-BmrCeWNL.mjs} +27 -27
  169. package/dist/chunks/{NcRichContenteditable-J9ILu0dF.mjs.map → NcRichContenteditable-BmrCeWNL.mjs.map} +1 -1
  170. package/dist/chunks/{NcRichText-DvbC3aUR.mjs → NcRichText-G8kzsdwx.mjs} +301 -267
  171. package/dist/chunks/NcRichText-G8kzsdwx.mjs.map +1 -0
  172. package/dist/chunks/{NcSavingIndicatorIcon.vue_vue_type_script_setup_true_lang-DlRBo3QU.mjs → NcSavingIndicatorIcon.vue_vue_type_script_setup_true_lang-jUf1K561.mjs} +2 -2
  173. package/dist/chunks/{NcSavingIndicatorIcon.vue_vue_type_script_setup_true_lang-DlRBo3QU.mjs.map → NcSavingIndicatorIcon.vue_vue_type_script_setup_true_lang-jUf1K561.mjs.map} +1 -1
  174. package/dist/chunks/{NcSelect-D6XzjG4n.mjs → NcSelect-C6qHqfAO.mjs} +4 -4
  175. package/dist/chunks/{NcSelect-D6XzjG4n.mjs.map → NcSelect-C6qHqfAO.mjs.map} +1 -1
  176. package/dist/chunks/{NcSelectTags-SNTGRj-n.mjs → NcSelectTags-Capp69AW.mjs} +3 -3
  177. package/dist/chunks/{NcSelectTags-SNTGRj-n.mjs.map → NcSelectTags-Capp69AW.mjs.map} +1 -1
  178. package/dist/chunks/{NcSelectUsers-D_eu9Uqb.mjs → NcSelectUsers-BVn8co_d.mjs} +5 -5
  179. package/dist/chunks/{NcSelectUsers-D_eu9Uqb.mjs.map → NcSelectUsers-BVn8co_d.mjs.map} +1 -1
  180. package/dist/chunks/{NcSettingsInputText-D5N9XxkW.mjs → NcSettingsInputText-C8Gtj3Ht.mjs} +4 -4
  181. package/dist/chunks/{NcSettingsInputText-D5N9XxkW.mjs.map → NcSettingsInputText-C8Gtj3Ht.mjs.map} +1 -1
  182. package/dist/chunks/{NcSettingsSection-93UQoiwe.mjs → NcSettingsSection-CtSg7lH8.mjs} +4 -4
  183. package/dist/chunks/{NcSettingsSection-93UQoiwe.mjs.map → NcSettingsSection-CtSg7lH8.mjs.map} +1 -1
  184. package/dist/chunks/{NcSettingsSelectGroup-Dr4IRbi_.mjs → NcSettingsSelectGroup-C1DEcBNJ.mjs} +5 -5
  185. package/dist/chunks/{NcSettingsSelectGroup-Dr4IRbi_.mjs.map → NcSettingsSelectGroup-C1DEcBNJ.mjs.map} +1 -1
  186. package/dist/chunks/{NcTextArea-CWqnvMl2.mjs → NcTextArea-BAl6EP4Z.mjs} +5 -5
  187. package/dist/chunks/NcTextArea-BAl6EP4Z.mjs.map +1 -0
  188. package/dist/chunks/{NcTextField.vue_vue_type_script_setup_true_lang-B65hrkLW.mjs → NcTextField.vue_vue_type_script_setup_true_lang-DzcUUWHO.mjs} +6 -7
  189. package/dist/chunks/NcTextField.vue_vue_type_script_setup_true_lang-DzcUUWHO.mjs.map +1 -0
  190. package/dist/chunks/NcThemeProvider.vue_vue_type_script_setup_true_lang-nUDJsDGI.mjs.map +1 -1
  191. package/dist/chunks/{NcTimezonePicker.vue_vue_type_script_setup_true_lang-BoH1Njbp.mjs → NcTimezonePicker.vue_vue_type_script_setup_true_lang-Dsco6qEJ.mjs} +3 -3
  192. package/dist/chunks/{NcTimezonePicker.vue_vue_type_script_setup_true_lang-BoH1Njbp.mjs.map → NcTimezonePicker.vue_vue_type_script_setup_true_lang-Dsco6qEJ.mjs.map} +1 -1
  193. package/dist/chunks/{NcUserBubble-BW0qu6mW.mjs → NcUserBubble-CqKN_gM4.mjs} +3 -3
  194. package/dist/chunks/{NcUserBubble-BW0qu6mW.mjs.map → NcUserBubble-CqKN_gM4.mjs.map} +1 -1
  195. package/dist/chunks/{NcUserStatusIcon-DqQYA-EE.mjs → NcUserStatusIcon-CDEUKK60.mjs} +10 -9
  196. package/dist/chunks/NcUserStatusIcon-CDEUKK60.mjs.map +1 -0
  197. package/dist/chunks/NcVNodes.vue_vue_type_script_lang-BqUHinRZ.mjs.map +1 -1
  198. package/dist/chunks/_l10n-ZllQPIu_.mjs +113 -0
  199. package/dist/chunks/_l10n-ZllQPIu_.mjs.map +1 -0
  200. package/dist/chunks/actionGlobal-BZFdtdJL.mjs.map +1 -1
  201. package/dist/chunks/actionText-DdSwf9le.mjs.map +1 -1
  202. package/dist/chunks/{autolink-CKPk5rzg.mjs → autolink-Y0rlJ_CI.mjs} +5 -1
  203. package/dist/chunks/autolink-Y0rlJ_CI.mjs.map +1 -0
  204. package/dist/chunks/{colors-BaTbJhvg.mjs → colors-B71CwSnx.mjs} +2 -2
  205. package/dist/chunks/{colors-BaTbJhvg.mjs.map → colors-B71CwSnx.mjs.map} +1 -1
  206. package/dist/chunks/constants-Bls5liKo.mjs.map +1 -1
  207. package/dist/chunks/createElementId-DhjFt1I9.mjs.map +1 -1
  208. package/dist/chunks/{customPickerElements-CH9vlHLd.mjs → customPickerElements-BmkXSNdO.mjs} +2 -2
  209. package/dist/chunks/{customPickerElements-CH9vlHLd.mjs.map → customPickerElements-BmkXSNdO.mjs.map} +1 -1
  210. package/dist/chunks/emoji-BY_D0V5K.mjs.map +1 -1
  211. package/dist/chunks/{focusTrap-DmkaYJTC.mjs → focusTrap-HJQ4pqHV.mjs} +6 -3
  212. package/dist/chunks/focusTrap-HJQ4pqHV.mjs.map +1 -0
  213. package/dist/chunks/logger-D3RVzcfQ.mjs.map +1 -1
  214. package/dist/chunks/{mdi-D6fu5i4r.mjs → mdi-B9TPxVka.mjs} +14 -6
  215. package/dist/chunks/{mdi-D6fu5i4r.mjs.map → mdi-B9TPxVka.mjs.map} +1 -1
  216. package/dist/chunks/{referencePickerModal-DREcDQKg.mjs → referencePickerModal-BtI-8rNN.mjs} +147 -109
  217. package/dist/chunks/referencePickerModal-BtI-8rNN.mjs.map +1 -0
  218. package/dist/chunks/rtl-v0UOPAM7.mjs.map +1 -1
  219. package/dist/chunks/useNcActions-CiGWxAJE.mjs.map +1 -1
  220. package/dist/chunks/{useTrapStackControl-b3A_383w.mjs → useTrapStackControl-yqM2SDEs.mjs} +2 -2
  221. package/dist/chunks/{useTrapStackControl-b3A_383w.mjs.map → useTrapStackControl-yqM2SDEs.mjs.map} +1 -1
  222. package/dist/components/NcActionButton/index.mjs +1 -1
  223. package/dist/components/NcActionButtonGroup/index.mjs +1 -1
  224. package/dist/components/NcActionInput/NcActionInput.vue.d.ts +1934 -0
  225. package/dist/components/NcActionInput/index.mjs +1 -1
  226. package/dist/components/NcActionTextEditable/index.mjs +1 -1
  227. package/dist/components/NcActions/NcActions.vue.d.ts +502 -0
  228. package/dist/components/NcActions/index.mjs +1 -1
  229. package/dist/components/NcAppContent/index.mjs +1 -1
  230. package/dist/components/NcAppNavigation/NcAppNavigation.vue.d.ts +59 -57
  231. package/dist/components/NcAppNavigation/index.d.ts +4 -0
  232. package/dist/components/NcAppNavigation/index.mjs +1 -1
  233. package/dist/components/NcAppNavigationCaption/NcAppNavigationCaption.vue.d.ts +347 -0
  234. package/dist/components/NcAppNavigationCaption/index.mjs +1 -1
  235. package/dist/components/NcAppNavigationItem/NcAppNavigationIconCollapsible.vue.d.ts +137 -0
  236. package/dist/components/NcAppNavigationItem/NcAppNavigationItem.vue.d.ts +1227 -0
  237. package/dist/components/NcAppNavigationItem/NcInputConfirmCancel.vue.d.ts +171 -0
  238. package/dist/components/NcAppNavigationItem/index.mjs +1 -1
  239. package/dist/components/NcAppNavigationNew/NcAppNavigationNew.vue.d.ts +171 -0
  240. package/dist/components/NcAppNavigationNew/index.mjs +1 -1
  241. package/dist/components/NcAppNavigationNewItem/NcAppNavigationNewItem.vue.d.ts +270 -0
  242. package/dist/components/NcAppNavigationNewItem/index.mjs +1 -1
  243. package/dist/components/NcAppNavigationSearch/NcAppNavigationSearch.vue.d.ts +26 -26
  244. package/dist/components/NcAppNavigationSearch/index.mjs +1 -1
  245. package/dist/components/NcAppNavigationSettings/index.mjs +1 -1
  246. package/dist/components/NcAppSettingsDialog/NcAppSettingsDialog.vue.d.ts +348 -0
  247. package/dist/components/NcAppSettingsDialog/index.mjs +1 -1
  248. package/dist/components/NcAppSidebar/NcAppSidebar.vue.d.ts +988 -0
  249. package/dist/components/NcAppSidebar/index.mjs +1 -1
  250. package/dist/components/NcAvatar/NcAvatar.vue.d.ts +980 -0
  251. package/dist/components/NcAvatar/index.mjs +1 -1
  252. package/dist/components/NcBreadcrumb/NcBreadcrumb.vue.d.ts +658 -0
  253. package/dist/components/NcBreadcrumb/index.mjs +1 -1
  254. package/dist/components/NcBreadcrumbs/NcBreadcrumbs.vue.d.ts +1255 -0
  255. package/dist/components/NcBreadcrumbs/index.mjs +1 -1
  256. package/dist/components/NcButton/NcButton.vue.d.ts +7 -7
  257. package/dist/components/NcButton/index.mjs +1 -1
  258. package/dist/components/NcCheckboxRadioSwitch/index.mjs +1 -1
  259. package/dist/components/NcChip/index.mjs +1 -1
  260. package/dist/components/NcCollectionList/NcCollectionList.vue.d.ts +2424 -0
  261. package/dist/components/NcCollectionList/NcCollectionListItem.vue.d.ts +1366 -0
  262. package/dist/components/NcCollectionList/index.mjs +1 -1
  263. package/dist/components/NcColorPicker/NcColorPicker.vue.d.ts +5 -2
  264. package/dist/components/NcColorPicker/index.mjs +1 -1
  265. package/dist/components/NcContent/index.mjs +1 -1
  266. package/dist/components/NcCounterBubble/index.mjs +1 -1
  267. package/dist/components/NcDashboardWidget/NcDashboardWidget.vue.d.ts +2446 -0
  268. package/dist/components/NcDashboardWidget/index.mjs +1 -1
  269. package/dist/components/NcDashboardWidgetItem/NcDashboardWidgetItem.vue.d.ts +1486 -0
  270. package/dist/components/NcDashboardWidgetItem/index.mjs +1 -1
  271. package/dist/components/NcDateTimePicker/NcDateTimePicker.vue.d.ts +4 -4
  272. package/dist/components/NcDateTimePicker/index.mjs +1 -1
  273. package/dist/components/NcDateTimePickerNative/index.mjs +1 -1
  274. package/dist/components/NcDialog/NcDialog.vue.d.ts +4 -4
  275. package/dist/components/NcDialog/index.mjs +1 -1
  276. package/dist/components/NcDialogButton/index.mjs +1 -1
  277. package/dist/components/NcEllipsisedOption/NcEllipsisedOption.vue.d.ts +95 -0
  278. package/dist/components/NcEmojiPicker/NcEmojiPicker.vue.d.ts +556 -0
  279. package/dist/components/NcEmojiPicker/index.mjs +1 -1
  280. package/dist/components/NcGuestContent/index.mjs +1 -1
  281. package/dist/components/NcHeaderButton/index.mjs +1 -1
  282. package/dist/components/NcHeaderMenu/NcHeaderMenu.vue.d.ts +319 -0
  283. package/dist/components/NcHeaderMenu/index.mjs +1 -1
  284. package/dist/components/NcHighlight/NcHighlight.vue.d.ts +1 -1
  285. package/dist/components/NcInputField/NcInputField.vue.d.ts +5 -9
  286. package/dist/components/NcInputField/index.mjs +1 -1
  287. package/dist/components/NcListItem/NcListItem.vue.d.ts +646 -0
  288. package/dist/components/NcListItem/index.mjs +1 -1
  289. package/dist/components/NcListItemIcon/NcListItemIcon.vue.d.ts +1097 -0
  290. package/dist/components/NcListItemIcon/index.mjs +1 -1
  291. package/dist/components/NcLoadingIcon/index.mjs +1 -1
  292. package/dist/components/NcModal/index.mjs +1 -1
  293. package/dist/components/NcNoteCard/index.mjs +1 -1
  294. package/dist/components/NcPasswordField/NcPasswordField.vue.d.ts +14 -14
  295. package/dist/components/NcPasswordField/index.mjs +1 -1
  296. package/dist/components/NcPopover/index.mjs +1 -1
  297. package/dist/components/NcProgressBar/NcProgressBar.vue.d.ts +42 -1
  298. package/dist/components/NcProgressBar/index.d.ts +4 -0
  299. package/dist/components/NcProgressBar/index.mjs +1 -1
  300. package/dist/components/NcRelatedResourcesPanel/NcRelatedResourcesPanel.vue.d.ts +463 -0
  301. package/dist/components/NcRelatedResourcesPanel/NcResource.vue.d.ts +149 -0
  302. package/dist/components/NcRelatedResourcesPanel/NcTeamResources.vue.d.ts +175 -0
  303. package/dist/components/NcRelatedResourcesPanel/index.mjs +1 -1
  304. package/dist/components/NcRichContenteditable/index.mjs +1 -1
  305. package/dist/components/NcRichText/NcReferenceList.vue.d.ts +268 -0
  306. package/dist/components/NcRichText/NcReferencePicker/NcProviderList.vue.d.ts +197 -0
  307. package/dist/components/NcRichText/NcReferencePicker/NcRawLinkInput.vue.d.ts +447 -0
  308. package/dist/components/NcRichText/NcReferencePicker/NcReferencePicker.vue.d.ts +1002 -0
  309. package/dist/components/NcRichText/NcReferencePicker/NcReferencePickerModal.vue.d.ts +1167 -0
  310. package/dist/components/NcRichText/NcReferencePicker/NcSearch.vue.d.ts +269 -0
  311. package/dist/components/NcRichText/NcReferencePicker/NcSearchResult.vue.d.ts +69 -0
  312. package/dist/components/NcRichText/NcReferencePicker/utils.d.ts +6 -7
  313. package/dist/components/NcRichText/NcReferenceWidget.vue.d.ts +187 -0
  314. package/dist/components/NcRichText/NcRichText.vue.d.ts +393 -0
  315. package/dist/components/NcRichText/helpers.d.ts +7 -8
  316. package/dist/components/NcRichText/index.d.ts +4 -4
  317. package/dist/components/NcRichText/index.mjs +4 -4
  318. package/dist/components/NcRichText/remarkPlaceholder.d.ts +2 -0
  319. package/dist/components/NcRichText/remarkUnescape.d.ts +2 -1
  320. package/dist/components/NcSavingIndicatorIcon/index.mjs +1 -1
  321. package/dist/components/NcSelect/NcSelect.vue.d.ts +99 -0
  322. package/dist/components/NcSelect/index.mjs +1 -1
  323. package/dist/components/NcSelectTags/NcSelectTags.vue.d.ts +183 -0
  324. package/dist/components/NcSelectTags/index.mjs +1 -1
  325. package/dist/components/NcSelectUsers/index.mjs +1 -1
  326. package/dist/components/NcSettingsInputText/index.mjs +1 -1
  327. package/dist/components/NcSettingsSection/index.mjs +1 -1
  328. package/dist/components/NcSettingsSelectGroup/NcSettingsSelectGroup.vue.d.ts +243 -0
  329. package/dist/components/NcSettingsSelectGroup/index.mjs +1 -1
  330. package/dist/components/NcTextArea/NcTextArea.vue.d.ts +1 -5
  331. package/dist/components/NcTextArea/index.mjs +1 -1
  332. package/dist/components/NcTextField/NcTextField.vue.d.ts +14 -14
  333. package/dist/components/NcTextField/index.mjs +1 -1
  334. package/dist/components/NcTimezonePicker/index.mjs +1 -1
  335. package/dist/components/NcUserBubble/index.mjs +1 -1
  336. package/dist/components/NcUserStatusIcon/index.mjs +1 -1
  337. package/dist/components/index.d.ts +2 -2
  338. package/dist/composables/useFormatDateTime/index.mjs +1 -1
  339. package/dist/composables/useFormatDateTime/index.mjs.map +1 -1
  340. package/dist/composables/useHotKey/index.mjs.map +1 -1
  341. package/dist/composables/useIsDarkTheme/constants.d.ts +1 -1
  342. package/dist/composables/useIsDarkTheme/index.mjs +1 -1
  343. package/dist/composables/useIsDarkTheme/index.mjs.map +1 -1
  344. package/dist/composables/useIsFullscreen/index.mjs.map +1 -1
  345. package/dist/composables/useIsMobile/index.mjs.map +1 -1
  346. package/dist/directives/Focus/index.mjs.map +1 -1
  347. package/dist/directives/Linkify/index.mjs +1 -2
  348. package/dist/directives/Linkify/index.mjs.map +1 -1
  349. package/dist/functions/a11y/index.mjs.map +1 -1
  350. package/dist/functions/contactsMenu/index.mjs.map +1 -1
  351. package/dist/functions/dialog/index.mjs.map +1 -1
  352. package/dist/functions/index.d.ts +2 -2
  353. package/dist/functions/isDarkTheme/index.mjs.map +1 -1
  354. package/dist/functions/preloadImage/index.mjs.map +1 -1
  355. package/dist/functions/reference/index.mjs +2 -2
  356. package/dist/functions/registerReference/index.mjs +1 -1
  357. package/dist/functions/usernameToColor/index.d.ts +6 -3
  358. package/dist/functions/usernameToColor/index.mjs +19 -2
  359. package/dist/functions/usernameToColor/index.mjs.map +1 -1
  360. package/dist/index.mjs +65 -64
  361. package/dist/index.mjs.map +1 -1
  362. package/dist/l10n.d.ts +7 -2
  363. package/dist/utils/focusTrap.d.ts +6 -0
  364. package/dist/utils/legacy.d.ts +5 -0
  365. package/package.json +57 -52
  366. package/dist/assets/NcActionInput-BA67jS1l.css +0 -226
  367. package/dist/assets/NcAppNavigationToggle-M0oDbwAS.css +0 -27
  368. package/dist/assets/NcAvatar-g7MoHyFd.css +0 -132
  369. package/dist/assets/NcDateTimePickerNative-BizATZfE.css +0 -60
  370. package/dist/assets/NcSelectUsers-2-PyuY9Z.css +0 -4
  371. package/dist/chunks/ArrowLeft-BiZLJltw.mjs +0 -49
  372. package/dist/chunks/ArrowLeft-BiZLJltw.mjs.map +0 -1
  373. package/dist/chunks/Check-5i4xKnkl.mjs +0 -49
  374. package/dist/chunks/Check-5i4xKnkl.mjs.map +0 -1
  375. package/dist/chunks/DotsHorizontal-BJ_GCGpi.mjs +0 -49
  376. package/dist/chunks/DotsHorizontal-BJ_GCGpi.mjs.map +0 -1
  377. package/dist/chunks/NcActionInput-B_f8z2fo.mjs.map +0 -1
  378. package/dist/chunks/NcActions-BM3DmGLW.mjs.map +0 -1
  379. package/dist/chunks/NcAppNavigation-BmACVQVW.mjs +0 -167
  380. package/dist/chunks/NcAppNavigation-BmACVQVW.mjs.map +0 -1
  381. package/dist/chunks/NcAppNavigationItem-ClySLuSM.mjs.map +0 -1
  382. package/dist/chunks/NcAppNavigationSearch-DpjlWi9j.mjs.map +0 -1
  383. package/dist/chunks/NcAppNavigationSettings-DGATbBqy.mjs.map +0 -1
  384. package/dist/chunks/NcAppNavigationToggle-D9pouVyS.mjs +0 -137
  385. package/dist/chunks/NcAppNavigationToggle-D9pouVyS.mjs.map +0 -1
  386. package/dist/chunks/NcAppSidebar-DWRmX_-Y.mjs.map +0 -1
  387. package/dist/chunks/NcAvatar-PCbT0J_-.mjs.map +0 -1
  388. package/dist/chunks/NcBreadcrumb-D9gRzaYP.mjs.map +0 -1
  389. package/dist/chunks/NcButton-yN4vYgXb.mjs.map +0 -1
  390. package/dist/chunks/NcColorPicker-BNpZzN-p.mjs.map +0 -1
  391. package/dist/chunks/NcDashboardWidget-DhZ5c4oF.mjs.map +0 -1
  392. package/dist/chunks/NcDateTimePicker-CKOTExmB.mjs.map +0 -1
  393. package/dist/chunks/NcDialog-DTbCOARa.mjs.map +0 -1
  394. package/dist/chunks/NcGuestContent-B_S2nyJ4.mjs.map +0 -1
  395. package/dist/chunks/NcHeaderMenu-Bf_rW093.mjs.map +0 -1
  396. package/dist/chunks/NcInputField-BZWRHkmQ.mjs.map +0 -1
  397. package/dist/chunks/NcListItem-7BHAmqB0.mjs.map +0 -1
  398. package/dist/chunks/NcModal-CX28vCtF.mjs.map +0 -1
  399. package/dist/chunks/NcPasswordField-w13_Lpyn.mjs.map +0 -1
  400. package/dist/chunks/NcProgressBar-Bx8bMkd4.mjs +0 -148
  401. package/dist/chunks/NcProgressBar-Bx8bMkd4.mjs.map +0 -1
  402. package/dist/chunks/NcRelatedResourcesPanel-CpOgjo9h.mjs.map +0 -1
  403. package/dist/chunks/NcRichText-DvbC3aUR.mjs.map +0 -1
  404. package/dist/chunks/NcTextArea-CWqnvMl2.mjs.map +0 -1
  405. package/dist/chunks/NcTextField.vue_vue_type_script_setup_true_lang-B65hrkLW.mjs.map +0 -1
  406. package/dist/chunks/NcUserStatusIcon-DqQYA-EE.mjs.map +0 -1
  407. package/dist/chunks/_l10n-tXci8WM1.mjs +0 -108
  408. package/dist/chunks/_l10n-tXci8WM1.mjs.map +0 -1
  409. package/dist/chunks/autolink-CKPk5rzg.mjs.map +0 -1
  410. package/dist/chunks/focusTrap-DmkaYJTC.mjs.map +0 -1
  411. package/dist/chunks/referencePickerModal-DREcDQKg.mjs.map +0 -1
  412. package/dist/chunks/usernameToColor-2yV_Zdvb.mjs +0 -22
  413. package/dist/chunks/usernameToColor-2yV_Zdvb.mjs.map +0 -1
  414. package/dist/components/NcAppNavigationToggle/index.d.ts +0 -5
  415. package/dist/components/NcAppNavigationToggle/index.mjs +0 -5
  416. package/dist/components/NcAppNavigationToggle/index.mjs.map +0 -1
  417. package/dist/components/NcRichText/placeholder.d.ts +0 -5
  418. package/dist/components/NcRichText/remarkDisableBlocks.d.ts +0 -11
  419. package/dist/functions/usernameToColor/usernameToColor.d.ts +0 -8
  420. package/dist/vendor.LICENSE.txt +0 -137
  421. /package/dist/components/{NcAppNavigationToggle → NcAppNavigation}/NcAppNavigationToggle.vue.d.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_l10n-ZllQPIu_.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"actionGlobal-BZFdtdJL.mjs","sources":["../../src/mixins/actionGlobal.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nexport default {\n\tbeforeUpdate() {\n\t\tthis.text = this.getText()\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\t// $slots are not reactive.\n\t\t\t// We need to update the content manually\n\t\t\ttext: this.getText(),\n\t\t}\n\t},\n\n\tcomputed: {\n\t\tisLongText() {\n\t\t\treturn this.text && this.text.trim().length > 20\n\t\t},\n\t},\n\n\tmethods: {\n\t\tgetText() {\n\t\t\treturn this.$slots.default?.()[0].children?.trim?.() || ''\n\t\t},\n\t},\n}\n"],"names":[],"mappings":"AAKA,MAAe,oBAAA;AAAA,EACd,eAAe;AACd,SAAK,OAAO,KAAK,QAAO;AAAA,EACxB;AAAA,EAED,OAAO;AACN,WAAO;AAAA;AAAA;AAAA,MAGN,MAAM,KAAK,QAAS;AAAA,IACvB;AAAA,EACE;AAAA,EAED,UAAU;AAAA,IACT,aAAa;AACZ,aAAO,KAAK,QAAQ,KAAK,KAAK,KAAM,EAAC,SAAS;AAAA,IAC9C;AAAA,EACD;AAAA,EAED,SAAS;AAAA,IACR,UAAU;AACT,aAAO,KAAK,OAAO,UAAO,EAAK,CAAC,EAAE,UAAU,YAAY;AAAA,IACxD;AAAA,EACD;AACF;"}
1
+ {"version":3,"file":"actionGlobal-BZFdtdJL.mjs","sources":["../../src/mixins/actionGlobal.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nexport default {\n\tbeforeUpdate() {\n\t\tthis.text = this.getText()\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\t// $slots are not reactive.\n\t\t\t// We need to update the content manually\n\t\t\ttext: this.getText(),\n\t\t}\n\t},\n\n\tcomputed: {\n\t\tisLongText() {\n\t\t\treturn this.text && this.text.trim().length > 20\n\t\t},\n\t},\n\n\tmethods: {\n\t\tgetText() {\n\t\t\treturn this.$slots.default?.()[0].children?.trim?.() || ''\n\t\t},\n\t},\n}\n"],"names":[],"mappings":"AAKA,MAAA,oBAAe;AAAA,EACd,eAAe;AACd,SAAK,OAAO,KAAK,QAAO;AAAA,EACzB;AAAA,EAEA,OAAO;AACN,WAAO;AAAA;AAAA;AAAA,MAGN,MAAM,KAAK,QAAO;AAAA,IACrB;AAAA,EACC;AAAA,EAEA,UAAU;AAAA,IACT,aAAa;AACZ,aAAO,KAAK,QAAQ,KAAK,KAAK,KAAI,EAAG,SAAS;AAAA,IAC/C;AAAA,EACF;AAAA,EAEC,SAAS;AAAA,IACR,UAAU;AACT,aAAO,KAAK,OAAO,UAAO,EAAK,CAAC,EAAE,UAAU,YAAY;AAAA,IACzD;AAAA,EACF;AACA;"}
@@ -1 +1 @@
1
- {"version":3,"file":"actionText-DdSwf9le.mjs","sources":["../../src/mixins/actionText.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport actionGlobal from './actionGlobal.js'\nimport { NC_ACTIONS_CLOSE_MENU } from '../components/NcActions/useNcActions.ts'\nimport { warn } from 'vue'\n\nexport default {\n\tmixins: [actionGlobal],\n\tprops: {\n\t\t/**\n\t\t * Icon to show with the action, can be either a CSS class or an URL\n\t\t */\n\t\ticon: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * The main text content of the entry.\n\t\t */\n\t\tname: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * The title attribute of the element.\n\t\t */\n\t\ttitle: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * Whether we close the Actions menu after the click\n\t\t */\n\t\tcloseAfterClick: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t\t/**\n\t\t * Aria label for the button. Not needed if the button has text.\n\t\t */\n\t\tariaLabel: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t},\n\n\tinject: {\n\t\tcloseMenu: {\n\t\t\tfrom: NC_ACTIONS_CLOSE_MENU,\n\t\t},\n\t},\n\n\temits: [\n\t\t'click',\n\t],\n\n\tcreated() {\n\t\tif ('ariaHidden' in this.$attrs) {\n\t\t\twarn('[NcAction*]: Do not set the ariaHidden attribute as the root element will inherit the incorrect aria-hidden.')\n\t\t}\n\t},\n\n\tcomputed: {\n\t\t/**\n\t\t * Check if icon prop is an URL\n\t\t * @return {boolean} Whether the icon prop is an URL\n\t\t */\n\t\tisIconUrl() {\n\t\t\ttry {\n\t\t\t\treturn !!(new URL(this.icon, this.icon.startsWith('/') ? window.location.origin : undefined))\n\t\t\t} catch (error) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t},\n\t},\n\n\tmethods: {\n\t\tonClick(event) {\n\t\t\t/**\n\t\t\t * Emitted when the action is clicked\n\t\t\t *\n\t\t\t * @type {Event}\n\t\t\t */\n\t\t\tthis.$emit('click', event)\n\n\t\t\tif (this.closeAfterClick) {\n\t\t\t\tthis.closeMenu(false)\n\t\t\t}\n\t\t},\n\t},\n}\n"],"names":["actionGlobal"],"mappings":";;;AASA,MAAe,kBAAA;AAAA,EACd,QAAQ,CAACA,iBAAY;AAAA,EACrB,OAAO;AAAA;AAAA;AAAA;AAAA,IAIN,MAAM;AAAA,MACL,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAID,MAAM;AAAA,MACL,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAID,OAAO;AAAA,MACN,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAID,iBAAiB;AAAA,MAChB,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAID,WAAW;AAAA,MACV,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,EACD;AAAA,EAED,QAAQ;AAAA,IACP,WAAW;AAAA,MACV,MAAM;AAAA,IACN;AAAA,EACD;AAAA,EAED,OAAO;AAAA,IACN;AAAA,EACA;AAAA,EAED,UAAU;AACT,QAAI,gBAAgB,KAAK,QAAQ;AAChC,WAAK,8GAA8G;AAAA,IACtH;AAAA,EACE;AAAA,EAED,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA,IAKT,YAAY;AACX,UAAI;AACH,eAAO,CAAC,CAAE,IAAI,IAAI,KAAK,MAAM,KAAK,KAAK,WAAW,GAAG,IAAI,OAAO,SAAS,SAAS,MAAS;AAAA,MAC3F,SAAQ,OAAO;AACf,eAAO;AAAA,MACX;AAAA,IACG;AAAA,EACD;AAAA,EAED,SAAS;AAAA,IACR,QAAQ,OAAO;AAMd,WAAK,MAAM,SAAS,KAAK;AAEzB,UAAI,KAAK,iBAAiB;AACzB,aAAK,UAAU,KAAK;AAAA,MACxB;AAAA,IACG;AAAA,EACD;AACF;"}
1
+ {"version":3,"file":"actionText-DdSwf9le.mjs","sources":["../../src/mixins/actionText.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport actionGlobal from './actionGlobal.js'\nimport { NC_ACTIONS_CLOSE_MENU } from '../components/NcActions/useNcActions.ts'\nimport { warn } from 'vue'\n\nexport default {\n\tmixins: [actionGlobal],\n\tprops: {\n\t\t/**\n\t\t * Icon to show with the action, can be either a CSS class or an URL\n\t\t */\n\t\ticon: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * The main text content of the entry.\n\t\t */\n\t\tname: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * The title attribute of the element.\n\t\t */\n\t\ttitle: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\t/**\n\t\t * Whether we close the Actions menu after the click\n\t\t */\n\t\tcloseAfterClick: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t\t/**\n\t\t * Aria label for the button. Not needed if the button has text.\n\t\t */\n\t\tariaLabel: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t},\n\n\tinject: {\n\t\tcloseMenu: {\n\t\t\tfrom: NC_ACTIONS_CLOSE_MENU,\n\t\t},\n\t},\n\n\temits: [\n\t\t'click',\n\t],\n\n\tcreated() {\n\t\tif ('ariaHidden' in this.$attrs) {\n\t\t\twarn('[NcAction*]: Do not set the ariaHidden attribute as the root element will inherit the incorrect aria-hidden.')\n\t\t}\n\t},\n\n\tcomputed: {\n\t\t/**\n\t\t * Check if icon prop is an URL\n\t\t * @return {boolean} Whether the icon prop is an URL\n\t\t */\n\t\tisIconUrl() {\n\t\t\ttry {\n\t\t\t\treturn !!(new URL(this.icon, this.icon.startsWith('/') ? window.location.origin : undefined))\n\t\t\t} catch (error) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t},\n\t},\n\n\tmethods: {\n\t\tonClick(event) {\n\t\t\t/**\n\t\t\t * Emitted when the action is clicked\n\t\t\t *\n\t\t\t * @type {Event}\n\t\t\t */\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A;"}
@@ -2,6 +2,10 @@ import { getBaseUrl, getRootUrl } from "@nextcloud/router";
2
2
  import { u } from "unist-builder";
3
3
  import { visit, SKIP } from "unist-util-visit";
4
4
  import { defineComponent, h } from "vue";
5
+ /*!
6
+ * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
7
+ * SPDX-License-Identifier: AGPL-3.0-or-later
8
+ */
5
9
  const URL_PATTERN = /(\s|^)(https?:\/\/)([-A-Z0-9+_.]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\s|$)/ig;
6
10
  const URL_PATTERN_AUTOLINK = /(\s|\(|^)((https?:\/\/)([-A-Z0-9+_.]+[-A-Z0-9]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*))(?=\s|\)|$)/ig;
7
11
  const NcLink = defineComponent({
@@ -110,4 +114,4 @@ export {
110
114
  parseUrl as p,
111
115
  remarkAutolink as r
112
116
  };
113
- //# sourceMappingURL=autolink-CKPk5rzg.mjs.map
117
+ //# sourceMappingURL=autolink-Y0rlJ_CI.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"autolink-Y0rlJ_CI.mjs","sources":["../../src/components/NcRichText/helpers.ts","../../src/components/NcRichText/autolink.ts"],"sourcesContent":["/*!\n * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport type { Literal } from 'unist'\n\n/**\n * Unist literal node with string value like code blocks or text nodes\n */\nexport interface TextNode extends Literal {\n\tvalue: string\n}\n\n/**\n * Regex pattern to match links to be resolved by the link-reference provider\n */\nexport const URL_PATTERN = /(\\s|^)(https?:\\/\\/)([-A-Z0-9+_.]+(?::[0-9]+)?(?:\\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\\s|$)/ig\n\n/**\n * Regex pattern to identify strings as links and then making them clickable\n */\nexport const URL_PATTERN_AUTOLINK = /(\\s|\\(|^)((https?:\\/\\/)([-A-Z0-9+_.]+[-A-Z0-9]+(?::[0-9]+)?(?:\\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*))(?=\\s|\\)|$)/ig\n","/**\n * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { URL_PATTERN_AUTOLINK } from './helpers.js'\n\nimport type { Router } from 'vue-router'\nimport { getBaseUrl, getRootUrl } from '@nextcloud/router'\nimport { u } from 'unist-builder'\nimport { visit, SKIP } from 'unist-util-visit'\nimport { defineComponent, h } from 'vue'\n\nconst NcLink = defineComponent({\n\tname: 'NcLink',\n\tprops: {\n\t\thref: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t},\n\trender() {\n\t\treturn h('a', {\n\t\t\thref: this.href,\n\t\t\trel: 'noopener noreferrer',\n\t\t\ttarget: '_blank',\n\t\t\tclass: 'rich-text--external-link',\n\t\t}, [this.href.trim()])\n\t},\n})\n\nexport const remarkAutolink = function({ autolink, useMarkdown, useExtendedMarkdown }) {\n\treturn function(tree) {\n\t\t// remark-gfm has its own autolink parser which can not be disabled\n\t\t// and thus a local one is not needed\n\t\tif (useExtendedMarkdown || !useMarkdown || !autolink) {\n\t\t\treturn\n\t\t}\n\n\t\tvisit(tree, (node) => node.type === 'text', (node, index, parent) => {\n\t\t\tlet parsed = parseUrl(node.value)\n\t\t\tif (typeof parsed === 'string') {\n\t\t\t\tparsed = [u('text', parsed)]\n\t\t\t} else {\n\t\t\t\tparsed = parsed\n\t\t\t\t\t.map((n) => {\n\t\t\t\t\t\tif (typeof n === 'string') {\n\t\t\t\t\t\t\treturn u('text', n)\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn u('link', {\n\t\t\t\t\t\t\turl: n.props.href,\n\t\t\t\t\t\t}, [u('text', n.props.href)])\n\t\t\t\t\t})\n\t\t\t\t\t.filter((x) => x)\n\t\t\t\t\t.flat()\n\t\t\t}\n\n\t\t\tparent.children.splice(index, 1, ...parsed)\n\t\t\treturn [SKIP, (index ?? 0) + parsed.length]\n\t\t})\n\t}\n}\n\nexport const parseUrl = (text: string) => {\n\tlet match = URL_PATTERN_AUTOLINK.exec(text)\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\tconst list: (string|Record<string, any>)[] = []\n\tlet start = 0\n\twhile (match !== null) {\n\t\tlet href = match[2]!\n\t\tlet textAfter\n\t\tlet textBefore = text.substring(start, match.index + match[1]!.length)\n\t\tif (href[0] === ' ') {\n\t\t\ttextBefore += href[0]\n\t\t\thref = href.substring(1).trim()\n\t\t}\n\t\tconst lastChar = href[(href.length - 1)]\n\t\tif (lastChar === '.' || lastChar === ',' || lastChar === ';' || (match[0][0] === '(' && lastChar === ')')) {\n\t\t\thref = href.substring(0, href.length - 1)\n\t\t\ttextAfter = lastChar\n\t\t}\n\t\tlist.push(textBefore)\n\t\tlist.push({ component: NcLink, props: { href } })\n\t\tif (textAfter) {\n\t\t\tlist.push(textAfter)\n\t\t}\n\t\tstart = match.index + match[0].length\n\t\tmatch = URL_PATTERN_AUTOLINK.exec(text)\n\t}\n\tlist.push(text.substring(start))\n\tconst joinedText = list.map((item) => typeof item === 'string' ? item : item.props.href).join('')\n\tif (text === joinedText) {\n\t\treturn list\n\t}\n\tconsole.error('Failed to reassemble the chunked text: ' + text)\n\treturn text\n}\n\n/**\n * Try to get path for router link from an absolute or relative URL.\n *\n * @param {Router} router - VueRouter instance of the router link\n * @param {string} url - absolute URL to parse\n * @return {string|null} a path that can be used in the router link or null if this URL doesn't match this router config\n * @example http://cloud.ltd/nextcloud/index.php/apps/files/favorites?fileid=2#fragment => /files/favorites?fileid=2#fragment\n */\nexport const getRoute = (router: Router, url: string): string | null => {\n\t/**\n\t * http://cloud.ltd /nextcloud /index.php /apps/files /favorites?fileid=2#fragment\n\t * |_____origin____|___________router-base____________| |\n\t * |__________base____________| |______________relative-url______________|\n\t * | |___root___|_optional_|__app-base__|_________router-path_______|\n\t */\n\n\tconst removePrefix = (str, prefix) => str.startsWith(prefix) ? str.slice(prefix.length) : str\n\tconst removePrefixes = (str, ...prefixes) => prefixes.reduce((acc, prefix) => removePrefix(acc, prefix), str)\n\n\t// Router is not defined in the app => not an app route\n\tif (!router) {\n\t\treturn null\n\t}\n\n\tconst isAbsoluteURL = /^https?:\\/\\//.test(url)\n\n\t// URL is a \"mailto:\", \"tel:\" or any custom app protocol link\n\tconst isNonHttpLink = /^[a-z][a-z0-9+.-]*:.+/.test(url)\n\tif (!isAbsoluteURL && isNonHttpLink) {\n\t\treturn null\n\t}\n\n\t// URL is not a link to this Nextcloud server instance => not an app route\n\tif (isAbsoluteURL && !url.startsWith(getBaseUrl())) {\n\t\treturn null\n\t}\n\n\tif (!isAbsoluteURL && !url.startsWith('/')) {\n\t\t// Relative URL without a leading slash are not allowed\n\t\t// VueRouter handles such urls according to the URL RFC,\n\t\t// for example, being on /call/abc page, link \"def\" is resolved as \"/call/def\" relative to \"/call/\".\n\t\t// We don't want to support such links,\n\t\t// so relative URL MUST start with a slash.\n\t\treturn null\n\t}\n\n\t// URL relative to the instance root\n\tconst relativeUrl = isAbsoluteURL ? removePrefixes(url, getBaseUrl(), '/index.php') : url\n\n\t// Router base relative to the instance root (app-base above)\n\tconst relativeRouterBase = removePrefixes(router.options.history.base, getRootUrl(), '/index.php')\n\n\t// Root route may have an empty '' path, fallback to '/'\n\tconst potentialRouterPath = removePrefixes(relativeUrl, relativeRouterBase) || '/'\n\n\t// Check if there is actually matching route in the router for this path\n\tconst route = router.resolve(potentialRouterPath)\n\n\tif (!route.matched.length) {\n\t\treturn null\n\t}\n\n\treturn route.fullPath\n}\n"],"names":[],"mappings":";;;;AAAA;AAAA;AAAA;AAAA;AAiBO,MAAM,cAAc;AAKpB,MAAM,uBAAuB;ACTpC,MAAM,SAAS,gBAAgB;AAAA,EAC9B,MAAM;AAAA,EACN,OAAO;AAAA,IACN,MAAM;AAAA,MACL,MAAM;AAAA,MAC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AA,EACR;AAGA,MAAI,iBAAiB,CAAC,IAAI,WAAW,WAAA,CAAY,GAAG;AACnD,WAAO;AAAA,EACR;AAEA,MAAI,CAAC,iBAAiB,CAAC,IAAI,WAAW,GAAG,GAAG;AAM3C,WAAO;AAAA,EACR;AAGA,QAAM,cAAc,gBAAgB,eAAe,KAAK,WAAA,GAAc,YAAY,IAAI;AAGtF,QAAM,qBAAqB,eAAe,OAAO,QAAQ,QAAQ,MAAM,WAAA,GAAc,YAAY;AAGjG,QAAM,sBAAsB,eAAe,aAAa,kBAAkB,KAAK;AAG/E,QAAM,QAAQ,OAAO,QAAQ,mBAAmB;AAEhD,MAAI,CAAC,MAAM,QAAQ,QAAQ;AAC1B,WAAO;AAAA,EACR;AAEA,SAAO,MAAM;AACd;"}
@@ -1,4 +1,4 @@
1
- import { r as register, t as t3, a as t } from "./_l10n-tXci8WM1.mjs";
1
+ import { r as register, t as t3, a as t } from "./_l10n-ZllQPIu_.mjs";
2
2
  register(t3);
3
3
  class Color {
4
4
  /**
@@ -136,4 +136,4 @@ export {
136
136
  defaultPalette as d,
137
137
  generatePalette as g
138
138
  };
139
- //# sourceMappingURL=colors-BaTbJhvg.mjs.map
139
+ //# sourceMappingURL=colors-B71CwSnx.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"colors-BaTbJhvg.mjs","sources":["../../src/utils/colors.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { t } from '../l10n.js'\n\nexport class Color {\n\n\t/**\n\t * @param r - The red value\n\t * @param g - The green value\n\t * @param b - The blue value\n\t * @param name - The name of the color\n\t */\n\tconstructor(\n\t\tpublic readonly r: number,\n\t\tpublic readonly g: number,\n\t\tpublic readonly b: number,\n\t\tpublic readonly name?: string,\n\t) {\n\t\tthis.r = Math.min(r, 255)\n\t\tthis.g = Math.min(g, 255)\n\t\tthis.b = Math.min(b, 255)\n\t\tthis.name = name\n\t}\n\n\t/**\n\t * The hexadecimal color string.\n\t */\n\tget color(): string {\n\t\tconst toHex = (int: number) => `00${int.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 increment needed to blend color1 into color2 within specified number of steps.\n *\n * @param steps - The number of steps\n * @param color1 - The color to start with\n * @param color2 - The color to end at\n * @return The increment needed per color channel\n */\nfunction calculateStepIncrement(steps: number, color1: Color, color2: Color): { r: number, g: number, b: number } {\n\treturn {\n\t\tr: (color2.r - color1.r) / steps,\n\t\tg: (color2.g - color1.g) / steps,\n\t\tb: (color2.b - color1.b) / steps,\n\t}\n}\n\n/**\n * Create a color palette from two colors\n *\n * @param steps - The number of steps the palette should have\n * @param color1 - The first color to mix\n * @param color2 - The second color to mix\n * @return The created palette array (mixed `color1` and `color2` with `steps` steps)\n */\nfunction mixPalette(steps: number, color1: Color, color2: Color): Color[] {\n\tconst palette: Color[] = []\n\tpalette.push(color1)\n\tconst increment = calculateStepIncrement(steps, color1, color2)\n\tfor (let i = 1; i < steps; i++) {\n\t\tconst r = Math.floor(color1.r + increment.r * i)\n\t\tconst g = Math.floor(color1.g + increment.g * i)\n\t\tconst b = Math.floor(color1.b + increment.b * 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 *\n * For example if steps is set to 6, then 3 colors * 6 will result in 18 generated colors.\n *\n * @param steps - Number of steps to go from a color to another\n */\nexport function generatePalette(steps: number): Color[] {\n\tif (steps <= 0) {\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":[],"mappings":";;AAOO,MAAM,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQlB,YACiB,GACA,GACA,GACA,MACf;AAJe,SAAA,IAAA;AACA,SAAA,IAAA;AACA,SAAA,IAAA;AACA,SAAA,OAAA;AAEhB,SAAK,IAAI,KAAK,IA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OAAO,MAAM,GAAG;AAE5C,SAAO,SAAS,OAAO,QAAQ,EAAE,OAAO,QAAQ;AACjD;"}
1
+ {"version":3,"file":"colors-B71CwSnx.mjs","sources":["../../src/utils/colors.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { t } from '../l10n.ts'\n\nexport class Color {\n\n\t/**\n\t * @param r - The red value\n\t * @param g - The green value\n\t * @param b - The blue value\n\t * @param name - The name of the color\n\t */\n\tconstructor(\n\t\tpublic readonly r: number,\n\t\tpublic readonly g: number,\n\t\tpublic readonly b: number,\n\t\tpublic readonly name?: string,\n\t) {\n\t\tthis.r = Math.min(r, 255)\n\t\tthis.g = Math.min(g, 255)\n\t\tthis.b = Math.min(b, 255)\n\t\tthis.name = name\n\t}\n\n\t/**\n\t * The hexadecimal color string.\n\t */\n\tget color(): string {\n\t\tconst toHex = (int: number) => `00${int.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 increment needed to blend color1 into color2 within specified number of steps.\n *\n * @param steps - The number of steps\n * @param color1 - The color to start with\n * @param color2 - The color to end at\n * @return The increment needed per color channel\n */\nfunction calculateStepIncrement(steps: number, color1: Color, color2: Color): { r: number, g: number, b: number } {\n\treturn {\n\t\tr: (color2.r - color1.r) / steps,\n\t\tg: (color2.g - color1.g) / steps,\n\t\tb: (color2.b - color1.b) / steps,\n\t}\n}\n\n/**\n * Create a color palette from two colors\n *\n * @param steps - The number of steps the palette should have\n * @param color1 - The first color to mix\n * @param color2 - The second color to mix\n * @return The created palette array (mixed `color1` and `color2` with `steps` steps)\n */\nfunction mixPalette(steps: number, color1: Color, color2: Color): Color[] {\n\tconst palette: Color[] = []\n\tpalette.push(color1)\n\tconst increment = calculateStepIncrement(steps, color1, color2)\n\tfor (let i = 1; i < steps; i++) {\n\t\tconst r = Math.floor(color1.r + increment.r * i)\n\t\tconst g = Math.floor(color1.g + increment.g * i)\n\t\tconst b = Math.floor(color1.b + increment.b * 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 *\n * For example if steps is set to 6, then 3 colors * 6 will result in 18 generated colors.\n *\n * @param steps - Number of steps to go from a color to another\n */\nexport function generatePalette(steps: number): Color[] {\n\tif (steps <= 0) {\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":[],"mappings":";;AAOO,MAAM,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQlB,YACiB,GACA,GACA,GACA,MACf;AAJe,SAAA,IAAA;AACA,SAAA,IAAA;AACA,SAAA,IAAA;AACA,SAAA,OAAA;AAEhB,SAAK,IAAI,KAAK,IAAI,GAAG,GAAG;AACxB,SAAK,IAAI,KAAK,IAAI,GAAG,GAAG;AACxB,SAAK,IAAI,KAAK,IAAI,GAAG,GAAG;AACxB,SAAK,OAAO;AAAA,EACb;AAAA;AAAA;AAAA;AAAA,EAKA,IAAI,QAAgB;AACnB,UAAM,QAAQ,CAAC,QAAgB,KAAK,IAAI,SAAS,EAAE,CAAC,GAAG,MAAM,EAAE;AAC/D,WAAO,IAAI,MAAM,KAAK,CAAC,CAAC,GAAG,MAAM,KAAK,CAAC,CAAC,GAAG,MAAM,KAAK,CAAC,CAAC;AAAA,EACzD;AAED;AAUA,SAAS,uBAAuB,OAAe,QAAe,QAAoD;AACjH,SAAO;AAAA,IACN,IAAI,OAAO,IAAI,OAAO,KAAK;AAAA,IAC3B,IAAI,OAAO,IAAI,OAAO,KAAK;AAAA,IAC3B,IAAI,OAAO,IAAI,OAAO,KAAK;AAAA,EAAA;AAE7B;AAUA,SAAS,WAAW,OAAe,QAAe,QAAwB;AACzE,QAAM,UAAmB,CAAA;AACzB,UAAQ,KAAK,MAAM;AACnB,QAAM,YAAY,uBAAuB,OAAO,QAAQ,MAAM;AAC9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A,EAEZ,IAAI;AAAA,IACH;AAAA,IAAI;AAAA,IAAK;AAAA,IACT,EAAE,aAAa;AAAA;AAAA,EAAA;AAAA,EAEhB,IAAI;AAAA,IACH;AAAA,IAAK;AAAA,IAAI;AAAA,IACT,EAAE,QAAQ;AAAA;AAAA,EAAA;AAEZ;AAUO,SAAS,gBAAgB,OAAwB;AASvD,QAAM,MAAM,IAAI,MAAM,KAAK,IAAI,KAAK,EAAE,QAAQ,CAAC;AAC/C,QAAM,SAAS,IAAI,MAAM,KAAK,KAAK,IAAI,EAAE,MAAM,CAAC;AAChD,QAAM,OAAO,IAAI,MAAM,GAAG,KAAK,KAAK,EAAE,gBAAgB,CAAC;AAEvD,QAAM,WAAW,WAAW,OAAO,KAAK,MAAM;AAC9C,QAAM,WAAW,WAAW,OAAO,QAAQ,IAAI;AAC/C,QAAM,WAAW,WAAW,OAAO,MAAM,GAAG;AAE5C,SAAO,SAAS,OAAO,QAAQ,EAAE,OAAO,QAAQ;AACjD;"}
@@ -1 +1 @@
1
- {"version":3,"file":"constants-Bls5liKo.mjs","sources":["../../src/composables/useIsDarkTheme/constants.ts"],"sourcesContent":["/*!\n * SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport type { ComputedRef, InjectionKey } from 'vue'\n\n/**\n * Enforced dark / light theme state\n *\n * @private\n */\nexport const INJECTION_KEY_THEME: InjectionKey<ComputedRef<'light' | 'dark' | ''>> = Symbol.for('nc:theme:enforced')\n"],"names":[],"mappings":"AAAA;AAAA;AAAA;AAAA;AAYa,MAAA,sBAAwE,OAAO,IAAI,mBAAmB;"}
1
+ {"version":3,"file":"constants-Bls5liKo.mjs","sources":["../../src/composables/useIsDarkTheme/constants.ts"],"sourcesContent":["/*!\n * SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport type { ComputedRef, InjectionKey } from 'vue'\n\n/**\n * Enforced dark / light theme state\n *\n * @private\n */\nexport const INJECTION_KEY_THEME: InjectionKey<ComputedRef<'light' | 'dark' | ''> | undefined> = Symbol.for('nc:theme:enforced')\n"],"names":[],"mappings":"AAAA;AAAA;AAAA;AAAA;AAYO,MAAM,sBAAoF,OAAO,IAAI,mBAAmB;"}
@@ -1 +1 @@
1
- {"version":3,"file":"createElementId-DhjFt1I9.mjs","sources":["../../src/utils/createElementId.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n// make sure the id is unique\nwindow._nc_vue_element_id = window._nc_vue_element_id ?? 0\n\n/**\n * Get the next element id for use with HTML / CSS\n *\n * We can not be sure that the app has a prefix setup,\n * so we can use `useId` from Vue - so we need to use our own implementation.\n */\nexport function createElementId(): string {\n\treturn `nc-vue-${window._nc_vue_element_id!++}`\n}\n"],"names":[],"mappings":"AAKA,OAAO,qBAAqB,OAAO,sBAAsB;AAQlD,SAAS,kBAA0B;AAClC,SAAA,UAAU,OAAO,oBAAqB;AAC9C;"}
1
+ {"version":3,"file":"createElementId-DhjFt1I9.mjs","sources":["../../src/utils/createElementId.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n// make sure the id is unique\nwindow._nc_vue_element_id = window._nc_vue_element_id ?? 0\n\n/**\n * Get the next element id for use with HTML / CSS\n *\n * We can not be sure that the app has a prefix setup,\n * so we can use `useId` from Vue - so we need to use our own implementation.\n */\nexport function createElementId(): string {\n\treturn `nc-vue-${window._nc_vue_element_id!++}`\n}\n"],"names":[],"mappings":"AAKA,OAAO,qBAAqB,OAAO,sBAAsB;AAQlD,SAAS,kBAA0B;AACzC,SAAO,UAAU,OAAO,oBAAqB;AAC9C;"}
@@ -69,7 +69,7 @@ function isCustomPickerElementRegistered(id) {
69
69
  }
70
70
  function getCustomPickerElementSize(id) {
71
71
  const size = window._vue_richtext_custom_picker_elements[id]?.size;
72
- if (["small", "normal", "large", "full"].includes(size)) {
72
+ if (size && ["small", "normal", "large", "full"].includes(size)) {
73
73
  return size;
74
74
  }
75
75
  return null;
@@ -115,4 +115,4 @@ export {
115
115
  hasFullWidth as j,
116
116
  registerWidget as r
117
117
  };
118
- //# sourceMappingURL=customPickerElements-CH9vlHLd.mjs.map
118
+ //# sourceMappingURL=customPickerElements-BmkXSNdO.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"customPickerElements-CH9vlHLd.mjs","sources":["../../src/functions/reference/widgets.ts","../../src/functions/reference/customPickerElements.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport logger from '../../utils/logger.ts'\n\nexport interface ReferenceWidgetRenderProperties {\n\trichObjectType: string;\n\trichObject: object;\n\taccessible: boolean;\n\tinteractive: boolean;\n}\n\ntype ReferenceWidgetRenderCallback = (el: HTMLElement, properties: ReferenceWidgetRenderProperties) => void;\ntype ReferenceWidgetDestroyCallback = (el: HTMLElement) => void;\n\nexport interface ReferenceWidgetProps {\n\tid: string;\n\thasInteractiveView: boolean;\n\tfullWidth: boolean;\n\tcallback: ReferenceWidgetRenderCallback;\n\tonDestroy: ReferenceWidgetDestroyCallback;\n}\n\nwindow._vue_richtext_widgets ??= {}\nwindow._registerWidget ??= (id: string, callback: ReferenceWidgetRenderCallback, onDestroy: ReferenceWidgetDestroyCallback, props: Partial<ReferenceWidgetProps>) => {\n\tregisterWidget(id, callback, onDestroy, props)\n}\n\n/**\n * Register a new reference widget\n *\n * @param id - Id tof the widget\n * @param callback - Render callback\n * @param onDestroy - Cleanup callback\n * @param props - Widget props\n */\nexport function registerWidget(\n\tid: string,\n\tcallback: ReferenceWidgetRenderCallback,\n\tonDestroy: ReferenceWidgetDestroyCallback = () => {},\n\tprops?: Partial<ReferenceWidgetProps>,\n) {\n\tconst propsWithDefaults = {\n\t\thasInteractiveView: true,\n\t\tfullWidth: false,\n\t\t...props,\n\t}\n\n\tif (window._vue_richtext_widgets[id]) {\n\t\tlogger.error(`[ReferencePicker]: Widget for id ${id} already registered`)\n\t\treturn\n\t}\n\n\twindow._vue_richtext_widgets[id] = {\n\t\tid,\n\t\tcallback,\n\t\tonDestroy,\n\t\t...propsWithDefaults,\n\t}\n}\n\n/**\n * Render a reference widget to a given HTML element.\n *\n * @param el - The element to render widget to\n * @param options - render options\n */\nexport function renderWidget(el: HTMLElement, options: ReferenceWidgetRenderProperties) {\n\tconst { richObjectType, richObject, accessible, interactive } = options\n\tif (richObjectType === 'open-graph') {\n\t\treturn\n\t}\n\n\tif (!window._vue_richtext_widgets[richObjectType]) {\n\t\tconsole.error('Widget for rich object type ' + richObjectType + ' not registered')\n\t\treturn\n\t}\n\n\twindow._vue_richtext_widgets[richObjectType].callback(el, { richObjectType, richObject, accessible, interactive })\n}\n\n/**\n * Call the cleanup callback of the reference widget for given object type.\n *\n * @param richObjectType - The object type\n * @param el - The element\n */\nexport function destroyWidget(richObjectType: string, el: HTMLElement) {\n\tif (richObjectType === 'open-graph') {\n\t\treturn\n\t}\n\n\tif (!window._vue_richtext_widgets[richObjectType]) {\n\t\treturn\n\t}\n\n\twindow._vue_richtext_widgets[richObjectType].onDestroy(el)\n}\n\n/**\n * Check if a widget with the give id is registered.\n * @param id - Id of the widget\n */\nexport function isWidgetRegistered(id: string): boolean {\n\treturn !!window._vue_richtext_widgets[id]\n}\n\n/**\n * Check if the given widget has an interactive view.\n *\n * @param id - Id of the widget\n */\nexport function hasInteractiveView(id: string): boolean {\n\treturn !!window._vue_richtext_widgets[id]?.hasInteractiveView\n}\n\n/**\n * Check if the widget supports full width.\n *\n * @param id - Id of the widget\n */\nexport function hasFullWidth(id: string): boolean {\n\treturn !!window._vue_richtext_widgets[id]?.fullWidth\n}\n","/**\n * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport logger from '../../utils/logger'\n\nwindow._vue_richtext_custom_picker_elements ??= {}\nwindow._registerCustomPickerElement ??= registerCustomPickerElement\n\n/**\n * Representation of the render callback result\n * It contains a dom element and an object (Vue instance or other fancy things)\n */\nexport class NcCustomPickerRenderResult {\n\n\tpublic element: HTMLElement\n\tpublic object: object\n\n\t/**\n\t * @param element - The HTML element\n\t * @param object - The object\n\t */\n\tconstructor(element: HTMLElement, object: object) {\n\t\tthis.element = element\n\t\tthis.object = object\n\t}\n\n}\n\ninterface CustomPickerElementProps {\n\tproviderId: number\n\taccessible: boolean\n}\n\ntype CustomPickerElementRegistrationCallback = (el: HTMLElement, options: CustomPickerElementProps) => void\ntype CustomPickerElementDestroyCallback = (el: HTMLElement, result: NcCustomPickerRenderResult) => void\n\nexport interface CustomPickerElement {\n\tid: string\n\tsize: 'small' | 'normal' | 'large' | 'full'\n\n\tcallback: CustomPickerElementRegistrationCallback\n\tonDestroy: CustomPickerElementDestroyCallback\n}\n\n/**\n * @param id - Id of the element to check\n */\nexport function isCustomPickerElementRegistered(id: string): boolean {\n\treturn !!window._vue_richtext_custom_picker_elements[id]\n}\n\n/**\n * @param id - Id of the element to get\n */\nexport function getCustomPickerElementSize(id: string): 'small' | 'normal' | 'large' | 'full' | null {\n\tconst size = window._vue_richtext_custom_picker_elements[id]?.size\n\tif (['small', 'normal', 'large', 'full'].includes(size)) {\n\t\treturn size\n\t}\n\treturn null\n}\n\n/**\n * @param id - Id of element to register\n * @param callback - Render callback\n * @param onDestroy - Cleanup callback\n * @param size - Size of the element\n */\nexport function registerCustomPickerElement(\n\tid: string,\n\tcallback: CustomPickerElementRegistrationCallback,\n\tonDestroy: CustomPickerElementDestroyCallback = () => {},\n\tsize: CustomPickerElement['size'] = 'large',\n) {\n\tif (window._vue_richtext_custom_picker_elements[id]) {\n\t\tlogger.error(`Custom reference picker element for id ${id} already registered`)\n\t\treturn\n\t}\n\n\twindow._vue_richtext_custom_picker_elements[id] = {\n\t\tid,\n\t\tcallback,\n\t\tonDestroy,\n\t\tsize,\n\t}\n}\n\n/**\n * @param el - element to render to\n * @param options - Element options\n */\nexport function renderCustomPickerElement(el: HTMLElement, options: CustomPickerElementProps) {\n\tconst { providerId, accessible } = options\n\tif (!window._vue_richtext_custom_picker_elements[providerId]) {\n\t\tlogger.error(`Custom reference picker element for reference provider ID ${providerId} not registered`)\n\t\treturn\n\t}\n\n\treturn window._vue_richtext_custom_picker_elements[providerId]\n\t\t.callback(el, { providerId, accessible })\n}\n\n/**\n * @param providerId - Provider id of element to destroy\n * @param el - The element to destroy element from\n * @param renderResult - The render result\n */\nexport function destroyCustomPickerElement(providerId: string, el: HTMLElement, renderResult: NcCustomPickerRenderResult) {\n\tif (!window._vue_richtext_custom_picker_elements[providerId]) {\n\t\treturn\n\t}\n\n\twindow._vue_richtext_custom_picker_elements[providerId]\n\t\t.onDestroy(el, renderResult)\n}\n"],"names":[],"mappings":";AAyBA,OAAO,0BAA0B,CAAC;AAClC,OAAO,oBAAoB,CAAC,IAAY,UAAyC,WAA2C,UAAyC;AACrJ,iBAAA,IAAI,UAAU,WAAW,KAAK;AAC9C;AAUO,SAAS,eACf,IACA,UACA,YAA4C,MAAM;AAAC,GACnD,OACC;AACD,QAAM,oBAAoB;AAAA,IACzB,oBAAoB;AAAA,IACpB,WAAW;AAAA,IACX,GAAG;AAAA,EACJ;AAEI,MAAA,OAAO,sBAAsB,EAAE,GAAG;AAC9B,WAAA,MAAM,oCAAoC,EAAE,qBAAqB;AACxE;AAAA,EAAA;AAGM,SAAA,sBAAsB,EAAE,IAAI;AAAA,IAClC;AAAA,IACA;AAAA,IACA;AAAA,IACA,GAAG;AAAA,EACJ;AACD;AAQgB,SAAA,aAAa,IAAiB,SAA0C;AACvF,QAAM,EAAE,gBAAgB,YAAY,YAAY,YAAgB,IAAA;AAChE,MAAI,mBAAmB,cAAc;AACpC;AAAA,EAA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,qBAAqB;AAC9E;AAAA,EAAA;AAGM,SAAA,qCAAqC,EAAE,IAAI;AAAA,IACjD;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACD;AACD;AAMgB,SAAA,0BAA0B,IAAiB,SAAmC;AACvF,QAAA,EAAE,YAAY,WAAA,IAAe;AACnC,MAAI,CAAC,OAAO,qCAAqC,UAAU,GAAG;AACtD,WAAA,MAAM,6DAA6D,UAAU,iBAAiB;AACrG;AAAA,EAAA;AAGM,SAAA,OAAO,qCAAqC,UAAU,EAC3D,SAAS,IAAI,EAAE,YAAY,YAAY;AAC1C;AAOgB,SAAA,2BAA2B,YAAoB,IAAiB,cAA0C;AACzH,MAAI,CAAC,OAAO,qCAAqC,UAAU,GAAG;AAC7D;AAAA,EAAA;AAGD,SAAO,qCAAqC,UAAU,EACpD,UAAU,IAAI,YAAY;AAC7B;"}
1
+ {"version":3,"file":"customPickerElements-BmkXSNdO.mjs","sources":["../../src/functions/reference/widgets.ts","../../src/functions/reference/customPickerElements.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport logger from '../../utils/logger.ts'\n\nexport interface ReferenceWidgetRenderProperties {\n\trichObjectType: string;\n\trichObject: object;\n\taccessible: boolean;\n\tinteractive: boolean;\n}\n\ntype ReferenceWidgetRenderCallback = (el: HTMLElement, properties: ReferenceWidgetRenderProperties) => void;\ntype ReferenceWidgetDestroyCallback = (el: HTMLElement) => void;\n\nexport interface ReferenceWidgetProps {\n\tid: string;\n\thasInteractiveView: boolean;\n\tfullWidth: boolean;\n\tcallback: ReferenceWidgetRenderCallback;\n\tonDestroy: ReferenceWidgetDestroyCallback;\n}\n\nwindow._vue_richtext_widgets ??= {}\nwindow._registerWidget ??= (id: string, callback: ReferenceWidgetRenderCallback, onDestroy: ReferenceWidgetDestroyCallback, props: Partial<ReferenceWidgetProps>) => {\n\tregisterWidget(id, callback, onDestroy, props)\n}\n\n/**\n * Register a new reference widget\n *\n * @param id - Id tof the widget\n * @param callback - Render callback\n * @param onDestroy - Cleanup callback\n * @param props - Widget props\n */\nexport function registerWidget(\n\tid: string,\n\tcallback: ReferenceWidgetRenderCallback,\n\tonDestroy: ReferenceWidgetDestroyCallback = () => {},\n\tprops?: Partial<ReferenceWidgetProps>,\n) {\n\tconst propsWithDefaults = {\n\t\thasInteractiveView: true,\n\t\tfullWidth: false,\n\t\t...props,\n\t}\n\n\tif (window._vue_richtext_widgets[id]) {\n\t\tlogger.error(`[ReferencePicker]: Widget for id ${id} already registered`)\n\t\treturn\n\t}\n\n\twindow._vue_richtext_widgets[id] = {\n\t\tid,\n\t\tcallback,\n\t\tonDestroy,\n\t\t...propsWithDefaults,\n\t}\n}\n\n/**\n * Render a reference widget to a given HTML element.\n *\n * @param el - The element to render widget to\n * @param options - render options\n */\nexport function renderWidget(el: HTMLElement, options: ReferenceWidgetRenderProperties) {\n\tconst { richObjectType, richObject, accessible, interactive } = options\n\tif (richObjectType === 'open-graph') {\n\t\treturn\n\t}\n\n\tif (!window._vue_richtext_widgets[richObjectType]) {\n\t\tconsole.error('Widget for rich object type ' + richObjectType + ' not registered')\n\t\treturn\n\t}\n\n\twindow._vue_richtext_widgets[richObjectType].callback(el, { richObjectType, richObject, accessible, interactive })\n}\n\n/**\n * Call the cleanup callback of the reference widget for given object type.\n *\n * @param richObjectType - The object type\n * @param el - The element\n */\nexport function destroyWidget(richObjectType: string, el: HTMLElement) {\n\tif (richObjectType === 'open-graph') {\n\t\treturn\n\t}\n\n\tif (!window._vue_richtext_widgets[richObjectType]) {\n\t\treturn\n\t}\n\n\twindow._vue_richtext_widgets[richObjectType].onDestroy(el)\n}\n\n/**\n * Check if a widget with the give id is registered.\n * @param id - Id of the widget\n */\nexport function isWidgetRegistered(id: string): boolean {\n\treturn !!window._vue_richtext_widgets[id]\n}\n\n/**\n * Check if the given widget has an interactive view.\n *\n * @param id - Id of the widget\n */\nexport function hasInteractiveView(id: string): boolean {\n\treturn !!window._vue_richtext_widgets[id]?.hasInteractiveView\n}\n\n/**\n * Check if the widget supports full width.\n *\n * @param id - Id of the widget\n */\nexport function hasFullWidth(id: string): boolean {\n\treturn !!window._vue_richtext_widgets[id]?.fullWidth\n}\n","/**\n * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport logger from '../../utils/logger'\n\nwindow._vue_richtext_custom_picker_elements ??= {}\nwindow._registerCustomPickerElement ??= registerCustomPickerElement\n\n/**\n * Representation of the render callback result\n * It contains a dom element and an object (Vue instance or other fancy things)\n */\nexport class NcCustomPickerRenderResult {\n\n\tpublic element: HTMLElement\n\tpublic object: object\n\n\t/**\n\t * @param element - The HTML element\n\t * @param object - The object\n\t */\n\tconstructor(element: HTMLElement, object: object) {\n\t\tthis.element = element\n\t\tthis.object = object\n\t}\n\n}\n\ninterface CustomPickerElementProps {\n\tproviderId: number\n\taccessible: boolean\n}\n\ntype CustomPickerElementRegistrationCallback = (el: HTMLElement, options: CustomPickerElementProps) => void\ntype CustomPickerElementDestroyCallback = (el: HTMLElement, result: NcCustomPickerRenderResult) => void\n\nexport interface CustomPickerElement {\n\tid: string\n\tsize: 'small' | 'normal' | 'large' | 'full'\n\n\tcallback: CustomPickerElementRegistrationCallback\n\tonDestroy: CustomPickerElementDestroyCallback\n}\n\n/**\n * @param id - Id of the element to check\n */\nexport function isCustomPickerElementRegistered(id: string): boolean {\n\treturn !!window._vue_richtext_custom_picker_elements[id]\n}\n\n/**\n * @param id - Id of the element to get\n */\nexport function getCustomPickerElementSize(id: string): 'small' | 'normal' | 'large' | 'full' | null {\n\tconst size = window._vue_richtext_custom_picker_elements[id]?.size\n\tif (size && ['small', 'normal', 'large', 'full'].includes(size)) {\n\t\treturn size\n\t}\n\treturn null\n}\n\n/**\n * @param id - Id of element to register\n * @param callback - Render callback\n * @param onDestroy - Cleanup callback\n * @param size - Size of the element\n */\nexport function registerCustomPickerElement(\n\tid: string,\n\tcallback: CustomPickerElementRegistrationCallback,\n\tonDestroy: CustomPickerElementDestroyCallback = () => {},\n\tsize: CustomPickerElement['size'] = 'large',\n) {\n\tif (window._vue_richtext_custom_picker_elements[id]) {\n\t\tlogger.error(`Custom reference picker element for id ${id} already registered`)\n\t\treturn\n\t}\n\n\twindow._vue_richtext_custom_picker_elements[id] = {\n\t\tid,\n\t\tcallback,\n\t\tonDestroy,\n\t\tsize,\n\t}\n}\n\n/**\n * @param el - element to render to\n * @param options - Element options\n */\nexport function renderCustomPickerElement(el: HTMLElement, options: CustomPickerElementProps) {\n\tconst { providerId, accessible } = options\n\tif (!window._vue_richtext_custom_picker_elements[providerId]) {\n\t\tlogger.error(`Custom reference picker element for reference provider ID ${providerId} not registered`)\n\t\treturn\n\t}\n\n\treturn window._vue_richtext_custom_picker_elements[providerId]\n\t\t.callback(el, { providerId, accessible })\n}\n\n/**\n * @param providerId - Provider id of element to destroy\n * @param el - The element to destroy element from\n * @param renderResult - The render result\n */\nexport function destroyCustomPickerElement(providerId: string, el: HTMLElement, renderResult: NcCustomPickerRenderResult) {\n\tif (!window._vue_richtext_custom_picker_elements[providerId]) {\n\t\treturn\n\t}\n\n\twindow._vue_richtext_custom_picker_elements[providerId]\n\t\t.onDestroy(el, renderResult)\n}\n"],"names":[],"mappings":";AAyBA,OAAO,0BAA0B,CAAA;AACjC,OAAO,oBAAoB,CAAC,IAAY,UAAyC,WAA2C,UAAyC;AACpK,iBAAe,IAAI,UAAU,WAAW,KAAK;AAC9C;AAUO,SAAS,eACf,IACA,UACA,YAA4C,MAAM;AAAC,GACnD,OACC;AACD,QAAM,oBAAoB;AAAA,IACzB,oBAAoB;AAAA,IACpB,WAAW;AAAA,IACX,GAAG;AAAA,EAAA;AAGJ,MAAI,OAAO,sBAAsB,EAAE,GAAG;AACrC,WAAO,MAAM,oCAAoC,EAAE,qBAAqB;AACxE;AAAA,EACD;AAEA,SAAO,sBAAsB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,EAAE,SAAS,IAAI,GAAG;AAChE,WAAO;AAAA,EACR;AACA,SAAO;AACR;AAQO,SAAS,4BACf,IACA,UACA,YAAgD,MAAM;AAAC,GACvD,OAAoC,SACnC;AACD,MAAI,OAAO,qCAAqC,EAAE,GAAG;AACpD,WAAO,MAAM,0CAA0C,EAAE,qBAAqB;AAC9E;AAAA,EACD;AAEA,SAAO,qCAAqC,EAAE,IAAI;AAAA,IACjD;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA;AAEF;AAMO,SAAS,0BAA0B,IAAiB,SAAmC;AAC7F,QAAM,EAAE,YAAY,WAAA,IAAe;AACnC,MAAI,CAAC,OAAO,qCAAqC,UAAU,GAAG;AAC7D,WAAO,MAAM,6DAA6D,UAAU,iBAAiB;AACrG;AAAA,EACD;AAEA,SAAO,OAAO,qCAAqC,UAAU,EAC3D,SAAS,IAAI,EAAE,YAAY,YAAY;AAC1C;AAOO,SAAS,2BAA2B,YAAoB,IAAiB,cAA0C;AACzH,MAAI,CAAC,OAAO,qCAAqC,UAAU,GAAG;AAC7D;AAAA,EACD;AAEA,SAAO,qCAAqC,UAAU,EACpD,UAAU,IAAI,YAAY;AAC7B;"}
@@ -1 +1 @@
1
- {"version":3,"file":"emoji-BY_D0V5K.mjs","sources":["../../src/functions/emoji/emoji.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { getBuilder } from '@nextcloud/browser-storage'\nimport { EmojiIndex, frequently } from 'emoji-mart-vue-fast'\n\nimport data from 'emoji-mart-vue-fast/data/all.json'\n\nconst storage = getBuilder('nextcloud-vue').persist(true).build()\n\n// Shared emoji index and skinTone for all emojiSearch function calls\n// Will be initialized on the first call\nlet emojiIndex\n\n/**\n * Skin tones supported by Unicode Emojis (Fitzpatrick scale)\n * The numeric values align with `emoji-mart-vue`\n */\nexport enum EmojiSkinTone {\n\tNeutral = 1,\n\tLight = 2,\n\tMediumLight = 3,\n\tMedium = 4,\n\tMediumDark = 5,\n\tDark = 6,\n}\n\n/**\n * Get the list of emojis by search filter or the list of frequently used emojis\n *\n * @param query Emoji search filter string; if no string or empty string is given, the list of frequently used emojis is returned\n * @param maxResults Maximum of returned emojis\n * @return {object[]} list of found emojis in the same format as the emoji-mart-vue-fast's EmojiIndex\n */\nexport function emojiSearch(query: string, maxResults: number = 10): object[] {\n\t// If this is the first call of function - initialize EmojiIndex\n\tif (!emojiIndex) {\n\t\temojiIndex = new EmojiIndex(data)\n\t}\n\tconst currentSkinTone = getCurrentSkinTone()\n\n\tlet results\n\tif (query) {\n\t\tresults = emojiIndex.search(`:${query}`, maxResults)\n\t\tif (results.length < maxResults) {\n\t\t\tresults = results.concat(emojiIndex.search(query, maxResults - results.length))\n\t\t}\n\t} else {\n\t\tresults = frequently.get(maxResults).map((id: number) => emojiIndex.emoji(id)) || []\n\t}\n\n\treturn results.map((emoji) => emoji.getSkin(currentSkinTone))\n}\n\n/**\n * Add emoji to the list of recent emojis.\n * This list can be got from emojiSearch function and it is used in NcEmojiPicker.\n *\n * @param emojiData object with `id` property\n * @param emojiData.id the emoji ID from emoji index\n */\nexport function emojiAddRecent(emojiData: { id: string }): void {\n\tfrequently.add(emojiData)\n}\n\n/**\n * Get the current skin tone index used for emojis\n *\n * @return {EmojiSkinTone} The skin tone\n */\nexport function getCurrentSkinTone(): EmojiSkinTone {\n\tconst skinTone = Number.parseInt(storage.getItem('NcEmojiPicker::currentSkinTone') ?? '1')\n\t// Clamp skinTone to valid ranges\n\treturn Math.min(Math.max(skinTone, EmojiSkinTone.Neutral), EmojiSkinTone.Dark)\n}\n\n/**\n * Set the current active skin tone for emojis\n *\n * @param skinTone Skin tone\n */\nexport function setCurrentSkinTone(skinTone: EmojiSkinTone): void {\n\t// Clamp skinTone to valid ranges\n\tskinTone = Math.min(Math.max(skinTone, EmojiSkinTone.Neutral), EmojiSkinTone.Dark)\n\tstorage.setItem('NcE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,UAA+B;AAEjE,aAAW,KAAK;AAAA,IAAI,KAAK;AAAA,MAAI;AAAA,MAAU;AAAA;AAAA;IAAwB;AAAA;AAAA,EAAkB;AACjF,UAAQ,QAAQ,kCAAkC,SAAS,SAAA,CAAU;AACtE;"}
1
+ {"version":3,"file":"emoji-BY_D0V5K.mjs","sources":["../../src/functions/emoji/emoji.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { getBuilder } from '@nextcloud/browser-storage'\nimport { EmojiIndex, frequently } from 'emoji-mart-vue-fast'\n\nimport data from 'emoji-mart-vue-fast/data/all.json'\n\nconst storage = getBuilder('nextcloud-vue').persist(true).build()\n\n// Shared emoji index and skinTone for all emojiSearch function calls\n// Will be initialized on the first call\nlet emojiIndex\n\n/**\n * Skin tones supported by Unicode Emojis (Fitzpatrick scale)\n * The numeric values align with `emoji-mart-vue`\n */\nexport enum EmojiSkinTone {\n\tNeutral = 1,\n\tLight = 2,\n\tMediumLight = 3,\n\tMedium = 4,\n\tMediumDark = 5,\n\tDark = 6,\n}\n\n/**\n * Get the list of emojis by search filter or the list of frequently used emojis\n *\n * @param query Emoji search filter string; if no string or empty string is given, the list of frequently used emojis is returned\n * @param maxResults Maximum of returned emojis\n * @return {object[]} list of found emojis in the same format as the emoji-mart-vue-fast's EmojiIndex\n */\nexport function emojiSearch(query: string, maxResults: number = 10): object[] {\n\t// If this is the first call of function - initialize EmojiIndex\n\tif (!emojiIndex) {\n\t\temojiIndex = new EmojiIndex(data)\n\t}\n\tconst currentSkinTone = getCurrentSkinTone()\n\n\tlet results\n\tif (query) {\n\t\tresults = emojiIndex.search(`:${query}`, maxResults)\n\t\tif (results.length < maxResults) {\n\t\t\tresults = results.concat(emojiIndex.search(query, maxResults - results.length))\n\t\t}\n\t} else {\n\t\tresults = frequently.get(maxResults).map((id: number) => emojiIndex.emoji(id)) || []\n\t}\n\n\treturn results.map((emoji) => emoji.getSkin(currentSkinTone))\n}\n\n/**\n * Add emoji to the list of recent emojis.\n * This list can be got from emojiSearch function and it is used in NcEmojiPicker.\n *\n * @param emojiData object with `id` property\n * @param emojiData.id the emoji ID from emoji index\n */\nexport function emojiAddRecent(emojiData: { id: string }): void {\n\tfrequently.add(emojiData)\n}\n\n/**\n * Get the current skin tone index used for emojis\n *\n * @return {EmojiSkinTone} The skin tone\n */\nexport function getCurrentSkinTone(): EmojiSkinTone {\n\tconst skinTone = Number.parseInt(storage.getItem('NcEmojiPicker::currentSkinTone') ?? '1')\n\t// Clamp skinTone to valid ranges\n\treturn Math.min(Math.max(skinTone, EmojiSkinTone.Neutral), EmojiSkinTone.Dark)\n}\n\n/**\n * Set the current active skin tone for emojis\n *\n * @param skinTone Skin tone\n */\nexport function setCurrentSkinTone(skinTone: EmojiSkinTone): void {\n\t// Clamp skinTone to valid ranges\n\tskinTone = Math.min(Math.max(skinTone, EmojiSkinTone.Neutral), EmojiSkinTone.Dark)\n\tstorage.setItem('NcEmojiPicker::currentSkinTone', skinTone.toString())\n}\n"],"names":["EmojiSkinTone"],"mappings":";;;AAUA,MAAM,UAAU,WAAW,eAAe,EAAE,QAAQ,IAAI,EAAE,MAAA;AAI1D,IAAI;AAMG,IAAK,kCAAAA,mBAAL;AACNA,iBAAAA,eAAA,aAAU,CAAA,IAAV;AACAA,iBAAAA,eAAA,WAAQ,CAAA,IAAR;AACAA,iBAAAA,eAAA,iBAAc,CAAA,IAAd;AACAA,iBAAAA,eAAA,YAAS,CAAA,IAAT;AACAA,iBAAAA,eAAA,gBAAa,CAAA,IAAb;AACAA,iBAAAA,eAAA,UAAO,CAAA,IAAP;AANW,SAAAA;AAAA,GAAA,iBAAA,CAAA,CAAA;AAgBL,SAAS,YAAY,OAAe,aAAqB,IAAc;AAE7E,MAAI,CAAC,YAAY;AAChB,iBAAa,IAAI,WAAW,IAAI;AAAA,EACjC;AACA,QAAM,kBAAkB,mBAAA;AAExB,MAAI;AACJ,MAAI,OAAO;AACV,cAAU,WAAW,OAAO,IAAI,KAAK,IAAI,UAAU;AACnD,QAAI,QAAQ,SAAS,YAAY;AAChC,gBAAU,QAAQ,OAAO,WAAW,OAAO,OAAO,aAAa,QAAQ,MAAM,CAAC;AAAA,IAC/E;AAAA,EACD,OAAO;AACN,cAAU,WAAW,IAAI,UAAU,EAAE,IAAI,CAAC,OAAe,WAAW,MAAM,EAAE,CAAC,KAAK,CAAA;AAAA,EACnF;AAEA,SAAO,QAAQ,IAAI,CAAC,UAAU,MAAM,QAAQ,eAAe,CAAC;AAC7D;AASO,SAAS,eAAe,WAAiC;AAC/D,aAAW,IAAI,SAAS;AACzB;AAOO,SAAS,qBAAoC;AACnD,QAAM,WAAW,OAAO,SAAS,QAAQ,QAAQ,gCAAgC,KAAK,GAAG;AAEzF,SAAO,KAAK;AAAA,IAAI,KAAK;AAAA,MAAI;AAAA,MAAU;AAAA;AAAA,IAAA;AAAA,IAAwB;AAAA;AAAA,EAAA;AAC5D;AAOO,SAAS,mBAAmB,UAA+B;AAEjE,aAAW,KAAK;AAAA,IAAI,KAAK;AAAA,MAAI;AAAA,MAAU;AAAA;AAAA,IAAA;AAAA,IAAwB;AAAA;AAAA,EAAA;AAC/D,UAAQ,QAAQ,kCAAkC,SAAS,SAAA,CAAU;AACtE;"}
@@ -16,10 +16,13 @@ function createTrapStackController() {
16
16
  },
17
17
  /**
18
18
  * Unpause the paused focus trap stack
19
+ * If the actual stack is different from the paused one, ignore unpause.
19
20
  */
20
21
  unpause() {
21
- for (const trap of pausedStack) {
22
- trap.unpause();
22
+ if (pausedStack.length === getTrapStack().length) {
23
+ for (const trap of pausedStack) {
24
+ trap.unpause();
25
+ }
23
26
  }
24
27
  pausedStack = [];
25
28
  }
@@ -29,4 +32,4 @@ export {
29
32
  createTrapStackController as c,
30
33
  getTrapStack as g
31
34
  };
32
- //# sourceMappingURL=focusTrap-DmkaYJTC.mjs.map
35
+ //# sourceMappingURL=focusTrap-HJQ4pqHV.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"focusTrap-HJQ4pqHV.mjs","sources":["../../src/utils/focusTrap.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport type { FocusTrap } from 'focus-trap'\n\ndeclare global {\n\tinterface Window {\n\t\t_nc_focus_trap: FocusTrap[]\n\t}\n}\n\n/**\n * Get the default global focus trap stack\n */\nexport function getTrapStack() {\n\t// Create global stack if undefined\n\twindow._nc_focus_trap ??= []\n\n\treturn window._nc_focus_trap\n}\n\n/**\n * Create controller to pause/unpause the global focus trap stack.\n *\n * When some component manually implements its own focus-trap without using global focus-trap stack,\n * it also needs to pause the global stack to avoid conflict.\n *\n * Note: if global focus-trap stack was modified outside TrapStackController (likely due to user actions),\n * trap queue should be correctly handled by focus-trap itself.\n * It is no longer safe to unpause cached `pausedStack`, as it can disrupt the current focus trap state.\n * We assume that the focus-trap stack is self-regulated and ignore unpause.\n */\nexport function createTrapStackController() {\n\t/**\n\t * Stack of focus traps that were paused to unpause the exact stack later\n\t */\n\tlet pausedStack: FocusTrap[] = []\n\n\treturn {\n\t\t/**\n\t\t * Pause the current focus-trap stack\n\t\t */\n\t\tpause() {\n\t\t\tpausedStack = [...getTrapStack()]\n\t\t\tfor (const trap of pausedStack) {\n\t\t\t\ttrap.pause()\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Unpause the paused focus trap stack\n\t\t * If the actual stack is different from the paused one, ignore unpause.\n\t\t */\n\t\tunpause() {\n\t\t\tif (pausedStack.length === getTrapStack().length) {\n\t\t\t\tfor (const trap of pausedStack) {\n\t\t\t\t\ttrap.unpause()\n\t\t\t\t}\n\t\t\t}\n\t\t\tpausedStack = []\n\t\t},\n\t}\n}\n"],"names":[],"mappings":"AAgBO,SAAS,eAAe;AAE9B,SAAO,mBAAmB,CAAA;AAE1B,SAAO,OAAO;AACf;AAaO,SAAS,4BAA4B;AAI3C,MAAI,cAA2B,CAAA;AAE/B,SAAO;AAAA;AAAA;AAAA;AAAA,IAIN,QAAQ;AACP,oBAAc,CAAC,GAAG,cAAc;AAChC,iBAAW,QAAQ,aAAa;AAC/B,aAAK,MAAA;AAAA,MACN;AAAA,IACD;AAAA;AAAA;AAAA;AAAA;AAAA,IAKA,UAAU;AACT,UAAI,YAAY,WAAW,aAAA,EAAe,QAAQ;AACjD,mBAAW,QAAQ,aAAa;AAC/B,eAAK,QAAA;AAAA,QACN;AAAA,MACD;AACA,oBAAc,CAAA;AAAA,IACf;AAAA,EAAA;AAEF;"}
@@ -1 +1 @@
1
- {"version":3,"file":"logger-D3RVzcfQ.mjs","sources":["../../src/utils/logger.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { getLoggerBuilder } from '@nextcloud/logger'\n\nexport default getLoggerBuilder()\n\t.detectUser()\n\t.setApp('@nextcloud/vue')\n\t.build()\n"],"names":[],"mappings":";AAOA,MAAA,SAAe,mBACb,aACA,OAAO,gBAAgB,EACvB,MAAM;"}
1
+ {"version":3,"file":"logger-D3RVzcfQ.mjs","sources":["../../src/utils/logger.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { getLoggerBuilder } from '@nextcloud/logger'\n\nexport default getLoggerBuilder()\n\t.detectUser()\n\t.setApp('@nextcloud/vue')\n\t.build()\n"],"names":[],"mappings":";AAOA,MAAA,SAAe,mBACb,WAAA,EACA,OAAO,gBAAgB,EACvB,MAAA;"}
@@ -1,6 +1,7 @@
1
1
  var mdiAlert = "M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z";
2
2
  var mdiAlertCircle = "M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z";
3
3
  var mdiAlertDecagram = "M23,12L20.56,9.22L20.9,5.54L17.29,4.72L15.4,1.54L12,3L8.6,1.54L6.71,4.72L3.1,5.53L3.44,9.21L1,12L3.44,14.78L3.1,18.47L6.71,19.29L8.6,22.47L12,21L15.4,22.46L17.29,19.28L20.9,18.46L20.56,14.78L23,12M13,17H11V15H13V17M13,13H11V7H13V13Z";
4
+ var mdiArrowLeft = "M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z";
4
5
  var mdiArrowRight = "M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z";
5
6
  var mdiCalendarBlank = "M19,19H5V8H19M16,1V3H8V1H6V3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3H18V1";
6
7
  var mdiCheck = "M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z";
@@ -11,9 +12,12 @@ var mdiChevronRight = "M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.5
11
12
  var mdiChevronUp = "M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z";
12
13
  var mdiClock = "M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M16.2,16.2L11,13V7H12.5V12.2L17,14.9L16.2,16.2Z";
13
14
  var mdiClose = "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z";
15
+ var mdiDotsHorizontal = "M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z";
14
16
  var mdiEye = "M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z";
15
17
  var mdiEyeOff = "M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.2 16.38,18.66L16.81,19.08L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.74,7.13 11.35,7 12,7Z";
16
18
  var mdiInformation = "M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z";
19
+ var mdiMenu = "M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z";
20
+ var mdiMenuOpen = "M21,15.61L19.59,17L14.58,12L19.59,7L21,8.39L17.44,12L21,15.61M3,6H16V8H3V6M3,13V11H13V13H3M3,18V16H16V18H3Z";
17
21
  var mdiUndo = "M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z";
18
22
  export {
19
23
  mdiUndo as a,
@@ -27,11 +31,15 @@ export {
27
31
  mdiAlertDecagram as i,
28
32
  mdiEyeOff as j,
29
33
  mdiEye as k,
30
- mdiChevronUp as l,
34
+ mdiArrowLeft as l,
31
35
  mdiArrowRight as m,
32
- mdiChevronDown as n,
33
- mdiChevronLeft as o,
34
- mdiClock as p,
35
- mdiCalendarBlank as q
36
+ mdiDotsHorizontal as n,
37
+ mdiChevronUp as o,
38
+ mdiChevronDown as p,
39
+ mdiChevronLeft as q,
40
+ mdiClock as r,
41
+ mdiCalendarBlank as s,
42
+ mdiMenuOpen as t,
43
+ mdiMenu as u
36
44
  };
37
- //# sourceMappingURL=mdi-D6fu5i4r.mjs.map
45
+ //# sourceMappingURL=mdi-B9TPxVka.mjs.map