j1-template 2022.3.3 → 2022.4.0

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.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/assets/themes/j1/adapter/js/j1.js +150 -75
  3. data/assets/themes/j1/adapter/js/nbinteract.js +1 -0
  4. data/assets/themes/j1/adapter/js/rangeSlider.js +27 -10
  5. data/assets/themes/j1/modules/nbInteract/js/nbinteract/nbinteract-core.js +1 -1
  6. data/assets/themes/j1/modules/nbInteract/js/nbinteract/nbinteract-core.js.map +1 -1
  7. data/assets/themes/j1/modules/nbInteract/js/nbinteract/nbinteract-core.min.js +1 -1
  8. data/assets/themes/j1/modules/rangeSlider/css/theme/uno/nouislider.css +5 -0
  9. data/assets/themes/j1/modules/rangeSlider/css/theme/uno/nouislider.min.css +1 -1
  10. data/lib/j1/version.rb +1 -1
  11. data/lib/starter_web/Gemfile +1 -1
  12. data/lib/starter_web/_config.yml +1 -1
  13. data/lib/starter_web/_data/j1_config.yml +22 -7
  14. data/lib/starter_web/_data/modules/rangeSlider.yml +38 -1
  15. data/lib/starter_web/_plugins/asciidoctor-extensions/range-slider-block.rb +44 -0
  16. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  17. data/lib/starter_web/package.json +1 -1
  18. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_odes_in_python.ipynb +16 -16
  19. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_interactive_widgets.html +919 -919
  20. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_odes_in_python.html +10 -10
  21. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/nbi_docs_recipes_graphing.html +473 -473
  22. data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +2 -2
  23. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  24. data/lib/starter_web/utilsrv/package.json +1 -1
  25. metadata +3 -7
  26. data/assets/themes/j1/modules/nbInteract/js/nbinteract/_new/nbinteract-core.js +0 -94
  27. data/assets/themes/j1/modules/nbInteract/js/nbinteract/_new/nbinteract-core.js.map +0 -1
  28. data/assets/themes/j1/modules/nbInteract/js/nbinteract/_old/j1-nbinteract-core.js +0 -94
  29. data/assets/themes/j1/modules/nbInteract/js/nbinteract/_old/j1-nbinteract-core.js.map +0 -1
  30. data/lib/starter_web/pages/public/se/se-fake.adoc +0 -47
@@ -98,7 +98,7 @@ $$<p>First, we defined a function called main for easier use of interact which w
98
98
  </div>
99
99
  <div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
100
100
  <div class="text_cell_render border-box-sizing rendered_html">
101
- <h3 id="Equation-(Home-Economy)">Equation (Home Economy)<a class="anchor-link" href="#Equation-(Home-Economy)">&#182;</a></h3>
101
+ <h3 id="Equation---Home-Economy">Equation - Home Economy<a class="anchor-link" href="#Equation---Home-Economy">&#182;</a></h3>
102
102
  </div>
103
103
  </div>
104
104
  </div>
@@ -176,7 +176,7 @@ $$<p>First, we defined a function called main for easier use of interact which w
176
176
  </div>
177
177
  <div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
178
178
  <div class="text_cell_render border-box-sizing rendered_html">
179
- <h3 id="Evaluation--(Home-Economy)">Evaluation (Home Economy)<a class="anchor-link" href="#Evaluation--(Home-Economy)">&#182;</a></h3><p>Finally, the code for the interaction, here the <em>interact</em> function from <em>ipywidgets</em> is used. A separate slider is used for each parameter with the default parameters set for a nice default visualization, with a description and the style and layout is used from the initialization cells.</p>
179
+ <h3 id="Evaluation---Home-Economy">Evaluation - Home Economy<a class="anchor-link" href="#Evaluation---Home-Economy">&#182;</a></h3><p>Finally, the code for the interaction, here the <em>interact</em> function from <em>ipywidgets</em> is used. A separate slider is used for each parameter with the default parameters set for a nice default visualization, with a description and the style and layout is used from the initialization cells.</p>
180
180
 
181
181
  </div>
182
182
  </div>
@@ -268,7 +268,7 @@ $$
268
268
  </div>
269
269
  <div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
270
270
  <div class="text_cell_render border-box-sizing rendered_html">
271
- <h3 id="Equation-(Homes-and-ACs)">Equation (Homes and ACs)<a class="anchor-link" href="#Equation-(Homes-and-ACs)">&#182;</a></h3>
271
+ <h3 id="Equation---Homes-and-ACs">Equation - Homes and ACs<a class="anchor-link" href="#Equation---Homes-and-ACs">&#182;</a></h3>
272
272
  </div>
273
273
  </div>
274
274
  </div>
@@ -343,7 +343,7 @@ $$
343
343
  </div>
344
344
  <div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
345
345
  <div class="text_cell_render border-box-sizing rendered_html">
346
- <h3 id="Evaluation-(Homes-and-ACs)">Evaluation (Homes and ACs)<a class="anchor-link" href="#Evaluation-(Homes-and-ACs)">&#182;</a></h3>
346
+ <h3 id="Evaluation---Homes-and-ACs">Evaluation - Homes and ACs<a class="anchor-link" href="#Evaluation---Homes-and-ACs">&#182;</a></h3>
347
347
  </div>
348
348
  </div>
349
349
  </div>
@@ -439,7 +439,7 @@ $$<p>This time the code is only changed in the variables names and the equations
439
439
  </div>
440
440
  <div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
441
441
  <div class="text_cell_render border-box-sizing rendered_html">
442
- <h3 id="Equation-(Stock-Control)">Equation (Stock Control)<a class="anchor-link" href="#Equation-(Stock-Control)">&#182;</a></h3>
442
+ <h3 id="Equation---Stock-Control">Equation - Stock Control<a class="anchor-link" href="#Equation---Stock-Control">&#182;</a></h3>
443
443
  </div>
444
444
  </div>
445
445
  </div>
@@ -511,7 +511,7 @@ $$<p>This time the code is only changed in the variables names and the equations
511
511
  </div>
512
512
  <div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
513
513
  <div class="text_cell_render border-box-sizing rendered_html">
514
- <h3 id="Evaluation--(Stock-Control)">Evaluation (Stock Control)<a class="anchor-link" href="#Evaluation--(Stock-Control)">&#182;</a></h3>
514
+ <h3 id="Evaluation---Stock-Control">Evaluation - Stock Control<a class="anchor-link" href="#Evaluation---Stock-Control">&#182;</a></h3>
515
515
  </div>
516
516
  </div>
517
517
  </div>
@@ -601,7 +601,7 @@ $$
601
601
  </div>
602
602
  <div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
603
603
  <div class="text_cell_render border-box-sizing rendered_html">
604
- <h3 id="Equation-(Useful-life)">Equation (Useful life)<a class="anchor-link" href="#Equation-(Useful-life)">&#182;</a></h3>
604
+ <h3 id="Equation---Useful-life">Equation - Useful life<a class="anchor-link" href="#Equation---Useful-life">&#182;</a></h3>
605
605
  </div>
606
606
  </div>
607
607
  </div>
@@ -705,7 +705,7 @@ after the iterations</li>
705
705
  </div>
706
706
  <div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
707
707
  <div class="text_cell_render border-box-sizing rendered_html">
708
- <h3 id="Evaluation-(Useful-life)">Evaluation (Useful life)<a class="anchor-link" href="#Evaluation-(Useful-life)">&#182;</a></h3>
708
+ <h3 id="Evaluation---Useful-life">Evaluation - Useful life<a class="anchor-link" href="#Evaluation---Useful-life">&#182;</a></h3>
709
709
  </div>
710
710
  </div>
711
711
  </div>
@@ -814,7 +814,7 @@ two species interact, one as a predator and the other as prey.</p>
814
814
  </div>
815
815
  <div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
816
816
  <div class="text_cell_render border-box-sizing rendered_html">
817
- <h3 id="Equation-(Foxes-and-Rabbits)">Equation (Foxes and Rabbits)<a class="anchor-link" href="#Equation-(Foxes-and-Rabbits)">&#182;</a></h3>
817
+ <h3 id="Equation---Foxes-and-Rabbits">Equation - Foxes and Rabbits<a class="anchor-link" href="#Equation---Foxes-and-Rabbits">&#182;</a></h3>
818
818
  </div>
819
819
  </div>
820
820
  </div>
@@ -895,7 +895,7 @@ two species interact, one as a predator and the other as prey.</p>
895
895
  </div>
896
896
  <div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
897
897
  <div class="text_cell_render border-box-sizing rendered_html">
898
- <h3 id="Evaluation-(Foxes-and-Rabbits)">Evaluation (Foxes and Rabbits)<a class="anchor-link" href="#Evaluation-(Foxes-and-Rabbits)">&#182;</a></h3>
898
+ <h3 id="Evaluation---Foxes-and-Rabbits">Evaluation - Foxes and Rabbits<a class="anchor-link" href="#Evaluation---Foxes-and-Rabbits">&#182;</a></h3>
899
899
  </div>
900
900
  </div>
901
901
  </div>