@burh/nuxt-core 1.1.15 → 1.1.16

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="
@@ -5,7 +5,17 @@
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"
@@ -622,6 +632,14 @@ export default {
622
632
  type: Boolean,
623
633
  default: false
624
634
  },
635
+ hasMatch: {
636
+ type: Boolean,
637
+ default: false
638
+ },
639
+ matchReason: {
640
+ type: String,
641
+ default: ''
642
+ }
625
643
  },
626
644
  mounted() {
627
645
  this.companyHistory();
@@ -906,21 +924,43 @@ export default {
906
924
  }
907
925
  };
908
926
  </script>
927
+
909
928
  <style>
910
- .el-tabs__nav-wrap.is-top::after {
929
+ .el-tabs__nav-wrap.is-top::after {
911
930
  background: #fff !important;
912
931
  }
932
+
913
933
  .remove-baloon{
914
934
  cursor: pointer;
915
935
  }
916
- .el-tabs__active-bar.is-top {
917
- width: 30px !important;
918
- height: 4px !important;
919
- border-radius: 10px 10px 0px 0px;
920
- }
936
+
937
+ .el-tabs__active-bar.is-top {
938
+ width: 30px !important;
939
+ height: 4px !important;
940
+ border-radius: 10px 10px 0px 0px;
941
+ }
921
942
  </style>
922
943
 
923
944
  <style lang="scss">
945
+ .match_reason{
946
+ padding: 1.5rem;
947
+ background: #f4f7ff;
948
+ border-radius: 0.5rem;
949
+ margin-bottom: 1rem;
950
+
951
+ h1{
952
+ font-weight: 700;
953
+ font-size: 1rem;
954
+ margin-bottom: 1rem;
955
+ color: #5865F2;
956
+ }
957
+
958
+ p{
959
+ font-size: 0.875rem;
960
+ margin: 0;
961
+ }
962
+ }
963
+
924
964
  .swal2-title {
925
965
  font-size: 1rem !important;
926
966
  }
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.16",
4
4
  "description": "Design System and Components.",
5
5
  "author": "Burh",
6
6
  "private": false,