j1-template 2021.3.2 → 2022.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/blocks/ads/ad.html +14 -14
- data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +4 -4
- data/_includes/themes/j1/layouts/content_generator_post.html +4 -4
- data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +3 -13
- data/_includes/themes/j1/modules/connectors/comment/hyvor.html +4 -5
- data/_includes/themes/j1/modules/navigator/generator.html +9 -11
- data/_includes/themes/j1/modules/search/docsearch.html +1 -1
- data/_includes/themes/j1/procedures/global/create_bs_button.proc +5 -5
- data/_includes/themes/j1/procedures/global/create_word_cloud.proc +5 -3
- data/_includes/themes/j1/procedures/layouts/module_writer.proc +1 -1
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +3 -3
- data/_includes/themes/j1/procedures/posts/create_series_header.proc +1 -1
- data/_layouts/default.html +66 -22
- data/_layouts/home.html +1 -1
- data/_layouts/raw.html +2 -1
- data/assets/data/article_navigator/index.html +1 -1
- data/assets/data/authclient.html +11 -11
- data/assets/data/banner.html +7 -25
- data/assets/data/cookieconsent.html +20 -20
- data/assets/data/{fam.html → fab.html} +42 -24
- data/assets/data/gallery_customizer.html +6 -6
- data/assets/data/menu.html +13 -13
- data/assets/data/mmenu.html +2 -2
- data/assets/data/panel.html +17 -23
- data/assets/data/private.json +1 -1
- data/assets/data/quicklinks.html +6 -7
- data/assets/data/rtext_resizer.html +1 -1
- data/assets/data/themes.bootswatch.json +75 -0
- data/assets/data/themes.json +6 -6
- data/assets/data/translator.html +23 -23
- data/assets/error_pages/HTTP445.html +110 -0
- data/assets/themes/j1/adapter/js/bmd.js +1 -1
- data/assets/themes/j1/adapter/js/clipboard.js +1 -1
- data/assets/themes/j1/adapter/js/cookieConsent.js +19 -10
- data/assets/themes/j1/adapter/js/{fam.js → fab.js} +121 -116
- data/assets/themes/j1/adapter/js/j1.js +258 -190
- data/assets/themes/j1/adapter/js/mmenu.js +18 -24
- data/assets/themes/j1/adapter/js/navigator.js +6 -4
- data/assets/themes/j1/adapter/js/themer.js +13 -4
- data/assets/themes/j1/adapter/js/toccer.js +37 -76
- data/assets/themes/j1/adapter/js/translator.js +10 -2
- data/assets/themes/j1/core/country-flags/css/theme/uno.min.css +15 -0
- data/assets/themes/j1/core/css/icon-fonts/mdi.css +22307 -0
- data/assets/themes/j1/core/css/icon-fonts/mdi.min.css +1 -0
- data/assets/themes/j1/core/css/icon-fonts/mdil.css +1222 -0
- data/assets/themes/j1/core/css/icon-fonts/mdil.min.css +1 -0
- data/assets/themes/j1/core/css/icon-fonts/twemoji.css +4 -0
- data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.css +5341 -4730
- data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.min.css +3 -1
- data/assets/themes/j1/core/css/themes/theme_vapor/bootstrap.css +8301 -0
- data/assets/themes/j1/core/css/themes/theme_vapor/bootstrap.min.css +3 -0
- data/assets/themes/j1/core/css/themes/{uno-dark → unodark}/bootstrap.css +5284 -4646
- data/assets/themes/j1/core/css/themes/unodark/bootstrap.min.css +3 -0
- data/assets/themes/j1/core/css/themes/{uno-light → unolight}/bootstrap.css +12188 -12734
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +23 -0
- data/assets/themes/j1/core/css/vendor.css +2 -28
- data/assets/themes/j1/core/css/vendor.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +111 -29
- data/assets/themes/j1/core/js/template.min.js +1 -1
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/bmd/js/bmd.js +2280 -0
- data/assets/themes/j1/modules/bmd/js/bmd.min.js +20 -0
- data/assets/themes/j1/modules/bootstrap/js/bootstrap.js +5072 -0
- data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js +7 -0
- data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js.map +1 -0
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +19 -17
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +1 -1
- data/assets/themes/j1/modules/cryptoJS/js/aes.js +35 -0
- data/assets/themes/j1/modules/cryptoJS/js/aes.min.js +35 -0
- data/assets/themes/j1/modules/cryptoJS/js/hmac-md5.js +21 -0
- data/assets/themes/j1/modules/cryptoJS/js/hmac-ripemd160.js +31 -0
- data/assets/themes/j1/modules/cryptoJS/js/hmac-sha1.js +17 -0
- data/assets/themes/j1/modules/cryptoJS/js/hmac-sha224.js +19 -0
- data/assets/themes/j1/modules/cryptoJS/js/hmac-sha256.js +18 -0
- data/assets/themes/j1/modules/cryptoJS/js/hmac-sha3.js +21 -0
- data/assets/themes/j1/modules/cryptoJS/js/hmac-sha384.js +27 -0
- data/assets/themes/j1/modules/cryptoJS/js/hmac-sha512.js +25 -0
- data/assets/themes/j1/modules/cryptoJS/js/md5.js +19 -0
- data/assets/themes/j1/modules/cryptoJS/js/pbkdf2.js +19 -0
- data/assets/themes/j1/modules/cryptoJS/js/rabbit-legacy.js +36 -0
- data/assets/themes/j1/modules/cryptoJS/js/rabbit.js +36 -0
- data/assets/themes/j1/modules/cryptoJS/js/rc4.js +33 -0
- data/assets/themes/j1/modules/cryptoJS/js/ripemd160.js +29 -0
- data/assets/themes/j1/modules/cryptoJS/js/sha1.js +15 -0
- data/assets/themes/j1/modules/cryptoJS/js/sha224.js +17 -0
- data/assets/themes/j1/modules/cryptoJS/js/sha256.js +16 -0
- data/assets/themes/j1/modules/cryptoJS/js/sha3.js +19 -0
- data/assets/themes/j1/modules/cryptoJS/js/sha384.js +25 -0
- data/assets/themes/j1/modules/cryptoJS/js/sha512.js +23 -0
- data/assets/themes/j1/modules/cryptoJS/js/tripledes.js +51 -0
- data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.2.js +460 -0
- data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.js +379 -353
- data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.min.js +1 -1
- data/assets/themes/j1/modules/{fam/css/theme/uno/fam.css → fab/css/theme/uno/fab.css} +32 -28
- data/assets/themes/j1/modules/{fam/css/theme/uno/fam.min.css → fab/css/theme/uno/fab.min.css} +3 -3
- data/assets/themes/j1/modules/{materialize → fab}/js/cash.js +20 -2
- data/assets/themes/j1/modules/{fam/js/fam.js → fab/js/fab.js} +4 -2
- data/assets/themes/j1/modules/gtag-opt-in/js/gtag-opt-in.js +107 -0
- data/assets/themes/j1/modules/{util/js/gtag-opt-in.js → gtag-opt-in/js/gtag-opt-in.min.js} +15 -1
- data/assets/themes/j1/modules/lightGallery/js/modules/lg-thumbnail.min.js +4 -1
- data/assets/themes/j1/modules/materialize/js/autocomplete.js +1 -1
- data/assets/themes/j1/modules/materialize/js/bin/materialize.js +12374 -0
- data/assets/themes/j1/modules/materialize/js/bin/materialize.min.js +6 -0
- data/assets/themes/j1/modules/materialize/js/global.js +1 -1
- data/assets/themes/j1/modules/materialize/js/select.js +1 -1
- data/assets/themes/j1/modules/materialize/js/{tapTarget.js → tapTarget.cash.js} +1 -1
- data/assets/themes/j1/modules/materialize/js/tapTarget.jQuery.js +187 -0
- data/assets/themes/j1/modules/msDropdown/css/themes/uno/msDropdown.css +278 -0
- data/assets/themes/j1/modules/popper/js/popper.js +1670 -2346
- data/assets/themes/j1/modules/popper/js/popper.min.js +6 -4
- data/assets/themes/j1/modules/popper/js/popper.min.js.map +1 -1
- data/assets/themes/j1/modules/scroller/js/scroller.js +6 -6
- data/assets/themes/j1/modules/scroller/js/scroller.min.js +1 -1
- data/assets/themes/j1/modules/translator/js/translator.js +6 -2
- data/assets/themes/j1/modules/translator/js/translator.min.js +1 -1
- data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.js +2 -2
- data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js +1 -1
- data/exe/j1 +6 -7
- data/lib/j1/commands/generate.rb +15 -16
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +7 -1
- data/lib/starter_web/_config.yml +21 -24
- data/lib/starter_web/_data/_defaults/j1_config.yml +1 -1
- data/lib/starter_web/_data/_defaults/private.yml +3 -2
- data/lib/starter_web/_data/_defaults/resources.yml +1 -1
- data/lib/starter_web/_data/blocks/banner.yml +71 -68
- data/lib/starter_web/_data/blocks/defaults/banner.yml +5 -5
- data/lib/starter_web/_data/blocks/defaults/panel.yml +3 -3
- data/lib/starter_web/_data/blocks/panel.yml +171 -73
- data/lib/starter_web/_data/builder/defaults/_blog_navigator.yml +396 -0
- data/lib/starter_web/_data/builder/defaults/blog_navigator.yml +77 -64
- data/lib/starter_web/_data/j1_config.yml +3 -3
- data/lib/starter_web/_data/layouts/article_navigator.yml +1 -1
- data/lib/starter_web/_data/layouts/blog_archive.yml +1 -1
- data/lib/starter_web/_data/layouts/collection.yml +1 -1
- data/lib/starter_web/_data/layouts/default.yml +1 -1
- data/lib/starter_web/_data/layouts/home.yml +6 -26
- data/lib/starter_web/_data/layouts/news_panel_posts.yml +1 -1
- data/lib/starter_web/_data/layouts/page.yml +1 -1
- data/lib/starter_web/_data/layouts/post.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/attics.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/{fam.yml → fab.yml} +8 -7
- data/lib/starter_web/_data/modules/defaults/navigator.yml +3 -0
- data/lib/starter_web/_data/modules/defaults/rtable.yml +2 -1
- data/lib/starter_web/_data/modules/defaults/scoller.yml +33 -0
- data/lib/starter_web/_data/modules/defaults/themer.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/toccer.yml +5 -4
- data/lib/starter_web/_data/modules/{fam.yml → fab.yml} +31 -31
- data/lib/starter_web/_data/modules/scroller.yml +2 -2
- data/lib/starter_web/_data/modules/toccer.yml +3 -5
- data/lib/starter_web/_data/modules/translator.yml +3 -3
- data/lib/starter_web/_data/private.yml +3 -2
- data/lib/starter_web/_data/resources.yml +72 -33
- data/lib/starter_web/_includes/attributes.asciidoc +121 -122
- data/lib/starter_web/_plugins/encodeBase64.rb +46 -0
- data/lib/starter_web/_plugins/encryptAES.rb +53 -0
- data/lib/starter_web/_plugins/filters.rb +2 -1
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/_plugins/minifyJSON.rb +2 -2
- data/lib/starter_web/assets/images/pages/roundtrip/500_themes/themes-menu-1280x800.jpg +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +1 -4
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +2 -2
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-site-generators.adoc +2 -2
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-03-about-j1.adoc +2 -2
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-wiki-series.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-wiki-series.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-wiki-series.adoc +2 -2
- data/lib/starter_web/index.html +1 -1
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/_test_pages/100_side-bar-tester.adoc +244 -0
- data/lib/starter_web/pages/_test_pages/_includes/attributes.asciidoc +110 -0
- data/lib/starter_web/pages/_test_pages/_includes/documents/100_gistblock.asciidoc +28 -0
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_info.asciidoc +14 -0
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_left_warning.asciidoc +11 -0
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_right_danger.asciidoc +11 -0
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_central_success.asciidoc +11 -0
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_left_info.asciidoc +11 -0
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_right_success.asciidoc +11 -0
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_table_bs_modal_examples.asciidoc +47 -0
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_info.asciidoc +11 -0
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_left_info.asciidoc +11 -0
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_right_success.asciidoc +11 -0
- data/lib/starter_web/pages/_test_pages/_includes/documents/419_advanced_modals_demo.asciidoc +337 -0
- data/lib/starter_web/pages/_test_pages/_includes/documents/tables/bs_modal_examples.asciidoc +47 -0
- data/lib/starter_web/pages/_test_pages/accordion-01-tester.adoc +220 -0
- data/lib/starter_web/pages/_test_pages/accordion-02-tester.adoc +177 -0
- data/lib/starter_web/pages/_test_pages/accordion-03-tester.adoc +148 -0
- data/lib/starter_web/pages/_test_pages/attribute-changes-01-tester.adoc +226 -0
- data/lib/starter_web/pages/_test_pages/backdrop-tester.adoc +109 -0
- data/lib/starter_web/pages/_test_pages/button-tester-1.adoc +127 -0
- data/lib/starter_web/pages/_test_pages/card-tester.adoc +128 -0
- data/lib/starter_web/pages/_test_pages/cookieConsent.adoc +96 -0
- data/lib/starter_web/pages/_test_pages/deepl.0.adoc +258 -0
- data/lib/starter_web/pages/_test_pages/deepl.adoc +204 -0
- data/lib/starter_web/pages/_test_pages/desandro-button.adoc +171 -0
- data/lib/starter_web/pages/_test_pages/desandro.adoc +147 -0
- data/lib/starter_web/pages/_test_pages/flipcard-1-tester.adoc +308 -0
- data/lib/starter_web/pages/_test_pages/formular-01-tester.adoc +167 -0
- data/lib/starter_web/pages/_test_pages/formular-02-tester.adoc +727 -0
- data/lib/starter_web/pages/_test_pages/google-translate-tester.0.adoc +113 -0
- data/lib/starter_web/pages/_test_pages/google-translate-tester.1.adoc +233 -0
- data/lib/starter_web/pages/_test_pages/google-translate-tester.3.adoc +149 -0
- data/lib/starter_web/pages/_test_pages/google-translate-tester.4.adoc +239 -0
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-2.adoc +183 -0
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-3.adoc +235 -0
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-4.adoc +222 -0
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-5.adoc +119 -0
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.1.adoc +236 -0
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.adoc +225 -0
- data/lib/starter_web/pages/_test_pages/list-group-tester.adoc +265 -0
- data/lib/starter_web/pages/_test_pages/tictok.adoc +127 -0
- data/lib/starter_web/pages/public/about/about_site.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/000_intro.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.a2p +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +2 -2
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +2 -2
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +2 -2
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +5 -5
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +4 -4
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +4 -3
- data/lib/starter_web/pages/public/blog/navigator/archive.html +4 -4
- data/lib/starter_web/pages/public/blog/navigator/index.html +1 -1
- data/lib/starter_web/pages/public/learn/quickstart.adoc +3 -3
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +6 -7
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +3 -3
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +4 -4
- data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +13 -11
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_bottom_info.asciidoc +3 -3
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_bottom_left_warning.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_bottom_right_danger.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_central_success.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_full_height_left_info.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_full_height_right_success.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_top_info.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_top_left_info.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_top_right_success.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/419_advanced_modals_demo.asciidoc +51 -51
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +3 -3
- data/lib/starter_web/pages/public/legal/de/100_copyright.adoc +3 -3
- data/lib/starter_web/pages/public/legal/de/100_impress.adoc +3 -3
- data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +7 -7
- data/lib/starter_web/pages/public/legal/de/400_comment_policy.adoc +3 -3
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +3 -3
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +3 -3
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +6 -7
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +3 -3
- data/lib/starter_web/pages/public/manuals/dropdown-help.adoc +1 -1
- data/lib/starter_web/pages/public/panels/intro_panel/_includes/attributes.asciidoc +55 -0
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +53 -5
- data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +1688 -686
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +107 -29
- data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +0 -1
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +0 -23
- data/assets/themes/j1/modules/bmd/css/bootstrap-material-design.css +0 -12177
- data/assets/themes/j1/modules/bmd/css/bootstrap-material-design.min.css +0 -8
- data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.full.js +0 -6930
- data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.js +0 -6936
- data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.js.map +0 -1
- data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.min.js +0 -1
- data/assets/themes/j1/modules/popper/js/popper.js.map +0 -1
- data/assets/themes/j1/modules/util/js/domready.js +0 -146
- data/lib/j1/commands/help.rb +0 -32
- data/lib/j1/commands/module.rb +0 -69
- data/lib/starter_web/_data/blocks/defaults/panel.1.yml +0 -256
- data/lib/starter_web/_data/blocks/defaults/panel.2.yml +0 -250
@@ -15,4 +15,4 @@
|
|
15
15
|
# See: https://www.dotnetcurry.com/jquery/1069/authoring-jquery-plugins
|
16
16
|
# -----------------------------------------------------------------------------
|
17
17
|
*/
|
18
|
-
(function(e,c,a,g){var d="deeplAPI",f={api:"free",auth_key:"",source_lang:"auto",target_lang:"DE",max_chars:false,split_sentences:"1",preserve_formatting:"0",formality:"default",tag_handling:false,outline_detection:true,non_splitting_tags:false,splitting_tags:false,ignore_tags:false,onInit:function(){},onBeforeTranslation:function(){},onAfterTranslation:function(){}};function b(i,h){this.element=i;this.settings=e.extend({},f,h);this.settings.elementID="#"+this.element.id;this.xhr=new XMLHttpRequest();this.init(this.settings)}e.extend(b.prototype,{init:function(
|
18
|
+
(function(e,c,a,g){var d="deeplAPI",f={api:"free",auth_key:"",source_lang:"auto",target_lang:"DE",max_chars:false,split_sentences:"1",preserve_formatting:"0",formality:"default",tag_handling:false,outline_detection:true,non_splitting_tags:false,splitting_tags:false,ignore_tags:false,onInit:function(){},onBeforeTranslation:function(){},onAfterTranslation:function(){}};function b(i,h){this.element=i;this.settings=e.extend({},f,h);this.settings.elementID="#"+this.element.id;this.xhr=new XMLHttpRequest();this.init(this.settings)}e.extend(b.prototype,{init:function(q){var k=this;var o=log4javascript.getLogger("deeplAPI.init");var h="/assets/data/private.json";var i=q;var m;var p;var j;var l;o.info("\ninitialize: started");e.ajax({url:h,dataType:"text",success:function(r){p=atob(r);l=JSON.parse(p);m=l.translators.deepl.auth_key},error:function(r,t,s){o.error("\nfailed to retrieve JSON data from: "+h)}});var n=setInterval(function(){if(typeof m!=="undefined"){i.auth_key=m;k.translate(i);o.info("\ninitialize: finished");o.info("\ntranslate: started");clearInterval(n)}})},prepareXHR:function(h){if(h.api==="free"){this.xhr.open("POST","https://api-free.deepl.com/v2/translate",true)}else{if(h.api==="pro"){this.xhr.open("POST","https://api.deepl.com/v2/translate",true)}else{this.xhr.open("POST","https://api-free.deepl.com/v2/translate",true)}}this.xhr.setRequestHeader("Accept","*/*");this.xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded")},prepareText:function(h){return h.split("\n")},translate:function(C){const H=log4javascript.getLogger("deeplAPI.translate");const n=4;const t=200;const u=["BG","CS","DA","DE","EL","EN-GB","EN-US","EN","ES","ET","FI","FR","HU","IT","JA","LT","LV","NL","PL","PT-PT","PT-BR","PT","RO","RU","SK","SL","SV","ZH"];const h=["DE","FR","IT","ES","NL","PL","PT","PT-BR","RU"];const r=["xml"];const w=C.targetElement;const q=e(w).length;const D="Translation failed.\nReason: ";const o="Translation skipped.\nReason: ";var y;var F;var v;var x={};x["400"]="Bad request. Please check error message and your parameters.";x["401"]="Authorization failed. Please supply a valid DeepL-Auth-Key.";x["403"]="Forbidden. The access to the requested resource is denied, because of insufficient access rights.";x["404"]="The requested resource could not be found.";x["413"]="The request size exceeds the limit.";x["415"]="The requested entries format specified in the Accept header is not supported.";x["429"]="Too many requests. Please wait and resend your request.";x["456"]="Quota exceeded. The maximum amount of glossaries has been reached.";x["500"]="Internal server error";x["503"]="Resource currently unavailable. Try again later.";x["529"]="Too many requests. Please wait and resend your request.";var l;var k="";var j="";var B="";var E="";var m;var G;if(q){y=(w.includes(".")||w.includes("#"))?w.substring(1):w;F=e(w).get(0).nodeName;if(F==="TEXTAREA"){B=this.element.value}else{if(F==="P"){j=this.element;B=e(w).text()}}v=B.length}else{H.error("\ntarget element does not exists: "+w);return false}if(C.max_char&&B.length>C.max_char){var s=B.substring(0,C.max_char-3);B=s+" ...";H.info("\nlimit for source text (max: "+C.max_char+") reached: "+B.length)}E=this.prepareText(B);this.prepareXHR(C);var p="";for(var A=0;A<E.length;A++){p+="&text="+E[A]}this.xhr.onload=function(){if(this.readyState===n){if(this.status===t){var I=JSON.parse(this.responseText);var J="";for(var K=0;K<I.translations.length;K++){J+=I.translations[K].text;J+="\n"}H.info("\ntranslation: finished");if(F==="TEXTAREA"){e(w).val(J)}else{if(F==="P"){e(w).text(J)}}}else{H.error("\nAPI returned "+this.status+": "+x[this.status])}}};m=this.settings.source_lang;G=this.settings.target_lang;if(this.settings.source_lang!=="auto"){this.settings.source_lang=(u.indexOf(this.settings.source_lang)>-1)?this.settings.source_lang:false}this.settings.target_lang=(u.indexOf(this.settings.target_lang)>-1)?this.settings.target_lang:false;if(!this.settings.auth_key||!this.settings.source_lang||!this.settings.target_lang){if(!this.settings.auth_key){l="NO AUTH key passed.";H.error("\ninvalid option found. "+l)}if(!this.settings.source_lang){l="WRONG source language passed: "+m;H.error("\ninvalid option found. "+l)}if(!this.settings.target_lang){l="WRONG target language passed: "+G;H.error("\ninvalid option found. "+l)}if(F==="TEXTAREA"){e(w).val(D+l)}else{if(F==="P"){e(w).text(D+l)}}return false}if(!v){l="NO text found for translation";if(F==="TEXTAREA"){e(w).val(o+l)}else{if(F==="P"){e(w).text(o+l)}}H.warn("\nno text found for translation");return false}if(this.settings.formality!=="default"){if(!(h.indexOf(this.settings.target_lang)>-1)){H.warn("\nwrong language found for formality setting: "+this.settings.target_lang)}this.settings.formality=(h.indexOf(this.settings.target_lang)>-1)?this.settings.formality:"default"}if(this.settings.tag_handling){var z=this.settings.tag_handling;this.settings.tag_handling=(r.indexOf(this.settings.tag_handling)>-1)?this.settings.tag_handling:false;if(this.settings.tag_handling){this.settings.non_splitting_tags=this.settings.non_splitting_tags?encodeURIComponent(this.settings.non_splitting_tags):false;this.settings.splitting_tags=this.settings.splitting_tags?encodeURIComponent(this.settings.splitting_tags):false;this.settings.ignore_tags=this.settings.ignore_tags?encodeURIComponent(this.settings.ignore_tags):false}else{H.error("\ninvalid option found for tag handling : "+z);H.warn("\ndisable option: tag_handling");if(this.settings.non_splitting_tags){H.warn("\ndisable option: "+this.settings.non_splitting_tags);this.settings.non_splitting_tags=false}if(this.settings.splitting_tags){H.warn("\ndisable option : "+this.settings.splitting_tags);this.settings.splitting_tags=false}if(this.settings.ignore_tags){H.warn("\ndisable option: "+this.settings.ignore_tags);this.settings.ignore_tags=false}}}else{if(this.settings.non_splitting_tags){H.warn("\ninvalid option found: "+this.settings.non_splitting_tags);this.settings.non_splitting_tags=false}if(this.settings.splitting_tags){H.warn("\ninvalid option found: "+this.settings.splitting_tags);this.settings.splitting_tags=false}if(this.settings.ignore_tags){H.warn("\ninvalid option found: "+this.settings.ignore_tags);this.settings.ignore_tags=false}}k="auth_key="+this.settings.auth_key;k+=(this.settings.source_lang!=="auto")?"&source_lang="+this.settings.source_lang:"";k+="&target_lang="+this.settings.target_lang;k+=(this.settings.formality!=="default")?"&formality="+this.settings.formality:"";k+=(this.settings.split_sentences)?"&split_sentences="+this.settings.formality:"";k+=(this.settings.tag_handling)?"&tag_handling="+this.settings.tag_handling:"&tag_handling=0";k+=(this.settings.tag_handling&&this.settings.non_splitting_tags)?"&non_splitting_tags="+this.settings.non_splitting_tags:"";k+=(this.settings.tag_handling&&this.settings.splitting_tags)?"&splitting_tags="+this.settings.splitting_tags:"";k+=(this.settings.tag_handling&&this.settings.ignore_tags)?"&ignore_tags="+this.settings.ignore_tags:"";k+=p;this.xhr.send(k)}});e.fn[d]=function(i){var h=arguments;if(i===g||typeof i==="object"){return this.each(function(){if(!e.data(this,"plugin_"+d)){e.data(this,"plugin_"+d,new b(this,i))}})}else{if(typeof i==="string"&&i[0]!=="_"&&i!=="init"){var j;this.each(function(){var k=e.data(this,"plugin_"+d);if(k instanceof b&&typeof k[i]==="function"){j=k[i].apply(k,Array.prototype.slice.call(h,1))}if(i==="destroy"){e.data(this,"plugin_"+d,null)}});return j!==g?j:this}}}})(jQuery,window,document);
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*
|
2
2
|
# -----------------------------------------------------------------------------
|
3
|
-
# ~/assets/themes/j1/modules/
|
4
|
-
# Provides styles for J1 Module
|
3
|
+
# ~/assets/themes/j1/modules/fab/css/fab.css
|
4
|
+
# Provides styles for J1 Module FAB (Floating Action Button)
|
5
5
|
#
|
6
6
|
# Product/Info:
|
7
7
|
# https://jekyll.one
|
@@ -13,7 +13,11 @@
|
|
13
13
|
# -----------------------------------------------------------------------------
|
14
14
|
*/
|
15
15
|
|
16
|
-
.
|
16
|
+
.btn.bmd-btn-fab, .btn.bmd-btn-icon {
|
17
|
+
overflow: visible;
|
18
|
+
}
|
19
|
+
|
20
|
+
.fab-btn ul {
|
17
21
|
left: 0;
|
18
22
|
right: 0;
|
19
23
|
text-align: center;
|
@@ -125,7 +129,7 @@
|
|
125
129
|
display: inline-block;
|
126
130
|
color: #fff;
|
127
131
|
position: relative;
|
128
|
-
overflow: hidden;
|
132
|
+
/* overflow: hidden; */
|
129
133
|
z-index: 1;
|
130
134
|
width: 40px;
|
131
135
|
height: 40px;
|
@@ -194,7 +198,7 @@ button.btn-fab-floating {
|
|
194
198
|
border: none
|
195
199
|
}
|
196
200
|
|
197
|
-
.
|
201
|
+
.fab-btn {
|
198
202
|
position: fixed;
|
199
203
|
right: 1rem;
|
200
204
|
bottom: 1rem;
|
@@ -203,17 +207,17 @@ button.btn-fab-floating {
|
|
203
207
|
z-index: 9;
|
204
208
|
}
|
205
209
|
|
206
|
-
.
|
210
|
+
.fab-btn.active ul {
|
207
211
|
visibility: visible
|
208
212
|
}
|
209
213
|
|
210
|
-
.
|
211
|
-
.
|
214
|
+
.fab-btn.direction-left,
|
215
|
+
.fab-btn.direction-right {
|
212
216
|
padding: 0 0 0 15px
|
213
217
|
}
|
214
218
|
|
215
|
-
.
|
216
|
-
.
|
219
|
+
.fab-btn.direction-left ul,
|
220
|
+
.fab-btn.direction-right ul {
|
217
221
|
text-align: right;
|
218
222
|
right: 64px;
|
219
223
|
top: 50%;
|
@@ -224,32 +228,32 @@ button.btn-fab-floating {
|
|
224
228
|
width: 500px
|
225
229
|
}
|
226
230
|
|
227
|
-
.
|
228
|
-
.
|
231
|
+
.fab-btn.direction-left ul li,
|
232
|
+
.fab-btn.direction-right ul li {
|
229
233
|
display: inline-block;
|
230
234
|
margin: 7.5px 15px 0 0
|
231
235
|
}
|
232
236
|
|
233
|
-
.
|
237
|
+
.fab-btn.direction-right {
|
234
238
|
padding: 0 15px 0 0
|
235
239
|
}
|
236
240
|
|
237
|
-
.
|
241
|
+
.fab-btn.direction-right ul {
|
238
242
|
text-align: left;
|
239
243
|
direction: rtl;
|
240
244
|
left: 64px;
|
241
245
|
right: auto
|
242
246
|
}
|
243
247
|
|
244
|
-
.
|
248
|
+
.fab-btn.direction-right ul li {
|
245
249
|
margin: 7.5px 0 0 15px
|
246
250
|
}
|
247
251
|
|
248
|
-
.
|
252
|
+
.fab-btn.direction-bottom {
|
249
253
|
padding: 0 0 15px 0
|
250
254
|
}
|
251
255
|
|
252
|
-
.
|
256
|
+
.fab-btn.direction-bottom ul {
|
253
257
|
top: 64px;
|
254
258
|
bottom: auto;
|
255
259
|
display: -webkit-box;
|
@@ -263,20 +267,20 @@ button.btn-fab-floating {
|
|
263
267
|
flex-direction: column-reverse
|
264
268
|
}
|
265
269
|
|
266
|
-
.
|
270
|
+
.fab-btn.direction-bottom ul li {
|
267
271
|
margin: 15px 0 0 0
|
268
272
|
}
|
269
273
|
|
270
|
-
.
|
274
|
+
.fab-btn.toolbar {
|
271
275
|
padding: 0;
|
272
276
|
height: 56px
|
273
277
|
}
|
274
278
|
|
275
|
-
.
|
279
|
+
.fab-btn.toolbar.active>a i {
|
276
280
|
opacity: 0
|
277
281
|
}
|
278
282
|
|
279
|
-
.
|
283
|
+
.fab-btn.toolbar ul {
|
280
284
|
display: -webkit-box;
|
281
285
|
display: -webkit-flex;
|
282
286
|
display: -ms-flexbox;
|
@@ -286,7 +290,7 @@ button.btn-fab-floating {
|
|
286
290
|
z-index: 1
|
287
291
|
}
|
288
292
|
|
289
|
-
.
|
293
|
+
.fab-btn.toolbar ul li {
|
290
294
|
-webkit-box-flex: 1;
|
291
295
|
-webkit-flex: 1;
|
292
296
|
-ms-flex: 1;
|
@@ -298,7 +302,7 @@ button.btn-fab-floating {
|
|
298
302
|
transition: none
|
299
303
|
}
|
300
304
|
|
301
|
-
.
|
305
|
+
.fab-btn.toolbar ul li a {
|
302
306
|
display: block;
|
303
307
|
overflow: hidden;
|
304
308
|
position: relative;
|
@@ -312,11 +316,11 @@ button.btn-fab-floating {
|
|
312
316
|
z-index: 1
|
313
317
|
}
|
314
318
|
|
315
|
-
.
|
319
|
+
.fab-btn.toolbar ul li a i {
|
316
320
|
line-height: inherit
|
317
321
|
}
|
318
322
|
|
319
|
-
.
|
323
|
+
.fab-btn ul {
|
320
324
|
left: 0;
|
321
325
|
right: 0;
|
322
326
|
text-align: center;
|
@@ -326,15 +330,15 @@ button.btn-fab-floating {
|
|
326
330
|
visibility: hidden
|
327
331
|
}
|
328
332
|
|
329
|
-
.
|
333
|
+
.fab-btn ul li {
|
330
334
|
margin-bottom: 15px
|
331
335
|
}
|
332
336
|
|
333
|
-
.
|
337
|
+
.fab-btn ul a.btn-fab-floating {
|
334
338
|
opacity: 0
|
335
339
|
}
|
336
340
|
|
337
|
-
.
|
341
|
+
.fab-btn .fab-btn-backdrop {
|
338
342
|
position: absolute;
|
339
343
|
top: 0;
|
340
344
|
left: 0;
|
data/assets/themes/j1/modules/{fam/css/theme/uno/fam.min.css → fab/css/theme/uno/fab.min.css}
RENAMED
@@ -1,7 +1,7 @@
|
|
1
1
|
/*
|
2
2
|
# -----------------------------------------------------------------------------
|
3
|
-
# ~/assets/themes/j1/modules/
|
4
|
-
# Provides styles for J1 Module
|
3
|
+
# ~/assets/themes/j1/modules/fab/css/fab.min.css
|
4
|
+
# Provides styles for J1 Module FAB (Floating Action Button)
|
5
5
|
#
|
6
6
|
# Product/Info:
|
7
7
|
# https://jekyll.one
|
@@ -12,4 +12,4 @@
|
|
12
12
|
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
13
13
|
# -----------------------------------------------------------------------------
|
14
14
|
*/
|
15
|
-
.
|
15
|
+
.fab-btn ul{left:0;right:0;text-align:center;position:absolute;bottom:64px;margin:0;visibility:hidden;padding-left:0;list-style-type:none}.btn-large,.btn-small{border:0;border-radius:2px;display:inline-block;height:36px;line-height:36px;padding:0 16px;text-transform:uppercase;vertical-align:middle;-webkit-tap-highlight-color:transparent}.disabled.btn-large,.disabled.btn-small,.btn-fab-floating.disabled,.btn-large.disabled,.btn-small.disabled,.btn-large:disabled,.btn-small:disabled,.btn-fab-floating:disabled,.btn-large:disabled,.btn-small:disabled,[disabled].btn-large,[disabled].btn-small,.btn-fab-floating[disabled],.btn-large[disabled],.btn-small[disabled]{pointer-events:none;background-color:#dfdfdf!important;-webkit-box-shadow:none;box-shadow:none;color:#9f9f9f!important;cursor:default}.disabled.btn-large:hover,.disabled.btn-small:hover,.btn-fab-floating.disabled:hover,.btn-large.disabled:hover,.btn-small.disabled:hover,.btn-large:disabled:hover,.btn-small:disabled:hover,.btn-fab-floating:disabled:hover,.btn-large:disabled:hover,.btn-small:disabled:hover,[disabled].btn-large:hover,[disabled].btn-small:hover,.btn-fab-floating[disabled]:hover,.btn-large[disabled]:hover,.btn-small[disabled]:hover{background-color:#dfdfdf!important;color:#9f9f9f!important}.btn-large,.btn-small,.btn-fab-floating{font-size:14px;outline:0}.btn-large i,.btn-small i,.btn-fab-floating i{font-size:1.3rem;line-height:inherit}.btn-large:focus,.btn-small:focus,.btn-fab-floating:focus{background-color:#1d7d74}.btn-large,.btn-small{text-decoration:none;color:#fff;background-color:#26a69a;text-align:center;letter-spacing:.5px;-webkit-transition:background-color .2s ease-out;transition:background-color .2s ease-out;cursor:pointer}.btn-large:hover,.btn-small:hover{background-color:#424242!important}.btn-fab-floating:hover{background-color:#424242!important}.btn-fab-floating{display:inline-block;color:#fff;position:relative;overflow:hidden;z-index:1;width:40px;height:40px;line-height:40px;padding:0;background-color:#26a69a;border-radius:50%;-webkit-transition:background-color .3s;transition:background-color .3s;cursor:pointer;vertical-align:middle}.btn-fab-floating:before{border-radius:0}.btn-fab-floating.btn-large{width:56px;height:56px;padding:0}.btn-fab-floating.btn-large.halfway-fab{bottom:-28px}.btn-fab-floating.btn-large i{line-height:56px}.btn-fab-floating.btn-small{width:32.4px;height:32.4px}.btn-fab-floating.btn-small.halfway-fab{bottom:-16.2px}.btn-fab-floating.btn-small i{line-height:32.4px}.btn-fab-floating.halfway-fab{position:absolute;right:24px;bottom:-20px}.btn-fab-floating.halfway-fab.left{right:auto;left:24px}.btn-fab-floating i{width:inherit;display:inline-block;text-align:center;color:#fff;font-size:1.6rem;line-height:40px}button.btn-fab-floating{border:0}.fab-btn{position:fixed;right:1rem;bottom:1rem;padding-top:4rem;margin-bottom:0;z-index:9}.fab-btn.active ul{visibility:visible}.fab-btn.direction-left,.fab-btn.direction-right{padding:0 0 0 15px}.fab-btn.direction-left ul,.fab-btn.direction-right ul{text-align:right;right:64px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);height:100%;left:auto;width:500px}.fab-btn.direction-left ul li,.fab-btn.direction-right ul li{display:inline-block;margin:7.5px 15px 0 0}.fab-btn.direction-right{padding:0 15px 0 0}.fab-btn.direction-right ul{text-align:left;direction:rtl;left:64px;right:auto}.fab-btn.direction-right ul li{margin:7.5px 0 0 15px}.fab-btn.direction-bottom{padding:0 0 15px 0}.fab-btn.direction-bottom ul{top:64px;bottom:auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.fab-btn.direction-bottom ul li{margin:15px 0 0 0}.fab-btn.toolbar{padding:0;height:56px}.fab-btn.toolbar.active>a i{opacity:0}.fab-btn.toolbar ul{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;top:0;bottom:0;z-index:1}.fab-btn.toolbar ul li{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:inline-block;margin:0;height:100%;-webkit-transition:none;transition:none}.fab-btn.toolbar ul li a{display:block;overflow:hidden;position:relative;width:100%;height:100%;background-color:transparent;-webkit-box-shadow:none;box-shadow:none;color:#fff;line-height:56px;z-index:1}.fab-btn.toolbar ul li a i{line-height:inherit}.fab-btn ul{left:0;right:0;text-align:center;position:absolute;bottom:64px;margin:0;visibility:hidden}.fab-btn ul li{margin-bottom:15px}.fab-btn ul a.btn-fab-floating{opacity:0}.fab-btn .fab-btn-backdrop{position:absolute;top:0;left:0;z-index:-1;width:40px;height:40px;background-color:#26a69a;border-radius:50%;-webkit-transform:scale(0);transform:scale(0)}.btn-large{height:54px;line-height:54px;font-size:15px;padding:0 28px}.btn-large i{font-size:1.6rem}.btn-small{height:32.4px;line-height:32.4px;font-size:13px}.btn-small i{font-size:1.2rem}
|
@@ -1,4 +1,22 @@
|
|
1
|
-
|
1
|
+
/*
|
2
|
+
# -----------------------------------------------------------------------------
|
3
|
+
# ~/assets/themes/j1/modules/fam/js/cash.js
|
4
|
+
# MODIFIED old Cash version 1.3.5 from Materialize used by J1 Module FAM
|
5
|
+
#
|
6
|
+
# Product/Info:
|
7
|
+
# https://jekyll.one
|
8
|
+
# https://github.com/fabiospampinato/cash
|
9
|
+
#
|
10
|
+
# Copyright (C) 2021 Juergen Adams
|
11
|
+
#
|
12
|
+
# Cash is licensed under the MIT License.
|
13
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
14
|
+
# J1 Template is licensed under the MIT License.
|
15
|
+
# See: https://github.com/fabiospampinato/cash/blob/master/LICENSE.md
|
16
|
+
# -----------------------------------------------------------------------------
|
17
|
+
# NOTE: cash-dom 1.3.5, https://github.com/kenwheeler/cash
|
18
|
+
# -----------------------------------------------------------------------------
|
19
|
+
*/
|
2
20
|
(function (factory) {
|
3
21
|
window.cash = factory();
|
4
22
|
})(function () {
|
@@ -592,7 +610,7 @@
|
|
592
610
|
*/
|
593
611
|
trigger: function (eventName, data) {
|
594
612
|
if (document.createEvent) {
|
595
|
-
|
613
|
+
var evt = document.createEvent('HTMLEvents');
|
596
614
|
evt.initEvent(eventName, true, false);
|
597
615
|
evt = this.extend(evt, data);
|
598
616
|
return this.each(function (v) {
|
@@ -1,10 +1,12 @@
|
|
1
1
|
/*
|
2
2
|
# -----------------------------------------------------------------------------
|
3
3
|
# ~/assets/themes/j1/modules/fam/js/fam.js
|
4
|
-
#
|
4
|
+
# MODIFIED FAM JS from project Materialize
|
5
|
+
# Provides JS Core funtions for the J1 FAM Module (Floating Button Menu)
|
5
6
|
#
|
6
7
|
# Product/Info:
|
7
8
|
# https://jekyll.one
|
9
|
+
# https://github.com/Dogfalo/materialize
|
8
10
|
#
|
9
11
|
# Copyright (C) 2021 Juergen Adams
|
10
12
|
#
|
@@ -449,7 +451,7 @@
|
|
449
451
|
// jadams, 2020-10-10: moved to j1 name space
|
450
452
|
//
|
451
453
|
// M.FloatingActionButton = FloatingActionButton;
|
452
|
-
j1.
|
454
|
+
j1.fab = FloatingActionButton;
|
453
455
|
|
454
456
|
// jadams, 2020-10-10: check how to transform to jQuery
|
455
457
|
//
|
@@ -0,0 +1,107 @@
|
|
1
|
+
/*
|
2
|
+
# -----------------------------------------------------------------------------
|
3
|
+
# ~/assets/themes/j1/modules/gtag-opt-in/js/gtag-opt-in.js
|
4
|
+
# J1 module for Google Analytics OptIn
|
5
|
+
#
|
6
|
+
# Product/Info:
|
7
|
+
# https://github.com/luciomartinez/gtag-opt-in
|
8
|
+
#
|
9
|
+
# Copyright (C) 2020 Lucio Martinez
|
10
|
+
#
|
11
|
+
# Google Analytics OptIn is licensed under the MIT License.
|
12
|
+
# For details, see https://github.com/luciomartinez/gtag-opt-in/blob/main/LICENSE
|
13
|
+
# -----------------------------------------------------------------------------
|
14
|
+
*/
|
15
|
+
!function (e, t) {
|
16
|
+
"object" == typeof exports && "object" == typeof module
|
17
|
+
? module.exports = t() : "function" == typeof define && define.amd ? define([], t)
|
18
|
+
: "object" == typeof exports ? exports.GTagOptIn = t() : e.GTagOptIn = t()
|
19
|
+
} (window, (function () {
|
20
|
+
return function (e) {
|
21
|
+
var t = {};
|
22
|
+
|
23
|
+
function n(r) {
|
24
|
+
if (t[r]) return t[r].exports;
|
25
|
+
var o = t[r] = {
|
26
|
+
i: r,
|
27
|
+
l: !1,
|
28
|
+
exports: {}
|
29
|
+
};
|
30
|
+
return e[r].call(o.exports, o, o.exports, n), o.l = !0, o.exports
|
31
|
+
}
|
32
|
+
return n.m = e, n.c = t, n.d = function (e, t, r) {
|
33
|
+
n.o(e, t) || Object.defineProperty(e, t, {
|
34
|
+
enumerable: !0,
|
35
|
+
get: r
|
36
|
+
})
|
37
|
+
}, n.r = function (e) {
|
38
|
+
"undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {
|
39
|
+
value: "Module"
|
40
|
+
}), Object.defineProperty(e, "__esModule", {
|
41
|
+
value: !0
|
42
|
+
})
|
43
|
+
}, n.t = function (e, t) {
|
44
|
+
if (1 & t && (e = n(e)), 8 & t) return e;
|
45
|
+
if (4 & t && "object" == typeof e && e && e.__esModule) return e;
|
46
|
+
var r = Object.create(null);
|
47
|
+
if (n.r(r), Object.defineProperty(r, "default", {
|
48
|
+
enumerable: !0,
|
49
|
+
value: e
|
50
|
+
}), 2 & t && "string" != typeof e)
|
51
|
+
for (var o in e) n.d(r, o, function (t) {
|
52
|
+
return e[t]
|
53
|
+
}.bind(null, o));
|
54
|
+
return r
|
55
|
+
}, n.n = function (e) {
|
56
|
+
var t = e && e.__esModule ? function () {
|
57
|
+
return e.default
|
58
|
+
} : function () {
|
59
|
+
return e
|
60
|
+
};
|
61
|
+
return n.d(t, "a", t), t
|
62
|
+
}, n.o = function (e, t) {
|
63
|
+
return Object.prototype.hasOwnProperty.call(e, t)
|
64
|
+
}, n.p = "", n(n.s = 0)
|
65
|
+
}([function (e, t, n) {
|
66
|
+
"use strict";
|
67
|
+
n.r(t), n.d(t, "register", (function () {
|
68
|
+
return i
|
69
|
+
})), n.d(t, "optIn", (function () {
|
70
|
+
return f
|
71
|
+
})), n.d(t, "optOut", (function () {
|
72
|
+
return a
|
73
|
+
}));
|
74
|
+
let r = !1,
|
75
|
+
o = void 0;
|
76
|
+
const i = e => {
|
77
|
+
u(e), o = e
|
78
|
+
},
|
79
|
+
u = e => {
|
80
|
+
if (!e) throw new Error("gtag-opt-in: invalid value passed to `register` method. Make sure to use a valid Analytics ID.")
|
81
|
+
},
|
82
|
+
a = () => {
|
83
|
+
d(), window["ga-disable-" + o] = !0
|
84
|
+
},
|
85
|
+
f = () => {
|
86
|
+
d(), c(), window["ga-disable-" + o] = !1
|
87
|
+
},
|
88
|
+
d = () => {
|
89
|
+
if (!o) throw new Error("gtag-opt-in: no value found for Analytics ID. Make sure to register before by calling the `register` method.")
|
90
|
+
},
|
91
|
+
c = () => {
|
92
|
+
r || (l(), r = !0)
|
93
|
+
},
|
94
|
+
l = () => {
|
95
|
+
const e = s();
|
96
|
+
p(e)
|
97
|
+
},
|
98
|
+
s = () => (window.dataLayer = window.dataLayer || [], function () {
|
99
|
+
dataLayer.push(arguments)
|
100
|
+
}),
|
101
|
+
p = e => {
|
102
|
+
e("js", new Date), e("config", o, {
|
103
|
+
anonymize_ip: !0
|
104
|
+
})
|
105
|
+
}
|
106
|
+
}])
|
107
|
+
}));
|
@@ -1 +1,15 @@
|
|
1
|
-
|
1
|
+
/*
|
2
|
+
# -----------------------------------------------------------------------------
|
3
|
+
# ~/assets/themes/j1/modules/gtag-opt-in/js/gtag-opt-in.js
|
4
|
+
# J1 module for Google Analytics OptIn
|
5
|
+
#
|
6
|
+
# Product/Info:
|
7
|
+
# https://github.com/luciomartinez/gtag-opt-in
|
8
|
+
#
|
9
|
+
# Copyright (C) 2020 Lucio Martinez
|
10
|
+
#
|
11
|
+
# Google Analytics OptIn is licensed under the MIT License.
|
12
|
+
# For details, see https://github.com/luciomartinez/gtag-opt-in/blob/main/LICENSE
|
13
|
+
# -----------------------------------------------------------------------------
|
14
|
+
*/
|
15
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.GTagOptIn=t():e.GTagOptIn=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t),n.d(t,"register",(function(){return i})),n.d(t,"optIn",(function(){return f})),n.d(t,"optOut",(function(){return a}));let r=!1,o=void 0;const i=e=>{u(e),o=e},u=e=>{if(!e)throw new Error("gtag-opt-in: invalid value passed to `register` method. Make sure to use a valid Analytics ID.")},a=()=>{d(),window["ga-disable-"+o]=!0},f=()=>{d(),c(),window["ga-disable-"+o]=!1},d=()=>{if(!o)throw new Error("gtag-opt-in: no value found for Analytics ID. Make sure to register before by calling the `register` method.")},c=()=>{r||(l(),r=!0)},l=()=>{const e=s();p(e)},s=()=>(window.dataLayer=window.dataLayer||[],function(){dataLayer.push(arguments)}),p=e=>{e("js",new Date),e("config",o,{anonymize_ip:!0})}}])}));
|
@@ -1,5 +1,8 @@
|
|
1
1
|
/*! lg-thumbnail - v1.1.0 - 2017-08-08
|
2
2
|
* http://sachinchoolur.github.io/lightGallery
|
3
3
|
* Copyright (c) 2017 Sachin N; Licensed GPLv3 */
|
4
|
+
/*! lg-thumbnail - v1.1.0 - 2017-08-08
|
5
|
+
* http://sachinchoolur.github.io/lightGallery
|
6
|
+
* Copyright (c) 2017 Sachin N; Licensed GPLv3 */
|
4
7
|
|
5
|
-
|
8
|
+
(function(a,b){if(typeof define==="function"&&define.amd){define(["jquery"],function(c){return(b(c))})}else{if(typeof exports==="object"){module.exports=b(require("jquery"))}else{b(jQuery)}}}(this,function(a){(function(){var b={thumbnail:true,animateThumb:true,currentPagerPosition:"middle",thumbWidth:100,thumbHeight:"80px",thumbContHeight:100,thumbMargin:5,exThumbImage:false,showThumbByDefault:true,toogleThumb:true,pullCaptionUp:true,enableThumbDrag:true,enableThumbSwipe:true,swipeThreshold:50,loadYoutubeThumbnail:true,youtubeThumbSize:1,loadVimeoThumbnail:true,vimeoThumbSize:"thumbnail_small",loadDailymotionThumbnail:true};var c=function(d){this.core=a(d).data("lightGallery");this.core.s=a.extend({},b,this.core.s);this.$el=a(d);this.$thumbOuter=null;this.thumbOuterWidth=0;this.thumbTotalWidth=(this.core.$items.length*(this.core.s.thumbWidth+this.core.s.thumbMargin));this.thumbIndex=this.core.index;if(this.core.s.animateThumb){this.core.s.thumbHeight="100%"}this.left=0;this.init();return this};c.prototype.init=function(){var d=this;if(this.core.s.thumbnail&&this.core.$items.length>1){if(this.core.s.showThumbByDefault){setTimeout(function(){d.core.$outer.addClass("lg-thumb-open")},700)}if(this.core.s.pullCaptionUp){this.core.$outer.addClass("lg-pull-caption-up")}this.build();if(this.core.s.animateThumb&&this.core.doCss()){if(this.core.s.enableThumbDrag){this.enableThumbDrag()}if(this.core.s.enableThumbSwipe){this.enableThumbSwipe()}this.thumbClickable=false}else{this.thumbClickable=true}this.toogle();this.thumbkeyPress()}};c.prototype.build=function(){var k=this;var g="";var d="";var j;var f='<div class="lg-thumb-outer"><div class="lg-thumb lg-group"></div></div>';switch(this.core.s.vimeoThumbSize){case"thumbnail_large":d="640";break;case"thumbnail_medium":d="200x150";break;case"thumbnail_small":d="100x75"}k.core.$outer.addClass("lg-has-thumb");k.core.$outer.find(".lg").append(f);k.$thumbOuter=k.core.$outer.find(".lg-thumb-outer");k.thumbOuterWidth=k.$thumbOuter.width();if(k.core.s.animateThumb){k.core.$outer.find(".lg-thumb").css({width:k.thumbTotalWidth+"px",position:"relative"})}if(this.core.s.animateThumb){k.$thumbOuter.css("height",k.core.s.thumbContHeight+"px")}function h(p,i,l){var n=k.core.isVideo(p,l)||{};var o;var m="";if(n.youtube||n.vimeo||n.dailymotion){if(n.youtube){if(k.core.s.loadYoutubeThumbnail){o=i}else{o=i}}else{if(n.vimeo){if(k.core.s.loadVimeoThumbnail){o=i}else{o=i}}else{if(n.dailymotion){if(k.core.s.loadDailymotionThumbnail){o=i}else{o=i}}}}}else{o=i}g+='<div class="lg-thumb-item" style="width:'+k.core.s.thumbWidth+"px; height: "+k.core.s.thumbHeight+"; margin-right: "+k.core.s.thumbMargin+'px"><img src="'+o+'" /></div>';m=""}if(k.core.s.dynamic){for(var e=0;e<k.core.s.dynamicEl.length;e++){h(k.core.s.dynamicEl[e].src,k.core.s.dynamicEl[e].thumb,e)}}else{k.core.$items.each(function(l){if(!k.core.s.exThumbImage){h(a(this).attr("href")||a(this).attr("data-src"),a(this).find("img").attr("src"),l)}else{h(a(this).attr("href")||a(this).attr("data-src"),a(this).attr(k.core.s.exThumbImage),l)}})}k.core.$outer.find(".lg-thumb").html(g);j=k.core.$outer.find(".lg-thumb-item");j.each(function(){var l=a(this);var i=l.attr("data-vimeo-id");if(i){a.getJSON("//www.vimeo.com/api/v2/video/"+i+".json?callback=?",{format:"json"},function(m){l.find("img").attr("src",m[0][k.core.s.vimeoThumbSize])})}});j.eq(k.core.index).addClass("active");k.core.$el.on("onBeforeSlide.lg.tm",function(){j.removeClass("active");j.eq(k.core.index).addClass("active")});j.on("click.lg touchend.lg",function(){var i=a(this);setTimeout(function(){if((k.thumbClickable&&!k.core.lgBusy)||!k.core.doCss()){k.core.index=i.index();k.core.slide(k.core.index,false,true,false)}},50)});k.core.$el.on("onBeforeSlide.lg.tm",function(){k.animateThumb(k.core.index)});a(window).on("resize.lg.thumb orientationchange.lg.thumb",function(){setTimeout(function(){k.animateThumb(k.core.index);k.thumbOuterWidth=k.$thumbOuter.width()},200)})};c.prototype.setTranslate=function(d){this.core.$outer.find(".lg-thumb").css({transform:"translate3d(-"+(d)+"px, 0px, 0px)"})};c.prototype.animateThumb=function(e){var f=this.core.$outer.find(".lg-thumb");if(this.core.s.animateThumb){var d;switch(this.core.s.currentPagerPosition){case"left":d=0;break;case"middle":d=(this.thumbOuterWidth/2)-(this.core.s.thumbWidth/2);break;case"right":d=this.thumbOuterWidth-this.core.s.thumbWidth}this.left=((this.core.s.thumbWidth+this.core.s.thumbMargin)*e-1)-d;if(this.left>(this.thumbTotalWidth-this.thumbOuterWidth)){this.left=this.thumbTotalWidth-this.thumbOuterWidth}if(this.left<0){this.left=0}if(this.core.lGalleryOn){if(!f.hasClass("on")){this.core.$outer.find(".lg-thumb").css("transition-duration",this.core.s.speed+"ms")}if(!this.core.doCss()){f.animate({left:-this.left+"px"},this.core.s.speed)}}else{if(!this.core.doCss()){f.css("left",-this.left+"px")}}this.setTranslate(this.left)}};c.prototype.enableThumbDrag=function(){var i=this;var g=0;var e=0;var d=false;var f=false;var h=0;i.$thumbOuter.addClass("lg-grab");i.core.$outer.find(".lg-thumb").on("mousedown.lg.thumb",function(j){if(i.thumbTotalWidth>i.thumbOuterWidth){j.preventDefault();g=j.pageX;d=true;i.core.$outer.scrollLeft+=1;i.core.$outer.scrollLeft-=1;i.thumbClickable=false;i.$thumbOuter.removeClass("lg-grab").addClass("lg-grabbing")}});a(window).on("mousemove.lg.thumb",function(j){if(d){h=i.left;f=true;e=j.pageX;i.$thumbOuter.addClass("lg-dragging");h=h-(e-g);if(h>(i.thumbTotalWidth-i.thumbOuterWidth)){h=i.thumbTotalWidth-i.thumbOuterWidth}if(h<0){h=0}i.setTranslate(h)}});a(window).on("mouseup.lg.thumb",function(){if(f){f=false;i.$thumbOuter.removeClass("lg-dragging");i.left=h;if(Math.abs(e-g)<i.core.s.swipeThreshold){i.thumbClickable=true}}else{i.thumbClickable=true}if(d){d=false;i.$thumbOuter.removeClass("lg-grabbing").addClass("lg-grab")}})};c.prototype.enableThumbSwipe=function(){var h=this;var f=0;var d=0;var e=false;var g=0;h.core.$outer.find(".lg-thumb").on("touchstart.lg",function(i){if(h.thumbTotalWidth>h.thumbOuterWidth){i.preventDefault();f=i.originalEvent.targetTouches[0].pageX;h.thumbClickable=false}});h.core.$outer.find(".lg-thumb").on("touchmove.lg",function(i){if(h.thumbTotalWidth>h.thumbOuterWidth){i.preventDefault();d=i.originalEvent.targetTouches[0].pageX;e=true;h.$thumbOuter.addClass("lg-dragging");g=h.left;g=g-(d-f);if(g>(h.thumbTotalWidth-h.thumbOuterWidth)){g=h.thumbTotalWidth-h.thumbOuterWidth}if(g<0){g=0}h.setTranslate(g)}});h.core.$outer.find(".lg-thumb").on("touchend.lg",function(){if(h.thumbTotalWidth>h.thumbOuterWidth){if(e){e=false;h.$thumbOuter.removeClass("lg-dragging");if(Math.abs(d-f)<h.core.s.swipeThreshold){h.thumbClickable=true}h.left=g}else{h.thumbClickable=true}}else{h.thumbClickable=true}})};c.prototype.toogle=function(){var d=this;if(d.core.s.toogleThumb){d.core.$outer.addClass("lg-can-toggle");d.$thumbOuter.append('<span class="lg-toogle-thumb lg-icon"></span>');d.core.$outer.find(".lg-toogle-thumb").on("click.lg",function(){d.core.$outer.toggleClass("lg-thumb-open")})}};c.prototype.thumbkeyPress=function(){var d=this;a(window).on("keydown.lg.thumb",function(f){if(f.keyCode===38){f.preventDefault();d.core.$outer.addClass("lg-thumb-open")}else{if(f.keyCode===40){f.preventDefault();d.core.$outer.removeClass("lg-thumb-open")}}})};c.prototype.destroy=function(){if(this.core.s.thumbnail&&this.core.$items.length>1){a(window).off("resize.lg.thumb orientationchange.lg.thumb keydown.lg.thumb");this.$thumbOuter.remove();this.core.$outer.removeClass("lg-has-thumb")}};a.fn.lightGallery.modules.Thumbnail=c})()}));
|
@@ -150,7 +150,7 @@
|
|
150
150
|
this.container.id = `autocomplete-options-${M.guid()}`;
|
151
151
|
$(this.container).addClass('autocomplete-content dropdown-content');
|
152
152
|
this.$inputField.append(this.container);
|
153
|
-
this.el.setAttribute('data-target', this.container.id);
|
153
|
+
this.el.setAttribute('data-bs-target', this.container.id);
|
154
154
|
|
155
155
|
this.dropdown = M.Dropdown.init(this.el, {
|
156
156
|
autoFocus: false,
|