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

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.80",
4
4
  "description": "Policy Studio UI",
5
5
  "main": "src/index.js",
6
6
  "author": "Policy Studio Team",
@@ -3,6 +3,7 @@
3
3
  <table
4
4
  ref="table"
5
5
  class="psui-el-table-results"
6
+ :style="{ maxHeight: tableMaxHeight }"
6
7
  >
7
8
  <slot name="header"></slot>
8
9
 
@@ -138,6 +139,13 @@ export default {
138
139
  name: 'PsTableResults',
139
140
  components: { PsProgressBar, PsIcon, PsRichTooltip },
140
141
  props: {
142
+ /**
143
+ * It sets the max-height to table.
144
+ */
145
+ tableMaxHeight: {
146
+ type: String,
147
+ default: '540px'
148
+ },
141
149
  /**
142
150
  * It sets if the lines should start collapsed.
143
151
  */
@@ -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
  */