@explorable-viz/fluid 0.9.0 → 0.9.3
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/.spago/aff/v7.0.0/.editorconfig +13 -0
- package/.spago/aff/v7.0.0/.eslintrc.json +28 -0
- package/.spago/aff/v7.0.0/.gitignore +14 -0
- package/.spago/aff/v7.0.0/.tidyrc.json +10 -0
- package/.spago/affjax/v13.0.0/.editorconfig +13 -0
- package/.spago/affjax/v13.0.0/.eslintrc.json +28 -0
- package/.spago/affjax/v13.0.0/.gitignore +14 -0
- package/.spago/affjax/v13.0.0/.tidyrc.json +10 -0
- package/.spago/affjax-web/v1.0.0/.editorconfig +13 -0
- package/.spago/affjax-web/v1.0.0/.eslintrc.json +30 -0
- package/.spago/affjax-web/v1.0.0/.gitignore +14 -0
- package/.spago/affjax-web/v1.0.0/.tidyrc.json +10 -0
- package/.spago/argonaut-codecs/v9.0.0/.editorconfig +13 -0
- package/.spago/argonaut-codecs/v9.0.0/.gitignore +9 -0
- package/.spago/argonaut-codecs/v9.0.0/.tidyrc.json +10 -0
- package/.spago/argonaut-core/v7.0.0/.editorconfig +13 -0
- package/.spago/argonaut-core/v7.0.0/.eslintrc.json +29 -0
- package/.spago/argonaut-core/v7.0.0/.gitignore +14 -0
- package/.spago/argonaut-core/v7.0.0/.tidyrc.json +10 -0
- package/.spago/arraybuffer-types/v3.0.2/.editorconfig +13 -0
- package/.spago/arraybuffer-types/v3.0.2/.gitignore +9 -0
- package/.spago/arraybuffer-types/v3.0.2/.tidyrc.json +10 -0
- package/.spago/arrays/v7.0.0/.eslintrc.json +26 -0
- package/.spago/arrays/v7.0.0/.gitignore +9 -0
- package/.spago/assert/v6.0.0/.eslintrc.json +26 -0
- package/.spago/assert/v6.0.0/.gitignore +8 -0
- package/.spago/bifunctors/v6.0.0/.gitignore +7 -0
- package/.spago/catenable-lists/v7.0.0/.gitignore +7 -0
- package/.spago/console/v6.0.0/.eslintrc.json +30 -0
- package/.spago/console/v6.0.0/.gitignore +9 -0
- package/.spago/const/v6.0.0/.gitignore +7 -0
- package/.spago/contravariant/v6.0.0/.gitignore +7 -0
- package/.spago/control/v6.0.0/.gitignore +7 -0
- package/.spago/datetime/v6.1.0/.eslintrc.json +26 -0
- package/.spago/datetime/v6.1.0/.gitignore +8 -0
- package/.spago/debug/v6.0.0/.eslintrc.json +36 -0
- package/.spago/debug/v6.0.0/.gitignore +8 -0
- package/.spago/distributive/v6.0.0/.gitignore +7 -0
- package/.spago/effect/v4.0.0/.eslintrc.json +26 -0
- package/.spago/effect/v4.0.0/.gitignore +8 -0
- package/.spago/either/v6.1.0/.gitignore +7 -0
- package/.spago/enums/v6.0.0/.gitignore +7 -0
- package/.spago/exceptions/v6.0.0/.eslintrc.json +26 -0
- package/.spago/exceptions/v6.0.0/.gitignore +8 -0
- package/.spago/exists/v6.0.0/.gitignore +7 -0
- package/.spago/filterable/v5.0.0/.gitignore +11 -0
- package/.spago/foldable-traversable/v6.0.0/.eslintrc.json +26 -0
- package/.spago/foldable-traversable/v6.0.0/.gitignore +8 -0
- package/.spago/foreign/v7.0.0/.eslintrc.json +26 -0
- package/.spago/foreign/v7.0.0/.gitignore +8 -0
- package/.spago/foreign-object/v4.0.0/.eslintrc.json +26 -0
- package/.spago/foreign-object/v4.0.0/.gitignore +8 -0
- package/.spago/form-urlencoded/v7.0.0/.editorconfig +13 -0
- package/.spago/form-urlencoded/v7.0.0/.gitignore +9 -0
- package/.spago/form-urlencoded/v7.0.0/.tidyrc.json +10 -0
- package/.spago/free/v7.0.0/.gitignore +8 -0
- package/.spago/functions/v6.0.0/.eslintrc.json +26 -0
- package/.spago/functions/v6.0.0/.gitignore +8 -0
- package/.spago/functors/v5.0.0/.gitignore +7 -0
- package/.spago/gen/v4.0.0/.gitignore +8 -0
- package/.spago/graphs/v8.0.0/.gitignore +7 -0
- package/.spago/http-methods/v6.0.0/.editorconfig +13 -0
- package/.spago/http-methods/v6.0.0/.gitignore +9 -0
- package/.spago/http-methods/v6.0.0/.tidyrc.json +10 -0
- package/.spago/identity/v6.0.0/.gitignore +7 -0
- package/.spago/integers/v6.0.0/.eslintrc.json +26 -0
- package/.spago/integers/v6.0.0/.gitignore +8 -0
- package/.spago/invariant/v6.0.0/.gitignore +7 -0
- package/.spago/js-date/v8.0.0/.editorconfig +13 -0
- package/.spago/js-date/v8.0.0/.eslintrc.json +29 -0
- package/.spago/js-date/v8.0.0/.gitignore +14 -0
- package/.spago/js-date/v8.0.0/.tidyrc.json +10 -0
- package/.spago/js-uri/v3.0.0/.eslintrc.json +30 -0
- package/.spago/js-uri/v3.0.0/.gitignore +14 -0
- package/.spago/js-uri/v3.0.0/.tidyrc.json +10 -0
- package/.spago/lazy/v6.0.0/.eslintrc.json +26 -0
- package/.spago/lazy/v6.0.0/.gitignore +8 -0
- package/.spago/lcg/v4.0.0/.gitignore +8 -0
- package/.spago/lists/v7.0.0/.gitignore +7 -0
- package/.spago/maybe/v6.0.0/.gitignore +7 -0
- package/.spago/media-types/v6.0.0/.editorconfig +13 -0
- package/.spago/media-types/v6.0.0/.gitignore +9 -0
- package/.spago/media-types/v6.0.0/.tidyrc.json +10 -0
- package/.spago/newtype/v5.0.0/.gitignore +7 -0
- package/.spago/node-buffer/v8.0.0/.eslintrc.json +26 -0
- package/.spago/node-buffer/v8.0.0/.gitignore +8 -0
- package/.spago/node-child-process/v9.0.0/.eslintrc.json +29 -0
- package/.spago/node-child-process/v9.0.0/.gitignore +8 -0
- package/.spago/node-fs/v9.1.0/.eslintrc.json +29 -0
- package/.spago/node-fs/v9.1.0/.gitignore +9 -0
- package/.spago/node-path/v5.0.0/.eslintrc.json +26 -0
- package/.spago/node-path/v5.0.0/.gitignore +8 -0
- package/.spago/node-process/v10.0.0/.eslintrc.json +29 -0
- package/.spago/node-process/v10.0.0/.gitignore +8 -0
- package/.spago/node-streams/v7.0.0/.eslintrc.json +29 -0
- package/.spago/node-streams/v7.0.0/.gitignore +8 -0
- package/.spago/nonempty/v7.0.0/.gitignore +7 -0
- package/.spago/now/v6.0.0/.editorconfig +13 -0
- package/.spago/now/v6.0.0/.eslintrc.json +29 -0
- package/.spago/now/v6.0.0/.gitignore +14 -0
- package/.spago/now/v6.0.0/.tidyrc.json +10 -0
- package/.spago/nullable/v6.0.0/.editorconfig +13 -0
- package/.spago/nullable/v6.0.0/.eslintrc.json +29 -0
- package/.spago/nullable/v6.0.0/.gitignore +14 -0
- package/.spago/nullable/v6.0.0/.tidyrc.json +10 -0
- package/.spago/optparse/v5.0.0/.gitignore +8 -0
- package/.spago/optparse/v5.0.0/.npmrc +1 -0
- package/.spago/ordered-collections/v3.0.0/.gitignore +8 -0
- package/.spago/orders/v6.0.0/.gitignore +7 -0
- package/.spago/parallel/v6.0.0/.gitignore +7 -0
- package/.spago/parsing/v10.0.0/.editorconfig +13 -0
- package/.spago/parsing/v10.0.0/.gitignore +10 -0
- package/.spago/parsing/v10.0.0/.tidyoperators +231 -0
- package/.spago/parsing/v10.0.0/.tidyrc.json +10 -0
- package/.spago/partial/v4.0.0/.eslintrc.json +26 -0
- package/.spago/partial/v4.0.0/.gitignore +8 -0
- package/.spago/posix-types/v6.0.0/.gitignore +7 -0
- package/.spago/prelude/v6.0.0/.eslintrc.json +26 -0
- package/.spago/prelude/v6.0.0/.gitignore +8 -0
- package/.spago/profunctor/v6.0.0/.gitignore +7 -0
- package/.spago/psci-support/v6.0.0/.eslintrc.json +28 -0
- package/.spago/psci-support/v6.0.0/.gitignore +8 -0
- package/.spago/quickcheck/v8.0.1/.eslintrc.json +26 -0
- package/.spago/quickcheck/v8.0.1/.gitignore +8 -0
- package/.spago/random/v6.0.0/.eslintrc.json +26 -0
- package/.spago/random/v6.0.0/.gitignore +8 -0
- package/.spago/record/v4.0.0/.eslintrc.json +26 -0
- package/.spago/record/v4.0.0/.gitignore +8 -0
- package/.spago/refs/v6.0.0/.eslintrc.json +26 -0
- package/.spago/refs/v6.0.0/.gitignore +8 -0
- package/.spago/st/v6.0.0/.eslintrc.json +26 -0
- package/.spago/st/v6.0.0/.gitignore +8 -0
- package/.spago/strings/v6.0.0/.eslintrc.json +26 -0
- package/.spago/strings/v6.0.0/.gitignore +8 -0
- package/.spago/tailrec/v6.0.0/.gitignore +7 -0
- package/.spago/transformers/v6.0.0/.gitignore +7 -0
- package/.spago/tuples/v7.0.0/.gitignore +7 -0
- package/.spago/type-equality/v4.0.1/.gitignore +7 -0
- package/.spago/typelevel-prelude/v7.0.0/.gitignore +8 -0
- package/.spago/unfoldable/v6.0.0/.eslintrc.json +26 -0
- package/.spago/unfoldable/v6.0.0/.gitignore +8 -0
- package/.spago/unicode/v6.0.0/.editorconfig +13 -0
- package/.spago/unicode/v6.0.0/.gitattributes +2 -0
- package/.spago/unicode/v6.0.0/.gitignore +19 -0
- package/.spago/unicode/v6.0.0/.tidyrc.json +10 -0
- package/.spago/unsafe-coerce/v6.0.0/.eslintrc.json +26 -0
- package/.spago/unsafe-coerce/v6.0.0/.gitignore +8 -0
- package/.spago/web-dom/v6.0.0/.eslintrc.json +29 -0
- package/.spago/web-dom/v6.0.0/.gitignore +9 -0
- package/.spago/web-events/v4.0.0/.eslintrc.json +29 -0
- package/.spago/web-events/v4.0.0/.gitignore +8 -0
- package/.spago/web-file/v4.0.0/.eslintrc.json +29 -0
- package/.spago/web-file/v4.0.0/.gitignore +8 -0
- package/.spago/web-html/v4.0.0/.eslintrc.json +29 -0
- package/.spago/web-html/v4.0.0/.gitignore +8 -0
- package/.spago/web-storage/v5.0.0/.eslintrc.json +29 -0
- package/.spago/web-storage/v5.0.0/.gitignore +8 -0
- package/.spago/web-xhr/v5.0.0/.eslintrc.json +29 -0
- package/.spago/web-xhr/v5.0.0/.gitignore +8 -0
- package/package.json +2 -5
- package/website/article/convolution/index.html +0 -1
- package/website/article/favicon.ico +0 -0
- package/website/article/index.html +2 -2
- package/website/article/moving-average/index.html +1 -2
- package/website/article/non-renewables/index.html +0 -1
- package/website/shared/footer.html +0 -6
- package/website/shared/header.html +0 -27
- package/website/shared/sub-header.html +0 -12
- package/website/shared/util.js +0 -72
- /package/website/{css → article/css}/styles.css +0 -0
- /package/website/{css → article/css}/view-styles.css +0 -0
- /package/website/{font → article/font}/GraphikLight.woff2 +0 -0
- /package/website/{font → article/font}/GraphikLightItalic.woff2 +0 -0
- /package/website/{font → article/font}/GraphikMedium.woff2 +0 -0
- /package/website/{font → article/font}/GraphikMediumItalic.woff2 +0 -0
- /package/website/{font → article/font}/OdiseanTech.woff2 +0 -0
@@ -0,0 +1,29 @@
|
|
1
|
+
{
|
2
|
+
"parserOptions": {
|
3
|
+
"ecmaVersion": 6,
|
4
|
+
"sourceType": "module"
|
5
|
+
},
|
6
|
+
"extends": "eslint:recommended",
|
7
|
+
"env": {
|
8
|
+
"browser": true
|
9
|
+
},
|
10
|
+
"rules": {
|
11
|
+
"strict": [2, "global"],
|
12
|
+
"block-scoped-var": 2,
|
13
|
+
"consistent-return": 2,
|
14
|
+
"eqeqeq": [2, "smart"],
|
15
|
+
"guard-for-in": 2,
|
16
|
+
"no-caller": 2,
|
17
|
+
"no-extend-native": 2,
|
18
|
+
"no-loop-func": 2,
|
19
|
+
"no-new": 2,
|
20
|
+
"no-param-reassign": 2,
|
21
|
+
"no-return-assign": 2,
|
22
|
+
"no-unused-expressions": 2,
|
23
|
+
"no-use-before-define": 2,
|
24
|
+
"radix": [2, "always"],
|
25
|
+
"indent": [2, 2],
|
26
|
+
"quotes": [2, "double"],
|
27
|
+
"semi": [2, "always"]
|
28
|
+
}
|
29
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
{
|
2
|
+
"parserOptions": {
|
3
|
+
"ecmaVersion": 6,
|
4
|
+
"sourceType": "module"
|
5
|
+
},
|
6
|
+
"extends": "eslint:recommended",
|
7
|
+
"env": {
|
8
|
+
"browser": true
|
9
|
+
},
|
10
|
+
"rules": {
|
11
|
+
"strict": [2, "global"],
|
12
|
+
"block-scoped-var": 2,
|
13
|
+
"consistent-return": 2,
|
14
|
+
"eqeqeq": [2, "smart"],
|
15
|
+
"guard-for-in": 2,
|
16
|
+
"no-caller": 2,
|
17
|
+
"no-extend-native": 2,
|
18
|
+
"no-loop-func": 2,
|
19
|
+
"no-new": 2,
|
20
|
+
"no-param-reassign": 2,
|
21
|
+
"no-return-assign": 2,
|
22
|
+
"no-unused-expressions": 2,
|
23
|
+
"no-use-before-define": 2,
|
24
|
+
"radix": [2, "always"],
|
25
|
+
"indent": [2, 2],
|
26
|
+
"quotes": [2, "double"],
|
27
|
+
"semi": [2, "always"]
|
28
|
+
}
|
29
|
+
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@explorable-viz/fluid",
|
3
|
-
"version": "0.9.
|
3
|
+
"version": "0.9.3",
|
4
4
|
"description": "A functional programming language which integrates a bidirectional dynamic analysis, connecting outputs to data sources in a fine-grained way. Fluid is implemented in PureScript and runs in the browser.",
|
5
5
|
"main": "index.js",
|
6
6
|
"repository": {
|
@@ -25,9 +25,6 @@
|
|
25
25
|
"script/util/clean.sh",
|
26
26
|
"script/util/lisp-case.sh",
|
27
27
|
"website/article",
|
28
|
-
"website/css",
|
29
|
-
"website/font",
|
30
|
-
"website/shared",
|
31
28
|
"script/install-article.sh",
|
32
29
|
"script/util/serve.sh"
|
33
30
|
],
|
@@ -86,7 +83,7 @@
|
|
86
83
|
},
|
87
84
|
"bin": {
|
88
85
|
"fluid": "./dist/fluid/shared/fluid.mjs",
|
89
|
-
"website
|
86
|
+
"test-website": "./dist/fluid/shared/website-test.js",
|
90
87
|
"install-article": "./script/install-article.sh",
|
91
88
|
"bundle-website": "./script/bundle-website.sh"
|
92
89
|
},
|
@@ -9,7 +9,6 @@
|
|
9
9
|
<link href="../css/styles.css" rel="stylesheet" type="text/css">
|
10
10
|
<link href="../css/view-styles.css" rel="stylesheet" type="text/css">
|
11
11
|
<script src="https://kit.fontawesome.com/20cf8b42c0.js" crossorigin="anonymous"></script>
|
12
|
-
<script src="../shared/util.js"></script>
|
13
12
|
<style>
|
14
13
|
.grid-container, .grid-container.data-pane-hidden {
|
15
14
|
grid-template-columns: 0.8fr var(--toggle-button-width) var(--text-pane-width);
|
Binary file
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<meta charset="UTF-8">
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
7
|
-
<title>
|
7
|
+
<title>Fluid Demo Articles</title>
|
8
8
|
<link href="css/styles.css" rel="stylesheet" type="text/css">
|
9
9
|
<script src="https://kit.fontawesome.com/20cf8b42c0.js" crossorigin="anonymous"></script>
|
10
10
|
</head>
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<div></div>
|
16
16
|
<div class="flex-left-align">
|
17
17
|
<div></div>
|
18
|
-
<h2>Fluid
|
18
|
+
<h2>Fluid Demo Articles</h2>
|
19
19
|
|
20
20
|
<a href="non-renewables">Non-renewable energy</a><br>
|
21
21
|
<a href="moving-average">Moving average</a><br>
|
@@ -9,7 +9,6 @@
|
|
9
9
|
<link href="../css/styles.css" rel="stylesheet" type="text/css">
|
10
10
|
<link href="../css/view-styles.css" rel="stylesheet" type="text/css">
|
11
11
|
<script src="https://kit.fontawesome.com/20cf8b42c0.js" crossorigin="anonymous"></script>
|
12
|
-
<script src="../shared/util.js"></script>
|
13
12
|
<style>
|
14
13
|
:root {
|
15
14
|
--text-pane-width: 400px;
|
@@ -52,7 +51,7 @@
|
|
52
51
|
<script type="module">
|
53
52
|
import { loadFigure } from "../shared/load-figure.js"
|
54
53
|
loadFigure("spec.json")("../fluid/moving-average.fld")()
|
55
|
-
|
54
|
+
|
56
55
|
</script>
|
57
56
|
</body>
|
58
57
|
</html>
|
@@ -9,7 +9,6 @@
|
|
9
9
|
<link href="../css/styles.css" rel="stylesheet" type="text/css">
|
10
10
|
<link href="../css/view-styles.css" rel="stylesheet" type="text/css">
|
11
11
|
<script src="https://kit.fontawesome.com/20cf8b42c0.js" crossorigin="anonymous"></script>
|
12
|
-
<script src="../shared/util.js"></script>
|
13
12
|
<style>
|
14
13
|
.data-pane {
|
15
14
|
max-width: 475px;
|
@@ -1,27 +0,0 @@
|
|
1
|
-
<div class="header-grid-container">
|
2
|
-
<div class="flex-right-align right-border">
|
3
|
-
<img class="fluid-logo" src="/image/fluid-logo.png" width="150px">
|
4
|
-
<h2 class="fluid-subtitle">explorable, self-explanatory research outputs</h2>
|
5
|
-
</div>
|
6
|
-
<div class="flex-left-align" style="justify-content: center; margin-left: 5px;">
|
7
|
-
<nav>
|
8
|
-
<ul>
|
9
|
-
<li><a href="https://github.com/explorable-viz/fluid">GitHub</a></li>
|
10
|
-
<li><a href="https://dl.acm.org/doi/10.1145/3498668">POPL 2022 paper</a></li>
|
11
|
-
<li><a href="https://www.youtube.com/watch?v=M_ePrtD9axk">POPL 2022 talk</a></li>
|
12
|
-
<li><a href="https://www.youtube.com/watch?v=2-S6yVyzypU">PROPL 2024</a></li>
|
13
|
-
<li><a href="https://www.youtube.com/watch?v=F3JaftEnFfM">ICCS Summer School</a></li>
|
14
|
-
<li><a href="https://arxiv.org/abs/2403.04403">ESOP 2025 preprint</a></li>
|
15
|
-
</ul>
|
16
|
-
</nav>
|
17
|
-
<nav>
|
18
|
-
<ul>
|
19
|
-
<li><a href="/">Overview</a></li>
|
20
|
-
<li><a href="/faq">FAQ</a></li>
|
21
|
-
<li><a href="/contributors">Contributors & Funding</a></li>
|
22
|
-
<li><a href="/student-projects">Student Projects</a></li>
|
23
|
-
</ul>
|
24
|
-
</nav>
|
25
|
-
<div></div>
|
26
|
-
</div>
|
27
|
-
</div>
|
@@ -1,12 +0,0 @@
|
|
1
|
-
<div></div>
|
2
|
-
<div></div>
|
3
|
-
<div>
|
4
|
-
<h3 class="title">Overview</h3>
|
5
|
-
<nav class="sub-header">
|
6
|
-
<ul>
|
7
|
-
<li><a href="/">Transparent research outputs</a></li>
|
8
|
-
<li><a href="/convolution">Matrix convolution</a></li>
|
9
|
-
<li><a href="/moving-average">Moving average</a></li>
|
10
|
-
</ul>
|
11
|
-
</nav>
|
12
|
-
</div>
|
package/website/shared/util.js
DELETED
@@ -1,72 +0,0 @@
|
|
1
|
-
function loadHeader () {
|
2
|
-
fetch('/shared/header.html')
|
3
|
-
.then(response => response.text())
|
4
|
-
.then(data => {
|
5
|
-
const header = document.createElement('div')
|
6
|
-
header.innerHTML = data
|
7
|
-
activateCurrentLink(header)
|
8
|
-
const divElement = header.children[0]
|
9
|
-
const grid = document.getElementById('grid')
|
10
|
-
grid.parentNode.insertBefore(divElement, grid)
|
11
|
-
})
|
12
|
-
.catch(error => console.error('Error loading shared HTML:', error))
|
13
|
-
|
14
|
-
fetch('/shared/footer.html')
|
15
|
-
.then(response => response.text())
|
16
|
-
.then(data => {
|
17
|
-
const footer = document.createElement('div')
|
18
|
-
footer.innerHTML = data
|
19
|
-
const divElement = footer.children[0]
|
20
|
-
const grid = document.getElementById('grid')
|
21
|
-
grid.parentNode.appendChild(divElement)
|
22
|
-
})
|
23
|
-
.catch(error => console.error('Error loading shared HTML:', error))
|
24
|
-
}
|
25
|
-
|
26
|
-
function eqPaths (path1, path2) {
|
27
|
-
const trailingSlashes = /\/+$/
|
28
|
-
return path1.replace(trailingSlashes, '') === path2.replace(trailingSlashes, '')
|
29
|
-
}
|
30
|
-
|
31
|
-
function activateCurrentLink (el) {
|
32
|
-
const listItems = el.querySelectorAll('li')
|
33
|
-
const n_ = Array.from(listItems).findIndex(li => {
|
34
|
-
const link = li.querySelector('a')
|
35
|
-
return link && eqPaths(link.getAttribute('href'), window.location.pathname)
|
36
|
-
})
|
37
|
-
if (n_ !== -1) {
|
38
|
-
listItems[n_].classList.add('active-page')
|
39
|
-
}
|
40
|
-
}
|
41
|
-
|
42
|
-
function loadSubHeader () {
|
43
|
-
fetch('/shared/sub-header.html')
|
44
|
-
.then(response => response.text())
|
45
|
-
.then(data => {
|
46
|
-
const header = document.createElement('div')
|
47
|
-
header.innerHTML = data
|
48
|
-
activateCurrentLink(header)
|
49
|
-
const divElements = header.children
|
50
|
-
const grid = document.getElementById('grid')
|
51
|
-
for (let i = Math.min(4, divElements.length - 1); i >= 0; --i) {
|
52
|
-
grid.insertBefore(divElements[i], grid.firstChild)
|
53
|
-
}
|
54
|
-
})
|
55
|
-
.catch(error => console.error('Error loading shared HTML:', error))
|
56
|
-
}
|
57
|
-
|
58
|
-
function toggleDataPane(gridId) {
|
59
|
-
const grid = document.getElementById(gridId)
|
60
|
-
const hidden = grid.classList.contains('data-pane-hidden')
|
61
|
-
const dataPaneButton = document.querySelector('.data-pane-button')
|
62
|
-
|
63
|
-
if (hidden) {
|
64
|
-
grid.classList.remove('data-pane-hidden')
|
65
|
-
dataPaneButton.classList.remove('fa-eye-slash')
|
66
|
-
dataPaneButton.classList.add('fa-eye')
|
67
|
-
} else {
|
68
|
-
grid.classList.add('data-pane-hidden')
|
69
|
-
dataPaneButton.classList.remove('fa-eye')
|
70
|
-
dataPaneButton.classList.add('fa-eye-slash')
|
71
|
-
}
|
72
|
-
}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|