j1-template 2024.1.5 → 2024.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (195) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_page.html +0 -34
  3. data/_includes/themes/j1/modules/searcher/generator.html +4 -1
  4. data/_includes/themes/j1/modules/searcher/procedures/topsearch.proc +59 -56
  5. data/assets/data/authclient.html +1 -8
  6. data/assets/data/banner.html +1 -7
  7. data/assets/data/fab.html +2 -13
  8. data/assets/data/footer.html +0 -3
  9. data/assets/data/galeries.html +2 -13
  10. data/assets/data/gemini-ui.html +74 -21
  11. data/assets/data/iframes.html +1 -4
  12. data/assets/data/masonry.html +1 -13
  13. data/assets/data/masterslider.html +10 -21
  14. data/assets/data/menu.html +6 -14
  15. data/assets/data/mmenu.html +6 -5
  16. data/assets/data/mmenu_toc.html +2 -1
  17. data/assets/data/panel.html +4 -11
  18. data/assets/data/particles.yml +8 -8
  19. data/assets/data/quicklinks.html +4 -23
  20. data/assets/data/rtext_resizer.html +3 -1
  21. data/assets/data/slick.html +9 -11
  22. data/assets/data/translator.html +0 -1
  23. data/assets/themes/j1/adapter/js/advertising.js +143 -182
  24. data/assets/themes/j1/adapter/js/algolia.js +61 -54
  25. data/assets/themes/j1/adapter/js/analytics.js +68 -52
  26. data/assets/themes/j1/adapter/js/asciidoctor.js +32 -20
  27. data/assets/themes/j1/adapter/js/attic.js +75 -69
  28. data/assets/themes/j1/adapter/js/bmd.js +44 -26
  29. data/assets/themes/j1/adapter/js/carousel.js +117 -92
  30. data/assets/themes/j1/adapter/js/chatbot.js +77 -35
  31. data/assets/themes/j1/adapter/js/clipboard.js +67 -49
  32. data/assets/themes/j1/adapter/js/comments.js +93 -70
  33. data/assets/themes/j1/adapter/js/cookieConsent.js +157 -159
  34. data/assets/themes/j1/adapter/js/customFunctions.js +52 -35
  35. data/assets/themes/j1/adapter/js/customModule.js +61 -50
  36. data/assets/themes/j1/adapter/js/docsearch.js +55 -34
  37. data/assets/themes/j1/adapter/js/dropdowns.js +66 -52
  38. data/assets/themes/j1/adapter/js/fab.js +124 -109
  39. data/assets/themes/j1/adapter/js/gallery.js +68 -49
  40. data/assets/themes/j1/adapter/js/gemini.js +961 -301
  41. data/assets/themes/j1/adapter/js/iconPicker.js +76 -54
  42. data/assets/themes/j1/adapter/js/iconPickerPage.js +279 -0
  43. data/assets/themes/j1/adapter/js/iframer.js +84 -63
  44. data/assets/themes/j1/adapter/js/j1.js +605 -542
  45. data/assets/themes/j1/adapter/js/lazyLoader.js +43 -24
  46. data/assets/themes/j1/adapter/js/lightbox.js +53 -52
  47. data/assets/themes/j1/adapter/js/logger.js +78 -66
  48. data/assets/themes/j1/adapter/js/lunr.js +684 -86
  49. data/assets/themes/j1/adapter/js/masonry.js +84 -68
  50. data/assets/themes/j1/adapter/js/masterslider.js +136 -137
  51. data/assets/themes/j1/adapter/js/mmenu.js +102 -66
  52. data/assets/themes/j1/adapter/js/navigator.js +291 -356
  53. data/assets/themes/j1/adapter/js/particles.js +62 -40
  54. data/assets/themes/j1/adapter/js/rangeSlider.js +66 -48
  55. data/assets/themes/j1/adapter/js/rouge.js +63 -44
  56. data/assets/themes/j1/adapter/js/rtable.js +56 -40
  57. data/assets/themes/j1/adapter/js/rtextResizer.js +57 -44
  58. data/assets/themes/j1/adapter/js/scroller.js +170 -133
  59. data/assets/themes/j1/adapter/js/slick.js +99 -97
  60. data/assets/themes/j1/adapter/js/slimSelect.js +288 -0
  61. data/assets/themes/j1/adapter/js/speak2me.js +124 -128
  62. data/assets/themes/j1/adapter/js/themeToggler.js +118 -97
  63. data/assets/themes/j1/adapter/js/{themer.js → themes.js} +144 -113
  64. data/assets/themes/j1/adapter/js/toccer.js +88 -54
  65. data/assets/themes/j1/adapter/js/translator.js +74 -70
  66. data/assets/themes/j1/adapter/js/waves.js +75 -58
  67. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +29 -11
  68. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +2 -2
  69. data/assets/themes/j1/core/js/template.js +474 -420
  70. data/assets/themes/j1/core/js/template.min.js +7 -7
  71. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  72. data/assets/themes/j1/modules/carousel/css/theme/uno.css +4 -4
  73. data/assets/themes/j1/modules/carousel/css/theme/uno.min.css +1 -1
  74. data/assets/themes/j1/modules/clipboard/js/clipboard.js +0 -1
  75. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +27 -21
  76. data/assets/themes/j1/modules/iconPicker/css/theme/uno.css +58 -0
  77. data/assets/themes/j1/modules/iconPicker/css/theme/uno.min.css +16 -0
  78. data/assets/themes/j1/modules/iconPicker/js/universal-icon-picker.0.js +493 -0
  79. data/assets/themes/j1/modules/iconPicker/js/universal-icon-picker.js +7 -7
  80. data/assets/themes/j1/modules/js-cookies/js/js.cookie.js +147 -0
  81. data/assets/themes/j1/modules/js-cookies/js/js.cookie.min.js +2 -0
  82. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-video.js +4 -4
  83. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-video.min.js +2 -10
  84. data/assets/themes/j1/modules/lunr/css/j1.css +12 -6
  85. data/assets/themes/j1/modules/lunr/css/j1.min.css +1 -1
  86. data/assets/themes/j1/modules/lunr/js/j1.js +46 -43
  87. data/assets/themes/j1/modules/lunr/js/j1.min.js +1 -1
  88. data/assets/themes/j1/modules/masterslider/js/masterslider.js +1 -1
  89. data/assets/themes/j1/modules/scroller/js/scroller.js +64 -74
  90. data/assets/themes/j1/modules/scroller/js/scroller.min.js +1 -1
  91. data/assets/themes/j1/modules/slick/slider/css/theme/uno.css +4 -4
  92. data/assets/themes/j1/modules/slick/slider/css/theme/uno.min.css +1 -1
  93. data/assets/themes/j1/modules/slimSelect/js/select.js +1865 -1821
  94. data/assets/themes/j1/modules/slimSelect/js/select.min.js +2 -1
  95. data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +87 -89
  96. data/assets/themes/j1/modules/themeSwitcher/js/switcher.min.js +1 -1
  97. data/assets/themes/j1/modules/videojs/js/plugins/vm/api/player.min.js +5 -7
  98. data/assets/themes/j1/modules/videojs/js/plugins/vm/api/v2.20.1/player.min.js +23 -0
  99. data/lib/j1/version.rb +1 -1
  100. data/lib/starter_web/Gemfile +2 -2
  101. data/lib/starter_web/README.md +5 -5
  102. data/lib/starter_web/_config.yml +1 -1
  103. data/lib/starter_web/_data/blocks/_panel.yml +775 -0
  104. data/lib/starter_web/_data/blocks/panel.yml +53 -53
  105. data/lib/starter_web/_data/j1_config.yml +3 -2
  106. data/lib/starter_web/_data/layouts/default.yml +0 -2
  107. data/lib/starter_web/_data/modules/_scroller.yml +102 -0
  108. data/lib/starter_web/_data/modules/carousel.yml +3 -3
  109. data/lib/starter_web/_data/modules/defaults/attics.yml +5 -5
  110. data/lib/starter_web/_data/modules/defaults/docsearch.yml +1 -1
  111. data/lib/starter_web/_data/modules/defaults/gemini.yml +204 -46
  112. data/lib/starter_web/_data/modules/defaults/{iconPicker.yml → icon_picker.yml} +6 -12
  113. data/lib/starter_web/_data/modules/defaults/lunr.yml +20 -5
  114. data/lib/starter_web/_data/modules/defaults/masterslider.yml +4 -4
  115. data/lib/starter_web/_data/modules/defaults/navigator.yml +20 -24
  116. data/lib/starter_web/_data/modules/defaults/particles.yml +3 -3
  117. data/lib/starter_web/_data/modules/defaults/slim_select.yml +54 -0
  118. data/lib/starter_web/_data/modules/defaults/{themer.yml → themes.yml} +10 -10
  119. data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
  120. data/lib/starter_web/_data/modules/gallery.yml +33 -38
  121. data/lib/starter_web/_data/modules/gemini.yml +42 -3
  122. data/lib/starter_web/_data/modules/{iconPicker.yml → icon_picker.yml} +31 -3
  123. data/lib/starter_web/_data/modules/lunr.yml +12 -1
  124. data/lib/starter_web/_data/modules/masonry.yml +37 -38
  125. data/lib/starter_web/_data/modules/masterslider.yml +78 -95
  126. data/lib/starter_web/_data/modules/navigator_menu.yml +12 -20
  127. data/lib/starter_web/_data/modules/particles.yml +3 -3
  128. data/lib/starter_web/_data/modules/scroller.yml +3 -3
  129. data/lib/starter_web/_data/modules/slim_select.yml +110 -0
  130. data/lib/starter_web/_data/modules/{themer.yml → themes.yml} +4 -4
  131. data/lib/starter_web/_data/resources.yml +83 -47
  132. data/lib/starter_web/_data/templates/feed.xml +1 -1
  133. data/lib/starter_web/_includes/attributes.asciidoc +354 -355
  134. data/lib/starter_web/_plugins/asciidoctor/gemini-ui-block.rb +1 -1
  135. data/lib/starter_web/_plugins/asciidoctor/slim-select-block.rb +45 -0
  136. data/lib/starter_web/_plugins/index/lunr.rb +1 -1
  137. data/lib/starter_web/collections/asciidoc_skeletons/simple-post/_posts/yyyy-mm-dd-your-post-name.asciidoc +5 -2
  138. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +3 -3
  139. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +9 -9
  140. data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-static-site-generators.adoc +4 -4
  141. data/lib/starter_web/collections/posts/public/featured/_posts/2022-02-01-about-j1.adoc +3 -2
  142. data/lib/starter_web/collections/posts/public/featured/_posts/2023-10-18-url-types.adoc +12 -12
  143. data/lib/starter_web/package.json +1 -1
  144. data/lib/starter_web/pages/public/about/features.adoc +1 -1
  145. data/lib/starter_web/pages/public/about/reporting_issues.adoc +1 -0
  146. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/attributes.asciidoc +44 -44
  147. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +1 -0
  148. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/attributes.asciidoc +12 -12
  149. data/lib/starter_web/pages/public/blog/navigator/archive/allview.html +1 -1
  150. data/lib/starter_web/pages/public/{legal/learn → learn}/roundtrip/_includes/attributes.asciidoc +42 -28
  151. data/lib/starter_web/pages/public/{legal/learn → learn}/roundtrip/highlghter_rouge.adoc +1 -0
  152. data/lib/starter_web/pages/public/{legal/learn → learn}/roundtrip/lunr_search.adoc +1 -0
  153. data/lib/starter_web/pages/public/{legal/learn → learn}/roundtrip/present_audio_video.adoc +18 -2
  154. data/lib/starter_web/pages/public/{legal/learn → learn}/roundtrip/present_images.adoc +43 -50
  155. data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +6 -11
  156. data/lib/starter_web/pages/public/legal/en/200_impress.adoc +4 -11
  157. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +5 -12
  158. data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +5 -10
  159. data/lib/starter_web/pages/public/tools/previewer/_includes/attributes.asciidoc +10 -9
  160. data/lib/starter_web/pages/public/tools/previewer/preview_bootstrap_theme.adoc +77 -75
  161. metadata +52 -46
  162. data/lib/starter_web/pages/public/manuals/integrations/gemini/_includes/attributes.asciidoc +0 -47
  163. data/lib/starter_web/pages/public/manuals/integrations/gemini/_includes/documents/preview_google_adsense.asciidoc +0 -448
  164. data/lib/starter_web/pages/public/manuals/integrations/gemini/_includes/documents/readme +0 -0
  165. data/lib/starter_web/pages/public/manuals/integrations/gemini/_includes/tables/readme +0 -0
  166. data/lib/starter_web/pages/public/manuals/integrations/gemini/gemini.adoc +0 -525
  167. data/lib/starter_web/pages/public/manuals/integrations/gemini/security.asccidoc +0 -274
  168. data/lib/starter_web/pages/public/manuals/integrations/gemini/security.hrml +0 -560
  169. /data/lib/starter_web/pages/public/{legal/learn → learn}/bookshelf/article_previewer/viewer_biography.adoc +0 -0
  170. /data/lib/starter_web/pages/public/{legal/learn → learn}/bookshelf/article_previewer/viewer_fantasy.adoc +0 -0
  171. /data/lib/starter_web/pages/public/{legal/learn → learn}/bookshelf/article_previewer/viewer_romance.adoc +0 -0
  172. /data/lib/starter_web/pages/public/{legal/learn → learn}/bookshelf/jekyll_collections.adoc +0 -0
  173. /data/lib/starter_web/pages/public/{legal/learn → learn}/bookshelf/viewer_all_books.adoc +0 -0
  174. /data/lib/starter_web/pages/public/{legal/learn → learn}/roundtrip/_includes/documents/100_gistblock.asciidoc +0 -0
  175. /data/lib/starter_web/pages/public/{legal/learn → learn}/roundtrip/_includes/documents/410_bottom_info.asciidoc +0 -0
  176. /data/lib/starter_web/pages/public/{legal/learn → learn}/roundtrip/_includes/documents/410_bottom_left_warning.asciidoc +0 -0
  177. /data/lib/starter_web/pages/public/{legal/learn → learn}/roundtrip/_includes/documents/410_bottom_right_danger.asciidoc +0 -0
  178. /data/lib/starter_web/pages/public/{legal/learn → learn}/roundtrip/_includes/documents/410_central_success.asciidoc +0 -0
  179. /data/lib/starter_web/pages/public/{legal/learn → learn}/roundtrip/_includes/documents/410_full_height_left_info.asciidoc +0 -0
  180. /data/lib/starter_web/pages/public/{legal/learn → learn}/roundtrip/_includes/documents/410_full_height_right_success.asciidoc +0 -0
  181. /data/lib/starter_web/pages/public/{legal/learn → learn}/roundtrip/_includes/documents/410_table_bs_modal_examples.asciidoc +0 -0
  182. /data/lib/starter_web/pages/public/{legal/learn → learn}/roundtrip/_includes/documents/410_top_info.asciidoc +0 -0
  183. /data/lib/starter_web/pages/public/{legal/learn → learn}/roundtrip/_includes/documents/410_top_left_info.asciidoc +0 -0
  184. /data/lib/starter_web/pages/public/{legal/learn → learn}/roundtrip/_includes/documents/410_top_right_success.asciidoc +0 -0
  185. /data/lib/starter_web/pages/public/{legal/learn → learn}/roundtrip/_includes/documents/419_advanced_modals_demo.asciidoc +0 -0
  186. /data/lib/starter_web/pages/public/{legal/learn → learn}/roundtrip/_includes/documents/tables/bs_modal_examples.asciidoc +0 -0
  187. /data/lib/starter_web/pages/public/{legal/learn → learn}/roundtrip/_includes/documents/themes_bootstrap.asciidoc +0 -0
  188. /data/lib/starter_web/pages/public/{legal/learn → learn}/roundtrip/_includes/documents/themes_rouge.asciidoc +0 -0
  189. /data/lib/starter_web/pages/public/{legal/learn → learn}/roundtrip/asciidoc_extensions.adoc +0 -0
  190. /data/lib/starter_web/pages/public/{legal/learn → learn}/roundtrip/bootstrap_themes.adoc +0 -0
  191. /data/lib/starter_web/pages/public/{legal/learn → learn}/roundtrip/icon_fonts.adoc +0 -0
  192. /data/lib/starter_web/pages/public/{legal/learn → learn}/roundtrip/modal_extentions.adoc +0 -0
  193. /data/lib/starter_web/pages/public/{legal/learn → learn}/roundtrip/responsive_tables.adoc +0 -0
  194. /data/lib/starter_web/pages/public/{legal/learn → learn}/roundtrip/typography.adoc +0 -0
  195. /data/lib/starter_web/pages/public/{legal/learn → learn}/where_to_go.adoc +0 -0
@@ -25,63 +25,174 @@ description:
25
25
  defaults:
26
26
 
27
27
  # ----------------------------------------------------------------------------
28
- # Settings
28
+ # Settings|Descriptions
29
29
  #
30
30
  # enabled
31
31
  # --------------------------------------------------------------------------
32
- # Enables or disables the Ad services. If disabled, no ads services are
33
- # enabled and no unit container get initialized on any page.
32
+ # Enables or disables the module. If disabled, the Gemini module is NOT
33
+ # loaded and no SERVICES are available on ANY PAGE.
34
34
  #
35
35
  # values: [true|false]
36
36
  # default: false
37
37
  #
38
- # detectGeoLocation
39
- # --------------------------------------------------------------------------
40
- # Enable|Disable the detection of the current GeoLocation.
41
- #
42
- # values: false|true
43
- # default: false
44
- #
45
38
  # xhr_data_path
46
39
  # --------------------------------------------------------------------------
47
40
  # Full path of the HTML data file loaded|processed for the Gemini UI.
48
41
  #
49
- # values: string
42
+ # value: string
50
43
  # default: /assets/data/gemini-ui/index.html
51
44
  #
52
45
  # xhr_container_id
53
46
  # --------------------------------------------------------------------------
54
47
  # ID of the container element the UI is placed.
55
48
  #
56
- # values: string
49
+ # value: string
57
50
  # default: gemini_ui
58
51
  #
59
52
  # xhr_data_element
60
53
  # --------------------------------------------------------------------------
61
54
  # ID of the container element the UI is being read.
62
55
  #
63
- # values: string
56
+ # value: string
64
57
  # default: gemini_ui_container
65
58
  #
66
- # xhr_container_id
59
+ # detect_geo_location
67
60
  # --------------------------------------------------------------------------
68
- # ID of the container element the UI is placed.
61
+ # Enable|Disable the detection of the current GeoLocation.
62
+ #
63
+ # values: [true|false]
64
+ # default: false
65
+ #
66
+ # prompt_id
67
+ # --------------------------------------------------------------------------
68
+ # ID of the input element (textarea)
69
69
  #
70
70
  # values: string
71
- # default: gemini_ui
71
+ # default: prompt
72
72
  #
73
- # apiKey
73
+ # prompt_history_id
74
74
  # --------------------------------------------------------------------------
75
- # API key to be used for the Google Gemini API.
75
+ # ID of the prompt history SELECT element. The ID equals 'id' in
76
+ # slim_select USER config (slim_select.yml) for the select requested.
76
77
  #
77
78
  # values: string
78
- # default: <your-api-key> (placeholder)
79
+ # default: prompt_history
80
+ #
81
+ # prompt_history_wrapper_id
82
+ # --------------------------------------------------------------------------
83
+ # ID of the promot history CONTAINER element. The ID equals 'wrapper_id'
84
+ # in slim_select USER config (slim_select.yml) for the select requested.
85
+ #
86
+ # values: string
87
+ # default: prompt_history_select_wrapper
88
+ #
89
+ # prompt_history_max
90
+ # --------------------------------------------------------------------------
91
+ # Limit the NUMBER of history elements.
92
+ #
93
+ # values: integer [1 .. 30]
94
+ # default: 30
95
+ #
96
+ # prompt_history_enabled
97
+ # --------------------------------------------------------------------------
98
+ # Enable|Disable the usage of the prompt history. If set to false.
99
+ # NO prompt histoty is used.
100
+ #
101
+ # values: [true|false]
102
+ # default: false
103
+ #
104
+ # prompt_history_from_cookie
105
+ # --------------------------------------------------------------------------
106
+ # Enable|Disable to write|read the prompt history a cookie (j1.chat_prompt).
107
+ #
108
+ # values: [true|false]
109
+ # default: false
110
+ #
111
+ # allow_prompt_history_updates_on_max
112
+ # --------------------------------------------------------------------------
113
+ # If set to 'true', duplicates allowed in the prompt history.
114
+ # If set to 'false', duplicates are removed from the prompt history.
115
+ #
116
+ # values: [true|false]
117
+ # default: true
118
+ #
119
+ # prompt
120
+ # --------------------------------------------------------------------------
121
+ # Configureste UI input element (textarea).
122
+ #
123
+ # values:
124
+ #
125
+ # size:
126
+ # ------------------------------------------------------------------------
127
+ # Sets the SIZE of the input element (textarea) measured in LINES.
128
+ #
129
+ # value: integer
130
+ # default: 7
131
+ #
132
+ # title:
133
+ # ------------------------------------------------------------------------
134
+ # Sets the TITLE placed above the input element.
135
+ #
136
+ # value: string
137
+ # default: Your request
138
+ #
139
+ # default:
140
+ # ------------------------------------------------------------------------
141
+ # Sets the PROMPT for a request if the input element is EMPTY.
142
+ #
143
+ # value: string
144
+ # default: Please provide tips on how using the prompt
145
+ # for a chat bot.
146
+ # placeholder:
147
+ # ------------------------------------------------------------------------
148
+ # Sets the PLACEHOLDER for the input element.
149
+ #
150
+ # value: string
151
+ # default: Please enter a clear and concise text that conveys
152
+ # the task or question you want the chatbot to perform.
153
+ #
154
+ # buttons
155
+ # --------------------------------------------------------------------------
156
+ # Configures the UI BUTTON elements. Settingd should NOT changed.
157
+ #
158
+ # titles
159
+ # --------------------------------------------------------------------------
160
+ # Configureste UI TITLE elements.
161
+ #
162
+ # result:
163
+ # ------------------------------------------------------------------------
164
+ # Sets the TITLE of the RESPONSE container element.
165
+ #
166
+ # value: string
167
+ # default: Response
168
+ #
169
+ # request_history:
170
+ # ------------------------------------------------------------------------
171
+ # Sets the TITLE of the REQUEST HISTORY container element.
172
+ #
173
+ # value: string
174
+ # default: Request history
175
+ #
176
+ # errorInfo:
177
+ # ------------------------------------------------------------------------
178
+ # Sets the TITLE of the ERROR element (modal).
179
+ #
180
+ # value: string
181
+ # default: API request failure
182
+ #
183
+ # buttons
184
+ # --------------------------------------------------------------------------
185
+ # Configures the UI BUTTON elements. Button settingd should NOT changed.
186
+ #
187
+ # api_options
188
+ # --------------------------------------------------------------------------
189
+ # Configures avaialve options to control the Gemini API-
79
190
  #
80
191
  # responseLengthMin
81
192
  # --------------------------------------------------------------------------
82
193
  # Minimum number of characters returned by the Google Gemini API.
83
194
  #
84
- # values: integer
195
+ # value: integer
85
196
  # default: 10
86
197
  #
87
198
  # enableCandidateFeedback
@@ -115,51 +226,98 @@ defaults:
115
226
  #
116
227
  # ----------------------------------------------------------------------------
117
228
  #
229
+ # ----------------------------------------------------------------------------
230
+ # GENERAL options
231
+ # ----------------------------------------------------------------------------
232
+ #
118
233
  enabled: false
119
234
 
120
- detectGeoLocation: false
235
+ xhr_data_path: /assets/data/gemini-ui/index.html
236
+ xhr_container_id: gemini_ui
237
+ xhr_data_element: gemini_ui_container
121
238
 
239
+ detect_geo_location: false
240
+
241
+ prompt_id: prompt
242
+ prompt_history_id: prompt_history
243
+ prompt_history_wrapper_id: prompt_history_select_wrapper
244
+
245
+ # ----------------------------------------------------------------------------
246
+ # MODULE options
247
+ # ----------------------------------------------------------------------------
248
+ #
249
+ prompt_history_max: 30
250
+ prompt_history_enabled: false
251
+ prompt_history_from_cookie: true
252
+ allow_prompt_history_updates_on_max: true
253
+
254
+ # UI prompt (input)
255
+ # ----------------------------------------------------------------------------
122
256
  prompt:
123
- title: Your request
124
- default: Please provide tips on how using the prompt for a chat bot.
125
- placeholder: Please enter a clear and concise text that conveys the task or question you want the chatbot to perform.
126
257
  size: 7
258
+ title: Prompt
259
+ default: >
260
+ Please provide tips on how to use a prompt
261
+ for the chatbot
262
+ placeholder: >
263
+ Please enter a text describing the task or question
264
+ for which the chatbot should process
127
265
 
266
+ # UI buttons
267
+ # ----------------------------------------------------------------------------
128
268
  buttons:
129
- generate: Generate
130
- reset: Reset
269
+ generate:
270
+ id: send
271
+ name: Process prompt
272
+ reset:
273
+ id: reset
274
+ name: Clear prompt
275
+ clear:
276
+ id: clear
277
+ name: Clear last prompts
131
278
 
279
+ # UI titles
280
+ # ----------------------------------------------------------------------------
132
281
  titles:
133
282
  result: Response
283
+ request_history: Last Prompts
134
284
  errorInfo: API request failure
135
285
 
286
+ # Gemini API errors
287
+ # ----------------------------------------------------------------------------
136
288
  errors:
137
289
  http400: Location is not supported
138
290
  http500: Service currently not available
139
291
 
140
- xhr_data_path: /assets/data/gemini-ui/index.html
141
- xhr_container_id: gemini_ui
142
- xhr_data_element: gemini_ui_container
143
-
144
292
  # ----------------------------------------------------------------------------
145
293
  # Gemini API options
146
294
  # ----------------------------------------------------------------------------
147
- apiKey: <your-api-key>
148
-
149
- responseLengthMin: 10
150
- enableCandidateFeedback: true
151
-
152
- safetyRatings:
153
- HARM_CATEGORY_DANGEROUS_CONTENT: BLOCK_MEDIUM_AND_ABOVE
154
- HARM_CATEGORY_HARASSMENT: BLOCK_ONLY_HIGH
155
- HARM_CATEGORY_HATE_SPEECH: BLOCK_ONLY_HIGH
156
- HARM_CATEGORY_SEXUALLY_EXPLICIT: BLOCK_NONE
157
-
158
- candidateRatings:
159
- HARM_CATEGORY_DANGEROUS_CONTENT: BLOCK_MEDIUM_AND_ABOVE
160
- HARM_CATEGORY_HARASSMENT: BLOCK_ONLY_HIGH
161
- HARM_CATEGORY_HATE_SPEECH: BLOCK_ONLY_HIGH
162
- HARM_CATEGORY_SEXUALLY_EXPLICIT: BLOCK_NONE
295
+ #
296
+ api_options:
297
+ model: gemini-pro # gemini-pro (text only) | gemini-pro-vision (requires text and images)
298
+ maxApiRetries: 3
299
+
300
+ responseLengthMin: 10
301
+ enableCandidateFeedback: true
302
+
303
+ generationConfig:
304
+ candidateCount: 1 # currentely fixed to 1
305
+ maxOutputTokens: 65536 # 32k:32768
306
+ temperature: 0.5
307
+ topK: 40
308
+ topP: 0.5
309
+
310
+ safetyRatings:
311
+ HARM_CATEGORY_DANGEROUS_CONTENT: BLOCK_MEDIUM_AND_ABOVE
312
+ HARM_CATEGORY_HARASSMENT: BLOCK_ONLY_HIGH
313
+ HARM_CATEGORY_HATE_SPEECH: BLOCK_ONLY_HIGH
314
+ HARM_CATEGORY_SEXUALLY_EXPLICIT: BLOCK_NONE
315
+
316
+ candidateRatings:
317
+ HARM_CATEGORY_DANGEROUS_CONTENT: BLOCK_MEDIUM_AND_ABOVE
318
+ HARM_CATEGORY_HARASSMENT: BLOCK_ONLY_HIGH
319
+ HARM_CATEGORY_HATE_SPEECH: BLOCK_ONLY_HIGH
320
+ HARM_CATEGORY_SEXUALLY_EXPLICIT: BLOCK_NONE
163
321
 
164
322
  # ------------------------------------------------------------------------------
165
323
  # END config
@@ -24,19 +24,13 @@ description:
24
24
  #
25
25
  defaults:
26
26
  enabled: false
27
- picker_button_id: icon_picker
28
27
 
29
- iconLibraries: [
30
- mdi-icons-base.min.json,
31
- mdi-icons-light.min.json,
32
- font-awesome.min.json
33
- ]
34
-
35
- iconLibrariesCss: [
36
- https://cdnjs.cloudflare.com/ajax/libs/MaterialDesign-Webfont/7.2.96/css/materialdesignicons.min.css,
37
- https://cdn.jsdelivr.net/npm/@mdi/light-font@0.2.63/css/materialdesignicons-light.min.css,
38
- https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css
39
- ]
28
+ # ----------------------------------------------------------------------------
29
+ # API options
30
+ # ----------------------------------------------------------------------------
31
+ #
32
+ api_options:
33
+ allowEmpty: false
40
34
 
41
35
  # ------------------------------------------------------------------------------
42
36
  # END config
@@ -23,8 +23,17 @@ description:
23
23
  # Default settings
24
24
  #
25
25
  defaults:
26
+
27
+ # ----------------------------------------------------------------------------
28
+ # GENERAL options
29
+ # ----------------------------------------------------------------------------
30
+ #
26
31
  enabled: false
27
32
 
33
+ # ----------------------------------------------------------------------------
34
+ # MODULE options
35
+ # ----------------------------------------------------------------------------
36
+ #
28
37
  placement: navbar
29
38
  target: _blank
30
39
  rebuild: false
@@ -51,20 +60,26 @@ defaults:
51
60
  #
52
61
  emptyMsg: # '<p style="margin-left: 3.5rem">No matches.</p>'
53
62
 
54
-
55
63
  # ----------------------------------------------------------------------------
56
- # TopSearch
57
- #
64
+ # Search options
65
+ # ----------------------------------------------------------------------------
58
66
  topsearch:
59
67
  enabled: false
60
68
 
69
+ search_history_max: 30
70
+ search_history_enabled: false
71
+ search_history_from_cookie: true
72
+ allow_history_updates_on_max: true
73
+
74
+ search_history_id: search_history
75
+ search_history_wrapper_id: search_history_select_wrapper
76
+
61
77
  container_id: search_modal
62
78
  type: quicksearch # quicksearch | elasticsearch
63
79
  icon_family: mdib
64
- icon_color: "#FFFFFF" # md-white
80
+ icon_color: var(--bs-white)
65
81
  icon_size: mdib-2x
66
82
  search_icon: magnify
67
- close_icon: close
68
83
  clear_icon: format-clear
69
84
  input_color: rgba(0, 0, 0, 0.7) # rgba-darken-700
70
85
  background_color: transparent # md-grey-50
@@ -32,7 +32,7 @@ defaults:
32
32
 
33
33
  icon_family: mdib
34
34
  icon_class: false # false | fas | fab (Fontawsesome only)
35
- icon_color: '#1E88E5' # md-blue-600
35
+ icon_color: var(--bs-blue)
36
36
  icon_size: 2x
37
37
 
38
38
  # ----------------------------------------------------------------------------
@@ -114,7 +114,7 @@ defaults:
114
114
  dir: h
115
115
  inset: false
116
116
  align: bottom
117
- color: '#3D3D3D'
117
+ color: var(--md-gray-800)
118
118
  hideUnder: null
119
119
  margin: 10
120
120
  width: 4
@@ -123,7 +123,7 @@ defaults:
123
123
  enabled: false
124
124
  autohide: false
125
125
  overVideo: true
126
- color: '#A2A2A2'
126
+ color: var(--md-gray-300)
127
127
  radius: 4
128
128
  stroke: 10
129
129
  hideUnder: null
@@ -132,7 +132,7 @@ defaults:
132
132
  enabled: false
133
133
  autohide: false
134
134
  overVideo: true
135
- color: '#FFFFFF'
135
+ color: var(--bs-white)
136
136
  hideUnder: null
137
137
  align: bottom
138
138
  inset: false
@@ -65,7 +65,7 @@ defaults:
65
65
  icon_color: mdib-grey
66
66
  icon_size: mdib-sm
67
67
 
68
- nav_primary_color: "#2196F3" # md-blue, general color for navbar and nav-menus
68
+ nav_primary_color: var(--md-blue)
69
69
 
70
70
  # ----------------------------------------------------------------------------
71
71
  # NavBar
@@ -84,14 +84,14 @@ defaults:
84
84
  fixed: true
85
85
  style: overlay
86
86
  color: light
87
- nav_item_color: '#212121' # gray-900|rgba-lighten
88
- nav_item_color_hover: '#EEEEEE' # gray-200|rgba-lighten-400
89
- nav_item_background_image: 'linear-gradient(#afabab, #1c1c1c 40%, #212121);'
87
+ nav_item_color: var(--md-gray-900)
88
+ nav_item_color_hover: var(--md-gray-300)
89
+ nav_item_background_image: "linear-gradient(var(--md-gray-500), var(--md-gray-900) 60%, var(--md-gray-900));"
90
90
  position: left
91
91
  bottom_line_height: 1
92
- bottom_line_color: "#EEEEEE" # md-grey-200
93
- background_color_full: 'rgba(255, 255, 255, 0.8)' # rgba(0, 0, 0, 0.8) lighten-800
94
- background_color_scrolled: 'var(--bs-primary)' # default: theme|bs-primary
92
+ bottom_line_color: var(--md-gray-300)
93
+ background_color_full: rgba(255, 255, 255, 0.8) # darken-800
94
+ background_color_scrolled: var(--md-blue)
95
95
 
96
96
  # ----------------------------------------------------------------------------
97
97
  # NavMenu (Mobile)
@@ -132,13 +132,13 @@ defaults:
132
132
  menu_font_size: larger
133
133
  megamenu_font_size: small
134
134
  icon_family: mdib
135
- icon_style: mdib # far regular icon
136
- icon_color: "#9E9E9E" # md-grey
135
+ icon_style: mdib
136
+ icon_color: var(--md-gray-500)
137
137
  icon_size: mdib-sm
138
- menu_item_color: '#212121' # gray-900 rgba-lighten
139
- menu_item_color_hover: '#EEEEEE' # gray-500 rgba-lighten-900
138
+ menu_item_color: var(--md-gray-900)
139
+ menu_item_color_hover: var(--md-gray-300)
140
140
  dropdown_style: raised
141
- dropdown_color: '#2196f3'
141
+ dropdown_color: var(--md-blue)
142
142
  dropdown_left: 12 # px
143
143
  dropdown_item_style: flat
144
144
  dropdown_animate: false
@@ -150,12 +150,12 @@ defaults:
150
150
  dropdown_font_size: small
151
151
  dropdown_padding_x: 18 # rem
152
152
  dropdown_padding_y: 10 # px
153
- dropdown_item_color: "#212121" # md-grey-900
154
- dropdown_border_color: "#2196f3" # BS bg-primary
155
- dropdown_border_top: 0 # 3, px
153
+ dropdown_item_color: var(--md-gray-900)
154
+ dropdown_border_color: var(--md-blue)
155
+ dropdown_border_top: 0 # px
156
156
  dropdown_border_radius: 2 # px
157
- dropdown_background_color_hover: "#ECEFF1" # md-bluegrey-50
158
- dropdown_background_color_active: "#CFD8DC" # md-bluegrey-100
157
+ dropdown_background_color_hover: var(--md-gray-300)
158
+ dropdown_background_color_active: var(--md-gray-500)
159
159
 
160
160
  # ----------------------------------------------------------------------------
161
161
  # NavQuicklinks
@@ -168,14 +168,14 @@ defaults:
168
168
  xhr_data_path: /assets/data/quicklinks/index.html
169
169
 
170
170
  icon_family: mdib
171
- icon_color: '#212121' # gray-900
172
- icon_color_hover: '#757575' # gray-600
171
+ icon_color: var(--md-gray-900)
172
+ icon_color_hover: var(--md-gray-500)
173
173
  icon_size: mdib-2x
174
174
 
175
175
  # Link buttons
176
176
  # --------------------------------------------------------------------------
177
177
  home_icon: home-variant
178
- home_url: / # URL | none (disables the home button)
178
+ home_url: / # URL|none (disables the home button)
179
179
  home_label: Home
180
180
 
181
181
  disqus_icon: disqus
@@ -228,10 +228,6 @@ defaults:
228
228
  theme_toggler_action: themeToggler
229
229
  theme_toggler_label: Theme Toggler
230
230
 
231
- # notebooks_icon: notebook
232
- # notebooks_action: nbi-notebooks
233
- # notebooks_label: NBI Notebooks
234
-
235
231
  r_text_icon: false # format-text
236
232
  r_text_action: rtext
237
233
  r_text_label: Text Resizer
@@ -44,13 +44,13 @@ defaults:
44
44
  value_area: 800
45
45
 
46
46
  color:
47
- value: '#ffffff'
47
+ value: var(--bs-white)
48
48
 
49
49
  shape:
50
50
  type: circle
51
51
  stroke:
52
52
  width: 0
53
- color: '#ff0000'
53
+ color: var(--bs-red)
54
54
  polygon:
55
55
  nb_sides: 5
56
56
  image:
@@ -79,7 +79,7 @@ defaults:
79
79
  line_linked:
80
80
  enable: true
81
81
  distance: 100
82
- color: '#ffffff'
82
+ color: var(--bs-white)
83
83
  opacity: 1
84
84
  width: 1
85
85
  move:
@@ -0,0 +1,54 @@
1
+ # ------------------------------------------------------------------------------
2
+ # ~/_data/modules/defaults/slimSelect.yml
3
+ # Default configuration settings for J1 slimSelect module
4
+ #
5
+ # Product/Info:
6
+ # https://jekyll.one
7
+ #
8
+ # Copyright (C) 2023, 2024 Juergen Adams
9
+ #
10
+ # J1 Template is licensed under the MIT License.
11
+ # See: https://github.com/jekyll-one/J1 Theme/blob/master/LICENSE
12
+ # ------------------------------------------------------------------------------
13
+
14
+ # ------------------------------------------------------------------------------
15
+ # Description
16
+ #
17
+ description:
18
+ title: J1 slimSelect
19
+ scope: Default settings
20
+ location: _data/modules/defaults/slim_select.yml
21
+
22
+ # ------------------------------------------------------------------------------
23
+ # Default settings
24
+ #
25
+ defaults:
26
+ enabled: false
27
+
28
+ # ----------------------------------------------------------------------------
29
+ # API options
30
+ # See: https://slimselectjs.com/settings
31
+ # ----------------------------------------------------------------------------
32
+ #
33
+ api_options:
34
+ showSearch: true
35
+ searchPlaceholder: Enter your search expression
36
+ searchText: No results
37
+ searchingText: Searching ...
38
+ searchHighlight: false
39
+ closeOnSelect: true
40
+ # contentLocation: document.getElementById('body') # document.body, currently NOT supported
41
+ contentPosition: absolute
42
+ openPosition: auto # options: auto, up, down
43
+ placeholderText: Select an item
44
+ allowDeselect: false
45
+ hideSelected: false
46
+ showOptionTooltips: false
47
+ minSelected: 0
48
+ maxSelected: 1
49
+ timeoutDelay: 200
50
+ maxValuesShown: 20
51
+ maxValuesMessage: '{number} selected'
52
+
53
+ # ------------------------------------------------------------------------------
54
+ # END config
@@ -1,6 +1,6 @@
1
1
  # ------------------------------------------------------------------------------
2
- # ~/_data/modules/defaults/themer.yml
3
- # Default configuration settings for J1 Themer
2
+ # ~/_data/modules/defaults/themes.yml
3
+ # Default configuration settings for J1 themes
4
4
  #
5
5
  # Product/Info:
6
6
  # https://jekyll.one
@@ -15,9 +15,9 @@
15
15
  # Description
16
16
  #
17
17
  description:
18
- title: Themer
18
+ title: Themes
19
19
  scope: Default settings
20
- location: _data/modules/defaults/themer.yml
20
+ location: _data/modules/defaults/themes.yml
21
21
 
22
22
  # ------------------------------------------------------------------------------
23
23
  # Default configuration settings
@@ -25,12 +25,12 @@ description:
25
25
  defaults:
26
26
 
27
27
  # ----------------------------------------------------------------------------
28
- # Themer options
28
+ # Themes options
29
29
  # ----------------------------------------------------------------------------
30
30
  #
31
31
  # enabled
32
32
  # --------------------------------------------------------------------------
33
- # Enables|Disables the use of J1 Themer
33
+ # Enables|Disables the use of J1 Themes
34
34
  #
35
35
  # values: boolean (true|false)
36
36
  # default: false
@@ -48,7 +48,7 @@ defaults:
48
48
  saveToCookie: true
49
49
 
50
50
  # ----------------------------------------------------------------------------
51
- # Themer settings
51
+ # Themes settings
52
52
  # ----------------------------------------------------------------------------
53
53
  #
54
54
  # cssThemeLink
@@ -155,11 +155,11 @@ defaults:
155
155
  retries: 30 # retry to load theme list from API
156
156
  preview_page: /pages/public/tools/previewer/current_theme/
157
157
  menu_icon_family: mdib
158
- menu_icon_color: "#9E9E9E"
158
+ menu_icon_color: var(--md-gray-500)
159
159
  menu_icon_size: mdib-sm
160
160
  cssThemeLink: bootstrapTheme
161
- defaultCssFile: https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css
162
- bootswatchApiUrl: https://bootswatch.com/api
161
+ defaultCssFile: "https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css"
162
+ bootswatchApiUrl: "https://bootswatch.com/api"
163
163
  bootswatchApiVersion: 5
164
164
  loadFromBootswatch: true
165
165
  localThemes: /assets/data/themes.json