Repo for the search and displace core module including the interface to select files and search and displace operations to run on them. https://searchanddisplace.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1001 B

3 years ago
3 years ago
  1. <template>
  2. <div class="wrap" v-if="!fileUploaded && !uploading">
  3. <Toast />
  4. <Panel header="Please upload a file">
  5. <FileUpload
  6. name="demo[]"
  7. :customUpload="true"
  8. :auto="true"
  9. @uploader="uploadFile"
  10. >
  11. <template #empty>
  12. <p>Drag and drop files to here to upload.</p>
  13. </template>
  14. </FileUpload>
  15. </Panel>
  16. <BlockUI :blocked="uiBlocked" :fullScreen="true"></BlockUI>
  17. </div>
  18. <div class="wrap" v-else-if="!fileUploaded && uploading">
  19. <Skeleton /><br />
  20. <Skeleton /><br />
  21. <Skeleton /><br />
  22. <Skeleton /><br />
  23. <Skeleton /><br />
  24. <Skeleton /><br />
  25. <Skeleton /><br />
  26. </div>
  27. <div class="wrap" v-else>
  28. <process-file :file="uploadResult" :searchers="searchers"></process-file>
  29. </div>
  30. </template>
  31. <script lang="ts" src="./Home.ts">
  32. </script>