Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ on:
push:
branches:
- dev
- maquette
- maquette2
- master
pull_request:
branches:
- dev
- maquette
- maquette2
- master

jobs:
build:
Expand All @@ -17,7 +19,6 @@ jobs:
matrix:
node-version:
- 22
- 23
- 24
steps:
- uses: actions/checkout@v6
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ on:
push:
branches:
- dev
- maquette
- maquette2
- master
pull_request:
branches:
- dev
- maquette
- maquette2
- master

jobs:
eslint:
Expand All @@ -17,7 +19,6 @@ jobs:
matrix:
node-version:
- 22
- 23
- 24
steps:
- uses: actions/checkout@v6
Expand Down
2 changes: 1 addition & 1 deletion src/components/CollectionCardWithToc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
:class="displayMode !== 'toc' ? `${displayMode}-mode` : 'toc-mode'"
>
<div
v-for="(item, index) in paginated"
v-for="item in paginated"
:key="item.identifier"
class="document-card collection-card-with-toc-component"
>
Expand Down Expand Up @@ -171,7 +171,7 @@
isDocProjectIdIncluded: {
type: Boolean,
required: true
},

Check warning on line 174 in src/components/CollectionCardWithToc.vue

View workflow job for this annotation

GitHub Actions / eslint (24)

Prop 'displayOption' requires default value to be set

Check warning on line 174 in src/components/CollectionCardWithToc.vue

View workflow job for this annotation

GitHub Actions / eslint (22)

Prop 'displayOption' requires default value to be set
displayOption: {
type: String,
required: false
Expand All @@ -183,26 +183,26 @@
rootCollectionIdentifier: {
type: String,
required: true
},

Check warning on line 186 in src/components/CollectionCardWithToc.vue

View workflow job for this annotation

GitHub Actions / eslint (24)

Prop 'applicationConfig' requires default value to be set

Check warning on line 186 in src/components/CollectionCardWithToc.vue

View workflow job for this annotation

GitHub Actions / eslint (22)

Prop 'applicationConfig' requires default value to be set
applicationConfig: {
type: Object
},

Check warning on line 189 in src/components/CollectionCardWithToc.vue

View workflow job for this annotation

GitHub Actions / eslint (24)

Prop 'collectionConfig' requires default value to be set

Check warning on line 189 in src/components/CollectionCardWithToc.vue

View workflow job for this annotation

GitHub Actions / eslint (22)

Prop 'collectionConfig' requires default value to be set
collectionConfig: {
type: Object
},

Check warning on line 192 in src/components/CollectionCardWithToc.vue

View workflow job for this annotation

GitHub Actions / eslint (24)

Prop 'currentCollection' requires default value to be set

Check warning on line 192 in src/components/CollectionCardWithToc.vue

View workflow job for this annotation

GitHub Actions / eslint (22)

Prop 'currentCollection' requires default value to be set
currentCollection: {
type: Object
},

Check warning on line 195 in src/components/CollectionCardWithToc.vue

View workflow job for this annotation

GitHub Actions / eslint (24)

Prop "toc" should be optional

Check warning on line 195 in src/components/CollectionCardWithToc.vue

View workflow job for this annotation

GitHub Actions / eslint (22)

Prop "toc" should be optional
toc: {
required: true,
default: () => [],
type: Array
},

Check warning on line 200 in src/components/CollectionCardWithToc.vue

View workflow job for this annotation

GitHub Actions / eslint (24)

Prop "margin" should be optional

Check warning on line 200 in src/components/CollectionCardWithToc.vue

View workflow job for this annotation

GitHub Actions / eslint (22)

Prop "margin" should be optional
margin: {
required: true,
default: 0,
type: Number
},

Check warning on line 205 in src/components/CollectionCardWithToc.vue

View workflow job for this annotation

GitHub Actions / eslint (24)

Prop 'level' requires default value to be set

Check warning on line 205 in src/components/CollectionCardWithToc.vue

View workflow job for this annotation

GitHub Actions / eslint (22)

Prop 'level' requires default value to be set
level: {
required: false,
type: Number
Expand Down
4 changes: 2 additions & 2 deletions src/components/CollectionTOC.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
:class="displayMode !== 'toc' ? `${displayMode}-mode` : 'toc-mode'"
>
<div
v-for="(item, index) in paginated"
v-for="item in paginated"
:key="item.identifier"
class="document-card collection-toc-component"
>
Expand Down Expand Up @@ -175,7 +175,7 @@
<div v-if="expandedById[currCollection.identifier]">
<ul class="tree">
<template
v-for="(item, index) in componentTOC"
v-for="item in componentTOC"
:key="item.identifier"
>
<li
Expand Down
4 changes: 4 additions & 0 deletions src/components/Pagination.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@
<script setup>
import { ref, watch, computed } from 'vue'

defineOptions({
name: 'DotsPagination'
})

const props = defineProps({
modelValue: { type: Number, required: true },
totalPages: { type: Number, required: true },
Expand Down
Loading