\n\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddPages.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddPages.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AddPages.vue?vue&type=template&id=3b2b9dd2&scoped=true&\"\nimport script from \"./AddPages.vue?vue&type=script&lang=js&\"\nexport * from \"./AddPages.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AddPages.vue?vue&type=style&index=0&id=3b2b9dd2&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3b2b9dd2\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"document-attachments\"}},[_c('VasionGeneralModal',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.showMergeDeleteDialog && !_vm.showMergeDialog),expression:\"!showMergeDeleteDialog && !showMergeDialog\"}],attrs:{\"id\":\"attachedDocumentsModal\",\"modalType\":'slot',\"hideButtons\":true,\"buttonGroup\":\"left\",\"sync\":_vm.showModal},on:{\"noButtonClick\":function($event){_vm.showModal = !_vm.showModal}}},[_c('div',[(_vm.attachmentMode === 'view')?_c('div',{staticClass:\"attached-documents-grid-div\"},[_c('span',{staticClass:\"vasion-page-title\"},[_vm._v(\"Attachments\")]),(_vm.attachedDocuments && _vm.attachedDocuments.tableHeaders && _vm.attachedDocuments.tableRows.length > 0)?_c('div',{staticClass:\"content\"},[_c('VasionTable',{attrs:{\"headerColumns\":_vm.attachedDocuments.tableHeaders,\"tableRows\":_vm.attachedDocuments.tableRows,\"hideColumns\":_vm.hideColumns},on:{\"vasion-selection\":_vm.handleAttachedDocumentSelect,\"vasion-icon-click\":_vm.handleIconClick}})],1):_c('div',{staticClass:\"content\"},[_vm._v(\" No attached documents for this document \")])]):_vm._e(),(_vm.attachmentMode === 'delete')?_c('div',[_c('div',{staticClass:\"spacer\"},[_vm._v(\" Are you sure you want to remove '\"+_vm._s(_vm.selectedDeleteAttachment[1])+\"'? \")]),(_vm.canDeleteDocument)?_c('VasionCheckbox',{staticClass:\"spacer\",attrs:{\"id\":\"delete-attached-file-checkbox\",\"name\":\"delete-attached-file-checkbox\",\"checked\":_vm.deleteAttachedFile},on:{\"change\":function($event){_vm.deleteAttachedFile = !_vm.deleteAttachedFile}}},[_vm._v(\" Delete attached file as well \")]):_vm._e(),_c('Loading',{attrs:{\"id\":\"delete-loading\",\"active\":_vm.isLoading,\"is-full-page\":false,\"loader\":\"dots\",\"color\":_vm.loaderColor,\"background-color\":_vm.loaderBackgroundColor},on:{\"update:active\":function($event){_vm.isLoading=$event}}}),_c('div',{staticClass:\"attachments-modal-buttons\"},[_c('VasionButton',{attrs:{\"id\":\"cancel\",\"classProp\":'secondary'},on:{\"vasionButtonClicked\":function($event){_vm.attachmentMode = 'view'}}},[_vm._v(\" Cancel \")]),_c('VasionButton',{attrs:{\"id\":\"remove\",\"classProp\":'primary'},on:{\"vasionButtonClicked\":function($event){return _vm.deleteAttachedDocument()}}},[_vm._v(\" Remove \")])],1)],1):_vm._e(),(_vm.attachmentMode === 'search')?_c('div',{staticClass:\"attached-documents-grid-div\"},[_c('span',{staticClass:\"vasion-page-title\"},[_vm._v(\"Linked Documents Search\")]),(_vm.searchResultDocuments && _vm.searchResultDocuments.tableHeaders && _vm.searchResultDocuments.tableRows.length > 0)?_c('div',{staticClass:\"content\"},[_c('VasionTable',{attrs:{\"headerColumns\":_vm.searchResultDocuments.tableHeaders,\"tableRows\":_vm.searchResultDocuments.tableRows,\"hideColumns\":['_DocID_']},on:{\"vasion-row-checked\":_vm.handleSearchResultCheckChange}})],1):_c('div',{staticClass:\"content\"},[_vm._v(\" No Results Found \")])]):_vm._e(),_c('div',{staticClass:\"attachments-modal-buttons\"},[_c('VasionButton',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.attachmentMode === 'add' || _vm.attachmentMode === 'search'),expression:\"attachmentMode === 'add' || attachmentMode === 'search'\"}],attrs:{\"id\":\"cancel-add-document-button\",\"classProp\":'primary'},on:{\"vasionButtonClicked\":function($event){_vm.attachmentMode = 'view'}}},[_vm._v(\" Cancel \")]),_c('VasionButton',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.attachmentMode === 'search'),expression:\"attachmentMode === 'search'\"}],attrs:{\"id\":\"attach-search-button\",\"classProp\":'primary',\"isDisabled\":!_vm.checkedDocuments || _vm.checkedDocuments.length <= 0},on:{\"vasionButtonClicked\":_vm.attachSearchResults}},[_vm._v(\" Attach \")]),_c('VasionButton',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.attachmentMode === 'view'),expression:\"attachmentMode === 'view'\"}],attrs:{\"id\":\"add-document-button\",\"classProp\":'primary'},on:{\"vasionButtonClicked\":function($event){_vm.attachmentMode = 'add'}}},[_vm._v(\" Add Document \")]),_c('VasionButton',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.attachmentMode === 'view'),expression:\"attachmentMode === 'view'\"}],attrs:{\"id\":\"search-button\",\"classProp\":'primary',\"isDisabled\":!_vm.hasLinkedSearch},on:{\"vasionButtonClicked\":function($event){return _vm.runAttachmentSearch()}}},[(!_vm.isSearchLoading)?_c('span',[_vm._v(\"Search\")]):_c('div',{attrs:{\"id\":\"loader-box\"}},[_c('Loading',{attrs:{\"active\":_vm.isSearchLoading,\"is-full-page\":false,\"loader\":\"dots\",\"color\":'white',\"background-color\":'#ff4702'},on:{\"update:active\":function($event){_vm.isSearchLoading=$event}}})],1)]),_c('VasionButton',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.attachmentMode === 'view'),expression:\"attachmentMode === 'view'\"}],attrs:{\"id\":\"close\",\"classProp\":'primary'},on:{\"vasionButtonClicked\":function($event){_vm.showModal = !_vm.showModal}}},[_vm._v(\" Close \")])],1)])]),_c('VasionGeneralModal',{attrs:{\"id\":\"confirmAttachedDocumentsMerge\",\"rejectButtonText\":'CANCEL',\"modalType\":'message',\"buttonGroup\":\"center\",\"message\":'This will take all Tiff and PDF Attached Documents and Merge them to the Base Document. Would you like to continue?',\"sync\":_vm.showMergeDialog},on:{\"noButtonClick\":function($event){_vm.showMergeDialog = !_vm.showMergeDialog},\"confirmButtonClick\":function($event){return _vm.mergeAttachedDocuments()}}}),_c('VasionGeneralModal',{attrs:{\"id\":\"confirmAttachedDocumentsMergeDelete\",\"rejectButtonText\":'CANCEL',\"modalType\":'message',\"buttonGroup\":\"left\",\"message\":'This will take all Tiff and PDF Attached Documents, Merge them to the Base Document, then Delete the Attached Documents. Would you like to continue?',\"sync\":_vm.showMergeDeleteDialog},on:{\"noButtonClick\":function($event){_vm.showMergeDeleteDialog = !_vm.showMergeDeleteDialog},\"confirmButtonClick\":function($event){return _vm.mergeAttachedDocumentsDelete()}}}),_c('VasionFileUploadDialog',{attrs:{\"allowMultiple\":true,\"show\":_vm.attachmentMode === 'add',\"serverOptions\":_vm.serverOptions},on:{\"allFilesUploaded\":_vm.allAttachmentsUploaded,\"update:show\":_vm.toggleUploadDialog}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n
\n \n
\n
\n Attachments\n
0\" class=\"content\">\n \n
\n
\n No attached documents for this document\n
\n
\n
\n
\n Are you sure you want to remove '{{ selectedDeleteAttachment[1] }}'?\n