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.

36 lines
1.0 KiB

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