@burh/nuxt-core 1.1.15 → 1.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,6 +10,8 @@
10
10
  />
11
11
  </div>
12
12
 
13
+ <slot name="compatibilityTag" />
14
+
13
15
  <h5
14
16
  class="mb-0 text-wrap"
15
17
  v-html="
@@ -494,6 +496,10 @@ export default {
494
496
  }
495
497
 
496
498
  .profile {
499
+ display: flex;
500
+ flex-direction: column;
501
+ align-items: center;
502
+
497
503
  .avatar {
498
504
  width: initial!important;
499
505
  height: initial!important;
@@ -5,14 +5,25 @@
5
5
  class="mt-3 handle-icon-color"
6
6
  v-model="activeTab"
7
7
  >
8
- <el-tab-pane v-if="companyHasAutomation && hasAutomation" name="melissa" class="mx-2">
8
+ <el-tab-pane
9
+ v-if="hasMatch || (companyHasAutomation && hasAutomation)"
10
+ name="melissa"
11
+ class="mx-2"
12
+ >
13
+
14
+ <div v-if="matchReason" class="match_reason">
15
+ <h1>🪄 Insight IA</h1>
16
+ <p>{{ matchReason }}</p>
17
+ </div>
18
+
9
19
  <span class="tab__icon-pane" slot="label">
10
20
  <img
11
21
  class="img__icon-pane"
12
22
  src="/img/recruitment/melissa.svg"
13
23
  />
14
24
  </span>
15
- <p class="notes-title mb-0 notes-melissa-title">
25
+
26
+ <p v-if="!matchReason" class="notes-title mb-0 notes-melissa-title">
16
27
  {{automation.aproved ?
17
28
  'Candidato aprovado pela Melissa' :
18
29
  'Candidato reprovado pela Melissa'}}
@@ -622,6 +633,14 @@ export default {
622
633
  type: Boolean,
623
634
  default: false
624
635
  },
636
+ hasMatch: {
637
+ type: Boolean,
638
+ default: false
639
+ },
640
+ matchReason: {
641
+ type: String,
642
+ default: ''
643
+ }
625
644
  },
626
645
  mounted() {
627
646
  this.companyHistory();
@@ -892,6 +911,12 @@ export default {
892
911
  activeTab() {
893
912
  let activeTab = this.activeName;
894
913
 
914
+ if(this.hasMatch){
915
+ activeTab = 'melissa';
916
+
917
+ return activeTab;
918
+ }
919
+
895
920
  if (this.jobId && this.companyHasAutomation && this.hasAutomation) {
896
921
  if (activeTab == 'history') {
897
922
  activeTab = 'melissa';
@@ -906,21 +931,45 @@ export default {
906
931
  }
907
932
  };
908
933
  </script>
934
+
909
935
  <style>
910
- .el-tabs__nav-wrap.is-top::after {
936
+ .el-tabs__nav-wrap.is-top::after {
911
937
  background: #fff !important;
912
938
  }
939
+
913
940
  .remove-baloon{
914
941
  cursor: pointer;
915
942
  }
916
- .el-tabs__active-bar.is-top {
917
- width: 30px !important;
918
- height: 4px !important;
919
- border-radius: 10px 10px 0px 0px;
920
- }
943
+
944
+ .el-tabs__active-bar.is-top {
945
+ width: 30px !important;
946
+ height: 4px !important;
947
+ border-radius: 10px 10px 0px 0px;
948
+ }
921
949
  </style>
922
950
 
923
951
  <style lang="scss">
952
+ .match_reason{
953
+ padding: 1.5rem;
954
+ background: #f4f7ff;
955
+ border-radius: 0.5rem;
956
+ margin-bottom: 1rem;
957
+
958
+ h1{
959
+ font-weight: 700;
960
+ font-size: 1rem;
961
+ margin-bottom: 1rem;
962
+ color: #5865F2;
963
+ }
964
+
965
+ p{
966
+ font-size: 0.875rem;
967
+ margin: 0;
968
+ word-break: keep-all !important;
969
+ text-align: justify;
970
+ }
971
+ }
972
+
924
973
  .swal2-title {
925
974
  font-size: 1rem !important;
926
975
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burh/nuxt-core",
3
- "version": "1.1.15",
3
+ "version": "1.1.17",
4
4
  "description": "Design System and Components.",
5
5
  "author": "Burh",
6
6
  "private": false,