j1-template 2022.0.14 → 2022.0.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/assets/error_pages/HTTP204.html +1 -1
  3. data/assets/error_pages/HTTP400.html +1 -1
  4. data/assets/error_pages/HTTP401.html +1 -1
  5. data/assets/error_pages/HTTP403.html +1 -1
  6. data/assets/error_pages/HTTP404.html +1 -1
  7. data/assets/error_pages/HTTP444.html +1 -1
  8. data/assets/error_pages/HTTP445.html +1 -1
  9. data/assets/error_pages/HTTP446.html +1 -1
  10. data/assets/error_pages/HTTP447.html +1 -1
  11. data/assets/error_pages/HTTP448.html +1 -1
  12. data/assets/error_pages/HTTP500.html +1 -1
  13. data/assets/error_pages/HTTP501.html +1 -1
  14. data/assets/error_pages/HTTP502.html +1 -1
  15. data/assets/error_pages/HTTP503.html +1 -1
  16. data/assets/themes/j1/adapter/js/clipboard.js +1 -1
  17. data/assets/themes/j1/adapter/js/customFunctions.js +221 -0
  18. data/assets/themes/j1/adapter/js/customModule.js +221 -0
  19. data/assets/themes/j1/adapter/js/dropdowns.js +319 -0
  20. data/assets/themes/j1/adapter/js/rtable.js +2 -6
  21. data/assets/themes/j1/core/css/vendor.css +6 -1
  22. data/assets/themes/j1/core/css/vendor.min.css +1 -1
  23. data/assets/themes/j1/core/js/template.js +4 -3
  24. data/assets/themes/j1/core/js/template.min.js +1 -1
  25. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  26. data/assets/themes/j1/modules/dropdowns/css/theme/uno/dropdowns.css +109 -0
  27. data/assets/themes/j1/modules/dropdowns/css/theme/uno/dropdowns.min.css +15 -0
  28. data/assets/themes/j1/modules/dropdowns/js/cash.js +978 -0
  29. data/assets/themes/j1/modules/dropdowns/js/dropdowns.js +864 -0
  30. data/exe/j1 +31 -11
  31. data/lib/j1/commands/generate.rb +48 -42
  32. data/lib/j1/commands/help.rb +35 -0
  33. data/lib/j1/commands/patch.rb +76 -0
  34. data/lib/j1/commands/rebuild.rb +42 -0
  35. data/lib/j1/commands/reset.rb +44 -0
  36. data/lib/j1/commands/setup.rb +123 -0
  37. data/lib/j1/commands/site.rb +36 -0
  38. data/lib/j1/external.rb +1 -1
  39. data/lib/j1/utils/{exec.rb → exec1.rb} +1 -1
  40. data/lib/j1/utils/exec2.rb +57 -0
  41. data/lib/j1/utils.rb +55 -1
  42. data/lib/j1/version.rb +1 -1
  43. data/lib/starter_web/Gemfile +1 -1
  44. data/lib/starter_web/_config.yml +1 -1
  45. data/lib/starter_web/_data/apps/carousel.yml +138 -140
  46. data/lib/starter_web/_data/blocks/banner.yml +7 -7
  47. data/lib/starter_web/_data/modules/defaults/dropdowns.yml +164 -0
  48. data/lib/starter_web/_data/modules/defaults/themer.yml +3 -2
  49. data/lib/starter_web/_data/modules/dropdowns.yml +77 -0
  50. data/lib/starter_web/_data/modules/themer.yml +2 -1
  51. data/lib/starter_web/_data/resources.yml +73 -2
  52. data/lib/starter_web/_includes/attributes.asciidoc +1 -1
  53. data/lib/starter_web/_plugins/lunr_index.rb +2 -2
  54. data/lib/starter_web/package.json +6 -2
  55. data/lib/starter_web/pages/public/about/about_site.adoc +1 -1
  56. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/000_intro.adoc +1 -1
  57. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +1 -1
  58. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +1 -1
  59. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +1 -1
  60. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +1 -1
  61. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.ads.asciidoc +1 -1
  62. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.base.asciidoc +1 -1
  63. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.comments.asciidoc +1 -1
  64. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +1 -1
  65. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +1 -1
  66. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +8 -8
  67. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +1 -1
  68. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +1 -1
  69. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +1 -1
  70. data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +1 -1
  71. data/lib/starter_web/pages/public/learn/where_to_go.adoc +1 -1
  72. data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +1 -1
  73. data/lib/starter_web/pages/public/legal/en/200_impress.adoc +1 -1
  74. data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +1 -1
  75. data/lib/starter_web/pages/public/manuals/j1-dropdown.adoc +294 -0
  76. data/lib/starter_web/pages/public/manuals/{dropdown-help.adoc → msdropdown.adoc} +0 -0
  77. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +1 -1
  78. data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +1 -1
  79. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  80. data/lib/starter_web/utilsrv/package.json +1 -1
  81. metadata +22 -7
  82. data/assets/themes/j1/modules/fab/css/theme/uno/fab.css +0 -373
  83. data/assets/themes/j1/modules/fab/css/theme/uno/fab.min.css +0 -15
data/lib/j1/utils.rb CHANGED
@@ -1,11 +1,39 @@
1
+ require "singleton"
2
+
1
3
  module J1
2
4
  module Utils
3
5
  extend self
4
6
  autoload :Ansi, "j1/utils/ansi"
5
- autoload :Exec, "j1/utils/exec"
7
+ autoload :Exec1, "j1/utils/exec1"
8
+ autoload :Exec2, "j1/utils/exec2"
6
9
  autoload :Platforms, "j1/utils/platforms"
7
10
  autoload :WinTZ, "j1/utils/win_tz"
8
11
 
12
+ class GracefulQuit
13
+ include Singleton
14
+
15
+ attr_accessor :breaker
16
+
17
+ def initialize
18
+ self.breaker = false
19
+ end
20
+
21
+ def self.enable
22
+ trap('INT') {
23
+ yield if block_given?
24
+ self.instance.breaker = true
25
+ }
26
+ end
27
+
28
+ def self.check(message = "Quitting")
29
+ if self.instance.breaker
30
+ yield if block_given?
31
+ puts message
32
+ exit
33
+ end
34
+ end
35
+ end
36
+
9
37
  # Constants for use in #slugify
10
38
  SLUGIFY_MODES = %w(raw default pretty ascii).freeze
11
39
  SLUGIFY_RAW_REGEXP = Regexp.new('\\s+').freeze
@@ -13,6 +41,32 @@ module J1
13
41
  SLUGIFY_PRETTY_REGEXP = Regexp.new("[^[:alnum:]._~!$&'()+,;=@]+").freeze
14
42
  SLUGIFY_ASCII_REGEXP = Regexp.new("[^[A-Za-z0-9]]+").freeze
15
43
 
44
+ def is_project?
45
+ path = File.expand_path(Dir.pwd)
46
+ puts "Check consistency of the J1 project ..."
47
+ if File.exist?(path + '/package.json') && File.exist?(path + '/_config.yml')
48
+ return true
49
+ else
50
+ puts "\e[31m" + "FATAL: Path #{path} seems not a J1 project folder" + "\e[0m"
51
+ end
52
+ end
53
+
54
+ def is_project_setup?
55
+ path = File.expand_path(Dir.pwd)
56
+ puts "Check setup state of the J1 project ..."
57
+ if File.exist?(path + '/package-lock.json') && File.exist?(path + '/Gemfile.lock')
58
+ return true
59
+ else
60
+ puts "\e[31m" + "FATAL: Project in path #{path} seems not initialized" + "\e[0m"
61
+ puts "INFO: Consider to run 'j1 setup' in order to prepare the project for first use"
62
+ end
63
+ end
64
+
65
+ def is_windows?
66
+ #noinspection RubyResolve
67
+ RbConfig::CONFIG["host_os"] =~ %r!mswin|mingw|cygwin!i
68
+ end
69
+
16
70
  # Takes an indented string and removes the preceding spaces on each line
17
71
 
18
72
  def strip_heredoc(str)
data/lib/j1/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module J1
2
- VERSION = '2022.0.14'
2
+ VERSION = '2022.0.18'
3
3
  end
@@ -53,7 +53,7 @@ gem 'jekyll', '~> 4.2'
53
53
 
54
54
  # Theme Rubies, default: J1 Template (NOT used for the development system)
55
55
  #
56
- gem 'j1-template', '~> 2022.0.14'
56
+ gem 'j1-template', '~> 2022.0.18'
57
57
 
58
58
  # ------------------------------------------------------------------------------
59
59
  # PRODUCTION: Gem needed for the Jekyll and J1 prod environment
@@ -53,7 +53,7 @@ environment: development
53
53
  # ------------------------------------------------------------------------------
54
54
  # Sets the build version of J1 Template Gem
55
55
  #
56
- version: 2022.0.14
56
+ version: 2022.0.18
57
57
 
58
58
  # version
59
59
  # ------------------------------------------------------------------------------
@@ -47,148 +47,146 @@ settings:
47
47
  enabled: true
48
48
 
49
49
  # ----------------------------------------------------------------------------
50
- # CAROUSEL configurations
50
+ # CAROUSEL options
51
51
  # ----------------------------------------------------------------------------
52
-
53
- # ----------------------------------------------------------------------------
54
- # CAROUSEL options
55
- # ----------------------------------------------------------------------------
56
- #
57
- # enabled
58
- # ----------------------------------------------------------------------------
59
- # Enables|Disables the use of the OwlCarousel
60
- #
61
- # values: boolean (true|false)
62
- # default: false
63
- #
64
- # carousel
65
- # ----------------------------------------------------------------------------
66
- # All shows are configured as elements of the carousel
67
- # array
68
- #
69
- # enabled:
70
- # ----------------------------------------------------------------------------
71
- # If enabled, show data (JSON) is generated
72
- #
73
- # values: boolean (false|true)
74
- # default: no default
75
- #
76
- # lightbox:
77
- # ---------------------------------------------------
78
- # If set to true, J1 Lightbox is enabled for all images
79
- # of that carousel|show
80
- #
81
- # NOTE:
82
- # To use Lightbox with Owl Carousel, lazyLoad needs to
83
- # be enabled for the show to delay the load of images.
84
- # If lightbox is detected as ENABLED, lazyLoad is
85
- # automatically ENABLED as well.
86
- #
87
- # values: boolean (false|true)
88
- # default: false
89
- #
90
- # id
91
- # --------------------------------------------------------------------------
92
- # A unique id used to create and initialize a
93
- # (specific) carousel|show.
94
- #
95
- # values: string
96
- # default: no defaults
97
- #
98
- #
99
- # item_type
100
- # --------------------------------------------------------------------------
101
- # For a slide show, images or text (HTML code) can be
102
- # used as items.
103
- #
104
- # values: image|text
105
- # default: image
106
- #
107
- # images
108
- # --------------------------------------------------------------------------
109
- # The images array specifies all images used by a
110
- # carousel as items. All images are to be configured
111
- # as a comma separated list (of image names with NO path).
112
- #
113
- # NOTE:
114
- # Because NO individual path for images can be configured,
115
- # all image files are to be located in the SAME directory.
116
- #
117
- # values: array|string (image names)
118
- # default: no defaults
119
- #
120
- # slide_height
121
- # --------------------------------------------------------------------------
122
- # The images are scaled to 100 percent of height per
123
- # default. To reduce the height of the images of a
124
- # show, slide_height reduce the (viewport) height of
125
- # a show down to 10vh (vh, view height).
126
- #
127
- # IMPORTANT:
128
- # This option can be used ONLY for SINGLE image shows
129
- # with option "singleItem" set to "true".
130
- #
131
- # NOTE:
132
- # The view port units VH and VW are supported for
133
- # browsers supporting CSS3, only. The view port units
134
- # scale the view port of an HTML element (e.g DIV)
135
- # in relation to the current (window) size of the
136
- # browser.
137
- #
138
- # values: integer [10 .. 100] (vh)
139
- # default: 100
140
- #
141
- # lb_caption
142
- # --------------------------------------------------------------------------
143
- # The lb_caption array specifies all CAPTION TEXT
144
- # used by the LIGHTBOX configured (if a lightbox is
145
- # enabled).
146
- #
147
- # Caption text elements are to be configured as a
148
- # comma separated list of the SAME number as IMAGES
149
- # configured for a show.
150
- #
151
- # values: array|string (caption text)
152
- # default: no defaults
153
- #
154
- # images_path
155
- # --------------------------------------------------------------------------
156
- # Path to the IMAGES configured with the 'images'
157
- # sequence (array ).
158
- #
159
- # values: string (path)
160
- # default: no defaults
161
- #
162
- # text
163
- # --------------------------------------------------------------------------
164
- # If the slide show items are of type TEXT (item_type),
165
- # the text array specifies all text blocks (plain text
166
- # of HTML code) used by a carousel as show items. Text
167
- # items are configured as a comma separated list of
168
- # strings.
169
- #
170
- # values: array|string (plain text OR HTML code)
171
- # default: no defaults
172
- #
173
- # links
174
- # --------------------------------------------------------------------------
175
- # On all carousel items, links (URLs) can be specified.
176
- #
177
- # NOTE:
178
- # The number of elements of the 'links' array has to be
179
- # the same as the images or text array. The links are
180
- # bound to the items the same order. The first link is
181
- # bound to the first image|text block, the second link
182
- # to the second image|text etc.
183
- #
184
- # values: array|string (url)
185
- # default: no defaults
186
- #
187
- #
188
- # ----------------------------------------------------------------------------
189
-
52
+ #
53
+ # enabled
54
+ # ----------------------------------------------------------------------------
55
+ # Enables|Disables the use of the OwlCarousel
56
+ #
57
+ # values: boolean (true|false)
58
+ # default: false
59
+ #
60
+ # carousel
61
+ # ----------------------------------------------------------------------------
62
+ # All shows are configured as elements of the carousel
63
+ # array
64
+ #
65
+ # enabled:
66
+ # ----------------------------------------------------------------------------
67
+ # If enabled, show data (JSON) is generated
68
+ #
69
+ # values: boolean (false|true)
70
+ # default: no default
71
+ #
72
+ # lightbox:
73
+ # ---------------------------------------------------
74
+ # If set to true, J1 Lightbox is enabled for all images
75
+ # of that carousel|show
76
+ #
77
+ # NOTE:
78
+ # To use Lightbox with Owl Carousel, lazyLoad needs to
79
+ # be enabled for the show to delay the load of images.
80
+ # If lightbox is detected as ENABLED, lazyLoad is
81
+ # automatically ENABLED as well.
82
+ #
83
+ # values: boolean (false|true)
84
+ # default: false
85
+ #
86
+ # id
87
+ # --------------------------------------------------------------------------
88
+ # A unique id used to create and initialize a
89
+ # (specific) carousel|show.
90
+ #
91
+ # values: string
92
+ # default: no defaults
93
+ #
94
+ #
95
+ # item_type
96
+ # --------------------------------------------------------------------------
97
+ # For a slide show, images or text (HTML code) can be
98
+ # used as items.
99
+ #
100
+ # values: image|text
101
+ # default: image
102
+ #
103
+ # images
104
+ # --------------------------------------------------------------------------
105
+ # The images array specifies all images used by a
106
+ # carousel as items. All images are to be configured
107
+ # as a comma separated list (of image names with NO path).
108
+ #
109
+ # NOTE:
110
+ # Because NO individual path for images can be configured,
111
+ # all image files are to be located in the SAME directory.
112
+ #
113
+ # values: array|string (image names)
114
+ # default: no defaults
115
+ #
116
+ # slide_height
117
+ # --------------------------------------------------------------------------
118
+ # The images are scaled to 100 percent of height per
119
+ # default. To reduce the height of the images of a
120
+ # show, slide_height reduce the (viewport) height of
121
+ # a show down to 10vh (vh, view height).
122
+ #
123
+ # IMPORTANT:
124
+ # This option can be used ONLY for SINGLE image shows
125
+ # with option "singleItem" set to "true".
126
+ #
127
+ # NOTE:
128
+ # The view port units VH and VW are supported for
129
+ # browsers supporting CSS3, only. The view port units
130
+ # scale the view port of an HTML element (e.g DIV)
131
+ # in relation to the current (window) size of the
132
+ # browser.
133
+ #
134
+ # values: integer [10 .. 100] (vh)
135
+ # default: 100
136
+ #
137
+ # lb_caption
138
+ # --------------------------------------------------------------------------
139
+ # The lb_caption array specifies all CAPTION TEXT
140
+ # used by the LIGHTBOX configured (if a lightbox is
141
+ # enabled).
142
+ #
143
+ # Caption text elements are to be configured as a
144
+ # comma separated list of the SAME number as IMAGES
145
+ # configured for a show.
146
+ #
147
+ # values: array|string (caption text)
148
+ # default: no defaults
149
+ #
150
+ # images_path
151
+ # --------------------------------------------------------------------------
152
+ # Path to the IMAGES configured with the 'images'
153
+ # sequence (array ).
154
+ #
155
+ # values: string (path)
156
+ # default: no defaults
157
+ #
158
+ # text
159
+ # --------------------------------------------------------------------------
160
+ # If the slide show items are of type TEXT (item_type),
161
+ # the text array specifies all text blocks (plain text
162
+ # of HTML code) used by a carousel as show items. Text
163
+ # items are configured as a comma separated list of
164
+ # strings.
165
+ #
166
+ # values: array|string (plain text OR HTML code)
167
+ # default: no defaults
168
+ #
169
+ # links
170
+ # --------------------------------------------------------------------------
171
+ # On all carousel items, links (URLs) can be specified.
172
+ #
173
+ # NOTE:
174
+ # The number of elements of the 'links' array has to be
175
+ # the same as the images or text array. The links are
176
+ # bound to the items the same order. The first link is
177
+ # bound to the first image|text block, the second link
178
+ # to the second image|text etc.
179
+ #
180
+ # values: array|string (url)
181
+ # default: no defaults
182
+ #
183
+ #
184
+ # ----------------------------------------------------------------------------
185
+ #
190
186
  carousel:
191
-
187
+ # --------------------------------------------------------------------------
188
+ # CAROUSEL configurations
189
+ # --------------------------------------------------------------------------
192
190
 
193
191
  # --------------------------------------------------------------------------
194
192
  # demo_text_carousel
@@ -197,17 +197,17 @@ settings:
197
197
  href: "https://rubygems.org/gems/j1-template"
198
198
  target: blank
199
199
 
200
- - name: Quickstart
200
+ - name: Rocketstart
201
201
  button:
202
- id: quickstart
203
- title: Quickstart
204
- tagline: finished in 15 minutes
205
- class: btn btn-xl btn-primary text-uppercase text-left mr-2 mb-2
202
+ id: rocketstart
203
+ title: Rocketstart
204
+ tagline: finished in minutes
205
+ class: btn btn-raised btn-xl btn-primary text-uppercase text-left mr-2 mb-2
206
206
  style: "min-width: 250px"
207
- icon: briefcase-check-outline
207
+ icon: rocket-launch
208
208
  icon_color:
209
209
  icon_size: 3x
210
- href: "https://jekyll.one/pages/public/learn/quickstart/"
210
+ href: "https://jekyll.one/pages/public/learn/rocketstart/"
211
211
  target: blank
212
212
 
213
213
  # --------------------------------------------------------------------------
@@ -0,0 +1,164 @@
1
+ # ------------------------------------------------------------------------------
2
+ # ~/_data/modules/defaults/dropdowns.yml
3
+ # Default Configuration of the Dropdowns Module
4
+ #
5
+ # Product/Info:
6
+ # https://jekyll.one
7
+ # https://materializecss.com/dropdown.html
8
+ #
9
+ # Copyright (C) 2021 Juergen Adams
10
+ #
11
+ # Materialize is licensed under the MIT License.
12
+ # See: https://github.com/Dogfalo/materialize/blob/v1-dev/LICENSE
13
+ # J1 Template is licensed under the MIT License.
14
+ # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
15
+ #
16
+ # ------------------------------------------------------------------------------
17
+ # NOTE:
18
+ #
19
+ # ------------------------------------------------------------------------------
20
+
21
+ # ------------------------------------------------------------------------------
22
+ # Description (used for J1 CC only)
23
+ #
24
+ description:
25
+
26
+ title: Dropdowns Module
27
+ scope: Default settings
28
+ location: _data/modules/defaults/dropdowns.yml
29
+
30
+ # ------------------------------------------------------------------------------
31
+ # Default settings
32
+ #
33
+ defaults:
34
+ enabled: false
35
+
36
+ # ----------------------------------------------------------------------------
37
+ # DROPDOWN options
38
+ # ----------------------------------------------------------------------------
39
+ #
40
+ # enabled
41
+ # ----------------------------------------------------------------------------
42
+ # Enables|Disables the use of the Dropdowns
43
+ #
44
+ # values: boolean (true|false)
45
+ # default: false
46
+ #
47
+ # alignment
48
+ # ----------------------------------------------------------------------------
49
+ # Defines the edge the menu is aligned to.
50
+ #
51
+ # values: String (top|right|bottom|left)
52
+ # default: left
53
+ #
54
+ # autoTrigger
55
+ # ----------------------------------------------------------------------------
56
+ # If true, automatically focus dropdown el for keyboard.
57
+ #
58
+ # values: boolean (true|false)
59
+ # default: true
60
+ #
61
+ # constrainWidth
62
+ # ----------------------------------------------------------------------------
63
+ # If true, constrainWidth to the size of the dropdown activator.
64
+ #
65
+ # values: boolean (true|false)
66
+ # default: true
67
+ #
68
+ # container
69
+ # ----------------------------------------------------------------------------
70
+ # Defines the edge the menu is aligned to.
71
+ #
72
+ # values: Element (HTML element|false)
73
+ # default: false
74
+ #
75
+ # coverTrigger
76
+ # ----------------------------------------------------------------------------
77
+ # If false, the dropdown will show below the trigger.
78
+ #
79
+ # values: boolean (true|false)
80
+ # default: true
81
+ #
82
+ # closeOnClick
83
+ # ----------------------------------------------------------------------------
84
+ # If true, close dropdown on item click.
85
+ #
86
+ # values: boolean (true|false)
87
+ # default: true
88
+ #
89
+ # hover
90
+ # ----------------------------------------------------------------------------
91
+ # If true, the dropdown will open on hover.
92
+ #
93
+ # values: boolean (true|false)
94
+ # default: false
95
+ #
96
+ # inDuration
97
+ # ----------------------------------------------------------------------------
98
+ # The duration of the transition enter in milliseconds.
99
+ #
100
+ # values: Number
101
+ # default: 150
102
+ #
103
+ # maxLenght
104
+ # ----------------------------------------------------------------------------
105
+ # The max length of the dropdown menu in pixels. If the menu exeeds
106
+ # the limit, scrollbars are shown to browse the menu.
107
+ #
108
+ # values: Number
109
+ # default: 350
110
+ #
111
+ # outDuration
112
+ # ----------------------------------------------------------------------------
113
+ # The duration of the transition out in milliseconds.
114
+ #
115
+ # values: Number
116
+ # default: 250
117
+ #
118
+ # cbOnOpen
119
+ # ----------------------------------------------------------------------------
120
+ # Function called when dropdown starts entering.
121
+ #
122
+ # values: Function|false
123
+ # default: false
124
+ #
125
+ # cbOnOpenEnd
126
+ # ----------------------------------------------------------------------------
127
+ # Function called when dropdown finishes entering.
128
+ #
129
+ # values: Function|false
130
+ # default: false
131
+ #
132
+ # cbOnClose
133
+ # ----------------------------------------------------------------------------
134
+ # Function called when dropdown starts exiting.
135
+ #
136
+ # values: Function|false
137
+ # default: false
138
+ #
139
+ # cbOnCloseEnd
140
+ # ----------------------------------------------------------------------------
141
+ # Function called when dropdown finishes exiting.
142
+ #
143
+ # values: Function|false
144
+ # default: false
145
+ #
146
+ # ----------------------------------------------------------------------------
147
+ #
148
+ options:
149
+ alignment: left
150
+ autoTrigger: true
151
+ constrainWidth: true
152
+ container: false
153
+ coverTrigger: true
154
+ closeOnClick: true
155
+ hover: false
156
+ inDuration: 150
157
+ outDuration: 250
158
+ maxLenght: 350
159
+ cbOnOpen: j1.adapter.dropdowns.cbOnOpen
160
+ cbOnClose: j1.adapter.dropdowns.cbOnClose
161
+ cbOnItemClick: false # j1.adapter.dropdowns.cbOnItemClick
162
+
163
+ # ------------------------------------------------------------------------------
164
+ # END config
@@ -145,10 +145,11 @@ defaults:
145
145
  #
146
146
  enabled: false
147
147
 
148
+ debug: false
149
+ saveToCookie: true
150
+
148
151
  reloadPageOnChange: false # reload current page, if theme has been changed
149
152
  retries: 30 # retry to load theme list from API
150
- saveToCookie: true
151
- debug: false
152
153
  preview_page: /pages/public/previewer/theme/
153
154
  menu_icon_family: MDI
154
155
  menu_icon_color: "#9E9E9E"