Skip to content

Commit

Permalink
v4.0.0 examples section update
Browse files Browse the repository at this point in the history
  • Loading branch information
dragos-eu committed Oct 1, 2024
1 parent 4f31db8 commit 6ef7b4d
Show file tree
Hide file tree
Showing 13 changed files with 3,141 additions and 3,513 deletions.
86 changes: 43 additions & 43 deletions ESPD/examples/espd.json
Original file line number Diff line number Diff line change
Expand Up @@ -226,60 +226,60 @@
"C": []
},
"partII": {
"A": ["CC65", "CC57", "CC58", "CC59"],
"A": ["C65", "C57", "C58", "C59"],
"B": [],
"C": ["CC60"],
"D": ["CC61"]
"C": ["C60"],
"D": ["C61"]
},
"partIII": {
"A": ["CC1", "CC2", "CC3", "CC4", "CC5", "CC6"],
"B": ["CC7", "CC8"],
"A": ["C1", "C2", "C3", "C4", "C5", "C6"],
"B": ["C7", "C8"],
"C": [
"CC9",
"CC10",
"CC11",
"CC12",
"CC13",
"CC14",
"CC15",
"CC16",
"CC17",
"CC18",
"CC19",
"CC20",
"CC21",
"CC22",
"CC23"
"C9",
"C10",
"C11",
"C12",
"C13",
"C14",
"C15",
"C16",
"C17",
"C18",
"C19",
"C20",
"C21",
"C22",
"C23"
],
"D": ["CC24"]
"D": ["C24"]
},
"partIV": {
"A": ["CC25", "CC26", "CC27", "CC28"],
"B": ["CC29", "CC30", "CC31", "CC32", "CC34", "CC35", "CC36"],
"A": ["C25", "C26", "C27", "C28"],
"B": ["C29", "C30", "C31", "C32", "C34", "C35", "C36"],
"C": [
"CC37",
"CC38",
"CC39",
"CC40",
"CC41",
"CC42",
"CC43",
"CC44",
"CC45",
"CC46",
"CC47",
"CC48",
"CC49",
"CC50",
"CC51",
"CC52",
"CC53",
"CC54"
"C37",
"C38",
"C39",
"C40",
"C41",
"C42",
"C43",
"C44",
"C45",
"C46",
"C47",
"C48",
"C49",
"C50",
"C51",
"C52",
"C53",
"C54"
],
"D": ["CC55", "CC56"]
"D": ["C55", "C56"]
},
"partV": {
"A": ["CC63"]
"A": ["C63"]
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions ESPD/examples/exclusionGrounds.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Vue.component('exclusionGrounds', {
</b-card-header>
<b-collapse id="accordion-e1" accordion="my-accordion" role="tabpanel">
<b-card-body v-for="item in espd_structure['partIII']['A']">
<component v-bind:is="item"></component>
<component v-bind:is="item" :ref="item"></component>
</b-card-body>
</b-collapse>
</b-card>
Expand All @@ -57,7 +57,7 @@ Vue.component('exclusionGrounds', {
</b-card-header>
<b-collapse id="accordion-e2" accordion="my-accordion" role="tabpanel">
<b-card-body v-for="item in espd_structure['partIII']['B']">
<component v-bind:is="item"></component>
<component v-bind:is="item" :ref="item"></component>
</b-card-body>
</b-collapse>
</b-card>
Expand All @@ -68,7 +68,7 @@ Vue.component('exclusionGrounds', {
</b-card-header>
<b-collapse id="accordion-e3" accordion="my-accordion" role="tabpanel">
<b-card-body v-for="item in espd_structure['partIII']['C']">
<component v-bind:is="item"></component>
<component v-bind:is="item" :ref="item"></component>
</b-card-body>
</b-collapse>
</b-card>
Expand All @@ -79,7 +79,7 @@ Vue.component('exclusionGrounds', {
</b-card-header>
<b-collapse id="accordion-e4" accordion="my-accordion" role="tabpanel">
<b-card-body v-for="item in espd_structure['partIII']['D']">
<component v-bind:is="item"></component>
<component v-bind:is="item" :ref="item"></component>
</b-card-body>
</b-collapse>
</b-card>
Expand Down
6 changes: 3 additions & 3 deletions ESPD/examples/procedureComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ Vue.component('procedureComponent', {
</b-card-body>
<b-card-body v-for="item in espd_structure['partII']['A']">
<component v-bind:is="item"></component>
<component v-bind:is="item" :ref="item"></component>
</b-card-body>
</b-collapse>
Expand Down Expand Up @@ -350,7 +350,7 @@ Vue.component('procedureComponent', {
</b-card-header>
<b-collapse id="accordion-p6" accordion="my-accordion" role="tabpanel">
<b-card-body v-for="item in espd_structure['partII']['C']">
<component v-bind:is="item"></component>
<component v-bind:is="item" :ref="item"></component>
</b-card-body>
</b-collapse>
</b-card>
Expand All @@ -361,7 +361,7 @@ Vue.component('procedureComponent', {
</b-card-header>
<b-collapse id="accordion-p7" accordion="my-accordion" role="tabpanel">
<b-card-body v-for="item in espd_structure['partII']['D']">
<component v-bind:is="item"></component>
<component v-bind:is="item" :ref="item"></component>
</b-card-body>
</b-collapse>
</b-card>
Expand Down
8 changes: 4 additions & 4 deletions ESPD/examples/selectionCriteria.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Vue.component('selectionCriteria', {
</b-card-header>
<b-collapse id="accordion-s1" accordion="my-accordion" role="tabpanel">
<b-card-body v-for="item in espd_structure['partIV']['A']">
<component v-bind:is="item"></component>
<component v-bind:is="item" :ref="item"></component>
</b-card-body>
</b-collapse>
</b-card>
Expand All @@ -70,7 +70,7 @@ Vue.component('selectionCriteria', {
</b-card-header>
<b-collapse id="accordion-s2" accordion="my-accordion" role="tabpanel">
<b-card-body v-for="item in espd_structure['partIV']['B']">
<component v-bind:is="item"></component>
<component v-bind:is="item" :ref="item"></component>
</b-card-body>
</b-collapse>
</b-card>
Expand All @@ -81,7 +81,7 @@ Vue.component('selectionCriteria', {
</b-card-header>
<b-collapse id="accordion-s3" accordion="my-accordion" role="tabpanel">
<b-card-body v-for="item in espd_structure['partIV']['C']">
<component v-bind:is="item"></component>
<component v-bind:is="item" :ref="item"></component>
</b-card-body>
</b-collapse>
</b-card>
Expand All @@ -92,7 +92,7 @@ Vue.component('selectionCriteria', {
</b-card-header>
<b-collapse id="accordion-s4" accordion="my-accordion" role="tabpanel">
<b-card-body v-for="item in espd_structure['partIV']['D']">
<component v-bind:is="item"></component>
<component v-bind:is="item" :ref="item"></component>
</b-card-body>
</b-collapse>
</b-card>
Expand Down
1 change: 1 addition & 0 deletions ESPD/examples/startComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ Vue.component("startComponent", {
data = await thecall.json()
if (thecall.ok) {
window.espd_model = data
window.espd_data = {}
}
}
} catch (error) {
Expand Down
Loading

0 comments on commit 6ef7b4d

Please sign in to comment.