diff --git a/SmartAssistant-1.0.0.zip b/SmartAssistant-1.0.0.zip new file mode 100644 index 0000000..ac70d44 Binary files /dev/null and b/SmartAssistant-1.0.0.zip differ diff --git a/files/client/custom/src/modules/smart-assistant/views/case/modals/add-memory.js b/files/client/custom/modules/smart-assistant/src/views/case/modals/add-memory.js similarity index 97% rename from files/client/custom/src/modules/smart-assistant/views/case/modals/add-memory.js rename to files/client/custom/modules/smart-assistant/src/views/case/modals/add-memory.js index 329401c..d3ac588 100644 --- a/files/client/custom/src/modules/smart-assistant/views/case/modals/add-memory.js +++ b/files/client/custom/modules/smart-assistant/src/views/case/modals/add-memory.js @@ -1,4 +1,4 @@ -define('custom:modules/smart-assistant/views/case/modals/add-memory', ['views/modal'], function (ModalView) { +define('modules/smart-assistant/views/case/modals/add-memory', ['views/modal'], function (ModalView) { return ModalView.extend({ diff --git a/files/client/custom/src/modules/smart-assistant/views/dashlets/options/smart-assistant.js b/files/client/custom/modules/smart-assistant/src/views/dashlets/options/smart-assistant.js similarity index 80% rename from files/client/custom/src/modules/smart-assistant/views/dashlets/options/smart-assistant.js rename to files/client/custom/modules/smart-assistant/src/views/dashlets/options/smart-assistant.js index 1964b7e..5b432ad 100644 --- a/files/client/custom/src/modules/smart-assistant/views/dashlets/options/smart-assistant.js +++ b/files/client/custom/modules/smart-assistant/src/views/dashlets/options/smart-assistant.js @@ -1,4 +1,4 @@ -define('custom:modules/smart-assistant/views/dashlets/options/smart-assistant', ['views/dashlets/options/base'], function (BaseView) { +define('modules/smart-assistant/views/dashlets/options/smart-assistant', ['views/dashlets/options/base'], function (BaseView) { return BaseView.extend({ diff --git a/files/client/custom/src/modules/smart-assistant/views/dashlets/smart-assistant.js b/files/client/custom/modules/smart-assistant/src/views/dashlets/smart-assistant.js similarity index 97% rename from files/client/custom/src/modules/smart-assistant/views/dashlets/smart-assistant.js rename to files/client/custom/modules/smart-assistant/src/views/dashlets/smart-assistant.js index 70e75d8..fd29790 100644 --- a/files/client/custom/src/modules/smart-assistant/views/dashlets/smart-assistant.js +++ b/files/client/custom/modules/smart-assistant/src/views/dashlets/smart-assistant.js @@ -1,4 +1,4 @@ -define('custom:modules/smart-assistant/views/dashlets/smart-assistant', ['view'], function (View) { +define('modules/smart-assistant/views/dashlets/smart-assistant', ['view'], function (View) { return View.extend({ diff --git a/files/client/custom/src/modules/smart-assistant/views/floating-chat.js b/files/client/custom/modules/smart-assistant/src/views/floating-chat.js similarity index 99% rename from files/client/custom/src/modules/smart-assistant/views/floating-chat.js rename to files/client/custom/modules/smart-assistant/src/views/floating-chat.js index 2eec8e0..e6219dd 100644 --- a/files/client/custom/src/modules/smart-assistant/views/floating-chat.js +++ b/files/client/custom/modules/smart-assistant/src/views/floating-chat.js @@ -1,4 +1,4 @@ -define('custom:modules/smart-assistant/views/floating-chat', ['view'], function (View) { +define('modules/smart-assistant/views/floating-chat', ['view'], function (View) { return View.extend({ @@ -562,7 +562,7 @@ define('custom:modules/smart-assistant/views/floating-chat', ['view'], function if (!this.currentCaseId) return; var self = this; - this.createView('addMemoryModal', 'custom:modules/smart-assistant/views/case/modals/add-memory', { + this.createView('addMemoryModal', 'modules/smart-assistant/views/case/modals/add-memory', { caseId: this.currentCaseId, }, function (view) { view.render(); diff --git a/files/client/custom/src/modules/smart-assistant/views/site/navbar.js b/files/client/custom/modules/smart-assistant/src/views/site/navbar.js similarity index 81% rename from files/client/custom/src/modules/smart-assistant/views/site/navbar.js rename to files/client/custom/modules/smart-assistant/src/views/site/navbar.js index e937c53..895ae12 100644 --- a/files/client/custom/src/modules/smart-assistant/views/site/navbar.js +++ b/files/client/custom/modules/smart-assistant/src/views/site/navbar.js @@ -1,4 +1,4 @@ -define('custom:modules/smart-assistant/views/site/navbar', ['views/site/navbar'], function (NavbarView) { +define('modules/smart-assistant/views/site/navbar', ['views/site/navbar'], function (NavbarView) { return NavbarView.extend({ @@ -17,7 +17,7 @@ define('custom:modules/smart-assistant/views/site/navbar', ['views/site/navbar'] $('body').append($container); } - this.createView('floatingChat', 'custom:modules/smart-assistant/views/floating-chat', { + this.createView('floatingChat', 'modules/smart-assistant/views/floating-chat', { el: '.smart-assistant-fab-container', }, function (view) { view.render(); diff --git a/files/client/custom/src/modules/smart-assistant/views/stream/notes/smart-action.js b/files/client/custom/modules/smart-assistant/src/views/stream/notes/smart-action.js similarity index 92% rename from files/client/custom/src/modules/smart-assistant/views/stream/notes/smart-action.js rename to files/client/custom/modules/smart-assistant/src/views/stream/notes/smart-action.js index ab671fd..67c9669 100644 --- a/files/client/custom/src/modules/smart-assistant/views/stream/notes/smart-action.js +++ b/files/client/custom/modules/smart-assistant/src/views/stream/notes/smart-action.js @@ -1,4 +1,4 @@ -define('custom:modules/smart-assistant/views/stream/notes/smart-action', ['views/stream/note'], function (NoteView) { +define('modules/smart-assistant/views/stream/notes/smart-action', ['views/stream/note'], function (NoteView) { return NoteView.extend({ diff --git a/files/client/custom/src/modules/smart-assistant/views/stream/notes/smart-request.js b/files/client/custom/modules/smart-assistant/src/views/stream/notes/smart-request.js similarity index 78% rename from files/client/custom/src/modules/smart-assistant/views/stream/notes/smart-request.js rename to files/client/custom/modules/smart-assistant/src/views/stream/notes/smart-request.js index 72bbd76..09319c9 100644 --- a/files/client/custom/src/modules/smart-assistant/views/stream/notes/smart-request.js +++ b/files/client/custom/modules/smart-assistant/src/views/stream/notes/smart-request.js @@ -1,4 +1,4 @@ -define('custom:modules/smart-assistant/views/stream/notes/smart-request', ['views/stream/note'], function (NoteView) { +define('modules/smart-assistant/views/stream/notes/smart-request', ['views/stream/note'], function (NoteView) { return NoteView.extend({ diff --git a/files/client/custom/src/modules/smart-assistant/views/stream/notes/smart-response.js b/files/client/custom/modules/smart-assistant/src/views/stream/notes/smart-response.js similarity index 90% rename from files/client/custom/src/modules/smart-assistant/views/stream/notes/smart-response.js rename to files/client/custom/modules/smart-assistant/src/views/stream/notes/smart-response.js index 005da1a..26f41b4 100644 --- a/files/client/custom/src/modules/smart-assistant/views/stream/notes/smart-response.js +++ b/files/client/custom/modules/smart-assistant/src/views/stream/notes/smart-response.js @@ -1,4 +1,4 @@ -define('custom:modules/smart-assistant/views/stream/notes/smart-response', ['views/stream/note'], function (NoteView) { +define('modules/smart-assistant/views/stream/notes/smart-response', ['views/stream/note'], function (NoteView) { return NoteView.extend({ diff --git a/files/custom/Espo/Modules/SmartAssistant/Resources/metadata/clientDefs/App.json b/files/custom/Espo/Modules/SmartAssistant/Resources/metadata/clientDefs/App.json index b9f3929..02b2cc4 100644 --- a/files/custom/Espo/Modules/SmartAssistant/Resources/metadata/clientDefs/App.json +++ b/files/custom/Espo/Modules/SmartAssistant/Resources/metadata/clientDefs/App.json @@ -1,3 +1,3 @@ { - "navbarView": "custom:modules/smart-assistant/views/site/navbar" + "navbarView": "modules/smart-assistant/views/site/navbar" } diff --git a/files/custom/Espo/Modules/SmartAssistant/Resources/metadata/dashlets/SmartAssistant.json b/files/custom/Espo/Modules/SmartAssistant/Resources/metadata/dashlets/SmartAssistant.json index 6585296..d3fa3e4 100644 --- a/files/custom/Espo/Modules/SmartAssistant/Resources/metadata/dashlets/SmartAssistant.json +++ b/files/custom/Espo/Modules/SmartAssistant/Resources/metadata/dashlets/SmartAssistant.json @@ -1,5 +1,5 @@ { - "view": "custom:modules/smart-assistant/views/dashlets/smart-assistant", - "optionsView": "custom:modules/smart-assistant/views/dashlets/options/smart-assistant", + "view": "modules/smart-assistant/views/dashlets/smart-assistant", + "optionsView": "modules/smart-assistant/views/dashlets/options/smart-assistant", "aclScope": "Case" }