@nextcloud/vue 9.3.0 → 9.3.2
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 +30 -0
- package/README.md +44 -44
- package/dist/assets/{NcActionButton-D7bnKlOt.css → NcActionButton-Bb0ihLdt.css} +18 -18
- package/dist/assets/{NcActionButtonGroup-CRTH2v24.css → NcActionButtonGroup-Bt8kRk79.css} +8 -8
- package/dist/assets/{NcActionInput--OC-0kRP.css → NcActionInput-BxRA_Skn.css} +65 -65
- package/dist/assets/{NcActionLink-DjrAv1MG.css → NcActionLink-DAEr-vmd.css} +13 -13
- package/dist/assets/{NcActionTextEditable-BPaRhJ6u.css → NcActionTextEditable-TPYz4ma-.css} +65 -65
- package/dist/assets/{NcActions-DneK-9R2.css → NcActions-DOI7rRa0.css} +11 -11
- package/dist/assets/{NcAppSettingsDialog-Dz8uBPgu.css → NcAppSettingsDialog-CapZ_qNk.css} +10 -10
- package/dist/assets/{NcButton-DtYLJgG8.css → NcButton--Fj4gghF.css} +48 -48
- package/dist/assets/{NcCheckboxRadioSwitch-C_70VMQr.css → NcCheckboxRadioSwitch-DpYt0YbL.css} +13 -12
- package/dist/assets/{NcCollectionList-D9dOsdP2.css → NcCollectionList-C7OiUQQ-.css} +15 -15
- package/dist/assets/{NcDateTimePicker-DL6-rWSN.css → NcDateTimePicker-D6xbEbaC.css} +236 -233
- package/dist/assets/{NcFormBoxSwitch-BmyNQCbA.css → NcFormBoxSwitch-DScgbxtv.css} +2 -8
- package/dist/assets/NcIconToggleSwitch-C29S_5Rp.css +30 -0
- package/dist/assets/{NcInputField-DCpslX7k.css → NcInputField-B9DSDOEd.css} +82 -61
- package/dist/assets/{NcModal-Dyub1-f2.css → NcModal-Du-f0B7Y.css} +62 -70
- package/dist/assets/{NcRelatedResourcesPanel-Bun35PUF.css → NcRelatedResourcesPanel-DYB-wrU0.css} +3 -3
- package/dist/assets/{NcRichText-BwHm-gXR.css → NcRichText-RvICaxkO.css} +2 -2
- package/dist/assets/{NcSelect-BTLcqg7Y.css → NcSelect-ZnE_MlqV.css} +52 -5
- package/dist/assets/{NcTextArea-BKVszZmQ.css → NcTextArea-nivEqHE-.css} +62 -42
- package/dist/assets/{NcUserBubble-ChgvvPPf.css → NcUserBubble-B3Jad98g.css} +8 -8
- package/dist/chunks/{NcActionButton-DCWUru2b.mjs → NcActionButton-BHXE4UKQ.mjs} +6 -6
- package/dist/chunks/NcActionButton-BHXE4UKQ.mjs.map +1 -0
- package/dist/chunks/{NcActionButtonGroup-QgGuZcPA.mjs → NcActionButtonGroup-B2MGnwK_.mjs} +5 -5
- package/dist/chunks/NcActionButtonGroup-B2MGnwK_.mjs.map +1 -0
- 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-CwrO3g3I.mjs → NcActionCheckbox-BTHrh-Mu.mjs} +2 -2
- package/dist/chunks/{NcActionCheckbox-CwrO3g3I.mjs.map → NcActionCheckbox-BTHrh-Mu.mjs.map} +1 -1
- package/dist/chunks/{NcActionInput-Bw4UxfFB.mjs → NcActionInput-D1uLWx4N.mjs} +12 -10
- package/dist/chunks/NcActionInput-D1uLWx4N.mjs.map +1 -0
- package/dist/chunks/{NcActionLink-afakPM_N.mjs → NcActionLink-Cd69py4e.mjs} +5 -5
- package/dist/chunks/NcActionLink-Cd69py4e.mjs.map +1 -0
- package/dist/chunks/{NcActionRadio-ByCpOD0q.mjs → NcActionRadio-BM24rDbc.mjs} +2 -2
- package/dist/chunks/{NcActionRadio-ByCpOD0q.mjs.map → NcActionRadio-BM24rDbc.mjs.map} +1 -1
- 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-BQXCci7D.mjs → NcActionTextEditable-DAMWWXnR.mjs} +5 -5
- package/dist/chunks/NcActionTextEditable-DAMWWXnR.mjs.map +1 -0
- package/dist/chunks/{NcActions-B0kM6AYb.mjs → NcActions-4R7icatI.mjs} +6 -6
- package/dist/chunks/NcActions-4R7icatI.mjs.map +1 -0
- package/dist/chunks/{NcAppContent-BbtKZp6w.mjs → NcAppContent-DFbY2ERd.mjs} +5 -5
- package/dist/chunks/{NcAppContent-BbtKZp6w.mjs.map → NcAppContent-DFbY2ERd.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigation-CROkGlDE.mjs → NcAppNavigation-CjnufbC2.mjs} +6 -6
- package/dist/chunks/{NcAppNavigation-CROkGlDE.mjs.map → NcAppNavigation-CjnufbC2.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationCaption-CuGe5Mev.mjs → NcAppNavigationCaption-DiLoiMN5.mjs} +2 -2
- package/dist/chunks/{NcAppNavigationCaption-CuGe5Mev.mjs.map → NcAppNavigationCaption-DiLoiMN5.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationItem-DU-pLjwa.mjs → NcAppNavigationItem-B307vBI9.mjs} +6 -6
- package/dist/chunks/{NcAppNavigationItem-DU-pLjwa.mjs.map → NcAppNavigationItem-B307vBI9.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationNew-DJbq5wr_.mjs → NcAppNavigationNew-WS0F9mau.mjs} +2 -2
- package/dist/chunks/{NcAppNavigationNew-DJbq5wr_.mjs.map → NcAppNavigationNew-WS0F9mau.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationNewItem-CoRu6Q9O.mjs → NcAppNavigationNewItem-DYH3Gimz.mjs} +2 -2
- package/dist/chunks/{NcAppNavigationNewItem-CoRu6Q9O.mjs.map → NcAppNavigationNewItem-DYH3Gimz.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationSearch-DaIFceYy.mjs → NcAppNavigationSearch-Bi367hd4.mjs} +4 -4
- package/dist/chunks/{NcAppNavigationSearch-DaIFceYy.mjs.map → NcAppNavigationSearch-Bi367hd4.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigationSettings-45tEbBBm.mjs → NcAppNavigationSettings-CaTjgcVj.mjs} +5 -5
- package/dist/chunks/{NcAppNavigationSettings-45tEbBBm.mjs.map → NcAppNavigationSettings-CaTjgcVj.mjs.map} +1 -1
- package/dist/chunks/{NcAppSettingsDialog-lTULgn3p.mjs → NcAppSettingsDialog-NlVP7Fo7.mjs} +7 -7
- package/dist/chunks/{NcAppSettingsDialog-lTULgn3p.mjs.map → NcAppSettingsDialog-NlVP7Fo7.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-DIIuKYzs.mjs → NcAppSettingsShortcutsSection-DDmDMMsF.mjs} +4 -4
- package/dist/chunks/{NcAppSettingsShortcutsSection-DIIuKYzs.mjs.map → NcAppSettingsShortcutsSection-DDmDMMsF.mjs.map} +1 -1
- package/dist/chunks/{NcAppSidebar-X9ktYY0p.mjs → NcAppSidebar-as8lzUZp.mjs} +5 -5
- package/dist/chunks/{NcAppSidebar-X9ktYY0p.mjs.map → NcAppSidebar-as8lzUZp.mjs.map} +1 -1
- package/dist/chunks/{NcAssistantButton-BID8rRE5.mjs → NcAssistantButton-DqXCpiMp.mjs} +4 -4
- package/dist/chunks/{NcAssistantButton-BID8rRE5.mjs.map → NcAssistantButton-DqXCpiMp.mjs.map} +1 -1
- package/dist/chunks/{NcAssistantIcon-BUvb4WNg.mjs → NcAssistantIcon-PMYKxGuH.mjs} +2 -2
- package/dist/chunks/{NcAssistantIcon-BUvb4WNg.mjs.map → NcAssistantIcon-PMYKxGuH.mjs.map} +1 -1
- package/dist/chunks/{NcAvatar-Dxm05R6e.mjs → NcAvatar-S8EJR2BK.mjs} +9 -9
- package/dist/chunks/{NcAvatar-Dxm05R6e.mjs.map → NcAvatar-S8EJR2BK.mjs.map} +1 -1
- package/dist/chunks/{NcBreadcrumb-CiM9xAAS.mjs → NcBreadcrumb-ChYVw5CP.mjs} +3 -3
- package/dist/chunks/{NcBreadcrumb-CiM9xAAS.mjs.map → NcBreadcrumb-ChYVw5CP.mjs.map} +1 -1
- package/dist/chunks/{NcBreadcrumbs-geMiBPkk.mjs → NcBreadcrumbs-DHS31Ax7.mjs} +6 -6
- package/dist/chunks/{NcBreadcrumbs-geMiBPkk.mjs.map → NcBreadcrumbs-DHS31Ax7.mjs.map} +1 -1
- package/dist/chunks/{NcButton-ZNHdqKQl.mjs → NcButton-CzpKEx4V.mjs} +7 -4
- package/dist/chunks/NcButton-CzpKEx4V.mjs.map +1 -0
- package/dist/chunks/{NcCheckboxRadioSwitch-6ty3DxEG.mjs → NcCheckboxRadioSwitch-DisCqPZK.mjs} +38 -119
- package/dist/chunks/NcCheckboxRadioSwitch-DisCqPZK.mjs.map +1 -0
- package/dist/chunks/{NcChip-CFf0KxGk.mjs → NcChip-QHPd3nMF.mjs} +6 -6
- package/dist/chunks/{NcChip-CFf0KxGk.mjs.map → NcChip-QHPd3nMF.mjs.map} +1 -1
- package/dist/chunks/{NcCollectionList-Ds-tmckn.mjs → NcCollectionList-ByFl0-ca.mjs} +10 -9
- package/dist/chunks/NcCollectionList-ByFl0-ca.mjs.map +1 -0
- package/dist/chunks/{NcColorPicker-BFcR9_1o.mjs → NcColorPicker-DpSDaGrh.mjs} +6 -6
- package/dist/chunks/{NcColorPicker-BFcR9_1o.mjs.map → NcColorPicker-DpSDaGrh.mjs.map} +1 -1
- package/dist/chunks/{NcContent-BKKnoxxu.mjs → NcContent-BrRHLO19.mjs} +5 -5
- package/dist/chunks/{NcContent-BKKnoxxu.mjs.map → NcContent-BrRHLO19.mjs.map} +1 -1
- package/dist/chunks/{NcDashboardWidget-cclUqUde.mjs → NcDashboardWidget-CIUrPOLo.mjs} +4 -4
- package/dist/chunks/{NcDashboardWidget-cclUqUde.mjs.map → NcDashboardWidget-CIUrPOLo.mjs.map} +1 -1
- package/dist/chunks/{NcDashboardWidgetItem-DM96gJkD.mjs → NcDashboardWidgetItem-DdYM1QYk.mjs} +4 -4
- package/dist/chunks/{NcDashboardWidgetItem-DM96gJkD.mjs.map → NcDashboardWidgetItem-DdYM1QYk.mjs.map} +1 -1
- package/dist/chunks/{NcDateTimePicker-CYRbEpfY.mjs → NcDateTimePicker-DtQaoKbG.mjs} +10 -10
- package/dist/chunks/{NcDateTimePicker-CYRbEpfY.mjs.map → NcDateTimePicker-DtQaoKbG.mjs.map} +1 -1
- package/dist/chunks/{NcDateTimePickerNative-CR1Yx5Qp.mjs → NcDateTimePickerNative-Dr8_mGlQ.mjs} +3 -3
- package/dist/chunks/{NcDateTimePickerNative-CR1Yx5Qp.mjs.map → NcDateTimePickerNative-Dr8_mGlQ.mjs.map} +1 -1
- package/dist/chunks/{NcDialog-BY-1v8yi.mjs → NcDialog-BTmnYNeo.mjs} +3 -3
- package/dist/chunks/{NcDialog-BY-1v8yi.mjs.map → NcDialog-BTmnYNeo.mjs.map} +1 -1
- package/dist/chunks/{NcDialogButton.vue_vue_type_script_setup_true_lang-CF6LnBe7.mjs → NcDialogButton.vue_vue_type_script_setup_true_lang-CYpktNKA.mjs} +4 -4
- package/dist/chunks/{NcDialogButton.vue_vue_type_script_setup_true_lang-CF6LnBe7.mjs.map → NcDialogButton.vue_vue_type_script_setup_true_lang-CYpktNKA.mjs.map} +1 -1
- package/dist/chunks/{NcEmojiPicker-DMiiRPm1.mjs → NcEmojiPicker-U5k_zceS.mjs} +6 -6
- package/dist/chunks/{NcEmojiPicker-DMiiRPm1.mjs.map → NcEmojiPicker-U5k_zceS.mjs.map} +1 -1
- package/dist/chunks/{NcFormBox-K2tCRm3B.mjs → NcFormBox-CkgY7Tif.mjs} +2 -2
- package/dist/chunks/NcFormBox-CkgY7Tif.mjs.map +1 -0
- package/dist/chunks/{NcFormBoxButton-4XaQUTOS.mjs → NcFormBoxButton-Bptd324P.mjs} +3 -3
- package/dist/chunks/{NcFormBoxButton-4XaQUTOS.mjs.map → NcFormBoxButton-Bptd324P.mjs.map} +1 -1
- package/dist/chunks/{NcFormBoxCopyButton.vue_vue_type_script_setup_true_lang-DTWd7b52.mjs → NcFormBoxCopyButton.vue_vue_type_script_setup_true_lang-DhnfC18v.mjs} +3 -3
- package/dist/chunks/{NcFormBoxCopyButton.vue_vue_type_script_setup_true_lang-DTWd7b52.mjs.map → NcFormBoxCopyButton.vue_vue_type_script_setup_true_lang-DhnfC18v.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-E6Ei7MFo.mjs → NcFormBoxSwitch-DGcRJH9Q.mjs} +10 -15
- package/dist/chunks/NcFormBoxSwitch-DGcRJH9Q.mjs.map +1 -0
- package/dist/chunks/{NcHeaderButton-tLfDELGu.mjs → NcHeaderButton-CIb5SvFk.mjs} +2 -2
- package/dist/chunks/{NcHeaderButton-tLfDELGu.mjs.map → NcHeaderButton-CIb5SvFk.mjs.map} +1 -1
- package/dist/chunks/{NcHeaderMenu-ClRw0Xc5.mjs → NcHeaderMenu-CeJZT5-m.mjs} +2 -2
- package/dist/chunks/{NcHeaderMenu-ClRw0Xc5.mjs.map → NcHeaderMenu-CeJZT5-m.mjs.map} +1 -1
- package/dist/chunks/{NcHotkey-Cya0WRKL.mjs → NcHotkey-BMbdzaIs.mjs} +2 -2
- package/dist/chunks/{NcHotkey-Cya0WRKL.mjs.map → NcHotkey-BMbdzaIs.mjs.map} +1 -1
- package/dist/chunks/{NcHotkeyList-B9C--U6a.mjs → NcHotkeyList-67NnF26Y.mjs} +3 -3
- package/dist/chunks/{NcHotkeyList-B9C--U6a.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-Brw2dsPI.mjs → NcInputConfirmCancel-DjMO3Xyv.mjs} +3 -3
- package/dist/chunks/{NcInputConfirmCancel-Brw2dsPI.mjs.map → NcInputConfirmCancel-DjMO3Xyv.mjs.map} +1 -1
- package/dist/chunks/{NcInputField-z8wpYKt2.mjs → NcInputField-D7Nv5QhT.mjs} +11 -11
- package/dist/chunks/NcInputField-D7Nv5QhT.mjs.map +1 -0
- package/dist/chunks/{NcKbd-D6pM7aJM.mjs → NcKbd-CZdynD1d.mjs} +3 -3
- package/dist/chunks/{NcKbd-D6pM7aJM.mjs.map → NcKbd-CZdynD1d.mjs.map} +1 -1
- package/dist/chunks/{NcListItem-D5AkAxDh.mjs → NcListItem-Bx93C7tP.mjs} +2 -2
- package/dist/chunks/{NcListItem-D5AkAxDh.mjs.map → NcListItem-Bx93C7tP.mjs.map} +1 -1
- package/dist/chunks/{NcListItemIcon-D_ReDycv.mjs → NcListItemIcon-IJLXY-te.mjs} +2 -2
- package/dist/chunks/{NcListItemIcon-D_ReDycv.mjs.map → NcListItemIcon-IJLXY-te.mjs.map} +1 -1
- package/dist/chunks/NcModal-DSCYMxfe.mjs +422 -0
- package/dist/chunks/NcModal-DSCYMxfe.mjs.map +1 -0
- package/dist/chunks/{NcNoteCard-C6JdnZUp.mjs → NcNoteCard-BUg07N13.mjs} +2 -2
- package/dist/chunks/{NcNoteCard-C6JdnZUp.mjs.map → NcNoteCard-BUg07N13.mjs.map} +1 -1
- package/dist/chunks/{NcPasswordField-BquWP0Di.mjs → NcPasswordField-CTuWpUWd.mjs} +5 -5
- package/dist/chunks/{NcPasswordField-BquWP0Di.mjs.map → NcPasswordField-CTuWpUWd.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-DPwZ4SSu.mjs → NcRelatedResourcesPanel-Dtxd3-o1.mjs} +7 -7
- package/dist/chunks/{NcRelatedResourcesPanel-DPwZ4SSu.mjs.map → NcRelatedResourcesPanel-Dtxd3-o1.mjs.map} +1 -1
- package/dist/chunks/{NcRichContenteditable-ClUiBH9B.mjs → NcRichContenteditable-Bq1NOBCE.mjs} +16 -11
- package/dist/chunks/{NcRichContenteditable-ClUiBH9B.mjs.map → NcRichContenteditable-Bq1NOBCE.mjs.map} +1 -1
- package/dist/chunks/{NcRichText-DamxfqDV.mjs → NcRichText-B6VwyPUp.mjs} +8 -7
- package/dist/chunks/NcRichText-B6VwyPUp.mjs.map +1 -0
- package/dist/chunks/{NcSelect-Ba00b95n.mjs → NcSelect-Cc9_a8nG.mjs} +8 -5
- package/dist/chunks/NcSelect-Cc9_a8nG.mjs.map +1 -0
- package/dist/chunks/{NcSelectTags-DAxQe-10.mjs → NcSelectTags-JyyA4W_e.mjs} +3 -3
- package/dist/chunks/{NcSelectTags-DAxQe-10.mjs.map → NcSelectTags-JyyA4W_e.mjs.map} +1 -1
- package/dist/chunks/{NcSelectUsers-DlE8EHdq.mjs → NcSelectUsers-CiTKYuOb.mjs} +3 -3
- package/dist/chunks/{NcSelectUsers-DlE8EHdq.mjs.map → NcSelectUsers-CiTKYuOb.mjs.map} +1 -1
- package/dist/chunks/{NcSettingsSection-BfK7eHNT.mjs → NcSettingsSection-BcLE6UnZ.mjs} +3 -3
- package/dist/chunks/{NcSettingsSection-BfK7eHNT.mjs.map → NcSettingsSection-BcLE6UnZ.mjs.map} +1 -1
- package/dist/chunks/{NcSettingsSelectGroup-CO8dnQ6q.mjs → NcSettingsSelectGroup-CUU-GWYl.mjs} +3 -3
- package/dist/chunks/{NcSettingsSelectGroup-CO8dnQ6q.mjs.map → NcSettingsSelectGroup-CUU-GWYl.mjs.map} +1 -1
- package/dist/chunks/{NcTextArea-Cr27-KiU.mjs → NcTextArea-2CifgNom.mjs} +6 -6
- package/dist/chunks/NcTextArea-2CifgNom.mjs.map +1 -0
- package/dist/chunks/{NcTextField.vue_vue_type_script_setup_true_lang-BNSMSqMx.mjs → NcTextField.vue_vue_type_script_setup_true_lang-BfjSL2EJ.mjs} +5 -5
- package/dist/chunks/{NcTextField.vue_vue_type_script_setup_true_lang-BNSMSqMx.mjs.map → NcTextField.vue_vue_type_script_setup_true_lang-BfjSL2EJ.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-CVehmrmz.mjs → NcTimezonePicker.vue_vue_type_script_setup_true_lang-BffYEppS.mjs} +5 -5
- package/dist/chunks/{NcTimezonePicker.vue_vue_type_script_setup_true_lang-CVehmrmz.mjs.map → NcTimezonePicker.vue_vue_type_script_setup_true_lang-BffYEppS.mjs.map} +1 -1
- package/dist/chunks/{NcUserBubble-DEW575GR.mjs → NcUserBubble-CiB-Lu5C.mjs} +8 -8
- package/dist/chunks/NcUserBubble-CiB-Lu5C.mjs.map +1 -0
- package/dist/chunks/{NcUserStatusIcon-DHHqIgRK.mjs → NcUserStatusIcon-BgElapLh.mjs} +3 -3
- package/dist/chunks/{NcUserStatusIcon-DHHqIgRK.mjs.map → NcUserStatusIcon-BgElapLh.mjs.map} +1 -1
- package/dist/chunks/_l10n-CgsPi8nC.mjs +145 -0
- 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-BM9KkzNS.mjs → colors-CL_wvNtd.mjs} +2 -2
- package/dist/chunks/{colors-BM9KkzNS.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-HQ-WBPmL.mjs → mdi-DvQxv1t7.mjs} +20 -20
- package/dist/chunks/{mdi-HQ-WBPmL.mjs.map → mdi-DvQxv1t7.mjs.map} +1 -1
- package/dist/chunks/{referencePickerModal-f8STnNvS.mjs → referencePickerModal-CDHqLZC-.mjs} +8 -8
- package/dist/chunks/{referencePickerModal-f8STnNvS.mjs.map → referencePickerModal-CDHqLZC-.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-pTWmSjcP.mjs → useCopy-D3yAxBJi.mjs} +3 -3
- package/dist/chunks/{useCopy-pTWmSjcP.mjs.map → useCopy-D3yAxBJi.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/index.mjs +1 -1
- package/dist/components/NcActionInput/NcActionInput.vue.d.ts +6 -5
- package/dist/components/NcActionInput/index.mjs +1 -1
- package/dist/components/NcActionLink/index.mjs +1 -1
- 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/NcAvatar.vue.d.ts +2 -2
- 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/NcCollectionList.vue.d.ts +5 -4
- package/dist/components/NcCollectionList/NcCollectionListItem.vue.d.ts +2 -2
- 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/NcDashboardWidget.vue.d.ts +4 -4
- package/dist/components/NcDashboardWidget/index.mjs +1 -1
- package/dist/components/NcDashboardWidgetItem/NcDashboardWidgetItem.vue.d.ts +2 -2
- package/dist/components/NcDashboardWidgetItem/index.mjs +1 -1
- package/dist/components/NcDateTime/NcDateTime.vue.d.ts +1 -1
- package/dist/components/NcDateTimePicker/NcDateTimePicker.vue.d.ts +5 -5
- package/dist/components/NcDateTimePicker/index.mjs +1 -1
- package/dist/components/NcDateTimePickerNative/index.mjs +1 -1
- package/dist/components/NcDialog/NcDialog.vue.d.ts +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/NcListItemIcon.vue.d.ts +2 -2
- package/dist/components/NcListItemIcon/index.mjs +1 -1
- package/dist/components/NcModal/NcModal.vue.d.ts +151 -1
- package/dist/components/NcModal/index.d.ts +4 -0
- 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/NcAutoCompleteResult.vue.d.ts +2 -2
- package/dist/components/NcRichContenteditable/index.mjs +1 -1
- package/dist/components/NcRichText/NcReferenceList.vue.d.ts +2 -2
- package/dist/components/NcRichText/NcReferencePicker/NcProviderList.vue.d.ts +1 -0
- package/dist/components/NcRichText/NcReferencePicker/NcReferencePicker.vue.d.ts +2 -0
- package/dist/components/NcRichText/NcReferencePicker/NcReferencePickerModal.vue.d.ts +146 -1
- package/dist/components/NcRichText/NcReferencePicker/NcSearch.vue.d.ts +1 -0
- package/dist/components/NcRichText/index.mjs +3 -3
- package/dist/components/NcSelect/NcSelect.vue.d.ts +1 -0
- package/dist/components/NcSelect/index.mjs +1 -1
- package/dist/components/NcSelectTags/NcSelectTags.vue.d.ts +1 -0
- 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/NcSettingsSelectGroup.vue.d.ts +1 -0
- 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/NcUserStatusIcon.vue.d.ts +2 -2
- package/dist/components/NcUserStatusIcon/index.mjs +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/composables/useFormatDateTime/index.mjs +1 -1
- package/dist/composables/useHotKey/index.d.ts +7 -0
- package/dist/composables/useHotKey/index.mjs +6 -3
- package/dist/composables/useHotKey/index.mjs.map +1 -1
- package/dist/composables/useIsDarkTheme/index.mjs +1 -1
- package/dist/composables/useScopeIdAttrs.d.ts +26 -0
- package/dist/functions/reference/index.mjs +1 -1
- package/dist/functions/usernameToColor/index.mjs +1 -1
- package/dist/index.mjs +74 -74
- package/package.json +27 -27
- package/dist/chunks/NcActionButton-DCWUru2b.mjs.map +0 -1
- package/dist/chunks/NcActionButtonGroup-QgGuZcPA.mjs.map +0 -1
- package/dist/chunks/NcActionInput-Bw4UxfFB.mjs.map +0 -1
- package/dist/chunks/NcActionLink-afakPM_N.mjs.map +0 -1
- package/dist/chunks/NcActionTextEditable-BQXCci7D.mjs.map +0 -1
- package/dist/chunks/NcActions-B0kM6AYb.mjs.map +0 -1
- package/dist/chunks/NcButton-ZNHdqKQl.mjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch-6ty3DxEG.mjs.map +0 -1
- package/dist/chunks/NcCollectionList-Ds-tmckn.mjs.map +0 -1
- package/dist/chunks/NcFormBox-K2tCRm3B.mjs.map +0 -1
- package/dist/chunks/NcFormBoxSwitch-E6Ei7MFo.mjs.map +0 -1
- package/dist/chunks/NcInputField-z8wpYKt2.mjs.map +0 -1
- package/dist/chunks/NcModal-DZtBQM1y.mjs +0 -778
- package/dist/chunks/NcModal-DZtBQM1y.mjs.map +0 -1
- package/dist/chunks/NcRichText-DamxfqDV.mjs.map +0 -1
- package/dist/chunks/NcSelect-Ba00b95n.mjs.map +0 -1
- package/dist/chunks/NcTextArea-Cr27-KiU.mjs.map +0 -1
- package/dist/chunks/NcUserBubble-DEW575GR.mjs.map +0 -1
- package/dist/chunks/_l10n-CWKr1fUH.mjs +0 -109
- package/dist/chunks/_l10n-CWKr1fUH.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
- package/dist/utils/Timer.d.ts +0 -25
|
@@ -1,778 +0,0 @@
|
|
|
1
|
-
import '../assets/NcModal-Dyub1-f2.css';
|
|
2
|
-
import { c as mdiChevronRight, x as mdiChevronLeft } from "./mdi-HQ-WBPmL.mjs";
|
|
3
|
-
import { useSwipe } from "@vueuse/core";
|
|
4
|
-
import { createFocusTrap } from "focus-trap";
|
|
5
|
-
import { createElementBlock, openBlock, mergeProps, createElementVNode, createCommentVNode, toDisplayString, warn, resolveComponent, createBlock, Transition, withCtx, withDirectives, normalizeStyle, normalizeClass, createVNode, renderSlot, withModifiers, vShow } from "vue";
|
|
6
|
-
import { I as IconClose } from "./Close-D6ngJ4t9.mjs";
|
|
7
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.mjs";
|
|
8
|
-
import { r as register, o as t36, p as t19, a as t } from "./_l10n-CWKr1fUH.mjs";
|
|
9
|
-
import { c as createElementId } from "./createElementId-DhjFt1I9.mjs";
|
|
10
|
-
import { g as getTrapStack } from "./focusTrap-HJQ4pqHV.mjs";
|
|
11
|
-
import { N as NcActions } from "./NcActions-B0kM6AYb.mjs";
|
|
12
|
-
import { N as NcButton } from "./NcButton-ZNHdqKQl.mjs";
|
|
13
|
-
import { N as NcIconSvgWrapper } from "./NcIconSvgWrapper-BvLanNaW.mjs";
|
|
14
|
-
const _sfc_main$2 = {
|
|
15
|
-
name: "PauseIcon",
|
|
16
|
-
emits: ["click"],
|
|
17
|
-
props: {
|
|
18
|
-
title: {
|
|
19
|
-
type: String
|
|
20
|
-
},
|
|
21
|
-
fillColor: {
|
|
22
|
-
type: String,
|
|
23
|
-
default: "currentColor"
|
|
24
|
-
},
|
|
25
|
-
size: {
|
|
26
|
-
type: Number,
|
|
27
|
-
default: 24
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
const _hoisted_1$2 = ["aria-hidden", "aria-label"];
|
|
32
|
-
const _hoisted_2$2 = ["fill", "width", "height"];
|
|
33
|
-
const _hoisted_3$2 = { d: "M14,19H18V5H14M6,19H10V5H6V19Z" };
|
|
34
|
-
const _hoisted_4$2 = { key: 0 };
|
|
35
|
-
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
36
|
-
return openBlock(), createElementBlock("span", mergeProps(_ctx.$attrs, {
|
|
37
|
-
"aria-hidden": $props.title ? null : "true",
|
|
38
|
-
"aria-label": $props.title,
|
|
39
|
-
class: "material-design-icon pause-icon",
|
|
40
|
-
role: "img",
|
|
41
|
-
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click", $event))
|
|
42
|
-
}), [
|
|
43
|
-
(openBlock(), createElementBlock("svg", {
|
|
44
|
-
fill: $props.fillColor,
|
|
45
|
-
class: "material-design-icon__svg",
|
|
46
|
-
width: $props.size,
|
|
47
|
-
height: $props.size,
|
|
48
|
-
viewBox: "0 0 24 24"
|
|
49
|
-
}, [
|
|
50
|
-
createElementVNode("path", _hoisted_3$2, [
|
|
51
|
-
$props.title ? (openBlock(), createElementBlock("title", _hoisted_4$2, toDisplayString($props.title), 1)) : createCommentVNode("", true)
|
|
52
|
-
])
|
|
53
|
-
], 8, _hoisted_2$2))
|
|
54
|
-
], 16, _hoisted_1$2);
|
|
55
|
-
}
|
|
56
|
-
const Pause = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2]]);
|
|
57
|
-
const _sfc_main$1 = {
|
|
58
|
-
name: "PlayIcon",
|
|
59
|
-
emits: ["click"],
|
|
60
|
-
props: {
|
|
61
|
-
title: {
|
|
62
|
-
type: String
|
|
63
|
-
},
|
|
64
|
-
fillColor: {
|
|
65
|
-
type: String,
|
|
66
|
-
default: "currentColor"
|
|
67
|
-
},
|
|
68
|
-
size: {
|
|
69
|
-
type: Number,
|
|
70
|
-
default: 24
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
const _hoisted_1$1 = ["aria-hidden", "aria-label"];
|
|
75
|
-
const _hoisted_2$1 = ["fill", "width", "height"];
|
|
76
|
-
const _hoisted_3$1 = { d: "M8,5.14V19.14L19,12.14L8,5.14Z" };
|
|
77
|
-
const _hoisted_4$1 = { key: 0 };
|
|
78
|
-
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
79
|
-
return openBlock(), createElementBlock("span", mergeProps(_ctx.$attrs, {
|
|
80
|
-
"aria-hidden": $props.title ? null : "true",
|
|
81
|
-
"aria-label": $props.title,
|
|
82
|
-
class: "material-design-icon play-icon",
|
|
83
|
-
role: "img",
|
|
84
|
-
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click", $event))
|
|
85
|
-
}), [
|
|
86
|
-
(openBlock(), createElementBlock("svg", {
|
|
87
|
-
fill: $props.fillColor,
|
|
88
|
-
class: "material-design-icon__svg",
|
|
89
|
-
width: $props.size,
|
|
90
|
-
height: $props.size,
|
|
91
|
-
viewBox: "0 0 24 24"
|
|
92
|
-
}, [
|
|
93
|
-
createElementVNode("path", _hoisted_3$1, [
|
|
94
|
-
$props.title ? (openBlock(), createElementBlock("title", _hoisted_4$1, toDisplayString($props.title), 1)) : createCommentVNode("", true)
|
|
95
|
-
])
|
|
96
|
-
], 8, _hoisted_2$1))
|
|
97
|
-
], 16, _hoisted_1$1);
|
|
98
|
-
}
|
|
99
|
-
const Play = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
|
|
100
|
-
register(t19, t36);
|
|
101
|
-
function timer(callback, delay) {
|
|
102
|
-
let id;
|
|
103
|
-
let started;
|
|
104
|
-
let remaining = delay;
|
|
105
|
-
let running;
|
|
106
|
-
this.start = function() {
|
|
107
|
-
running = true;
|
|
108
|
-
started = /* @__PURE__ */ new Date();
|
|
109
|
-
id = setTimeout(callback, remaining);
|
|
110
|
-
};
|
|
111
|
-
this.pause = function() {
|
|
112
|
-
running = false;
|
|
113
|
-
clearTimeout(id);
|
|
114
|
-
remaining -= /* @__PURE__ */ new Date() - started;
|
|
115
|
-
};
|
|
116
|
-
this.clear = function() {
|
|
117
|
-
running = false;
|
|
118
|
-
clearTimeout(id);
|
|
119
|
-
remaining = 0;
|
|
120
|
-
};
|
|
121
|
-
this.getTimeLeft = function() {
|
|
122
|
-
if (running) {
|
|
123
|
-
this.pause();
|
|
124
|
-
this.start();
|
|
125
|
-
}
|
|
126
|
-
return remaining;
|
|
127
|
-
};
|
|
128
|
-
this.getStateRunning = function() {
|
|
129
|
-
return running;
|
|
130
|
-
};
|
|
131
|
-
this.start();
|
|
132
|
-
}
|
|
133
|
-
const _sfc_main = {
|
|
134
|
-
name: "NcModal",
|
|
135
|
-
components: {
|
|
136
|
-
Close: IconClose,
|
|
137
|
-
Pause,
|
|
138
|
-
Play,
|
|
139
|
-
NcActions,
|
|
140
|
-
NcButton,
|
|
141
|
-
NcIconSvgWrapper
|
|
142
|
-
},
|
|
143
|
-
props: {
|
|
144
|
-
/**
|
|
145
|
-
* Name to be shown with the modal
|
|
146
|
-
*/
|
|
147
|
-
name: {
|
|
148
|
-
type: String,
|
|
149
|
-
default: ""
|
|
150
|
-
},
|
|
151
|
-
/**
|
|
152
|
-
* Declare if a previous slide is available
|
|
153
|
-
*/
|
|
154
|
-
hasPrevious: {
|
|
155
|
-
type: Boolean,
|
|
156
|
-
default: false
|
|
157
|
-
},
|
|
158
|
-
/**
|
|
159
|
-
* Declare if a next slide is available
|
|
160
|
-
*/
|
|
161
|
-
hasNext: {
|
|
162
|
-
type: Boolean,
|
|
163
|
-
default: false
|
|
164
|
-
},
|
|
165
|
-
/**
|
|
166
|
-
* Declare if hiding the modal should be animated
|
|
167
|
-
*/
|
|
168
|
-
outTransition: {
|
|
169
|
-
type: Boolean,
|
|
170
|
-
default: false
|
|
171
|
-
},
|
|
172
|
-
/**
|
|
173
|
-
* Declare if the slideshow functionality should be enabled
|
|
174
|
-
*/
|
|
175
|
-
enableSlideshow: {
|
|
176
|
-
type: Boolean,
|
|
177
|
-
default: false
|
|
178
|
-
},
|
|
179
|
-
/**
|
|
180
|
-
* Declare the slide interval
|
|
181
|
-
*/
|
|
182
|
-
slideshowDelay: {
|
|
183
|
-
type: Number,
|
|
184
|
-
default: 5e3
|
|
185
|
-
},
|
|
186
|
-
/**
|
|
187
|
-
* Allow to pause an ongoing slideshow
|
|
188
|
-
*/
|
|
189
|
-
slideshowPaused: {
|
|
190
|
-
type: Boolean,
|
|
191
|
-
default: false
|
|
192
|
-
},
|
|
193
|
-
/**
|
|
194
|
-
* Disable swipe between slides
|
|
195
|
-
*/
|
|
196
|
-
disableSwipe: {
|
|
197
|
-
type: Boolean,
|
|
198
|
-
default: false
|
|
199
|
-
},
|
|
200
|
-
/**
|
|
201
|
-
* Enable spread navigation
|
|
202
|
-
*/
|
|
203
|
-
spreadNavigation: {
|
|
204
|
-
type: Boolean,
|
|
205
|
-
default: false
|
|
206
|
-
},
|
|
207
|
-
/**
|
|
208
|
-
* Defines the modal size.
|
|
209
|
-
* Default is 'normal'.
|
|
210
|
-
* Available are 'small', 'normal', 'large' and 'full'.
|
|
211
|
-
* All sizes except 'small' change automatically to full-screen on mobile.
|
|
212
|
-
*/
|
|
213
|
-
size: {
|
|
214
|
-
type: String,
|
|
215
|
-
default: "normal",
|
|
216
|
-
validator: (size) => {
|
|
217
|
-
return ["small", "normal", "large", "full"].includes(size);
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
/**
|
|
221
|
-
* Do not show the close button for the dialog.
|
|
222
|
-
*
|
|
223
|
-
* @default false
|
|
224
|
-
*/
|
|
225
|
-
noClose: {
|
|
226
|
-
type: Boolean,
|
|
227
|
-
default: false
|
|
228
|
-
},
|
|
229
|
-
/**
|
|
230
|
-
* Close the modal if the user clicked outside the modal
|
|
231
|
-
* Only relevant if `noClose` is not set.
|
|
232
|
-
*/
|
|
233
|
-
closeOnClickOutside: {
|
|
234
|
-
type: Boolean,
|
|
235
|
-
default: false
|
|
236
|
-
},
|
|
237
|
-
/**
|
|
238
|
-
* Makes the modal backdrop opaque if true
|
|
239
|
-
* Will be overwritten if some buttons are shown outside
|
|
240
|
-
*/
|
|
241
|
-
dark: {
|
|
242
|
-
type: Boolean,
|
|
243
|
-
default: false
|
|
244
|
-
},
|
|
245
|
-
/**
|
|
246
|
-
* Set light backdrop. Makes the modal header appear light.
|
|
247
|
-
*/
|
|
248
|
-
lightBackdrop: {
|
|
249
|
-
type: Boolean,
|
|
250
|
-
default: false
|
|
251
|
-
},
|
|
252
|
-
/**
|
|
253
|
-
* Selector for the modal container, pass `null` to prevent automatic container mounting
|
|
254
|
-
*/
|
|
255
|
-
container: {
|
|
256
|
-
type: [String, null],
|
|
257
|
-
default: "body"
|
|
258
|
-
},
|
|
259
|
-
/**
|
|
260
|
-
* Pass in `true` if you want the modal 'close' button to be displayed
|
|
261
|
-
* outside the modal boundaries, in the top right corner of the window.
|
|
262
|
-
*
|
|
263
|
-
* @default false
|
|
264
|
-
* @since 8.25.0
|
|
265
|
-
*/
|
|
266
|
-
closeButtonOutside: {
|
|
267
|
-
type: Boolean,
|
|
268
|
-
default: false
|
|
269
|
-
},
|
|
270
|
-
/**
|
|
271
|
-
* Additional elements to add to the focus trap
|
|
272
|
-
*/
|
|
273
|
-
additionalTrapElements: {
|
|
274
|
-
type: Array,
|
|
275
|
-
default: () => []
|
|
276
|
-
},
|
|
277
|
-
/**
|
|
278
|
-
* Display x items inline
|
|
279
|
-
*
|
|
280
|
-
* @see Actions component usage
|
|
281
|
-
*/
|
|
282
|
-
inlineActions: {
|
|
283
|
-
type: Number,
|
|
284
|
-
default: 0
|
|
285
|
-
},
|
|
286
|
-
/**
|
|
287
|
-
* The current open property of the modal
|
|
288
|
-
*/
|
|
289
|
-
show: {
|
|
290
|
-
type: Boolean,
|
|
291
|
-
default: void 0
|
|
292
|
-
},
|
|
293
|
-
/**
|
|
294
|
-
* Id of the element that labels the dialog (the name)
|
|
295
|
-
* Not needed if the `name` prop is set, but if no name is set you need to provide the ID of an element to label the dialog for accessibility.
|
|
296
|
-
*/
|
|
297
|
-
labelId: {
|
|
298
|
-
type: String,
|
|
299
|
-
default: ""
|
|
300
|
-
},
|
|
301
|
-
/**
|
|
302
|
-
* Set element to return focus to after focus trap deactivation
|
|
303
|
-
*
|
|
304
|
-
* @type {import('focus-trap').FocusTargetValueOrFalse}
|
|
305
|
-
*/
|
|
306
|
-
setReturnFocus: {
|
|
307
|
-
default: void 0,
|
|
308
|
-
type: [Boolean, HTMLElement, SVGElement, String]
|
|
309
|
-
}
|
|
310
|
-
},
|
|
311
|
-
emits: [
|
|
312
|
-
"previous",
|
|
313
|
-
"next",
|
|
314
|
-
"close",
|
|
315
|
-
"update:show"
|
|
316
|
-
],
|
|
317
|
-
setup() {
|
|
318
|
-
return {
|
|
319
|
-
mdiChevronLeft,
|
|
320
|
-
mdiChevronRight
|
|
321
|
-
};
|
|
322
|
-
},
|
|
323
|
-
data() {
|
|
324
|
-
return {
|
|
325
|
-
mc: null,
|
|
326
|
-
playing: false,
|
|
327
|
-
slideshowTimeout: null,
|
|
328
|
-
iconSize: 24,
|
|
329
|
-
focusTrap: null,
|
|
330
|
-
randId: createElementId(),
|
|
331
|
-
internalShow: true
|
|
332
|
-
};
|
|
333
|
-
},
|
|
334
|
-
computed: {
|
|
335
|
-
/**
|
|
336
|
-
* ID of the element to label the modal
|
|
337
|
-
*/
|
|
338
|
-
modalLabelId() {
|
|
339
|
-
return this.labelId || `modal-name-${this.randId}`;
|
|
340
|
-
},
|
|
341
|
-
showModal() {
|
|
342
|
-
return this.show === void 0 ? this.internalShow : this.show;
|
|
343
|
-
},
|
|
344
|
-
modalTransitionName() {
|
|
345
|
-
return `modal-${this.outTransition ? "out" : "in"}`;
|
|
346
|
-
},
|
|
347
|
-
playPauseName() {
|
|
348
|
-
return this.playing ? t("Pause slideshow") : t("Start slideshow");
|
|
349
|
-
},
|
|
350
|
-
cssVariables() {
|
|
351
|
-
return {
|
|
352
|
-
"--slideshow-duration": this.slideshowDelay + "ms",
|
|
353
|
-
"--icon-size": this.iconSize + "px"
|
|
354
|
-
};
|
|
355
|
-
},
|
|
356
|
-
closeButtonAriaLabel() {
|
|
357
|
-
return t("Close");
|
|
358
|
-
},
|
|
359
|
-
prevButtonAriaLabel() {
|
|
360
|
-
return t("Previous");
|
|
361
|
-
},
|
|
362
|
-
nextButtonAriaLabel() {
|
|
363
|
-
return t("Next");
|
|
364
|
-
}
|
|
365
|
-
},
|
|
366
|
-
watch: {
|
|
367
|
-
/**
|
|
368
|
-
* Handle play/pause of an ongoing slideshow
|
|
369
|
-
*
|
|
370
|
-
* @param {boolean} paused is the player paused
|
|
371
|
-
*/
|
|
372
|
-
slideshowPaused(paused) {
|
|
373
|
-
if (this.slideshowTimeout) {
|
|
374
|
-
if (paused) {
|
|
375
|
-
this.slideshowTimeout.pause();
|
|
376
|
-
} else {
|
|
377
|
-
this.slideshowTimeout.start();
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
},
|
|
381
|
-
additionalTrapElements(elements) {
|
|
382
|
-
if (this.focusTrap) {
|
|
383
|
-
const contentContainer = this.$refs.mask;
|
|
384
|
-
this.focusTrap.updateContainerElements([contentContainer, ...elements]);
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
},
|
|
388
|
-
beforeMount() {
|
|
389
|
-
window.addEventListener("keydown", this.handleKeydown);
|
|
390
|
-
},
|
|
391
|
-
beforeUnmount() {
|
|
392
|
-
window.removeEventListener("keydown", this.handleKeydown);
|
|
393
|
-
this.mc.stop();
|
|
394
|
-
},
|
|
395
|
-
mounted() {
|
|
396
|
-
if (!this.name && !this.labelId) {
|
|
397
|
-
warn("[NcModal] You need either set the name or set a `labelId` for accessibility.");
|
|
398
|
-
}
|
|
399
|
-
this.useFocusTrap();
|
|
400
|
-
this.mc = useSwipe(this.$refs.mask, {
|
|
401
|
-
onSwipeEnd: this.handleSwipe
|
|
402
|
-
});
|
|
403
|
-
if (this.container) {
|
|
404
|
-
if (this.container === "body") {
|
|
405
|
-
document.body.insertBefore(this.$el, document.body.lastChild);
|
|
406
|
-
} else {
|
|
407
|
-
const container = document.querySelector(this.container);
|
|
408
|
-
container.appendChild(this.$el);
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
},
|
|
412
|
-
unmounted() {
|
|
413
|
-
this.clearFocusTrap();
|
|
414
|
-
this.$el.remove();
|
|
415
|
-
},
|
|
416
|
-
methods: {
|
|
417
|
-
t,
|
|
418
|
-
// Events emitters
|
|
419
|
-
previous(event) {
|
|
420
|
-
if (this.hasPrevious) {
|
|
421
|
-
if (event) {
|
|
422
|
-
this.resetSlideshow();
|
|
423
|
-
}
|
|
424
|
-
this.$emit("previous", event);
|
|
425
|
-
}
|
|
426
|
-
},
|
|
427
|
-
next(event) {
|
|
428
|
-
if (this.hasNext) {
|
|
429
|
-
if (event) {
|
|
430
|
-
this.resetSlideshow();
|
|
431
|
-
}
|
|
432
|
-
this.$emit("next", event);
|
|
433
|
-
}
|
|
434
|
-
},
|
|
435
|
-
close(data) {
|
|
436
|
-
if (this.noClose) {
|
|
437
|
-
return;
|
|
438
|
-
}
|
|
439
|
-
this.internalShow = false;
|
|
440
|
-
this.$emit("update:show", false);
|
|
441
|
-
setTimeout(() => {
|
|
442
|
-
this.$emit("close", data);
|
|
443
|
-
}, 300);
|
|
444
|
-
},
|
|
445
|
-
/**
|
|
446
|
-
* Handle click on modal wrapper
|
|
447
|
-
* If `closeOnClickOutside` is set the modal will be closed
|
|
448
|
-
*
|
|
449
|
-
* @param {MouseEvent} event The click event
|
|
450
|
-
*/
|
|
451
|
-
handleClickModalWrapper(event) {
|
|
452
|
-
if (this.closeOnClickOutside) {
|
|
453
|
-
this.close(event);
|
|
454
|
-
}
|
|
455
|
-
},
|
|
456
|
-
/**
|
|
457
|
-
* @param {KeyboardEvent} event - keyboard event
|
|
458
|
-
*/
|
|
459
|
-
handleKeydown(event) {
|
|
460
|
-
if (event.key === "Escape") {
|
|
461
|
-
const trapStack = getTrapStack();
|
|
462
|
-
if (trapStack.length > 0 && trapStack[trapStack.length - 1] !== this.focusTrap) {
|
|
463
|
-
return;
|
|
464
|
-
}
|
|
465
|
-
return this.close(event);
|
|
466
|
-
}
|
|
467
|
-
const arrowHandlers = {
|
|
468
|
-
ArrowLeft: this.previous,
|
|
469
|
-
ArrowRight: this.next
|
|
470
|
-
};
|
|
471
|
-
if (arrowHandlers[event.key]) {
|
|
472
|
-
if (document.activeElement && !this.$el.contains(document.activeElement)) {
|
|
473
|
-
return;
|
|
474
|
-
}
|
|
475
|
-
return arrowHandlers[event.key](event);
|
|
476
|
-
}
|
|
477
|
-
},
|
|
478
|
-
/**
|
|
479
|
-
* handle the swipe event
|
|
480
|
-
*
|
|
481
|
-
* @param {TouchEvent} e The touch event
|
|
482
|
-
* @param {import('@vueuse/core').SwipeDirection} direction Swipe direction
|
|
483
|
-
*/
|
|
484
|
-
handleSwipe(e, direction) {
|
|
485
|
-
if (!this.disableSwipe) {
|
|
486
|
-
if (direction === "left") {
|
|
487
|
-
this.next(e);
|
|
488
|
-
} else if (direction === "right") {
|
|
489
|
-
this.previous(e);
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
},
|
|
493
|
-
/**
|
|
494
|
-
* Toggle the slideshow state
|
|
495
|
-
*/
|
|
496
|
-
togglePlayPause() {
|
|
497
|
-
this.playing = !this.playing;
|
|
498
|
-
if (this.playing) {
|
|
499
|
-
this.handleSlideshow();
|
|
500
|
-
} else {
|
|
501
|
-
this.clearSlideshowTimeout();
|
|
502
|
-
}
|
|
503
|
-
},
|
|
504
|
-
/**
|
|
505
|
-
* Reset the slideshow timer and keep going if it was on
|
|
506
|
-
*/
|
|
507
|
-
resetSlideshow() {
|
|
508
|
-
this.playing = !this.playing;
|
|
509
|
-
this.clearSlideshowTimeout();
|
|
510
|
-
this.$nextTick(function() {
|
|
511
|
-
this.togglePlayPause();
|
|
512
|
-
});
|
|
513
|
-
},
|
|
514
|
-
/**
|
|
515
|
-
* Handle the slideshow timer and next event
|
|
516
|
-
*/
|
|
517
|
-
handleSlideshow() {
|
|
518
|
-
this.playing = true;
|
|
519
|
-
if (this.hasNext) {
|
|
520
|
-
this.slideshowTimeout = new timer(() => {
|
|
521
|
-
this.next();
|
|
522
|
-
this.handleSlideshow();
|
|
523
|
-
}, this.slideshowDelay);
|
|
524
|
-
} else {
|
|
525
|
-
this.playing = false;
|
|
526
|
-
this.clearSlideshowTimeout();
|
|
527
|
-
}
|
|
528
|
-
},
|
|
529
|
-
/**
|
|
530
|
-
* Clear slideshowTimeout if ongoing
|
|
531
|
-
*/
|
|
532
|
-
clearSlideshowTimeout() {
|
|
533
|
-
if (this.slideshowTimeout) {
|
|
534
|
-
this.slideshowTimeout.clear();
|
|
535
|
-
}
|
|
536
|
-
},
|
|
537
|
-
/**
|
|
538
|
-
* Add focus trap for accessibility.
|
|
539
|
-
*/
|
|
540
|
-
async useFocusTrap() {
|
|
541
|
-
if (!this.showModal || this.focusTrap) {
|
|
542
|
-
return;
|
|
543
|
-
}
|
|
544
|
-
const contentContainer = this.$refs.mask;
|
|
545
|
-
await this.$nextTick();
|
|
546
|
-
const options = {
|
|
547
|
-
allowOutsideClick: true,
|
|
548
|
-
fallbackFocus: contentContainer,
|
|
549
|
-
trapStack: getTrapStack(),
|
|
550
|
-
// Esc can be used without stop in content or additionalTrapElements where it should not deactivate modal's focus trap.
|
|
551
|
-
// Focus trap is deactivated on modal close anyway.
|
|
552
|
-
escapeDeactivates: false,
|
|
553
|
-
setReturnFocus: this.setReturnFocus
|
|
554
|
-
};
|
|
555
|
-
this.focusTrap = createFocusTrap([contentContainer, ...this.additionalTrapElements], options);
|
|
556
|
-
this.focusTrap.activate();
|
|
557
|
-
},
|
|
558
|
-
clearFocusTrap() {
|
|
559
|
-
if (!this.focusTrap) {
|
|
560
|
-
return;
|
|
561
|
-
}
|
|
562
|
-
this.focusTrap?.deactivate();
|
|
563
|
-
this.focusTrap = null;
|
|
564
|
-
}
|
|
565
|
-
}
|
|
566
|
-
};
|
|
567
|
-
const _hoisted_1 = ["aria-labelledby", "aria-describedby"];
|
|
568
|
-
const _hoisted_2 = ["data-theme-light", "data-theme-dark"];
|
|
569
|
-
const _hoisted_3 = ["id"];
|
|
570
|
-
const _hoisted_4 = { class: "icons-menu" };
|
|
571
|
-
const _hoisted_5 = ["title"];
|
|
572
|
-
const _hoisted_6 = { class: "hidden-visually" };
|
|
573
|
-
const _hoisted_7 = {
|
|
574
|
-
key: 2,
|
|
575
|
-
class: "progress-ring",
|
|
576
|
-
height: "50",
|
|
577
|
-
width: "50"
|
|
578
|
-
};
|
|
579
|
-
const _hoisted_8 = ["id"];
|
|
580
|
-
const _hoisted_9 = { class: "modal-container__content" };
|
|
581
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
582
|
-
const _component_Play = resolveComponent("Play");
|
|
583
|
-
const _component_Pause = resolveComponent("Pause");
|
|
584
|
-
const _component_NcActions = resolveComponent("NcActions");
|
|
585
|
-
const _component_Close = resolveComponent("Close");
|
|
586
|
-
const _component_NcButton = resolveComponent("NcButton");
|
|
587
|
-
const _component_NcIconSvgWrapper = resolveComponent("NcIconSvgWrapper");
|
|
588
|
-
return openBlock(), createBlock(Transition, {
|
|
589
|
-
name: "fade",
|
|
590
|
-
appear: "",
|
|
591
|
-
onAfterEnter: $options.useFocusTrap,
|
|
592
|
-
onBeforeLeave: $options.clearFocusTrap
|
|
593
|
-
}, {
|
|
594
|
-
default: withCtx(() => [
|
|
595
|
-
withDirectives(createElementVNode("div", {
|
|
596
|
-
ref: "mask",
|
|
597
|
-
class: normalizeClass(["modal-mask", {
|
|
598
|
-
"modal-mask--opaque": $props.dark || $props.closeButtonOutside || $props.hasPrevious || $props.hasNext,
|
|
599
|
-
"modal-mask--light": $props.lightBackdrop
|
|
600
|
-
}]),
|
|
601
|
-
style: normalizeStyle($options.cssVariables),
|
|
602
|
-
role: "dialog",
|
|
603
|
-
"aria-modal": "true",
|
|
604
|
-
"aria-labelledby": $options.modalLabelId,
|
|
605
|
-
"aria-describedby": "modal-description-" + $data.randId,
|
|
606
|
-
tabindex: "-1"
|
|
607
|
-
}, [
|
|
608
|
-
createVNode(Transition, {
|
|
609
|
-
name: "fade-visibility",
|
|
610
|
-
appear: ""
|
|
611
|
-
}, {
|
|
612
|
-
default: withCtx(() => [
|
|
613
|
-
createElementVNode("div", {
|
|
614
|
-
class: "modal-header",
|
|
615
|
-
"data-theme-light": $props.lightBackdrop,
|
|
616
|
-
"data-theme-dark": !$props.lightBackdrop
|
|
617
|
-
}, [
|
|
618
|
-
$props.name.trim() !== "" ? (openBlock(), createElementBlock("h2", {
|
|
619
|
-
key: 0,
|
|
620
|
-
id: "modal-name-" + $data.randId,
|
|
621
|
-
class: "modal-header__name"
|
|
622
|
-
}, toDisplayString($props.name), 9, _hoisted_3)) : createCommentVNode("", true),
|
|
623
|
-
createElementVNode("div", _hoisted_4, [
|
|
624
|
-
$props.hasNext && $props.enableSlideshow ? (openBlock(), createElementBlock("button", {
|
|
625
|
-
key: 0,
|
|
626
|
-
class: normalizeClass(["play-pause-icons", { "play-pause-icons--paused": $props.slideshowPaused }]),
|
|
627
|
-
title: $options.playPauseName,
|
|
628
|
-
type: "button",
|
|
629
|
-
onClick: _cache[0] || (_cache[0] = (...args) => $options.togglePlayPause && $options.togglePlayPause(...args))
|
|
630
|
-
}, [
|
|
631
|
-
!$data.playing ? (openBlock(), createBlock(_component_Play, {
|
|
632
|
-
key: 0,
|
|
633
|
-
class: "play-pause-icons__play",
|
|
634
|
-
size: $data.iconSize
|
|
635
|
-
}, null, 8, ["size"])) : (openBlock(), createBlock(_component_Pause, {
|
|
636
|
-
key: 1,
|
|
637
|
-
class: "play-pause-icons__pause",
|
|
638
|
-
size: $data.iconSize
|
|
639
|
-
}, null, 8, ["size"])),
|
|
640
|
-
createElementVNode("span", _hoisted_6, toDisplayString($options.playPauseName), 1),
|
|
641
|
-
$data.playing ? (openBlock(), createElementBlock("svg", _hoisted_7, [..._cache[2] || (_cache[2] = [
|
|
642
|
-
createElementVNode("circle", {
|
|
643
|
-
class: "progress-ring__circle",
|
|
644
|
-
stroke: "white",
|
|
645
|
-
"stroke-width": "2",
|
|
646
|
-
fill: "transparent",
|
|
647
|
-
r: "15",
|
|
648
|
-
cx: "25",
|
|
649
|
-
cy: "25"
|
|
650
|
-
}, null, -1)
|
|
651
|
-
])])) : createCommentVNode("", true)
|
|
652
|
-
], 10, _hoisted_5)) : createCommentVNode("", true),
|
|
653
|
-
createVNode(_component_NcActions, {
|
|
654
|
-
class: "header-actions",
|
|
655
|
-
inline: $props.inlineActions
|
|
656
|
-
}, {
|
|
657
|
-
default: withCtx(() => [
|
|
658
|
-
renderSlot(_ctx.$slots, "actions", {}, void 0, true)
|
|
659
|
-
]),
|
|
660
|
-
_: 3
|
|
661
|
-
}, 8, ["inline"]),
|
|
662
|
-
!$props.noClose && $props.closeButtonOutside ? (openBlock(), createBlock(_component_NcButton, {
|
|
663
|
-
key: 1,
|
|
664
|
-
"aria-label": $options.closeButtonAriaLabel,
|
|
665
|
-
class: "header-close",
|
|
666
|
-
variant: "tertiary",
|
|
667
|
-
onClick: $options.close
|
|
668
|
-
}, {
|
|
669
|
-
icon: withCtx(() => [
|
|
670
|
-
createVNode(_component_Close, { size: $data.iconSize }, null, 8, ["size"])
|
|
671
|
-
]),
|
|
672
|
-
_: 1
|
|
673
|
-
}, 8, ["aria-label", "onClick"])) : createCommentVNode("", true)
|
|
674
|
-
])
|
|
675
|
-
], 8, _hoisted_2)
|
|
676
|
-
]),
|
|
677
|
-
_: 3
|
|
678
|
-
}),
|
|
679
|
-
createVNode(Transition, {
|
|
680
|
-
name: $options.modalTransitionName,
|
|
681
|
-
appear: ""
|
|
682
|
-
}, {
|
|
683
|
-
default: withCtx(() => [
|
|
684
|
-
withDirectives(createElementVNode("div", {
|
|
685
|
-
class: normalizeClass(["modal-wrapper", [
|
|
686
|
-
`modal-wrapper--${$props.size}`,
|
|
687
|
-
{ "modal-wrapper--spread-navigation": $props.spreadNavigation }
|
|
688
|
-
]]),
|
|
689
|
-
onMousedown: _cache[1] || (_cache[1] = withModifiers((...args) => $options.handleClickModalWrapper && $options.handleClickModalWrapper(...args), ["self"]))
|
|
690
|
-
}, [
|
|
691
|
-
createVNode(Transition, {
|
|
692
|
-
name: "fade-visibility",
|
|
693
|
-
appear: ""
|
|
694
|
-
}, {
|
|
695
|
-
default: withCtx(() => [
|
|
696
|
-
withDirectives(createVNode(_component_NcButton, {
|
|
697
|
-
"aria-label": $options.prevButtonAriaLabel,
|
|
698
|
-
class: "prev",
|
|
699
|
-
variant: "tertiary-no-background",
|
|
700
|
-
onClick: $options.previous
|
|
701
|
-
}, {
|
|
702
|
-
icon: withCtx(() => [
|
|
703
|
-
createVNode(_component_NcIconSvgWrapper, {
|
|
704
|
-
directional: "",
|
|
705
|
-
path: $setup.mdiChevronLeft,
|
|
706
|
-
size: 40
|
|
707
|
-
}, null, 8, ["path"])
|
|
708
|
-
]),
|
|
709
|
-
_: 1
|
|
710
|
-
}, 8, ["aria-label", "onClick"]), [
|
|
711
|
-
[vShow, $props.hasPrevious]
|
|
712
|
-
])
|
|
713
|
-
]),
|
|
714
|
-
_: 1
|
|
715
|
-
}),
|
|
716
|
-
createElementVNode("div", {
|
|
717
|
-
id: "modal-description-" + $data.randId,
|
|
718
|
-
class: "modal-container"
|
|
719
|
-
}, [
|
|
720
|
-
createElementVNode("div", _hoisted_9, [
|
|
721
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
722
|
-
]),
|
|
723
|
-
!$props.noClose && !$props.closeButtonOutside ? (openBlock(), createBlock(_component_NcButton, {
|
|
724
|
-
key: 0,
|
|
725
|
-
"aria-label": $options.closeButtonAriaLabel,
|
|
726
|
-
class: "modal-container__close",
|
|
727
|
-
variant: "tertiary",
|
|
728
|
-
onClick: $options.close
|
|
729
|
-
}, {
|
|
730
|
-
icon: withCtx(() => [
|
|
731
|
-
createVNode(_component_Close, { size: 20 })
|
|
732
|
-
]),
|
|
733
|
-
_: 1
|
|
734
|
-
}, 8, ["aria-label", "onClick"])) : createCommentVNode("", true)
|
|
735
|
-
], 8, _hoisted_8),
|
|
736
|
-
createVNode(Transition, {
|
|
737
|
-
name: "fade-visibility",
|
|
738
|
-
appear: ""
|
|
739
|
-
}, {
|
|
740
|
-
default: withCtx(() => [
|
|
741
|
-
withDirectives(createVNode(_component_NcButton, {
|
|
742
|
-
"aria-label": $options.nextButtonAriaLabel,
|
|
743
|
-
class: "next",
|
|
744
|
-
variant: "tertiary-no-background",
|
|
745
|
-
onClick: $options.next
|
|
746
|
-
}, {
|
|
747
|
-
icon: withCtx(() => [
|
|
748
|
-
createVNode(_component_NcIconSvgWrapper, {
|
|
749
|
-
directional: "",
|
|
750
|
-
path: $setup.mdiChevronRight,
|
|
751
|
-
size: 40
|
|
752
|
-
}, null, 8, ["path"])
|
|
753
|
-
]),
|
|
754
|
-
_: 1
|
|
755
|
-
}, 8, ["aria-label", "onClick"]), [
|
|
756
|
-
[vShow, $props.hasNext]
|
|
757
|
-
])
|
|
758
|
-
]),
|
|
759
|
-
_: 1
|
|
760
|
-
})
|
|
761
|
-
], 34), [
|
|
762
|
-
[vShow, $options.showModal]
|
|
763
|
-
])
|
|
764
|
-
]),
|
|
765
|
-
_: 3
|
|
766
|
-
}, 8, ["name"])
|
|
767
|
-
], 14, _hoisted_1), [
|
|
768
|
-
[vShow, $options.showModal]
|
|
769
|
-
])
|
|
770
|
-
]),
|
|
771
|
-
_: 3
|
|
772
|
-
}, 8, ["onAfterEnter", "onBeforeLeave"]);
|
|
773
|
-
}
|
|
774
|
-
const NcModal = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-70dc2566"]]);
|
|
775
|
-
export {
|
|
776
|
-
NcModal as N
|
|
777
|
-
};
|
|
778
|
-
//# sourceMappingURL=NcModal-DZtBQM1y.mjs.map
|