@worksafevictoria/wcl7.5 1.8.0-beta.1 → 1.8.0-beta.10

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/lib/utility.js CHANGED
@@ -35,6 +35,8 @@ function isGovSite(url) {
35
35
  }
36
36
 
37
37
  function navigateToPath(path, newTab, nuxtRouter) {
38
+ debugger
39
+
38
40
  const url = String(path).startsWith('www.') ? `http://${path}` : path
39
41
  const isAbsolute = isAbsoluteUrl(url)
40
42
  const router = nuxtRouter ? nuxtRouter : this.$router
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worksafevictoria/wcl7.5",
3
- "version": "1.8.0-beta.1",
3
+ "version": "1.8.0-beta.10",
4
4
  "main": "src/index.js",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -227,6 +227,7 @@ export default {
227
227
  },
228
228
  methods: {
229
229
  cardTitleSelected(selectedCard, ev) {
230
+ debugger;
230
231
  this.clearCards();
231
232
  selectedCard.selected = !!!selectedCard.selected;
232
233
  const selectedCardModelIndex = this.getChildIndex(selectedCard);
@@ -239,6 +240,7 @@ export default {
239
240
  },
240
241
  cardSelected(selectedCard, ev) {
241
242
  debugger;
243
+ console.log("cardSelected selectedCard :- ", selectedCard);
242
244
  this.clearCards();
243
245
  selectedCard.selected = !!!selectedCard.selected;
244
246
  const selectedCardModelIndex = this.getChildIndex(selectedCard);
@@ -117,8 +117,10 @@
117
117
  </card-grid-item-icon>
118
118
  <span v-if="pillText" class="visually-hidden">{{ pillText }}</span>
119
119
  </div>
120
+ <span class="d-none">Description :- {{ description }}</span>
121
+ <span class="d-none">stripDescriptionHtml :- {{ stripDescriptionHtml }}</span>
120
122
  <b-card-text
121
- v-if="$slots.cardDescription || description"
123
+ v-if="$slots.cardDescription || description || stripDescriptionHtml"
122
124
  tag="div"
123
125
  class="card-grid-item__body"
124
126
  :class="{
@@ -126,7 +128,6 @@
126
128
  }"
127
129
  >
128
130
  <div
129
- v-if="$slots.cardDescription || description"
130
131
  class="card-grid-item__description"
131
132
  :class="{
132
133
  [descriptionClass]: !!descriptionClass,
@@ -403,7 +404,7 @@ export default {
403
404
  methods: {
404
405
  cardClicked(ev) {
405
406
  debugger;
406
- console.log("cardClicked this.isSelectable :- ", this.isSelectable);
407
+
407
408
  if (this.isSelectable) {
408
409
  this.parentGrid.cardSelected(this, ev);
409
410
  }