+
{{ heading }}
{{ subheading }}
@@ -23,7 +23,7 @@ export default defineComponent({
diff --git a/app/src/components/v-modal/index.ts b/app/src/components/v-modal/index.ts
deleted file mode 100644
index c3a4ca2b16..0000000000
--- a/app/src/components/v-modal/index.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import VModal from './v-modal.vue';
-
-export { VModal };
-export default VModal;
diff --git a/app/src/components/v-modal/readme.md b/app/src/components/v-modal/readme.md
deleted file mode 100644
index 9818b9ca27..0000000000
--- a/app/src/components/v-modal/readme.md
+++ /dev/null
@@ -1,73 +0,0 @@
-# Modal
-
-A modal is basically an elaborate pre-configured dialog. It supports an optional left sidebar that allows for easier tab usage.
-
-## Usage
-
-```html
-
- Hello, world!
-
-```
-
-```html
-
-
- Open modal
-
-
- Hello, world!
-
-```
-
-```html
-
-
- Open modal
-
-
-
-
- Hello
- Page 2
- Page 3
-
-
-
-
- Hello, world!
- I'm page 2!
- I'm page 3!
-
-
-
- Close modal
-
-
-```
-
-## Props
-
-| Prop | Description | Default |
-|--------------|-----------------------------------------------------------------|---------|
-| `title`* | Title for the modal | |
-| `subtitle` | Optional subtitle for the modal | |
-| `active` | If the modal is active. Used in `v-model` | `false` |
-| `persistent` | Prevent the user from exiting the modal by clicking the overlay | `false` |
-
-## Events
-
-| Event | Description | Value |
-|----------|--------------------------|-----------|
-| `toggle` | Sync the `v-model` value | `boolean` |
-
-## Slots
-| Slot | Description | Data |
-|-------------|--------------------------------------------------------|-------------------------|
-| _default_ | Modal content | |
-| `activator` | Element to enable the modal | `{ on: () => void }` |
-| `sidebar` | Sidebar content for the modal. Often used for `v-tabs` | |
-| `footer` | Footer content. Often used for action buttons | `{ close: () => void }` |
-
-## CSS Variables
-n/a
diff --git a/app/src/components/v-modal/v-modal.story.ts b/app/src/components/v-modal/v-modal.story.ts
deleted file mode 100644
index c9d9ba61b4..0000000000
--- a/app/src/components/v-modal/v-modal.story.ts
+++ /dev/null
@@ -1,84 +0,0 @@
-import withPadding from '../../../.storybook/decorators/with-padding';
-import readme from './readme.md';
-import { defineComponent, ref } from '@vue/composition-api';
-
-export default {
- title: 'Components / Modal',
- parameters: {
- notes: readme,
- },
- decorators: [withPadding],
-};
-
-export const basic = () =>
- defineComponent({
- setup() {
- const active = ref(false);
- return { active };
- },
- template: `
-
-
-
- Enable modal
-
-
- Hello world!
-
-
- Close modal
-
-
-
-
- `,
- });
-
-export const withNav = () =>
- defineComponent({
- setup() {
- const active = ref(false);
- const current = ref(['hello']);
- return { active, current };
- },
- template: `
-
-
-
- Enable modal
-
-
-
-
- Hello
- Modal
-
-
-
-
-
- Hello world!
-
-
-
- I'm a modal with tabs
-
-
-
-
-
- Close modal
-
-
-
-
- `,
- });
diff --git a/app/src/components/v-modal/v-modal.test.ts b/app/src/components/v-modal/v-modal.test.ts
deleted file mode 100644
index 944a497925..0000000000
--- a/app/src/components/v-modal/v-modal.test.ts
+++ /dev/null
@@ -1,24 +0,0 @@
-import { shallowMount, createLocalVue } from '@vue/test-utils';
-import VueCompositionAPI from '@vue/composition-api';
-
-import VModal from './v-modal.vue';
-import VDialog from '@/components/v-dialog/';
-import VIcon from '@/components/v-icon/';
-
-const localVue = createLocalVue();
-localVue.use(VueCompositionAPI);
-localVue.component('v-dialog', VDialog);
-localVue.component('v-icon', VIcon);
-
-describe('Components / Modal', () => {
- it('Renders', () => {
- const component = shallowMount(VModal, {
- localVue,
- propsData: {
- title: 'My Modal',
- },
- });
-
- expect(component.isVueInstance()).toBe(true);
- });
-});
diff --git a/app/src/components/v-upload/v-upload.vue b/app/src/components/v-upload/v-upload.vue
index 0b7a9ef4a7..0b0d3b69e8 100644
--- a/app/src/components/v-upload/v-upload.vue
+++ b/app/src/components/v-upload/v-upload.vue
@@ -52,7 +52,7 @@
-
import { defineComponent, ref, computed, watch } from '@vue/composition-api';
import uploadFiles from '@/utils/upload-files';
-import ModalCollection from '@/views/private/components/modal-collection';
+import DrawerCollection from '@/views/private/components/drawer-collection';
import api from '@/api';
import useItem from '@/composables/use-item';
export default defineComponent({
- components: { ModalCollection },
+ components: { DrawerCollection },
props: {
multiple: {
type: Boolean,
diff --git a/app/src/interfaces/file/file.vue b/app/src/interfaces/file/file.vue
index a44af12941..f1ef5bd0f6 100644
--- a/app/src/interfaces/file/file.vue
+++ b/app/src/interfaces/file/file.vue
@@ -79,7 +79,7 @@
-
import { defineComponent, ref, watch, computed } from '@vue/composition-api';
-import ModalCollection from '@/views/private/components/modal-collection';
+import DrawerCollection from '@/views/private/components/drawer-collection';
import api from '@/api';
import readableMimeType from '@/utils/readable-mime-type';
import getRootPath from '@/utils/get-root-path';
@@ -124,7 +124,7 @@ type FileInfo = {
};
export default defineComponent({
- components: { ModalCollection },
+ components: { DrawerCollection },
props: {
value: {
type: String,
diff --git a/app/src/interfaces/files/files.vue b/app/src/interfaces/files/files.vue
index 816816208f..78daf1b616 100644
--- a/app/src/interfaces/files/files.vue
+++ b/app/src/interfaces/files/files.vue
@@ -34,7 +34,7 @@
-