Skip to content

Commit

Permalink
chore: update to be compatible with the newest sintax
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos committed Feb 13, 2025
1 parent f8363af commit 74631d1
Show file tree
Hide file tree
Showing 62 changed files with 190 additions and 237 deletions.
75 changes: 14 additions & 61 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
</template>

<script>
import NcAppContent from '@nextcloud/vue/dist/Components/NcAppContent.js'
import NcContent from '@nextcloud/vue/dist/Components/NcContent.js'
import NcEmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js'
import NcAppContent from '@nextcloud/vue/components/NcAppContent'
import NcContent from '@nextcloud/vue/components/NcContent'
import NcEmptyContent from '@nextcloud/vue/components/NcEmptyContent'

import LeftSidebar from './Components/LeftSidebar/LeftSidebar.vue'
import RightSidebar from './Components/RightSidebar/RightSidebar.vue'
Expand Down
6 changes: 3 additions & 3 deletions src/Components/Draw/Draw.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ import DrawIcon from 'vue-material-design-icons/Draw.vue'
import SignatureTextIcon from 'vue-material-design-icons/SignatureText.vue'
import UploadIcon from 'vue-material-design-icons/Upload.vue'
import NcAppSidebar from '@nextcloud/vue/dist/Components/NcAppSidebar.js'
import NcAppSidebarTab from '@nextcloud/vue/dist/Components/NcAppSidebarTab.js'
import NcDialog from '@nextcloud/vue/dist/Components/NcDialog.js'
import NcAppSidebar from '@nextcloud/vue/components/NcAppSidebar'
import NcAppSidebarTab from '@nextcloud/vue/components/NcAppSidebarTab'
import NcDialog from '@nextcloud/vue/components/NcDialog'
import Editor from './Editor.vue'
import FileUpload from './FileUpload.vue'
Expand Down
6 changes: 3 additions & 3 deletions src/Components/Draw/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ import { VPerfectSignature } from 'v-perfect-signature'
import DeleteIcon from 'vue-material-design-icons/Delete.vue'
import PaletteIcon from 'vue-material-design-icons/Palette.vue'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import NcColorPicker from '@nextcloud/vue/dist/Components/NcColorPicker.js'
import NcDialog from '@nextcloud/vue/dist/Components/NcDialog.js'
import NcButton from '@nextcloud/vue/components/NcButton'
import NcColorPicker from '@nextcloud/vue/components/NcColorPicker'
import NcDialog from '@nextcloud/vue/components/NcDialog'
import PreviewSignature from '../PreviewSignature/PreviewSignature.vue'
Expand Down
4 changes: 2 additions & 2 deletions src/Components/Draw/FileUpload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
<script>
import { Cropper } from 'vue-advanced-cropper'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import NcDialog from '@nextcloud/vue/dist/Components/NcDialog.js'
import NcButton from '@nextcloud/vue/components/NcButton'
import NcDialog from '@nextcloud/vue/components/NcDialog'
import { SignatureImageDimensions } from './options.js'
Expand Down
6 changes: 3 additions & 3 deletions src/Components/Draw/TextInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
<script>
import '@fontsource/dancing-script'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import NcDialog from '@nextcloud/vue/dist/Components/NcDialog.js'
import NcTextField from '@nextcloud/vue/dist/Components/NcTextField.js'
import NcButton from '@nextcloud/vue/components/NcButton'
import NcDialog from '@nextcloud/vue/components/NcDialog'
import NcTextField from '@nextcloud/vue/components/NcTextField'
import { SignatureImageDimensions } from './options.js'
Expand Down
6 changes: 3 additions & 3 deletions src/Components/LeftSidebar/LeftSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ import FolderIcon from 'vue-material-design-icons/Folder.vue'
import { getCurrentUser } from '@nextcloud/auth'
import { loadState } from '@nextcloud/initial-state'

import NcAppNavigation from '@nextcloud/vue/dist/Components/NcAppNavigation.js'
import NcAppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem.js'
import NcAppNavigationSettings from '@nextcloud/vue/dist/Components/NcAppNavigationSettings.js'
import NcAppNavigation from '@nextcloud/vue/components/NcAppNavigation'
import NcAppNavigationItem from '@nextcloud/vue/components/NcAppNavigationItem'
import NcAppNavigationSettings from '@nextcloud/vue/components/NcAppNavigationSettings'

import Settings from '../Settings/Settings.vue'

Expand Down
2 changes: 1 addition & 1 deletion src/Components/PreviewSignature/PreviewSignature.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<script>
import axios from '@nextcloud/axios'
import NcLoadingIcon from '@nextcloud/vue/dist/Components/NcLoadingIcon.js'
import NcLoadingIcon from '@nextcloud/vue/components/NcLoadingIcon'
export default {
name: 'PreviewSignature',
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Request/AccountOrEmail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import AlertCircle from 'vue-material-design-icons/AlertCircleOutline.vue'
import axios from '@nextcloud/axios'
import { generateOcsUrl } from '@nextcloud/router'
import NcSelect from '@nextcloud/vue/dist/Components/NcSelect.js'
import NcSelect from '@nextcloud/vue/components/NcSelect'
export default {
name: 'AccountOrEmail',
Expand Down
4 changes: 2 additions & 2 deletions src/Components/Request/IdentifySigner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
<script>
import { loadState } from '@nextcloud/initial-state'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import NcTextField from '@nextcloud/vue/dist/Components/NcTextField.js'
import NcButton from '@nextcloud/vue/components/NcButton'
import NcTextField from '@nextcloud/vue/components/NcTextField'
import AccountOrEmail from './AccountOrEmail.vue'
Expand Down
14 changes: 7 additions & 7 deletions src/Components/Request/RequestPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ import { FilePickerVue as FilePicker } from '@nextcloud/dialogs/filepicker.js'
import { loadState } from '@nextcloud/initial-state'
import { generateOcsUrl } from '@nextcloud/router'

import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
import NcActions from '@nextcloud/vue/dist/Components/NcActions.js'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import NcDialog from '@nextcloud/vue/dist/Components/NcDialog.js'
import NcLoadingIcon from '@nextcloud/vue/dist/Components/NcLoadingIcon.js'
import NcNoteCard from '@nextcloud/vue/dist/Components/NcNoteCard.js'
import NcTextField from '@nextcloud/vue/dist/Components/NcTextField.js'
import NcActionButton from '@nextcloud/vue/components/NcActionButton'
import NcActions from '@nextcloud/vue/components/NcActions'
import NcButton from '@nextcloud/vue/components/NcButton'
import NcDialog from '@nextcloud/vue/components/NcDialog'
import NcLoadingIcon from '@nextcloud/vue/components/NcLoadingIcon'
import NcNoteCard from '@nextcloud/vue/components/NcNoteCard'
import NcTextField from '@nextcloud/vue/components/NcTextField'

import { useActionsMenuStore } from '../../store/actionsmenu.js'
import { useFilesStore } from '../../store/files.js'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</template>

<script>
import NcCounterBubble from '@nextcloud/vue/dist/Components/NcCounterBubble.js'
import NcCounterBubble from '@nextcloud/vue/components/NcCounterBubble'
export default {
name: 'PageNavigation',
Expand Down
4 changes: 2 additions & 2 deletions src/Components/Request/SignDetail/partials/SignerRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
import { emit } from '@nextcloud/event-bus'
import Moment from '@nextcloud/moment'
import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
import NcListItem from '@nextcloud/vue/dist/Components/NcListItem.js'
import NcAvatar from '@nextcloud/vue/components/NcAvatar'
import NcListItem from '@nextcloud/vue/components/NcListItem'
export default {
name: 'SignerRow',
Expand Down
8 changes: 4 additions & 4 deletions src/Components/Request/VisibleElements.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ import { subscribe, unsubscribe, emit } from '@nextcloud/event-bus'
import { loadState } from '@nextcloud/initial-state'
import { generateOcsUrl } from '@nextcloud/router'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import NcDialog from '@nextcloud/vue/dist/Components/NcDialog.js'
import NcLoadingIcon from '@nextcloud/vue/dist/Components/NcLoadingIcon.js'
import NcNoteCard from '@nextcloud/vue/dist/Components/NcNoteCard.js'
import NcButton from '@nextcloud/vue/components/NcButton'
import NcDialog from '@nextcloud/vue/components/NcDialog'
import NcLoadingIcon from '@nextcloud/vue/components/NcLoadingIcon'
import NcNoteCard from '@nextcloud/vue/components/NcNoteCard'
import Chip from '../Chip.vue'
import PdfEditor from '../PdfEditor/PdfEditor.vue'
Expand Down
8 changes: 4 additions & 4 deletions src/Components/RightSidebar/RequestSignatureTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ import { showError, showSuccess } from '@nextcloud/dialogs'
import { emit, subscribe, unsubscribe } from '@nextcloud/event-bus'
import { generateOcsUrl } from '@nextcloud/router'
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import NcLoadingIcon from '@nextcloud/vue/dist/Components/NcLoadingIcon.js'
import NcModal from '@nextcloud/vue/dist/Components/NcModal.js'
import NcActionButton from '@nextcloud/vue/components/NcActionButton'
import NcButton from '@nextcloud/vue/components/NcButton'
import NcLoadingIcon from '@nextcloud/vue/components/NcLoadingIcon'
import NcModal from '@nextcloud/vue/components/NcModal'
import IdentifySigner from '../Request/IdentifySigner.vue'
import VisibleElements from '../Request/VisibleElements.vue'
Expand Down
4 changes: 2 additions & 2 deletions src/Components/RightSidebar/RightSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
</template>

<script>
import NcAppSidebar from '@nextcloud/vue/dist/Components/NcAppSidebar.js'
import NcAppSidebarTab from '@nextcloud/vue/dist/Components/NcAppSidebarTab.js'
import NcAppSidebar from '@nextcloud/vue/components/NcAppSidebar'
import NcAppSidebarTab from '@nextcloud/vue/components/NcAppSidebarTab'
import RequestSignatureTab from '../RightSidebar/RequestSignatureTab.vue'
import SignTab from '../RightSidebar/SignTab.vue'
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Settings/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<script>
import StarIcon from 'vue-material-design-icons/Star.vue'

import NcAppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem.js'
import NcAppNavigationItem from '@nextcloud/vue/components/NcAppNavigationItem'

export default {
name: 'Settings',
Expand Down
4 changes: 2 additions & 2 deletions src/Components/Signers/Signer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import { emit } from '@nextcloud/event-bus'
import { loadState } from '@nextcloud/initial-state'
import Moment from '@nextcloud/moment'
import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
import NcListItem from '@nextcloud/vue/dist/Components/NcListItem.js'
import NcAvatar from '@nextcloud/vue/components/NcAvatar'
import NcListItem from '@nextcloud/vue/components/NcListItem'
import Bullet from '../Bullet/Bullet.vue'
Expand Down
2 changes: 1 addition & 1 deletion src/Components/TopBar/SidebarToggle.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<script>
import MenuIcon from 'vue-material-design-icons/Menu.vue'

import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import NcButton from '@nextcloud/vue/components/NcButton'

import { useSidebarStore } from '../../store/sidebar.js'

Expand Down
2 changes: 1 addition & 1 deletion src/views/Account/partials/ManagePassword.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ import { showError, showSuccess } from '@nextcloud/dialogs'
import { loadState } from '@nextcloud/initial-state'
import { generateOcsUrl } from '@nextcloud/router'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import NcButton from '@nextcloud/vue/components/NcButton'
import CreatePassword from '../../CreatePassword.vue'
import ReadCertificate from '../../ReadCertificate/ReadCertificate.vue'
Expand Down
4 changes: 2 additions & 2 deletions src/views/Account/partials/Signature.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ import DrawIcon from 'vue-material-design-icons/Draw.vue'
import { showError, showSuccess } from '@nextcloud/dialogs'
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
import NcActions from '@nextcloud/vue/dist/Components/NcActions.js'
import NcActionButton from '@nextcloud/vue/components/NcActionButton'
import NcActions from '@nextcloud/vue/components/NcActions'
import Draw from '../../../Components/Draw/Draw.vue'
import PreviewSignature from '../../../Components/PreviewSignature/PreviewSignature.vue'
Expand Down
2 changes: 1 addition & 1 deletion src/views/Account/partials/UserImage.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script>
import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
import NcAvatar from '@nextcloud/vue/components/NcAvatar'
export default {
name: 'UserImage',
Expand Down
Loading

0 comments on commit 74631d1

Please sign in to comment.