j1-template 2022.5.0.rc3 → 2022.5.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (22) hide show
  1. checksums.yaml +4 -4
  2. data/assets/data/banner.html +2 -2
  3. data/assets/themes/j1/adapter/js/masterslider.js +22 -5
  4. data/lib/j1/version.rb +1 -1
  5. data/lib/starter_web/_config.yml +3 -3
  6. data/lib/starter_web/_data/blocks/banner.yml +1 -1
  7. data/lib/starter_web/_data/modules/defaults/masterslider.yml +1 -1
  8. data/lib/starter_web/_data/modules/masterslider.yml +0 -4
  9. data/lib/starter_web/package.json +1 -1
  10. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_interactive_widgets.html +512 -512
  11. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets.html +629 -629
  12. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_bar_chart.html +95 -95
  13. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_hist_chart.html +93 -93
  14. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_line_chart.html +96 -96
  15. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_question_multiple_choice.html +70 -70
  16. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_question_short_answer.html +156 -156
  17. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_scatter_chart.html +95 -95
  18. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_scatter_drag_chart.html +93 -93
  19. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_odes_in_python.html +955 -955
  20. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  21. data/lib/starter_web/utilsrv/package.json +1 -1
  22. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 39e838a0aeee572859e25e9ea45c157e54d2165c0b2d053768a89fe95b92c8c3
4
- data.tar.gz: eb264ab982d48cd0dffecab2ba47b564c03b7dc3017c10ad7544908adb9db40a
3
+ metadata.gz: a7173ef79e84f715e03486838c2244102779d96ee7b1df98a8dbeafc45efc68f
4
+ data.tar.gz: c2d791c504edc33d015e1e671005999921214d6f7c816dd215591edb44e15c75
5
5
  SHA512:
6
- metadata.gz: 407f91dacd2a81854f898b9b5c3e37e1c810953f7cac3f3152814d68091cd198c4c8f34497574e6b9f7236936946012451d80038a5b07bb7ccbb7d24928cdd26
7
- data.tar.gz: 1f8e3906cd3d067c9fff3b4dead15f5b60a43db56a4d1660c6be0b71a98f85bb724f9a2889b04fb0731c3e5cdc0d3601e035b554c5150d7e1c808761b22bee43
6
+ metadata.gz: f0fc8302d1ae79810d901761fedd0a7fb98a2d94c4b10a43243663703228b3c374305ff602d297b8ff0dae2be11db694e6b93e6567cae72c980a291ec2f8c155
7
+ data.tar.gz: 18ae4526f6d4bc857706e631f7e1901f706d790cded6535cd14ae31ac190fd7d9554834db251317e010fb738ad93d7c6b0c89aa0c71ff700fc0ea61cac042c13
@@ -234,8 +234,8 @@ exclude_from_search: true
234
234
  <img
235
235
  class="sticker-image"
236
236
  src="/assets/images/sticker/600x600/sticker-new-version.png"
237
- alt="Get new version 2022.5.0.rc3"
238
- title="Get new version 2022.5.0.rc3"
237
+ alt="Get new version 2022.5.0.rc4"
238
+ title="Get new version 2022.5.0.rc4"
239
239
  style="width: 140px; height: 120px;"
240
240
  >
241
241
  </a>
@@ -138,10 +138,10 @@ j1.adapter.masterslider = (function (j1, window) {
138
138
  console.debug('module state: ' + _this.getState());
139
139
 
140
140
  // load HTML portion for all sliders configured
141
- console.debug('load HTML portion for all sliders configured');
141
+ console.debug('loading HTML portion for all sliders configured');
142
142
  _this.loadSliderHTML(sliderOptions, sliders);
143
143
  // create an 'MasterSlider' instance for all sliders configured
144
- console.debug('create an \'MasterSlider\' instance for all sliders configured');
144
+ console.debug('create an \'MasterSlider\' instance for all MS sliders configured');
145
145
  _this.createSliderInstances(sliders, msSliderManager);
146
146
 
147
147
  // initialize all sliders configured
@@ -149,6 +149,7 @@ j1.adapter.masterslider = (function (j1, window) {
149
149
  if (_this.getState() == 'data_loaded' && j1.getState() == 'finished') {
150
150
  logger.info('\n' + 'ms module version detected: ' + moduleVersion);
151
151
  logger.info('\n' + 'module is being initialized');
152
+ console.debug('MS slider module is being initialized');
152
153
  _this.initSliders(sliderOptions, sliders, msSliderManager, saveSliderConfig);
153
154
  clearInterval(dependencies_met_data_loaded);
154
155
  } // END dependencies_met_j1_finished
@@ -165,6 +166,7 @@ j1.adapter.masterslider = (function (j1, window) {
165
166
  if (sliderManager) document.body.appendChild(msSliderManager);
166
167
 
167
168
  logger.info('\n' + 'initializing module finished');
169
+ console.debug('initializing MS slider module finished');
168
170
  clearInterval(dependencies_met_module_finished);
169
171
  } // END dependencies_met_j1_finished
170
172
  }, 25);
@@ -214,16 +216,24 @@ j1.adapter.masterslider = (function (j1, window) {
214
216
  createSliderInstances: function (sliders, sliderManager) {
215
217
  var msSliderManager = sliderManager;
216
218
  var numSliders = Object.keys(sliders).length;
219
+ var msSliderManagerItem;
220
+
221
+ // add jQuery ready() function once
222
+ if (sliderManager) {
223
+ msSliderManagerItem = '$(function() {' + '\n';
224
+ msSliderManagerItem += ' console.debug("initializing MS slider manager");' + '\n';
225
+ msSliderManagerItem += '\n';
226
+ msSliderManager.innerHTML = msSliderManagerItem;
227
+ }
217
228
 
218
229
  var i=0;
219
230
  Object.keys(sliders).forEach(function(key) {
220
- var msSliderManagerItem;
221
231
  i++;
222
232
  console.debug('create slider instance on id: ' + sliders[key].id);
223
233
 
224
234
  if (sliderManager) {
225
- msSliderManagerItem = 'var masterslider_' + i + ' = new MasterSlider();' + '\n';
226
- msSliderManager.innerHTML += msSliderManagerItem;
235
+ msSliderManagerItem = ' var masterslider_' + i + ' = new MasterSlider();' + '\n';
236
+ msSliderManager.innerHTML += msSliderManagerItem;
227
237
  } else {
228
238
  _this["masterslider_" + i] = new MasterSlider();
229
239
  }
@@ -392,6 +402,13 @@ j1.adapter.masterslider = (function (j1, window) {
392
402
  }
393
403
  });
394
404
 
405
+ // close jQuery ready() function once
406
+
407
+ var msSliderManagerItem;
408
+ msSliderManagerItem = '\n' + ' console.debug("initializing MS slider manager finished");' + '\n';
409
+ msSliderManagerItem += '});' + '\n';
410
+ msSliderManager.innerHTML += msSliderManagerItem + '\n';
411
+
395
412
  _this.setState('sliders_initialized');
396
413
  logger.debug('\n' + 'state: ' + _this.getState());
397
414
  logger.info('\n' + 'initializing sliders finished');
data/lib/j1/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module J1
2
- VERSION = '2022.5.0.rc3'
2
+ VERSION = '2022.5.0.rc4'
3
3
  end
@@ -55,7 +55,7 @@ environment: development
55
55
  # ------------------------------------------------------------------------------
56
56
  # Sets the build version of J1 Template Gem
57
57
  #
58
- version: 2022.5.0.rc3
58
+ version: 2022.5.0.rc4
59
59
 
60
60
  # version
61
61
  # ------------------------------------------------------------------------------
@@ -435,8 +435,8 @@ sass:
435
435
  #
436
436
  webrick:
437
437
  headers:
438
- X-J1-Template: v2022.5.0.rc2
439
- X-Builder-Engine-Powered-By: Jekyll v4.2.2
438
+ X-Builder-Template: J1 Template
439
+ X-Builder-Engine: Jekyll
440
440
 
441
441
  # ------------------------------------------------------------------------------
442
442
  # POSTS Management
@@ -113,7 +113,7 @@ settings:
113
113
  # id: new-version
114
114
  # image: /assets/images/sticker/600x600/sticker-new-version.png
115
115
  # size: 200
116
- # title: Get new version 2022.5.0.rc3
116
+ # title: Get new version 2022.5.0.rc4
117
117
  # style: "width: 140px; height: 120px;"
118
118
  # href: "https://rubygems.org/gems/j1-template"
119
119
  # target: blank
@@ -27,7 +27,7 @@ defaults:
27
27
  xhr_data_path: /assets/data/masterslider
28
28
  module_version: lite # lite | pro
29
29
  save_slider_config: true
30
- slider_manager: false
30
+ slider_manager: true
31
31
 
32
32
  icon_family: MDI
33
33
  icon_class: false # false | fas | fab (Fontawsesome only)
@@ -24,10 +24,6 @@ description:
24
24
  #
25
25
  settings:
26
26
 
27
- module_version: lite # lite | pro
28
- save_slider_config: true
29
- slider_manager: false
30
-
31
27
  # ----------------------------------------------------------------------------
32
28
  # Sliders
33
29
  # ----------------------------------------------------------------------------
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": true,
3
3
  "name": "j1",
4
- "version": "2022.5.0-rc3",
4
+ "version": "2022.5.0-rc4",
5
5
  "description": "J1 Template Starter Web",
6
6
  "homepage": "https://your.site",
7
7
  "author": {