@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.
- package/CHANGELOG.md +99 -12
- package/dist/assets/{NcActionButton-d8aZCq9u.css → NcActionButton-DfdRrSEu.css} +16 -16
- package/dist/assets/{NcActionCheckbox-tMIOGziy.css → NcActionCheckbox--lTDnNsx.css} +12 -12
- package/dist/assets/{NcActionInput-C-rQsTEA.css → NcActionInput-BNWL2Q-3.css} +62 -62
- package/dist/assets/{NcActionLink-jSPFFKV8.css → NcActionLink-C9_ycPLF.css} +12 -12
- package/dist/assets/{NcActionRadio-xdrmoEIq.css → NcActionRadio-DnAjyubC.css} +12 -12
- package/dist/assets/{NcActionRouter-qNNqBZab.css → NcActionRouter-CVsc7Ezc.css} +15 -15
- package/dist/assets/{NcActionText-0XNfku_2.css → NcActionText-C7y7Pe6P.css} +17 -17
- package/dist/assets/{NcActionTextEditable-ZlNtR_B_.css → NcActionTextEditable-OBnWSj_T.css} +60 -60
- package/dist/assets/{NcAppContent-CLu_1q4O.css → NcAppContent-CvTesBem.css} +23 -23
- package/dist/assets/{NcAppNavigationItem-aVy0uQwf.css → NcAppNavigationItem-Cq6ZYdmT.css} +30 -30
- package/dist/assets/{NcAppNavigationNewItem-rCrG0Uuo.css → NcAppNavigationNewItem-CsqJ6c8v.css} +32 -32
- package/dist/assets/{NcAppSettingsDialog-DZfD_UEa.css → NcAppSettingsDialog-DMWosHw9.css} +10 -10
- package/dist/assets/{NcAppSidebar-GFQ62pY2.css → NcAppSidebar-DejDBLy4.css} +75 -63
- package/dist/assets/{NcAvatar-DUKfNDGL.css → NcAvatar-UxFZ39EC.css} +24 -24
- package/dist/assets/{NcButton-wmjlEdLP.css → NcButton-DbE0wInI.css} +68 -64
- package/dist/assets/{NcCheckboxRadioSwitch-uwXbP_jb.css → NcCheckboxRadioSwitch-sqQXUuVB.css} +45 -44
- package/dist/assets/{NcChip-CKtzzrlA.css → NcChip-C-0jMpNk.css} +9 -9
- package/dist/assets/{NcDashboardWidget-xV4o6Cen.css → NcDashboardWidget-BEYk4O95.css} +12 -12
- package/dist/assets/NcDateTimePicker-pmbCzZnb.css +83 -0
- package/dist/assets/{NcDialog-Dkeikssh.css → NcDialog-bP7Jt0ZE.css} +15 -15
- package/dist/assets/{NcEmptyContent-D1O466rM.css → NcEmptyContent-BqnUPzZQ.css} +9 -9
- package/dist/assets/{NcHeaderButton-BPIasMkw.css → NcHeaderButton-Ct8k0yDh.css} +7 -7
- package/dist/assets/{NcHeaderMenu-ZmtqwEYA.css → NcHeaderMenu-zo6kw_jn.css} +11 -11
- package/dist/assets/{NcIconSvgWrapper-DQFhmjCC.css → NcIconSvgWrapper-BO9Dme5J.css} +14 -8
- package/dist/assets/{NcListItem-Byw-ayOI.css → NcListItem-D6F_oFLK.css} +44 -44
- package/dist/assets/{NcMentionBubble-BL05HUeF.css → NcMentionBubble-CB5c5ue2.css} +10 -9
- package/dist/assets/{NcPopover-ChETNAVH.css → NcPopover-zFjgXDlM.css} +13 -0
- package/dist/assets/{NcRichContenteditable-Bxi-Ki0j.css → NcRichContenteditable-CkyUKlIz.css} +31 -28
- package/dist/assets/{NcRichText-Dvt8jvWN.css → NcRichText-BbVi69cc.css} +87 -89
- package/dist/assets/{NcSelect-B6DUjUdl.css → NcSelect-BCBpQnFL.css} +0 -3
- package/dist/assets/{index-Du_FXiPy.css → index-CjPwAJ46.css} +68 -69
- package/dist/assets/index-D9L0rgJk.css +4 -0
- package/dist/assets/{referencePickerModal-CkGgDb19.css → referencePickerModal-DAD-jv3F.css} +23 -23
- package/dist/chunks/{NcActionButton-BdQ_qmvW.mjs → NcActionButton-BZEDhdCm.mjs} +48 -6
- package/dist/chunks/NcActionButton-BZEDhdCm.mjs.map +1 -0
- package/dist/chunks/{NcActionButtonGroup-TitZerDl.mjs → NcActionButtonGroup-VJlvSBVZ.mjs} +2 -2
- package/dist/chunks/{NcActionButtonGroup-TitZerDl.mjs.map → NcActionButtonGroup-VJlvSBVZ.mjs.map} +1 -1
- package/dist/chunks/{NcActionCheckbox-CUYbo1rw.mjs → NcActionCheckbox-DLPDTACR.mjs} +3 -3
- package/dist/chunks/{NcActionCheckbox-CUYbo1rw.mjs.map → NcActionCheckbox-DLPDTACR.mjs.map} +1 -1
- package/dist/chunks/{NcActionInput-TI648L3V.mjs → NcActionInput-D1R71Reh.mjs} +10 -10
- package/dist/chunks/{NcActionInput-TI648L3V.mjs.map → NcActionInput-D1R71Reh.mjs.map} +1 -1
- package/dist/chunks/{NcActionLink-cQlsviu9.mjs → NcActionLink-BTIApspK.mjs} +3 -3
- package/dist/chunks/{NcActionLink-cQlsviu9.mjs.map → NcActionLink-BTIApspK.mjs.map} +1 -1
- package/dist/chunks/{NcActionRadio-tORL1qPt.mjs → NcActionRadio-CPoWB58D.mjs} +3 -3
- package/dist/chunks/{NcActionRadio-tORL1qPt.mjs.map → NcActionRadio-CPoWB58D.mjs.map} +1 -1
- package/dist/chunks/{NcActionRouter-Bw1tpEZt.mjs → NcActionRouter-DATNpU_e.mjs} +3 -3
- package/dist/chunks/{NcActionRouter-Bw1tpEZt.mjs.map → NcActionRouter-DATNpU_e.mjs.map} +1 -1
- package/dist/chunks/{NcActionText-VLCHOiIy.mjs → NcActionText-3mJjsJz_.mjs} +3 -3
- package/dist/chunks/{NcActionText-VLCHOiIy.mjs.map → NcActionText-3mJjsJz_.mjs.map} +1 -1
- package/dist/chunks/{NcActionTextEditable-nTbwgRy2.mjs → NcActionTextEditable-Dv1_bMFY.mjs} +3 -3
- package/dist/chunks/NcActionTextEditable-Dv1_bMFY.mjs.map +1 -0
- package/dist/chunks/{NcActions-CgKHXNbF.mjs → NcActions-2UedVnLW.mjs} +19 -6
- package/dist/chunks/NcActions-2UedVnLW.mjs.map +1 -0
- package/dist/chunks/{NcAppContent-C4gBVRQs.mjs → NcAppContent-Bdlo1JwI.mjs} +19 -21
- package/dist/chunks/NcAppContent-Bdlo1JwI.mjs.map +1 -0
- package/dist/chunks/{NcAppNavigation-DbRpHbi9.mjs → NcAppNavigation-BHLzIgKf.mjs} +2 -2
- package/dist/chunks/{NcAppNavigation-DbRpHbi9.mjs.map → NcAppNavigation-BHLzIgKf.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationCaption-R_UZ7iKw.mjs → NcAppNavigationCaption-D1_4GAVS.mjs} +2 -2
- package/dist/chunks/{NcAppNavigationCaption-R_UZ7iKw.mjs.map → NcAppNavigationCaption-D1_4GAVS.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationItem-CxYtFEhV.mjs → NcAppNavigationItem-Cxzp2qW7.mjs} +69 -69
- package/dist/chunks/{NcAppNavigationItem-CxYtFEhV.mjs.map → NcAppNavigationItem-Cxzp2qW7.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationNew-sMVo_IoL.mjs → NcAppNavigationNew-BUQgcKdv.mjs} +2 -2
- package/dist/chunks/{NcAppNavigationNew-sMVo_IoL.mjs.map → NcAppNavigationNew-BUQgcKdv.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationNewItem-CJZcL6GH.mjs → NcAppNavigationNewItem-BNFUFCCJ.mjs} +4 -4
- package/dist/chunks/{NcAppNavigationNewItem-CJZcL6GH.mjs.map → NcAppNavigationNewItem-BNFUFCCJ.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationSearch-Dbhh-Vtw.mjs → NcAppNavigationSearch-B7w1J5K3.mjs} +3 -3
- package/dist/chunks/{NcAppNavigationSearch-Dbhh-Vtw.mjs.map → NcAppNavigationSearch-B7w1J5K3.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationSettings-Bfo3EWk_.mjs → NcAppNavigationSettings-aTOqq_-d.mjs} +3 -3
- package/dist/chunks/{NcAppNavigationSettings-Bfo3EWk_.mjs.map → NcAppNavigationSettings-aTOqq_-d.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationToggle-Ys-PjFo3.mjs → NcAppNavigationToggle-CSD4yx6Z.mjs} +3 -3
- package/dist/chunks/{NcAppNavigationToggle-Ys-PjFo3.mjs.map → NcAppNavigationToggle-CSD4yx6Z.mjs.map} +1 -1
- package/dist/chunks/{NcAppSettingsDialog-Cc-OdY9a.mjs → NcAppSettingsDialog-DJhRLDT2.mjs} +8 -8
- package/dist/chunks/{NcAppSettingsDialog-Cc-OdY9a.mjs.map → NcAppSettingsDialog-DJhRLDT2.mjs.map} +1 -1
- package/dist/chunks/{NcAppSidebar-Dgwj8O_Z.mjs → NcAppSidebar-Dnb5U9gv.mjs} +285 -272
- package/dist/chunks/NcAppSidebar-Dnb5U9gv.mjs.map +1 -0
- package/dist/chunks/NcAppSidebarHeader.vue_vue_type_script_setup_true_lang-0j0aFDeK.mjs +30 -0
- package/dist/chunks/NcAppSidebarHeader.vue_vue_type_script_setup_true_lang-0j0aFDeK.mjs.map +1 -0
- package/dist/chunks/{NcAvatar-CA8y4d-c.mjs → NcAvatar-Cg9PDzho.mjs} +36 -14
- package/dist/chunks/NcAvatar-Cg9PDzho.mjs.map +1 -0
- package/dist/chunks/{NcBreadcrumb-DSjIxTeU.mjs → NcBreadcrumb-DpW0HXlg.mjs} +3 -3
- package/dist/chunks/{NcBreadcrumb-DSjIxTeU.mjs.map → NcBreadcrumb-DpW0HXlg.mjs.map} +1 -1
- package/dist/chunks/{NcBreadcrumbs-jPvP6Cmo.mjs → NcBreadcrumbs-CbQjZLpZ.mjs} +6 -7
- package/dist/chunks/{NcBreadcrumbs-jPvP6Cmo.mjs.map → NcBreadcrumbs-CbQjZLpZ.mjs.map} +1 -1
- package/dist/chunks/NcButton-Byg8-ta1.mjs +102 -0
- package/dist/chunks/NcButton-Byg8-ta1.mjs.map +1 -0
- package/dist/chunks/{NcCheckboxRadioSwitch-CWU_M_ui.mjs → NcCheckboxRadioSwitch-BmzUQ-WN.mjs} +29 -27
- package/dist/chunks/NcCheckboxRadioSwitch-BmzUQ-WN.mjs.map +1 -0
- package/dist/chunks/{NcChip-C3U2HYR9.mjs → NcChip-BQRPT42V.mjs} +10 -13
- package/dist/chunks/NcChip-BQRPT42V.mjs.map +1 -0
- package/dist/chunks/{NcCollectionList-BtHsipae.mjs → NcCollectionList-CUlNTcYX.mjs} +6 -6
- package/dist/chunks/{NcCollectionList-BtHsipae.mjs.map → NcCollectionList-CUlNTcYX.mjs.map} +1 -1
- package/dist/chunks/{NcColorPicker-BI-Is4nj.mjs → NcColorPicker-DGwM1Zki.mjs} +5 -5
- package/dist/chunks/{NcColorPicker-BI-Is4nj.mjs.map → NcColorPicker-DGwM1Zki.mjs.map} +1 -1
- package/dist/chunks/{NcContent-BcF6f3N-.mjs → NcContent-BhN8SiS1.mjs} +4 -4
- package/dist/chunks/{NcContent-BcF6f3N-.mjs.map → NcContent-BhN8SiS1.mjs.map} +1 -1
- package/dist/chunks/{NcDashboardWidget-1rVqTzgV.mjs → NcDashboardWidget-CC2pZ6GI.mjs} +7 -7
- package/dist/chunks/{NcDashboardWidget-1rVqTzgV.mjs.map → NcDashboardWidget-CC2pZ6GI.mjs.map} +1 -1
- package/dist/chunks/{NcDashboardWidgetItem-7RXY5EKJ.mjs → NcDashboardWidgetItem-BsHwLKh3.mjs} +4 -4
- package/dist/chunks/{NcDashboardWidgetItem-7RXY5EKJ.mjs.map → NcDashboardWidgetItem-BsHwLKh3.mjs.map} +1 -1
- 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
- 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
- package/dist/chunks/{NcDateTimePicker-BzfuHym4.mjs → NcDateTimePicker-BM9F_PSI.mjs} +79 -37
- package/dist/chunks/NcDateTimePicker-BM9F_PSI.mjs.map +1 -0
- package/dist/chunks/{NcDateTimePickerNative-Dake1IML.mjs → NcDateTimePickerNative-DoGQFKev.mjs} +2 -2
- package/dist/chunks/{NcDateTimePickerNative-Dake1IML.mjs.map → NcDateTimePickerNative-DoGQFKev.mjs.map} +1 -1
- package/dist/chunks/{NcDialog-_pc2BPHU.mjs → NcDialog-CbXsHgYI.mjs} +7 -7
- package/dist/chunks/NcDialog-CbXsHgYI.mjs.map +1 -0
- package/dist/chunks/NcDialogButton.vue_vue_type_script_setup_true_lang-DR0Yn-dH.mjs +69 -0
- package/dist/chunks/NcDialogButton.vue_vue_type_script_setup_true_lang-DR0Yn-dH.mjs.map +1 -0
- package/dist/chunks/{NcEmojiPicker-CWbez_of.mjs → NcEmojiPicker-B0y1ZY5N.mjs} +7 -7
- package/dist/chunks/{NcEmojiPicker-CWbez_of.mjs.map → NcEmojiPicker-B0y1ZY5N.mjs.map} +1 -1
- package/dist/chunks/NcEmptyContent-CBWBkBL8.mjs +56 -0
- package/dist/chunks/NcEmptyContent-CBWBkBL8.mjs.map +1 -0
- package/dist/chunks/{NcHeaderButton-BsstEWtv.mjs → NcHeaderButton-BXfTpkIm.mjs} +4 -4
- package/dist/chunks/{NcHeaderButton-BsstEWtv.mjs.map → NcHeaderButton-BXfTpkIm.mjs.map} +1 -1
- package/dist/chunks/{NcHeaderMenu-ZzoCwPvX.mjs → NcHeaderMenu-D-WDQIHd.mjs} +5 -5
- package/dist/chunks/{NcHeaderMenu-ZzoCwPvX.mjs.map → NcHeaderMenu-D-WDQIHd.mjs.map} +1 -1
- package/dist/chunks/{NcIconSvgWrapper-BYTrkA66.mjs → NcIconSvgWrapper-DZBRQNfG.mjs} +34 -21
- package/dist/chunks/NcIconSvgWrapper-DZBRQNfG.mjs.map +1 -0
- package/dist/chunks/{NcInputConfirmCancel-CX56m05a.mjs → NcInputConfirmCancel-CUJM5y0h.mjs} +3 -3
- package/dist/chunks/{NcInputConfirmCancel-CX56m05a.mjs.map → NcInputConfirmCancel-CUJM5y0h.mjs.map} +1 -1
- package/dist/chunks/{NcInputField-DdZlDVwQ.mjs → NcInputField-BBS1E7r-.mjs} +2 -2
- package/dist/chunks/{NcInputField-DdZlDVwQ.mjs.map → NcInputField-BBS1E7r-.mjs.map} +1 -1
- package/dist/chunks/{NcListItem-DF8Yv05m.mjs → NcListItem-Bx_uxyFR.mjs} +5 -5
- package/dist/chunks/{NcListItem-DF8Yv05m.mjs.map → NcListItem-Bx_uxyFR.mjs.map} +1 -1
- package/dist/chunks/{NcListItemIcon-nzw_x2Q5.mjs → NcListItemIcon-CytWJM69.mjs} +4 -4
- package/dist/chunks/{NcListItemIcon-nzw_x2Q5.mjs.map → NcListItemIcon-CytWJM69.mjs.map} +1 -1
- 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
- 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
- package/dist/chunks/{NcPasswordField-BnnlEhT1.mjs → NcPasswordField-Cac3cpVY.mjs} +3 -3
- package/dist/chunks/{NcPasswordField-BnnlEhT1.mjs.map → NcPasswordField-Cac3cpVY.mjs.map} +1 -1
- package/dist/chunks/{NcPopover-C3ZoyUjc.mjs → NcPopover-CzrFCS-2.mjs} +155 -27
- package/dist/chunks/NcPopover-CzrFCS-2.mjs.map +1 -0
- package/dist/chunks/{NcRelatedResourcesPanel-D2YLEouH.mjs → NcRelatedResourcesPanel-BBKk-jjB.mjs} +4 -4
- package/dist/chunks/{NcRelatedResourcesPanel-D2YLEouH.mjs.map → NcRelatedResourcesPanel-BBKk-jjB.mjs.map} +1 -1
- package/dist/chunks/{NcRichContenteditable-B16VJW0Y.mjs → NcRichContenteditable-gt56b0Uw.mjs} +210 -45
- package/dist/chunks/NcRichContenteditable-gt56b0Uw.mjs.map +1 -0
- package/dist/chunks/{NcRichText-4jIBSmap.mjs → NcRichText-CMRNgGQw.mjs} +8 -8
- package/dist/chunks/{NcRichText-4jIBSmap.mjs.map → NcRichText-CMRNgGQw.mjs.map} +1 -1
- package/dist/chunks/NcSavingIndicatorIcon.vue_vue_type_script_setup_true_lang-DlRBo3QU.mjs +58 -0
- package/dist/chunks/NcSavingIndicatorIcon.vue_vue_type_script_setup_true_lang-DlRBo3QU.mjs.map +1 -0
- package/dist/chunks/{NcSelect-CAx_ixPU.mjs → NcSelect-DFMnY4fI.mjs} +25 -68
- package/dist/chunks/NcSelect-DFMnY4fI.mjs.map +1 -0
- package/dist/chunks/{NcSelectTags-UXzC7lDz.mjs → NcSelectTags-BpFmhbdp.mjs} +3 -3
- package/dist/chunks/{NcSelectTags-UXzC7lDz.mjs.map → NcSelectTags-BpFmhbdp.mjs.map} +1 -1
- package/dist/chunks/{NcSettingsInputText-BEHu3xAI.mjs → NcSettingsInputText-CMBC7DaG.mjs} +3 -3
- package/dist/chunks/{NcSettingsInputText-BEHu3xAI.mjs.map → NcSettingsInputText-CMBC7DaG.mjs.map} +1 -1
- package/dist/chunks/{NcSettingsSection-X7f0W7vZ.mjs → NcSettingsSection-Crla6NXM.mjs} +2 -2
- package/dist/chunks/{NcSettingsSection-X7f0W7vZ.mjs.map → NcSettingsSection-Crla6NXM.mjs.map} +1 -1
- package/dist/chunks/{NcSettingsSelectGroup-DfrKchOy.mjs → NcSettingsSelectGroup-BOv1UgHX.mjs} +4 -4
- package/dist/chunks/{NcSettingsSelectGroup-DfrKchOy.mjs.map → NcSettingsSelectGroup-BOv1UgHX.mjs.map} +1 -1
- package/dist/chunks/{NcTextField-BTzKCPza.mjs → NcTextField-Dzv_qpmt.mjs} +4 -4
- package/dist/chunks/{NcTextField-BTzKCPza.mjs.map → NcTextField-Dzv_qpmt.mjs.map} +1 -1
- package/dist/chunks/NcTimezonePicker.vue_vue_type_script_setup_true_lang-BK7HxZja.mjs +98 -0
- package/dist/chunks/NcTimezonePicker.vue_vue_type_script_setup_true_lang-BK7HxZja.mjs.map +1 -0
- package/dist/chunks/{NcUserBubble-Dgzog0Ps.mjs → NcUserBubble-CnsRuBNe.mjs} +3 -3
- package/dist/chunks/{NcUserBubble-Dgzog0Ps.mjs.map → NcUserBubble-CnsRuBNe.mjs.map} +1 -1
- package/dist/chunks/{NcUserStatusIcon-DvYiEs2L.mjs → NcUserStatusIcon-M_93a-z6.mjs} +3 -3
- package/dist/chunks/{NcUserStatusIcon-DvYiEs2L.mjs.map → NcUserStatusIcon-M_93a-z6.mjs.map} +1 -1
- package/dist/chunks/NcVNodes.vue_vue_type_script_lang-BqUHinRZ.mjs +23 -0
- package/dist/chunks/NcVNodes.vue_vue_type_script_lang-BqUHinRZ.mjs.map +1 -0
- package/dist/chunks/{ScopeComponent-BWZEma4R.mjs → ScopeComponent-Cr_cohWX.mjs} +2 -2
- package/dist/chunks/{ScopeComponent-BWZEma4R.mjs.map → ScopeComponent-Cr_cohWX.mjs.map} +1 -1
- package/dist/chunks/{_l10n-7kR7gXFc.mjs → _l10n-dinIMiE_.mjs} +63 -67
- package/dist/chunks/_l10n-dinIMiE_.mjs.map +1 -0
- package/dist/chunks/{colors-BJbWzaQ-.mjs → colors-AMTxjrbV.mjs} +2 -2
- package/dist/chunks/{colors-BJbWzaQ-.mjs.map → colors-AMTxjrbV.mjs.map} +1 -1
- package/dist/chunks/{referencePickerModal-BpNnwC_g.mjs → referencePickerModal-CMgdGDsm.mjs} +11 -11
- package/dist/chunks/{referencePickerModal-BpNnwC_g.mjs.map → referencePickerModal-CMgdGDsm.mjs.map} +1 -1
- package/dist/chunks/{useFormatDateTime-B5sWtJdj.mjs → useFormatDateTime-lk3QDXbQ.mjs} +2 -2
- package/dist/chunks/{useFormatDateTime-B5sWtJdj.mjs.map → useFormatDateTime-lk3QDXbQ.mjs.map} +1 -1
- package/dist/chunks/{usernameToColor-CzXWY0j4.mjs → usernameToColor-CmB20TBI.mjs} +2 -2
- package/dist/chunks/{usernameToColor-CzXWY0j4.mjs.map → usernameToColor-CmB20TBI.mjs.map} +1 -1
- package/dist/components/NcActionButton/NcActionButton.vue.d.ts +3 -3
- package/dist/components/NcActionButton/index.mjs +1 -1
- package/dist/components/NcActionButtonGroup/index.mjs +1 -1
- package/dist/components/NcActionCheckbox/NcActionCheckbox.vue.d.ts +1 -1
- package/dist/components/NcActionCheckbox/index.mjs +1 -1
- package/dist/components/NcActionInput/index.mjs +1 -1
- package/dist/components/NcActionLink/index.mjs +1 -1
- package/dist/components/NcActionRadio/NcActionRadio.vue.d.ts +1 -1
- package/dist/components/NcActionRadio/index.mjs +1 -1
- package/dist/components/NcActionRouter/NcActionRouter.vue.d.ts +2 -2
- package/dist/components/NcActionRouter/index.mjs +1 -1
- package/dist/components/NcActionText/index.mjs +1 -1
- package/dist/components/NcActionTextEditable/index.mjs +1 -1
- package/dist/components/NcActions/index.mjs +1 -1
- package/dist/components/NcAppContent/index.mjs +1 -1
- package/dist/components/NcAppNavigation/index.mjs +1 -1
- package/dist/components/NcAppNavigationCaption/index.mjs +1 -1
- package/dist/components/NcAppNavigationItem/index.mjs +1 -1
- package/dist/components/NcAppNavigationNew/index.mjs +1 -1
- package/dist/components/NcAppNavigationNewItem/index.mjs +1 -1
- package/dist/components/NcAppNavigationSearch/index.mjs +1 -1
- package/dist/components/NcAppNavigationSettings/NcAppNavigationSettings.vue.d.ts +3 -10
- package/dist/components/NcAppNavigationSettings/index.mjs +1 -1
- package/dist/components/NcAppNavigationToggle/index.mjs +1 -1
- package/dist/components/NcAppSettingsDialog/index.mjs +1 -1
- package/dist/components/NcAppSidebar/NcAppSidebarTabs.vue.d.ts +7 -3
- package/dist/components/NcAppSidebar/index.mjs +1 -1
- package/dist/components/NcAppSidebarHeader/NcAppSidebarHeader.vue.d.ts +18 -0
- package/dist/components/NcAppSidebarHeader/index.d.ts +5 -0
- package/dist/components/NcAppSidebarHeader/index.mjs +5 -0
- package/dist/{mixins/richEditor → components/NcAppSidebarHeader}/index.mjs.map +1 -1
- package/dist/components/NcAppSidebarTab/NcAppSidebarTab.vue.d.ts +1 -1
- package/dist/components/NcAvatar/index.mjs +1 -1
- package/dist/components/NcBlurHash/NcBlurHash.vue.d.ts +6 -13
- package/dist/components/NcBreadcrumb/index.mjs +1 -1
- package/dist/components/NcBreadcrumbs/index.mjs +1 -1
- package/dist/components/NcButton/NcButton.vue.d.ts +102 -238
- package/dist/components/NcButton/index.d.ts +2 -2
- package/dist/components/NcButton/index.mjs +1 -4
- package/dist/components/NcCheckboxRadioSwitch/index.mjs +1 -1
- package/dist/components/NcChip/NcChip.vue.d.ts +36 -38
- package/dist/components/NcChip/index.mjs +1 -1
- package/dist/components/NcCollectionList/index.mjs +1 -1
- package/dist/components/NcColorPicker/index.mjs +1 -1
- package/dist/components/NcContent/index.mjs +1 -1
- package/dist/components/NcCounterBubble/NcCounterBubble.vue.d.ts +1 -1
- package/dist/components/NcDashboardWidget/index.mjs +1 -1
- package/dist/components/NcDashboardWidgetItem/index.mjs +1 -1
- package/dist/components/NcDateTime/NcDateTime.vue.d.ts +2 -31
- package/dist/components/NcDateTime/index.mjs +1 -1
- package/dist/components/NcDateTimePicker/NcDateTimePicker.vue.d.ts +49 -60
- package/dist/components/NcDateTimePicker/index.mjs +1 -1
- package/dist/components/NcDateTimePickerNative/index.mjs +1 -1
- package/dist/components/NcDialog/NcDialog.vue.d.ts +55 -129
- package/dist/components/NcDialog/index.mjs +1 -1
- package/dist/components/NcDialogButton/NcDialogButton.vue.d.ts +33 -109
- package/dist/components/NcDialogButton/index.mjs +1 -1
- package/dist/components/NcEmojiPicker/index.mjs +1 -1
- package/dist/components/NcEmptyContent/NcEmptyContent.vue.d.ts +58 -28
- package/dist/components/NcEmptyContent/index.d.ts +4 -0
- package/dist/components/NcEmptyContent/index.mjs +1 -1
- package/dist/components/NcHeaderButton/NcHeaderButton.vue.d.ts +4 -13
- package/dist/components/NcHeaderButton/index.mjs +1 -1
- package/dist/components/NcHeaderMenu/index.mjs +1 -1
- package/dist/components/NcIconSvgWrapper/NcIconSvgWrapper.vue.d.ts +19 -10
- package/dist/components/NcIconSvgWrapper/index.mjs +1 -1
- package/dist/components/NcInputField/index.mjs +1 -1
- package/dist/components/NcListItem/index.mjs +1 -1
- package/dist/components/NcListItemIcon/index.mjs +1 -1
- package/dist/components/NcLoadingIcon/NcLoadingIcon.vue.d.ts +1 -1
- package/dist/components/NcModal/index.mjs +52 -48
- package/dist/components/NcModal/index.mjs.map +1 -1
- package/dist/components/NcPasswordField/index.mjs +1 -1
- package/dist/components/NcPopover/index.mjs +1 -1
- package/dist/components/NcRelatedResourcesPanel/index.mjs +1 -1
- package/dist/components/NcRichContenteditable/NcAutoCompleteResult.vue.d.ts +2 -2
- package/dist/components/NcRichContenteditable/NcMentionBubble.vue.d.ts +2 -2
- package/dist/components/NcRichContenteditable/NcRichContenteditable.vue.d.ts +347 -0
- package/dist/components/NcRichContenteditable/index.mjs +3 -4
- package/dist/components/NcRichContenteditable/index.mjs.map +1 -1
- package/dist/components/NcRichText/NcReferencePicker/NcProviderList.vue.d.ts +215 -0
- package/dist/components/NcRichText/NcReferencePicker/NcSearch.vue.d.ts +289 -0
- package/dist/components/NcRichText/index.mjs +3 -3
- package/dist/components/NcSavingIndicatorIcon/NcSavingIndicatorIcon.vue.d.ts +13 -56
- package/dist/components/NcSavingIndicatorIcon/index.d.ts +4 -0
- package/dist/components/NcSavingIndicatorIcon/index.mjs +2 -2
- package/dist/components/NcSelect/NcSelect.vue.d.ts +121 -0
- package/dist/components/NcSelect/index.mjs +1 -1
- package/dist/components/NcSelectTags/NcSelectTags.vue.d.ts +205 -0
- package/dist/components/NcSelectTags/index.mjs +1 -1
- package/dist/components/NcSelectUsers/NcSelectUsers.vue.d.ts +117 -0
- package/dist/components/NcSelectUsers/index.d.ts +5 -0
- package/dist/components/NcSelectUsers/index.mjs +73 -0
- package/dist/components/NcSelectUsers/index.mjs.map +1 -0
- package/dist/components/NcSettingsInputText/NcSettingsInputText.vue.d.ts +1 -1
- package/dist/components/NcSettingsInputText/index.mjs +1 -1
- package/dist/components/NcSettingsSection/index.mjs +1 -1
- package/dist/components/NcSettingsSelectGroup/NcSettingsSelectGroup.vue.d.ts +265 -0
- package/dist/components/NcSettingsSelectGroup/index.mjs +1 -1
- package/dist/components/NcTextArea/NcTextArea.vue.d.ts +5 -5
- package/dist/components/NcTextField/index.mjs +1 -1
- package/dist/components/NcTimezonePicker/NcTimezonePicker.vue.d.ts +23 -0
- package/dist/components/NcTimezonePicker/index.d.ts +5 -0
- package/dist/components/NcTimezonePicker/index.mjs +2 -2
- package/dist/components/NcTimezonePicker/timezoneDataProviderService.d.ts +5 -1
- package/dist/components/NcUserBubble/index.mjs +1 -1
- package/dist/components/NcUserStatusIcon/index.mjs +1 -1
- package/dist/components/NcVNodes/NcVNodes.vue.d.ts +8 -3
- package/dist/components/NcVNodes/index.d.ts +4 -0
- package/dist/components/NcVNodes/index.mjs +2 -21
- package/dist/components/NcVNodes/index.mjs.map +1 -1
- package/dist/components/index.d.ts +5 -4
- package/dist/directives/Focus/index.d.ts +2 -3
- package/dist/directives/Focus/index.mjs +1 -2
- package/dist/directives/Focus/index.mjs.map +1 -1
- package/dist/directives/index.d.ts +1 -2
- package/dist/functions/contactsMenu/index.d.ts +40 -0
- package/dist/functions/contactsMenu/index.mjs +22 -0
- package/dist/functions/contactsMenu/index.mjs.map +1 -0
- package/dist/functions/dialog/index.d.ts +29 -13
- package/dist/functions/dialog/index.mjs +27 -18
- package/dist/functions/dialog/index.mjs.map +1 -1
- package/dist/functions/index.d.ts +1 -0
- package/dist/functions/reference/index.mjs +1 -1
- package/dist/functions/usernameToColor/index.mjs +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.mjs +97 -98
- package/dist/index.mjs.map +1 -1
- package/package.json +21 -13
- package/dist/assets/NcDateTimePicker-AIJmp5dC.css +0 -81
- package/dist/assets/index-DQ4Plm4r.css +0 -89
- package/dist/chunks/ChevronLeft-FfC-tiIS.mjs +0 -49
- package/dist/chunks/ChevronLeft-FfC-tiIS.mjs.map +0 -1
- package/dist/chunks/NcActionButton-BdQ_qmvW.mjs.map +0 -1
- package/dist/chunks/NcActionTextEditable-nTbwgRy2.mjs.map +0 -1
- package/dist/chunks/NcActions-CgKHXNbF.mjs.map +0 -1
- package/dist/chunks/NcAppContent-C4gBVRQs.mjs.map +0 -1
- package/dist/chunks/NcAppSidebar-Dgwj8O_Z.mjs.map +0 -1
- package/dist/chunks/NcAvatar-CA8y4d-c.mjs.map +0 -1
- package/dist/chunks/NcButton-BHLqKKYP.mjs +0 -308
- package/dist/chunks/NcButton-BHLqKKYP.mjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch-CWU_M_ui.mjs.map +0 -1
- package/dist/chunks/NcChip-C3U2HYR9.mjs.map +0 -1
- package/dist/chunks/NcDateTimePicker-BzfuHym4.mjs.map +0 -1
- package/dist/chunks/NcDialog-_pc2BPHU.mjs.map +0 -1
- package/dist/chunks/NcDialogButton.vue_vue_type_script_setup_true_lang-BKrJ_xd8.mjs +0 -119
- package/dist/chunks/NcDialogButton.vue_vue_type_script_setup_true_lang-BKrJ_xd8.mjs.map +0 -1
- package/dist/chunks/NcEmptyContent-BQnIrQQn.mjs +0 -68
- package/dist/chunks/NcEmptyContent-BQnIrQQn.mjs.map +0 -1
- package/dist/chunks/NcIconSvgWrapper-BYTrkA66.mjs.map +0 -1
- package/dist/chunks/NcPopover-C3ZoyUjc.mjs.map +0 -1
- package/dist/chunks/NcRichContenteditable-B16VJW0Y.mjs.map +0 -1
- package/dist/chunks/NcSavingIndicatorIcon-icWy8J5x.mjs +0 -80
- package/dist/chunks/NcSavingIndicatorIcon-icWy8J5x.mjs.map +0 -1
- package/dist/chunks/NcSelect-CAx_ixPU.mjs.map +0 -1
- package/dist/chunks/NcTimezonePicker-CMoUk4sZ.mjs +0 -188
- package/dist/chunks/NcTimezonePicker-CMoUk4sZ.mjs.map +0 -1
- package/dist/chunks/_l10n-7kR7gXFc.mjs.map +0 -1
- package/dist/chunks/index--u6iHwFv.mjs +0 -184
- package/dist/chunks/index--u6iHwFv.mjs.map +0 -1
- package/dist/components/NcActions/NcActions.vue.d.ts +0 -544
- package/dist/components/NcAppNavigation/NcAppNavigation.vue.d.ts +0 -215
- package/dist/components/NcAppNavigationCaption/NcAppNavigationCaption.vue.d.ts +0 -379
- package/dist/components/NcAppNavigationItem/NcAppNavigationIconCollapsible.vue.d.ts +0 -161
- package/dist/components/NcAppNavigationItem/NcAppNavigationItem.vue.d.ts +0 -1310
- package/dist/components/NcAppNavigationItem/NcInputConfirmCancel.vue.d.ts +0 -195
- package/dist/components/NcAppNavigationNew/NcAppNavigationNew.vue.d.ts +0 -195
- package/dist/components/NcAppNavigationNewItem/NcAppNavigationNewItem.vue.d.ts +0 -316
- package/dist/components/NcAppNavigationSearch/NcAppNavigationSearch.vue.d.ts +0 -389
- package/dist/components/NcAppNavigationToggle/NcAppNavigationToggle.vue.d.ts +0 -173
- package/dist/components/NcBreadcrumb/NcBreadcrumb.vue.d.ts +0 -717
- package/dist/components/NcBreadcrumbs/NcBreadcrumbs.vue.d.ts +0 -1330
- package/dist/components/NcButton/types.d.ts +0 -30
- package/dist/components/NcContent/NcContent.vue.d.ts +0 -227
- package/dist/components/NcEmojiPicker/NcEmojiPicker.vue.d.ts +0 -642
- package/dist/components/NcHeaderMenu/NcHeaderMenu.vue.d.ts +0 -245
- package/dist/components/NcInputField/NcInputField.vue.d.ts +0 -419
- package/dist/components/NcListItem/NcListItem.vue.d.ts +0 -714
- package/dist/components/NcRelatedResourcesPanel/NcRelatedResourcesPanel.vue.d.ts +0 -553
- package/dist/components/NcRelatedResourcesPanel/NcResource.vue.d.ts +0 -173
- package/dist/components/NcRelatedResourcesPanel/NcTeamResources.vue.d.ts +0 -241
- package/dist/components/NcRichText/NcReferenceList.vue.d.ts +0 -292
- package/dist/components/NcRichText/NcReferencePicker/NcRawLinkInput.vue.d.ts +0 -606
- package/dist/components/NcRichText/NcReferenceWidget.vue.d.ts +0 -211
- package/dist/components/NcRichText/NcRichText.vue.d.ts +0 -409
- package/dist/components/NcTextField/NcTextField.vue.d.ts +0 -314
- package/dist/components/NcTimezonePicker/timezone.d.ts +0 -14
- package/dist/directives/Tooltip/index.d.ts +0 -3
- package/dist/directives/Tooltip/index.mjs +0 -12
- package/dist/directives/Tooltip/index.mjs.map +0 -1
- package/dist/mixins/richEditor/index.mjs +0 -10
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
import { default as debounce } from 'debounce';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
/**
|
|
4
|
+
* The text of the label element of the select group input
|
|
5
|
+
*/
|
|
6
|
+
label: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Placeholder for the input element
|
|
12
|
+
* For backwards compatibility it falls back to the `label` value
|
|
13
|
+
*/
|
|
14
|
+
placeholder: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* id attribute of the select group element
|
|
20
|
+
*/
|
|
21
|
+
id: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: () => string;
|
|
24
|
+
validator: (id: unknown) => boolean;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* value of the select group input
|
|
28
|
+
* A list of group IDs can be provided
|
|
29
|
+
*/
|
|
30
|
+
modelValue: {
|
|
31
|
+
type: ArrayConstructor;
|
|
32
|
+
default: () => never[];
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* disabled state of the settings select group input
|
|
36
|
+
*/
|
|
37
|
+
disabled: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
}>, {}, {
|
|
42
|
+
/** Temporary store to cache groups */
|
|
43
|
+
groups: {};
|
|
44
|
+
randId: string;
|
|
45
|
+
errorMessage: string;
|
|
46
|
+
}, {
|
|
47
|
+
/**
|
|
48
|
+
* If the error message should be shown
|
|
49
|
+
*/
|
|
50
|
+
hasError(): boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Validate input value and only return valid strings (group IDs)
|
|
53
|
+
*
|
|
54
|
+
* @return {string[]}
|
|
55
|
+
*/
|
|
56
|
+
filteredValue(): string[];
|
|
57
|
+
/**
|
|
58
|
+
* value property converted to an array of group objects used as input for the NcSelect
|
|
59
|
+
*/
|
|
60
|
+
inputValue(): any[];
|
|
61
|
+
/**
|
|
62
|
+
* Convert groups object to array of groups required for NcSelect.options
|
|
63
|
+
* Filter out currently selected values
|
|
64
|
+
*
|
|
65
|
+
* @return {object[]}
|
|
66
|
+
*/
|
|
67
|
+
groupsArray(): object[];
|
|
68
|
+
}, {
|
|
69
|
+
t: (original: string, placeholders?: Record<string, string | number>) => string;
|
|
70
|
+
/**
|
|
71
|
+
* Called when a new group is selected or previous group is deselected to emit the update event
|
|
72
|
+
*
|
|
73
|
+
* @param {object[]} updatedValue Array of selected groups
|
|
74
|
+
*/
|
|
75
|
+
update(updatedValue: object[]): void;
|
|
76
|
+
/**
|
|
77
|
+
* Use provisioning API to search for given group and save it in the groups object
|
|
78
|
+
*
|
|
79
|
+
* @param {string} query The query like parts of the id oder display name
|
|
80
|
+
* @return {boolean}
|
|
81
|
+
*/
|
|
82
|
+
loadGroup(query: string): boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Custom filter function for `NcSelect` to filter by ID *and* display name
|
|
85
|
+
*
|
|
86
|
+
* @param {object} option One of the groups
|
|
87
|
+
* @param {string} label The label property of the group
|
|
88
|
+
* @param {string} search The current search string
|
|
89
|
+
*/
|
|
90
|
+
filterGroups(option: object, label: string, search: string): boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Debounce the group search (reduce API calls)
|
|
93
|
+
*/
|
|
94
|
+
onSearch: debounce.DebouncedFunction<(query: any) => void>;
|
|
95
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("input" | "update:modelValue" | "error")[], "input" | "update:modelValue" | "error", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
96
|
+
/**
|
|
97
|
+
* The text of the label element of the select group input
|
|
98
|
+
*/
|
|
99
|
+
label: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
required: true;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Placeholder for the input element
|
|
105
|
+
* For backwards compatibility it falls back to the `label` value
|
|
106
|
+
*/
|
|
107
|
+
placeholder: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* id attribute of the select group element
|
|
113
|
+
*/
|
|
114
|
+
id: {
|
|
115
|
+
type: StringConstructor;
|
|
116
|
+
default: () => string;
|
|
117
|
+
validator: (id: unknown) => boolean;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* value of the select group input
|
|
121
|
+
* A list of group IDs can be provided
|
|
122
|
+
*/
|
|
123
|
+
modelValue: {
|
|
124
|
+
type: ArrayConstructor;
|
|
125
|
+
default: () => never[];
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* disabled state of the settings select group input
|
|
129
|
+
*/
|
|
130
|
+
disabled: {
|
|
131
|
+
type: BooleanConstructor;
|
|
132
|
+
default: boolean;
|
|
133
|
+
};
|
|
134
|
+
}>> & Readonly<{
|
|
135
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
136
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
137
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
138
|
+
}>, {
|
|
139
|
+
id: string;
|
|
140
|
+
disabled: boolean;
|
|
141
|
+
placeholder: string;
|
|
142
|
+
modelValue: unknown[];
|
|
143
|
+
}, {}, {
|
|
144
|
+
NcSelect: import('vue').DefineComponent<{}, {
|
|
145
|
+
avatarSize: number;
|
|
146
|
+
}, {
|
|
147
|
+
search: string;
|
|
148
|
+
}, {
|
|
149
|
+
inputRequired(): any;
|
|
150
|
+
localCalculatePosition(): any;
|
|
151
|
+
localFilterBy(): any;
|
|
152
|
+
localLabel(): any;
|
|
153
|
+
propsToForward(): any;
|
|
154
|
+
}, {
|
|
155
|
+
t: (original: string, placeholders?: Record<string, string | number>) => string;
|
|
156
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, (" " | "update:modelValue")[], " " | "update:modelValue", import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
157
|
+
"on "?: ((...args: any[]) => any) | undefined;
|
|
158
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
159
|
+
}>, {} | {
|
|
160
|
+
[x: string]: any;
|
|
161
|
+
}, {}, {
|
|
162
|
+
ChevronDown: any;
|
|
163
|
+
NcEllipsisedOption: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
164
|
+
name: {
|
|
165
|
+
type: StringConstructor;
|
|
166
|
+
default: string;
|
|
167
|
+
};
|
|
168
|
+
search: {
|
|
169
|
+
type: StringConstructor;
|
|
170
|
+
default: string;
|
|
171
|
+
};
|
|
172
|
+
}>, {}, {}, {
|
|
173
|
+
needsTruncate(): boolean | "";
|
|
174
|
+
split(): number;
|
|
175
|
+
part1(): string;
|
|
176
|
+
part2(): string;
|
|
177
|
+
highlight1(): any[];
|
|
178
|
+
highlight2(): any[];
|
|
179
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
180
|
+
name: {
|
|
181
|
+
type: StringConstructor;
|
|
182
|
+
default: string;
|
|
183
|
+
};
|
|
184
|
+
search: {
|
|
185
|
+
type: StringConstructor;
|
|
186
|
+
default: string;
|
|
187
|
+
};
|
|
188
|
+
}>> & Readonly<{}>, {
|
|
189
|
+
name: string;
|
|
190
|
+
search: string;
|
|
191
|
+
}, {}, {
|
|
192
|
+
NcHighlight: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
193
|
+
text: {
|
|
194
|
+
type: StringConstructor;
|
|
195
|
+
default: string;
|
|
196
|
+
};
|
|
197
|
+
search: {
|
|
198
|
+
type: StringConstructor;
|
|
199
|
+
default: string;
|
|
200
|
+
};
|
|
201
|
+
highlight: {
|
|
202
|
+
type: ArrayConstructor;
|
|
203
|
+
default: () => never[];
|
|
204
|
+
};
|
|
205
|
+
}>, {}, {}, {
|
|
206
|
+
ranges(): any[];
|
|
207
|
+
chunks(): any[];
|
|
208
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
209
|
+
text: {
|
|
210
|
+
type: StringConstructor;
|
|
211
|
+
default: string;
|
|
212
|
+
};
|
|
213
|
+
search: {
|
|
214
|
+
type: StringConstructor;
|
|
215
|
+
default: string;
|
|
216
|
+
};
|
|
217
|
+
highlight: {
|
|
218
|
+
type: ArrayConstructor;
|
|
219
|
+
default: () => never[];
|
|
220
|
+
};
|
|
221
|
+
}>> & Readonly<{}>, {
|
|
222
|
+
search: string;
|
|
223
|
+
text: string;
|
|
224
|
+
highlight: unknown[];
|
|
225
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
226
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
227
|
+
NcLoadingIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
228
|
+
size: {
|
|
229
|
+
type: NumberConstructor;
|
|
230
|
+
default: number;
|
|
231
|
+
};
|
|
232
|
+
appearance: {
|
|
233
|
+
type: StringConstructor;
|
|
234
|
+
validator(value: unknown): boolean;
|
|
235
|
+
default: string;
|
|
236
|
+
};
|
|
237
|
+
name: {
|
|
238
|
+
type: StringConstructor;
|
|
239
|
+
default: string;
|
|
240
|
+
};
|
|
241
|
+
}>, {}, {}, {
|
|
242
|
+
colors(): string[];
|
|
243
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
244
|
+
size: {
|
|
245
|
+
type: NumberConstructor;
|
|
246
|
+
default: number;
|
|
247
|
+
};
|
|
248
|
+
appearance: {
|
|
249
|
+
type: StringConstructor;
|
|
250
|
+
validator(value: unknown): boolean;
|
|
251
|
+
default: string;
|
|
252
|
+
};
|
|
253
|
+
name: {
|
|
254
|
+
type: StringConstructor;
|
|
255
|
+
default: string;
|
|
256
|
+
};
|
|
257
|
+
}>> & Readonly<{}>, {
|
|
258
|
+
name: string;
|
|
259
|
+
size: number;
|
|
260
|
+
appearance: string;
|
|
261
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
262
|
+
VueSelect: any;
|
|
263
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
264
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
265
|
+
export default _default;
|
|
@@ -71,7 +71,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
71
71
|
* Necessary to use NcInputField in the NcActionInput component.
|
|
72
72
|
*/
|
|
73
73
|
inputClass: {
|
|
74
|
-
type: (
|
|
74
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
75
75
|
default: string;
|
|
76
76
|
};
|
|
77
77
|
/**
|
|
@@ -177,7 +177,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
177
177
|
* Necessary to use NcInputField in the NcActionInput component.
|
|
178
178
|
*/
|
|
179
179
|
inputClass: {
|
|
180
|
-
type: (
|
|
180
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
181
181
|
default: string;
|
|
182
182
|
};
|
|
183
183
|
/**
|
|
@@ -193,13 +193,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
193
193
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
194
194
|
}>, {
|
|
195
195
|
label: string;
|
|
196
|
-
error: boolean;
|
|
197
|
-
success: boolean;
|
|
198
196
|
disabled: boolean;
|
|
199
|
-
resize: string;
|
|
200
197
|
inputClass: string | Record<string, any>;
|
|
201
198
|
labelOutside: boolean;
|
|
202
199
|
placeholder: string;
|
|
200
|
+
error: boolean;
|
|
201
|
+
resize: string;
|
|
202
|
+
success: boolean;
|
|
203
203
|
helperText: string;
|
|
204
204
|
}, {}, {
|
|
205
205
|
AlertCircle: any;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ITimezone } from '@nextcloud/timezones';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/**
|
|
4
|
+
* An array of additional timezones to include with the standard database. Useful if there is a custom timezone, e.g. read from user data
|
|
5
|
+
*/
|
|
6
|
+
additionalTimezones?: ITimezone[];
|
|
7
|
+
/**
|
|
8
|
+
* ID of the inner vue-select element, can be used for labels like: `vs-${uid}__combobox`
|
|
9
|
+
*/
|
|
10
|
+
uid?: string;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_PublicProps = {
|
|
13
|
+
modelValue?: string;
|
|
14
|
+
} & __VLS_Props;
|
|
15
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
"update:modelValue": (value: string) => any;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
uid: string;
|
|
21
|
+
additionalTimezones: ITimezone[];
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
export default _default;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
|
|
3
|
+
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
4
|
+
*/
|
|
1
5
|
/**
|
|
2
6
|
* Gets the timezone-manager
|
|
3
7
|
* initializes it if necessary
|
|
4
8
|
*
|
|
5
9
|
* @return {object}
|
|
6
10
|
*/
|
|
7
|
-
export default function
|
|
11
|
+
export default function (): import('@nextcloud/timezones').TimezoneManager;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { PropType, VNode } from 'vue';
|
|
1
2
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
3
|
/**
|
|
3
4
|
* The vnodes to render
|
|
4
5
|
*/
|
|
5
6
|
vnodes: {
|
|
6
|
-
type:
|
|
7
|
+
type: PropType<VNode | VNode[]>;
|
|
7
8
|
default: null;
|
|
8
9
|
};
|
|
9
10
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -11,10 +12,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
11
12
|
* The vnodes to render
|
|
12
13
|
*/
|
|
13
14
|
vnodes: {
|
|
14
|
-
type:
|
|
15
|
+
type: PropType<VNode | VNode[]>;
|
|
15
16
|
default: null;
|
|
16
17
|
};
|
|
17
18
|
}>> & Readonly<{}>, {
|
|
18
|
-
vnodes:
|
|
19
|
+
vnodes: VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
}> | VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
22
|
+
[key: string]: any;
|
|
23
|
+
}>[];
|
|
19
24
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
20
25
|
export default _default;
|
|
@@ -1,24 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
name: "NcVNodes",
|
|
3
|
-
props: {
|
|
4
|
-
/**
|
|
5
|
-
* The vnodes to render
|
|
6
|
-
*/
|
|
7
|
-
vnodes: {
|
|
8
|
-
type: [Array, Object],
|
|
9
|
-
default: null
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
/**
|
|
13
|
-
* The render function to display the component
|
|
14
|
-
*
|
|
15
|
-
* @return {object} The created VNode
|
|
16
|
-
*/
|
|
17
|
-
render() {
|
|
18
|
-
return this.vnodes || this.$slots?.default?.({});
|
|
19
|
-
}
|
|
20
|
-
};
|
|
1
|
+
import { _ } from "../../chunks/NcVNodes.vue_vue_type_script_lang-BqUHinRZ.mjs";
|
|
21
2
|
export {
|
|
22
|
-
|
|
3
|
+
_ as default
|
|
23
4
|
};
|
|
24
5
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -30,6 +30,7 @@ export { default as NcAppNavigationSpacer } from './NcAppNavigationSpacer/index.
|
|
|
30
30
|
export { default as NcAppSettingsDialog } from './NcAppSettingsDialog/index.js';
|
|
31
31
|
export { default as NcAppSettingsSection } from './NcAppSettingsSection/index.js';
|
|
32
32
|
export { default as NcAppSidebar } from './NcAppSidebar/index.js';
|
|
33
|
+
export { default as NcAppSidebarHeader } from './NcAppSidebarHeader/index.ts';
|
|
33
34
|
export { default as NcAppSidebarTab } from './NcAppSidebarTab/index.js';
|
|
34
35
|
export { default as NcAvatar } from './NcAvatar/index.js';
|
|
35
36
|
export { default as NcBlurHash } from './NcBlurHash/index.js';
|
|
@@ -51,7 +52,7 @@ export { default as NcDialog } from './NcDialog/index.js';
|
|
|
51
52
|
export { default as NcDialogButton } from './NcDialogButton/index.js';
|
|
52
53
|
export { default as NcEllipsisedOption } from './NcEllipsisedOption/index.js';
|
|
53
54
|
export { default as NcEmojiPicker } from './NcEmojiPicker/index.js';
|
|
54
|
-
export { default as NcEmptyContent } from './NcEmptyContent/index.
|
|
55
|
+
export { default as NcEmptyContent } from './NcEmptyContent/index.ts';
|
|
55
56
|
export { default as NcGuestContent } from './NcGuestContent/index.js';
|
|
56
57
|
export { default as NcHeaderButton } from './NcHeaderButton/index';
|
|
57
58
|
export { default as NcHeaderMenu } from './NcHeaderMenu/index.js';
|
|
@@ -62,7 +63,6 @@ export { default as NcListItem } from './NcListItem/index.js';
|
|
|
62
63
|
export { default as NcListItemIcon } from './NcListItemIcon/index.js';
|
|
63
64
|
export { default as NcLoadingIcon } from './NcLoadingIcon/index.js';
|
|
64
65
|
export { default as NcModal } from './NcModal/index.js';
|
|
65
|
-
export { default as NcVNodes } from './NcVNodes/index.js';
|
|
66
66
|
export { default as NcNoteCard } from './NcNoteCard/index.js';
|
|
67
67
|
export { default as NcPasswordField } from './NcPasswordField/index.js';
|
|
68
68
|
export { default as NcPopover } from './NcPopover/index.js';
|
|
@@ -70,7 +70,7 @@ export { default as NcProgressBar } from './NcProgressBar/index.js';
|
|
|
70
70
|
export { default as NcRelatedResourcesPanel } from './NcRelatedResourcesPanel/index.js';
|
|
71
71
|
export { default as NcRichContenteditable, NcAutoCompleteResult, NcMentionBubble } from './NcRichContenteditable/index.js';
|
|
72
72
|
export { default as NcRichText } from './NcRichText/index.js';
|
|
73
|
-
export { default as NcSavingIndicatorIcon } from './NcSavingIndicatorIcon/index.
|
|
73
|
+
export { default as NcSavingIndicatorIcon } from './NcSavingIndicatorIcon/index.ts';
|
|
74
74
|
export { default as NcSelect } from './NcSelect/index.js';
|
|
75
75
|
export { default as NcSelectTags } from './NcSelectTags/index.js';
|
|
76
76
|
export { default as NcSettingsInputText } from './NcSettingsInputText/index.js';
|
|
@@ -78,6 +78,7 @@ export { default as NcSettingsSection } from './NcSettingsSection/index.js';
|
|
|
78
78
|
export { default as NcSettingsSelectGroup } from './NcSettingsSelectGroup/index.js';
|
|
79
79
|
export { default as NcTextArea } from './NcTextArea/index.js';
|
|
80
80
|
export { default as NcTextField } from './NcTextField/index.js';
|
|
81
|
-
export { default as NcTimezonePicker } from './NcTimezonePicker/index.
|
|
81
|
+
export { default as NcTimezonePicker } from './NcTimezonePicker/index.ts';
|
|
82
82
|
export { default as NcUserBubble } from './NcUserBubble/index.js';
|
|
83
83
|
export { default as NcUserStatusIcon } from './NcUserStatusIcon/index.js';
|
|
84
|
+
export { default as NcVNodes } from './NcVNodes/index.ts';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../src/directives/Focus/index.
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../src/directives/Focus/index.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport type { ObjectDirective } from 'vue'\n\nconst directive: ObjectDirective<HTMLElement> = {\n\tmounted(el: HTMLElement) {\n\t\tel.focus()\n\t},\n}\n\nexport default directive\n"],"names":[],"mappings":"AAOA,MAAM,YAA0C;AAAA,EAC/C,QAAQ,IAAiB;AACxB,OAAG,MAAM;AAAA,EAAA;AAEX;"}
|
|
@@ -2,6 +2,5 @@
|
|
|
2
2
|
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
|
|
3
3
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
4
4
|
*/
|
|
5
|
-
export { default as Focus } from './Focus/index.
|
|
5
|
+
export { default as Focus } from './Focus/index.ts';
|
|
6
6
|
export { default as Linkify } from './Linkify/index.ts';
|
|
7
|
-
export { default as Tooltip } from './Tooltip/index.js';
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
|
|
3
|
+
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
4
|
+
*/
|
|
5
|
+
export interface ContactsMenuEntry {
|
|
6
|
+
id: number | string | null;
|
|
7
|
+
fullName: string;
|
|
8
|
+
avatar: string | null;
|
|
9
|
+
topAction: object | null;
|
|
10
|
+
actions: object[];
|
|
11
|
+
lastMessage: string;
|
|
12
|
+
emailAddresses: string[];
|
|
13
|
+
profileTitle: string | null;
|
|
14
|
+
profileUrl: string | null;
|
|
15
|
+
status: string | null;
|
|
16
|
+
statusMessage: string | null;
|
|
17
|
+
statusMessageTimestamp: number | null;
|
|
18
|
+
statusIcon: string | null;
|
|
19
|
+
isUser: boolean;
|
|
20
|
+
uid: string | null;
|
|
21
|
+
}
|
|
22
|
+
export interface ContactsMenuAction {
|
|
23
|
+
id: string;
|
|
24
|
+
displayName: (entry: ContactsMenuEntry) => string;
|
|
25
|
+
enabled: (entry: ContactsMenuEntry) => boolean;
|
|
26
|
+
iconSvg: (entry: ContactsMenuEntry) => string;
|
|
27
|
+
callback: (entry: ContactsMenuEntry) => void;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Register a contacts and avatar menu action that will invoke the given callback on click.
|
|
31
|
+
*
|
|
32
|
+
* @param action - The action to register
|
|
33
|
+
*/
|
|
34
|
+
export declare function registerContactsMenuAction(action: ContactsMenuAction): void;
|
|
35
|
+
/**
|
|
36
|
+
* Get all registered and enabled contacts menu actions for the given menu entry.
|
|
37
|
+
*
|
|
38
|
+
* @param entry - The contacts menu entry object as returned by the backend
|
|
39
|
+
*/
|
|
40
|
+
export declare function getEnabledContactsMenuActions(entry: ContactsMenuEntry): ContactsMenuAction[];
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { l as logger } from "../../chunks/logger-D3RVzcfQ.mjs";
|
|
2
|
+
function registerContactsMenuAction(action) {
|
|
3
|
+
window._nc_contacts_menu_hooks ??= {};
|
|
4
|
+
if (window._nc_contacts_menu_hooks[action.id]) {
|
|
5
|
+
logger.error(`ContactsMenu action for id ${action.id} has already been registered`, {
|
|
6
|
+
action
|
|
7
|
+
});
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
window._nc_contacts_menu_hooks[action.id] = action;
|
|
11
|
+
}
|
|
12
|
+
function getEnabledContactsMenuActions(entry) {
|
|
13
|
+
if (!window._nc_contacts_menu_hooks) {
|
|
14
|
+
return [];
|
|
15
|
+
}
|
|
16
|
+
return Object.values(window._nc_contacts_menu_hooks).filter((action) => action.enabled(entry));
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
getEnabledContactsMenuActions,
|
|
20
|
+
registerContactsMenuAction
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../src/functions/contactsMenu/index.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport logger from '../../utils/logger.ts'\n\n// Taken from \\OC\\Contacts\\ContactsMenu\\Entry::jsonSerialize\nexport interface ContactsMenuEntry {\n\tid: number | string | null\n\tfullName: string\n\tavatar: string | null\n\ttopAction: object | null\n\tactions: object[]\n\tlastMessage: string\n\temailAddresses: string[]\n\tprofileTitle: string | null\n\tprofileUrl: string | null\n\tstatus: string | null\n\tstatusMessage: string | null\n\tstatusMessageTimestamp: number | null\n\tstatusIcon: string | null\n\tisUser: boolean\n\tuid: string | null\n}\n\nexport interface ContactsMenuAction {\n\tid: string\n\tdisplayName: (entry: ContactsMenuEntry) => string\n\tenabled: (entry: ContactsMenuEntry) => boolean\n\ticonSvg: (entry: ContactsMenuEntry) => string\n\tcallback: (entry: ContactsMenuEntry) => void\n}\n\n/**\n * Register a contacts and avatar menu action that will invoke the given callback on click.\n *\n * @param action - The action to register\n */\nexport function registerContactsMenuAction(action: ContactsMenuAction): void {\n\twindow._nc_contacts_menu_hooks ??= {}\n\n\tif (window._nc_contacts_menu_hooks[action.id]) {\n\t\tlogger.error(`ContactsMenu action for id ${action.id} has already been registered`, {\n\t\t\taction,\n\t\t})\n\t\treturn\n\t}\n\n\twindow._nc_contacts_menu_hooks[action.id] = action\n}\n\n/**\n * Get all registered and enabled contacts menu actions for the given menu entry.\n *\n * @param entry - The contacts menu entry object as returned by the backend\n */\nexport function getEnabledContactsMenuActions(entry: ContactsMenuEntry): ContactsMenuAction[] {\n\tif (!window._nc_contacts_menu_hooks) {\n\t\treturn []\n\t}\n\n\treturn Object.values(window._nc_contacts_menu_hooks).filter((action) => action.enabled(entry))\n}\n"],"names":[],"mappings":";AAuCO,SAAS,2BAA2B,QAAkC;AAC5E,SAAO,4BAA4B,CAAC;AAEpC,MAAI,OAAO,wBAAwB,OAAO,EAAE,GAAG;AAC9C,WAAO,MAAM,8BAA8B,OAAO,EAAE,gCAAgC;AAAA,MACnF;AAAA,IAAA,CACA;AACD;AAAA,EAAA;AAGM,SAAA,wBAAwB,OAAO,EAAE,IAAI;AAC7C;AAOO,SAAS,8BAA8B,OAAgD;AACzF,MAAA,CAAC,OAAO,yBAAyB;AACpC,WAAO,CAAC;AAAA,EAAA;AAGF,SAAA,OAAO,OAAO,OAAO,uBAAuB,EAAE,OAAO,CAAC,WAAW,OAAO,QAAQ,KAAK,CAAC;AAC9F;"}
|
|
@@ -1,17 +1,33 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
type ComponentProps<T extends Component> = T extends new (...args: any) => {
|
|
3
|
+
$props: infer P;
|
|
4
|
+
} ? P : never;
|
|
5
|
+
type DialogComponent<T extends Component> = 'onClose' extends keyof ComponentProps<T> ? T : 'Please provide a Dialog Component that supports `@close` event';
|
|
7
6
|
/**
|
|
8
|
-
*
|
|
7
|
+
* Event payload array normalized to a single value when payload has only one argument,
|
|
8
|
+
* including one optional argument
|
|
9
|
+
*/
|
|
10
|
+
type NormalizedPayload<T> = T extends [] ? void : T extends [infer F] ? F : T extends {
|
|
11
|
+
length: 0 | 1;
|
|
12
|
+
0?: infer F;
|
|
13
|
+
} ? F | undefined : T;
|
|
14
|
+
type ClosePayload<T> = T extends {
|
|
15
|
+
onClose?: (...args: infer P) => any;
|
|
16
|
+
} ? P : never;
|
|
17
|
+
type SpawnDialogOptions = {
|
|
18
|
+
/**
|
|
19
|
+
* Container to mount the dialog to
|
|
20
|
+
* @default document.body
|
|
21
|
+
*/
|
|
22
|
+
container?: Element | string;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Spawn a single-use Vue dialog instance to get the result when it is closed
|
|
9
26
|
*
|
|
10
|
-
* @param dialog
|
|
11
|
-
* @param props
|
|
12
|
-
* @param
|
|
13
|
-
* @
|
|
14
|
-
* @param onClose Callback when the dialog is closed
|
|
27
|
+
* @param dialog - Dialog component to spawn
|
|
28
|
+
* @param props - Props to pass to the dialog instance
|
|
29
|
+
* @param options - Spawning options
|
|
30
|
+
* @return Promise resolved with the `close` event payload
|
|
15
31
|
*/
|
|
16
|
-
export declare function spawnDialog(dialog:
|
|
32
|
+
export declare function spawnDialog<C extends Component, E extends ClosePayload<ComponentProps<C>>>(dialog: DialogComponent<C>, props?: Partial<ComponentProps<C>>, options?: SpawnDialogOptions): Promise<NormalizedPayload<E>>;
|
|
17
33
|
export {};
|