@tagplus/components 4.9.2 → 4.10.0

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.
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "email": "bruno@tagplus.com.br"
9
9
  }
10
10
  ],
11
- "version": "4.9.2",
11
+ "version": "4.10.0",
12
12
  "main": "./dist/tp.common.js",
13
13
  "directories": {
14
14
  "lib": "src/lib"
@@ -10,9 +10,12 @@
10
10
  placement="top"
11
11
  :manual="true"
12
12
  :value="tooltipVisible"
13
- :content="selectedLabel + ''"
14
13
  :tabindex="-1"
15
14
  >
15
+ <template #content>
16
+ <div v-html="tooltipContent || selectedLabel" />
17
+ </template>
18
+
16
19
  <!-- Div é importante para funcionar o tooltip -->
17
20
  <div />
18
21
  </el-tooltip>
@@ -274,6 +277,12 @@ export default {
274
277
  type: String,
275
278
  required: false,
276
279
  default: 'Cadastrar novo item'
280
+ },
281
+
282
+ tooltipContent: {
283
+ type: String,
284
+ required: false,
285
+ default: ''
277
286
  }
278
287
  },
279
288
 
@@ -697,7 +706,6 @@ export default {
697
706
  }
698
707
  }
699
708
  }
700
-
701
709
  input.el-input__inner {
702
710
  margin-right: 0px;
703
711
  }