@policystudio/policy-studio-ui-vue 1.0.78 → 1.0.79

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@policystudio/policy-studio-ui-vue",
3
- "version": "1.0.78",
3
+ "version": "1.0.79",
4
4
  "description": "Policy Studio UI",
5
5
  "main": "src/index.js",
6
6
  "author": "Policy Studio Team",
@@ -2,8 +2,8 @@
2
2
  <thead>
3
3
  <tr>
4
4
  <th>
5
- <div>
6
- <p class="title">Measures & Packages</p>
5
+ <div v-if="firstColumnTitle">
6
+ <p class="title">{{ firstColumnTitle }}</p>
7
7
  </div>
8
8
  </th>
9
9
 
@@ -29,7 +29,7 @@
29
29
  <tr>
30
30
  <th>
31
31
  <div>
32
- <p class="description">Select the measures you want to combine <br />to create your policy.</p>
32
+ <p v-if="firstColumnDescription" class="description">{{ firstColumnDescription }}</p>
33
33
  </div>
34
34
  </th>
35
35
 
@@ -75,6 +75,20 @@ export default {
75
75
  name: 'PsTableResultsHead',
76
76
  components: { PsIcon },
77
77
  props: {
78
+ /**
79
+ * It sets the title for the first column.
80
+ */
81
+ firstColumnTitle: {
82
+ type: String,
83
+ default: ''
84
+ },
85
+ /**
86
+ * It sets the description for the first column.
87
+ */
88
+ firstColumnDescription: {
89
+ type: String,
90
+ default: ''
91
+ },
78
92
  /**
79
93
  * It sets the values which will be use to render the header.
80
94
  */