henry-search 1.0.26 → 1.0.28
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/HenrySearch.css +1 -1
- package/dist/HenrySearch.js +1969 -1953
- package/dist/HenrySearch.umd.cjs +29 -29
- package/package.json +1 -1
- package/src/components/AudioLinks.vue +2 -2
- package/src/components/EventLinks.vue +37 -24
- package/src/components/Search.vue +2 -2
- package/src/components/SearchHistory.vue +11 -7
- package/src/components/SearchTab.vue +26 -30
- package/src/styles/atoms/audioLinks/index.scss +10 -0
- package/src/styles/atoms/breadCrumb/index.scss +7 -0
- package/src/styles/atoms/checkBoxes/index.scss +5 -2
- package/src/styles/atoms/eventLinks/index.scss +12 -10
- package/src/styles/molecules/accordion/index.scss +3 -0
- package/src/styles/molecules/dateRange/index.scss +3 -0
- package/src/styles/molecules/headerLinks/index.scss +26 -4
- package/src/styles/molecules/pagination/index.scss +14 -4
- package/src/styles/molecules/searchBox/index.scss +9 -6
- package/src/styles/organisms/performanceGrid/index.scss +4 -0
- package/src/styles/organisms/resultsGrid/index.scss +5 -4
- package/src/styles/templates/eventsSearch/index.scss +14 -0
- package/src/styles/templates/history/index.scss +20 -7
- package/src/styles/templates/performance/index.scss +2 -7
package/package.json
CHANGED
|
@@ -13,13 +13,13 @@ const props = defineProps({
|
|
|
13
13
|
<div class="audioLinks__box">
|
|
14
14
|
<div class="audioLinks__links">
|
|
15
15
|
<span class="audioLinks__label -first">Public</span>
|
|
16
|
-
<a href="https://forms.office.com/pages/responsepage.aspx?id=OdIW0TyQrUiHfXYXUGXf-OBndBFJDdZNtXXrOlwA-shUNVBBNjZNQkozSEw2SUs3SFU1Q1I2R1VQTCQlQCN0PWcu&fswReload=1&fswNavStart=1674745526953" target="_blank" class="audioLinks__link -first">Request Form<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
16
|
+
<a href="https://forms.office.com/pages/responsepage.aspx?id=OdIW0TyQrUiHfXYXUGXf-OBndBFJDdZNtXXrOlwA-shUNVBBNjZNQkozSEw2SUs3SFU1Q1I2R1VQTCQlQCN0PWcu&fswReload=1&fswNavStart=1674745526953" target="_blank" class="audioLinks__link -first">Request Form<svg class="audioLinks__arrow" width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
17
17
|
<path d="M2.82893 8.48571L8.48553 2.82911" stroke="#01ABE6" stroke-width="1.5"/>
|
|
18
18
|
<path d="M2.8288 2.82799L8.48553 2.82812L8.48566 8.48485" stroke="#01ABE6" stroke-width="1.5"/>
|
|
19
19
|
</svg>
|
|
20
20
|
</a>
|
|
21
21
|
<span class="audioLinks__label">BSO Staff</span>
|
|
22
|
-
<a :href="`https://bso.netx.net/app/#search/exact/${ props.audioId }-A`" target="_blank" class="audioLinks__link">Login<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
22
|
+
<a :href="`https://bso.netx.net/app/#search/exact/${ props.audioId }-A`" target="_blank" class="audioLinks__link">Login<svg class="audioLinks__arrow" width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
23
23
|
<path d="M2.82893 8.48571L8.48553 2.82911" stroke="#01ABE6" stroke-width="1.5"/>
|
|
24
24
|
<path d="M2.8288 2.82799L8.48553 2.82812L8.48566 8.48485" stroke="#01ABE6" stroke-width="1.5"/>
|
|
25
25
|
</svg>
|
|
@@ -24,6 +24,15 @@ const showAudioLinks = (event) => {
|
|
|
24
24
|
audioLinkBox.classList.toggle("-open")
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
const copyUrl = () => {
|
|
28
|
+
navigator.clipboard.writeText(window.location.href)
|
|
29
|
+
const htmlHolder = document.querySelector('#copy_link').innerHTML
|
|
30
|
+
document.querySelector('#copy_link').innerHTML = "URL Copied!"
|
|
31
|
+
setTimeout(() => {
|
|
32
|
+
document.querySelector('#copy_link').innerHTML = htmlHolder
|
|
33
|
+
}, 1000)
|
|
34
|
+
}
|
|
35
|
+
|
|
27
36
|
|
|
28
37
|
</script>
|
|
29
38
|
|
|
@@ -32,10 +41,10 @@ const showAudioLinks = (event) => {
|
|
|
32
41
|
<div class="headerLinks__media">
|
|
33
42
|
<template v-if="props.item.program_book_link">
|
|
34
43
|
<a :href="props.item.program_book_link" target="_blank">
|
|
35
|
-
<svg class="headerLinks__icon" width="24" height="24" viewBox="0 0 24 24"
|
|
36
|
-
<circle cx="12" cy="12" r="12"
|
|
37
|
-
<path d="M8.30469 16.0947L15.8468 8.55259" stroke
|
|
38
|
-
<path d="M8.30469 8.55127L15.847 8.55144L15.8472 16.0937" stroke
|
|
44
|
+
<svg class="headerLinks__icon" width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
45
|
+
<circle cx="12" cy="12" r="12" />
|
|
46
|
+
<path d="M8.30469 16.0947L15.8468 8.55259" stroke-width="2"/>
|
|
47
|
+
<path d="M8.30469 8.55127L15.847 8.55144L15.8472 16.0937" stroke-width="2"/>
|
|
39
48
|
</svg>
|
|
40
49
|
View Program Book
|
|
41
50
|
</a>
|
|
@@ -43,45 +52,49 @@ const showAudioLinks = (event) => {
|
|
|
43
52
|
<template v-if="props.item.media && props.item.media.includes('audio') && props.item.bso_audio_id">
|
|
44
53
|
<a @click="showAudioLinks">
|
|
45
54
|
<svg class="headerLinks__icon" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
46
|
-
<circle cx="12" cy="12" r="12"
|
|
47
|
-
<path d="M13.081 6.66675L9.23961 9.73985H6.1665V14.3495H9.23961L13.081 17.4226V6.66675Z" stroke
|
|
48
|
-
<path d="M16.5688 9.32495C17.289 10.0453 17.6936 11.0222 17.6936 12.0408C17.6936 13.0594 17.289 14.0363 16.5688 14.7567" stroke
|
|
55
|
+
<circle cx="12" cy="12" r="12"/>
|
|
56
|
+
<path d="M13.081 6.66675L9.23961 9.73985H6.1665V14.3495H9.23961L13.081 17.4226V6.66675Z" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
57
|
+
<path d="M16.5688 9.32495C17.289 10.0453 17.6936 11.0222 17.6936 12.0408C17.6936 13.0594 17.289 14.0363 16.5688 14.7567" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
49
58
|
</svg>
|
|
50
59
|
Access Audio</a>
|
|
51
60
|
<audio-links :audio-id="props.item.bso_audio_id" />
|
|
52
61
|
|
|
53
62
|
</template>
|
|
54
63
|
</div>
|
|
55
|
-
<a
|
|
64
|
+
<a @click="copyUrl()" id="copy_link">
|
|
56
65
|
<svg class="headerLinks__icon" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
57
|
-
<circle cx="12" cy="12" r="11.25"
|
|
58
|
-
<path d="M11.0835 12.6969C11.3142 13.0223 11.6086 13.2915 11.9466 13.4864C12.2846 13.6812 12.6584 13.797 13.0427 13.8261C13.4269 13.8551 13.8125 13.7966 14.1734 13.6546C14.5343 13.5126 14.862 13.2903 15.1343 13.0029L16.7461 11.3026C17.2354 10.7681 17.5062 10.0523 17.5 9.30925C17.4939 8.56622 17.2114 7.85545 16.7134 7.33002C16.2153 6.8046 15.5416 6.50656 14.8372 6.50011C14.1329 6.49365 13.4544 6.77929 12.9477 7.2955L12.0237 8.26469" stroke
|
|
59
|
-
<path d="M13.8333 11.3032C13.5696 10.9778 13.2332 10.7085 12.8469 10.5137C12.4606 10.3189 12.0334 10.203 11.5943 10.174C11.1552 10.145 10.7145 10.2034 10.302 10.3455C9.88955 10.4875 9.515 10.7097 9.20377 10.9971L7.36178 12.6975C6.80256 13.2319 6.49312 13.9478 6.50012 14.6908C6.50711 15.4338 6.82998 16.1446 7.39918 16.67C7.96838 17.1955 8.73837 17.4935 9.54331 17.5C10.3483 17.5064 11.1237 17.2208 11.7027 16.7046L12.7527 15.7354" stroke
|
|
66
|
+
<circle cx="12" cy="12" r="11.25" stroke-width="1.5"/>
|
|
67
|
+
<path d="M11.0835 12.6969C11.3142 13.0223 11.6086 13.2915 11.9466 13.4864C12.2846 13.6812 12.6584 13.797 13.0427 13.8261C13.4269 13.8551 13.8125 13.7966 14.1734 13.6546C14.5343 13.5126 14.862 13.2903 15.1343 13.0029L16.7461 11.3026C17.2354 10.7681 17.5062 10.0523 17.5 9.30925C17.4939 8.56622 17.2114 7.85545 16.7134 7.33002C16.2153 6.8046 15.5416 6.50656 14.8372 6.50011C14.1329 6.49365 13.4544 6.77929 12.9477 7.2955L12.0237 8.26469" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
68
|
+
<path d="M13.8333 11.3032C13.5696 10.9778 13.2332 10.7085 12.8469 10.5137C12.4606 10.3189 12.0334 10.203 11.5943 10.174C11.1552 10.145 10.7145 10.2034 10.302 10.3455C9.88955 10.4875 9.515 10.7097 9.20377 10.9971L7.36178 12.6975C6.80256 13.2319 6.49312 13.9478 6.50012 14.6908C6.50711 15.4338 6.82998 16.1446 7.39918 16.67C7.96838 17.1955 8.73837 17.4935 9.54331 17.5C10.3483 17.5064 11.1237 17.2208 11.7027 16.7046L12.7527 15.7354" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
60
69
|
</svg>
|
|
61
70
|
Copy URL
|
|
62
71
|
</a>
|
|
63
72
|
</template>
|
|
64
73
|
<template v-else>
|
|
65
74
|
<div :class="`eventLinks ${ props.extraClasses }`">
|
|
66
|
-
<
|
|
67
|
-
<
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
75
|
+
<a class="eventLinks__details" :href="`/details?performanceId=${props.item.id}`" :title="formatDate(item.performance_date) + ' Details'">
|
|
76
|
+
<svg class="eventLinks__icon" width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
77
|
+
<circle cx="9" cy="9" r="8.5" vector-effect="non-scaling-stroke"/>
|
|
78
|
+
<path d="M5 9H13" stroke-width="1.5" vector-effect="non-scaling-stroke"/>
|
|
79
|
+
<path d="M9 5L13 9L9 13" stroke-width="1.5" vector-effect="non-scaling-stroke"/>
|
|
80
|
+
</svg>
|
|
81
|
+
Details
|
|
82
|
+
</a>
|
|
72
83
|
</div>
|
|
73
84
|
<div v-if="props.item.program_book_link" :class="`eventLinks ${ props.extraClasses }`">
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
85
|
+
<a class="eventLinks__details" target="_blank" :href="props.item.program_book_link" :title="formatDate(item.performance_date) + ' Details'">
|
|
86
|
+
<svg class="eventLinks__icon" width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
87
|
+
<circle cx="9" cy="9" r="9" />
|
|
88
|
+
<path d="M6.22876 12.0714L11.8854 6.41475" stroke-width="1.5"/>
|
|
89
|
+
<path d="M6.22864 6.41376L11.8854 6.41388L11.8855 12.0706" stroke-width="1.5"/>
|
|
90
|
+
</svg>
|
|
79
91
|
|
|
80
|
-
|
|
92
|
+
Program
|
|
93
|
+
</a>
|
|
81
94
|
</div>
|
|
82
95
|
<div v-if="props.item.media && props.item.media.includes('audio') && props.item.bso_audio_id" :class="`eventLinks ${ props.extraClasses }`">
|
|
83
96
|
<button class="eventLinks__details" @click="showAudioLinks" :title="formatDate(item.performance_date) + ' Audio'">
|
|
84
|
-
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
97
|
+
<svg class="eventLinks__icon" width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
85
98
|
<circle cx="9" cy="9" r="9" />
|
|
86
99
|
<path d="M9.81086 5L6.92983 7.30483H4.625V10.7621H6.92983L9.81086 13.0669V5Z" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
87
100
|
<path d="M12.4268 6.99219C12.9669 7.53246 13.2703 8.26513 13.2703 9.02908C13.2703 9.79302 12.9669 10.5257 12.4268 11.066" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
{ facet: 'works.artists.role', value: item.artist_role },
|
|
378
378
|
{ facet: 'works.title', value: item.work_title }
|
|
379
379
|
])">
|
|
380
|
-
|
|
380
|
+
{{ item.num_performances }} Performances
|
|
381
381
|
|
|
382
382
|
</a>
|
|
383
383
|
</div>
|
|
@@ -436,7 +436,7 @@
|
|
|
436
436
|
<a :href="createURL([{ facet: 'works.composers', value: item.composers},
|
|
437
437
|
{ facet: 'works.title', value: item.title}
|
|
438
438
|
])">
|
|
439
|
-
|
|
439
|
+
{{ item.num_performances }} Performances
|
|
440
440
|
</a>
|
|
441
441
|
</div>
|
|
442
442
|
</template>
|
|
@@ -45,7 +45,7 @@ const filterHistory = (indexName) => {
|
|
|
45
45
|
<div v-if="searchHistory" class="history__grid">
|
|
46
46
|
<div class="history__performances" v-if="filterHistory(props.performanceIndex).length">
|
|
47
47
|
<template v-for="item, index in filterHistory(props.performanceIndex)">
|
|
48
|
-
<
|
|
48
|
+
<h2 v-if="index == 0">Performances</h2>
|
|
49
49
|
<div class="history__item" v-if="formatSearchTitle(item?.uiState[props.performanceIndex]).length">
|
|
50
50
|
<a :href="item.link">{{ formatSearchTitle(item?.uiState[props.performanceIndex]) }}</a><br/>
|
|
51
51
|
{{ formatDate((new Date(item.date)).getTime() / 1000, 'history', false) }}
|
|
@@ -53,9 +53,9 @@ const filterHistory = (indexName) => {
|
|
|
53
53
|
</template>
|
|
54
54
|
</div>
|
|
55
55
|
<div class="history__artists" v-if="filterHistory(props.artistIndex).length">
|
|
56
|
-
<template
|
|
57
|
-
<
|
|
58
|
-
<div v-if="formatSearchTitle(item?.uiState[props.artistIndex]).length">
|
|
56
|
+
<template v-for="item, index in filterHistory(props.artistIndex)">
|
|
57
|
+
<h2 v-if="index == 0">Artists</h2>
|
|
58
|
+
<div class="history__item" v-if="formatSearchTitle(item?.uiState[props.artistIndex]).length">
|
|
59
59
|
<a :href="item.link">{{ formatSearchTitle(item?.uiState[props.artistIndex]) }}</a><br/>
|
|
60
60
|
{{ formatDate((new Date(item.date)).getTime() / 1000, 'history', false) }}
|
|
61
61
|
</div>
|
|
@@ -63,7 +63,7 @@ const filterHistory = (indexName) => {
|
|
|
63
63
|
</div>
|
|
64
64
|
<div class="history__works" v-if="filterHistory(props.workIndex).length">
|
|
65
65
|
<template v-for="item, index in filterHistory(props.workIndex)">
|
|
66
|
-
<
|
|
66
|
+
<h2 v-if="index == 0">Works</h2>
|
|
67
67
|
<div class="history__item" v-if="formatSearchTitle(item?.uiState[props.workIndex]).length">
|
|
68
68
|
<a :href="item.link">{{ formatSearchTitle(item?.uiState[props.workIndex]) }}</a><br/>
|
|
69
69
|
{{ formatDate((new Date(item.date)).getTime() / 1000, 'history', false) }}
|
|
@@ -71,8 +71,12 @@ const filterHistory = (indexName) => {
|
|
|
71
71
|
</template>
|
|
72
72
|
</div>
|
|
73
73
|
</div>
|
|
74
|
-
<div v-else>
|
|
75
|
-
<
|
|
74
|
+
<div v-else class="history__grid">
|
|
75
|
+
<div class="history__noResults">
|
|
76
|
+
<h2>No Searches</h2>
|
|
77
|
+
<p>Your searches for performances, artists, and works will display on this page.</p>
|
|
78
|
+
</div>
|
|
79
|
+
|
|
76
80
|
</div>
|
|
77
81
|
|
|
78
82
|
</template>
|
|
@@ -485,16 +485,17 @@
|
|
|
485
485
|
<ais-search-box class="searchBox" >
|
|
486
486
|
<template v-slot="{ currentRefinement, isSearchStalled, refine }">
|
|
487
487
|
<label for="searchbox" class="label__hidden">{{ props.searchPlaceholder }}</label>
|
|
488
|
+
<button type="submit" title="Submit the search query" class="ais-SearchBox-submit"><svg aria-hidden="true" width="10" height="10" viewBox="0 0 40 40" class="ais-SearchBox-submitIcon"><path d="M26.804 29.01c-2.832 2.34-6.465 3.746-10.426 3.746C7.333 32.756 0 25.424 0 16.378 0 7.333 7.333 0 16.378 0c9.046 0 16.378 7.333 16.378 16.378 0 3.96-1.406 7.594-3.746 10.426l10.534 10.534c.607.607.61 1.59-.004 2.202-.61.61-1.597.61-2.202.004L26.804 29.01zm-10.426.627c7.323 0 13.26-5.936 13.26-13.26 0-7.32-5.937-13.257-13.26-13.257C9.056 3.12 3.12 9.056 3.12 16.378c0 7.323 5.936 13.26 13.258 13.26z"></path></svg>
|
|
489
|
+
</button>
|
|
488
490
|
<input
|
|
489
|
-
class="ais-SearchBox-input"
|
|
491
|
+
class="ais-SearchBox-input input"
|
|
490
492
|
id="searchbox"
|
|
491
493
|
type="search"
|
|
492
494
|
:value="currentRefinement"
|
|
493
495
|
@input="refine($event.currentTarget.value)"
|
|
494
496
|
:placeholder="props.searchPlaceholder"
|
|
495
497
|
>
|
|
496
|
-
|
|
497
|
-
</button>
|
|
498
|
+
|
|
498
499
|
<span :hidden="!isSearchStalled">Loading...</span>
|
|
499
500
|
</template>
|
|
500
501
|
</ais-search-box>
|
|
@@ -617,16 +618,12 @@
|
|
|
617
618
|
<div class="checkBoxes">
|
|
618
619
|
<span class="checkBoxes__alert" v-if="!items.length"><span class="checkBoxes__alertIcon">!</span>No matches found</span>
|
|
619
620
|
<label v-for="item in items" class="checkBoxes__boxLabel" :for="slugify(refinement.title + ' ' + item.value)">
|
|
620
|
-
<
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
@click="refine(item.value)" />
|
|
627
|
-
|
|
628
|
-
</div>
|
|
629
|
-
|
|
621
|
+
<input :class="`checkbox ${item.isRefined ? '-boxChecked' : ''}`"
|
|
622
|
+
type="checkbox"
|
|
623
|
+
:id="slugify(refinement.title + ' ' + item.value)"
|
|
624
|
+
:value="item.value"
|
|
625
|
+
:checked="item.isRefined"
|
|
626
|
+
@click="refine(item.value)" />
|
|
630
627
|
<label :for="slugify(refinement.title + ' ' + item.value)">{{ item.value }}</label><span class="eventsSearch__refinementCount">{{ item.count }}</span>
|
|
631
628
|
</label>
|
|
632
629
|
</div>
|
|
@@ -648,9 +645,9 @@
|
|
|
648
645
|
<summary class="accordion__summary">
|
|
649
646
|
<h6 :class="`accordion__heading ${ !(items.length || isFromSearch) ? '-gray' : ''}`">{{ refinement.title }}</h6>
|
|
650
647
|
<div class="accordion__iconWrapper" v-if="items.length">
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
648
|
+
<svg class="accordion__icon icon icon--chevron-right" aria-hidden="true" role="presentation" viewBox="0 0 18 18" fill="none">
|
|
649
|
+
<path d="M7 17L15 9L7 1" stroke="var(--icon-color, currentColor)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
650
|
+
</svg>
|
|
654
651
|
</div>
|
|
655
652
|
</summary>
|
|
656
653
|
<div class="accordion__content" v-if="items.length || isFromSearch">
|
|
@@ -674,9 +671,7 @@
|
|
|
674
671
|
<div class="checkBoxes">
|
|
675
672
|
<span class="checkBoxes__alert" v-if="!items.length"><span class="checkBoxes__alertIcon">!</span>No matches found</span>
|
|
676
673
|
<label v-for="item in items" class="checkBoxes__boxLabel" :for="slugify(refinement.title + ' ' + item.value)">
|
|
677
|
-
<
|
|
678
|
-
<input :class="`checkbox ${item.isRefined ? '-boxChecked' : ''}`" type="checkbox" :id="slugify(refinement.title + ' ' + item.value)" :value="item.value" :checked="item.isRefined" @click="refine(item.value)">
|
|
679
|
-
</div>
|
|
674
|
+
<input :class="`checkbox ${item.isRefined ? '-boxChecked' : ''}`" type="checkbox" :id="slugify(refinement.title + ' ' + item.value)" :value="item.value" :checked="item.isRefined" @click="refine(item.value)">
|
|
680
675
|
<label :for="slugify(refinement.title + ' ' + item.value)">{{ item.value }}</label><span class="eventsSearch__refinementCount">{{ item.count }}</span>
|
|
681
676
|
</label>
|
|
682
677
|
</div>
|
|
@@ -694,27 +689,27 @@
|
|
|
694
689
|
</div>
|
|
695
690
|
</summary>
|
|
696
691
|
<div class="accordion__content">
|
|
697
|
-
<ais-menu-select v-if="refinement.type == 'location'" :attribute="'location.country'" operator="and">
|
|
692
|
+
<ais-menu-select v-if="refinement.type == 'location'" :attribute="'location.country'" operator="and" limit="100" >
|
|
698
693
|
<template v-slot="{ items, refine }">
|
|
699
694
|
<select @change="refine($event.currentTarget.value)">
|
|
700
|
-
<option>Select Country</option>
|
|
701
|
-
<option v-for="item in items" :value="item.value">{{ item.label }}</option>
|
|
695
|
+
<option value="">Select Country</option>
|
|
696
|
+
<option v-for="item in items" :selected="item.isRefined" :key="item.value" :value="item.value">{{ item.label }}</option>
|
|
702
697
|
</select>
|
|
703
698
|
</template>
|
|
704
699
|
</ais-menu-select>
|
|
705
|
-
<ais-menu-select v-if="refinement.type == 'location'" :attribute="'location.state'" operator="and">
|
|
700
|
+
<ais-menu-select v-if="refinement.type == 'location'" :attribute="'location.state'" operator="and" limit="100">
|
|
706
701
|
<template v-slot="{ items, refine }">
|
|
707
702
|
<select @change="refine($event.currentTarget.value)">
|
|
708
|
-
<option>Select State</option>
|
|
709
|
-
<option v-for="item in items" :value="item.value">{{ item.label }}</option>
|
|
703
|
+
<option value="">Select State</option>
|
|
704
|
+
<option v-for="item in items" :selected="item.isRefined" :key="item.value" :value="item.value">{{ item.label }}</option>
|
|
710
705
|
</select>
|
|
711
706
|
</template>
|
|
712
707
|
</ais-menu-select>
|
|
713
|
-
<ais-menu-select placeholder="Select City" v-if="refinement.type == 'location'" :attribute="'location.city'" operator="and">
|
|
708
|
+
<ais-menu-select placeholder="Select City" v-if="refinement.type == 'location'" :attribute="'location.city'" operator="and" limit="100">
|
|
714
709
|
<template v-slot="{ items, refine }">
|
|
715
710
|
<select @change="refine($event.currentTarget.value)">
|
|
716
|
-
<option>Select City</option>
|
|
717
|
-
<option v-for="item in items" :value="item.value">{{ item.label }}</option>
|
|
711
|
+
<option value="">Select City</option>
|
|
712
|
+
<option v-for="item in items" :selected="item.isRefined" :key="item.value" :value="item.value">{{ item.label }}</option>
|
|
718
713
|
</select>
|
|
719
714
|
</template>
|
|
720
715
|
</ais-menu-select>
|
|
@@ -914,7 +909,7 @@
|
|
|
914
909
|
<li v-for="page in pages.slice(0, 5)" :key="page">
|
|
915
910
|
<a
|
|
916
911
|
:href="createURL(page)"
|
|
917
|
-
:
|
|
912
|
+
:class="`${page === currentRefinement ? 'resultsPagination__currentPage' : '' }`"
|
|
918
913
|
@click.prevent="refineAndScroll(refine, page, 'resultsTitle')"
|
|
919
914
|
>
|
|
920
915
|
{{ page + 1 }}
|
|
@@ -935,7 +930,8 @@
|
|
|
935
930
|
</li>
|
|
936
931
|
<li v-if="pages.length > 5">...</li>
|
|
937
932
|
<li v-for="page in 5" :key="page" v-if="nbPages > 5">
|
|
938
|
-
<a :href="createURL(nbPages - (5 - page) - 1)" @click.prevent="refineAndScroll(refine, nbPages - (5 - page) - 1, 'resultsTitle')"
|
|
933
|
+
<a :href="createURL(nbPages - (5 - page) - 1)" @click.prevent="refineAndScroll(refine, nbPages - (5 - page) - 1, 'resultsTitle')"
|
|
934
|
+
:class="`${nbPages - (5 - page) - 1 === currentRefinement ? 'resultsPagination__currentPage' : '' }`">
|
|
939
935
|
{{ nbPages - (5 - page) }}
|
|
940
936
|
</a>
|
|
941
937
|
</li>
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
.audioLinks {
|
|
2
2
|
|
|
3
|
+
svg.audioLinks__arrow {
|
|
4
|
+
fill: var(--color-white) !important;
|
|
5
|
+
//border: 1px solid red;
|
|
6
|
+
}
|
|
7
|
+
|
|
3
8
|
&__box {
|
|
4
9
|
display:none;
|
|
5
10
|
&.-open {
|
|
@@ -19,6 +24,7 @@
|
|
|
19
24
|
&.-first {
|
|
20
25
|
border-bottom: thin solid var(--color-gray-100);
|
|
21
26
|
}
|
|
27
|
+
|
|
22
28
|
}
|
|
23
29
|
|
|
24
30
|
&__link {
|
|
@@ -36,6 +42,10 @@
|
|
|
36
42
|
}
|
|
37
43
|
}
|
|
38
44
|
|
|
45
|
+
&__link:hover {
|
|
46
|
+
text-decoration: underline;
|
|
47
|
+
}
|
|
48
|
+
|
|
39
49
|
&__links {
|
|
40
50
|
background-color: white;
|
|
41
51
|
display: grid;
|
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
.breadCrumb {
|
|
4
4
|
background-color: var(--color-light-gold);
|
|
5
5
|
padding: 0.5rem 1.5rem;
|
|
6
|
+
a {
|
|
7
|
+
color: var(--color-dark-blue);
|
|
8
|
+
}
|
|
9
|
+
a:hover {
|
|
10
|
+
text-decoration: underline;
|
|
11
|
+
color: var(--color-dark-blue);
|
|
12
|
+
}
|
|
6
13
|
@include at(md) {
|
|
7
14
|
padding: 0.5rem 2rem 0.5rem 4rem;
|
|
8
15
|
}
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
min-height: 1.8rem;
|
|
5
5
|
overflow-y: auto;
|
|
6
6
|
padding-bottom: 0.5rem;
|
|
7
|
-
padding-left: 0.5rem;
|
|
8
7
|
input[type=checkbox] {
|
|
9
8
|
border: thin solid var(--color-gray-100);
|
|
10
9
|
background-color: var(--color-white);
|
|
@@ -48,10 +47,14 @@
|
|
|
48
47
|
background-color: var(--color-turquoise);
|
|
49
48
|
border: thin solid var(--color-turquoise);
|
|
50
49
|
&::before {
|
|
51
|
-
display: block;
|
|
50
|
+
//display: block;
|
|
52
51
|
background: var(--color-gray-200);
|
|
53
52
|
}
|
|
54
53
|
}
|
|
54
|
+
.checkbox {
|
|
55
|
+
position: relative;
|
|
56
|
+
top: 0.2rem;
|
|
57
|
+
}
|
|
55
58
|
}
|
|
56
59
|
|
|
57
60
|
|
|
@@ -14,15 +14,16 @@
|
|
|
14
14
|
&__details {
|
|
15
15
|
display: flex;
|
|
16
16
|
background-color: inherit;
|
|
17
|
-
padding: 0
|
|
17
|
+
padding-right: 0.5rem;
|
|
18
18
|
border: none;
|
|
19
19
|
color: var(--color-dark-blue);
|
|
20
20
|
font-weight: bold;
|
|
21
|
+
gap: 0.2rem;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
button:hover {
|
|
25
|
+
background-color: none;
|
|
26
|
+
}
|
|
26
27
|
button.eventLinks__details {
|
|
27
28
|
display: flex;
|
|
28
29
|
gap: .35rem;
|
|
@@ -31,19 +32,20 @@
|
|
|
31
32
|
padding-left: 0;
|
|
32
33
|
padding-top: 0.1rem;
|
|
33
34
|
}
|
|
34
|
-
svg {
|
|
35
|
+
svg.eventLinks__icon {
|
|
35
36
|
fill: var(--color-dark-blue);
|
|
36
37
|
stroke: var(--color-white);
|
|
37
38
|
height: 18px;
|
|
38
39
|
min-width: 18px;
|
|
39
40
|
}
|
|
40
41
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
|
|
43
|
+
.eventLinks__details:hover svg {
|
|
44
|
+
stroke: var(--color-dark-blue);
|
|
45
|
+
outline: var(--color-dark-blue);
|
|
46
|
+
fill: var(--color-white);
|
|
45
47
|
}
|
|
46
|
-
.eventLinks:hover a, .
|
|
48
|
+
a.eventLinks__link:hover, .eventLinks:hover button, a.eventLinks__details:hover, .eventLinks__details:hover button {
|
|
47
49
|
text-decoration: underline;
|
|
48
50
|
fill: none;
|
|
49
51
|
}
|
|
@@ -21,26 +21,48 @@
|
|
|
21
21
|
.audioLinks__links {
|
|
22
22
|
width: 18rem;
|
|
23
23
|
}
|
|
24
|
+
|
|
25
|
+
.audioLinks__link {
|
|
26
|
+
color: var(--color-dark-blue);
|
|
27
|
+
font-weight: normal;
|
|
28
|
+
font-size: 1.1rem;
|
|
29
|
+
}
|
|
24
30
|
}
|
|
25
31
|
&__media {
|
|
26
32
|
display: flex;
|
|
27
33
|
justify-content: left;
|
|
28
34
|
background-color: white;
|
|
35
|
+
color: var(--color-dark-blue);
|
|
29
36
|
margin-bottom: 0;
|
|
30
37
|
flex-wrap: wrap;
|
|
31
38
|
gap: 1rem;
|
|
39
|
+
a, a:hover {
|
|
40
|
+
color: var(--color-dark-blue);
|
|
41
|
+
}
|
|
32
42
|
@include at(lg) {
|
|
33
43
|
gap: 2rem;
|
|
34
44
|
}
|
|
35
45
|
}
|
|
36
46
|
a {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
47
|
+
color: var(--color-dark-blue);
|
|
48
|
+
font-size: 1.25rem;
|
|
49
|
+
font-weight: 600;
|
|
50
|
+
gap: 0.2rem;
|
|
51
|
+
cursor: pointer;
|
|
52
|
+
}
|
|
53
|
+
a:hover
|
|
54
|
+
{
|
|
55
|
+
color: var(--color-dark-blue);
|
|
56
|
+
text-decoration: underline;
|
|
57
|
+
svg {
|
|
58
|
+
stroke: var(--color-dark-blue);
|
|
59
|
+
fill: var(--color-white);
|
|
41
60
|
}
|
|
61
|
+
}
|
|
42
62
|
&__icon {
|
|
43
63
|
height: 1.5rem;
|
|
44
64
|
width: 1.5rem;
|
|
65
|
+
fill: var(--color-dark-blue);
|
|
66
|
+
stroke: var(--color-white);
|
|
45
67
|
}
|
|
46
68
|
}
|
|
@@ -4,18 +4,28 @@
|
|
|
4
4
|
display: flex;
|
|
5
5
|
justify-content: space-between;
|
|
6
6
|
padding: 1rem 1.5rem;
|
|
7
|
+
flex-wrap: wrap;
|
|
7
8
|
@include at(lg) {
|
|
8
|
-
|
|
9
|
+
padding: 2rem 0;
|
|
9
10
|
}
|
|
10
11
|
|
|
11
|
-
&
|
|
12
|
+
&__currentPage{
|
|
13
|
+
font-weight: bold;
|
|
14
|
+
border-bottom: 2px solid var(--color-turquoise);
|
|
15
|
+
}
|
|
12
16
|
|
|
17
|
+
&__paginationComponent {
|
|
13
18
|
display: flex;
|
|
14
19
|
align-items: center;
|
|
15
20
|
gap: 0.5rem;
|
|
16
21
|
list-style: none;
|
|
17
22
|
margin: 0;
|
|
18
|
-
padding: 0;
|
|
23
|
+
padding: 1rem 0 0 0;
|
|
24
|
+
justify-content: center;
|
|
25
|
+
@include at(md) {
|
|
26
|
+
justify-content: left;
|
|
27
|
+
padding-top: 0;
|
|
28
|
+
}
|
|
19
29
|
|
|
20
30
|
li {
|
|
21
31
|
padding: 0 .2rem;
|
|
@@ -26,7 +36,7 @@
|
|
|
26
36
|
}
|
|
27
37
|
|
|
28
38
|
li:hover {
|
|
29
|
-
|
|
39
|
+
font-weight: bold;
|
|
30
40
|
}
|
|
31
41
|
|
|
32
42
|
a {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
background-color: #FDF9F7;
|
|
8
8
|
@include at (md) {
|
|
9
9
|
padding: .5rem;
|
|
10
|
-
margin: .5rem
|
|
10
|
+
margin: .5rem 0;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
height: 40px;
|
|
@@ -44,12 +44,15 @@
|
|
|
44
44
|
font-weight: 100;
|
|
45
45
|
width: 100%;
|
|
46
46
|
height: 100%;
|
|
47
|
-
background-color:
|
|
47
|
+
background-color: var(--color-white);
|
|
48
48
|
border: none;
|
|
49
49
|
outline: none;
|
|
50
50
|
&::placeholder {
|
|
51
51
|
color: var(--color-mid-gray);
|
|
52
52
|
}
|
|
53
|
+
&:focus {
|
|
54
|
+
outline: var(--color-turquoise);
|
|
55
|
+
}
|
|
53
56
|
&.-filter {
|
|
54
57
|
background-color:#ffffff;
|
|
55
58
|
border: none;
|
|
@@ -70,7 +73,7 @@
|
|
|
70
73
|
.ais-SearchBox-reset, .ais-SearchBox-submit {
|
|
71
74
|
align-self: center !important;
|
|
72
75
|
border: none;
|
|
73
|
-
background-color:
|
|
76
|
+
background-color: var(--color-white);
|
|
74
77
|
display: flex;
|
|
75
78
|
align-items: center !important;
|
|
76
79
|
justify-content: center !important;
|
|
@@ -85,6 +88,6 @@
|
|
|
85
88
|
}
|
|
86
89
|
}
|
|
87
90
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
+
.searchBox:has(input:focus) {
|
|
92
|
+
border: 1px solid var(--color-turquoise);
|
|
93
|
+
}
|