@nextcloud/vue 9.0.0-alpha.8 → 9.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (365) hide show
  1. package/CHANGELOG.md +99 -12
  2. package/dist/assets/{NcActionButton-d8aZCq9u.css → NcActionButton-DfdRrSEu.css} +16 -16
  3. package/dist/assets/{NcActionCheckbox-tMIOGziy.css → NcActionCheckbox--lTDnNsx.css} +12 -12
  4. package/dist/assets/{NcActionInput-C-rQsTEA.css → NcActionInput-BNWL2Q-3.css} +62 -62
  5. package/dist/assets/{NcActionLink-jSPFFKV8.css → NcActionLink-C9_ycPLF.css} +12 -12
  6. package/dist/assets/{NcActionRadio-xdrmoEIq.css → NcActionRadio-DnAjyubC.css} +12 -12
  7. package/dist/assets/{NcActionRouter-qNNqBZab.css → NcActionRouter-CVsc7Ezc.css} +15 -15
  8. package/dist/assets/{NcActionText-0XNfku_2.css → NcActionText-C7y7Pe6P.css} +17 -17
  9. package/dist/assets/{NcActionTextEditable-ZlNtR_B_.css → NcActionTextEditable-OBnWSj_T.css} +60 -60
  10. package/dist/assets/{NcAppContent-CLu_1q4O.css → NcAppContent-CvTesBem.css} +23 -23
  11. package/dist/assets/{NcAppNavigationItem-aVy0uQwf.css → NcAppNavigationItem-Cq6ZYdmT.css} +30 -30
  12. package/dist/assets/{NcAppNavigationNewItem-rCrG0Uuo.css → NcAppNavigationNewItem-CsqJ6c8v.css} +32 -32
  13. package/dist/assets/{NcAppSettingsDialog-DZfD_UEa.css → NcAppSettingsDialog-DMWosHw9.css} +10 -10
  14. package/dist/assets/{NcAppSidebar-GFQ62pY2.css → NcAppSidebar-DejDBLy4.css} +75 -63
  15. package/dist/assets/{NcAvatar-DUKfNDGL.css → NcAvatar-UxFZ39EC.css} +24 -24
  16. package/dist/assets/{NcButton-wmjlEdLP.css → NcButton-DbE0wInI.css} +68 -64
  17. package/dist/assets/{NcCheckboxRadioSwitch-uwXbP_jb.css → NcCheckboxRadioSwitch-sqQXUuVB.css} +45 -44
  18. package/dist/assets/{NcChip-CKtzzrlA.css → NcChip-C-0jMpNk.css} +9 -9
  19. package/dist/assets/{NcDashboardWidget-xV4o6Cen.css → NcDashboardWidget-BEYk4O95.css} +12 -12
  20. package/dist/assets/NcDateTimePicker-pmbCzZnb.css +83 -0
  21. package/dist/assets/{NcDialog-Dkeikssh.css → NcDialog-bP7Jt0ZE.css} +15 -15
  22. package/dist/assets/{NcEmptyContent-D1O466rM.css → NcEmptyContent-BqnUPzZQ.css} +9 -9
  23. package/dist/assets/{NcHeaderButton-BPIasMkw.css → NcHeaderButton-Ct8k0yDh.css} +7 -7
  24. package/dist/assets/{NcHeaderMenu-ZmtqwEYA.css → NcHeaderMenu-zo6kw_jn.css} +11 -11
  25. package/dist/assets/{NcIconSvgWrapper-DQFhmjCC.css → NcIconSvgWrapper-BO9Dme5J.css} +14 -8
  26. package/dist/assets/{NcListItem-Byw-ayOI.css → NcListItem-D6F_oFLK.css} +44 -44
  27. package/dist/assets/{NcMentionBubble-BL05HUeF.css → NcMentionBubble-CB5c5ue2.css} +10 -9
  28. package/dist/assets/{NcPopover-ChETNAVH.css → NcPopover-zFjgXDlM.css} +13 -0
  29. package/dist/assets/{NcRichContenteditable-Bxi-Ki0j.css → NcRichContenteditable-CkyUKlIz.css} +31 -28
  30. package/dist/assets/{NcRichText-Dvt8jvWN.css → NcRichText-BbVi69cc.css} +87 -89
  31. package/dist/assets/{NcSelect-B6DUjUdl.css → NcSelect-BCBpQnFL.css} +0 -3
  32. package/dist/assets/{index-Du_FXiPy.css → index-CjPwAJ46.css} +68 -69
  33. package/dist/assets/index-D9L0rgJk.css +4 -0
  34. package/dist/assets/{referencePickerModal-CkGgDb19.css → referencePickerModal-DAD-jv3F.css} +23 -23
  35. package/dist/chunks/{NcActionButton-BdQ_qmvW.mjs → NcActionButton-BZEDhdCm.mjs} +48 -6
  36. package/dist/chunks/NcActionButton-BZEDhdCm.mjs.map +1 -0
  37. package/dist/chunks/{NcActionButtonGroup-TitZerDl.mjs → NcActionButtonGroup-VJlvSBVZ.mjs} +2 -2
  38. package/dist/chunks/{NcActionButtonGroup-TitZerDl.mjs.map → NcActionButtonGroup-VJlvSBVZ.mjs.map} +1 -1
  39. package/dist/chunks/{NcActionCheckbox-CUYbo1rw.mjs → NcActionCheckbox-DLPDTACR.mjs} +3 -3
  40. package/dist/chunks/{NcActionCheckbox-CUYbo1rw.mjs.map → NcActionCheckbox-DLPDTACR.mjs.map} +1 -1
  41. package/dist/chunks/{NcActionInput-TI648L3V.mjs → NcActionInput-D1R71Reh.mjs} +10 -10
  42. package/dist/chunks/{NcActionInput-TI648L3V.mjs.map → NcActionInput-D1R71Reh.mjs.map} +1 -1
  43. package/dist/chunks/{NcActionLink-cQlsviu9.mjs → NcActionLink-BTIApspK.mjs} +3 -3
  44. package/dist/chunks/{NcActionLink-cQlsviu9.mjs.map → NcActionLink-BTIApspK.mjs.map} +1 -1
  45. package/dist/chunks/{NcActionRadio-tORL1qPt.mjs → NcActionRadio-CPoWB58D.mjs} +3 -3
  46. package/dist/chunks/{NcActionRadio-tORL1qPt.mjs.map → NcActionRadio-CPoWB58D.mjs.map} +1 -1
  47. package/dist/chunks/{NcActionRouter-Bw1tpEZt.mjs → NcActionRouter-DATNpU_e.mjs} +3 -3
  48. package/dist/chunks/{NcActionRouter-Bw1tpEZt.mjs.map → NcActionRouter-DATNpU_e.mjs.map} +1 -1
  49. package/dist/chunks/{NcActionText-VLCHOiIy.mjs → NcActionText-3mJjsJz_.mjs} +3 -3
  50. package/dist/chunks/{NcActionText-VLCHOiIy.mjs.map → NcActionText-3mJjsJz_.mjs.map} +1 -1
  51. package/dist/chunks/{NcActionTextEditable-nTbwgRy2.mjs → NcActionTextEditable-Dv1_bMFY.mjs} +3 -3
  52. package/dist/chunks/NcActionTextEditable-Dv1_bMFY.mjs.map +1 -0
  53. package/dist/chunks/{NcActions-CgKHXNbF.mjs → NcActions-2UedVnLW.mjs} +19 -6
  54. package/dist/chunks/NcActions-2UedVnLW.mjs.map +1 -0
  55. package/dist/chunks/{NcAppContent-C4gBVRQs.mjs → NcAppContent-Bdlo1JwI.mjs} +19 -21
  56. package/dist/chunks/NcAppContent-Bdlo1JwI.mjs.map +1 -0
  57. package/dist/chunks/{NcAppNavigation-DbRpHbi9.mjs → NcAppNavigation-BHLzIgKf.mjs} +2 -2
  58. package/dist/chunks/{NcAppNavigation-DbRpHbi9.mjs.map → NcAppNavigation-BHLzIgKf.mjs.map} +1 -1
  59. package/dist/chunks/{NcAppNavigationCaption-R_UZ7iKw.mjs → NcAppNavigationCaption-D1_4GAVS.mjs} +2 -2
  60. package/dist/chunks/{NcAppNavigationCaption-R_UZ7iKw.mjs.map → NcAppNavigationCaption-D1_4GAVS.mjs.map} +1 -1
  61. package/dist/chunks/{NcAppNavigationItem-CxYtFEhV.mjs → NcAppNavigationItem-Cxzp2qW7.mjs} +69 -69
  62. package/dist/chunks/{NcAppNavigationItem-CxYtFEhV.mjs.map → NcAppNavigationItem-Cxzp2qW7.mjs.map} +1 -1
  63. package/dist/chunks/{NcAppNavigationNew-sMVo_IoL.mjs → NcAppNavigationNew-BUQgcKdv.mjs} +2 -2
  64. package/dist/chunks/{NcAppNavigationNew-sMVo_IoL.mjs.map → NcAppNavigationNew-BUQgcKdv.mjs.map} +1 -1
  65. package/dist/chunks/{NcAppNavigationNewItem-CJZcL6GH.mjs → NcAppNavigationNewItem-BNFUFCCJ.mjs} +4 -4
  66. package/dist/chunks/{NcAppNavigationNewItem-CJZcL6GH.mjs.map → NcAppNavigationNewItem-BNFUFCCJ.mjs.map} +1 -1
  67. package/dist/chunks/{NcAppNavigationSearch-Dbhh-Vtw.mjs → NcAppNavigationSearch-B7w1J5K3.mjs} +3 -3
  68. package/dist/chunks/{NcAppNavigationSearch-Dbhh-Vtw.mjs.map → NcAppNavigationSearch-B7w1J5K3.mjs.map} +1 -1
  69. package/dist/chunks/{NcAppNavigationSettings-Bfo3EWk_.mjs → NcAppNavigationSettings-aTOqq_-d.mjs} +3 -3
  70. package/dist/chunks/{NcAppNavigationSettings-Bfo3EWk_.mjs.map → NcAppNavigationSettings-aTOqq_-d.mjs.map} +1 -1
  71. package/dist/chunks/{NcAppNavigationToggle-Ys-PjFo3.mjs → NcAppNavigationToggle-CSD4yx6Z.mjs} +3 -3
  72. package/dist/chunks/{NcAppNavigationToggle-Ys-PjFo3.mjs.map → NcAppNavigationToggle-CSD4yx6Z.mjs.map} +1 -1
  73. package/dist/chunks/{NcAppSettingsDialog-Cc-OdY9a.mjs → NcAppSettingsDialog-DJhRLDT2.mjs} +8 -8
  74. package/dist/chunks/{NcAppSettingsDialog-Cc-OdY9a.mjs.map → NcAppSettingsDialog-DJhRLDT2.mjs.map} +1 -1
  75. package/dist/chunks/{NcAppSidebar-Dgwj8O_Z.mjs → NcAppSidebar-Dnb5U9gv.mjs} +285 -272
  76. package/dist/chunks/NcAppSidebar-Dnb5U9gv.mjs.map +1 -0
  77. package/dist/chunks/NcAppSidebarHeader.vue_vue_type_script_setup_true_lang-0j0aFDeK.mjs +30 -0
  78. package/dist/chunks/NcAppSidebarHeader.vue_vue_type_script_setup_true_lang-0j0aFDeK.mjs.map +1 -0
  79. package/dist/chunks/{NcAvatar-CA8y4d-c.mjs → NcAvatar-Cg9PDzho.mjs} +36 -14
  80. package/dist/chunks/NcAvatar-Cg9PDzho.mjs.map +1 -0
  81. package/dist/chunks/{NcBreadcrumb-DSjIxTeU.mjs → NcBreadcrumb-DpW0HXlg.mjs} +3 -3
  82. package/dist/chunks/{NcBreadcrumb-DSjIxTeU.mjs.map → NcBreadcrumb-DpW0HXlg.mjs.map} +1 -1
  83. package/dist/chunks/{NcBreadcrumbs-jPvP6Cmo.mjs → NcBreadcrumbs-CbQjZLpZ.mjs} +6 -7
  84. package/dist/chunks/{NcBreadcrumbs-jPvP6Cmo.mjs.map → NcBreadcrumbs-CbQjZLpZ.mjs.map} +1 -1
  85. package/dist/chunks/NcButton-Byg8-ta1.mjs +102 -0
  86. package/dist/chunks/NcButton-Byg8-ta1.mjs.map +1 -0
  87. package/dist/chunks/{NcCheckboxRadioSwitch-CWU_M_ui.mjs → NcCheckboxRadioSwitch-BmzUQ-WN.mjs} +29 -27
  88. package/dist/chunks/NcCheckboxRadioSwitch-BmzUQ-WN.mjs.map +1 -0
  89. package/dist/chunks/{NcChip-C3U2HYR9.mjs → NcChip-BQRPT42V.mjs} +10 -13
  90. package/dist/chunks/NcChip-BQRPT42V.mjs.map +1 -0
  91. package/dist/chunks/{NcCollectionList-BtHsipae.mjs → NcCollectionList-CUlNTcYX.mjs} +6 -6
  92. package/dist/chunks/{NcCollectionList-BtHsipae.mjs.map → NcCollectionList-CUlNTcYX.mjs.map} +1 -1
  93. package/dist/chunks/{NcColorPicker-BI-Is4nj.mjs → NcColorPicker-DGwM1Zki.mjs} +5 -5
  94. package/dist/chunks/{NcColorPicker-BI-Is4nj.mjs.map → NcColorPicker-DGwM1Zki.mjs.map} +1 -1
  95. package/dist/chunks/{NcContent-BcF6f3N-.mjs → NcContent-BhN8SiS1.mjs} +4 -4
  96. package/dist/chunks/{NcContent-BcF6f3N-.mjs.map → NcContent-BhN8SiS1.mjs.map} +1 -1
  97. package/dist/chunks/{NcDashboardWidget-1rVqTzgV.mjs → NcDashboardWidget-CC2pZ6GI.mjs} +7 -7
  98. package/dist/chunks/{NcDashboardWidget-1rVqTzgV.mjs.map → NcDashboardWidget-CC2pZ6GI.mjs.map} +1 -1
  99. package/dist/chunks/{NcDashboardWidgetItem-7RXY5EKJ.mjs → NcDashboardWidgetItem-BsHwLKh3.mjs} +4 -4
  100. package/dist/chunks/{NcDashboardWidgetItem-7RXY5EKJ.mjs.map → NcDashboardWidgetItem-BsHwLKh3.mjs.map} +1 -1
  101. package/dist/chunks/{NcDateTime.vue_vue_type_script_setup_true_lang-DtP-oauZ.mjs → NcDateTime.vue_vue_type_script_setup_true_lang-CKX0mNnP.mjs} +2 -2
  102. package/dist/chunks/{NcDateTime.vue_vue_type_script_setup_true_lang-DtP-oauZ.mjs.map → NcDateTime.vue_vue_type_script_setup_true_lang-CKX0mNnP.mjs.map} +1 -1
  103. package/dist/chunks/{NcDateTimePicker-BzfuHym4.mjs → NcDateTimePicker-BM9F_PSI.mjs} +79 -37
  104. package/dist/chunks/NcDateTimePicker-BM9F_PSI.mjs.map +1 -0
  105. package/dist/chunks/{NcDateTimePickerNative-Dake1IML.mjs → NcDateTimePickerNative-DoGQFKev.mjs} +2 -2
  106. package/dist/chunks/{NcDateTimePickerNative-Dake1IML.mjs.map → NcDateTimePickerNative-DoGQFKev.mjs.map} +1 -1
  107. package/dist/chunks/{NcDialog-_pc2BPHU.mjs → NcDialog-CbXsHgYI.mjs} +7 -7
  108. package/dist/chunks/NcDialog-CbXsHgYI.mjs.map +1 -0
  109. package/dist/chunks/NcDialogButton.vue_vue_type_script_setup_true_lang-DR0Yn-dH.mjs +69 -0
  110. package/dist/chunks/NcDialogButton.vue_vue_type_script_setup_true_lang-DR0Yn-dH.mjs.map +1 -0
  111. package/dist/chunks/{NcEmojiPicker-CWbez_of.mjs → NcEmojiPicker-B0y1ZY5N.mjs} +7 -7
  112. package/dist/chunks/{NcEmojiPicker-CWbez_of.mjs.map → NcEmojiPicker-B0y1ZY5N.mjs.map} +1 -1
  113. package/dist/chunks/NcEmptyContent-CBWBkBL8.mjs +56 -0
  114. package/dist/chunks/NcEmptyContent-CBWBkBL8.mjs.map +1 -0
  115. package/dist/chunks/{NcHeaderButton-BsstEWtv.mjs → NcHeaderButton-BXfTpkIm.mjs} +4 -4
  116. package/dist/chunks/{NcHeaderButton-BsstEWtv.mjs.map → NcHeaderButton-BXfTpkIm.mjs.map} +1 -1
  117. package/dist/chunks/{NcHeaderMenu-ZzoCwPvX.mjs → NcHeaderMenu-D-WDQIHd.mjs} +5 -5
  118. package/dist/chunks/{NcHeaderMenu-ZzoCwPvX.mjs.map → NcHeaderMenu-D-WDQIHd.mjs.map} +1 -1
  119. package/dist/chunks/{NcIconSvgWrapper-BYTrkA66.mjs → NcIconSvgWrapper-DZBRQNfG.mjs} +34 -21
  120. package/dist/chunks/NcIconSvgWrapper-DZBRQNfG.mjs.map +1 -0
  121. package/dist/chunks/{NcInputConfirmCancel-CX56m05a.mjs → NcInputConfirmCancel-CUJM5y0h.mjs} +3 -3
  122. package/dist/chunks/{NcInputConfirmCancel-CX56m05a.mjs.map → NcInputConfirmCancel-CUJM5y0h.mjs.map} +1 -1
  123. package/dist/chunks/{NcInputField-DdZlDVwQ.mjs → NcInputField-BBS1E7r-.mjs} +2 -2
  124. package/dist/chunks/{NcInputField-DdZlDVwQ.mjs.map → NcInputField-BBS1E7r-.mjs.map} +1 -1
  125. package/dist/chunks/{NcListItem-DF8Yv05m.mjs → NcListItem-Bx_uxyFR.mjs} +5 -5
  126. package/dist/chunks/{NcListItem-DF8Yv05m.mjs.map → NcListItem-Bx_uxyFR.mjs.map} +1 -1
  127. package/dist/chunks/{NcListItemIcon-nzw_x2Q5.mjs → NcListItemIcon-CytWJM69.mjs} +4 -4
  128. package/dist/chunks/{NcListItemIcon-nzw_x2Q5.mjs.map → NcListItemIcon-CytWJM69.mjs.map} +1 -1
  129. package/dist/chunks/{NcMentionBubble.vue_vue_type_style_index_0_scoped_6c8d0da9_lang-DYJMHclV.mjs → NcMentionBubble.vue_vue_type_style_index_0_scoped_5b8f093f_lang-DZbkIMTW.mjs} +2 -2
  130. package/dist/chunks/{NcMentionBubble.vue_vue_type_style_index_0_scoped_6c8d0da9_lang-DYJMHclV.mjs.map → NcMentionBubble.vue_vue_type_style_index_0_scoped_5b8f093f_lang-DZbkIMTW.mjs.map} +1 -1
  131. package/dist/chunks/{NcPasswordField-BnnlEhT1.mjs → NcPasswordField-Cac3cpVY.mjs} +3 -3
  132. package/dist/chunks/{NcPasswordField-BnnlEhT1.mjs.map → NcPasswordField-Cac3cpVY.mjs.map} +1 -1
  133. package/dist/chunks/{NcPopover-C3ZoyUjc.mjs → NcPopover-CzrFCS-2.mjs} +155 -27
  134. package/dist/chunks/NcPopover-CzrFCS-2.mjs.map +1 -0
  135. package/dist/chunks/{NcRelatedResourcesPanel-D2YLEouH.mjs → NcRelatedResourcesPanel-BBKk-jjB.mjs} +4 -4
  136. package/dist/chunks/{NcRelatedResourcesPanel-D2YLEouH.mjs.map → NcRelatedResourcesPanel-BBKk-jjB.mjs.map} +1 -1
  137. package/dist/chunks/{NcRichContenteditable-B16VJW0Y.mjs → NcRichContenteditable-gt56b0Uw.mjs} +210 -45
  138. package/dist/chunks/NcRichContenteditable-gt56b0Uw.mjs.map +1 -0
  139. package/dist/chunks/{NcRichText-4jIBSmap.mjs → NcRichText-CMRNgGQw.mjs} +8 -8
  140. package/dist/chunks/{NcRichText-4jIBSmap.mjs.map → NcRichText-CMRNgGQw.mjs.map} +1 -1
  141. package/dist/chunks/NcSavingIndicatorIcon.vue_vue_type_script_setup_true_lang-DlRBo3QU.mjs +58 -0
  142. package/dist/chunks/NcSavingIndicatorIcon.vue_vue_type_script_setup_true_lang-DlRBo3QU.mjs.map +1 -0
  143. package/dist/chunks/{NcSelect-CAx_ixPU.mjs → NcSelect-DFMnY4fI.mjs} +25 -68
  144. package/dist/chunks/NcSelect-DFMnY4fI.mjs.map +1 -0
  145. package/dist/chunks/{NcSelectTags-UXzC7lDz.mjs → NcSelectTags-BpFmhbdp.mjs} +3 -3
  146. package/dist/chunks/{NcSelectTags-UXzC7lDz.mjs.map → NcSelectTags-BpFmhbdp.mjs.map} +1 -1
  147. package/dist/chunks/{NcSettingsInputText-BEHu3xAI.mjs → NcSettingsInputText-CMBC7DaG.mjs} +3 -3
  148. package/dist/chunks/{NcSettingsInputText-BEHu3xAI.mjs.map → NcSettingsInputText-CMBC7DaG.mjs.map} +1 -1
  149. package/dist/chunks/{NcSettingsSection-X7f0W7vZ.mjs → NcSettingsSection-Crla6NXM.mjs} +2 -2
  150. package/dist/chunks/{NcSettingsSection-X7f0W7vZ.mjs.map → NcSettingsSection-Crla6NXM.mjs.map} +1 -1
  151. package/dist/chunks/{NcSettingsSelectGroup-DfrKchOy.mjs → NcSettingsSelectGroup-BOv1UgHX.mjs} +4 -4
  152. package/dist/chunks/{NcSettingsSelectGroup-DfrKchOy.mjs.map → NcSettingsSelectGroup-BOv1UgHX.mjs.map} +1 -1
  153. package/dist/chunks/{NcTextField-BTzKCPza.mjs → NcTextField-Dzv_qpmt.mjs} +4 -4
  154. package/dist/chunks/{NcTextField-BTzKCPza.mjs.map → NcTextField-Dzv_qpmt.mjs.map} +1 -1
  155. package/dist/chunks/NcTimezonePicker.vue_vue_type_script_setup_true_lang-BK7HxZja.mjs +98 -0
  156. package/dist/chunks/NcTimezonePicker.vue_vue_type_script_setup_true_lang-BK7HxZja.mjs.map +1 -0
  157. package/dist/chunks/{NcUserBubble-Dgzog0Ps.mjs → NcUserBubble-CnsRuBNe.mjs} +3 -3
  158. package/dist/chunks/{NcUserBubble-Dgzog0Ps.mjs.map → NcUserBubble-CnsRuBNe.mjs.map} +1 -1
  159. package/dist/chunks/{NcUserStatusIcon-DvYiEs2L.mjs → NcUserStatusIcon-M_93a-z6.mjs} +3 -3
  160. package/dist/chunks/{NcUserStatusIcon-DvYiEs2L.mjs.map → NcUserStatusIcon-M_93a-z6.mjs.map} +1 -1
  161. package/dist/chunks/NcVNodes.vue_vue_type_script_lang-BqUHinRZ.mjs +23 -0
  162. package/dist/chunks/NcVNodes.vue_vue_type_script_lang-BqUHinRZ.mjs.map +1 -0
  163. package/dist/chunks/{ScopeComponent-BWZEma4R.mjs → ScopeComponent-Cr_cohWX.mjs} +2 -2
  164. package/dist/chunks/{ScopeComponent-BWZEma4R.mjs.map → ScopeComponent-Cr_cohWX.mjs.map} +1 -1
  165. package/dist/chunks/{_l10n-7kR7gXFc.mjs → _l10n-dinIMiE_.mjs} +63 -67
  166. package/dist/chunks/_l10n-dinIMiE_.mjs.map +1 -0
  167. package/dist/chunks/{colors-BJbWzaQ-.mjs → colors-AMTxjrbV.mjs} +2 -2
  168. package/dist/chunks/{colors-BJbWzaQ-.mjs.map → colors-AMTxjrbV.mjs.map} +1 -1
  169. package/dist/chunks/{referencePickerModal-BpNnwC_g.mjs → referencePickerModal-CMgdGDsm.mjs} +11 -11
  170. package/dist/chunks/{referencePickerModal-BpNnwC_g.mjs.map → referencePickerModal-CMgdGDsm.mjs.map} +1 -1
  171. package/dist/chunks/{useFormatDateTime-B5sWtJdj.mjs → useFormatDateTime-lk3QDXbQ.mjs} +2 -2
  172. package/dist/chunks/{useFormatDateTime-B5sWtJdj.mjs.map → useFormatDateTime-lk3QDXbQ.mjs.map} +1 -1
  173. package/dist/chunks/{usernameToColor-CzXWY0j4.mjs → usernameToColor-CmB20TBI.mjs} +2 -2
  174. package/dist/chunks/{usernameToColor-CzXWY0j4.mjs.map → usernameToColor-CmB20TBI.mjs.map} +1 -1
  175. package/dist/components/NcActionButton/NcActionButton.vue.d.ts +3 -3
  176. package/dist/components/NcActionButton/index.mjs +1 -1
  177. package/dist/components/NcActionButtonGroup/index.mjs +1 -1
  178. package/dist/components/NcActionCheckbox/NcActionCheckbox.vue.d.ts +1 -1
  179. package/dist/components/NcActionCheckbox/index.mjs +1 -1
  180. package/dist/components/NcActionInput/index.mjs +1 -1
  181. package/dist/components/NcActionLink/index.mjs +1 -1
  182. package/dist/components/NcActionRadio/NcActionRadio.vue.d.ts +1 -1
  183. package/dist/components/NcActionRadio/index.mjs +1 -1
  184. package/dist/components/NcActionRouter/NcActionRouter.vue.d.ts +2 -2
  185. package/dist/components/NcActionRouter/index.mjs +1 -1
  186. package/dist/components/NcActionText/index.mjs +1 -1
  187. package/dist/components/NcActionTextEditable/index.mjs +1 -1
  188. package/dist/components/NcActions/index.mjs +1 -1
  189. package/dist/components/NcAppContent/index.mjs +1 -1
  190. package/dist/components/NcAppNavigation/index.mjs +1 -1
  191. package/dist/components/NcAppNavigationCaption/index.mjs +1 -1
  192. package/dist/components/NcAppNavigationItem/index.mjs +1 -1
  193. package/dist/components/NcAppNavigationNew/index.mjs +1 -1
  194. package/dist/components/NcAppNavigationNewItem/index.mjs +1 -1
  195. package/dist/components/NcAppNavigationSearch/index.mjs +1 -1
  196. package/dist/components/NcAppNavigationSettings/NcAppNavigationSettings.vue.d.ts +3 -10
  197. package/dist/components/NcAppNavigationSettings/index.mjs +1 -1
  198. package/dist/components/NcAppNavigationToggle/index.mjs +1 -1
  199. package/dist/components/NcAppSettingsDialog/index.mjs +1 -1
  200. package/dist/components/NcAppSidebar/NcAppSidebarTabs.vue.d.ts +7 -3
  201. package/dist/components/NcAppSidebar/index.mjs +1 -1
  202. package/dist/components/NcAppSidebarHeader/NcAppSidebarHeader.vue.d.ts +18 -0
  203. package/dist/components/NcAppSidebarHeader/index.d.ts +5 -0
  204. package/dist/components/NcAppSidebarHeader/index.mjs +5 -0
  205. package/dist/{mixins/richEditor → components/NcAppSidebarHeader}/index.mjs.map +1 -1
  206. package/dist/components/NcAppSidebarTab/NcAppSidebarTab.vue.d.ts +1 -1
  207. package/dist/components/NcAvatar/index.mjs +1 -1
  208. package/dist/components/NcBlurHash/NcBlurHash.vue.d.ts +6 -13
  209. package/dist/components/NcBreadcrumb/index.mjs +1 -1
  210. package/dist/components/NcBreadcrumbs/index.mjs +1 -1
  211. package/dist/components/NcButton/NcButton.vue.d.ts +102 -238
  212. package/dist/components/NcButton/index.d.ts +2 -2
  213. package/dist/components/NcButton/index.mjs +1 -4
  214. package/dist/components/NcCheckboxRadioSwitch/index.mjs +1 -1
  215. package/dist/components/NcChip/NcChip.vue.d.ts +36 -38
  216. package/dist/components/NcChip/index.mjs +1 -1
  217. package/dist/components/NcCollectionList/index.mjs +1 -1
  218. package/dist/components/NcColorPicker/index.mjs +1 -1
  219. package/dist/components/NcContent/index.mjs +1 -1
  220. package/dist/components/NcCounterBubble/NcCounterBubble.vue.d.ts +1 -1
  221. package/dist/components/NcDashboardWidget/index.mjs +1 -1
  222. package/dist/components/NcDashboardWidgetItem/index.mjs +1 -1
  223. package/dist/components/NcDateTime/NcDateTime.vue.d.ts +2 -31
  224. package/dist/components/NcDateTime/index.mjs +1 -1
  225. package/dist/components/NcDateTimePicker/NcDateTimePicker.vue.d.ts +49 -60
  226. package/dist/components/NcDateTimePicker/index.mjs +1 -1
  227. package/dist/components/NcDateTimePickerNative/index.mjs +1 -1
  228. package/dist/components/NcDialog/NcDialog.vue.d.ts +55 -129
  229. package/dist/components/NcDialog/index.mjs +1 -1
  230. package/dist/components/NcDialogButton/NcDialogButton.vue.d.ts +33 -109
  231. package/dist/components/NcDialogButton/index.mjs +1 -1
  232. package/dist/components/NcEmojiPicker/index.mjs +1 -1
  233. package/dist/components/NcEmptyContent/NcEmptyContent.vue.d.ts +58 -28
  234. package/dist/components/NcEmptyContent/index.d.ts +4 -0
  235. package/dist/components/NcEmptyContent/index.mjs +1 -1
  236. package/dist/components/NcHeaderButton/NcHeaderButton.vue.d.ts +4 -13
  237. package/dist/components/NcHeaderButton/index.mjs +1 -1
  238. package/dist/components/NcHeaderMenu/index.mjs +1 -1
  239. package/dist/components/NcIconSvgWrapper/NcIconSvgWrapper.vue.d.ts +19 -10
  240. package/dist/components/NcIconSvgWrapper/index.mjs +1 -1
  241. package/dist/components/NcInputField/index.mjs +1 -1
  242. package/dist/components/NcListItem/index.mjs +1 -1
  243. package/dist/components/NcListItemIcon/index.mjs +1 -1
  244. package/dist/components/NcLoadingIcon/NcLoadingIcon.vue.d.ts +1 -1
  245. package/dist/components/NcModal/index.mjs +52 -48
  246. package/dist/components/NcModal/index.mjs.map +1 -1
  247. package/dist/components/NcPasswordField/index.mjs +1 -1
  248. package/dist/components/NcPopover/index.mjs +1 -1
  249. package/dist/components/NcRelatedResourcesPanel/index.mjs +1 -1
  250. package/dist/components/NcRichContenteditable/NcAutoCompleteResult.vue.d.ts +2 -2
  251. package/dist/components/NcRichContenteditable/NcMentionBubble.vue.d.ts +2 -2
  252. package/dist/components/NcRichContenteditable/NcRichContenteditable.vue.d.ts +347 -0
  253. package/dist/components/NcRichContenteditable/index.mjs +3 -4
  254. package/dist/components/NcRichContenteditable/index.mjs.map +1 -1
  255. package/dist/components/NcRichText/NcReferencePicker/NcProviderList.vue.d.ts +215 -0
  256. package/dist/components/NcRichText/NcReferencePicker/NcSearch.vue.d.ts +289 -0
  257. package/dist/components/NcRichText/index.mjs +3 -3
  258. package/dist/components/NcSavingIndicatorIcon/NcSavingIndicatorIcon.vue.d.ts +13 -56
  259. package/dist/components/NcSavingIndicatorIcon/index.d.ts +4 -0
  260. package/dist/components/NcSavingIndicatorIcon/index.mjs +2 -2
  261. package/dist/components/NcSelect/NcSelect.vue.d.ts +121 -0
  262. package/dist/components/NcSelect/index.mjs +1 -1
  263. package/dist/components/NcSelectTags/NcSelectTags.vue.d.ts +205 -0
  264. package/dist/components/NcSelectTags/index.mjs +1 -1
  265. package/dist/components/NcSelectUsers/NcSelectUsers.vue.d.ts +117 -0
  266. package/dist/components/NcSelectUsers/index.d.ts +5 -0
  267. package/dist/components/NcSelectUsers/index.mjs +73 -0
  268. package/dist/components/NcSelectUsers/index.mjs.map +1 -0
  269. package/dist/components/NcSettingsInputText/NcSettingsInputText.vue.d.ts +1 -1
  270. package/dist/components/NcSettingsInputText/index.mjs +1 -1
  271. package/dist/components/NcSettingsSection/index.mjs +1 -1
  272. package/dist/components/NcSettingsSelectGroup/NcSettingsSelectGroup.vue.d.ts +265 -0
  273. package/dist/components/NcSettingsSelectGroup/index.mjs +1 -1
  274. package/dist/components/NcTextArea/NcTextArea.vue.d.ts +5 -5
  275. package/dist/components/NcTextField/index.mjs +1 -1
  276. package/dist/components/NcTimezonePicker/NcTimezonePicker.vue.d.ts +23 -0
  277. package/dist/components/NcTimezonePicker/index.d.ts +5 -0
  278. package/dist/components/NcTimezonePicker/index.mjs +2 -2
  279. package/dist/components/NcTimezonePicker/timezoneDataProviderService.d.ts +5 -1
  280. package/dist/components/NcUserBubble/index.mjs +1 -1
  281. package/dist/components/NcUserStatusIcon/index.mjs +1 -1
  282. package/dist/components/NcVNodes/NcVNodes.vue.d.ts +8 -3
  283. package/dist/components/NcVNodes/index.d.ts +4 -0
  284. package/dist/components/NcVNodes/index.mjs +2 -21
  285. package/dist/components/NcVNodes/index.mjs.map +1 -1
  286. package/dist/components/index.d.ts +5 -4
  287. package/dist/directives/Focus/index.d.ts +2 -3
  288. package/dist/directives/Focus/index.mjs +1 -2
  289. package/dist/directives/Focus/index.mjs.map +1 -1
  290. package/dist/directives/index.d.ts +1 -2
  291. package/dist/functions/contactsMenu/index.d.ts +40 -0
  292. package/dist/functions/contactsMenu/index.mjs +22 -0
  293. package/dist/functions/contactsMenu/index.mjs.map +1 -0
  294. package/dist/functions/dialog/index.d.ts +29 -13
  295. package/dist/functions/dialog/index.mjs +27 -18
  296. package/dist/functions/dialog/index.mjs.map +1 -1
  297. package/dist/functions/index.d.ts +1 -0
  298. package/dist/functions/reference/index.mjs +1 -1
  299. package/dist/functions/usernameToColor/index.mjs +1 -1
  300. package/dist/index.d.ts +0 -1
  301. package/dist/index.mjs +97 -98
  302. package/dist/index.mjs.map +1 -1
  303. package/package.json +21 -13
  304. package/dist/assets/NcDateTimePicker-AIJmp5dC.css +0 -81
  305. package/dist/assets/index-DQ4Plm4r.css +0 -89
  306. package/dist/chunks/ChevronLeft-FfC-tiIS.mjs +0 -49
  307. package/dist/chunks/ChevronLeft-FfC-tiIS.mjs.map +0 -1
  308. package/dist/chunks/NcActionButton-BdQ_qmvW.mjs.map +0 -1
  309. package/dist/chunks/NcActionTextEditable-nTbwgRy2.mjs.map +0 -1
  310. package/dist/chunks/NcActions-CgKHXNbF.mjs.map +0 -1
  311. package/dist/chunks/NcAppContent-C4gBVRQs.mjs.map +0 -1
  312. package/dist/chunks/NcAppSidebar-Dgwj8O_Z.mjs.map +0 -1
  313. package/dist/chunks/NcAvatar-CA8y4d-c.mjs.map +0 -1
  314. package/dist/chunks/NcButton-BHLqKKYP.mjs +0 -308
  315. package/dist/chunks/NcButton-BHLqKKYP.mjs.map +0 -1
  316. package/dist/chunks/NcCheckboxRadioSwitch-CWU_M_ui.mjs.map +0 -1
  317. package/dist/chunks/NcChip-C3U2HYR9.mjs.map +0 -1
  318. package/dist/chunks/NcDateTimePicker-BzfuHym4.mjs.map +0 -1
  319. package/dist/chunks/NcDialog-_pc2BPHU.mjs.map +0 -1
  320. package/dist/chunks/NcDialogButton.vue_vue_type_script_setup_true_lang-BKrJ_xd8.mjs +0 -119
  321. package/dist/chunks/NcDialogButton.vue_vue_type_script_setup_true_lang-BKrJ_xd8.mjs.map +0 -1
  322. package/dist/chunks/NcEmptyContent-BQnIrQQn.mjs +0 -68
  323. package/dist/chunks/NcEmptyContent-BQnIrQQn.mjs.map +0 -1
  324. package/dist/chunks/NcIconSvgWrapper-BYTrkA66.mjs.map +0 -1
  325. package/dist/chunks/NcPopover-C3ZoyUjc.mjs.map +0 -1
  326. package/dist/chunks/NcRichContenteditable-B16VJW0Y.mjs.map +0 -1
  327. package/dist/chunks/NcSavingIndicatorIcon-icWy8J5x.mjs +0 -80
  328. package/dist/chunks/NcSavingIndicatorIcon-icWy8J5x.mjs.map +0 -1
  329. package/dist/chunks/NcSelect-CAx_ixPU.mjs.map +0 -1
  330. package/dist/chunks/NcTimezonePicker-CMoUk4sZ.mjs +0 -188
  331. package/dist/chunks/NcTimezonePicker-CMoUk4sZ.mjs.map +0 -1
  332. package/dist/chunks/_l10n-7kR7gXFc.mjs.map +0 -1
  333. package/dist/chunks/index--u6iHwFv.mjs +0 -184
  334. package/dist/chunks/index--u6iHwFv.mjs.map +0 -1
  335. package/dist/components/NcActions/NcActions.vue.d.ts +0 -544
  336. package/dist/components/NcAppNavigation/NcAppNavigation.vue.d.ts +0 -215
  337. package/dist/components/NcAppNavigationCaption/NcAppNavigationCaption.vue.d.ts +0 -379
  338. package/dist/components/NcAppNavigationItem/NcAppNavigationIconCollapsible.vue.d.ts +0 -161
  339. package/dist/components/NcAppNavigationItem/NcAppNavigationItem.vue.d.ts +0 -1310
  340. package/dist/components/NcAppNavigationItem/NcInputConfirmCancel.vue.d.ts +0 -195
  341. package/dist/components/NcAppNavigationNew/NcAppNavigationNew.vue.d.ts +0 -195
  342. package/dist/components/NcAppNavigationNewItem/NcAppNavigationNewItem.vue.d.ts +0 -316
  343. package/dist/components/NcAppNavigationSearch/NcAppNavigationSearch.vue.d.ts +0 -389
  344. package/dist/components/NcAppNavigationToggle/NcAppNavigationToggle.vue.d.ts +0 -173
  345. package/dist/components/NcBreadcrumb/NcBreadcrumb.vue.d.ts +0 -717
  346. package/dist/components/NcBreadcrumbs/NcBreadcrumbs.vue.d.ts +0 -1330
  347. package/dist/components/NcButton/types.d.ts +0 -30
  348. package/dist/components/NcContent/NcContent.vue.d.ts +0 -227
  349. package/dist/components/NcEmojiPicker/NcEmojiPicker.vue.d.ts +0 -642
  350. package/dist/components/NcHeaderMenu/NcHeaderMenu.vue.d.ts +0 -245
  351. package/dist/components/NcInputField/NcInputField.vue.d.ts +0 -419
  352. package/dist/components/NcListItem/NcListItem.vue.d.ts +0 -714
  353. package/dist/components/NcRelatedResourcesPanel/NcRelatedResourcesPanel.vue.d.ts +0 -553
  354. package/dist/components/NcRelatedResourcesPanel/NcResource.vue.d.ts +0 -173
  355. package/dist/components/NcRelatedResourcesPanel/NcTeamResources.vue.d.ts +0 -241
  356. package/dist/components/NcRichText/NcReferenceList.vue.d.ts +0 -292
  357. package/dist/components/NcRichText/NcReferencePicker/NcRawLinkInput.vue.d.ts +0 -606
  358. package/dist/components/NcRichText/NcReferenceWidget.vue.d.ts +0 -211
  359. package/dist/components/NcRichText/NcRichText.vue.d.ts +0 -409
  360. package/dist/components/NcTextField/NcTextField.vue.d.ts +0 -314
  361. package/dist/components/NcTimezonePicker/timezone.d.ts +0 -14
  362. package/dist/directives/Tooltip/index.d.ts +0 -3
  363. package/dist/directives/Tooltip/index.mjs +0 -12
  364. package/dist/directives/Tooltip/index.mjs.map +0 -1
  365. package/dist/mixins/richEditor/index.mjs +0 -10
@@ -1,280 +1,144 @@
1
- import { PropType } from 'vue';
2
- import { ButtonAlignment, ButtonType } from './types.ts';
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
1
+ import { Slot } from 'vue';
2
+ import { RouteLocation } from 'vue-router';
3
+ export type ButtonAlignment = 'start' | 'start-reverse' | 'center' | 'center-reverse' | 'end' | 'end-reverse';
4
+ export type ButtonSize = 'small' | 'normal' | 'large';
5
+ export type ButtonType = 'submit' | 'reset' | 'button';
6
+ export type ButtonVariant = 'primary' | 'secondary' | 'tertiary' | 'tertiary-no-background' | 'tertiary-on-primary' | 'error' | 'warning' | 'success';
7
+ interface NcButtonProps {
4
8
  /**
5
9
  * Set the text and icon alignment
6
10
  *
7
11
  * @default 'center'
8
- * @type {'start' | 'start-reverse' | 'center' | 'center-reverse' | 'end' | 'end-reverse'}
9
12
  */
10
- alignment: {
11
- type: PropType<ButtonAlignment>;
12
- default: ButtonAlignment;
13
- validator(value: string): boolean;
14
- };
13
+ alignment?: ButtonAlignment;
15
14
  /**
16
- * Toggles the disabled state of the button on and off.
15
+ * Always try to provide an aria-label to your button.
16
+ *
17
+ * Make it more specific than the button's name by provide some more context.
18
+ * E.g. if the name of the button is "send" in the Mail app,
19
+ * the aria label could be "Send email".
17
20
  */
18
- disabled: {
19
- type: BooleanConstructor;
20
- default: boolean;
21
- };
21
+ ariaLabel?: string;
22
22
  /**
23
- * Specify the button size
24
- * Accepted values: `'small'`, `'normal'` (default), `'large'`
23
+ * Toggles the disabled state of the button on and off.
24
+ * @default false
25
25
  */
26
- size: {
27
- type: StringConstructor;
28
- default: string;
29
- validator(value: string): boolean;
30
- };
26
+ disabled?: boolean;
31
27
  /**
32
- * Specifies the HTML button type.
33
- * Accepted values: submit, reset, button.
28
+ * When `href` is set this will make the browser try to download the target.
29
+ * If a string is passed the browser will use it as the filename.
34
30
  *
35
- * @default 'button'
31
+ * Note that the browser might adjust it for allowed characters (e.g. '/' or '\').
32
+ * Also this only works with same-origin URLs and `blob:` or `data:` schemas.
33
+ * Moreover a `Content-Disposition` header set by the server will override the filename.
36
34
  */
37
- type: {
38
- type: PropType<ButtonType | `${ButtonType}`>;
39
- default: ButtonType;
40
- validator(value: string): boolean;
41
- };
35
+ download?: string | true;
42
36
  /**
43
- * Specifies whether the button should span all the available width.
44
- * By default, buttons span the whole width of the container.
37
+ * Providing the href attribute turns the button component into an `a` element.
45
38
  */
46
- wide: {
47
- type: BooleanConstructor;
48
- default: boolean;
49
- };
39
+ href?: string;
50
40
  /**
51
- * Always try to provide an aria-label to your button. Make it more
52
- * specific than the button's name by provide some more context. E.g. if
53
- * the name of the button is "send" in the Mail app, the aria label could
54
- * be "Send email".
41
+ * The pressed state of the button if it has a checked state.
42
+ * This will add the `aria-pressed` attribute and for the button to have the primary style in checked state.
43
+ *
44
+ * Note: Pressed state is not supported for links.
55
45
  */
56
- ariaLabel: {
57
- type: StringConstructor;
58
- default: null;
59
- };
46
+ pressed?: boolean;
60
47
  /**
61
- * Providing the href attribute turns the button component into an `a`
62
- * element.
48
+ * Specify the button size.
49
+ * @default 'normal'
63
50
  */
64
- href: {
65
- type: StringConstructor;
66
- default: null;
67
- };
51
+ size?: ButtonSize;
68
52
  /**
69
53
  * Target for the `a` element if `href` is set.
70
54
  * @default '_self'
71
55
  */
72
- target: {
73
- type: StringConstructor;
74
- default: string;
75
- };
56
+ target?: string;
76
57
  /**
77
- * Providing the download attribute with href downloads file when clicking.
58
+ * The main button text.
59
+ * This can be overwritten by using the *default* slot.
60
+ * @since 9.0.0
78
61
  */
79
- download: {
80
- type: StringConstructor;
81
- default: null;
82
- };
62
+ text?: string;
83
63
  /**
84
- * Providing the to attribute turns the button component into a `router-link`
85
- * element. Takes precedence over the href attribute.
86
- */
87
- to: {
88
- type: (StringConstructor | ObjectConstructor)[];
89
- default: null;
90
- };
91
- /**
92
- * @deprecated To be removed in @nextcloud/vue 9. Migration guide: remove ariaHidden prop from NcAction* components.
93
- * @todo Add a check in @nextcloud/vue 9 that this prop is not provided,
94
- * otherwise root element will inherit incorrect aria-hidden.
64
+ * Providing the to attribute turns the button component into a `router-link` element.
65
+ *
66
+ * Note: This takes precedence over the href attribute.
95
67
  */
96
- ariaHidden: {
97
- type: BooleanConstructor;
98
- default: null;
99
- };
68
+ to?: string | RouteLocation;
100
69
  /**
101
- * The pressed state of the button if it has a checked state
102
- * This will add the `aria-pressed` attribute and for the button to have the primary style in checked state.
70
+ * Specifies the button native type
71
+ * If left empty, the default "button" type will be used.
103
72
  *
104
- * Pressed state is not supported for links
73
+ * @default 'button'
105
74
  */
106
- pressed: {
107
- type: BooleanConstructor;
108
- default: null;
109
- };
75
+ type?: ButtonType;
110
76
  /**
111
77
  * Specifies the button variant.
112
- *
113
- * Accepted values: primary, secondary, tertiary, tertiary-no-background, tertiary-on-primary, error, warning, success.
78
+ * If left empty, the default button style will be applied.
114
79
  *
115
80
  * @default 'secondary'
116
- * @since 8.23.0
117
- */
118
- variant: {
119
- type: PropType<ButtonVariant | `${ButtonVariant}`>;
120
- validator(value: string): boolean;
121
- default: string;
122
- };
123
- }>, {}, {}, {
124
- /**
125
- * 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
126
- * Otherwise the type property is used.
127
- */
128
- realVariant(): any;
129
- /**
130
- * The HTML button type
131
- */
132
- realType(): "submit" | "reset" | "button" | ButtonType;
133
- /**
134
- * The flexbox alignment of the button content
135
- */
136
- flexAlignment(): string;
137
- /**
138
- * If the button content should be reversed (icon on the end)
139
- */
140
- isReverseAligned(): boolean;
141
- ncPopoverTriggerAttrs(): Record<string, string | undefined>;
142
- }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("update:pressed" | "click")[], "update:pressed" | "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
143
- /**
144
- * Set the text and icon alignment
145
- *
146
- * @default 'center'
147
- * @type {'start' | 'start-reverse' | 'center' | 'center-reverse' | 'end' | 'end-reverse'}
148
- */
149
- alignment: {
150
- type: PropType<ButtonAlignment>;
151
- default: ButtonAlignment;
152
- validator(value: string): boolean;
153
- };
154
- /**
155
- * Toggles the disabled state of the button on and off.
156
- */
157
- disabled: {
158
- type: BooleanConstructor;
159
- default: boolean;
160
- };
161
- /**
162
- * Specify the button size
163
- * Accepted values: `'small'`, `'normal'` (default), `'large'`
164
- */
165
- size: {
166
- type: StringConstructor;
167
- default: string;
168
- validator(value: string): boolean;
169
- };
170
- /**
171
- * Specifies the HTML button type.
172
- * Accepted values: submit, reset, button.
173
- *
174
- * @default 'button'
175
81
  */
176
- type: {
177
- type: PropType<ButtonType | `${ButtonType}`>;
178
- default: ButtonType;
179
- validator(value: string): boolean;
180
- };
82
+ variant?: ButtonVariant;
181
83
  /**
182
84
  * Specifies whether the button should span all the available width.
183
85
  * By default, buttons span the whole width of the container.
184
- */
185
- wide: {
186
- type: BooleanConstructor;
187
- default: boolean;
188
- };
189
- /**
190
- * Always try to provide an aria-label to your button. Make it more
191
- * specific than the button's name by provide some more context. E.g. if
192
- * the name of the button is "send" in the Mail app, the aria label could
193
- * be "Send email".
194
- */
195
- ariaLabel: {
196
- type: StringConstructor;
197
- default: null;
198
- };
199
- /**
200
- * Providing the href attribute turns the button component into an `a`
201
- * element.
202
- */
203
- href: {
204
- type: StringConstructor;
205
- default: null;
206
- };
207
- /**
208
- * Target for the `a` element if `href` is set.
209
- * @default '_self'
210
- */
211
- target: {
212
- type: StringConstructor;
213
- default: string;
214
- };
215
- /**
216
- * Providing the download attribute with href downloads file when clicking.
217
- */
218
- download: {
219
- type: StringConstructor;
220
- default: null;
221
- };
222
- /**
223
- * Providing the to attribute turns the button component into a `router-link`
224
- * element. Takes precedence over the href attribute.
225
- */
226
- to: {
227
- type: (StringConstructor | ObjectConstructor)[];
228
- default: null;
229
- };
230
- /**
231
- * @deprecated To be removed in @nextcloud/vue 9. Migration guide: remove ariaHidden prop from NcAction* components.
232
- * @todo Add a check in @nextcloud/vue 9 that this prop is not provided,
233
- * otherwise root element will inherit incorrect aria-hidden.
234
- */
235
- ariaHidden: {
236
- type: BooleanConstructor;
237
- default: null;
238
- };
239
- /**
240
- * The pressed state of the button if it has a checked state
241
- * This will add the `aria-pressed` attribute and for the button to have the primary style in checked state.
242
- *
243
- * Pressed state is not supported for links
244
- */
245
- pressed: {
246
- type: BooleanConstructor;
247
- default: null;
248
- };
249
- /**
250
- * Specifies the button variant.
251
- *
252
- * Accepted values: primary, secondary, tertiary, tertiary-no-background, tertiary-on-primary, error, warning, success.
253
- *
254
- * @default 'secondary'
255
- * @since 8.23.0
256
- */
257
- variant: {
258
- type: PropType<ButtonVariant | `${ButtonVariant}`>;
259
- validator(value: string): boolean;
260
- default: string;
261
- };
262
- }>> & Readonly<{
263
- "onUpdate:pressed"?: ((...args: any[]) => any) | undefined;
264
- onClick?: ((...args: any[]) => any) | undefined;
86
+ * @default false
87
+ */
88
+ wide?: boolean;
89
+ }
90
+ declare function __VLS_template(): {
91
+ attrs: Partial<{}>;
92
+ slots: Readonly<{
93
+ /**
94
+ * Custom button content.
95
+ * This can be used for custom formatted content, ensure to not include any interactive elements.
96
+ * For plain text it is preferred to use the `text` prop instead.
97
+ */
98
+ default?: Slot;
99
+ /**
100
+ * Icon (optional) to show within the button
101
+ */
102
+ icon?: Slot;
103
+ }> & {
104
+ /**
105
+ * Custom button content.
106
+ * This can be used for custom formatted content, ensure to not include any interactive elements.
107
+ * For plain text it is preferred to use the `text` prop instead.
108
+ */
109
+ default?: Slot;
110
+ /**
111
+ * Icon (optional) to show within the button
112
+ */
113
+ icon?: Slot;
114
+ };
115
+ refs: {};
116
+ rootEl: any;
117
+ };
118
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
119
+ declare const __VLS_component: import('vue').DefineComponent<NcButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
120
+ click: (e: MouseEvent) => any;
121
+ "update:pressed": (pressed: boolean) => any;
122
+ }, string, import('vue').PublicProps, Readonly<NcButtonProps> & Readonly<{
123
+ onClick?: ((e: MouseEvent) => any) | undefined;
124
+ "onUpdate:pressed"?: ((pressed: boolean) => any) | undefined;
265
125
  }>, {
266
- size: string;
267
- type: "submit" | "reset" | "button" | ButtonType;
268
- alignment: ButtonAlignment;
269
- disabled: boolean;
270
- wide: boolean;
271
- ariaLabel: string;
126
+ type: ButtonType;
127
+ size: ButtonSize;
128
+ text: string;
272
129
  href: string;
273
130
  target: string;
274
- download: string;
275
- to: string | Record<string, any>;
276
- ariaHidden: boolean;
131
+ alignment: ButtonAlignment;
132
+ ariaLabel: string;
133
+ download: string | true;
277
134
  pressed: boolean;
278
- variant: any;
279
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
135
+ to: string | RouteLocation;
136
+ variant: ButtonVariant;
137
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
138
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
280
139
  export default _default;
140
+ type __VLS_WithTemplateSlots<T, S> = T & {
141
+ new (): {
142
+ $slots: S;
143
+ };
144
+ };
@@ -1,6 +1,6 @@
1
- /**
1
+ /*!
2
2
  * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
3
3
  * SPDX-License-Identifier: AGPL-3.0-or-later
4
4
  */
5
+ export type * from './NcButton.vue';
5
6
  export { default } from './NcButton.vue';
6
- export * from './types';
@@ -1,8 +1,5 @@
1
- import { B, a, b, N } from "../../chunks/NcButton-BHLqKKYP.mjs";
1
+ import { N } from "../../chunks/NcButton-Byg8-ta1.mjs";
2
2
  export {
3
- B as ButtonAlignment,
4
- a as ButtonType,
5
- b as ButtonVariant,
6
3
  N as default
7
4
  };
8
5
  //# sourceMappingURL=index.mjs.map
@@ -1,4 +1,4 @@
1
- import { N } from "../../chunks/NcCheckboxRadioSwitch-CWU_M_ui.mjs";
1
+ import { N } from "../../chunks/NcCheckboxRadioSwitch-BmzUQ-WN.mjs";
2
2
  export {
3
3
  N as default
4
4
  };
@@ -1,3 +1,4 @@
1
+ import { Slot } from 'vue';
1
2
  type __VLS_Props = {
2
3
  /**
3
4
  * aria label to set on the close button
@@ -32,59 +33,56 @@ type __VLS_Props = {
32
33
  };
33
34
  declare function __VLS_template(): {
34
35
  attrs: Partial<{}>;
35
- slots: {
36
- icon?(_: {}): any;
37
- default?(_: {}): any;
38
- actions?(_: {}): any;
36
+ slots: Readonly<{
37
+ /**
38
+ * The actions slot can be used to add custom actions (`NcAction*`) to the chips actions.
39
+ */
40
+ actions?: Slot;
41
+ /**
42
+ * The default slot can be used to set the text that is shown.
43
+ */
44
+ default?: Slot;
45
+ /**
46
+ * The icon slot can be used to set the chip icon.
47
+ * Make sure that the icon is not exceeding a height of `--chip-size`.
48
+ * For round icons a exact size of `var(--chip-size)` is recommended.
49
+ */
50
+ icon?: Slot;
51
+ }> & {
52
+ /**
53
+ * The actions slot can be used to add custom actions (`NcAction*`) to the chips actions.
54
+ */
55
+ actions?: Slot;
56
+ /**
57
+ * The default slot can be used to set the text that is shown.
58
+ */
59
+ default?: Slot;
60
+ /**
61
+ * The icon slot can be used to set the chip icon.
62
+ * Make sure that the icon is not exceeding a height of `--chip-size`.
63
+ * For round icons a exact size of `var(--chip-size)` is recommended.
64
+ */
65
+ icon?: Slot;
39
66
  };
40
67
  refs: {};
41
68
  rootEl: HTMLDivElement;
42
69
  };
43
70
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
44
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
45
- ariaLabelClose: string;
46
- iconPath: undefined;
47
- iconSvg: undefined;
48
- text: string;
49
- variant: string;
50
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
51
- close: (...args: any[]) => void;
52
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
53
- ariaLabelClose: string;
54
- iconPath: undefined;
55
- iconSvg: undefined;
56
- text: string;
57
- variant: string;
58
- }>>> & Readonly<{
59
- onClose?: ((...args: any[]) => any) | undefined;
71
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
72
+ close: () => any;
73
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
74
+ onClose?: (() => any) | undefined;
60
75
  }>, {
61
76
  text: string;
62
77
  variant: "primary" | "secondary" | "tertiary";
63
78
  iconSvg: string;
64
79
  ariaLabelClose: string;
65
80
  iconPath: string;
66
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
81
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
67
82
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
68
83
  export default _default;
69
- type __VLS_WithDefaults<P, D> = {
70
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
71
- default: D[K];
72
- }> : P[K];
73
- };
74
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
75
- type __VLS_TypePropsToOption<T> = {
76
- [K in keyof T]-?: {} extends Pick<T, K> ? {
77
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
78
- } : {
79
- type: import('vue').PropType<T[K]>;
80
- required: true;
81
- };
82
- };
83
84
  type __VLS_WithTemplateSlots<T, S> = T & {
84
85
  new (): {
85
86
  $slots: S;
86
87
  };
87
88
  };
88
- type __VLS_PrettifyLocal<T> = {
89
- [K in keyof T]: T[K];
90
- } & {};
@@ -1,4 +1,4 @@
1
- import { N } from "../../chunks/NcChip-C3U2HYR9.mjs";
1
+ import { N } from "../../chunks/NcChip-BQRPT42V.mjs";
2
2
  export {
3
3
  N as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { N } from "../../chunks/NcCollectionList-BtHsipae.mjs";
1
+ import { N } from "../../chunks/NcCollectionList-CUlNTcYX.mjs";
2
2
  export {
3
3
  N as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { N } from "../../chunks/NcColorPicker-BI-Is4nj.mjs";
1
+ import { N } from "../../chunks/NcColorPicker-DGwM1Zki.mjs";
2
2
  export {
3
3
  N as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { N } from "../../chunks/NcContent-BcF6f3N-.mjs";
1
+ import { N } from "../../chunks/NcContent-BhN8SiS1.mjs";
2
2
  export {
3
3
  N as default
4
4
  };
@@ -68,7 +68,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
68
68
  };
69
69
  }>> & Readonly<{}>, {
70
70
  type: string;
71
- raw: boolean;
72
71
  active: boolean;
72
+ raw: boolean;
73
73
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
74
74
  export default _default;
@@ -1,4 +1,4 @@
1
- import { N } from "../../chunks/NcDashboardWidget-1rVqTzgV.mjs";
1
+ import { N } from "../../chunks/NcDashboardWidget-CC2pZ6GI.mjs";
2
2
  export {
3
3
  N as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { N } from "../../chunks/NcDashboardWidgetItem-7RXY5EKJ.mjs";
1
+ import { N } from "../../chunks/NcDashboardWidgetItem-BsHwLKh3.mjs";
2
2
  export {
3
3
  N as default
4
4
  };
@@ -21,37 +21,8 @@ type __VLS_Props = {
21
21
  */
22
22
  ignoreSeconds?: boolean;
23
23
  };
24
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
25
- format: () => {
26
- timeStyle: string;
27
- dateStyle: string;
28
- };
29
- relativeTime: string;
30
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
31
- format: () => {
32
- timeStyle: string;
33
- dateStyle: string;
34
- };
35
- relativeTime: string;
36
- }>>> & Readonly<{}>, {
24
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
37
25
  format: Intl.DateTimeFormatOptions;
38
26
  relativeTime: false | "long" | "short" | "narrow";
39
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
27
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
40
28
  export default _default;
41
- type __VLS_WithDefaults<P, D> = {
42
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
43
- default: D[K];
44
- }> : P[K];
45
- };
46
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
47
- type __VLS_TypePropsToOption<T> = {
48
- [K in keyof T]-?: {} extends Pick<T, K> ? {
49
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
50
- } : {
51
- type: import('vue').PropType<T[K]>;
52
- required: true;
53
- };
54
- };
55
- type __VLS_PrettifyLocal<T> = {
56
- [K in keyof T]: T[K];
57
- } & {};
@@ -1,4 +1,4 @@
1
- import { _ } from "../../chunks/NcDateTime.vue_vue_type_script_setup_true_lang-DtP-oauZ.mjs";
1
+ import { _ } from "../../chunks/NcDateTime.vue_vue_type_script_setup_true_lang-CKX0mNnP.mjs";
2
2
  export {
3
3
  _ as default
4
4
  };