@nextcloud/vue 9.0.0-alpha.4 → 9.0.0-alpha.5

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 (228) hide show
  1. package/CHANGELOG.md +24 -2
  2. package/dist/Components/NcActionButtonGroup.mjs +1 -1
  3. package/dist/Components/NcActionInput.mjs +1 -1
  4. package/dist/Components/NcActions.mjs +1 -1
  5. package/dist/Components/NcAppContent.mjs +1 -1
  6. package/dist/Components/NcAppNavigation.mjs +1 -1
  7. package/dist/Components/NcAppNavigationCaption.mjs +1 -1
  8. package/dist/Components/NcAppNavigationItem.mjs +1 -1
  9. package/dist/Components/NcAppNavigationNew.mjs +1 -1
  10. package/dist/Components/NcAppNavigationNewItem.mjs +1 -1
  11. package/dist/Components/NcAppNavigationSettings.mjs +1 -1
  12. package/dist/Components/NcAppNavigationToggle.mjs +1 -1
  13. package/dist/Components/NcAppSettingsDialog.mjs +1 -1
  14. package/dist/Components/NcAppSettingsSection.mjs +1 -1
  15. package/dist/Components/NcAppSidebar.mjs +1 -1
  16. package/dist/Components/NcAvatar.mjs +1 -1
  17. package/dist/Components/NcBreadcrumb.mjs +1 -1
  18. package/dist/Components/NcBreadcrumbs.mjs +1 -1
  19. package/dist/Components/NcButton.mjs +4 -1
  20. package/dist/Components/NcCheckboxRadioSwitch.mjs +1 -1
  21. package/dist/Components/NcChip.mjs +1 -1
  22. package/dist/Components/NcCollectionList.mjs +4 -0
  23. package/dist/Components/NcCollectionList.mjs.map +1 -0
  24. package/dist/Components/NcColorPicker.mjs +1 -1
  25. package/dist/Components/NcContent.mjs +1 -1
  26. package/dist/Components/NcDashboardWidget.mjs +1 -1
  27. package/dist/Components/NcDashboardWidgetItem.mjs +1 -1
  28. package/dist/Components/NcDateTime.mjs +1 -1
  29. package/dist/Components/NcDateTimePicker.mjs +1 -1
  30. package/dist/Components/NcDateTimePickerNative.mjs +1 -1
  31. package/dist/Components/NcDialog.mjs +1 -1
  32. package/dist/Components/NcDialogButton.mjs +1 -1
  33. package/dist/Components/NcEmojiPicker.mjs +1 -1
  34. package/dist/Components/NcHeaderMenu.mjs +1 -1
  35. package/dist/Components/NcInputField.mjs +1 -1
  36. package/dist/Components/NcListItem.mjs +1 -1
  37. package/dist/Components/NcListItemIcon.mjs +1 -1
  38. package/dist/Components/NcModal.mjs +29 -12
  39. package/dist/Components/NcModal.mjs.map +1 -1
  40. package/dist/Components/NcPasswordField.mjs +1 -1
  41. package/dist/Components/NcRelatedResourcesPanel.mjs +1 -1
  42. package/dist/Components/NcRichContenteditable.mjs +2 -2
  43. package/dist/Components/NcRichText.mjs +3 -3
  44. package/dist/Components/NcSelect.mjs +1 -1
  45. package/dist/Components/NcSelectTags.mjs +1 -1
  46. package/dist/Components/NcSettingsInputText.mjs +1 -1
  47. package/dist/Components/NcSettingsSection.mjs +1 -1
  48. package/dist/Components/NcSettingsSelectGroup.mjs +1 -1
  49. package/dist/Components/NcTextField.mjs +1 -1
  50. package/dist/Components/NcTimezonePicker.mjs +1 -1
  51. package/dist/Components/NcUserBubble.mjs +1 -1
  52. package/dist/Components/NcUserStatusIcon.mjs +1 -1
  53. package/dist/Functions/reference.mjs +1 -1
  54. package/dist/Functions/usernameToColor.mjs +1 -1
  55. package/dist/Mixins/richEditor.mjs +1 -1
  56. package/dist/assets/{NcAppNavigationCaption-NPhURS5E.css → NcAppNavigationCaption-CWeMjjhD.css} +7 -7
  57. package/dist/assets/{NcAppNavigationSettings-Cyn2gy0W.css → NcAppNavigationSettings-TYqL_3Eu.css} +13 -13
  58. package/dist/assets/{NcAppSettingsSection-CcRbdcD-.css → NcAppSettingsSection-C_QldGnW.css} +3 -3
  59. package/dist/assets/{NcAppSidebar-CxMCtTtn.css → NcAppSidebar-B7CgUHLX.css} +57 -57
  60. package/dist/assets/NcButton-B62D9Gft.css +210 -0
  61. package/dist/assets/{NcCheckboxRadioSwitch-By6afmQ3.css → NcCheckboxRadioSwitch-ChIIElUW.css} +31 -31
  62. package/dist/assets/NcCollectionList-BT2L4guq.css +221 -0
  63. package/dist/assets/{NcDateTimePicker-BLEg7GJo.css → NcDateTimePicker-DHWLpzCH.css} +7 -7
  64. package/dist/assets/{NcDialog-BmN7gR6_.css → NcDialog-DXX2MKxJ.css} +15 -15
  65. package/dist/assets/{NcHeaderMenu-C-0GR7Si.css → NcHeaderMenu-Cb5YSERm.css} +11 -11
  66. package/dist/assets/{NcInputField-DXzhRkiY.css → NcInputField-CZnSCalG.css} +34 -34
  67. package/dist/assets/{NcMentionBubble-B-xYaJDc.css → NcMentionBubble-C6t8od-_.css} +13 -10
  68. package/dist/assets/{NcModal-B5iEU9Qr.css → NcModal-Cr_CG7O3.css} +60 -60
  69. package/dist/assets/{NcRichContenteditable-B_YH-89_.css → NcRichContenteditable-Cf8PvtvB.css} +10 -10
  70. package/dist/assets/{NcRichText-yqgOn353.css → NcRichText-yXgN8zvG.css} +53 -53
  71. package/dist/assets/{NcUserStatusIcon-D9N1ER72.css → NcUserStatusIcon-FLA1tQpD.css} +3 -3
  72. package/dist/assets/{referencePickerModal-DeIfdfau.css → referencePickerModal-G4uFPuyg.css} +18 -18
  73. package/dist/chunks/{GenColors-BidEIqUL.mjs → GenColors-AKX06ocD.mjs} +1 -1
  74. package/dist/chunks/{GenColors-BidEIqUL.mjs.map → GenColors-AKX06ocD.mjs.map} +1 -1
  75. package/dist/chunks/{NcActionButtonGroup-BeQ4mLmQ.mjs → NcActionButtonGroup-QSxR0BLf.mjs} +1 -1
  76. package/dist/chunks/{NcActionButtonGroup-BeQ4mLmQ.mjs.map → NcActionButtonGroup-QSxR0BLf.mjs.map} +1 -1
  77. package/dist/chunks/{NcActionInput-DCe8K_gs.mjs → NcActionInput-DY8dxchc.mjs} +7 -7
  78. package/dist/chunks/{NcActionInput-DCe8K_gs.mjs.map → NcActionInput-DY8dxchc.mjs.map} +1 -1
  79. package/dist/chunks/{NcActions-COaRMDe5.mjs → NcActions-DqMOvrbN.mjs} +2 -2
  80. package/dist/chunks/{NcActions-COaRMDe5.mjs.map → NcActions-DqMOvrbN.mjs.map} +1 -1
  81. package/dist/chunks/{NcAppContent-D2in9bd7.mjs → NcAppContent-xtfi9kNO.mjs} +3 -3
  82. package/dist/chunks/{NcAppContent-D2in9bd7.mjs.map → NcAppContent-xtfi9kNO.mjs.map} +1 -1
  83. package/dist/chunks/{NcAppNavigation-Dz1n-CeR.mjs → NcAppNavigation-C9Ku9eb2.mjs} +1 -1
  84. package/dist/chunks/{NcAppNavigation-Dz1n-CeR.mjs.map → NcAppNavigation-C9Ku9eb2.mjs.map} +1 -1
  85. package/dist/chunks/{NcAppNavigationCaption-6odGo1iM.mjs → NcAppNavigationCaption-BysnsczC.mjs} +10 -6
  86. package/dist/chunks/NcAppNavigationCaption-BysnsczC.mjs.map +1 -0
  87. package/dist/chunks/{NcAppNavigationItem-BHtzDfb2.mjs → NcAppNavigationItem--znMc-4G.mjs} +6 -6
  88. package/dist/chunks/{NcAppNavigationItem-BHtzDfb2.mjs.map → NcAppNavigationItem--znMc-4G.mjs.map} +1 -1
  89. package/dist/chunks/{NcAppNavigationNew-CRonFKWJ.mjs → NcAppNavigationNew-xPVyvfza.mjs} +1 -1
  90. package/dist/chunks/{NcAppNavigationNew-CRonFKWJ.mjs.map → NcAppNavigationNew-xPVyvfza.mjs.map} +1 -1
  91. package/dist/chunks/{NcAppNavigationNewItem-Ctbp1kb-.mjs → NcAppNavigationNewItem-DS1hIl6W.mjs} +1 -1
  92. package/dist/chunks/{NcAppNavigationNewItem-Ctbp1kb-.mjs.map → NcAppNavigationNewItem-DS1hIl6W.mjs.map} +1 -1
  93. package/dist/chunks/{NcAppNavigationSettings-ynYeFb6Z.mjs → NcAppNavigationSettings-CekHqqk0.mjs} +5 -5
  94. package/dist/chunks/{NcAppNavigationSettings-ynYeFb6Z.mjs.map → NcAppNavigationSettings-CekHqqk0.mjs.map} +1 -1
  95. package/dist/chunks/{NcAppNavigationToggle-DYG8u5dW.mjs → NcAppNavigationToggle-DfX9dazn.mjs} +3 -3
  96. package/dist/chunks/{NcAppNavigationToggle-DYG8u5dW.mjs.map → NcAppNavigationToggle-DfX9dazn.mjs.map} +1 -1
  97. package/dist/chunks/{NcAppSettingsDialog-CjpGb_I4.mjs → NcAppSettingsDialog-ChTLtlsE.mjs} +3 -3
  98. package/dist/chunks/{NcAppSettingsDialog-CjpGb_I4.mjs.map → NcAppSettingsDialog-ChTLtlsE.mjs.map} +1 -1
  99. package/dist/chunks/{NcAppSettingsSection-a7OfJ9GT.mjs → NcAppSettingsSection-CJff2xNR.mjs} +10 -6
  100. package/dist/chunks/NcAppSettingsSection-CJff2xNR.mjs.map +1 -0
  101. package/dist/chunks/{NcAppSidebar-BGCuCKk_.mjs → NcAppSidebar-C9frc6kG.mjs} +28 -10
  102. package/dist/chunks/NcAppSidebar-C9frc6kG.mjs.map +1 -0
  103. package/dist/chunks/{NcAvatar-OjWzLdGK.mjs → NcAvatar-BjooMt8H.mjs} +7 -7
  104. package/dist/chunks/{NcAvatar-OjWzLdGK.mjs.map → NcAvatar-BjooMt8H.mjs.map} +1 -1
  105. package/dist/chunks/{NcBreadcrumb-Df7Nn5jU.mjs → NcBreadcrumb-Btbcn1IT.mjs} +2 -2
  106. package/dist/chunks/{NcBreadcrumb-Df7Nn5jU.mjs.map → NcBreadcrumb-Btbcn1IT.mjs.map} +1 -1
  107. package/dist/chunks/{NcBreadcrumbs-CighY87i.mjs → NcBreadcrumbs-BFR0zNov.mjs} +3 -3
  108. package/dist/chunks/{NcBreadcrumbs-CighY87i.mjs.map → NcBreadcrumbs-BFR0zNov.mjs.map} +1 -1
  109. package/dist/chunks/{NcButton-DvO0XwJf.mjs → NcButton-Bhuckhtj.mjs} +53 -14
  110. package/dist/chunks/NcButton-Bhuckhtj.mjs.map +1 -0
  111. package/dist/chunks/{NcCheckboxRadioSwitch-BW7W0ToW.mjs → NcCheckboxRadioSwitch-fsQs5UG3.mjs} +46 -28
  112. package/dist/chunks/NcCheckboxRadioSwitch-fsQs5UG3.mjs.map +1 -0
  113. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_266d05fb_lang-8iSIJ9Oz.mjs +3 -0
  114. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_266d05fb_lang-8iSIJ9Oz.mjs.map +1 -0
  115. package/dist/chunks/{NcChip-Crkkyllt.mjs → NcChip-Z436j_vb.mjs} +2 -2
  116. package/dist/chunks/{NcChip-Crkkyllt.mjs.map → NcChip-Z436j_vb.mjs.map} +1 -1
  117. package/dist/chunks/NcCollectionList-B8r2GWp5.mjs +589 -0
  118. package/dist/chunks/NcCollectionList-B8r2GWp5.mjs.map +1 -0
  119. package/dist/chunks/{NcColorPicker-Bq2-21Np.mjs → NcColorPicker-ChOP5UKN.mjs} +3 -3
  120. package/dist/chunks/{NcColorPicker-Bq2-21Np.mjs.map → NcColorPicker-ChOP5UKN.mjs.map} +1 -1
  121. package/dist/chunks/{NcContent-WcbDFG2f.mjs → NcContent-BTRh5byh.mjs} +3 -3
  122. package/dist/chunks/{NcContent-WcbDFG2f.mjs.map → NcContent-BTRh5byh.mjs.map} +1 -1
  123. package/dist/chunks/{NcDashboardWidget-xBpqAct1.mjs → NcDashboardWidget-CyEJLxAR.mjs} +4 -4
  124. package/dist/chunks/{NcDashboardWidget-xBpqAct1.mjs.map → NcDashboardWidget-CyEJLxAR.mjs.map} +1 -1
  125. package/dist/chunks/{NcDashboardWidgetItem-BwemNzvL.mjs → NcDashboardWidgetItem-DfP6DwdF.mjs} +2 -2
  126. package/dist/chunks/{NcDashboardWidgetItem-BwemNzvL.mjs.map → NcDashboardWidgetItem-DfP6DwdF.mjs.map} +1 -1
  127. package/dist/chunks/{NcDateTime-BVQqC6rO.mjs → NcDateTime-DX34z7Lo.mjs} +1 -1
  128. package/dist/chunks/{NcDateTime-BVQqC6rO.mjs.map → NcDateTime-DX34z7Lo.mjs.map} +1 -1
  129. package/dist/chunks/{NcDateTimePicker-CjuFbS-2.mjs → NcDateTimePicker-D9gDwRl4.mjs} +5 -5
  130. package/dist/chunks/{NcDateTimePicker-CjuFbS-2.mjs.map → NcDateTimePicker-D9gDwRl4.mjs.map} +1 -1
  131. package/dist/chunks/{NcDateTimePickerNative-DwJ_yIEg.mjs → NcDateTimePickerNative-d04KsMAl.mjs} +1 -1
  132. package/dist/chunks/{NcDateTimePickerNative-DwJ_yIEg.mjs.map → NcDateTimePickerNative-d04KsMAl.mjs.map} +1 -1
  133. package/dist/chunks/{NcDialog-CE2gyz2g.mjs → NcDialog-D5IAHMrC.mjs} +12 -8
  134. package/dist/chunks/NcDialog-D5IAHMrC.mjs.map +1 -0
  135. package/dist/chunks/{NcDialogButton-DAb0CNtg.mjs → NcDialogButton-BkFODtad.mjs} +5 -3
  136. package/dist/chunks/NcDialogButton-BkFODtad.mjs.map +1 -0
  137. package/dist/chunks/{NcEmojiPicker-DNbUUyLY.mjs → NcEmojiPicker-Dtc8dnSp.mjs} +6 -6
  138. package/dist/chunks/{NcEmojiPicker-DNbUUyLY.mjs.map → NcEmojiPicker-Dtc8dnSp.mjs.map} +1 -1
  139. package/dist/chunks/{NcHeaderMenu-CIWkk8T1.mjs → NcHeaderMenu-CKynqFZZ.mjs} +5 -4
  140. package/dist/chunks/NcHeaderMenu-CKynqFZZ.mjs.map +1 -0
  141. package/dist/chunks/{NcInputConfirmCancel-Cwh6_J6A.mjs → NcInputConfirmCancel-DkOh9UP_.mjs} +3 -3
  142. package/dist/chunks/{NcInputConfirmCancel-Cwh6_J6A.mjs.map → NcInputConfirmCancel-DkOh9UP_.mjs.map} +1 -1
  143. package/dist/chunks/{NcInputField-BrAvsgA4.mjs → NcInputField-hpiI0X9L.mjs} +3 -3
  144. package/dist/chunks/{NcInputField-BrAvsgA4.mjs.map → NcInputField-hpiI0X9L.mjs.map} +1 -1
  145. package/dist/chunks/{NcListItem-D3yyUn7h.mjs → NcListItem-DX-yKrou.mjs} +2 -2
  146. package/dist/chunks/{NcListItem-D3yyUn7h.mjs.map → NcListItem-DX-yKrou.mjs.map} +1 -1
  147. package/dist/chunks/{NcListItemIcon-B06oTqsI.mjs → NcListItemIcon-Bgd2w_Ug.mjs} +2 -2
  148. package/dist/chunks/{NcListItemIcon-B06oTqsI.mjs.map → NcListItemIcon-Bgd2w_Ug.mjs.map} +1 -1
  149. package/dist/chunks/{NcPasswordField-CaRDsoPg.mjs → NcPasswordField-Vfr9wcwj.mjs} +3 -3
  150. package/dist/chunks/{NcPasswordField-CaRDsoPg.mjs.map → NcPasswordField-Vfr9wcwj.mjs.map} +1 -1
  151. package/dist/chunks/{NcRelatedResourcesPanel-Bg_z2tZT.mjs → NcRelatedResourcesPanel-DXQ9WHF5.mjs} +5 -5
  152. package/dist/chunks/{NcRelatedResourcesPanel-Bg_z2tZT.mjs.map → NcRelatedResourcesPanel-DXQ9WHF5.mjs.map} +1 -1
  153. package/dist/chunks/{NcRichContenteditable-Cx8Fv6sx.mjs → NcRichContenteditable-Bf9Kg4hl.mjs} +13 -12
  154. package/dist/chunks/{NcRichContenteditable-Cx8Fv6sx.mjs.map → NcRichContenteditable-Bf9Kg4hl.mjs.map} +1 -1
  155. package/dist/chunks/{NcRichText-2N_x-ark.mjs → NcRichText-COi8Ex6O.mjs} +4 -4
  156. package/dist/chunks/NcRichText-COi8Ex6O.mjs.map +1 -0
  157. package/dist/chunks/{NcSelect-CPlvJjcY.mjs → NcSelect-uOkQ9CdB.mjs} +3 -3
  158. package/dist/chunks/{NcSelect-CPlvJjcY.mjs.map → NcSelect-uOkQ9CdB.mjs.map} +1 -1
  159. package/dist/chunks/{NcSelectTags-Hpq3uQ0b.mjs → NcSelectTags-1hIEJsvj.mjs} +2 -2
  160. package/dist/chunks/{NcSelectTags-Hpq3uQ0b.mjs.map → NcSelectTags-1hIEJsvj.mjs.map} +1 -1
  161. package/dist/chunks/{NcSettingsInputText-oIYmufF3.mjs → NcSettingsInputText-DO40BQ3B.mjs} +2 -2
  162. package/dist/chunks/{NcSettingsInputText-oIYmufF3.mjs.map → NcSettingsInputText-DO40BQ3B.mjs.map} +1 -1
  163. package/dist/chunks/{NcSettingsSection-CMw4W_UL.mjs → NcSettingsSection-BDI1fNYG.mjs} +2 -2
  164. package/dist/chunks/{NcSettingsSection-CMw4W_UL.mjs.map → NcSettingsSection-BDI1fNYG.mjs.map} +1 -1
  165. package/dist/chunks/{NcSettingsSelectGroup-BTVYUUsQ.mjs → NcSettingsSelectGroup-OQVMB2G-.mjs} +3 -3
  166. package/dist/chunks/{NcSettingsSelectGroup-BTVYUUsQ.mjs.map → NcSettingsSelectGroup-OQVMB2G-.mjs.map} +1 -1
  167. package/dist/chunks/{NcTextField-W5cVvjob.mjs → NcTextField-DctsarIL.mjs} +3 -3
  168. package/dist/chunks/{NcTextField-W5cVvjob.mjs.map → NcTextField-DctsarIL.mjs.map} +1 -1
  169. package/dist/chunks/{NcTimezonePicker-DQ7LMeQo.mjs → NcTimezonePicker-CGW5Q2gI.mjs} +4 -4
  170. package/dist/chunks/{NcTimezonePicker-DQ7LMeQo.mjs.map → NcTimezonePicker-CGW5Q2gI.mjs.map} +1 -1
  171. package/dist/chunks/{NcUserBubble-DrQahQl0.mjs → NcUserBubble-CsVyJK3C.mjs} +1 -1
  172. package/dist/chunks/{NcUserBubble-DrQahQl0.mjs.map → NcUserBubble-CsVyJK3C.mjs.map} +1 -1
  173. package/dist/chunks/{NcUserStatusIcon-CA3yJfmu.mjs → NcUserStatusIcon-CLYI768S.mjs} +6 -11
  174. package/dist/chunks/NcUserStatusIcon-CLYI768S.mjs.map +1 -0
  175. package/dist/chunks/{ScopeComponent-C5tGtO7l.mjs → ScopeComponent-59SnWk9S.mjs} +1 -1
  176. package/dist/chunks/{ScopeComponent-C5tGtO7l.mjs.map → ScopeComponent-59SnWk9S.mjs.map} +1 -1
  177. package/dist/chunks/_l10n-6dsjYig_.mjs +126 -0
  178. package/dist/chunks/_l10n-6dsjYig_.mjs.map +1 -0
  179. package/dist/chunks/{index-BKkaCvJ0.mjs → index-CyNq54HS.mjs} +2 -2
  180. package/dist/chunks/index-CyNq54HS.mjs.map +1 -0
  181. package/dist/chunks/{referencePickerModal-Cho5o36L.mjs → referencePickerModal-BwzqUWFA.mjs} +14 -14
  182. package/dist/chunks/referencePickerModal-BwzqUWFA.mjs.map +1 -0
  183. package/dist/chunks/{usernameToColor-4ci35wWd.mjs → usernameToColor-CEyHwgy-.mjs} +1 -1
  184. package/dist/chunks/{usernameToColor-4ci35wWd.mjs.map → usernameToColor-CEyHwgy-.mjs.map} +1 -1
  185. package/dist/components/NcActions/NcActions.vue.d.ts +1 -1
  186. package/dist/components/NcAppNavigationCaption/NcAppNavigationCaption.vue.d.ts +5 -68
  187. package/dist/components/NcAppNavigationItem/NcAppNavigationItem.vue.d.ts +1 -1
  188. package/dist/components/NcAppSidebar/NcAppSidebar.vue.d.ts +15 -0
  189. package/dist/components/NcAppSidebar/NcAppSidebarTabs.vue.d.ts +16 -0
  190. package/dist/components/NcAvatar/NcAvatar.vue.d.ts +1 -1
  191. package/dist/components/NcButton/NcButton.vue.d.ts +44 -25
  192. package/dist/components/NcButton/index.d.ts +1 -0
  193. package/dist/components/NcButton/types.d.ts +30 -0
  194. package/dist/components/NcCollectionList/NcCollectionList.vue.d.ts +126 -0
  195. package/dist/components/NcCollectionList/NcCollectionListItem.vue.d.ts +50 -0
  196. package/dist/components/NcCollectionList/index.d.ts +1 -0
  197. package/dist/components/NcCollectionList/service.d.ts +47 -0
  198. package/dist/components/NcCollectionList/useCollections.d.ts +31 -0
  199. package/dist/components/NcDialog/NcDialog.vue.d.ts +359 -1
  200. package/dist/components/NcDialogButton/NcDialogButton.vue.d.ts +94 -1
  201. package/dist/components/NcDialogButton/index.d.ts +4 -0
  202. package/dist/components/NcListItemIcon/NcListItemIcon.vue.d.ts +1 -1
  203. package/dist/components/NcRelatedResourcesPanel/NcRelatedResourcesPanel.vue.d.ts +1 -1
  204. package/dist/components/NcRichContenteditable/NcAutoCompleteResult.vue.d.ts +1 -1
  205. package/dist/components/NcSavingIndicatorIcon/NcSavingIndicatorIcon.vue.d.ts +1 -1
  206. package/dist/components/NcUserBubble/NcUserBubble.vue.d.ts +2 -2
  207. package/dist/components/index.d.ts +1 -0
  208. package/dist/index.mjs +56 -53
  209. package/dist/index.mjs.map +1 -1
  210. package/dist/utils/VueTypes.d.ts +3 -0
  211. package/package.json +4 -3
  212. package/dist/assets/NcButton-D3_Qd5cl.css +0 -191
  213. package/dist/chunks/NcAppNavigationCaption-6odGo1iM.mjs.map +0 -1
  214. package/dist/chunks/NcAppSettingsSection-a7OfJ9GT.mjs.map +0 -1
  215. package/dist/chunks/NcAppSidebar-BGCuCKk_.mjs.map +0 -1
  216. package/dist/chunks/NcButton-DvO0XwJf.mjs.map +0 -1
  217. package/dist/chunks/NcCheckboxRadioSwitch-BW7W0ToW.mjs.map +0 -1
  218. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_959f6f1b_lang-C0H-ioQZ.mjs +0 -3
  219. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_959f6f1b_lang-C0H-ioQZ.mjs.map +0 -1
  220. package/dist/chunks/NcDialog-CE2gyz2g.mjs.map +0 -1
  221. package/dist/chunks/NcDialogButton-DAb0CNtg.mjs.map +0 -1
  222. package/dist/chunks/NcHeaderMenu-CIWkk8T1.mjs.map +0 -1
  223. package/dist/chunks/NcRichText-2N_x-ark.mjs.map +0 -1
  224. package/dist/chunks/NcUserStatusIcon-CA3yJfmu.mjs.map +0 -1
  225. package/dist/chunks/_l10n-C3nxU4O-.mjs +0 -122
  226. package/dist/chunks/_l10n-C3nxU4O-.mjs.map +0 -1
  227. package/dist/chunks/index-BKkaCvJ0.mjs.map +0 -1
  228. package/dist/chunks/referencePickerModal-Cho5o36L.mjs.map +0 -1
@@ -1,8 +1,6 @@
1
1
  import { PropType } from 'vue';
2
+ import { ButtonAlignment, ButtonNativeType, ButtonType } from './types';
2
3
 
3
- declare const BUTTON_ALIGNMENT: readonly ["start", "start-reverse", "center", "center-reverse", "end", "end-reverse"];
4
- declare const BUTTON_TYPES: readonly ["primary", "secondary", "tertiary", "tertiary-no-background", "tertiary-on-primary", "error", "warning", "success"];
5
- declare const NATIVE_TYPES: readonly ["submit", "reset", "button"];
6
4
  declare const _default: import('vue').DefineComponent<{
7
5
  /**
8
6
  * Set the text and icon alignment
@@ -11,9 +9,9 @@ declare const _default: import('vue').DefineComponent<{
11
9
  * @type {'start' | 'start-reverse' | 'center' | 'center-reverse' | 'end' | 'end-reverse'}
12
10
  */
13
11
  alignment: {
14
- type: PropType<(typeof BUTTON_ALIGNMENT)[number]>;
15
- default: string;
16
- validator(alignment: unknown): boolean;
12
+ type: PropType<ButtonAlignment>;
13
+ default: ButtonAlignment;
14
+ validator(value: string): boolean;
17
15
  };
18
16
  /**
19
17
  * Toggles the disabled state of the button on and off.
@@ -22,6 +20,15 @@ declare const _default: import('vue').DefineComponent<{
22
20
  type: BooleanConstructor;
23
21
  default: boolean;
24
22
  };
23
+ /**
24
+ * Specify the button size
25
+ * Accepted values: `'small'`, `'normal'` (default), `'large'`
26
+ */
27
+ size: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ validator(value: string): boolean;
31
+ };
25
32
  /**
26
33
  * Specifies the button type
27
34
  * If left empty, the default button style will be applied.
@@ -30,20 +37,21 @@ declare const _default: import('vue').DefineComponent<{
30
37
  * @type {'primary' | 'secondary' | 'tertiary' | 'tertiary-no-background' | 'tertiary-on-primary' | 'error' | 'warning' | 'success'}
31
38
  */
32
39
  type: {
33
- type: PropType<(typeof BUTTON_TYPES)[number]>;
34
- validator(value: unknown): boolean;
35
- default: string;
40
+ type: PropType<ButtonType>;
41
+ default: ButtonType;
42
+ validator(value: string): boolean;
36
43
  };
37
44
  /**
38
45
  * Specifies the button native type
39
46
  * If left empty, the default "button" type will be used.
40
47
  *
48
+ * @default 'button'
41
49
  * @type {'submit' | 'reset' | 'button'}
42
50
  */
43
51
  nativeType: {
44
- type: PropType<(typeof NATIVE_TYPES)[number]>;
45
- validator(value: unknown): boolean;
46
- default: string;
52
+ type: PropType<ButtonNativeType>;
53
+ default: ButtonNativeType;
54
+ validator(value: string): boolean;
47
55
  };
48
56
  /**
49
57
  * Specifies whether the button should span all the available width.
@@ -110,7 +118,7 @@ declare const _default: import('vue').DefineComponent<{
110
118
  * The real type to be used for the button, enforces `primary` for pressed state and, if stateful button, any other type for not pressed state
111
119
  * Otherwise the type property is used.
112
120
  */
113
- realType(): "primary" | "secondary" | "tertiary" | "tertiary-no-background" | "tertiary-on-primary" | "error" | "warning" | "success";
121
+ realType(): "primary" | "secondary" | ButtonType;
114
122
  /**
115
123
  * The flexbox alignment of the button content
116
124
  */
@@ -128,9 +136,9 @@ declare const _default: import('vue').DefineComponent<{
128
136
  * @type {'start' | 'start-reverse' | 'center' | 'center-reverse' | 'end' | 'end-reverse'}
129
137
  */
130
138
  alignment: {
131
- type: PropType<(typeof BUTTON_ALIGNMENT)[number]>;
132
- default: string;
133
- validator(alignment: unknown): boolean;
139
+ type: PropType<ButtonAlignment>;
140
+ default: ButtonAlignment;
141
+ validator(value: string): boolean;
134
142
  };
135
143
  /**
136
144
  * Toggles the disabled state of the button on and off.
@@ -139,6 +147,15 @@ declare const _default: import('vue').DefineComponent<{
139
147
  type: BooleanConstructor;
140
148
  default: boolean;
141
149
  };
150
+ /**
151
+ * Specify the button size
152
+ * Accepted values: `'small'`, `'normal'` (default), `'large'`
153
+ */
154
+ size: {
155
+ type: StringConstructor;
156
+ default: string;
157
+ validator(value: string): boolean;
158
+ };
142
159
  /**
143
160
  * Specifies the button type
144
161
  * If left empty, the default button style will be applied.
@@ -147,20 +164,21 @@ declare const _default: import('vue').DefineComponent<{
147
164
  * @type {'primary' | 'secondary' | 'tertiary' | 'tertiary-no-background' | 'tertiary-on-primary' | 'error' | 'warning' | 'success'}
148
165
  */
149
166
  type: {
150
- type: PropType<(typeof BUTTON_TYPES)[number]>;
151
- validator(value: unknown): boolean;
152
- default: string;
167
+ type: PropType<ButtonType>;
168
+ default: ButtonType;
169
+ validator(value: string): boolean;
153
170
  };
154
171
  /**
155
172
  * Specifies the button native type
156
173
  * If left empty, the default "button" type will be used.
157
174
  *
175
+ * @default 'button'
158
176
  * @type {'submit' | 'reset' | 'button'}
159
177
  */
160
178
  nativeType: {
161
- type: PropType<(typeof NATIVE_TYPES)[number]>;
162
- validator(value: unknown): boolean;
163
- default: string;
179
+ type: PropType<ButtonNativeType>;
180
+ default: ButtonNativeType;
181
+ validator(value: string): boolean;
164
182
  };
165
183
  /**
166
184
  * Specifies whether the button should span all the available width.
@@ -226,10 +244,11 @@ declare const _default: import('vue').DefineComponent<{
226
244
  "onUpdate:pressed"?: ((...args: any[]) => any) | undefined;
227
245
  onClick?: ((...args: any[]) => any) | undefined;
228
246
  }, {
229
- alignment: "start" | "start-reverse" | "center" | "center-reverse" | "end" | "end-reverse";
247
+ size: string;
248
+ alignment: ButtonAlignment;
230
249
  disabled: boolean;
231
- type: "primary" | "secondary" | "tertiary" | "tertiary-no-background" | "tertiary-on-primary" | "error" | "warning" | "success";
232
- nativeType: "submit" | "reset" | "button";
250
+ type: ButtonType;
251
+ nativeType: ButtonNativeType;
233
252
  wide: boolean;
234
253
  ariaLabel: string;
235
254
  href: string;
@@ -3,3 +3,4 @@
3
3
  * SPDX-License-Identifier: AGPL-3.0-or-later
4
4
  */
5
5
  export { default } from './NcButton.vue';
6
+ export * from './types';
@@ -0,0 +1,30 @@
1
+ /**
2
+ * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
3
+ * SPDX-License-Identifier: AGPL-3.0-or-later
4
+ */
5
+ export declare enum ButtonAlignment {
6
+ Start = "start",
7
+ StartReverse = "start-reverse",
8
+ Center = "center",
9
+ CenterReverse = "center-reverse",
10
+ End = "end",
11
+ EndReverse = "end-reverse"
12
+ }
13
+ export declare enum ButtonNativeType {
14
+ Submit = "submit",
15
+ Reset = "reset",
16
+ Button = "button"
17
+ }
18
+ export declare enum ButtonType {
19
+ Primary = "primary",
20
+ Secondary = "secondary",
21
+ Tertiary = "tertiary",
22
+ TertiaryNoBackground = "tertiary-no-background",
23
+ TertiaryOnPrimary = "tertiary-on-primary",
24
+ Error = "error",
25
+ /**
26
+ * @deprecated Designwise not recommended for new code
27
+ */
28
+ Warning = "warning",
29
+ Success = "success"
30
+ }
@@ -0,0 +1,126 @@
1
+ import { default as debounce } from 'debounce';
2
+ declare const _default: import('vue').DefineComponent<{
3
+ /**
4
+ * Resource type identifier
5
+ */
6
+ type: {
7
+ type: StringConstructor;
8
+ default: null;
9
+ };
10
+ /**
11
+ * Unique id of the resource
12
+ */
13
+ id: {
14
+ type: StringConstructor;
15
+ default: null;
16
+ };
17
+ /**
18
+ * Name of the resource
19
+ */
20
+ name: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ };
24
+ /**
25
+ * Whether the component is active (to start fetch resources)
26
+ */
27
+ isActive: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
31
+ }, {
32
+ storedCollections: import('vue').Ref<never[]>;
33
+ fetchCollectionsByResource: ({ resourceType, resourceId }: {
34
+ resourceType: any;
35
+ resourceId: any;
36
+ }) => Promise<void>;
37
+ createCollection: ({ baseResourceType, baseResourceId, resourceType, resourceId, name }: {
38
+ baseResourceType: any;
39
+ baseResourceId: any;
40
+ resourceType: any;
41
+ resourceId: any;
42
+ name: any;
43
+ }) => Promise<void>;
44
+ addResourceToCollection: ({ collectionId, resourceType, resourceId }: {
45
+ collectionId: any;
46
+ resourceType: any;
47
+ resourceId: any;
48
+ }) => Promise<void>;
49
+ removeResourceFromCollection: ({ collectionId, resourceType, resourceId }: {
50
+ collectionId: any;
51
+ resourceType: any;
52
+ resourceId: any;
53
+ }) => Promise<void>;
54
+ renameCollection: ({ collectionId, name }: {
55
+ collectionId: any;
56
+ name: any;
57
+ }) => Promise<void>;
58
+ searchCollections: import('vue').Ref<never[]>;
59
+ search: debounce.DebouncedFunction<(query: any, loading: any) => void>;
60
+ }, {
61
+ selectIsOpen: boolean;
62
+ generatingCodes: boolean;
63
+ codes: undefined;
64
+ value: null;
65
+ model: {};
66
+ collectionsError: {};
67
+ error: null;
68
+ isSelectOpen: boolean;
69
+ }, {
70
+ collections(): never[];
71
+ placeholder(): string;
72
+ options(): {
73
+ method: number;
74
+ title: any;
75
+ collectionId: any;
76
+ }[];
77
+ resourceIdentifier(): {
78
+ resourceType: string;
79
+ resourceId: string;
80
+ isActive: boolean;
81
+ };
82
+ }, {
83
+ t: (original: string, placeholders?: Record<string, string | number>) => string;
84
+ select(selectedOption: any): void;
85
+ showSelect(): void;
86
+ setError(error: any, e: any): void;
87
+ renameCollectionFromItem({ collectionId, name }: {
88
+ collectionId: any;
89
+ name: any;
90
+ }): void;
91
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
92
+ /**
93
+ * Resource type identifier
94
+ */
95
+ type: {
96
+ type: StringConstructor;
97
+ default: null;
98
+ };
99
+ /**
100
+ * Unique id of the resource
101
+ */
102
+ id: {
103
+ type: StringConstructor;
104
+ default: null;
105
+ };
106
+ /**
107
+ * Name of the resource
108
+ */
109
+ name: {
110
+ type: StringConstructor;
111
+ default: string;
112
+ };
113
+ /**
114
+ * Whether the component is active (to start fetch resources)
115
+ */
116
+ isActive: {
117
+ type: BooleanConstructor;
118
+ default: boolean;
119
+ };
120
+ }>>, {
121
+ name: string;
122
+ type: string;
123
+ isActive: boolean;
124
+ id: string;
125
+ }, {}>;
126
+ export default _default;
@@ -0,0 +1,50 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ collection: {
3
+ type: ObjectConstructor;
4
+ default: null;
5
+ };
6
+ error: {
7
+ type: StringConstructor;
8
+ default: undefined;
9
+ };
10
+ }, any, {
11
+ detailsOpen: boolean;
12
+ newName: null;
13
+ }, {
14
+ getIcon(): (resource: any) => any[];
15
+ typeClass(): (resource: any) => string;
16
+ resources(): any;
17
+ getComponent(): (resource: any) => {
18
+ component: string;
19
+ to: string;
20
+ href: undefined;
21
+ } | {
22
+ component: string;
23
+ to: undefined;
24
+ href: any;
25
+ };
26
+ iconUrl(): (resource: any) => any;
27
+ }, {
28
+ t: (original: string, placeholders?: Record<string, string | number>) => string;
29
+ toggleDetails(): void;
30
+ showDetails(): void;
31
+ removeResource(collection: any, resource: any): void;
32
+ openRename(): void;
33
+ renameCollection(): void;
34
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("remove-resource" | "rename-collection")[], "remove-resource" | "rename-collection", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
35
+ collection: {
36
+ type: ObjectConstructor;
37
+ default: null;
38
+ };
39
+ error: {
40
+ type: StringConstructor;
41
+ default: undefined;
42
+ };
43
+ }>> & {
44
+ "onRemove-resource"?: ((...args: any[]) => any) | undefined;
45
+ "onRename-collection"?: ((...args: any[]) => any) | undefined;
46
+ }, {
47
+ error: string;
48
+ collection: Record<string, any>;
49
+ }, {}>;
50
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default } from './NcCollectionList.vue';
@@ -0,0 +1,47 @@
1
+ /**
2
+ * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
3
+ * SPDX-License-Identifier: AGPL-3.0-or-later
4
+ */
5
+ /**
6
+ * Lists all collections
7
+ * @param collectionId Collection ID
8
+ */
9
+ export declare function listCollectionService(collectionId: number): Promise<any>;
10
+ /**
11
+ * Renames a collection
12
+ * @param collectionId Collection ID
13
+ * @param collectionName New collection name
14
+ */
15
+ export declare function renameCollectionService(collectionId: number, collectionName: string): Promise<any>;
16
+ /**
17
+ * Lists all collections for a resource
18
+ * @param resourceType Resource type
19
+ * @param resourceId Resource ID
20
+ */
21
+ export declare function getCollectionsByResourceService(resourceType: string, resourceId: string): Promise<any>;
22
+ /**
23
+ * Creates a collection
24
+ * @param resourceType Resource type
25
+ * @param resourceId Resource ID
26
+ * @param name Collection name
27
+ */
28
+ export declare function createCollectionService(resourceType: string, resourceId: string, name: string): Promise<any>;
29
+ /**
30
+ * Adds a resource to a collection
31
+ * @param collectionId Collection ID
32
+ * @param resourceType Resource type
33
+ * @param resourceId Resource ID
34
+ */
35
+ export declare function addResourceService(collectionId: number, resourceType: string, resourceId: string): Promise<any>;
36
+ /**
37
+ * Removes a resource from a collection
38
+ * @param collectionId Collection ID
39
+ * @param resourceType Resource type
40
+ * @param resourceId Resource ID
41
+ */
42
+ export declare function removeResourceService(collectionId: number, resourceType: string, resourceId: string): Promise<any>;
43
+ /**
44
+ * Searches for collections
45
+ * @param query Search query
46
+ */
47
+ export declare function searchService(query: string): Promise<any>;
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Use collections composable
3
+ */
4
+ export function useCollections(): {
5
+ storedCollections: import('vue').Ref<never[]>;
6
+ fetchCollectionsByResource: ({ resourceType, resourceId }: {
7
+ resourceType: any;
8
+ resourceId: any;
9
+ }) => Promise<void>;
10
+ createCollection: ({ baseResourceType, baseResourceId, resourceType, resourceId, name }: {
11
+ baseResourceType: any;
12
+ baseResourceId: any;
13
+ resourceType: any;
14
+ resourceId: any;
15
+ name: any;
16
+ }) => Promise<void>;
17
+ renameCollection: ({ collectionId, name }: {
18
+ collectionId: any;
19
+ name: any;
20
+ }) => Promise<void>;
21
+ addResourceToCollection: ({ collectionId, resourceType, resourceId }: {
22
+ collectionId: any;
23
+ resourceType: any;
24
+ resourceId: any;
25
+ }) => Promise<void>;
26
+ removeResourceFromCollection: ({ collectionId, resourceType, resourceId }: {
27
+ collectionId: any;
28
+ resourceType: any;
29
+ resourceId: any;
30
+ }) => Promise<void>;
31
+ };