j1-template 2024.0.0 → 2024.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. checksums.yaml +4 -4
  2. data/apps/public/cc/cc.yml +35 -33
  3. data/assets/data/cookieconsent.html +15 -106
  4. data/assets/data/docsearch.html +155 -0
  5. data/assets/data/iframes.html +96 -0
  6. data/assets/data/quicklinks.html +10 -0
  7. data/assets/data/speak2me.html +4 -3
  8. data/assets/data/translator.html +27 -147
  9. data/assets/themes/j1/adapter/js/{chat.js → chatbot.js} +20 -18
  10. data/assets/themes/j1/adapter/js/clipboard.js +1 -1
  11. data/assets/themes/j1/adapter/js/docsearch.js +270 -0
  12. data/assets/themes/j1/adapter/js/gallery.js +1 -1
  13. data/assets/themes/j1/adapter/js/iframer.js +350 -0
  14. data/assets/themes/j1/adapter/js/j1.js +16 -21
  15. data/assets/themes/j1/adapter/js/mmenu.js +1 -1
  16. data/assets/themes/j1/adapter/js/navigator.js +4 -0
  17. data/assets/themes/j1/adapter/js/rouge.js +1 -1
  18. data/assets/themes/j1/adapter/js/speak2me.js +2 -2
  19. data/assets/themes/j1/adapter/js/translator.js +5 -0
  20. data/assets/themes/j1/core/css/animate.css +4 -4
  21. data/assets/themes/j1/core/css/animate.min.css +1 -1
  22. data/assets/themes/j1/core/js/template.js +19 -7
  23. data/assets/themes/j1/core/js/template.min.js +1 -1
  24. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  25. data/assets/themes/j1/modules/{chatgpt → chatbot}/css/theme/uno.css +10 -0
  26. data/assets/themes/j1/modules/chatbot/css/theme/uno.min.css +16 -0
  27. data/assets/themes/j1/modules/iframeResizer/LICENSE +1 -1
  28. data/assets/themes/j1/modules/iframeResizer/README.md +105 -0
  29. data/assets/themes/j1/modules/iframeResizer/{examples → example}/frame.absolute.html +12 -11
  30. data/assets/themes/j1/modules/iframeResizer/{examples → example}/frame.content.html +22 -28
  31. data/assets/themes/j1/modules/iframeResizer/{examples → example}/frame.hover.html +9 -8
  32. data/assets/themes/j1/modules/iframeResizer/{examples → example}/frame.nested.html +12 -12
  33. data/assets/themes/j1/modules/iframeResizer/{examples → example}/frame.textarea.html +6 -8
  34. data/assets/themes/j1/modules/iframeResizer/{examples → example}/frame.tolerance.html +11 -11
  35. data/assets/themes/j1/modules/iframeResizer/{examples → example}/index.html +43 -19
  36. data/assets/themes/j1/modules/iframeResizer/{examples → example}/two.html +8 -11
  37. data/assets/themes/j1/modules/iframeResizer/js/client/iframeResizer.contentWindow.js +84 -68
  38. data/assets/themes/j1/modules/iframeResizer/js/client/iframeResizer.contentWindow.min.js +10 -8
  39. data/assets/themes/j1/modules/iframeResizer/js/resizer.js +149 -72
  40. data/assets/themes/j1/modules/iframeResizer/js/resizer.min.js +11 -7
  41. data/lib/j1/version.rb +1 -1
  42. data/lib/starter_web/README.md +5 -5
  43. data/lib/starter_web/_config.yml +1 -1
  44. data/lib/starter_web/_data/modules/{chat.yml → chatbots.yml} +2 -2
  45. data/lib/starter_web/_data/modules/defaults/{chat.yml → chatbots.yml} +2 -2
  46. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +3 -75
  47. data/lib/starter_web/_data/modules/defaults/docsearch.yml +87 -0
  48. data/lib/starter_web/_data/modules/defaults/{framer.yml → iframer.yml} +56 -21
  49. data/lib/starter_web/_data/modules/defaults/navigator.yml +4 -0
  50. data/lib/starter_web/_data/modules/defaults/translator.yml +11 -52
  51. data/lib/starter_web/_data/modules/{framer.yml → docsearch.yml} +20 -9
  52. data/lib/starter_web/_data/modules/iframer.yml +103 -0
  53. data/lib/starter_web/_data/modules/navigator_menu.yml +39 -1
  54. data/lib/starter_web/_data/resources.yml +41 -19
  55. data/lib/starter_web/_data/templates/feed.xml +1 -1
  56. data/lib/starter_web/_plugins/asciidoctor/iframe-block.rb +46 -0
  57. data/lib/starter_web/_plugins/index/lunr.rb +3 -2
  58. data/lib/starter_web/package.json +74 -75
  59. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/000_intro.adoc +1 -1
  60. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +1 -1
  61. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +1 -1
  62. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/111_about_the_converter.asciidoc +1 -2
  63. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/112_getting_started.asciidoc +1 -0
  64. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/211_language_overview.asciidoc +0 -1
  65. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/212_values.asciidoc +1 -2
  66. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/213_fonts.asciidoc +4 -1
  67. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/a2p.bat +2 -2
  68. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/a2p.sh +2 -3
  69. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.a2p +5 -9
  70. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +1 -1
  71. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.pdf +27727 -0
  72. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +1 -1
  73. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +1 -1
  74. data/lib/starter_web/pages/public/features/general.adoc +1 -1
  75. data/lib/starter_web/pages/public/features/template.adoc +1 -1
  76. data/lib/starter_web/pages/public/learn/roundtrip/asciidoc_extensions.adoc +1 -1
  77. data/lib/starter_web/pages/public/learn/roundtrip/bootstrap_themes.adoc +1 -1
  78. data/lib/starter_web/pages/public/learn/roundtrip/highlghter_rouge.adoc +1 -1
  79. data/lib/starter_web/pages/public/learn/roundtrip/lunr_search.adoc +1 -1
  80. data/lib/starter_web/pages/public/learn/roundtrip/modal_extentions.adoc +1 -1
  81. data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +1 -1
  82. data/lib/starter_web/pages/public/learn/roundtrip/present_videos.adoc +1 -1
  83. data/lib/starter_web/pages/public/learn/roundtrip/responsive_tables.adoc +1 -1
  84. data/lib/starter_web/pages/public/learn/roundtrip/typography.adoc +1 -1
  85. data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +1 -1
  86. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +1 -1
  87. data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +1 -1
  88. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +1 -1
  89. data/lib/starter_web/pages/public/plans/plans.adoc +1 -1
  90. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.hover.html +69 -0
  91. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.nested.html +75 -0
  92. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.textarea.html +57 -0
  93. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/my.content.html +112 -0
  94. data/lib/starter_web/pages/public/tools/previewer/iframer_documents/iframe.content.html +51 -0
  95. data/lib/starter_web/pages/public/tools/previewer/iframer_documents/iframe.docsearch.info.html +84 -0
  96. data/lib/starter_web/pages/public/tools/previewer/preview_bootstrap_theme.adoc +1 -1
  97. data/lib/starter_web/pages/public/tools/previewer/preview_docsearch.adoc +92 -0
  98. data/lib/starter_web/pages/public/tools/previewer/preview_iframer.adoc +106 -0
  99. metadata +34 -25
  100. data/assets/themes/j1/adapter/js/framer.js +0 -237
  101. data/assets/themes/j1/modules/chat/css/theme/uno.css +0 -92
  102. data/assets/themes/j1/modules/chat/css/theme/uno.min.css +0 -16
  103. data/assets/themes/j1/modules/chatgpt/css/theme/uno.min.css +0 -16
  104. data/lib/starter_web/_data/_defaults/private.yml +0 -129
  105. data/lib/starter_web/_data/modules/nbinteract.yml +0 -476
  106. data/lib/starter_web/utilsrv/_defaults/package.json +0 -57
  107. data/lib/starter_web/utilsrv/package.json +0 -57
  108. data/lib/starter_web/utilsrv/server.js +0 -775
@@ -1,92 +0,0 @@
1
- /*
2
- # -----------------------------------------------------------------------------
3
- # ~/assets/themes/j1/modules/chatgpt/css/uno.css
4
- # Provides styles for J1 Module ChatGPT
5
- #
6
- # Product/Info:
7
- # https://jekyll.one
8
- #
9
- # Copyright (C) 2023, 2024 Juergen Adams
10
- #
11
- # J1 Template is licensed under the MIT License.
12
- # See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
13
- # -----------------------------------------------------------------------------
14
- */
15
-
16
- /* VivoChat settings
17
- ================================================================================ */
18
-
19
-
20
- /* TutGPT settings
21
- ================================================================================ */
22
-
23
- /* Chat button settings
24
- -------------------------------------------------------------------------------- */
25
- #chatbot-widget .text-right {
26
- padding-right: 5px !important;
27
- padding-bottom: 18px !important;
28
- }
29
-
30
-
31
- /* ChatBob settings
32
- ================================================================================ */
33
-
34
- /* Chat button settings
35
- -------------------------------------------------------------------------------- */
36
- #ChatBobBubble {
37
- bottom: 20px !important;
38
- right: .75rem !important;
39
- width: 3.5rem !important;
40
- height: 3.5rem !important;
41
- border-radius: 27.5px;
42
- background-color: #2196f3 !important;
43
- z-index: 9 !important;
44
- }
45
-
46
- /* Chat assistant settings (does NOT work this way)
47
- -------------------------------------------------------------------------------- */
48
- /*
49
- .shadow-sm {
50
- --tw-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
51
- --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
52
- background-color: #2196f3;
53
- }
54
- */
55
-
56
- /* WebWhiz settings
57
- ================================================================================ */
58
-
59
- /* Chat button settings
60
- -------------------------------------------------------------------------------- */
61
- .webwhiz-widget {
62
- z-index: 9 !important;
63
- right: 0 !important;
64
- bottom: 10px !important;
65
- }
66
-
67
- .chat-header, .chat-loading-dot, .chat-launcher-btn {
68
- background-color: #2196f3 !important;
69
- }
70
-
71
- /* Chat assistant settings
72
- -------------------------------------------------------------------------------- */
73
- @media only screen and (device-width: 768px), only screen and (min-width: 768px) {
74
- .webwhiz-widget.wb-expand {
75
- width: 500px !important;
76
- height: 800px !important;
77
- min-width: 500px!important;
78
- }
79
- }
80
-
81
- @media only screen and (device-width: 768px), only screen and (max-width: 768px) {
82
- .webwhiz-widget.wb-expand {
83
- width: 100% !important;
84
- height: 550px !important;
85
- left: 0 !important;
86
- right: 10px !important;
87
- bottom: 10px !important;
88
- top: 80px !important;
89
- max-width: 100% !important;
90
- max-height: 100% !important;
91
- }
92
- }
@@ -1,16 +0,0 @@
1
- /*
2
- # -----------------------------------------------------------------------------
3
- # ~/assets/themes/j1/modules/infiniteScroll/css/uno.min.css
4
- # Provides styles for J1 Module infiniteScroll
5
- #
6
- # Product/Info:
7
- # https://jekyll.one
8
- #
9
- # Copyright (C) 2023, 2024 Juergen Adams
10
- #
11
- # J1 Template is licensed under the MIT License.
12
- # See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
13
- # -----------------------------------------------------------------------------
14
- */
15
-
16
- #chatbot-widget .text-right{padding-right:5px !important;padding-bottom:18px !important}#ChatBobBubble{bottom:20px !important;right:.75rem !important;width:3.5rem !important;height:3.5rem !important;border-radius:27.5px;background-color:#2196f3 !important;z-index:9 !important}.webwhiz-widget{z-index:9 !important;right:0 !important;bottom:10px !important}.chat-header,.chat-loading-dot,.chat-launcher-btn{background-color:#2196f3 !important}@media only screen and (device-width:768px),only screen and (min-width:768px){.webwhiz-widget.wb-expand{width:500px !important;height:800px !important;min-width:500px !important}}@media only screen and (device-width:768px),only screen and (max-width:768px){.webwhiz-widget.wb-expand{width:100% !important;height:550px !important;left:0 !important;right:10px !important;bottom:10px !important;top:80px !important;max-width:100% !important;max-height:100% !important}}
@@ -1,16 +0,0 @@
1
- /*
2
- # -----------------------------------------------------------------------------
3
- # ~/assets/themes/j1/modules/infiniteScroll/css/uno.min.css
4
- # Provides styles for J1 Module infiniteScroll
5
- #
6
- # Product/Info:
7
- # https://jekyll.one
8
- #
9
- # Copyright (C) 2023, 2024 Juergen Adams
10
- #
11
- # J1 Template is licensed under the MIT License.
12
- # See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
13
- # -----------------------------------------------------------------------------
14
- */
15
-
16
- #chatbot-widget .text-right{padding-right:5px !important;padding-bottom:18px !important}#ChatBobBubble{bottom:20px !important;right:.75rem !important;width:3.5rem !important;height:3.5rem !important;border-radius:27.5px;background-color:#2196f3 !important;z-index:9 !important}.webwhiz-widget{z-index:9 !important;right:0 !important;bottom:10px !important}.chat-header,.chat-loading-dot,.chat-launcher-btn{background-color:#2196f3 !important}@media only screen and (device-width:768px),only screen and (min-width:768px){.webwhiz-widget.wb-expand{width:500px !important;height:800px !important;min-width:500px !important}}@media only screen and (device-width:768px),only screen and (max-width:768px){.webwhiz-widget.wb-expand{width:100% !important;height:550px !important;left:0 !important;right:10px !important;bottom:10px !important;top:80px !important;max-width:100% !important;max-height:100% !important}}
@@ -1,129 +0,0 @@
1
- # ------------------------------------------------------------------------------
2
- # ~/_data/private.yml
3
- # The private.yml file is used to set sensitive private data used by
4
- # J1 components to configure security and authentication settings
5
- #
6
- # Product/Info:
7
- # https://jekyll.one
8
- #
9
- # Copyright (C) 2023, 2024 Juergen Adams
10
- #
11
- # J1 Template is licensed under the MIT License.
12
- # See: https://github.com/jekyll-one-org/j1_template/blob/master/LICENSE
13
- # ------------------------------------------------------------------------------
14
- # NOTE:
15
- # As this file contains very confidential data, a productive private.yml
16
- # file should ALWAYS be excluded from ANY source published to the public
17
- # (e.g. a repo at Github)
18
- # ------------------------------------------------------------------------------
19
-
20
-
21
- # ==============================================================================
22
- # GLOBAL settings
23
- # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
24
- global:
25
-
26
- # used for OpenSSL AES encryption
27
- # secretkey MUST be 32 bytes (AES|CBC)
28
- secretkey: <your-secret-string>
29
-
30
-
31
- # ==============================================================================
32
- # Translator settings
33
- # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
34
- translators:
35
-
36
- deepl:
37
- auth_key: <your-auth-key>
38
-
39
-
40
- # ==============================================================================
41
- # MODULE settings
42
- # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
43
- modules:
44
-
45
- # J1 Webhook
46
- # NOTE:
47
- # ----------------------------------------------------------------------------
48
- webhook:
49
-
50
- comment:
51
- name: <your-config-name>
52
- user: <your-gh-user>
53
- repo: <your-gh-repo>
54
- server_url: <your-gh-webhook-url>
55
-
56
- secret: <your-gh-secret> # secret used at GH Webhooks
57
- payload_url: <your-payload-url> # payload url (e.g channel at smee.io)
58
-
59
-
60
- # ==============================================================================
61
- # # J1 Utility Server
62
- # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
63
- util_srv:
64
-
65
- oauth:
66
-
67
- # GH OAuth settings used for J1 Control Center (NetlifyCMS) for the
68
- # external OAuth client (base_url)
69
- # --------------------------------------------------------------------------
70
- comment:
71
- name: <your-config-name>
72
- user: <your-gh-user>
73
- user_url: <your-user-url>
74
- strategy: members
75
- members: all
76
-
77
- site_url: http://localhost:41010
78
- site_redirect_url: http://localhost:41010/auth/github/callback
79
- client_scope: repo, user
80
- client_id: <your-client-id>
81
- client_secret: <your-client-secret>
82
-
83
-
84
- # ==============================================================================
85
- # MIDDLEWARE settings
86
- # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
87
- middleware:
88
-
89
- # OAuth settings (J1 Auth Client)
90
- # ----------------------------------------------------------------------------
91
- oauth:
92
-
93
- # --------------------------------------------------------------------------
94
- # DISQUS credentials
95
- # ==========================================================================
96
- disqus:
97
-
98
- # J1 Auth client (mode APP, development system)
99
- # ------------------------------------------------------------------------
100
- comment:
101
- name: <your-disqus-config-name>
102
- user: <your-disqus-user>
103
-
104
- client_url: http://localhost:41010
105
- client_redirect_url: http://localhost:41010/auth/disqus/callback
106
- client_id: <your-disqus-client-id>
107
- client_secret: <your-disqus-client-secret>
108
-
109
- # --------------------------------------------------------------------------
110
- # GITHUB credentials
111
- # ==========================================================================
112
- github:
113
-
114
- # J1 Auth client (mode APP, development system)
115
- # ------------------------------------------------------------------------
116
- comment:
117
- name: <your-gh-config-name>
118
- user: <your-gh-user>
119
- org: <your-gh-org>
120
- strategy: members
121
- members: all
122
-
123
- client_url: http://localhost:41010
124
- client_redirect_url: http://localhost:41010/auth/github/callback
125
- client_id: <your-gh-client-id>
126
- client_secret: <your-gh-client-secret>
127
-
128
- # ------------------------------------------------------------------------------
129
- # END