word-games-theme 3.1.8 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90469ded1aa53dff6c9531cffb957ee6104266677bcd551b05e7fd92ac0bf52f
|
4
|
+
data.tar.gz: 3b639517e4baf6799773c9e31f846ab3c4a0fc20ffd925cd73b9f45bdbded657
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bd6387037061d7c6d3a25ceddb1b69efb33b9124191b2045b201b06bb2adbf72fda8e54a2e52710dd8e488d9dadb5e5ae7ff99638d2a1c32af485c49f0a4b5a
|
7
|
+
data.tar.gz: b38532e2689081379a4a11ee821280977036874214deefb33bb0a1c8a7dae9d8d7fb3c2b366832be4975e67dda15343bab97896ed2492e6df46a80c167796c34
|
@@ -36,17 +36,21 @@
|
|
36
36
|
.dropdown-content a:hover {
|
37
37
|
background-color: #f1f1f1;
|
38
38
|
}
|
39
|
+
|
39
40
|
.show {
|
40
41
|
display: block;
|
41
42
|
}
|
43
|
+
|
42
44
|
.tooltip-container {
|
43
45
|
position: relative;
|
44
46
|
display: inline-block;
|
45
47
|
}
|
48
|
+
|
46
49
|
.startsWith {
|
47
50
|
position: relative;
|
48
51
|
display: inline-block;
|
49
52
|
}
|
53
|
+
|
50
54
|
.arrow-down {
|
51
55
|
display: none;
|
52
56
|
width: 0;
|
@@ -63,12 +67,14 @@
|
|
63
67
|
left: calc(50% - 10px);
|
64
68
|
/* Center the larger arrow */
|
65
69
|
}
|
70
|
+
|
66
71
|
@media (max-width: 768px) {
|
67
|
-
|
72
|
+
|
73
|
+
.dropdown-content,
|
74
|
+
.arrow-down {
|
68
75
|
display: none !important;
|
69
76
|
}
|
70
77
|
}
|
71
|
-
|
72
78
|
</style>
|
73
79
|
|
74
80
|
<div class="advancedFilterOptions" onclick="advancedFilterToggle()">
|
@@ -79,11 +85,10 @@
|
|
79
85
|
</div>
|
80
86
|
|
81
87
|
<div class="fillterWrapper my-5 filterShow">
|
82
|
-
|
83
88
|
<div class="startsWith">
|
84
|
-
<input onclick="showDropdown('startsWithDropdown', this)"
|
85
|
-
class="filter_val textBoxes" autocomplete="off"
|
86
|
-
value="" name="prefix">
|
89
|
+
<input onclick="showDropdown('startsWithDropdown', this)"
|
90
|
+
onkeyup="filterDropdown('startsWithDropdown', this.value)" class="filter_val textBoxes" autocomplete="off"
|
91
|
+
type="text" id="startsWith" placeholder="Starts with" value="" name="prefix">
|
87
92
|
<div class="filter-tooltip" data-tip="Find words that start with these letters(AB-> Able)"
|
88
93
|
id="Find words that start with these letters(AB-> Able)">
|
89
94
|
<img width="30px" height="30px" src="/assets/images/questionmark.svg" alt="Question Mark" />
|
@@ -101,9 +106,9 @@
|
|
101
106
|
<div class="arrow-down"></div>
|
102
107
|
</div>
|
103
108
|
<div class="mustInclude">
|
104
|
-
<input onclick="showDropdown('mustIncludeDropdown', this)"
|
105
|
-
class="filter_val textBoxes" autocomplete="off"
|
106
|
-
name="contains">
|
109
|
+
<input onclick="showDropdown('mustIncludeDropdown', this)"
|
110
|
+
onkeyup="filterDropdown('mustIncludeDropdown', this.value)" class="filter_val textBoxes" autocomplete="off"
|
111
|
+
type="text" id="mustInclude" placeholder="Contains" name="contains">
|
107
112
|
<div class="filter-tooltip" data-tip="Words that contain letters in this order(ab)"
|
108
113
|
id="Words that contain letters in this order(ab)">
|
109
114
|
<img width="30px" height="30px" src="/assets/images/questionmark.svg" alt="Question Mark" />
|
@@ -111,9 +116,9 @@
|
|
111
116
|
<div class="arrow-down"></div>
|
112
117
|
</div>
|
113
118
|
<div class="wordLength same">
|
114
|
-
<input onclick="showDropdown('wordLengthDropdown',this)"
|
115
|
-
|
116
|
-
name="length" value="{{page.letter}}">
|
119
|
+
<input onclick="showDropdown('wordLengthDropdown',this)"
|
120
|
+
onkeyup="filterDropdown('wordLengthDropdown', this.value)" autocomplete="off" type="number"
|
121
|
+
class="filter_val textBoxes" id="wordLength" placeholder="Length" name="length" value="{{page.letter}}">
|
117
122
|
|
118
123
|
<div class="filter-tooltip" data-toggle="tooltip" data-placement="top"
|
119
124
|
data-tip="Filter for words with this length" id="Filter for words with this length">
|
@@ -122,9 +127,9 @@
|
|
122
127
|
<div class="arrow-down"></div>
|
123
128
|
</div>
|
124
129
|
<div class="inculdeWith">
|
125
|
-
<input onclick="showDropdown('inculdeWithDropdown',this)"
|
126
|
-
class="filter_val textBoxes" autocomplete="off"
|
127
|
-
name="include">
|
130
|
+
<input onclick="showDropdown('inculdeWithDropdown',this)"
|
131
|
+
onkeyup="filterDropdown('inculdeWithDropdown', this.value)" class="filter_val textBoxes" autocomplete="off"
|
132
|
+
type="text" id="inculdeWith" placeholder="Include" value="" name="include">
|
128
133
|
<div class="filter-tooltip" data-toggle="tooltip" data-placement="top"
|
129
134
|
data-tip="Only words that contain the letters you enter here"
|
130
135
|
id="Only words that contain the letters you enter here">
|
@@ -134,9 +139,9 @@
|
|
134
139
|
|
135
140
|
</div>
|
136
141
|
<div class="exculdeWith">
|
137
|
-
<input onclick="showDropdown('exculdeWithDropdown',this)"
|
138
|
-
class="filter_val textBoxes" autocomplete="off"
|
139
|
-
name="exclude">
|
142
|
+
<input onclick="showDropdown('exculdeWithDropdown',this)"
|
143
|
+
onkeyup="filterDropdown('exculdeWithDropdown', this.value)" class="filter_val textBoxes" autocomplete="off"
|
144
|
+
type="text" id="exculdeWith" placeholder="Exclude" value="" name="exclude">
|
140
145
|
<div class="filter-tooltip" data-toggle="tooltip" data-placement="top"
|
141
146
|
data-tip="Only words that not contain the letters you enter here"
|
142
147
|
id="Only words that not contain the letters you enter here">
|
@@ -311,7 +316,7 @@
|
|
311
316
|
filterShow.classList.toggle("d-flex")
|
312
317
|
}
|
313
318
|
|
314
|
-
function showDropdown(id,input) {
|
319
|
+
function showDropdown(id, input) {
|
315
320
|
document.querySelectorAll('.dropdown-content').forEach(function (dropdown) {
|
316
321
|
dropdown.style.display = 'none';
|
317
322
|
});
|
@@ -319,9 +324,9 @@
|
|
319
324
|
arrow.style.display = 'none';
|
320
325
|
});
|
321
326
|
let dropdown = document.getElementById(id);
|
322
|
-
|
327
|
+
|
323
328
|
let arrow = input.parentElement.querySelector('.arrow-down');
|
324
|
-
|
329
|
+
|
325
330
|
if (arrow) {
|
326
331
|
arrow.style.display = "block"
|
327
332
|
}
|
@@ -341,10 +346,10 @@
|
|
341
346
|
function handleItemClick(event) {
|
342
347
|
event.preventDefault();
|
343
348
|
const selectedValue = event.target.getAttribute('data-value');
|
344
|
-
console.log(selectedValue);
|
349
|
+
console.log(selectedValue.toLowerCase());
|
345
350
|
const dropdownId = event.target.closest('.dropdown-content').id;
|
346
351
|
const inputId = dropdownId.replace('Dropdown', '');
|
347
|
-
document.getElementById(inputId).value = selectedValue
|
352
|
+
document.getElementById(inputId).value = selectedValue
|
348
353
|
document.getElementById(dropdownId).classList.remove('show');
|
349
354
|
document.getElementById(dropdownId).style.display = "none"
|
350
355
|
let arrow = document.getElementById(inputId).parentElement.querySelector('.arrow-down');
|
@@ -355,6 +360,22 @@
|
|
355
360
|
item.addEventListener('click', handleItemClick);
|
356
361
|
});
|
357
362
|
|
363
|
+
// window.onclick = function(event) {
|
364
|
+
// if (!event.target.matches('.filter_val')) {
|
365
|
+
// const dropdowns = document.getElementsByClassName("dropdown-content");
|
366
|
+
// for (let i = 0; i < dropdowns.length; i++) {
|
367
|
+
// dropdowns[i].style.display = "none";
|
368
|
+
// }
|
369
|
+
// const arrowDown = document.getElementsByClassName("arrow-down");
|
370
|
+
// for (let i = 0; i < arrowDown.length; i++) {
|
371
|
+
// arrowDown[i].style.display = "none";
|
372
|
+
// }
|
373
|
+
|
374
|
+
|
375
|
+
// }
|
376
|
+
// }
|
377
|
+
|
378
|
+
|
358
379
|
|
359
380
|
|
360
381
|
|
@@ -111,6 +111,7 @@
|
|
111
111
|
|
112
112
|
|
113
113
|
<script data-lang="{{page.lang}}" defer src="/assets/js/theme.js"></script>
|
114
|
+
|
114
115
|
{%- if site.noResultPage -%}
|
115
116
|
<script data-url="{{site.url}}" data-blanktilerange="{{page.blanktilerange}}" defer
|
116
117
|
src="/assets/js/wordfinder-home.js"></script>
|
@@ -836,6 +836,13 @@ summary::-webkit-details-marker {
|
|
836
836
|
|
837
837
|
@media (max-width: 768px) {
|
838
838
|
|
839
|
+
.main-header {
|
840
|
+
padding-top: 0rem !important;
|
841
|
+
margin-bottom: 0vh;
|
842
|
+
padding-bottom: 3rem;
|
843
|
+
background: var(--primary-color);
|
844
|
+
height: auto !important;
|
845
|
+
}
|
839
846
|
.top_tool_bar {
|
840
847
|
display: block !important;
|
841
848
|
}
|
@@ -874,6 +881,7 @@ summary::-webkit-details-marker {
|
|
874
881
|
|
875
882
|
.advancedFilterOptions {
|
876
883
|
display: block;
|
884
|
+
margin-top: 1rem;
|
877
885
|
}
|
878
886
|
|
879
887
|
.filterShow {
|
@@ -1152,13 +1160,6 @@ summary::-webkit-details-marker {
|
|
1152
1160
|
display: none;
|
1153
1161
|
}
|
1154
1162
|
|
1155
|
-
.main-header {
|
1156
|
-
padding-top: 0rem !important;
|
1157
|
-
margin-bottom: 0vh;
|
1158
|
-
padding-bottom: 3rem;
|
1159
|
-
background: var(--primary-color);
|
1160
|
-
height: auto !important;
|
1161
|
-
}
|
1162
1163
|
|
1163
1164
|
}
|
1164
1165
|
|
@@ -110,7 +110,6 @@ Array.from(filterInputs).forEach((item) => {
|
|
110
110
|
tooltipElement.style.setProperty('--tooltip-border-style', 'soild');
|
111
111
|
})
|
112
112
|
})
|
113
|
-
|
114
113
|
sortup.addEventListener("click", () => {
|
115
114
|
if (bool) {
|
116
115
|
theSelect.size = 0;
|
@@ -363,13 +362,13 @@ const getData = async (serachValue) => {
|
|
363
362
|
|
364
363
|
|
365
364
|
if (serachValue) {
|
366
|
-
serachValue = serachValue + startsWith.value + endsWith.value + mustInclude.value + inculdeWith.value + exculdeWith.value
|
365
|
+
serachValue = serachValue + startsWith.value.toLowerCase() + endsWith.value.toLowerCase() + mustInclude.value.toLowerCase() + inculdeWith.value.toLowerCase() + exculdeWith.value.toLowerCase()
|
367
366
|
}
|
368
367
|
worker.postMessage({
|
369
368
|
type: "api",
|
370
369
|
serachValue: serachValue,
|
371
370
|
selectedDictionary: selectedDictionary,
|
372
|
-
endpoint:
|
371
|
+
endpoint: `http://127.0.0.1:9000`
|
373
372
|
});
|
374
373
|
worker.onmessage = (event) => {
|
375
374
|
main.innerHTML = "";
|
@@ -589,7 +588,7 @@ async function showMoreWords(e) {
|
|
589
588
|
let ScrabbleLetterScore = ScrabbleScore();
|
590
589
|
|
591
590
|
if (serachValue) {
|
592
|
-
serachValue = serachValue + startsWith.value + endsWith.value + mustInclude.value + inculdeWith.value + exculdeWith.value
|
591
|
+
serachValue = serachValue + startsWith.value.toLowerCase() + endsWith.value.toLowerCase() + mustInclude.value.toLowerCase() + inculdeWith.value.toLowerCase() + exculdeWith.value.toLowerCase()
|
593
592
|
}
|
594
593
|
if (serachValue) {
|
595
594
|
var text1 = serachValue.replace("?", "");
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: word-games-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1
|
4
|
+
version: 3.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- manpreet-appscms
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09
|
11
|
+
date: 2024-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|