diff --git a/package-lock.json b/package-lock.json
index a673d6128..ea34e5319 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -11,6 +11,21 @@
"regenerator-runtime": "^0.13.2"
}
},
+ "@fortawesome/fontawesome": {
+ "version": "1.1.8",
+ "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome/-/fontawesome-1.1.8.tgz",
+ "integrity": "sha512-c0/MtkPVT0fmiFcCyYoPjkG9PkMOvfrZw2+0BaJ+Rh6UEcK1AR/LaRgrHHjUkbAbs9LXxQJhFS8CJ4uSnK2+JA==",
+ "requires": {
+ "@fortawesome/fontawesome-common-types": "^0.1.7"
+ },
+ "dependencies": {
+ "@fortawesome/fontawesome-common-types": {
+ "version": "0.1.7",
+ "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-0.1.7.tgz",
+ "integrity": "sha512-ego8jRVSHfq/iq4KRZJKQeUAdi3ZjGNrqw4oPN3fNdvTBnLCSntwVCnc37bsAJP9UB8MhrTfPnZYxkv2vpS4pg=="
+ }
+ }
+ },
"@fortawesome/fontawesome-common-types": {
"version": "0.2.35",
"resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-0.2.35.tgz",
diff --git a/package.json b/package.json
index e212a1f75..e9f5bf693 100644
--- a/package.json
+++ b/package.json
@@ -20,6 +20,7 @@
"vue-template-compiler": "^2.6.10"
},
"dependencies": {
+ "@fortawesome/fontawesome": "^1.1.8",
"@rightbraintechbd/vue-awesome-icon-picker": "^1.1.0",
"axios": "^0.15.3",
"bootstrap": "^4.5.3",
diff --git a/resources/assets/js/admin/settings/customCaseList/CaseListSketch.vue b/resources/assets/js/admin/settings/customCaseList/CaseListSketch.vue
index 26999e531..6314c5175 100644
--- a/resources/assets/js/admin/settings/customCaseList/CaseListSketch.vue
+++ b/resources/assets/js/admin/settings/customCaseList/CaseListSketch.vue
@@ -91,7 +91,7 @@
label="Icon "
label-for="icon"
>
-
+
-
+
@@ -156,7 +156,6 @@ export default {
return {
icon: "fas fa-user-cog",
isLoading: false,
- menuColor:"#4287f5",
pmTablesOptions: [],
columns: ['name', 'code', 'uri'],
data: utils.getData(),
@@ -179,7 +178,7 @@ export default {
methods: {
onSelectIcon(data){
console.log (data);
-
+ // this.params.iconList = data;
},
onChangeColor(color){
console.log(color);
diff --git a/resources/assets/js/admin/settings/customCaseList/Tables.vue b/resources/assets/js/admin/settings/customCaseList/Tables.vue
index 3da9f4b1c..6490c6138 100644
--- a/resources/assets/js/admin/settings/customCaseList/Tables.vue
+++ b/resources/assets/js/admin/settings/customCaseList/Tables.vue
@@ -59,8 +59,8 @@ export default {
name: "Rocko",
description: "algo te texto",
tableUid: "1234",
- iconList: '',
- iconColor: '',
+ iconList: 'far fa-calendar-alt',
+ iconColor: '#4287f5',
iconColorScreen:'',
type: this.module
diff --git a/resources/assets/js/admin/settings/customCaseList/main.js b/resources/assets/js/admin/settings/customCaseList/main.js
index 74038fec3..f37865be3 100644
--- a/resources/assets/js/admin/settings/customCaseList/main.js
+++ b/resources/assets/js/admin/settings/customCaseList/main.js
@@ -2,25 +2,25 @@ import Vue from "vue";
import VueRouter from "vue-router";
import VueSidebarMenu from "vue-sidebar-menu";
import VueI18n from 'vue-i18n';
-import { BootstrapVue, BootstrapVueIcons } from 'bootstrap-vue';
+import { BootstrapVue } from 'bootstrap-vue';
import { ServerTable, Event, ClientTable} from 'vue-tables-2';
import Sortable from 'sortablejs';
import "@fortawesome/fontawesome-free/css/all.css";
-import "@fortawesome/fontawesome-free/js/all.js";
import 'bootstrap/dist/css/bootstrap-grid.css';
import 'bootstrap/dist/css/bootstrap.min.css'
import 'bootstrap-vue/dist/bootstrap-vue.css'
import CustomCaseList from "./CustomCaseList";
-
import Verte from 'verte';
import 'verte/dist/verte.css';
+import fontawesome from '@fortawesome/fontawesome'
+
+fontawesome.config = { autoReplaceSvg: false }
// register component globally
Vue.component('verte', Verte);
-Vue.use(VueRouter);
+Vue.use(VueRouter);
Vue.use(VueSidebarMenu);
Vue.use(BootstrapVue);
Vue.use(VueI18n);
-Vue.use(BootstrapVueIcons)
Vue.use(ServerTable, {}, false, 'bootstrap3', {});
Vue.use(ClientTable, {}, false, 'bootstrap3', {});
window.ProcessMaker = {
diff --git a/resources/assets/js/components/iconPicker/IconPicker.vue b/resources/assets/js/components/iconPicker/IconPicker.vue
index e77ae6fbd..1ec57175f 100644
--- a/resources/assets/js/components/iconPicker/IconPicker.vue
+++ b/resources/assets/js/components/iconPicker/IconPicker.vue
@@ -1,210 +1,239 @@
-
-