cec-nuxt-lib 0.10.18 → 0.10.20
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/dist/module.json
CHANGED
|
@@ -52,7 +52,7 @@ const links = hrefs.map(
|
|
|
52
52
|
<li class="breadcrumb-item" v-for="(l, i) in links" :key="i">
|
|
53
53
|
<!-- Node we are on -->
|
|
54
54
|
<span v-if="i === links.length - 1">{{
|
|
55
|
-
links.includes("Parties") ? toTitleCase(l) : l
|
|
55
|
+
links.includes("Parties") ? toTitleCase(decodeURIComponent(l)) : decodeURIComponent(l)
|
|
56
56
|
}}</span>
|
|
57
57
|
<!-- Nuxt links -->
|
|
58
58
|
<template v-else-if="i + 1 >= length">
|
|
@@ -134,13 +134,13 @@ const centralColumn = (props2) => {
|
|
|
134
134
|
let item = props2.block?.value;
|
|
135
135
|
if (item.column.length === 1) {
|
|
136
136
|
return `
|
|
137
|
-
<div class="row">
|
|
137
|
+
<div class="row g-0">
|
|
138
138
|
<div class="col-lg-8 col-md-10 mx-auto mt-3 mb-4">${item.column[0]}</div>
|
|
139
139
|
</div>
|
|
140
140
|
`;
|
|
141
141
|
} else if (item.column.length === 2) {
|
|
142
142
|
return `
|
|
143
|
-
<div class="row">
|
|
143
|
+
<div class="row g-0">
|
|
144
144
|
<div class="col-12 col-lg-6 mb-lg-4">
|
|
145
145
|
${item.column[0]}
|
|
146
146
|
</div>
|
|
@@ -168,7 +168,7 @@ const centralColumn = (props2) => {
|
|
|
168
168
|
const centralPromotionalSection = (props2) => {
|
|
169
169
|
let item = props2.block?.value;
|
|
170
170
|
return `
|
|
171
|
-
<div class="row">
|
|
171
|
+
<div class="row g-0">
|
|
172
172
|
<div class="py-5 bg-cec-central-promo-section">
|
|
173
173
|
<div class="cec-meta-outer px-4">
|
|
174
174
|
<div class="cec-meta-content col-lg-8 col-md-12 px-3 py-4 px-md-5">
|
|
@@ -289,7 +289,7 @@ const horizontalTable = (props2) => {
|
|
|
289
289
|
let cols = r.columns.reduce((acc1, c) => {
|
|
290
290
|
return acc1 + `<td>${c}</td>`;
|
|
291
291
|
}, "");
|
|
292
|
-
return `${acc}<tr><th scope="row">${r.headerCell}</th>${cols}</tr>`;
|
|
292
|
+
return `${acc}<tr><th scope="row g-0">${r.headerCell}</th>${cols}</tr>`;
|
|
293
293
|
}, "");
|
|
294
294
|
return `
|
|
295
295
|
<div class="table-responsive">
|
|
@@ -362,7 +362,7 @@ const makeQuestions = (data, id) => {
|
|
|
362
362
|
let inner = data.question[0].select ? `
|
|
363
363
|
<div id="${id}_buttons">${data.question[0].select}</div>
|
|
364
364
|
` : `
|
|
365
|
-
<div class="row row-cols-auto btns-div" id="${id}_buttons">
|
|
365
|
+
<div class="row g-0 row-cols-auto btns-div" id="${id}_buttons">
|
|
366
366
|
${data.question[0].buttons}
|
|
367
367
|
</div>`;
|
|
368
368
|
return `
|
package/package.json
CHANGED