@nextcloud/vue 9.3.1 → 9.3.3
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 +21 -0
- package/README.md +44 -44
- package/dist/assets/NcActionCheckbox-DLJQfCUI.css +127 -0
- package/dist/assets/NcActionRadio-Bd4RFH-l.css +127 -0
- package/dist/assets/{NcCheckboxRadioSwitch-C_70VMQr.css → NcCheckboxRadioSwitch-DpYt0YbL.css} +13 -12
- package/dist/assets/{NcFormBoxSwitch-BmyNQCbA.css → NcFormBoxSwitch-DScgbxtv.css} +2 -8
- package/dist/assets/NcIconToggleSwitch-C29S_5Rp.css +30 -0
- package/dist/assets/{NcModal-DLWvQ8EA.css → NcModal-Du-f0B7Y.css} +61 -61
- package/dist/chunks/{NcActionButton-pKOSrlGE.mjs → NcActionButton-DNXoAooH.mjs} +4 -4
- package/dist/chunks/{NcActionButton-pKOSrlGE.mjs.map → NcActionButton-DNXoAooH.mjs.map} +1 -1
- package/dist/chunks/{NcActionButtonGroup-D1cYCNRq.mjs → NcActionButtonGroup-B2MGnwK_.mjs} +3 -3
- package/dist/chunks/{NcActionButtonGroup-D1cYCNRq.mjs.map → NcActionButtonGroup-B2MGnwK_.mjs.map} +1 -1
- package/dist/chunks/{NcActionCaption-Fumfjzxj.mjs → NcActionCaption-Cgd3J8jw.mjs} +2 -2
- package/dist/chunks/{NcActionCaption-Fumfjzxj.mjs.map → NcActionCaption-Cgd3J8jw.mjs.map} +1 -1
- package/dist/chunks/NcActionCheckbox-DeHAMd23.mjs +122 -0
- package/dist/chunks/NcActionCheckbox-DeHAMd23.mjs.map +1 -0
- package/dist/chunks/{NcActionInput-uL5aa-A2.mjs → NcActionInput-BemRG66_.mjs} +5 -5
- package/dist/chunks/{NcActionInput-uL5aa-A2.mjs.map → NcActionInput-BemRG66_.mjs.map} +1 -1
- package/dist/chunks/{NcActionLink-vEvKSV4N.mjs → NcActionLink-Cd69py4e.mjs} +3 -3
- package/dist/chunks/{NcActionLink-vEvKSV4N.mjs.map → NcActionLink-Cd69py4e.mjs.map} +1 -1
- package/dist/chunks/NcActionRadio-DILn0DxW.mjs +120 -0
- package/dist/chunks/NcActionRadio-DILn0DxW.mjs.map +1 -0
- package/dist/chunks/{NcActionRouter-oT-YU_jf.mjs → NcActionRouter-DtxPh20B.mjs} +3 -3
- package/dist/chunks/{NcActionRouter-oT-YU_jf.mjs.map → NcActionRouter-DtxPh20B.mjs.map} +1 -1
- package/dist/chunks/{NcActionText-uKvLcEY6.mjs → NcActionText-Bd1fgVqA.mjs} +3 -3
- package/dist/chunks/{NcActionText-uKvLcEY6.mjs.map → NcActionText-Bd1fgVqA.mjs.map} +1 -1
- package/dist/chunks/{NcActionTextEditable-CoYA6jeC.mjs → NcActionTextEditable-DL4idmon.mjs} +3 -3
- package/dist/chunks/{NcActionTextEditable-CoYA6jeC.mjs.map → NcActionTextEditable-DL4idmon.mjs.map} +1 -1
- package/dist/chunks/{NcActions-DWmvh7-Y.mjs → NcActions-4R7icatI.mjs} +4 -4
- package/dist/chunks/{NcActions-DWmvh7-Y.mjs.map → NcActions-4R7icatI.mjs.map} +1 -1
- package/dist/chunks/{NcAppContent-CTpYDkuT.mjs → NcAppContent-BTNf1r8Z.mjs} +5 -5
- package/dist/chunks/{NcAppContent-CTpYDkuT.mjs.map → NcAppContent-BTNf1r8Z.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigation-NSjIVdnb.mjs → NcAppNavigation-DQB0KqoZ.mjs} +6 -6
- package/dist/chunks/{NcAppNavigation-NSjIVdnb.mjs.map → NcAppNavigation-DQB0KqoZ.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationCaption-D4yUe1MX.mjs → NcAppNavigationCaption-DiLoiMN5.mjs} +2 -2
- package/dist/chunks/{NcAppNavigationCaption-D4yUe1MX.mjs.map → NcAppNavigationCaption-DiLoiMN5.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationItem-hKUS0nZj.mjs → NcAppNavigationItem-OrqBniiI.mjs} +6 -6
- package/dist/chunks/{NcAppNavigationItem-hKUS0nZj.mjs.map → NcAppNavigationItem-OrqBniiI.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationNew-CuwqNksa.mjs → NcAppNavigationNew-WS0F9mau.mjs} +2 -2
- package/dist/chunks/{NcAppNavigationNew-CuwqNksa.mjs.map → NcAppNavigationNew-WS0F9mau.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationNewItem-IzXE-EEq.mjs → NcAppNavigationNewItem-DYH3Gimz.mjs} +2 -2
- package/dist/chunks/{NcAppNavigationNewItem-IzXE-EEq.mjs.map → NcAppNavigationNewItem-DYH3Gimz.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationSearch-DCgwKEm9.mjs → NcAppNavigationSearch-ByuV3q2c.mjs} +4 -4
- package/dist/chunks/{NcAppNavigationSearch-DCgwKEm9.mjs.map → NcAppNavigationSearch-ByuV3q2c.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationSettings-T04pqKfn.mjs → NcAppNavigationSettings-A0DXzd5B.mjs} +5 -5
- package/dist/chunks/{NcAppNavigationSettings-T04pqKfn.mjs.map → NcAppNavigationSettings-A0DXzd5B.mjs.map} +1 -1
- package/dist/chunks/{NcAppSettingsDialog-BCVofwA8.mjs → NcAppSettingsDialog-BaN30xl4.mjs} +5 -5
- package/dist/chunks/{NcAppSettingsDialog-BCVofwA8.mjs.map → NcAppSettingsDialog-BaN30xl4.mjs.map} +1 -1
- package/dist/chunks/{NcAppSettingsSection-B9R7enkC.mjs → NcAppSettingsSection-B2pFK0UK.mjs} +2 -2
- package/dist/chunks/{NcAppSettingsSection-B9R7enkC.mjs.map → NcAppSettingsSection-B2pFK0UK.mjs.map} +1 -1
- package/dist/chunks/{NcAppSettingsShortcutsSection-QPGGYtbC.mjs → NcAppSettingsShortcutsSection-DDmDMMsF.mjs} +4 -4
- package/dist/chunks/{NcAppSettingsShortcutsSection-QPGGYtbC.mjs.map → NcAppSettingsShortcutsSection-DDmDMMsF.mjs.map} +1 -1
- package/dist/chunks/{NcAppSidebar-BvBvQsXb.mjs → NcAppSidebar-as8lzUZp.mjs} +5 -5
- package/dist/chunks/{NcAppSidebar-BvBvQsXb.mjs.map → NcAppSidebar-as8lzUZp.mjs.map} +1 -1
- package/dist/chunks/{NcAssistantButton-CjpLsI1X.mjs → NcAssistantButton-CioiSWRg.mjs} +4 -4
- package/dist/chunks/{NcAssistantButton-CjpLsI1X.mjs.map → NcAssistantButton-CioiSWRg.mjs.map} +1 -1
- package/dist/chunks/{NcAssistantIcon-BMDc4udc.mjs → NcAssistantIcon-8pL-4h5f.mjs} +2 -2
- package/dist/chunks/{NcAssistantIcon-BMDc4udc.mjs.map → NcAssistantIcon-8pL-4h5f.mjs.map} +1 -1
- package/dist/chunks/{NcAvatar-DmUGApWA.mjs → NcAvatar-CK_dTsmT.mjs} +9 -9
- package/dist/chunks/{NcAvatar-DmUGApWA.mjs.map → NcAvatar-CK_dTsmT.mjs.map} +1 -1
- package/dist/chunks/{NcBreadcrumb-Bwkn3eve.mjs → NcBreadcrumb-ChYVw5CP.mjs} +3 -3
- package/dist/chunks/{NcBreadcrumb-Bwkn3eve.mjs.map → NcBreadcrumb-ChYVw5CP.mjs.map} +1 -1
- package/dist/chunks/{NcBreadcrumbs-PN5_hHQn.mjs → NcBreadcrumbs-CbJmdlaF.mjs} +6 -6
- package/dist/chunks/{NcBreadcrumbs-PN5_hHQn.mjs.map → NcBreadcrumbs-CbJmdlaF.mjs.map} +1 -1
- package/dist/chunks/{NcButton-Dc8V4Urj.mjs → NcButton-CzpKEx4V.mjs} +2 -2
- package/dist/chunks/{NcButton-Dc8V4Urj.mjs.map → NcButton-CzpKEx4V.mjs.map} +1 -1
- package/dist/chunks/{NcCheckboxRadioSwitch-BCSKF7Tk.mjs → NcCheckboxRadioSwitch-DisCqPZK.mjs} +38 -119
- package/dist/chunks/NcCheckboxRadioSwitch-DisCqPZK.mjs.map +1 -0
- package/dist/chunks/{NcChip-D8tGFzRl.mjs → NcChip-B8jcrLqG.mjs} +6 -6
- package/dist/chunks/{NcChip-D8tGFzRl.mjs.map → NcChip-B8jcrLqG.mjs.map} +1 -1
- package/dist/chunks/{NcCollectionList-C-Zxsdgw.mjs → NcCollectionList-TB1GbWbo.mjs} +6 -6
- package/dist/chunks/{NcCollectionList-C-Zxsdgw.mjs.map → NcCollectionList-TB1GbWbo.mjs.map} +1 -1
- package/dist/chunks/{NcColorPicker-Kc0JqRtp.mjs → NcColorPicker-3wpX7pKD.mjs} +6 -6
- package/dist/chunks/{NcColorPicker-Kc0JqRtp.mjs.map → NcColorPicker-3wpX7pKD.mjs.map} +1 -1
- package/dist/chunks/{NcContent-BR_nMwKN.mjs → NcContent-BrRHLO19.mjs} +5 -5
- package/dist/chunks/{NcContent-BR_nMwKN.mjs.map → NcContent-BrRHLO19.mjs.map} +1 -1
- package/dist/chunks/{NcDashboardWidget-Bz1t6sj0.mjs → NcDashboardWidget-1tax78_e.mjs} +4 -4
- package/dist/chunks/{NcDashboardWidget-Bz1t6sj0.mjs.map → NcDashboardWidget-1tax78_e.mjs.map} +1 -1
- package/dist/chunks/{NcDashboardWidgetItem-C_xl9X2u.mjs → NcDashboardWidgetItem-BjsN8uF0.mjs} +4 -4
- package/dist/chunks/{NcDashboardWidgetItem-C_xl9X2u.mjs.map → NcDashboardWidgetItem-BjsN8uF0.mjs.map} +1 -1
- package/dist/chunks/{NcDateTimePicker-DTf51PD8.mjs → NcDateTimePicker-DCuHXZjc.mjs} +6 -6
- package/dist/chunks/{NcDateTimePicker-DTf51PD8.mjs.map → NcDateTimePicker-DCuHXZjc.mjs.map} +1 -1
- package/dist/chunks/{NcDateTimePickerNative-DXF3-uR3.mjs → NcDateTimePickerNative-Dr8_mGlQ.mjs} +3 -3
- package/dist/chunks/{NcDateTimePickerNative-DXF3-uR3.mjs.map → NcDateTimePickerNative-Dr8_mGlQ.mjs.map} +1 -1
- package/dist/chunks/{NcDialog-CM7SCS7Z.mjs → NcDialog-BHl_LOs_.mjs} +3 -3
- package/dist/chunks/{NcDialog-CM7SCS7Z.mjs.map → NcDialog-BHl_LOs_.mjs.map} +1 -1
- package/dist/chunks/{NcDialogButton.vue_vue_type_script_setup_true_lang-BBumVVme.mjs → NcDialogButton.vue_vue_type_script_setup_true_lang-CYpktNKA.mjs} +4 -4
- package/dist/chunks/{NcDialogButton.vue_vue_type_script_setup_true_lang-BBumVVme.mjs.map → NcDialogButton.vue_vue_type_script_setup_true_lang-CYpktNKA.mjs.map} +1 -1
- package/dist/chunks/{NcEmojiPicker-pM4Pg2yq.mjs → NcEmojiPicker-CReazifM.mjs} +6 -6
- package/dist/chunks/{NcEmojiPicker-pM4Pg2yq.mjs.map → NcEmojiPicker-CReazifM.mjs.map} +1 -1
- package/dist/chunks/{NcFormBox-K2tCRm3B.mjs → NcFormBox-CkgY7Tif.mjs} +2 -2
- package/dist/chunks/{NcFormBox-K2tCRm3B.mjs.map → NcFormBox-CkgY7Tif.mjs.map} +1 -1
- package/dist/chunks/{NcFormBoxButton-7jokSLLb.mjs → NcFormBoxButton-DvMw5yUf.mjs} +3 -3
- package/dist/chunks/{NcFormBoxButton-7jokSLLb.mjs.map → NcFormBoxButton-DvMw5yUf.mjs.map} +1 -1
- package/dist/chunks/{NcFormBoxCopyButton.vue_vue_type_script_setup_true_lang-B7dsN2G5.mjs → NcFormBoxCopyButton.vue_vue_type_script_setup_true_lang-DYtyXBqR.mjs} +3 -3
- package/dist/chunks/{NcFormBoxCopyButton.vue_vue_type_script_setup_true_lang-B7dsN2G5.mjs.map → NcFormBoxCopyButton.vue_vue_type_script_setup_true_lang-DYtyXBqR.mjs.map} +1 -1
- package/dist/chunks/{NcFormBoxItem-BBP76Mkf.mjs → NcFormBoxItem-vnU0KmUL.mjs} +2 -2
- package/dist/chunks/{NcFormBoxItem-BBP76Mkf.mjs.map → NcFormBoxItem-vnU0KmUL.mjs.map} +1 -1
- package/dist/chunks/{NcFormBoxSwitch-UJwYMQPm.mjs → NcFormBoxSwitch-DGcRJH9Q.mjs} +10 -15
- package/dist/chunks/NcFormBoxSwitch-DGcRJH9Q.mjs.map +1 -0
- package/dist/chunks/{NcHeaderButton-CA17OV7l.mjs → NcHeaderButton-CIb5SvFk.mjs} +2 -2
- package/dist/chunks/{NcHeaderButton-CA17OV7l.mjs.map → NcHeaderButton-CIb5SvFk.mjs.map} +1 -1
- package/dist/chunks/{NcHeaderMenu-CdlSBOyC.mjs → NcHeaderMenu-CeJZT5-m.mjs} +2 -2
- package/dist/chunks/{NcHeaderMenu-CdlSBOyC.mjs.map → NcHeaderMenu-CeJZT5-m.mjs.map} +1 -1
- package/dist/chunks/{NcHotkey-KGHPzHBJ.mjs → NcHotkey-BMbdzaIs.mjs} +2 -2
- package/dist/chunks/{NcHotkey-KGHPzHBJ.mjs.map → NcHotkey-BMbdzaIs.mjs.map} +1 -1
- package/dist/chunks/{NcHotkeyList-BBE5BqwB.mjs → NcHotkeyList-67NnF26Y.mjs} +3 -3
- package/dist/chunks/{NcHotkeyList-BBE5BqwB.mjs.map → NcHotkeyList-67NnF26Y.mjs.map} +1 -1
- package/dist/chunks/NcIconToggleSwitch-DNEYngCw.mjs +50 -0
- package/dist/chunks/NcIconToggleSwitch-DNEYngCw.mjs.map +1 -0
- package/dist/chunks/{NcInputConfirmCancel-CSO9hp4z.mjs → NcInputConfirmCancel-DjMO3Xyv.mjs} +3 -3
- package/dist/chunks/{NcInputConfirmCancel-CSO9hp4z.mjs.map → NcInputConfirmCancel-DjMO3Xyv.mjs.map} +1 -1
- package/dist/chunks/{NcInputField-Bwsh2aHY.mjs → NcInputField-Clm9jOGJ.mjs} +3 -3
- package/dist/chunks/{NcInputField-Bwsh2aHY.mjs.map → NcInputField-Clm9jOGJ.mjs.map} +1 -1
- package/dist/chunks/{NcKbd-D3YSTteg.mjs → NcKbd-CZdynD1d.mjs} +3 -3
- package/dist/chunks/{NcKbd-D3YSTteg.mjs.map → NcKbd-CZdynD1d.mjs.map} +1 -1
- package/dist/chunks/{NcListItem-BHmdTInS.mjs → NcListItem-Bx93C7tP.mjs} +2 -2
- package/dist/chunks/{NcListItem-BHmdTInS.mjs.map → NcListItem-Bx93C7tP.mjs.map} +1 -1
- package/dist/chunks/{NcListItemIcon-8fWhyS_R.mjs → NcListItemIcon-DVy6eGJx.mjs} +2 -2
- package/dist/chunks/{NcListItemIcon-8fWhyS_R.mjs.map → NcListItemIcon-DVy6eGJx.mjs.map} +1 -1
- package/dist/chunks/{NcModal-MC_HktJd.mjs → NcModal-D00OJZV2.mjs} +9 -9
- package/dist/chunks/{NcModal-MC_HktJd.mjs.map → NcModal-D00OJZV2.mjs.map} +1 -1
- package/dist/chunks/{NcNoteCard-CVhtNL04.mjs → NcNoteCard-Cok_4Fld.mjs} +2 -2
- package/dist/chunks/{NcNoteCard-CVhtNL04.mjs.map → NcNoteCard-Cok_4Fld.mjs.map} +1 -1
- package/dist/chunks/{NcPasswordField-djttkA5Q.mjs → NcPasswordField-BOZlUwhr.mjs} +5 -5
- package/dist/chunks/{NcPasswordField-djttkA5Q.mjs.map → NcPasswordField-BOZlUwhr.mjs.map} +1 -1
- package/dist/chunks/{NcRadioGroup-CLtk-WPR.mjs → NcRadioGroup-HorQ2m39.mjs} +3 -3
- package/dist/chunks/{NcRadioGroup-CLtk-WPR.mjs.map → NcRadioGroup-HorQ2m39.mjs.map} +1 -1
- package/dist/chunks/{NcRadioGroupButton-CDA5i7Dq.mjs → NcRadioGroupButton-CAisx7g4.mjs} +3 -3
- package/dist/chunks/{NcRadioGroupButton-CDA5i7Dq.mjs.map → NcRadioGroupButton-CAisx7g4.mjs.map} +1 -1
- package/dist/chunks/{NcRelatedResourcesPanel-BVGAmIja.mjs → NcRelatedResourcesPanel-Dtxd3-o1.mjs} +3 -3
- package/dist/chunks/{NcRelatedResourcesPanel-BVGAmIja.mjs.map → NcRelatedResourcesPanel-Dtxd3-o1.mjs.map} +1 -1
- package/dist/chunks/{NcRichContenteditable-0w6dbJeG.mjs → NcRichContenteditable-B-w64JsT.mjs} +11 -11
- package/dist/chunks/{NcRichContenteditable-0w6dbJeG.mjs.map → NcRichContenteditable-B-w64JsT.mjs.map} +1 -1
- package/dist/chunks/{NcRichText-CBMtJzE_.mjs → NcRichText-1U5RXjPL.mjs} +5 -5
- package/dist/chunks/{NcRichText-CBMtJzE_.mjs.map → NcRichText-1U5RXjPL.mjs.map} +1 -1
- package/dist/chunks/{NcSelect-Czzsi3P_.mjs → NcSelect-Cc9_a8nG.mjs} +2 -2
- package/dist/chunks/{NcSelect-Czzsi3P_.mjs.map → NcSelect-Cc9_a8nG.mjs.map} +1 -1
- package/dist/chunks/{NcSelectTags-DJwqmQ7_.mjs → NcSelectTags-JyyA4W_e.mjs} +3 -3
- package/dist/chunks/{NcSelectTags-DJwqmQ7_.mjs.map → NcSelectTags-JyyA4W_e.mjs.map} +1 -1
- package/dist/chunks/{NcSelectUsers-DVTI1DIZ.mjs → NcSelectUsers-DlUM6S6l.mjs} +3 -3
- package/dist/chunks/{NcSelectUsers-DVTI1DIZ.mjs.map → NcSelectUsers-DlUM6S6l.mjs.map} +1 -1
- package/dist/chunks/{NcSettingsSection-DYXU4pOK.mjs → NcSettingsSection-BcLE6UnZ.mjs} +3 -3
- package/dist/chunks/{NcSettingsSection-DYXU4pOK.mjs.map → NcSettingsSection-BcLE6UnZ.mjs.map} +1 -1
- package/dist/chunks/{NcSettingsSelectGroup-CuRTrvVN.mjs → NcSettingsSelectGroup-CUU-GWYl.mjs} +3 -3
- package/dist/chunks/{NcSettingsSelectGroup-CuRTrvVN.mjs.map → NcSettingsSelectGroup-CUU-GWYl.mjs.map} +1 -1
- package/dist/chunks/{NcTextArea-CdtxX_QJ.mjs → NcTextArea-PIs9Kt0A.mjs} +2 -2
- package/dist/chunks/{NcTextArea-CdtxX_QJ.mjs.map → NcTextArea-PIs9Kt0A.mjs.map} +1 -1
- package/dist/chunks/{NcTextField.vue_vue_type_script_setup_true_lang-D1y_LfGJ.mjs → NcTextField.vue_vue_type_script_setup_true_lang-CCsZqnkM.mjs} +5 -5
- package/dist/chunks/{NcTextField.vue_vue_type_script_setup_true_lang-D1y_LfGJ.mjs.map → NcTextField.vue_vue_type_script_setup_true_lang-CCsZqnkM.mjs.map} +1 -1
- package/dist/chunks/{NcThemeProvider.vue_vue_type_script_setup_true_lang-nUDJsDGI.mjs → NcThemeProvider.vue_vue_type_script_setup_true_lang-DWn1DRTx.mjs} +2 -2
- package/dist/chunks/{NcThemeProvider.vue_vue_type_script_setup_true_lang-nUDJsDGI.mjs.map → NcThemeProvider.vue_vue_type_script_setup_true_lang-DWn1DRTx.mjs.map} +1 -1
- package/dist/chunks/{NcTimezonePicker.vue_vue_type_script_setup_true_lang-CGFRZR-3.mjs → NcTimezonePicker.vue_vue_type_script_setup_true_lang-BffYEppS.mjs} +4 -4
- package/dist/chunks/{NcTimezonePicker.vue_vue_type_script_setup_true_lang-CGFRZR-3.mjs.map → NcTimezonePicker.vue_vue_type_script_setup_true_lang-BffYEppS.mjs.map} +1 -1
- package/dist/chunks/{NcUserBubble-DPAmU2_J.mjs → NcUserBubble-Cs84CNHz.mjs} +2 -2
- package/dist/chunks/{NcUserBubble-DPAmU2_J.mjs.map → NcUserBubble-Cs84CNHz.mjs.map} +1 -1
- package/dist/chunks/{NcUserStatusIcon-CGEf7fej.mjs → NcUserStatusIcon-BgElapLh.mjs} +3 -3
- package/dist/chunks/{NcUserStatusIcon-CGEf7fej.mjs.map → NcUserStatusIcon-BgElapLh.mjs.map} +1 -1
- package/dist/chunks/{_l10n-DrTiip5c.mjs → _l10n-CgsPi8nC.mjs} +76 -38
- package/dist/chunks/_l10n-CgsPi8nC.mjs.map +1 -0
- package/dist/chunks/{actionText-DYzDdbVe.mjs → actionText-BXR0sWNu.mjs} +2 -2
- package/dist/chunks/{actionText-DYzDdbVe.mjs.map → actionText-BXR0sWNu.mjs.map} +1 -1
- package/dist/chunks/{colors-Go3zmZRD.mjs → colors-CL_wvNtd.mjs} +2 -2
- package/dist/chunks/{colors-Go3zmZRD.mjs.map → colors-CL_wvNtd.mjs.map} +1 -1
- package/dist/chunks/constants-Ciwvl5xb.mjs +11 -0
- package/dist/chunks/{constants-DrSznhwy.mjs.map → constants-Ciwvl5xb.mjs.map} +1 -1
- package/dist/chunks/{constants-Bls5liKo.mjs → constants-wIEKSp2G.mjs} +2 -2
- package/dist/chunks/{constants-Bls5liKo.mjs.map → constants-wIEKSp2G.mjs.map} +1 -1
- package/dist/chunks/{mdi-XFJRiRqJ.mjs → mdi-CpchYUUV.mjs} +33 -29
- package/dist/chunks/{mdi-XFJRiRqJ.mjs.map → mdi-CpchYUUV.mjs.map} +1 -1
- package/dist/chunks/{referencePickerModal-DmD3-xYB.mjs → referencePickerModal-CXAtbcPd.mjs} +8 -8
- package/dist/chunks/{referencePickerModal-DmD3-xYB.mjs.map → referencePickerModal-CXAtbcPd.mjs.map} +1 -1
- package/dist/chunks/useAppSettingsDialog-C73Wx6iQ.mjs +12 -0
- package/dist/chunks/{useAppSettingsDialog-DbtEkXa4.mjs.map → useAppSettingsDialog-C73Wx6iQ.mjs.map} +1 -1
- package/dist/chunks/{useCopy-7FVrniF_.mjs → useCopy-D4CcMqlA.mjs} +3 -3
- package/dist/chunks/{useCopy-7FVrniF_.mjs.map → useCopy-D4CcMqlA.mjs.map} +1 -1
- package/dist/chunks/useNcActions-BzPO2c4h.mjs +7 -0
- package/dist/chunks/{useNcActions-CiGWxAJE.mjs.map → useNcActions-BzPO2c4h.mjs.map} +1 -1
- package/dist/chunks/{useNcFormBox-DA9iwXWY.mjs → useNcFormBox-Djlh582y.mjs} +2 -2
- package/dist/chunks/{useNcFormBox-DA9iwXWY.mjs.map → useNcFormBox-Djlh582y.mjs.map} +1 -1
- package/dist/chunks/{useNcRadioGroup-DaZbEKbf.mjs → useNcRadioGroup-D6llQmAl.mjs} +2 -2
- package/dist/chunks/{useNcRadioGroup-DaZbEKbf.mjs.map → useNcRadioGroup-D6llQmAl.mjs.map} +1 -1
- package/dist/components/NcActionButton/index.mjs +1 -1
- package/dist/components/NcActionButtonGroup/index.mjs +1 -1
- package/dist/components/NcActionCaption/index.mjs +1 -1
- package/dist/components/NcActionCheckbox/NcActionCheckbox.vue.d.ts +27 -16
- 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 +26 -17
- package/dist/components/NcActionRadio/index.mjs +1 -1
- 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/index.mjs +1 -1
- package/dist/components/NcAppSettingsDialog/index.mjs +1 -1
- package/dist/components/NcAppSettingsSection/index.mjs +1 -1
- package/dist/components/NcAppSettingsSectionShortcuts/index.mjs +1 -1
- package/dist/components/NcAppSettingsShortcutsSection/index.mjs +1 -1
- package/dist/components/NcAppSidebar/index.mjs +1 -1
- package/dist/components/NcAssistantButton/index.mjs +1 -1
- package/dist/components/NcAssistantIcon/index.mjs +1 -1
- package/dist/components/NcAvatar/index.mjs +1 -1
- package/dist/components/NcBreadcrumb/index.mjs +1 -1
- package/dist/components/NcBreadcrumbs/index.mjs +1 -1
- package/dist/components/NcButton/index.mjs +1 -1
- package/dist/components/NcCheckboxRadioSwitch/index.mjs +1 -1
- 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/NcDashboardWidget/index.mjs +1 -1
- package/dist/components/NcDashboardWidgetItem/index.mjs +1 -1
- package/dist/components/NcDateTimePicker/index.mjs +1 -1
- package/dist/components/NcDateTimePickerNative/index.mjs +1 -1
- package/dist/components/NcDialog/index.mjs +1 -1
- package/dist/components/NcDialogButton/index.mjs +1 -1
- package/dist/components/NcEmojiPicker/index.mjs +1 -1
- package/dist/components/NcFormBox/index.mjs +1 -1
- package/dist/components/NcFormBoxButton/index.mjs +1 -1
- package/dist/components/NcFormBoxCopyButton/index.mjs +1 -1
- package/dist/components/NcFormBoxSwitch/index.mjs +1 -1
- package/dist/components/NcHeaderButton/index.mjs +1 -1
- package/dist/components/NcHeaderMenu/index.mjs +1 -1
- package/dist/components/NcHotkey/index.mjs +1 -1
- package/dist/components/NcHotkeyList/index.mjs +1 -1
- package/dist/components/NcIconToggleSwitch/NcIconToggleSwitch.vue.d.ts +16 -0
- package/dist/components/NcInputField/index.mjs +1 -1
- package/dist/components/NcKbd/index.mjs +1 -1
- package/dist/components/NcListItem/index.mjs +1 -1
- package/dist/components/NcListItemIcon/index.mjs +1 -1
- package/dist/components/NcModal/index.mjs +1 -1
- package/dist/components/NcNoteCard/index.mjs +1 -1
- package/dist/components/NcPasswordField/index.mjs +1 -1
- package/dist/components/NcRadioGroup/index.mjs +1 -1
- package/dist/components/NcRadioGroupButton/index.mjs +1 -1
- package/dist/components/NcRelatedResourcesPanel/index.mjs +1 -1
- package/dist/components/NcRichContenteditable/index.mjs +1 -1
- package/dist/components/NcRichText/index.mjs +3 -3
- package/dist/components/NcSelect/index.mjs +1 -1
- package/dist/components/NcSelectTags/index.mjs +1 -1
- package/dist/components/NcSelectUsers/index.mjs +1 -1
- package/dist/components/NcSettingsSection/index.mjs +1 -1
- package/dist/components/NcSettingsSelectGroup/index.mjs +1 -1
- package/dist/components/NcTextArea/index.mjs +1 -1
- package/dist/components/NcTextField/index.mjs +1 -1
- package/dist/components/NcThemeProvider/index.mjs +1 -1
- package/dist/components/NcTimezonePicker/index.mjs +1 -1
- package/dist/components/NcUserBubble/index.mjs +1 -1
- package/dist/components/NcUserStatusIcon/index.mjs +1 -1
- package/dist/composables/useFormatDateTime/index.mjs +1 -1
- package/dist/composables/useIsDarkTheme/index.mjs +1 -1
- package/dist/functions/reference/index.mjs +1 -1
- package/dist/functions/usernameToColor/index.mjs +1 -1
- package/dist/index.mjs +73 -73
- package/package.json +16 -16
- package/dist/assets/NcActionCheckbox-BeT6fCCy.css +0 -80
- package/dist/assets/NcActionRadio-DgdLD238.css +0 -79
- package/dist/chunks/NcActionCheckbox-CwrO3g3I.mjs +0 -127
- package/dist/chunks/NcActionCheckbox-CwrO3g3I.mjs.map +0 -1
- package/dist/chunks/NcActionRadio-ByCpOD0q.mjs +0 -136
- package/dist/chunks/NcActionRadio-ByCpOD0q.mjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch-BCSKF7Tk.mjs.map +0 -1
- package/dist/chunks/NcFormBoxSwitch-UJwYMQPm.mjs.map +0 -1
- package/dist/chunks/_l10n-DrTiip5c.mjs.map +0 -1
- package/dist/chunks/constants-DrSznhwy.mjs +0 -11
- package/dist/chunks/useAppSettingsDialog-DbtEkXa4.mjs +0 -12
- package/dist/chunks/useNcActions-CiGWxAJE.mjs +0 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { formatRelativeTime, getCanonicalLocale } from "@nextcloud/l10n";
|
|
2
2
|
import { computed, toValue, ref, watchEffect, onUnmounted, readonly } from "vue";
|
|
3
|
-
import { r as register,
|
|
3
|
+
import { r as register, d as t2, a as t } from "../../chunks/_l10n-CgsPi8nC.mjs";
|
|
4
4
|
register(t2);
|
|
5
5
|
const FEW_SECONDS_AGO = {
|
|
6
6
|
long: t("a few seconds ago"),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createSharedComposable, usePreferredDark, useMutationObserver } from "@vueuse/core";
|
|
2
2
|
import { computed, toValue, ref, watch, readonly, inject } from "vue";
|
|
3
3
|
import { checkIfDarkTheme } from "../../functions/isDarkTheme/index.mjs";
|
|
4
|
-
import { I as INJECTION_KEY_THEME } from "../../chunks/constants-
|
|
4
|
+
import { I as INJECTION_KEY_THEME } from "../../chunks/constants-wIEKSp2G.mjs";
|
|
5
5
|
/*!
|
|
6
6
|
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
|
|
7
7
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { N, h, c, i, e, r, f, a } from "../../chunks/customPickerElements-4pQTZUnk.mjs";
|
|
2
|
-
import { a as a2, g, b, c as c2, s, d } from "../../chunks/referencePickerModal-
|
|
2
|
+
import { a as a2, g, b, c as c2, s, d } from "../../chunks/referencePickerModal-CXAtbcPd.mjs";
|
|
3
3
|
export {
|
|
4
4
|
N as NcCustomPickerRenderResult,
|
|
5
5
|
a2 as anyLinkProviderId,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Md5 } from "ts-md5";
|
|
2
|
-
import { g as generatePalette } from "../../chunks/colors-
|
|
2
|
+
import { g as generatePalette } from "../../chunks/colors-CL_wvNtd.mjs";
|
|
3
3
|
function hashCode(str) {
|
|
4
4
|
let hash = str;
|
|
5
5
|
if (str.match(/^([0-9a-f]{4}-?){8}$/) === null) {
|
package/dist/index.mjs
CHANGED
|
@@ -1,84 +1,84 @@
|
|
|
1
|
-
import { N } from "./chunks/NcActionButton-
|
|
2
|
-
import { N as N2 } from "./chunks/NcActionButtonGroup-
|
|
3
|
-
import { N as N3 } from "./chunks/NcActionCaption-
|
|
4
|
-
import { N as N4 } from "./chunks/NcActionCheckbox-
|
|
5
|
-
import { N as N5 } from "./chunks/NcActionInput-
|
|
6
|
-
import { N as N6 } from "./chunks/NcActionLink-
|
|
7
|
-
import { N as N7 } from "./chunks/NcActionRadio-
|
|
8
|
-
import { N as N8 } from "./chunks/NcActionRouter-
|
|
9
|
-
import { N as N9 } from "./chunks/NcActions-
|
|
1
|
+
import { N } from "./chunks/NcActionButton-DNXoAooH.mjs";
|
|
2
|
+
import { N as N2 } from "./chunks/NcActionButtonGroup-B2MGnwK_.mjs";
|
|
3
|
+
import { N as N3 } from "./chunks/NcActionCaption-Cgd3J8jw.mjs";
|
|
4
|
+
import { N as N4 } from "./chunks/NcActionCheckbox-DeHAMd23.mjs";
|
|
5
|
+
import { N as N5 } from "./chunks/NcActionInput-BemRG66_.mjs";
|
|
6
|
+
import { N as N6 } from "./chunks/NcActionLink-Cd69py4e.mjs";
|
|
7
|
+
import { N as N7 } from "./chunks/NcActionRadio-DILn0DxW.mjs";
|
|
8
|
+
import { N as N8 } from "./chunks/NcActionRouter-DtxPh20B.mjs";
|
|
9
|
+
import { N as N9 } from "./chunks/NcActions-4R7icatI.mjs";
|
|
10
10
|
import { N as N10 } from "./chunks/NcActionSeparator-Doekl1NX.mjs";
|
|
11
|
-
import { N as N11 } from "./chunks/NcActionText-
|
|
12
|
-
import { N as N12 } from "./chunks/NcActionTextEditable-
|
|
13
|
-
import { N as N13 } from "./chunks/NcAppContent-
|
|
11
|
+
import { N as N11 } from "./chunks/NcActionText-Bd1fgVqA.mjs";
|
|
12
|
+
import { N as N12 } from "./chunks/NcActionTextEditable-DL4idmon.mjs";
|
|
13
|
+
import { N as N13 } from "./chunks/NcAppContent-BTNf1r8Z.mjs";
|
|
14
14
|
import { _ } from "./chunks/NcAppContentDetails.vue_vue_type_script_setup_true_lang-Dnf4r_Ng.mjs";
|
|
15
15
|
import { N as N14 } from "./chunks/NcAppContentList-DYFsuDKh.mjs";
|
|
16
|
-
import { N as N15 } from "./chunks/NcAppNavigation-
|
|
17
|
-
import { N as N16 } from "./chunks/NcAppNavigationCaption-
|
|
16
|
+
import { N as N15 } from "./chunks/NcAppNavigation-DQB0KqoZ.mjs";
|
|
17
|
+
import { N as N16 } from "./chunks/NcAppNavigationCaption-DiLoiMN5.mjs";
|
|
18
18
|
import { N as N17 } from "./chunks/NcAppNavigationIconBullet-PrlhOoE9.mjs";
|
|
19
|
-
import { N as N18 } from "./chunks/NcAppNavigationItem-
|
|
19
|
+
import { N as N18 } from "./chunks/NcAppNavigationItem-OrqBniiI.mjs";
|
|
20
20
|
import { N as N19 } from "./chunks/NcAppNavigationList-BX0wE-dB.mjs";
|
|
21
|
-
import { N as N20 } from "./chunks/NcAppNavigationNew-
|
|
22
|
-
import { N as N21 } from "./chunks/NcAppNavigationNewItem-
|
|
23
|
-
import { N as N22 } from "./chunks/NcAppNavigationSearch-
|
|
24
|
-
import { N as N23 } from "./chunks/NcAppNavigationSettings-
|
|
21
|
+
import { N as N20 } from "./chunks/NcAppNavigationNew-WS0F9mau.mjs";
|
|
22
|
+
import { N as N21 } from "./chunks/NcAppNavigationNewItem-DYH3Gimz.mjs";
|
|
23
|
+
import { N as N22 } from "./chunks/NcAppNavigationSearch-ByuV3q2c.mjs";
|
|
24
|
+
import { N as N23 } from "./chunks/NcAppNavigationSettings-A0DXzd5B.mjs";
|
|
25
25
|
import { N as N24 } from "./chunks/NcAppNavigationSpacer-BvkBfuVw.mjs";
|
|
26
|
-
import { N as N25 } from "./chunks/NcAppSettingsDialog-
|
|
27
|
-
import { N as N26 } from "./chunks/NcAppSettingsSection-
|
|
28
|
-
import { N as N27, N as N28 } from "./chunks/NcAppSettingsShortcutsSection-
|
|
29
|
-
import { N as N29 } from "./chunks/NcAppSidebar-
|
|
26
|
+
import { N as N25 } from "./chunks/NcAppSettingsDialog-BaN30xl4.mjs";
|
|
27
|
+
import { N as N26 } from "./chunks/NcAppSettingsSection-B2pFK0UK.mjs";
|
|
28
|
+
import { N as N27, N as N28 } from "./chunks/NcAppSettingsShortcutsSection-DDmDMMsF.mjs";
|
|
29
|
+
import { N as N29 } from "./chunks/NcAppSidebar-as8lzUZp.mjs";
|
|
30
30
|
import { _ as _2 } from "./chunks/NcAppSidebarHeader.vue_vue_type_script_setup_true_lang-0j0aFDeK.mjs";
|
|
31
31
|
import { N as N30 } from "./chunks/NcAppSidebarTab-Cjetm3Fs.mjs";
|
|
32
|
-
import { N as N31 } from "./chunks/NcAssistantButton-
|
|
32
|
+
import { N as N31 } from "./chunks/NcAssistantButton-CioiSWRg.mjs";
|
|
33
33
|
import { N as N32 } from "./chunks/NcAssistantContent-Boi-0v_0.mjs";
|
|
34
|
-
import { N as N33 } from "./chunks/NcAssistantIcon-
|
|
35
|
-
import { N as N34 } from "./chunks/NcAvatar-
|
|
34
|
+
import { N as N33 } from "./chunks/NcAssistantIcon-8pL-4h5f.mjs";
|
|
35
|
+
import { N as N34 } from "./chunks/NcAvatar-CK_dTsmT.mjs";
|
|
36
36
|
import { N as N35 } from "./chunks/NcBlurHash-BiFktE2N.mjs";
|
|
37
|
-
import { N as N36 } from "./chunks/NcBreadcrumb-
|
|
38
|
-
import { N as N37 } from "./chunks/NcBreadcrumbs-
|
|
39
|
-
import { N as N38 } from "./chunks/NcButton-
|
|
40
|
-
import { N as N39 } from "./chunks/NcCheckboxRadioSwitch-
|
|
41
|
-
import { N as N40 } from "./chunks/NcChip-
|
|
42
|
-
import { N as N41 } from "./chunks/NcCollectionList-
|
|
43
|
-
import { N as N42 } from "./chunks/NcColorPicker-
|
|
44
|
-
import { N as N43 } from "./chunks/NcContent-
|
|
37
|
+
import { N as N36 } from "./chunks/NcBreadcrumb-ChYVw5CP.mjs";
|
|
38
|
+
import { N as N37 } from "./chunks/NcBreadcrumbs-CbJmdlaF.mjs";
|
|
39
|
+
import { N as N38 } from "./chunks/NcButton-CzpKEx4V.mjs";
|
|
40
|
+
import { N as N39 } from "./chunks/NcCheckboxRadioSwitch-DisCqPZK.mjs";
|
|
41
|
+
import { N as N40 } from "./chunks/NcChip-B8jcrLqG.mjs";
|
|
42
|
+
import { N as N41 } from "./chunks/NcCollectionList-TB1GbWbo.mjs";
|
|
43
|
+
import { N as N42 } from "./chunks/NcColorPicker-3wpX7pKD.mjs";
|
|
44
|
+
import { N as N43 } from "./chunks/NcContent-BrRHLO19.mjs";
|
|
45
45
|
import { N as N44 } from "./chunks/NcCounterBubble-CxxHHh8i.mjs";
|
|
46
|
-
import { N as N45 } from "./chunks/NcDashboardWidget-
|
|
47
|
-
import { N as N46 } from "./chunks/NcDashboardWidgetItem-
|
|
46
|
+
import { N as N45 } from "./chunks/NcDashboardWidget-1tax78_e.mjs";
|
|
47
|
+
import { N as N46 } from "./chunks/NcDashboardWidgetItem-BjsN8uF0.mjs";
|
|
48
48
|
import { _ as _3 } from "./chunks/NcDateTime.vue_vue_type_script_setup_true_lang-BhB8yA4U.mjs";
|
|
49
|
-
import { N as N47 } from "./chunks/NcDateTimePicker-
|
|
50
|
-
import { N as N48 } from "./chunks/NcDateTimePickerNative-
|
|
51
|
-
import { N as N49 } from "./chunks/NcDialog-
|
|
52
|
-
import { _ as _4 } from "./chunks/NcDialogButton.vue_vue_type_script_setup_true_lang-
|
|
49
|
+
import { N as N47 } from "./chunks/NcDateTimePicker-DCuHXZjc.mjs";
|
|
50
|
+
import { N as N48 } from "./chunks/NcDateTimePickerNative-Dr8_mGlQ.mjs";
|
|
51
|
+
import { N as N49 } from "./chunks/NcDialog-BHl_LOs_.mjs";
|
|
52
|
+
import { _ as _4 } from "./chunks/NcDialogButton.vue_vue_type_script_setup_true_lang-CYpktNKA.mjs";
|
|
53
53
|
import { N as N50 } from "./chunks/NcEllipsisedOption-dT-CtXYp.mjs";
|
|
54
|
-
import { N as N51 } from "./chunks/NcEmojiPicker-
|
|
54
|
+
import { N as N51 } from "./chunks/NcEmojiPicker-CReazifM.mjs";
|
|
55
55
|
import { N as N52 } from "./chunks/NcEmptyContent-B8-90BSI.mjs";
|
|
56
|
-
import { N as N53 } from "./chunks/NcFormBox-
|
|
57
|
-
import { N as N54 } from "./chunks/NcFormBoxButton-
|
|
58
|
-
import { _ as _5 } from "./chunks/NcFormBoxCopyButton.vue_vue_type_script_setup_true_lang-
|
|
59
|
-
import { N as N55 } from "./chunks/NcFormBoxSwitch-
|
|
56
|
+
import { N as N53 } from "./chunks/NcFormBox-CkgY7Tif.mjs";
|
|
57
|
+
import { N as N54 } from "./chunks/NcFormBoxButton-DvMw5yUf.mjs";
|
|
58
|
+
import { _ as _5 } from "./chunks/NcFormBoxCopyButton.vue_vue_type_script_setup_true_lang-DYtyXBqR.mjs";
|
|
59
|
+
import { N as N55 } from "./chunks/NcFormBoxSwitch-DGcRJH9Q.mjs";
|
|
60
60
|
import { N as N56 } from "./chunks/NcFormGroup-CnSfPFey.mjs";
|
|
61
61
|
import { N as N57 } from "./chunks/NcGuestContent-CfCh49o0.mjs";
|
|
62
|
-
import { N as N58 } from "./chunks/NcHeaderButton-
|
|
63
|
-
import { N as N59 } from "./chunks/NcHeaderMenu-
|
|
62
|
+
import { N as N58 } from "./chunks/NcHeaderButton-CIb5SvFk.mjs";
|
|
63
|
+
import { N as N59 } from "./chunks/NcHeaderMenu-CeJZT5-m.mjs";
|
|
64
64
|
import { _ as _6 } from "./chunks/NcHighlight.vue_vue_type_script_lang-DnWQDM_2.mjs";
|
|
65
|
-
import { N as N60 } from "./chunks/NcHotkey-
|
|
66
|
-
import { N as N61 } from "./chunks/NcHotkeyList-
|
|
65
|
+
import { N as N60 } from "./chunks/NcHotkey-BMbdzaIs.mjs";
|
|
66
|
+
import { N as N61 } from "./chunks/NcHotkeyList-67NnF26Y.mjs";
|
|
67
67
|
import { N as N62 } from "./chunks/NcIconSvgWrapper-BvLanNaW.mjs";
|
|
68
|
-
import { N as N63 } from "./chunks/NcInputField-
|
|
69
|
-
import { N as N64 } from "./chunks/NcKbd-
|
|
70
|
-
import { N as N65 } from "./chunks/NcListItem-
|
|
71
|
-
import { N as N66 } from "./chunks/NcListItemIcon-
|
|
68
|
+
import { N as N63 } from "./chunks/NcInputField-Clm9jOGJ.mjs";
|
|
69
|
+
import { N as N64 } from "./chunks/NcKbd-CZdynD1d.mjs";
|
|
70
|
+
import { N as N65 } from "./chunks/NcListItem-Bx93C7tP.mjs";
|
|
71
|
+
import { N as N66 } from "./chunks/NcListItemIcon-DVy6eGJx.mjs";
|
|
72
72
|
import { N as N67 } from "./chunks/NcLoadingIcon-b_ajZ_nQ.mjs";
|
|
73
|
-
import { N as N68 } from "./chunks/NcModal-
|
|
74
|
-
import { N as N69 } from "./chunks/NcNoteCard-
|
|
75
|
-
import { N as N70 } from "./chunks/NcPasswordField-
|
|
73
|
+
import { N as N68 } from "./chunks/NcModal-D00OJZV2.mjs";
|
|
74
|
+
import { N as N69 } from "./chunks/NcNoteCard-Cok_4Fld.mjs";
|
|
75
|
+
import { N as N70 } from "./chunks/NcPasswordField-BOZlUwhr.mjs";
|
|
76
76
|
import { N as N71 } from "./chunks/NcPopover-C-MTaPCs.mjs";
|
|
77
77
|
import { N as N72 } from "./chunks/NcProgressBar-DDMAo4h-.mjs";
|
|
78
|
-
import { N as N73 } from "./chunks/NcRadioGroup-
|
|
79
|
-
import { N as N74 } from "./chunks/NcRadioGroupButton-
|
|
80
|
-
import { N as N75 } from "./chunks/NcRelatedResourcesPanel-
|
|
81
|
-
import { a, N as N76, b } from "./chunks/NcRichContenteditable-
|
|
78
|
+
import { N as N73 } from "./chunks/NcRadioGroup-HorQ2m39.mjs";
|
|
79
|
+
import { N as N74 } from "./chunks/NcRadioGroupButton-CAisx7g4.mjs";
|
|
80
|
+
import { N as N75 } from "./chunks/NcRelatedResourcesPanel-Dtxd3-o1.mjs";
|
|
81
|
+
import { a, N as N76, b } from "./chunks/NcRichContenteditable-B-w64JsT.mjs";
|
|
82
82
|
import "@nextcloud/auth";
|
|
83
83
|
import "@nextcloud/axios";
|
|
84
84
|
import "@nextcloud/router";
|
|
@@ -86,25 +86,25 @@ import "@nextcloud/sharing/public";
|
|
|
86
86
|
import "vue";
|
|
87
87
|
import "@vueuse/core";
|
|
88
88
|
import "vue-router";
|
|
89
|
-
import { a as a2, g, b as b2, c, s, d } from "./chunks/referencePickerModal-
|
|
89
|
+
import { a as a2, g, b as b2, c, s, d } from "./chunks/referencePickerModal-CXAtbcPd.mjs";
|
|
90
90
|
import { N as N77, h, c as c2, i, e, r, f, a as a3 } from "./chunks/customPickerElements-4pQTZUnk.mjs";
|
|
91
91
|
import "./chunks/autolink-U5pBzLgI.mjs";
|
|
92
92
|
import "./chunks/logger-D3RVzcfQ.mjs";
|
|
93
|
-
import { N as N78 } from "./chunks/NcRichText-
|
|
94
|
-
import { N as N79 } from "./chunks/NcSelect-
|
|
93
|
+
import { N as N78 } from "./chunks/NcRichText-1U5RXjPL.mjs";
|
|
94
|
+
import { N as N79 } from "./chunks/NcSelect-Cc9_a8nG.mjs";
|
|
95
95
|
import "debounce";
|
|
96
|
-
import { _ as _7 } from "./chunks/NcTextField.vue_vue_type_script_setup_true_lang-
|
|
96
|
+
import { _ as _7 } from "./chunks/NcTextField.vue_vue_type_script_setup_true_lang-CCsZqnkM.mjs";
|
|
97
97
|
import "@nextcloud/event-bus";
|
|
98
98
|
import { _ as _8 } from "./chunks/NcSavingIndicatorIcon.vue_vue_type_script_setup_true_lang-jUf1K561.mjs";
|
|
99
|
-
import { N as N80 } from "./chunks/NcSelectTags-
|
|
100
|
-
import { N as N81 } from "./chunks/NcSelectUsers-
|
|
101
|
-
import { N as N82 } from "./chunks/NcSettingsSection-
|
|
102
|
-
import { N as N83 } from "./chunks/NcSettingsSelectGroup-
|
|
103
|
-
import { N as N84 } from "./chunks/NcTextArea-
|
|
104
|
-
import { _ as _9 } from "./chunks/NcThemeProvider.vue_vue_type_script_setup_true_lang-
|
|
105
|
-
import { _ as _10 } from "./chunks/NcTimezonePicker.vue_vue_type_script_setup_true_lang-
|
|
106
|
-
import { N as N85 } from "./chunks/NcUserBubble-
|
|
107
|
-
import { N as N86 } from "./chunks/NcUserStatusIcon-
|
|
99
|
+
import { N as N80 } from "./chunks/NcSelectTags-JyyA4W_e.mjs";
|
|
100
|
+
import { N as N81 } from "./chunks/NcSelectUsers-DlUM6S6l.mjs";
|
|
101
|
+
import { N as N82 } from "./chunks/NcSettingsSection-BcLE6UnZ.mjs";
|
|
102
|
+
import { N as N83 } from "./chunks/NcSettingsSelectGroup-CUU-GWYl.mjs";
|
|
103
|
+
import { N as N84 } from "./chunks/NcTextArea-PIs9Kt0A.mjs";
|
|
104
|
+
import { _ as _9 } from "./chunks/NcThemeProvider.vue_vue_type_script_setup_true_lang-DWn1DRTx.mjs";
|
|
105
|
+
import { _ as _10 } from "./chunks/NcTimezonePicker.vue_vue_type_script_setup_true_lang-BffYEppS.mjs";
|
|
106
|
+
import { N as N85 } from "./chunks/NcUserBubble-Cs84CNHz.mjs";
|
|
107
|
+
import { N as N86 } from "./chunks/NcUserStatusIcon-BgElapLh.mjs";
|
|
108
108
|
import { _ as _11 } from "./chunks/NcVNodes.vue_vue_type_script_lang-BqUHinRZ.mjs";
|
|
109
109
|
import { useFormatRelativeTime, useFormatTime } from "./composables/useFormatDateTime/index.mjs";
|
|
110
110
|
import { useHotKey } from "./composables/useHotKey/index.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextcloud/vue",
|
|
3
|
-
"version": "9.3.
|
|
3
|
+
"version": "9.3.3",
|
|
4
4
|
"description": "Nextcloud vue components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vuejs",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"@nextcloud/event-bus": "^3.3.3",
|
|
85
85
|
"@nextcloud/initial-state": "^3.0.0",
|
|
86
86
|
"@nextcloud/l10n": "^3.4.1",
|
|
87
|
-
"@nextcloud/logger": "^3.0.
|
|
87
|
+
"@nextcloud/logger": "^3.0.3",
|
|
88
88
|
"@nextcloud/router": "^3.1.0",
|
|
89
89
|
"@nextcloud/sharing": "^0.3.0",
|
|
90
90
|
"@vuepic/vue-datepicker": "^11.0.3",
|
|
@@ -97,9 +97,9 @@
|
|
|
97
97
|
"emoji-mart-vue-fast": "^15.0.5",
|
|
98
98
|
"escape-html": "^1.0.3",
|
|
99
99
|
"floating-vue": "^5.2.2",
|
|
100
|
-
"focus-trap": "
|
|
100
|
+
"focus-trap": "7.6.6",
|
|
101
101
|
"linkifyjs": "^4.3.2",
|
|
102
|
-
"p-queue": "^9.0
|
|
102
|
+
"p-queue": "^9.1.0",
|
|
103
103
|
"rehype-external-links": "^3.0.0",
|
|
104
104
|
"rehype-highlight": "^7.0.2",
|
|
105
105
|
"rehype-react": "^8.0.0",
|
|
@@ -109,14 +109,14 @@
|
|
|
109
109
|
"remark-unlink-protocols": "^1.0.0",
|
|
110
110
|
"splitpanes": "^4.0.4",
|
|
111
111
|
"striptags": "^3.2.0",
|
|
112
|
-
"tabbable": "^6.
|
|
112
|
+
"tabbable": "^6.4.0",
|
|
113
113
|
"tributejs": "^5.1.3",
|
|
114
114
|
"ts-md5": "^2.0.1",
|
|
115
115
|
"unified": "^11.0.5",
|
|
116
116
|
"unist-builder": "^4.0.0",
|
|
117
117
|
"unist-util-visit": "^5.0.0",
|
|
118
118
|
"vue": "^3.5.18",
|
|
119
|
-
"vue-router": "^4.6.
|
|
119
|
+
"vue-router": "^4.6.4",
|
|
120
120
|
"vue-select": "^4.0.0-beta.6"
|
|
121
121
|
},
|
|
122
122
|
"devDependencies": {
|
|
@@ -135,32 +135,32 @@
|
|
|
135
135
|
"@playwright/experimental-ct-vue": "^1.57.0",
|
|
136
136
|
"@playwright/test": "^1.57.0",
|
|
137
137
|
"@types/gettext-parser": "^8.0.0",
|
|
138
|
-
"@types/node": "^24.10.
|
|
139
|
-
"@vitest/coverage-v8": "^4.0.
|
|
138
|
+
"@types/node": "^24.10.4",
|
|
139
|
+
"@vitest/coverage-v8": "^4.0.16",
|
|
140
140
|
"@vue/test-utils": "^2.4.6",
|
|
141
141
|
"@vue/tsconfig": "^0.8.1",
|
|
142
142
|
"babel-loader-exclude-node-modules-except": "^1.2.1",
|
|
143
143
|
"core-js": "^3.47.0",
|
|
144
|
-
"eslint": "^9.39.
|
|
144
|
+
"eslint": "^9.39.2",
|
|
145
145
|
"file-loader": "^6.2.0",
|
|
146
|
-
"gettext-extractor": "^4.0.
|
|
147
|
-
"gettext-parser": "^
|
|
146
|
+
"gettext-extractor": "^4.0.4",
|
|
147
|
+
"gettext-parser": "^9.0.0",
|
|
148
148
|
"glob": "^13.0.0",
|
|
149
|
-
"jsdom": "^27.
|
|
149
|
+
"jsdom": "^27.4.0",
|
|
150
150
|
"remark-gfm": "^4.0.1",
|
|
151
151
|
"resolve-url-loader": "^5.0.0",
|
|
152
|
-
"sass": "^1.
|
|
152
|
+
"sass": "^1.97.2",
|
|
153
153
|
"stylelint": "^16.26.1",
|
|
154
154
|
"ts-node": "^10.9.2",
|
|
155
155
|
"typescript": "^5.9.3",
|
|
156
156
|
"url-loader": "^4.1.1",
|
|
157
|
-
"vite": "^7.
|
|
157
|
+
"vite": "^7.3.1",
|
|
158
158
|
"vitest": "^4.0.14",
|
|
159
159
|
"vue-eslint-parser": "^10.2.0",
|
|
160
160
|
"vue-material-design-icons": "^5.3.1",
|
|
161
161
|
"vue-styleguidist": "^4.72.4",
|
|
162
|
-
"vue-tsc": "^3.
|
|
163
|
-
"webpack": "^5.
|
|
162
|
+
"vue-tsc": "^3.2.2",
|
|
163
|
+
"webpack": "^5.104.1",
|
|
164
164
|
"webpack-merge": "^6.0.1"
|
|
165
165
|
},
|
|
166
166
|
"engines": {
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
|
|
3
|
-
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
|
|
7
|
-
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
8
|
-
*/
|
|
9
|
-
/*
|
|
10
|
-
* Ensure proper alignment of the vue material icons
|
|
11
|
-
*/
|
|
12
|
-
.material-design-icon[data-v-6099342c] {
|
|
13
|
-
display: flex;
|
|
14
|
-
align-self: center;
|
|
15
|
-
justify-self: center;
|
|
16
|
-
align-items: center;
|
|
17
|
-
justify-content: center;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
|
|
22
|
-
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
23
|
-
*/
|
|
24
|
-
li.action[data-v-6099342c]:hover, li.action.active[data-v-6099342c] {
|
|
25
|
-
border-radius: 6px;
|
|
26
|
-
padding: 0;
|
|
27
|
-
}
|
|
28
|
-
li.action[data-v-6099342c]:hover {
|
|
29
|
-
background-color: var(--color-background-hover);
|
|
30
|
-
}
|
|
31
|
-
.action--disabled[data-v-6099342c] {
|
|
32
|
-
pointer-events: none;
|
|
33
|
-
opacity: 0.5;
|
|
34
|
-
}
|
|
35
|
-
.action--disabled[data-v-6099342c]:hover, .action--disabled[data-v-6099342c]:focus {
|
|
36
|
-
cursor: default;
|
|
37
|
-
opacity: 0.5;
|
|
38
|
-
}
|
|
39
|
-
.action--disabled[data-v-6099342c] * {
|
|
40
|
-
opacity: 1 !important;
|
|
41
|
-
}
|
|
42
|
-
.action-checkbox[data-v-6099342c] {
|
|
43
|
-
display: flex;
|
|
44
|
-
align-items: flex-start;
|
|
45
|
-
width: 100%;
|
|
46
|
-
height: auto;
|
|
47
|
-
margin: 0;
|
|
48
|
-
padding: 0;
|
|
49
|
-
cursor: pointer;
|
|
50
|
-
white-space: nowrap;
|
|
51
|
-
color: var(--color-main-text);
|
|
52
|
-
border: 0;
|
|
53
|
-
border-radius: 0;
|
|
54
|
-
background-color: transparent;
|
|
55
|
-
box-shadow: none;
|
|
56
|
-
font-weight: normal;
|
|
57
|
-
line-height: var(--default-clickable-area);
|
|
58
|
-
/* checkbox/radio fixes */
|
|
59
|
-
}
|
|
60
|
-
.action-checkbox__checkbox[data-v-6099342c] {
|
|
61
|
-
position: absolute;
|
|
62
|
-
inset-inline-start: 0 !important;
|
|
63
|
-
z-index: -1;
|
|
64
|
-
opacity: 0;
|
|
65
|
-
}
|
|
66
|
-
.action-checkbox__label[data-v-6099342c] {
|
|
67
|
-
display: flex;
|
|
68
|
-
align-items: center;
|
|
69
|
-
width: 100%;
|
|
70
|
-
padding: 0 !important;
|
|
71
|
-
padding-inline-end: calc((var(--default-clickable-area) - 16px) / 2) !important;
|
|
72
|
-
}
|
|
73
|
-
.action-checkbox__label[data-v-6099342c]::before {
|
|
74
|
-
margin-block: 0 !important;
|
|
75
|
-
margin-inline: calc((var(--default-clickable-area) - 14px) / 2) !important;
|
|
76
|
-
}
|
|
77
|
-
.action-checkbox--disabled[data-v-6099342c],
|
|
78
|
-
.action-checkbox--disabled .action-checkbox__label[data-v-6099342c] {
|
|
79
|
-
cursor: pointer;
|
|
80
|
-
}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
|
|
3
|
-
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
|
|
7
|
-
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
8
|
-
*/
|
|
9
|
-
/*
|
|
10
|
-
* Ensure proper alignment of the vue material icons
|
|
11
|
-
*/
|
|
12
|
-
.material-design-icon[data-v-9e878692] {
|
|
13
|
-
display: flex;
|
|
14
|
-
align-self: center;
|
|
15
|
-
justify-self: center;
|
|
16
|
-
align-items: center;
|
|
17
|
-
justify-content: center;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
|
|
22
|
-
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
23
|
-
*/
|
|
24
|
-
li.action[data-v-9e878692]:hover, li.action.active[data-v-9e878692] {
|
|
25
|
-
border-radius: 6px;
|
|
26
|
-
padding: 0;
|
|
27
|
-
}
|
|
28
|
-
li.action[data-v-9e878692]:hover {
|
|
29
|
-
background-color: var(--color-background-hover);
|
|
30
|
-
}
|
|
31
|
-
.action--disabled[data-v-9e878692] {
|
|
32
|
-
pointer-events: none;
|
|
33
|
-
opacity: 0.5;
|
|
34
|
-
}
|
|
35
|
-
.action--disabled[data-v-9e878692]:hover, .action--disabled[data-v-9e878692]:focus {
|
|
36
|
-
cursor: default;
|
|
37
|
-
opacity: 0.5;
|
|
38
|
-
}
|
|
39
|
-
.action--disabled[data-v-9e878692] * {
|
|
40
|
-
opacity: 1 !important;
|
|
41
|
-
}
|
|
42
|
-
.action-radio[data-v-9e878692] {
|
|
43
|
-
display: flex;
|
|
44
|
-
align-items: flex-start;
|
|
45
|
-
width: 100%;
|
|
46
|
-
height: auto;
|
|
47
|
-
margin: 0;
|
|
48
|
-
padding: 0;
|
|
49
|
-
cursor: pointer;
|
|
50
|
-
white-space: nowrap;
|
|
51
|
-
color: var(--color-main-text);
|
|
52
|
-
border: 0;
|
|
53
|
-
border-radius: 0;
|
|
54
|
-
background-color: transparent;
|
|
55
|
-
box-shadow: none;
|
|
56
|
-
font-weight: normal;
|
|
57
|
-
line-height: var(--default-clickable-area);
|
|
58
|
-
/* checkbox/radio fixes */
|
|
59
|
-
}
|
|
60
|
-
.action-radio__radio[data-v-9e878692] {
|
|
61
|
-
position: absolute;
|
|
62
|
-
inset-inline-start: 0 !important;
|
|
63
|
-
z-index: -1;
|
|
64
|
-
opacity: 0;
|
|
65
|
-
}
|
|
66
|
-
.action-radio__label[data-v-9e878692] {
|
|
67
|
-
display: flex;
|
|
68
|
-
align-items: center;
|
|
69
|
-
width: 100%;
|
|
70
|
-
padding: 0 !important;
|
|
71
|
-
padding-inline-end: calc((var(--default-clickable-area) - 16px) / 2) !important;
|
|
72
|
-
}
|
|
73
|
-
.action-radio__label[data-v-9e878692]::before {
|
|
74
|
-
margin: calc((var(--default-clickable-area) - 14px) / 2) !important;
|
|
75
|
-
}
|
|
76
|
-
.action-radio--disabled[data-v-9e878692],
|
|
77
|
-
.action-radio--disabled .action-radio__label[data-v-9e878692] {
|
|
78
|
-
cursor: pointer;
|
|
79
|
-
}
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import '../assets/NcActionCheckbox-BeT6fCCy.css';
|
|
2
|
-
import { A as ActionGlobalMixin } from "./actionGlobal-BZFdtdJL.mjs";
|
|
3
|
-
import { c as createElementId } from "./createElementId-DhjFt1I9.mjs";
|
|
4
|
-
import { a as NC_ACTIONS_IS_SEMANTIC_MENU } from "./useNcActions-CiGWxAJE.mjs";
|
|
5
|
-
import { createElementBlock, openBlock, normalizeClass, createElementVNode, createCommentVNode, withKeys, withModifiers, toDisplayString } from "vue";
|
|
6
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.mjs";
|
|
7
|
-
const _sfc_main = {
|
|
8
|
-
name: "NcActionCheckbox",
|
|
9
|
-
mixins: [ActionGlobalMixin],
|
|
10
|
-
inject: {
|
|
11
|
-
isInSemanticMenu: {
|
|
12
|
-
from: NC_ACTIONS_IS_SEMANTIC_MENU,
|
|
13
|
-
default: false
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
props: {
|
|
17
|
-
/**
|
|
18
|
-
* id attribute of the checkbox element
|
|
19
|
-
*/
|
|
20
|
-
id: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: () => "action-" + createElementId(),
|
|
23
|
-
validator: (id) => id.trim() !== ""
|
|
24
|
-
},
|
|
25
|
-
/**
|
|
26
|
-
* checked state of the the checkbox element
|
|
27
|
-
*/
|
|
28
|
-
modelValue: {
|
|
29
|
-
type: Boolean,
|
|
30
|
-
default: false
|
|
31
|
-
},
|
|
32
|
-
/**
|
|
33
|
-
* value of the checkbox input
|
|
34
|
-
*/
|
|
35
|
-
value: {
|
|
36
|
-
type: [String, Number],
|
|
37
|
-
default: ""
|
|
38
|
-
},
|
|
39
|
-
/**
|
|
40
|
-
* disabled state of the checkbox element
|
|
41
|
-
*/
|
|
42
|
-
disabled: {
|
|
43
|
-
type: Boolean,
|
|
44
|
-
default: false
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
emits: [
|
|
48
|
-
"change",
|
|
49
|
-
"check",
|
|
50
|
-
"uncheck",
|
|
51
|
-
"update:modelValue"
|
|
52
|
-
],
|
|
53
|
-
computed: {
|
|
54
|
-
/**
|
|
55
|
-
* determines if the action is focusable
|
|
56
|
-
*
|
|
57
|
-
* @return {boolean} is the action focusable ?
|
|
58
|
-
*/
|
|
59
|
-
isFocusable() {
|
|
60
|
-
return !this.disabled;
|
|
61
|
-
},
|
|
62
|
-
/**
|
|
63
|
-
* aria-checked attribute for role="menuitemcheckbox"
|
|
64
|
-
*
|
|
65
|
-
* @return {'true'|'false'|undefined} aria-checked value if needed
|
|
66
|
-
*/
|
|
67
|
-
ariaChecked() {
|
|
68
|
-
if (this.isInSemanticMenu) {
|
|
69
|
-
return this.modelValue ? "true" : "false";
|
|
70
|
-
}
|
|
71
|
-
return void 0;
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
methods: {
|
|
75
|
-
checkInput() {
|
|
76
|
-
this.$refs.label.click();
|
|
77
|
-
},
|
|
78
|
-
onChange(event) {
|
|
79
|
-
this.$emit("update:modelValue", this.$refs.checkbox.checked);
|
|
80
|
-
this.$emit("change", event);
|
|
81
|
-
if (this.$refs.checkbox.checked) {
|
|
82
|
-
this.$emit("check");
|
|
83
|
-
} else {
|
|
84
|
-
this.$emit("uncheck");
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
};
|
|
89
|
-
const _hoisted_1 = ["role"];
|
|
90
|
-
const _hoisted_2 = ["role", "aria-checked"];
|
|
91
|
-
const _hoisted_3 = ["id", "disabled", "checked", "value"];
|
|
92
|
-
const _hoisted_4 = ["for"];
|
|
93
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
94
|
-
return openBlock(), createElementBlock("li", {
|
|
95
|
-
class: normalizeClass(["action", { "action--disabled": $props.disabled }]),
|
|
96
|
-
role: $options.isInSemanticMenu && "presentation"
|
|
97
|
-
}, [
|
|
98
|
-
createElementVNode("span", {
|
|
99
|
-
class: "action-checkbox",
|
|
100
|
-
role: $options.isInSemanticMenu && "menuitemcheckbox",
|
|
101
|
-
"aria-checked": $options.ariaChecked
|
|
102
|
-
}, [
|
|
103
|
-
createElementVNode("input", {
|
|
104
|
-
id: $props.id,
|
|
105
|
-
ref: "checkbox",
|
|
106
|
-
disabled: $props.disabled,
|
|
107
|
-
checked: $props.modelValue,
|
|
108
|
-
value: $props.value,
|
|
109
|
-
class: normalizeClass([{ focusable: $options.isFocusable }, "checkbox action-checkbox__checkbox"]),
|
|
110
|
-
type: "checkbox",
|
|
111
|
-
onKeydown: _cache[0] || (_cache[0] = withKeys(withModifiers((...args) => $options.checkInput && $options.checkInput(...args), ["exact", "prevent"]), ["enter"])),
|
|
112
|
-
onChange: _cache[1] || (_cache[1] = (...args) => $options.onChange && $options.onChange(...args))
|
|
113
|
-
}, null, 42, _hoisted_3),
|
|
114
|
-
createElementVNode("label", {
|
|
115
|
-
ref: "label",
|
|
116
|
-
for: $props.id,
|
|
117
|
-
class: "action-checkbox__label"
|
|
118
|
-
}, toDisplayString(_ctx.text), 9, _hoisted_4),
|
|
119
|
-
createCommentVNode("", true)
|
|
120
|
-
], 8, _hoisted_2)
|
|
121
|
-
], 10, _hoisted_1);
|
|
122
|
-
}
|
|
123
|
-
const NcActionCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-6099342c"]]);
|
|
124
|
-
export {
|
|
125
|
-
NcActionCheckbox as N
|
|
126
|
-
};
|
|
127
|
-
//# sourceMappingURL=NcActionCheckbox-CwrO3g3I.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NcActionCheckbox-CwrO3g3I.mjs","sources":["../../src/components/NcActionCheckbox/NcActionCheckbox.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<docs>\nThis component is made to be used inside of the [NcActions](#NcActions) component slots.\n\n```vue\n\t<NcActions>\n\t\t<NcActionCheckbox @change=\"alert('(un)checked !')\">First choice</NcActionCheckbox>\n\t\t<NcActionCheckbox value=\"second\" @change=\"alert('(un)checked !')\">Second choice</NcActionCheckbox>\n\t\t<NcActionCheckbox :model-value=\"true\" @change=\"alert('(un)checked !')\">Third choice (checked)</NcActionCheckbox>\n\t\t<NcActionCheckbox :disabled=\"true\" @change=\"alert('(un)checked !')\">Second choice (disabled)</NcActionCheckbox>\n\t</NcActions>\n```\n</docs>\n\n<template>\n\t<li class=\"action\" :class=\"{ 'action--disabled': disabled }\" :role=\"isInSemanticMenu && 'presentation'\">\n\t\t<span class=\"action-checkbox\" :role=\"isInSemanticMenu && 'menuitemcheckbox'\" :aria-checked=\"ariaChecked\">\n\t\t\t<input\n\t\t\t\t:id=\"id\"\n\t\t\t\tref=\"checkbox\"\n\t\t\t\t:disabled=\"disabled\"\n\t\t\t\t:checked=\"modelValue\"\n\t\t\t\t:value=\"value\"\n\t\t\t\t:class=\"{ focusable: isFocusable }\"\n\t\t\t\ttype=\"checkbox\"\n\t\t\t\tclass=\"checkbox action-checkbox__checkbox\"\n\t\t\t\t@keydown.enter.exact.prevent=\"checkInput\"\n\t\t\t\t@change=\"onChange\">\n\t\t\t<label ref=\"label\" :for=\"id\" class=\"action-checkbox__label\">{{ text }}</label>\n\n\t\t\t<!-- fake slot to gather inner text -->\n\t\t\t<slot v-if=\"false\" />\n\t\t</span>\n\t</li>\n</template>\n\n<script>\nimport ActionGlobalMixin from '../../mixins/actionGlobal.js'\nimport { createElementId } from '../../utils/createElementId.ts'\nimport { NC_ACTIONS_IS_SEMANTIC_MENU } from '../NcActions/useNcActions.ts'\n\nexport default {\n\tname: 'NcActionCheckbox',\n\n\tmixins: [ActionGlobalMixin],\n\n\tinject: {\n\t\tisInSemanticMenu: {\n\t\t\tfrom: NC_ACTIONS_IS_SEMANTIC_MENU,\n\t\t\tdefault: false,\n\t\t},\n\t},\n\n\tprops: {\n\t\t/**\n\t\t * id attribute of the checkbox element\n\t\t */\n\t\tid: {\n\t\t\ttype: String,\n\t\t\tdefault: () => 'action-' + createElementId(),\n\t\t\tvalidator: (id) => id.trim() !== '',\n\t\t},\n\n\t\t/**\n\t\t * checked state of the the checkbox element\n\t\t */\n\t\tmodelValue: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * value of the checkbox input\n\t\t */\n\t\tvalue: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: '',\n\t\t},\n\n\t\t/**\n\t\t * disabled state of the checkbox element\n\t\t */\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t},\n\n\temits: [\n\t\t'change',\n\t\t'check',\n\t\t'uncheck',\n\t\t'update:modelValue',\n\t],\n\n\tcomputed: {\n\t\t/**\n\t\t * determines if the action is focusable\n\t\t *\n\t\t * @return {boolean} is the action focusable ?\n\t\t */\n\t\tisFocusable() {\n\t\t\treturn !this.disabled\n\t\t},\n\n\t\t/**\n\t\t * aria-checked attribute for role=\"menuitemcheckbox\"\n\t\t *\n\t\t * @return {'true'|'false'|undefined} aria-checked value if needed\n\t\t */\n\t\tariaChecked() {\n\t\t\tif (this.isInSemanticMenu) {\n\t\t\t\treturn this.modelValue ? 'true' : 'false'\n\t\t\t}\n\t\t\treturn undefined\n\t\t},\n\t},\n\n\tmethods: {\n\t\tcheckInput(/* event */) {\n\t\t\t// by clicking we also trigger the change event\n\t\t\tthis.$refs.label.click()\n\t\t},\n\n\t\tonChange(event) {\n\t\t\t/**\n\t\t\t * Emitted when the checkbox state is changed\n\t\t\t *\n\t\t\t * @type {boolean}\n\t\t\t */\n\t\t\tthis.$emit('update:modelValue', this.$refs.checkbox.checked)\n\n\t\t\t/**\n\t\t\t * Emitted when the checkbox state is changed\n\t\t\t *\n\t\t\t * @type {Event}\n\t\t\t */\n\t\t\tthis.$emit('change', event)\n\n\t\t\tif (this.$refs.checkbox.checked) {\n\t\t\t\t/**\n\t\t\t\t * Emitted when the checkbox is checked\n\t\t\t\t *\n\t\t\t\t * @type {Event}\n\t\t\t\t */\n\t\t\t\tthis.$emit('check')\n\t\t\t} else {\n\t\t\t\t/**\n\t\t\t\t * Emitted when the checkbox is unchecked\n\t\t\t\t *\n\t\t\t\t * @type {Event}\n\t\t\t\t */\n\t\t\t\tthis.$emit('uncheck')\n\t\t\t}\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@use '../../assets/action.scss' as *;\n@include action-active;\n@include action--disabled;\n\n.action-checkbox {\n\tdisplay: flex;\n\talign-items: flex-start;\n\n\twidth: 100%;\n\theight: auto;\n\tmargin: 0;\n\tpadding: 0;\n\n\tcursor: pointer;\n\twhite-space: nowrap;\n\n\tcolor: var(--color-main-text);\n\tborder: 0;\n\tborder-radius: 0; // otherwise Safari will cut the border-radius area\n\tbackground-color: transparent;\n\tbox-shadow: none;\n\n\tfont-weight: normal;\n\tline-height: var(--default-clickable-area);\n\n\t/* checkbox/radio fixes */\n\t&__checkbox {\n\t\tposition: absolute;\n\t\tinset-inline-start: 0 !important;\n\t\tz-index: -1;\n\t\topacity: 0;\n\t}\n\n\t&__label {\n\t\tdisplay: flex;\n\t\talign-items: center; // align checkbox to text\n\n\t\twidth: 100%;\n\t\tpadding: 0 !important;\n\t\tpadding-inline-end: $icon-margin !important;\n\n\t\t&::before {\n\t\t\tmargin-block: 0 !important;\n\t\t\tmargin-inline: calc((var(--default-clickable-area) - 14px) / 2) !important;\n\t\t}\n\t}\n\n\t&--disabled {\n\t\t&,\n\t\t.action-checkbox__label {\n\t\t\tcursor: pointer;\n\t\t}\n\t}\n}\n\n</style>\n"],"names":["_createElementBlock","_normalizeClass","_createElementVNode"],"mappings":";;;;;AA6CA,MAAK,YAAU;AAAA,EACd,MAAM;AAAA,EAEN,QAAQ,CAAC,iBAAiB;AAAA,EAE1B,QAAQ;AAAA,IACP,kBAAkB;AAAA,MACjB,MAAM;AAAA,MACN,SAAS;AAAA;;EAIX,OAAO;AAAA;AAAA;AAAA;AAAA,IAIN,IAAI;AAAA,MACH,MAAM;AAAA,MACN,SAAS,MAAM,YAAY,gBAAe;AAAA,MAC1C,WAAW,CAAC,OAAO,GAAG,KAAI,MAAO;AAAA;;;;IAMlC,YAAY;AAAA,MACX,MAAM;AAAA,MACN,SAAS;AAAA;;;;IAMV,OAAO;AAAA,MACN,MAAM,CAAC,QAAQ,MAAM;AAAA,MACrB,SAAS;AAAA;;;;IAMV,UAAU;AAAA,MACT,MAAM;AAAA,MACN,SAAS;AAAA;;EAIX,OAAO;AAAA,IACN;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;EAGD,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMT,cAAc;AACb,aAAO,CAAC,KAAK;AAAA,IACd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,cAAc;AACb,UAAI,KAAK,kBAAkB;AAC1B,eAAO,KAAK,aAAa,SAAS;AAAA,MACnC;AACA,aAAO;AAAA,IACR;AAAA;EAGD,SAAS;AAAA,IACR,aAAwB;AAEvB,WAAK,MAAM,MAAM,MAAK;AAAA,IACvB;AAAA,IAEA,SAAS,OAAO;AAMf,WAAK,MAAM,qBAAqB,KAAK,MAAM,SAAS,OAAO;AAO3D,WAAK,MAAM,UAAU,KAAK;AAE1B,UAAI,KAAK,MAAM,SAAS,SAAS;AAMhC,aAAK,MAAM,OAAO;AAAA,MACnB,OAAO;AAMN,aAAK,MAAM,SAAS;AAAA,MACrB;AAAA,IACD;AAAA;AAEF;;;;;;sBA7ICA,mBAkBK,MAAA;AAAA,IAlBD,OAAKC,eAAA,CAAC,UAAQ,EAAA,oBAA+B,OAAA,SAAQ,CAAA,CAAA;AAAA,IAAK,MAAM,SAAA,oBAAgB;AAAA;IACnFC,mBAgBO,QAAA;AAAA,MAhBD,OAAM;AAAA,MAAmB,MAAM,SAAA,oBAAgB;AAAA,MAAyB,gBAAc,SAAA;AAAA;MAC3FA,mBAUoB,SAAA;AAAA,QATlB,IAAI,OAAA;AAAA,QACL,KAAI;AAAA,QACH,UAAU,OAAA;AAAA,QACV,SAAS,OAAA;AAAA,QACT,OAAO,OAAA;AAAA,QACP,OAAKD,eAAA,CAAA,EAAA,WAAe,SAAA,YAAW,GAE1B,oCAAoC,CAAA;AAAA,QAD1C,MAAK;AAAA,QAEJ,yEAA6B,SAAA,cAAA,SAAA,WAAA,GAAA,IAAA,GAAU,CAAA,SAAA,SAAA,CAAA,GAAA,CAAA,OAAA,CAAA;AAAA,QACvC,iDAAQ,SAAA,YAAA,SAAA,SAAA,GAAA,IAAA;AAAA;MACVC,mBAA8E,SAAA;AAAA,QAAvE,KAAI;AAAA,QAAS,KAAK,OAAA;AAAA,QAAI,OAAM;AAAA,yBAA4B,KAAA,IAAI,GAAA,GAAA,UAAA;AAAA;;;;;"}
|