fomantic-ui 2.9.3-beta.4 → 2.9.3-beta.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.all-contributorsrc +2 -2
- package/.github/FUNDING.yml +1 -1
- package/.github/auto_assign.yml +1 -1
- package/.github/workflows/ci.yml +2 -2
- package/CONTRIBUTORS.md +1 -1
- package/dist/components/accordion.css +1 -1
- package/dist/components/accordion.js +2 -2
- package/dist/components/accordion.min.css +1 -1
- package/dist/components/accordion.min.js +2 -2
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +3 -3
- package/dist/components/api.min.js +2 -2
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +2 -2
- package/dist/components/button.min.css +2 -2
- package/dist/components/calendar.css +1 -1
- package/dist/components/calendar.js +2 -2
- package/dist/components/calendar.min.css +1 -1
- package/dist/components/calendar.min.js +2 -2
- package/dist/components/card.css +1 -1
- package/dist/components/card.min.css +1 -1
- package/dist/components/checkbox.css +50 -6
- package/dist/components/checkbox.js +5 -3
- package/dist/components/checkbox.min.css +2 -2
- package/dist/components/checkbox.min.js +2 -2
- package/dist/components/comment.css +6 -1
- package/dist/components/comment.min.css +2 -2
- package/dist/components/container.css +62 -1
- package/dist/components/container.min.css +2 -2
- package/dist/components/dimmer.css +3 -3
- package/dist/components/dimmer.js +2 -2
- package/dist/components/dimmer.min.css +2 -2
- package/dist/components/dimmer.min.js +2 -2
- package/dist/components/divider.css +1 -1
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +42 -4
- package/dist/components/dropdown.js +25 -20
- package/dist/components/dropdown.min.css +2 -2
- package/dist/components/dropdown.min.js +2 -2
- package/dist/components/embed.css +1 -1
- package/dist/components/embed.js +2 -2
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +2 -2
- package/dist/components/emoji.css +697 -249
- package/dist/components/emoji.min.css +2 -2
- package/dist/components/feed.css +486 -5
- package/dist/components/feed.min.css +2 -2
- package/dist/components/flag.css +3 -2
- package/dist/components/flag.min.css +2 -2
- package/dist/components/flyout.css +1 -1
- package/dist/components/flyout.js +5 -3
- package/dist/components/flyout.min.css +1 -1
- package/dist/components/flyout.min.js +2 -2
- package/dist/components/form.css +53 -20
- package/dist/components/form.js +73 -32
- package/dist/components/form.min.css +2 -2
- package/dist/components/form.min.js +2 -2
- package/dist/components/grid.css +107 -107
- package/dist/components/grid.min.css +2 -2
- package/dist/components/header.css +1 -1
- package/dist/components/header.min.css +1 -1
- package/dist/components/icon.css +62 -62
- package/dist/components/icon.min.css +2 -2
- package/dist/components/image.css +1 -1
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +3 -27
- package/dist/components/input.min.css +2 -2
- package/dist/components/item.css +6 -1
- package/dist/components/item.min.css +2 -2
- package/dist/components/label.css +21 -2
- package/dist/components/label.min.css +2 -2
- package/dist/components/list.css +13 -13
- package/dist/components/list.min.css +2 -2
- package/dist/components/loader.css +282 -282
- package/dist/components/loader.min.css +2 -2
- package/dist/components/menu.css +13 -7
- package/dist/components/menu.min.css +2 -2
- package/dist/components/message.css +1 -1
- package/dist/components/message.min.css +1 -1
- package/dist/components/modal.css +10 -3
- package/dist/components/modal.js +10 -10
- package/dist/components/modal.min.css +2 -2
- package/dist/components/modal.min.js +2 -2
- package/dist/components/nag.css +1 -1
- package/dist/components/nag.js +3 -3
- package/dist/components/nag.min.css +1 -1
- package/dist/components/nag.min.js +2 -2
- package/dist/components/placeholder.css +1 -1
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +41 -40
- package/dist/components/popup.js +11 -9
- package/dist/components/popup.min.css +2 -2
- package/dist/components/popup.min.js +2 -2
- package/dist/components/progress.css +1 -1
- package/dist/components/progress.js +2 -2
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +2 -2
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +1 -1
- package/dist/components/rating.js +2 -2
- package/dist/components/rating.min.css +1 -1
- package/dist/components/rating.min.js +2 -2
- package/dist/components/reset.css +1 -1
- package/dist/components/reset.min.css +1 -1
- package/dist/components/reveal.css +1 -1
- package/dist/components/reveal.min.css +1 -1
- package/dist/components/search.css +26 -1
- package/dist/components/search.js +5 -4
- package/dist/components/search.min.css +2 -2
- package/dist/components/search.min.js +2 -2
- package/dist/components/segment.css +159 -33
- package/dist/components/segment.min.css +2 -2
- package/dist/components/shape.css +1 -1
- package/dist/components/shape.js +2 -2
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +2 -2
- package/dist/components/sidebar.css +1 -1
- package/dist/components/sidebar.js +2 -2
- package/dist/components/sidebar.min.css +1 -1
- package/dist/components/sidebar.min.js +2 -2
- package/dist/components/site.css +1 -1
- package/dist/components/site.js +2 -2
- package/dist/components/site.min.css +1 -1
- package/dist/components/site.min.js +2 -2
- package/dist/components/slider.css +1 -1
- package/dist/components/slider.js +123 -27
- package/dist/components/slider.min.css +1 -1
- package/dist/components/slider.min.js +2 -2
- package/dist/components/state.js +2 -2
- package/dist/components/state.min.js +2 -2
- package/dist/components/statistic.css +1 -1
- package/dist/components/statistic.min.css +1 -1
- package/dist/components/step.css +1 -1
- package/dist/components/step.min.css +1 -1
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +2 -2
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +2 -2
- package/dist/components/tab.css +1 -1
- package/dist/components/tab.js +6 -4
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +2 -2
- package/dist/components/table.css +65 -1
- package/dist/components/table.min.css +2 -2
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +6 -1
- package/dist/components/toast.js +2 -2
- package/dist/components/toast.min.css +2 -2
- package/dist/components/toast.min.js +2 -2
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +3 -3
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +2 -2
- package/dist/components/visibility.js +2 -2
- package/dist/components/visibility.min.js +2 -2
- package/dist/semantic.css +2658 -960
- package/dist/semantic.js +299 -148
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +2 -2
- package/package.json +1 -1
- package/src/definitions/behaviors/api.js +2 -2
- package/src/definitions/behaviors/form.js +72 -31
- package/src/definitions/behaviors/state.js +1 -1
- package/src/definitions/behaviors/visibility.js +1 -1
- package/src/definitions/collections/breadcrumb.less +2 -1
- package/src/definitions/collections/form.less +27 -13
- package/src/definitions/collections/grid.less +108 -107
- package/src/definitions/collections/menu.less +31 -23
- package/src/definitions/collections/message.less +2 -1
- package/src/definitions/collections/table.less +68 -1
- package/src/definitions/elements/button.less +4 -2
- package/src/definitions/elements/container.less +65 -1
- package/src/definitions/elements/divider.less +2 -1
- package/src/definitions/elements/emoji.less +2 -1
- package/src/definitions/elements/flag.less +2 -1
- package/src/definitions/elements/header.less +2 -1
- package/src/definitions/elements/icon.less +7 -6
- package/src/definitions/elements/image.less +2 -1
- package/src/definitions/elements/input.less +4 -3
- package/src/definitions/elements/label.less +23 -2
- package/src/definitions/elements/list.less +15 -14
- package/src/definitions/elements/loader.less +73 -72
- package/src/definitions/elements/placeholder.less +2 -1
- package/src/definitions/elements/rail.less +2 -1
- package/src/definitions/elements/reveal.less +2 -1
- package/src/definitions/elements/segment.less +112 -14
- package/src/definitions/elements/step.less +2 -1
- package/src/definitions/elements/text.less +2 -1
- package/src/definitions/globals/reset.less +2 -1
- package/src/definitions/globals/site.js +1 -1
- package/src/definitions/globals/site.less +2 -1
- package/src/definitions/modules/accordion.js +1 -1
- package/src/definitions/modules/accordion.less +2 -1
- package/src/definitions/modules/calendar.js +1 -1
- package/src/definitions/modules/calendar.less +2 -1
- package/src/definitions/modules/checkbox.js +4 -2
- package/src/definitions/modules/checkbox.less +63 -6
- package/src/definitions/modules/dimmer.js +1 -1
- package/src/definitions/modules/dimmer.less +4 -3
- package/src/definitions/modules/dropdown.js +24 -19
- package/src/definitions/modules/dropdown.less +55 -4
- package/src/definitions/modules/embed.js +1 -1
- package/src/definitions/modules/embed.less +2 -1
- package/src/definitions/modules/flyout.js +4 -2
- package/src/definitions/modules/flyout.less +2 -1
- package/src/definitions/modules/modal.js +9 -9
- package/src/definitions/modules/modal.less +13 -3
- package/src/definitions/modules/nag.js +2 -2
- package/src/definitions/modules/nag.less +3 -1
- package/src/definitions/modules/popup.js +10 -8
- package/src/definitions/modules/popup.less +42 -39
- package/src/definitions/modules/progress.js +1 -1
- package/src/definitions/modules/progress.less +2 -1
- package/src/definitions/modules/rating.js +1 -1
- package/src/definitions/modules/rating.less +2 -1
- package/src/definitions/modules/search.js +4 -3
- package/src/definitions/modules/search.less +33 -1
- package/src/definitions/modules/shape.js +1 -1
- package/src/definitions/modules/shape.less +2 -1
- package/src/definitions/modules/sidebar.js +1 -1
- package/src/definitions/modules/sidebar.less +2 -1
- package/src/definitions/modules/slider.js +122 -26
- package/src/definitions/modules/slider.less +2 -1
- package/src/definitions/modules/sticky.js +1 -1
- package/src/definitions/modules/sticky.less +2 -1
- package/src/definitions/modules/tab.js +5 -3
- package/src/definitions/modules/tab.less +2 -1
- package/src/definitions/modules/toast.js +1 -1
- package/src/definitions/modules/toast.less +9 -1
- package/src/definitions/modules/transition.js +2 -2
- package/src/definitions/modules/transition.less +2 -1
- package/src/definitions/views/ad.less +2 -1
- package/src/definitions/views/card.less +2 -1
- package/src/definitions/views/comment.less +9 -1
- package/src/definitions/views/feed.less +240 -33
- package/src/definitions/views/item.less +9 -1
- package/src/definitions/views/statistic.less +2 -1
- package/src/overrides.less +7 -0
- package/src/theme.less +7 -6
- package/src/themes/amazon/elements/button.variables +5 -1
- package/src/themes/bootstrap3/elements/button.variables +5 -1
- package/src/themes/chubby/elements/header.variables +6 -1
- package/src/themes/default/collections/message.variables +3 -9
- package/src/themes/default/collections/table.variables +3 -0
- package/src/themes/default/elements/button.variables +1 -3
- package/src/themes/default/elements/container.variables +3 -0
- package/src/themes/default/elements/emoji.variables +179 -67
- package/src/themes/default/elements/flag.variables +1 -1
- package/src/themes/default/elements/label.variables +5 -0
- package/src/themes/default/elements/segment.variables +8 -0
- package/src/themes/default/globals/site.variables +20 -1
- package/src/themes/default/globals/variation.variables +23 -1
- package/src/themes/default/modules/checkbox.variables +12 -0
- package/src/themes/default/modules/dropdown.variables +6 -0
- package/src/themes/default/modules/modal.variables +4 -0
- package/src/themes/default/modules/popup.variables +3 -1
- package/src/themes/default/modules/search.variables +3 -0
- package/src/themes/default/modules/toast.variables +1 -0
- package/src/themes/default/views/card.variables +4 -12
- package/src/themes/default/views/feed.variables +55 -1
- package/src/themes/github/elements/button.variables +5 -1
- package/src/themes/joypixels/elements/emoji.variables +182 -70
- package/src/themes/twitter/elements/button.variables +5 -1
- package/src/themes/twitter/elements/emoji.variables +178 -66
- package/tasks/admin/distributions/create.js +8 -3
- package/tasks/config/project/install.js +3 -0
- package/tasks/config/tasks.js +1 -8
- package/tasks/install.js +15 -5
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* # Fomantic-UI 2.9.3-beta.
|
2
|
+
* # Fomantic-UI 2.9.3-beta.41+41577bc - Container
|
3
3
|
* https://github.com/fomantic/Fomantic-UI/
|
4
4
|
*
|
5
5
|
*
|
@@ -161,69 +161,130 @@
|
|
161
161
|
.ui.scrolling.container.short {
|
162
162
|
max-height: 11.25em;
|
163
163
|
}
|
164
|
+
.ui.scrolling.container.short.resizable {
|
165
|
+
height: 11.25em;
|
166
|
+
}
|
164
167
|
.ui.scrolling.container[class*="very short"] {
|
165
168
|
max-height: 7.5em;
|
166
169
|
}
|
170
|
+
.ui.scrolling.container[class*="very short"].resizable {
|
171
|
+
height: 7.5em;
|
172
|
+
}
|
167
173
|
.ui.scrolling.container {
|
168
174
|
max-height: 15em;
|
169
175
|
}
|
170
176
|
.ui.scrolling.container.long {
|
171
177
|
max-height: 30em;
|
172
178
|
}
|
179
|
+
.ui.scrolling.container.long.resizable {
|
180
|
+
height: 30em;
|
181
|
+
}
|
173
182
|
.ui.scrolling.container[class*="very long"] {
|
174
183
|
max-height: 45em;
|
175
184
|
}
|
185
|
+
.ui.scrolling.container[class*="very long"].resizable {
|
186
|
+
height: 45em;
|
187
|
+
}
|
176
188
|
}
|
177
189
|
@media only screen and (min-width: 768px) {
|
178
190
|
.ui.scrolling.container.short {
|
179
191
|
max-height: 13.5em;
|
180
192
|
}
|
193
|
+
.ui.scrolling.container.short.resizable {
|
194
|
+
height: 13.5em;
|
195
|
+
}
|
181
196
|
.ui.scrolling.container[class*="very short"] {
|
182
197
|
max-height: 9em;
|
183
198
|
}
|
199
|
+
.ui.scrolling.container[class*="very short"].resizable {
|
200
|
+
height: 9em;
|
201
|
+
}
|
184
202
|
.ui.scrolling.container {
|
185
203
|
max-height: 18em;
|
186
204
|
}
|
205
|
+
.ui.scrolling.container.resizable {
|
206
|
+
height: 18em;
|
207
|
+
}
|
187
208
|
.ui.scrolling.container.long {
|
188
209
|
max-height: 36em;
|
189
210
|
}
|
211
|
+
.ui.scrolling.container.long.resizable {
|
212
|
+
height: 36em;
|
213
|
+
}
|
190
214
|
.ui.scrolling.container[class*="very long"] {
|
191
215
|
max-height: 54em;
|
192
216
|
}
|
217
|
+
.ui.scrolling.container[class*="very long"].resizable {
|
218
|
+
height: 54em;
|
219
|
+
}
|
193
220
|
}
|
194
221
|
@media only screen and (min-width: 992px) {
|
195
222
|
.ui.scrolling.container.short {
|
196
223
|
max-height: 18em;
|
197
224
|
}
|
225
|
+
.ui.scrolling.container.short.resizable {
|
226
|
+
height: 18em;
|
227
|
+
}
|
198
228
|
.ui.scrolling.container[class*="very short"] {
|
199
229
|
max-height: 12em;
|
200
230
|
}
|
231
|
+
.ui.scrolling.container[class*="very short"].resizable {
|
232
|
+
height: 12em;
|
233
|
+
}
|
201
234
|
.ui.scrolling.container {
|
202
235
|
max-height: 24em;
|
203
236
|
}
|
237
|
+
.ui.scrolling.container.resizable {
|
238
|
+
height: 24em;
|
239
|
+
}
|
204
240
|
.ui.scrolling.container.long {
|
205
241
|
max-height: 48em;
|
206
242
|
}
|
243
|
+
.ui.scrolling.container.long.resizable {
|
244
|
+
height: 48em;
|
245
|
+
}
|
207
246
|
.ui.scrolling.container[class*="very long"] {
|
208
247
|
max-height: 72em;
|
209
248
|
}
|
249
|
+
.ui.scrolling.container[class*="very long"].resizable {
|
250
|
+
height: 72em;
|
251
|
+
}
|
210
252
|
}
|
211
253
|
@media only screen and (min-width: 1920px) {
|
212
254
|
.ui.scrolling.container.short {
|
213
255
|
max-height: 22.5em;
|
214
256
|
}
|
257
|
+
.ui.scrolling.container.short.resizable {
|
258
|
+
height: 22.5em;
|
259
|
+
}
|
215
260
|
.ui.scrolling.container[class*="very short"] {
|
216
261
|
max-height: 15em;
|
217
262
|
}
|
263
|
+
.ui.scrolling.container[class*="very short"].resizable {
|
264
|
+
height: 15em;
|
265
|
+
}
|
218
266
|
.ui.scrolling.container {
|
219
267
|
max-height: 30em;
|
220
268
|
}
|
269
|
+
.ui.scrolling.container.resizable {
|
270
|
+
height: 30em;
|
271
|
+
}
|
221
272
|
.ui.scrolling.container.long {
|
222
273
|
max-height: 60em;
|
223
274
|
}
|
275
|
+
.ui.scrolling.container.long.resizable {
|
276
|
+
height: 60em;
|
277
|
+
}
|
224
278
|
.ui.scrolling.container[class*="very long"] {
|
225
279
|
max-height: 90em;
|
226
280
|
}
|
281
|
+
.ui.scrolling.container[class*="very long"].resizable {
|
282
|
+
height: 90em;
|
283
|
+
}
|
284
|
+
}
|
285
|
+
.ui.resizable.scrolling.container {
|
286
|
+
resize: vertical;
|
287
|
+
max-height: none;
|
227
288
|
}
|
228
289
|
|
229
290
|
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/*!
|
2
|
-
* # Fomantic-UI 2.9.3-beta.
|
2
|
+
* # Fomantic-UI 2.9.3-beta.41+41577bc - Container
|
3
3
|
* https://github.com/fomantic/Fomantic-UI/
|
4
4
|
*
|
5
5
|
*
|
6
6
|
* Released under the MIT license
|
7
7
|
* https://opensource.org/licenses/MIT
|
8
8
|
*
|
9
|
-
*/.ui.container{display:block;max-width:100%}@media only screen and (max-width:767.98px){.ui.ui.ui.container:not(.fluid){width:auto;margin-left:1em;margin-right:1em}.ui.ui.ui.grid.container{width:auto}.ui.ui.ui.relaxed.grid.container{width:auto}.ui.ui.ui.very.relaxed.grid.container{width:auto}}@media only screen and (min-width:768px) and (max-width:991.98px){.ui.ui.ui.container:not(.fluid){width:723px;margin-left:auto;margin-right:auto}.ui.ui.ui.grid.container{width:calc(723px + 2rem)}.ui.ui.ui.relaxed.grid.container{width:calc(723px + 3rem)}.ui.ui.ui.very.relaxed.grid.container{width:calc(723px + 5rem)}}@media only screen and (min-width:992px) and (max-width:1199.98px){.ui.ui.ui.container:not(.fluid){width:933px;margin-left:auto;margin-right:auto}.ui.ui.ui.grid.container{width:calc(933px + 2rem)}.ui.ui.ui.relaxed.grid.container{width:calc(933px + 3rem)}.ui.ui.ui.very.relaxed.grid.container{width:calc(933px + 5rem)}}@media only screen and (min-width:1200px){.ui.ui.ui.container:not(.fluid){width:1127px;margin-left:auto;margin-right:auto}.ui.ui.ui.grid.container{width:calc(1127px + 2rem)}.ui.ui.ui.relaxed.grid.container{width:calc(1127px + 3rem)}.ui.ui.ui.very.relaxed.grid.container{width:calc(1127px + 5rem)}}.ui.text.container{font-family:Lato,system-ui,-apple-system,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";max-width:700px;line-height:1.5;font-size:1.14285714rem}@media only screen and (min-width:768px) and (max-width:991.98px){.ui.ui.ui.wide.container{width:867.6px}}@media only screen and (min-width:992px) and (max-width:1199.98px){.ui.ui.ui.wide.container{width:1119.6px}}@media only screen and (min-width:1200px){.ui.ui.ui.wide.container{width:1352.4px}}.ui.fluid.container{width:100%}.ui[class*="left aligned"].container{text-align:left}.ui[class*="center aligned"].container{text-align:center}.ui[class*="right aligned"].container{text-align:right}.ui.justified.container{text-align:justify;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.ui.scrolling.container{overflow:auto;-ms-scroll-chaining:none;overscroll-behavior:none}@media only screen and (max-width:767.98px){.ui.scrolling.container.short{max-height:11.25em}.ui.scrolling.container[class*="very short"]{max-height:7.5em}.ui.scrolling.container{max-height:15em}.ui.scrolling.container.long{max-height:30em}.ui.scrolling.container[class*="very long"]{max-height:45em}}@media only screen and (min-width:768px){.ui.scrolling.container.short{max-height:13.5em}.ui.scrolling.container[class*="very short"]{max-height:9em}.ui.scrolling.container{max-height:18em}.ui.scrolling.container.long{max-height:36em}.ui.scrolling.container[class*="very long"]{max-height:54em}}@media only screen and (min-width:992px){.ui.scrolling.container.short{max-height:18em}.ui.scrolling.container[class*="very short"]{max-height:12em}.ui.scrolling.container{max-height:24em}.ui.scrolling.container.long{max-height:48em}.ui.scrolling.container[class*="very long"]{max-height:72em}}@media only screen and (min-width:1920px){.ui.scrolling.container.short{max-height:22.5em}.ui.scrolling.container[class*="very short"]{max-height:15em}.ui.scrolling.container{max-height:30em}.ui.scrolling.container.long{max-height:60em}.ui.scrolling.container[class*="very long"]{max-height:90em}}
|
9
|
+
*/.ui.container{display:block;max-width:100%}@media only screen and (max-width:767.98px){.ui.ui.ui.container:not(.fluid){width:auto;margin-left:1em;margin-right:1em}.ui.ui.ui.grid.container{width:auto}.ui.ui.ui.relaxed.grid.container{width:auto}.ui.ui.ui.very.relaxed.grid.container{width:auto}}@media only screen and (min-width:768px) and (max-width:991.98px){.ui.ui.ui.container:not(.fluid){width:723px;margin-left:auto;margin-right:auto}.ui.ui.ui.grid.container{width:calc(723px + 2rem)}.ui.ui.ui.relaxed.grid.container{width:calc(723px + 3rem)}.ui.ui.ui.very.relaxed.grid.container{width:calc(723px + 5rem)}}@media only screen and (min-width:992px) and (max-width:1199.98px){.ui.ui.ui.container:not(.fluid){width:933px;margin-left:auto;margin-right:auto}.ui.ui.ui.grid.container{width:calc(933px + 2rem)}.ui.ui.ui.relaxed.grid.container{width:calc(933px + 3rem)}.ui.ui.ui.very.relaxed.grid.container{width:calc(933px + 5rem)}}@media only screen and (min-width:1200px){.ui.ui.ui.container:not(.fluid){width:1127px;margin-left:auto;margin-right:auto}.ui.ui.ui.grid.container{width:calc(1127px + 2rem)}.ui.ui.ui.relaxed.grid.container{width:calc(1127px + 3rem)}.ui.ui.ui.very.relaxed.grid.container{width:calc(1127px + 5rem)}}.ui.text.container{font-family:Lato,system-ui,-apple-system,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";max-width:700px;line-height:1.5;font-size:1.14285714rem}@media only screen and (min-width:768px) and (max-width:991.98px){.ui.ui.ui.wide.container{width:867.6px}}@media only screen and (min-width:992px) and (max-width:1199.98px){.ui.ui.ui.wide.container{width:1119.6px}}@media only screen and (min-width:1200px){.ui.ui.ui.wide.container{width:1352.4px}}.ui.fluid.container{width:100%}.ui[class*="left aligned"].container{text-align:left}.ui[class*="center aligned"].container{text-align:center}.ui[class*="right aligned"].container{text-align:right}.ui.justified.container{text-align:justify;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.ui.scrolling.container{overflow:auto;-ms-scroll-chaining:none;overscroll-behavior:none}@media only screen and (max-width:767.98px){.ui.scrolling.container.short{max-height:11.25em}.ui.scrolling.container.short.resizable{height:11.25em}.ui.scrolling.container[class*="very short"]{max-height:7.5em}.ui.scrolling.container[class*="very short"].resizable{height:7.5em}.ui.scrolling.container{max-height:15em}.ui.scrolling.container.long{max-height:30em}.ui.scrolling.container.long.resizable{height:30em}.ui.scrolling.container[class*="very long"]{max-height:45em}.ui.scrolling.container[class*="very long"].resizable{height:45em}}@media only screen and (min-width:768px){.ui.scrolling.container.short{max-height:13.5em}.ui.scrolling.container.short.resizable{height:13.5em}.ui.scrolling.container[class*="very short"]{max-height:9em}.ui.scrolling.container[class*="very short"].resizable{height:9em}.ui.scrolling.container{max-height:18em}.ui.scrolling.container.resizable{height:18em}.ui.scrolling.container.long{max-height:36em}.ui.scrolling.container.long.resizable{height:36em}.ui.scrolling.container[class*="very long"]{max-height:54em}.ui.scrolling.container[class*="very long"].resizable{height:54em}}@media only screen and (min-width:992px){.ui.scrolling.container.short{max-height:18em}.ui.scrolling.container.short.resizable{height:18em}.ui.scrolling.container[class*="very short"]{max-height:12em}.ui.scrolling.container[class*="very short"].resizable{height:12em}.ui.scrolling.container{max-height:24em}.ui.scrolling.container.resizable{height:24em}.ui.scrolling.container.long{max-height:48em}.ui.scrolling.container.long.resizable{height:48em}.ui.scrolling.container[class*="very long"]{max-height:72em}.ui.scrolling.container[class*="very long"].resizable{height:72em}}@media only screen and (min-width:1920px){.ui.scrolling.container.short{max-height:22.5em}.ui.scrolling.container.short.resizable{height:22.5em}.ui.scrolling.container[class*="very short"]{max-height:15em}.ui.scrolling.container[class*="very short"].resizable{height:15em}.ui.scrolling.container{max-height:30em}.ui.scrolling.container.resizable{height:30em}.ui.scrolling.container.long{max-height:60em}.ui.scrolling.container.long.resizable{height:60em}.ui.scrolling.container[class*="very long"]{max-height:90em}.ui.scrolling.container[class*="very long"].resizable{height:90em}}.ui.resizable.scrolling.container{resize:vertical;max-height:none}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* # Fomantic-UI 2.9.3-beta.
|
2
|
+
* # Fomantic-UI 2.9.3-beta.41+41577bc - Dimmer
|
3
3
|
* https://github.com/fomantic/Fomantic-UI/
|
4
4
|
*
|
5
5
|
*
|
@@ -195,7 +195,7 @@ body.dimmable > .dimmer {
|
|
195
195
|
.light.light.light.light.light.dimmer {
|
196
196
|
background: rgba(0, 0, 0, 0.45);
|
197
197
|
}
|
198
|
-
.very.
|
198
|
+
.very.very.very.very.light.dimmer {
|
199
199
|
background: rgba(0, 0, 0, 0.25);
|
200
200
|
}
|
201
201
|
|
@@ -219,7 +219,7 @@ body.dimmable > .dimmer {
|
|
219
219
|
.light.light.light.light.light.inverted.dimmer {
|
220
220
|
background: rgba(255, 255, 255, 0.45);
|
221
221
|
}
|
222
|
-
.very.
|
222
|
+
.very.very.very.very.light.inverted.dimmer {
|
223
223
|
background: rgba(255, 255, 255, 0.25);
|
224
224
|
}
|
225
225
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* # Fomantic-UI 2.9.3-beta.
|
2
|
+
* # Fomantic-UI 2.9.3-beta.41+41577bc - Dimmer
|
3
3
|
* https://github.com/fomantic/Fomantic-UI/
|
4
4
|
*
|
5
5
|
*
|
@@ -528,7 +528,7 @@
|
|
528
528
|
});
|
529
529
|
}
|
530
530
|
clearTimeout(module.performance.timer);
|
531
|
-
module.performance.timer = setTimeout(module.performance.display, 500);
|
531
|
+
module.performance.timer = setTimeout(function () { module.performance.display(); }, 500);
|
532
532
|
},
|
533
533
|
display: function () {
|
534
534
|
var
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/*!
|
2
|
-
* # Fomantic-UI 2.9.3-beta.
|
2
|
+
* # Fomantic-UI 2.9.3-beta.41+41577bc - Dimmer
|
3
3
|
* https://github.com/fomantic/Fomantic-UI/
|
4
4
|
*
|
5
5
|
*
|
6
6
|
* Released under the MIT license
|
7
7
|
* https://opensource.org/licenses/MIT
|
8
8
|
*
|
9
|
-
*/.dimmable:not(body){position:relative}.ui.dimmer{display:none;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;vertical-align:middle;padding:1em;background:rgba(0,0,0,.85);opacity:0;line-height:1;animation-fill-mode:both;animation-duration:.5s;transition:all .5s linear;flex-direction:column;align-items:center;justify-content:center;-webkit-user-select:none;-ms-user-select:none;user-select:none;will-change:opacity;z-index:1000}.ui.dimmer>.content{-webkit-user-select:text;-ms-user-select:text;user-select:text;color:#fff}.ui.segment>.ui.dimmer:not(.page){border-radius:inherit}.ui.dimmer:not(.inverted)::-webkit-scrollbar-track{background:rgba(255,255,255,.1)}.ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb{background:rgba(255,255,255,.25)}.ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb:window-inactive{background:rgba(255,255,255,.15)}.ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.35)}.ui.dimmer:not(.inverted){scrollbar-face-color:#656565;scrollbar-shadow-color:#656565;scrollbar-track-color:#323232;scrollbar-arrow-color:#323232;scrollbar-color:rgba(255,255,255,.25) rgba(255,255,255,.1)}.animating.dimmable:not(body),.dimmed.dimmable:not(body){overflow:hidden}.dimmed.dimmable>.ui.animating.dimmer,.dimmed.dimmable>.ui.visible.dimmer,.ui.active.dimmer{display:flex;opacity:1}.ui.disabled.dimmer{width:0!important;height:0!important}.dimmed.dimmable>.ui.animating.legacy.dimmer,.dimmed.dimmable>.ui.visible.legacy.dimmer,.ui.active.legacy.dimmer{display:block}.ui[class*="top aligned"].dimmer{justify-content:flex-start}.ui[class*="bottom aligned"].dimmer{justify-content:flex-end}.ui.page.dimmer{position:fixed;transform-style:"";perspective:2000px;transform-origin:center center}.ui.page.dimmer.modals{-moz-perspective:none}body.animating.in.dimmable,body.dimmed.dimmable{overflow:hidden}body.dimmable>.dimmer{position:fixed}@supports (not (-webkit-backdrop-filter:none)) and (not ((-webkit-backdrop-filter:none) or (backdrop-filter:none))){.blurring.dimmable>:not(.dimmer){filter:initial;transition:.8s filter ease}.blurring.dimmed.dimmable>:not(.dimmer):not(.popup){filter:blur(5px) grayscale(.7)}}.blurring.dimmable>.dimmer{background:rgba(0,0,0,.6);-webkit-backdrop-filter:blur(5px) grayscale(.7);backdrop-filter:blur(5px) grayscale(.7)}.blurring.dimmable>.inverted.dimmer{background:rgba(255,255,255,.6)}.ui.dimmer>.top.aligned.content>*{vertical-align:top}.ui.dimmer>.bottom.aligned.content>*{vertical-align:bottom}.medium.medium.medium.medium.medium.dimmer{background:rgba(0,0,0,.65)}.light.light.light.light.light.dimmer{background:rgba(0,0,0,.45)}.very.
|
9
|
+
*/.dimmable:not(body){position:relative}.ui.dimmer{display:none;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;vertical-align:middle;padding:1em;background:rgba(0,0,0,.85);opacity:0;line-height:1;animation-fill-mode:both;animation-duration:.5s;transition:all .5s linear;flex-direction:column;align-items:center;justify-content:center;-webkit-user-select:none;-ms-user-select:none;user-select:none;will-change:opacity;z-index:1000}.ui.dimmer>.content{-webkit-user-select:text;-ms-user-select:text;user-select:text;color:#fff}.ui.segment>.ui.dimmer:not(.page){border-radius:inherit}.ui.dimmer:not(.inverted)::-webkit-scrollbar-track{background:rgba(255,255,255,.1)}.ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb{background:rgba(255,255,255,.25)}.ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb:window-inactive{background:rgba(255,255,255,.15)}.ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.35)}.ui.dimmer:not(.inverted){scrollbar-face-color:#656565;scrollbar-shadow-color:#656565;scrollbar-track-color:#323232;scrollbar-arrow-color:#323232;scrollbar-color:rgba(255,255,255,.25) rgba(255,255,255,.1)}.animating.dimmable:not(body),.dimmed.dimmable:not(body){overflow:hidden}.dimmed.dimmable>.ui.animating.dimmer,.dimmed.dimmable>.ui.visible.dimmer,.ui.active.dimmer{display:flex;opacity:1}.ui.disabled.dimmer{width:0!important;height:0!important}.dimmed.dimmable>.ui.animating.legacy.dimmer,.dimmed.dimmable>.ui.visible.legacy.dimmer,.ui.active.legacy.dimmer{display:block}.ui[class*="top aligned"].dimmer{justify-content:flex-start}.ui[class*="bottom aligned"].dimmer{justify-content:flex-end}.ui.page.dimmer{position:fixed;transform-style:"";perspective:2000px;transform-origin:center center}.ui.page.dimmer.modals{-moz-perspective:none}body.animating.in.dimmable,body.dimmed.dimmable{overflow:hidden}body.dimmable>.dimmer{position:fixed}@supports (not (-webkit-backdrop-filter:none)) and (not ((-webkit-backdrop-filter:none) or (backdrop-filter:none))){.blurring.dimmable>:not(.dimmer){filter:initial;transition:.8s filter ease}.blurring.dimmed.dimmable>:not(.dimmer):not(.popup){filter:blur(5px) grayscale(.7)}}.blurring.dimmable>.dimmer{background:rgba(0,0,0,.6);-webkit-backdrop-filter:blur(5px) grayscale(.7);backdrop-filter:blur(5px) grayscale(.7)}.blurring.dimmable>.inverted.dimmer{background:rgba(255,255,255,.6)}.ui.dimmer>.top.aligned.content>*{vertical-align:top}.ui.dimmer>.bottom.aligned.content>*{vertical-align:bottom}.medium.medium.medium.medium.medium.dimmer{background:rgba(0,0,0,.65)}.light.light.light.light.light.dimmer{background:rgba(0,0,0,.45)}.very.very.very.very.light.dimmer{background:rgba(0,0,0,.25)}.ui.inverted.dimmer{background:rgba(255,255,255,.85)}.ui.inverted.dimmer>.content,.ui.inverted.dimmer>.content>*{color:#000}.medium.medium.medium.medium.medium.inverted.dimmer{background:rgba(255,255,255,.65)}.light.light.light.light.light.inverted.dimmer{background:rgba(255,255,255,.45)}.very.very.very.very.light.inverted.dimmer{background:rgba(255,255,255,.25)}.ui.simple.dimmer{display:block;overflow:hidden;opacity:0;width:0;height:0;z-index:-100;background:rgba(0,0,0,0)}.dimmed.dimmable>.ui.simple.dimmer{overflow:visible;opacity:1;width:100%;height:100%;background:rgba(0,0,0,.85);z-index:1}.ui.simple.inverted.dimmer{background:rgba(255,255,255,0)}.dimmed.dimmable>.ui.simple.inverted.dimmer{background:rgba(255,255,255,.85)}.ui[class*="bottom dimmer"],.ui[class*="center dimmer"],.ui[class*="top dimmer"]{height:auto}.ui[class*="bottom dimmer"]{top:auto;bottom:0}.ui[class*="center dimmer"]{top:50%;transform:translateY(-50%)}.ui.segment>.ui.ui[class*="top dimmer"]{border-bottom-left-radius:0;border-bottom-right-radius:0}.ui.segment>.ui.ui[class*="center dimmer"]{border-radius:0}.ui.segment>.ui.ui[class*="bottom dimmer"]{border-top-left-radius:0;border-top-right-radius:0}.ui[class*="center dimmer"].transition[class*="fade up"].in{animation-name:fadeInUpCenter}.ui[class*="center dimmer"].transition[class*="fade down"].in{animation-name:fadeInDownCenter}.ui[class*="center dimmer"].transition[class*="fade up"].out{animation-name:fadeOutUpCenter}.ui[class*="center dimmer"].transition[class*="fade down"].out{animation-name:fadeOutDownCenter}.ui[class*="center dimmer"].bounce.transition{animation-name:bounceCenter}@keyframes fadeInUpCenter{0%{opacity:0;transform:translateY(-40%)}100%{opacity:1;transform:translateY(-50%)}}@keyframes fadeInDownCenter{0%{opacity:0;transform:translateY(-60%)}100%{opacity:1;transform:translateY(-50%)}}@keyframes fadeOutUpCenter{0%{opacity:1;transform:translateY(-50%)}100%{opacity:0;transform:translateY(-45%)}}@keyframes fadeOutDownCenter{0%{opacity:1;transform:translateY(-50%)}100%{opacity:0;transform:translateY(-55%)}}@keyframes bounceCenter{0%,100%,20%,50%,80%{transform:translateY(-50%)}40%{transform:translateY(calc(-50% - 30px))}60%{transform:translateY(calc(-50% - 15px))}}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* # Fomantic UI - 2.9.3-beta.
|
2
|
+
* # Fomantic UI - 2.9.3-beta.41+41577bc
|
3
3
|
* https://github.com/fomantic/Fomantic-UI
|
4
4
|
* https://fomantic-ui.com/
|
5
5
|
*
|
@@ -8,4 +8,4 @@
|
|
8
8
|
* https://opensource.org/licenses/MIT
|
9
9
|
*
|
10
10
|
*/
|
11
|
-
!function(x,e,T){"use strict";function S(e){return"function"==typeof e&&"number"!=typeof e.nodeType}e=void 0!==e&&e.Math===Math?e:globalThis,x.fn.dimmer=function(g){var v,b=x(this),p=Date.now(),h=[],y=g,C="string"==typeof y,w=[].slice.call(arguments,1);return b.each(function(){var o,i,a=x.isPlainObject(g)?x.extend(!0,{},x.fn.dimmer.settings,g):x.extend({},x.fn.dimmer.settings),n=a.selector,e=a.namespace,t=a.className,d=a.error,r="."+e,s="module-"+e,m="ontouchstart"in T.documentElement?"touchstart":"click",l=x(this),c=this,u=l.data(s),f={preinitialize:function(){o=f.is.dimmer()?(i=l.parent(),l):(i=l,f.has.dimmer()?a.dimmerName?i.find(n.dimmer).filter("."+a.dimmerName):i.find(n.dimmer):f.create())},initialize:function(){f.debug("Initializing dimmer",a),f.bind.events(),f.set.dimmable(),f.instantiate()},instantiate:function(){f.verbose("Storing instance of module",f),u=f,l.data(s,u)},destroy:function(){f.verbose("Destroying previous module",o),f.unbind.events(),f.remove.variation(),i.off(r)},bind:{events:function(){"hover"===a.on?i.on("mouseenter"+r,f.show).on("mouseleave"+r,f.hide):"click"===a.on&&i.on(m+r,f.toggle),f.is.page()&&(f.debug("Setting as a page dimmer",i),f.set.pageDimmer()),f.is.closable()&&(f.verbose("Adding dimmer close event",o),i.on(m+r,n.dimmer,f.event.click))}},unbind:{events:function(){l.removeData(s),i.off(r)}},event:{click:function(e){f.verbose("Determining if event occurred on dimmer",e),0!==o.find(e.target).length&&!x(e.target).is(n.content)||(f.hide(),e.stopImmediatePropagation())}},addContent:function(e){e=x(e);f.debug("Add content to dimmer",e),e.parent()[0]!==o[0]&&e.detach().appendTo(o)},create:function(){var e=x(a.template.dimmer(a));return a.dimmerName&&(f.debug("Creating named dimmer",a.dimmerName),e.addClass(a.dimmerName)),e.appendTo(i),e},show:function(e){e=S(e)?e:function(){},f.is.dimmed()&&!f.is.animating()||!f.is.enabled()?f.debug("Dimmer is already shown or disabled"):!1===a.onShow.call(c)?f.verbose("Show callback returned false cancelling dimmer show"):(f.debug("Showing dimmer",o,a),f.set.variation(),f.animate.show(e),a.onChange.call(c))},hide:function(e){e=S(e)?e:function(){},f.is.dimmed()||f.is.animating()?!1===a.onHide.call(c)?f.verbose("Hide callback returned false cancelling dimmer hide"):(f.debug("Hiding dimmer",o),f.animate.hide(e),a.onChange.call(c)):f.debug("Dimmer is not visible")},toggle:function(){f.verbose("Toggling dimmer visibility",o),f.is.dimmed()?f.is.closable()&&f.hide():f.show()},animate:{show:function(e){e=S(e)?e:function(){},a.useCSS&&void 0!==x.fn.transition?(a.useFlex?(f.debug("Using flex dimmer"),f.remove.legacy()):(f.debug("Using legacy non-flex dimmer"),f.set.legacy()),"auto"!==a.opacity&&f.set.opacity(),o.transition({debug:a.debug,verbose:a.verbose,silent:a.silent,displayType:a.useFlex?"flex":"block",animation:(a.transition.showMethod||a.transition)+" in",queue:!1,duration:f.get.duration(),useFailSafe:!0,onStart:function(){f.set.dimmed()},onComplete:function(){f.set.active(),a.onVisible.call(o),e()}})):(f.verbose("Showing dimmer animation with javascript"),f.set.dimmed(),"auto"===a.opacity&&(a.opacity=.8),o.stop().css({opacity:0,width:"100%",height:"100%"}).fadeTo(f.get.duration(),a.opacity,function(){o.removeAttr("style"),f.set.active(),a.onVisible.call(o),e()}))},hide:function(e){e=S(e)?e:function(){},a.useCSS&&void 0!==x.fn.transition?(f.verbose("Hiding dimmer with css"),o.transition({debug:a.debug,verbose:a.verbose,silent:a.silent,displayType:a.useFlex?"flex":"block",animation:(a.transition.hideMethod||a.transition)+" out",queue:!1,duration:f.get.duration(),useFailSafe:!0,onComplete:function(){f.remove.dimmed(),f.remove.variation(),f.remove.active(),a.onHidden.call(o),e()}})):(f.verbose("Hiding dimmer with javascript"),o.stop().fadeOut(f.get.duration(),function(){f.remove.dimmed(),f.remove.active(),o.removeAttr("style"),a.onHidden.call(o),e()}))}},get:{dimmer:function(){return o},duration:function(){return f.is.active()?a.transition.hideDuration||a.duration.hide||a.duration:a.transition.showDuration||a.duration.show||a.duration}},has:{dimmer:function(){return a.dimmerName?0<l.find(n.dimmer).filter("."+a.dimmerName).length:0<l.find(n.dimmer).length}},is:{active:function(){return o.hasClass(t.active)},animating:function(){return o.is(":animated")||o.hasClass(t.animating)},closable:function(){return"auto"===a.closable?"hover"!==a.on:a.closable},dimmer:function(){return l.hasClass(t.dimmer)},dimmable:function(){return l.hasClass(t.dimmable)},dimmed:function(){return i.hasClass(t.dimmed)},disabled:function(){return i.hasClass(t.disabled)},enabled:function(){return!f.is.disabled()},page:function(){return i.is("body")},pageDimmer:function(){return o.hasClass(t.pageDimmer)}},can:{show:function(){return!o.hasClass(t.disabled)}},set:{opacity:function(e){var i=o.css("background-color"),n=i.split(","),t=n&&3<=n.length;e=0===a.opacity?0:a.opacity||e,i=t?(n[2]=n[2].replace(")",""),n[3]=e+")",n.join(",")):"rgba(0, 0, 0, "+e+")",f.debug("Setting opacity to",e),o.css("background-color",i)},legacy:function(){o.addClass(t.legacy)},active:function(){o.addClass(t.active)},dimmable:function(){i.addClass(t.dimmable)},dimmed:function(){i.addClass(t.dimmed)},pageDimmer:function(){o.addClass(t.pageDimmer)},disabled:function(){o.addClass(t.disabled)},variation:function(e){(e=e||a.variation)&&o.addClass(e)}},remove:{active:function(){o.removeClass(t.active)},legacy:function(){o.removeClass(t.legacy)},dimmed:function(){i.removeClass(t.dimmed)},disabled:function(){o.removeClass(t.disabled)},variation:function(e){(e=e||a.variation)&&o.removeClass(e)}},setting:function(e,i){if(f.debug("Changing setting",e,i),x.isPlainObject(e))x.extend(!0,a,e);else{if(void 0===i)return a[e];x.isPlainObject(a[e])?x.extend(!0,a[e],i):a[e]=i}},internal:function(e,i){if(x.isPlainObject(e))x.extend(!0,f,e);else{if(void 0===i)return f[e];f[e]=i}},debug:function(){!a.silent&&a.debug&&(a.performance?f.performance.log(arguments):(f.debug=Function.prototype.bind.call(console.info,console,a.name+":"),f.debug.apply(console,arguments)))},verbose:function(){!a.silent&&a.verbose&&a.debug&&(a.performance?f.performance.log(arguments):(f.verbose=Function.prototype.bind.call(console.info,console,a.name+":"),f.verbose.apply(console,arguments)))},error:function(){a.silent||(f.error=Function.prototype.bind.call(console.error,console,a.name+":"),f.error.apply(console,arguments))},performance:{log:function(e){var i,n;a.performance&&(n=(i=Date.now())-(p||i),p=i,h.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:c,"Execution Time":n})),clearTimeout(f.performance.timer),f.performance.timer=setTimeout(f.performance.display,500)},display:function(){var e=a.name+":",n=0;p=!1,clearTimeout(f.performance.timer),x.each(h,function(e,i){n+=i["Execution Time"]}),e+=" "+n+"ms",1<b.length&&(e+=" ("+b.length+")"),0<h.length&&(console.groupCollapsed(e),console.table?console.table(h):x.each(h,function(e,i){console.log(i.Name+": "+i["Execution Time"]+"ms")}),console.groupEnd()),h=[]}},invoke:function(t,e,i){var o,a,n,r=u;return e=e||w,i=i||c,"string"==typeof t&&void 0!==r&&(t=t.split(/[ .]/),o=t.length-1,x.each(t,function(e,i){var n=e!==o?i+t[e+1].charAt(0).toUpperCase()+t[e+1].slice(1):t;if(x.isPlainObject(r[n])&&e!==o)r=r[n];else{if(void 0!==r[n])return a=r[n],!1;{if(!x.isPlainObject(r[i])||e===o)return void 0!==r[i]?a=r[i]:f.error(d.method,t),!1;r=r[i]}}})),S(a)?n=a.apply(i,e):void 0!==a&&(n=a),Array.isArray(v)?v.push(n):void 0!==v?v=[v,n]:void 0!==n&&(v=n),a}};f.preinitialize(),C?(void 0===u&&f.initialize(),f.invoke(y)):(void 0!==u&&u.invoke("destroy"),f.initialize())}),void 0!==v?v:this},x.fn.dimmer.settings={name:"Dimmer",namespace:"dimmer",silent:!1,debug:!1,verbose:!1,performance:!0,useFlex:!0,dimmerName:!1,variation:!1,closable:"auto",useCSS:!0,transition:"fade",on:!1,opacity:"auto",duration:{show:500,hide:500},displayLoader:!1,loaderText:!1,loaderVariation:"",onChange:function(){},onShow:function(){},onHide:function(){},onVisible:function(){},onHidden:function(){},error:{method:"The method you called is not defined."},className:{active:"active",animating:"animating",dimmable:"dimmable",dimmed:"dimmed",dimmer:"dimmer",disabled:"disabled",hide:"hide",legacy:"legacy",pageDimmer:"page",show:"show",loader:"ui loader"},selector:{dimmer:"> .ui.dimmer",content:".ui.dimmer > .content, .ui.dimmer > .content > .center"},template:{dimmer:function(e){var i,n=x("<div/>").addClass("ui dimmer");return e.displayLoader&&(i=x("<div/>").addClass(e.className.loader).addClass(e.loaderVariation),e.loaderText&&(i.text(e.loaderText),i.addClass("text")),n.append(i)),n}}}}(jQuery,window,document);
|
11
|
+
!function(x,e,T){"use strict";function S(e){return"function"==typeof e&&"number"!=typeof e.nodeType}e=void 0!==e&&e.Math===Math?e:globalThis,x.fn.dimmer=function(g){var v,b=x(this),p=Date.now(),h=[],y=g,C="string"==typeof y,w=[].slice.call(arguments,1);return b.each(function(){var o,i,a=x.isPlainObject(g)?x.extend(!0,{},x.fn.dimmer.settings,g):x.extend({},x.fn.dimmer.settings),n=a.selector,e=a.namespace,t=a.className,d=a.error,r="."+e,s="module-"+e,m="ontouchstart"in T.documentElement?"touchstart":"click",l=x(this),c=this,u=l.data(s),f={preinitialize:function(){o=f.is.dimmer()?(i=l.parent(),l):(i=l,f.has.dimmer()?a.dimmerName?i.find(n.dimmer).filter("."+a.dimmerName):i.find(n.dimmer):f.create())},initialize:function(){f.debug("Initializing dimmer",a),f.bind.events(),f.set.dimmable(),f.instantiate()},instantiate:function(){f.verbose("Storing instance of module",f),u=f,l.data(s,u)},destroy:function(){f.verbose("Destroying previous module",o),f.unbind.events(),f.remove.variation(),i.off(r)},bind:{events:function(){"hover"===a.on?i.on("mouseenter"+r,f.show).on("mouseleave"+r,f.hide):"click"===a.on&&i.on(m+r,f.toggle),f.is.page()&&(f.debug("Setting as a page dimmer",i),f.set.pageDimmer()),f.is.closable()&&(f.verbose("Adding dimmer close event",o),i.on(m+r,n.dimmer,f.event.click))}},unbind:{events:function(){l.removeData(s),i.off(r)}},event:{click:function(e){f.verbose("Determining if event occurred on dimmer",e),0!==o.find(e.target).length&&!x(e.target).is(n.content)||(f.hide(),e.stopImmediatePropagation())}},addContent:function(e){e=x(e);f.debug("Add content to dimmer",e),e.parent()[0]!==o[0]&&e.detach().appendTo(o)},create:function(){var e=x(a.template.dimmer(a));return a.dimmerName&&(f.debug("Creating named dimmer",a.dimmerName),e.addClass(a.dimmerName)),e.appendTo(i),e},show:function(e){e=S(e)?e:function(){},f.is.dimmed()&&!f.is.animating()||!f.is.enabled()?f.debug("Dimmer is already shown or disabled"):!1===a.onShow.call(c)?f.verbose("Show callback returned false cancelling dimmer show"):(f.debug("Showing dimmer",o,a),f.set.variation(),f.animate.show(e),a.onChange.call(c))},hide:function(e){e=S(e)?e:function(){},f.is.dimmed()||f.is.animating()?!1===a.onHide.call(c)?f.verbose("Hide callback returned false cancelling dimmer hide"):(f.debug("Hiding dimmer",o),f.animate.hide(e),a.onChange.call(c)):f.debug("Dimmer is not visible")},toggle:function(){f.verbose("Toggling dimmer visibility",o),f.is.dimmed()?f.is.closable()&&f.hide():f.show()},animate:{show:function(e){e=S(e)?e:function(){},a.useCSS&&void 0!==x.fn.transition?(a.useFlex?(f.debug("Using flex dimmer"),f.remove.legacy()):(f.debug("Using legacy non-flex dimmer"),f.set.legacy()),"auto"!==a.opacity&&f.set.opacity(),o.transition({debug:a.debug,verbose:a.verbose,silent:a.silent,displayType:a.useFlex?"flex":"block",animation:(a.transition.showMethod||a.transition)+" in",queue:!1,duration:f.get.duration(),useFailSafe:!0,onStart:function(){f.set.dimmed()},onComplete:function(){f.set.active(),a.onVisible.call(o),e()}})):(f.verbose("Showing dimmer animation with javascript"),f.set.dimmed(),"auto"===a.opacity&&(a.opacity=.8),o.stop().css({opacity:0,width:"100%",height:"100%"}).fadeTo(f.get.duration(),a.opacity,function(){o.removeAttr("style"),f.set.active(),a.onVisible.call(o),e()}))},hide:function(e){e=S(e)?e:function(){},a.useCSS&&void 0!==x.fn.transition?(f.verbose("Hiding dimmer with css"),o.transition({debug:a.debug,verbose:a.verbose,silent:a.silent,displayType:a.useFlex?"flex":"block",animation:(a.transition.hideMethod||a.transition)+" out",queue:!1,duration:f.get.duration(),useFailSafe:!0,onComplete:function(){f.remove.dimmed(),f.remove.variation(),f.remove.active(),a.onHidden.call(o),e()}})):(f.verbose("Hiding dimmer with javascript"),o.stop().fadeOut(f.get.duration(),function(){f.remove.dimmed(),f.remove.active(),o.removeAttr("style"),a.onHidden.call(o),e()}))}},get:{dimmer:function(){return o},duration:function(){return f.is.active()?a.transition.hideDuration||a.duration.hide||a.duration:a.transition.showDuration||a.duration.show||a.duration}},has:{dimmer:function(){return a.dimmerName?0<l.find(n.dimmer).filter("."+a.dimmerName).length:0<l.find(n.dimmer).length}},is:{active:function(){return o.hasClass(t.active)},animating:function(){return o.is(":animated")||o.hasClass(t.animating)},closable:function(){return"auto"===a.closable?"hover"!==a.on:a.closable},dimmer:function(){return l.hasClass(t.dimmer)},dimmable:function(){return l.hasClass(t.dimmable)},dimmed:function(){return i.hasClass(t.dimmed)},disabled:function(){return i.hasClass(t.disabled)},enabled:function(){return!f.is.disabled()},page:function(){return i.is("body")},pageDimmer:function(){return o.hasClass(t.pageDimmer)}},can:{show:function(){return!o.hasClass(t.disabled)}},set:{opacity:function(e){var i=o.css("background-color"),n=i.split(","),t=n&&3<=n.length;e=0===a.opacity?0:a.opacity||e,i=t?(n[2]=n[2].replace(")",""),n[3]=e+")",n.join(",")):"rgba(0, 0, 0, "+e+")",f.debug("Setting opacity to",e),o.css("background-color",i)},legacy:function(){o.addClass(t.legacy)},active:function(){o.addClass(t.active)},dimmable:function(){i.addClass(t.dimmable)},dimmed:function(){i.addClass(t.dimmed)},pageDimmer:function(){o.addClass(t.pageDimmer)},disabled:function(){o.addClass(t.disabled)},variation:function(e){(e=e||a.variation)&&o.addClass(e)}},remove:{active:function(){o.removeClass(t.active)},legacy:function(){o.removeClass(t.legacy)},dimmed:function(){i.removeClass(t.dimmed)},disabled:function(){o.removeClass(t.disabled)},variation:function(e){(e=e||a.variation)&&o.removeClass(e)}},setting:function(e,i){if(f.debug("Changing setting",e,i),x.isPlainObject(e))x.extend(!0,a,e);else{if(void 0===i)return a[e];x.isPlainObject(a[e])?x.extend(!0,a[e],i):a[e]=i}},internal:function(e,i){if(x.isPlainObject(e))x.extend(!0,f,e);else{if(void 0===i)return f[e];f[e]=i}},debug:function(){!a.silent&&a.debug&&(a.performance?f.performance.log(arguments):(f.debug=Function.prototype.bind.call(console.info,console,a.name+":"),f.debug.apply(console,arguments)))},verbose:function(){!a.silent&&a.verbose&&a.debug&&(a.performance?f.performance.log(arguments):(f.verbose=Function.prototype.bind.call(console.info,console,a.name+":"),f.verbose.apply(console,arguments)))},error:function(){a.silent||(f.error=Function.prototype.bind.call(console.error,console,a.name+":"),f.error.apply(console,arguments))},performance:{log:function(e){var i,n;a.performance&&(n=(i=Date.now())-(p||i),p=i,h.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:c,"Execution Time":n})),clearTimeout(f.performance.timer),f.performance.timer=setTimeout(function(){f.performance.display()},500)},display:function(){var e=a.name+":",n=0;p=!1,clearTimeout(f.performance.timer),x.each(h,function(e,i){n+=i["Execution Time"]}),e+=" "+n+"ms",1<b.length&&(e+=" ("+b.length+")"),0<h.length&&(console.groupCollapsed(e),console.table?console.table(h):x.each(h,function(e,i){console.log(i.Name+": "+i["Execution Time"]+"ms")}),console.groupEnd()),h=[]}},invoke:function(t,e,i){var o,a,n,r=u;return e=e||w,i=i||c,"string"==typeof t&&void 0!==r&&(t=t.split(/[ .]/),o=t.length-1,x.each(t,function(e,i){var n=e!==o?i+t[e+1].charAt(0).toUpperCase()+t[e+1].slice(1):t;if(x.isPlainObject(r[n])&&e!==o)r=r[n];else{if(void 0!==r[n])return a=r[n],!1;{if(!x.isPlainObject(r[i])||e===o)return void 0!==r[i]?a=r[i]:f.error(d.method,t),!1;r=r[i]}}})),S(a)?n=a.apply(i,e):void 0!==a&&(n=a),Array.isArray(v)?v.push(n):void 0!==v?v=[v,n]:void 0!==n&&(v=n),a}};f.preinitialize(),C?(void 0===u&&f.initialize(),f.invoke(y)):(void 0!==u&&u.invoke("destroy"),f.initialize())}),void 0!==v?v:this},x.fn.dimmer.settings={name:"Dimmer",namespace:"dimmer",silent:!1,debug:!1,verbose:!1,performance:!0,useFlex:!0,dimmerName:!1,variation:!1,closable:"auto",useCSS:!0,transition:"fade",on:!1,opacity:"auto",duration:{show:500,hide:500},displayLoader:!1,loaderText:!1,loaderVariation:"",onChange:function(){},onShow:function(){},onHide:function(){},onVisible:function(){},onHidden:function(){},error:{method:"The method you called is not defined."},className:{active:"active",animating:"animating",dimmable:"dimmable",dimmed:"dimmed",dimmer:"dimmer",disabled:"disabled",hide:"hide",legacy:"legacy",pageDimmer:"page",show:"show",loader:"ui loader"},selector:{dimmer:"> .ui.dimmer",content:".ui.dimmer > .content, .ui.dimmer > .content > .center"},template:{dimmer:function(e){var i,n=x("<div/>").addClass("ui dimmer");return e.displayLoader&&(i=x("<div/>").addClass(e.className.loader).addClass(e.loaderVariation),e.loaderText&&(i.text(e.loaderText),i.addClass("text")),n.append(i)),n}}}}(jQuery,window,document);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* # Fomantic-UI 2.9.3-beta.
|
2
|
+
* # Fomantic-UI 2.9.3-beta.41+41577bc - Dropdown
|
3
3
|
* https://github.com/fomantic/Fomantic-UI/
|
4
4
|
*
|
5
5
|
*
|
@@ -762,7 +762,7 @@ select.ui.dropdown {
|
|
762
762
|
.ui.dropdown:not(.selection) > .remove.icon ~ .dropdown.icon {
|
763
763
|
margin-left: 1.5em;
|
764
764
|
}
|
765
|
-
.ui.dropdown:not(.selection) > .remove.icon {
|
765
|
+
.ui.dropdown:not(.selection):not(.multiple) > .remove.icon {
|
766
766
|
margin-top: -1.35em;
|
767
767
|
}
|
768
768
|
|
@@ -823,6 +823,16 @@ select.ui.dropdown {
|
|
823
823
|
margin: -0.35714286em 0.78571429em -0.35714286em -0.78571429em;
|
824
824
|
height: 1.71428571em;
|
825
825
|
}
|
826
|
+
.ui.multiple.dropdown:not(.selection):not(.labeled) > .dropdown.icon {
|
827
|
+
right: -1.5em;
|
828
|
+
}
|
829
|
+
.ui.multiple.dropdown:not(.selection):not(.labeled) > .remove.icon {
|
830
|
+
margin-right: -1.5em;
|
831
|
+
}
|
832
|
+
.ui.multiple.dropdown:not(.selection):not(.labeled):not(.search) > .remove.icon ~ .text.default,
|
833
|
+
.ui.multiple.dropdown:not(.selection):not(.labeled) > .text.default:first-child {
|
834
|
+
overflow: inherit;
|
835
|
+
}
|
826
836
|
|
827
837
|
/* -----------------
|
828
838
|
Multiple Search
|
@@ -860,6 +870,13 @@ select.ui.dropdown {
|
|
860
870
|
.ui.multiple.search.dropdown.button {
|
861
871
|
min-width: 14em;
|
862
872
|
}
|
873
|
+
.ui.multiple.search.dropdown > span.sizer {
|
874
|
+
display: none;
|
875
|
+
}
|
876
|
+
.ui.multiple.search.dropdown:not(.selection) > .remove.icon + input.search,
|
877
|
+
.ui.multiple.search.dropdown:not(.selection) > input.search:first-child {
|
878
|
+
min-width: 5.05em;
|
879
|
+
}
|
863
880
|
|
864
881
|
/* --------------
|
865
882
|
Inline
|
@@ -1308,8 +1325,8 @@ select.ui.dropdown {
|
|
1308
1325
|
margin: 0 !important;
|
1309
1326
|
border-top: 1px solid rgba(34, 36, 38, 0.15);
|
1310
1327
|
}
|
1311
|
-
.ui.scrolling.dropdown .menu .item
|
1312
|
-
.ui.dropdown .scrolling.menu > .item
|
1328
|
+
.ui.ui.ui.scrolling.dropdown .menu .item,
|
1329
|
+
.ui.ui.ui.dropdown .scrolling.menu > .item {
|
1313
1330
|
border-top: none;
|
1314
1331
|
}
|
1315
1332
|
.ui.scrolling.dropdown .menu .item:first-child,
|
@@ -1333,24 +1350,45 @@ select.ui.dropdown {
|
|
1333
1350
|
.ui.dropdown .scrolling.menu {
|
1334
1351
|
max-height: 10.28571429rem;
|
1335
1352
|
}
|
1353
|
+
.ui.scrolling.resizable.dropdown .menu,
|
1354
|
+
.ui.dropdown .scrolling.resizable.menu {
|
1355
|
+
height: 10.28571429rem;
|
1356
|
+
}
|
1336
1357
|
}
|
1337
1358
|
@media only screen and (min-width: 768px) {
|
1338
1359
|
.ui.scrolling.dropdown .menu,
|
1339
1360
|
.ui.dropdown .scrolling.menu {
|
1340
1361
|
max-height: 15.42857143rem;
|
1341
1362
|
}
|
1363
|
+
.ui.scrolling.resizable.dropdown .menu,
|
1364
|
+
.ui.dropdown .scrolling.resizable.menu {
|
1365
|
+
height: 15.42857143rem;
|
1366
|
+
}
|
1342
1367
|
}
|
1343
1368
|
@media only screen and (min-width: 992px) {
|
1344
1369
|
.ui.scrolling.dropdown .menu,
|
1345
1370
|
.ui.dropdown .scrolling.menu {
|
1346
1371
|
max-height: 20.57142857rem;
|
1347
1372
|
}
|
1373
|
+
.ui.scrolling.resizable.dropdown .menu,
|
1374
|
+
.ui.dropdown .scrolling.resizable.menu {
|
1375
|
+
height: 20.57142857rem;
|
1376
|
+
}
|
1348
1377
|
}
|
1349
1378
|
@media only screen and (min-width: 1920px) {
|
1350
1379
|
.ui.scrolling.dropdown .menu,
|
1351
1380
|
.ui.dropdown .scrolling.menu {
|
1352
1381
|
max-height: 20.57142857rem;
|
1353
1382
|
}
|
1383
|
+
.ui.scrolling.resizable.dropdown .menu,
|
1384
|
+
.ui.dropdown .scrolling.resizable.menu {
|
1385
|
+
height: 20.57142857rem;
|
1386
|
+
}
|
1387
|
+
}
|
1388
|
+
.ui.scrolling.resizable.dropdown .menu,
|
1389
|
+
.ui.dropdown .scrolling.resizable.menu {
|
1390
|
+
resize: vertical;
|
1391
|
+
max-height: none;
|
1354
1392
|
}
|
1355
1393
|
|
1356
1394
|
/* --------------------
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* # Fomantic-UI 2.9.3-beta.
|
2
|
+
* # Fomantic-UI 2.9.3-beta.41+41577bc - Dropdown
|
3
3
|
* https://github.com/fomantic/Fomantic-UI/
|
4
4
|
*
|
5
5
|
*
|
@@ -363,7 +363,7 @@
|
|
363
363
|
module.verbose('Adding clear icon');
|
364
364
|
$clear = $('<i />')
|
365
365
|
.addClass('remove icon')
|
366
|
-
.
|
366
|
+
.insertAfter($icon)
|
367
367
|
;
|
368
368
|
}
|
369
369
|
if (module.is.search() && !module.has.search()) {
|
@@ -529,7 +529,7 @@
|
|
529
529
|
callback = isFunction(callback)
|
530
530
|
? callback
|
531
531
|
: function () {};
|
532
|
-
if ((focused || iconClicked) && module.is.remote() && module.is.noApiCache()) {
|
532
|
+
if ((focused || iconClicked) && module.is.remote() && module.is.noApiCache() && !module.has.maxSelections()) {
|
533
533
|
module.clearItems();
|
534
534
|
}
|
535
535
|
if (!module.can.show() && module.is.remote()) {
|
@@ -774,6 +774,8 @@
|
|
774
774
|
}
|
775
775
|
;
|
776
776
|
if (settings.useLabels && module.has.maxSelections()) {
|
777
|
+
module.show();
|
778
|
+
|
777
779
|
return;
|
778
780
|
}
|
779
781
|
if (settings.apiSettings) {
|
@@ -1097,8 +1099,8 @@
|
|
1097
1099
|
notFoundTokens = []
|
1098
1100
|
;
|
1099
1101
|
tokens.forEach(function (value) {
|
1100
|
-
if (module.set.selected(module.escape.htmlEntities(value.trim()), null,
|
1101
|
-
notFoundTokens.push(value);
|
1102
|
+
if (module.set.selected(module.escape.htmlEntities(value.trim()), null, false, true) === false) {
|
1103
|
+
notFoundTokens.push(value.trim());
|
1102
1104
|
}
|
1103
1105
|
});
|
1104
1106
|
event.preventDefault();
|
@@ -1231,7 +1233,7 @@
|
|
1231
1233
|
module.set.filtered();
|
1232
1234
|
}
|
1233
1235
|
clearTimeout(module.timer);
|
1234
|
-
module.timer = setTimeout(module.search, settings.delay.search);
|
1236
|
+
module.timer = setTimeout(function () { module.search(); }, settings.delay.search);
|
1235
1237
|
},
|
1236
1238
|
label: {
|
1237
1239
|
click: function (event) {
|
@@ -1407,11 +1409,13 @@
|
|
1407
1409
|
if (settings.allowAdditions) {
|
1408
1410
|
module.remove.userAddition();
|
1409
1411
|
}
|
1410
|
-
|
1412
|
+
if (!settings.keepSearchTerm) {
|
1413
|
+
module.remove.filteredItem();
|
1414
|
+
module.remove.searchTerm();
|
1415
|
+
}
|
1411
1416
|
if (!module.is.visible() && $target.length > 0) {
|
1412
1417
|
module.show();
|
1413
1418
|
}
|
1414
|
-
module.remove.searchTerm();
|
1415
1419
|
if (!module.is.focusedOnSearch() && skipRefocus !== true) {
|
1416
1420
|
module.focusSearch(true);
|
1417
1421
|
}
|
@@ -1597,7 +1601,9 @@
|
|
1597
1601
|
module.verbose('Selecting item from keyboard shortcut', $selectedItem);
|
1598
1602
|
module.event.item.click.call($selectedItem, event);
|
1599
1603
|
if (module.is.searchSelection()) {
|
1600
|
-
|
1604
|
+
if (!settings.keepSearchTerm) {
|
1605
|
+
module.remove.searchTerm();
|
1606
|
+
}
|
1601
1607
|
if (module.is.multiple()) {
|
1602
1608
|
$search.trigger('focus');
|
1603
1609
|
}
|
@@ -1814,7 +1820,7 @@
|
|
1814
1820
|
? value
|
1815
1821
|
: text;
|
1816
1822
|
if (module.can.activate($(element))) {
|
1817
|
-
module.set.selected(value, $(element));
|
1823
|
+
module.set.selected(value, $(element), false, settings.keepSearchTerm);
|
1818
1824
|
if (!module.is.multiple() && !(!settings.collapseOnActionable && $(element).hasClass(className.actionable))) {
|
1819
1825
|
module.hideAndClear();
|
1820
1826
|
}
|
@@ -2166,7 +2172,7 @@
|
|
2166
2172
|
return;
|
2167
2173
|
}
|
2168
2174
|
if (isMultiple) {
|
2169
|
-
if ($.inArray(module.escape.htmlEntities(String(optionValue)), value.map(String)) !== -1) {
|
2175
|
+
if ($.inArray(module.escape.htmlEntities(String(optionValue)), value.map(String).map(module.escape.htmlEntities)) !== -1) {
|
2170
2176
|
$selectedItem = $selectedItem
|
2171
2177
|
? $selectedItem.add($choice)
|
2172
2178
|
: $choice;
|
@@ -2227,7 +2233,7 @@
|
|
2227
2233
|
return false;
|
2228
2234
|
}
|
2229
2235
|
|
2230
|
-
return
|
2236
|
+
return false;
|
2231
2237
|
},
|
2232
2238
|
disabled: function () {
|
2233
2239
|
$search.attr('tabindex', module.is.disabled() ? -1 : 0);
|
@@ -2317,7 +2323,7 @@
|
|
2317
2323
|
$.each(values, function (value, name) {
|
2318
2324
|
module.set.text(name);
|
2319
2325
|
});
|
2320
|
-
} else {
|
2326
|
+
} else if (settings.useLabels) {
|
2321
2327
|
$.each(values, function (value, name) {
|
2322
2328
|
module.add.label(value, name);
|
2323
2329
|
});
|
@@ -2464,7 +2470,7 @@
|
|
2464
2470
|
valueIsSet = searchValue !== ''
|
2465
2471
|
;
|
2466
2472
|
if (isMultiple && hasSearchValue) {
|
2467
|
-
module.verbose('Adjusting input width', searchWidth
|
2473
|
+
module.verbose('Adjusting input width', searchWidth);
|
2468
2474
|
$search.css('width', searchWidth + 'px');
|
2469
2475
|
}
|
2470
2476
|
if (hasSearchValue || (isSearchMultiple && valueIsSet)) {
|
@@ -2763,7 +2769,7 @@
|
|
2763
2769
|
return false;
|
2764
2770
|
}
|
2765
2771
|
module.debug('Setting selected menu item to', $selectedItem);
|
2766
|
-
if (module.is.multiple()) {
|
2772
|
+
if (module.is.multiple() && !keepSearchTerm) {
|
2767
2773
|
module.remove.searchWidth();
|
2768
2774
|
}
|
2769
2775
|
if (module.is.single()) {
|
@@ -3738,12 +3744,12 @@
|
|
3738
3744
|
show: function () {
|
3739
3745
|
module.verbose('Delaying show event to ensure user intent');
|
3740
3746
|
clearTimeout(module.timer);
|
3741
|
-
module.timer = setTimeout(module.show, settings.delay.show);
|
3747
|
+
module.timer = setTimeout(function () { module.show(); }, settings.delay.show);
|
3742
3748
|
},
|
3743
3749
|
hide: function () {
|
3744
3750
|
module.verbose('Delaying hide event to ensure user intent');
|
3745
3751
|
clearTimeout(module.timer);
|
3746
|
-
module.timer = setTimeout(module.hide, settings.delay.hide);
|
3752
|
+
module.timer = setTimeout(function () { module.hide(); }, settings.delay.hide);
|
3747
3753
|
},
|
3748
3754
|
},
|
3749
3755
|
|
@@ -3869,7 +3875,7 @@
|
|
3869
3875
|
});
|
3870
3876
|
}
|
3871
3877
|
clearTimeout(module.performance.timer);
|
3872
|
-
module.performance.timer = setTimeout(module.performance.display, 500);
|
3878
|
+
module.performance.timer = setTimeout(function () { module.performance.display(); }, 500);
|
3873
3879
|
},
|
3874
3880
|
display: function () {
|
3875
3881
|
var
|
@@ -4006,6 +4012,7 @@
|
|
4006
4012
|
forceSelection: false, // force a choice on blur with search selection
|
4007
4013
|
|
4008
4014
|
allowAdditions: false, // whether multiple select should allow user added values
|
4015
|
+
keepSearchTerm: false, // whether the search value should be kept and menu stays filtered on item selection
|
4009
4016
|
ignoreCase: false, // whether to consider case sensitivity when creating labels
|
4010
4017
|
ignoreSearchCase: true, // whether to consider case sensitivity when filtering items
|
4011
4018
|
hideAdditions: true, // whether or not to hide special message prompting a user they can enter a value
|
@@ -4025,8 +4032,6 @@
|
|
4025
4032
|
duration: 200, // duration of transition
|
4026
4033
|
displayType: false, // displayType of transition
|
4027
4034
|
|
4028
|
-
glyphWidth: 1.037, // widest glyph width in em (W is 1.037 em) used to calculate multiselect input width
|
4029
|
-
|
4030
4035
|
headerDivider: true, // whether option headers should have an additional divider line underneath when converted from <select> <optgroup>
|
4031
4036
|
|
4032
4037
|
collapseOnActionable: true, // whether the dropdown should collapse upon selection of an actionable item
|