Skip to content

Commit

Permalink
chore: rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
jelmerveen committed Jul 31, 2024
1 parent 51be8c4 commit 823ab80
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
11 changes: 9 additions & 2 deletions dist/flightkit-v0.0.11/flightkit.js
Original file line number Diff line number Diff line change
Expand Up @@ -1593,13 +1593,15 @@
}
}

resetTree() {
resetTree(all = true) {
let foundElements = this.querySelectorAll('[data-branch-values]');

for (const element of foundElements) {
element.parentElement.style.opacity = '';
element.parentElement.classList.remove('hidden');
element.removeAttribute('open');
if (all) {
element.removeAttribute('open');
}
}
}

Expand All @@ -1613,6 +1615,11 @@
element.removeAttribute('open');
}

clearFilter() {
this.resetTree(false);
this.filter = { value: '', caseSensitive: false };
}

filterTree() {
let searchTimer = setTimeout(() => {
let foundElements = this.querySelectorAll('[data-branch-values]');
Expand Down
2 changes: 1 addition & 1 deletion dist/flightkit-v0.0.11/flightkit.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/cdn/ibiss-v0.0.11/flightkit.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js/flightkit.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion documentation/public/cdn/ibiss-v0.0.11/flightkit.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion documentation/public/js/flightkit.min.js

Large diffs are not rendered by default.

0 comments on commit 823ab80

Please sign in to comment.