fomantic-ui 2.9.2-beta.6 → 2.9.2-beta.8
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/dist/components/accordion.css +1 -1
- package/dist/components/accordion.js +4 -4
- package/dist/components/accordion.min.css +1 -1
- package/dist/components/accordion.min.js +2 -2
- package/dist/components/ad.css +2 -2
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +1 -1
- package/dist/components/api.min.js +1 -1
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +1 -1
- package/dist/components/button.min.css +1 -1
- package/dist/components/calendar.css +7 -1
- package/dist/components/calendar.js +1 -1
- package/dist/components/calendar.min.css +1 -1
- package/dist/components/calendar.min.js +1 -1
- package/dist/components/card.css +2 -2
- package/dist/components/card.min.css +1 -1
- package/dist/components/checkbox.css +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/checkbox.min.css +1 -1
- package/dist/components/checkbox.min.js +1 -1
- package/dist/components/comment.css +2 -2
- package/dist/components/comment.min.css +1 -1
- package/dist/components/container.css +1 -1
- package/dist/components/container.min.css +1 -1
- package/dist/components/dimmer.css +1 -1
- package/dist/components/dimmer.js +3 -3
- package/dist/components/dimmer.min.css +1 -1
- 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 +1 -1
- package/dist/components/dropdown.js +3 -3
- package/dist/components/dropdown.min.css +1 -1
- package/dist/components/dropdown.min.js +2 -2
- package/dist/components/embed.css +2 -2
- package/dist/components/embed.js +2 -2
- package/dist/components/embed.min.css +2 -2
- package/dist/components/embed.min.js +2 -2
- package/dist/components/emoji.css +6 -0
- package/dist/components/feed.css +2 -2
- package/dist/components/feed.min.css +1 -1
- package/dist/components/flag.css +1 -1
- package/dist/components/flag.min.css +1 -1
- package/dist/components/flyout.css +7 -1
- package/dist/components/flyout.js +18 -30
- package/dist/components/flyout.min.css +1 -1
- package/dist/components/flyout.min.js +2 -2
- package/dist/components/form.css +1 -1
- package/dist/components/form.js +3 -3
- package/dist/components/form.min.css +1 -1
- package/dist/components/form.min.js +2 -2
- package/dist/components/grid.css +1 -1
- package/dist/components/grid.min.css +1 -1
- package/dist/components/header.css +1 -1
- package/dist/components/header.min.css +1 -1
- package/dist/components/icon.css +1 -1
- package/dist/components/icon.min.css +1 -1
- package/dist/components/image.css +1 -1
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +1 -1
- package/dist/components/input.min.css +1 -1
- package/dist/components/item.css +3 -3
- package/dist/components/item.min.css +2 -2
- package/dist/components/label.css +1 -1
- package/dist/components/label.min.css +1 -1
- package/dist/components/list.css +2 -2
- package/dist/components/list.min.css +1 -1
- package/dist/components/loader.css +1 -1
- package/dist/components/loader.min.css +1 -1
- package/dist/components/menu.css +1 -1
- package/dist/components/menu.min.css +1 -1
- package/dist/components/message.css +2 -2
- package/dist/components/message.min.css +1 -1
- package/dist/components/modal.css +1 -1
- package/dist/components/modal.js +15 -8
- package/dist/components/modal.min.css +1 -1
- package/dist/components/modal.min.js +2 -2
- package/dist/components/nag.css +1 -1
- package/dist/components/nag.js +1 -1
- package/dist/components/nag.min.css +1 -1
- package/dist/components/nag.min.js +1 -1
- package/dist/components/placeholder.css +7 -1
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +2 -2
- package/dist/components/popup.js +3 -3
- 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 +3 -29
- 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 +1 -1
- package/dist/components/rating.min.css +1 -1
- package/dist/components/rating.min.js +1 -1
- 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 +1 -1
- package/dist/components/search.js +2 -2
- package/dist/components/search.min.css +1 -1
- package/dist/components/search.min.js +2 -2
- package/dist/components/segment.css +3 -3
- package/dist/components/segment.min.css +2 -2
- package/dist/components/shape.css +1 -1
- package/dist/components/shape.js +15 -37
- 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 +7 -27
- 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 +1 -1
- package/dist/components/site.min.css +1 -1
- package/dist/components/site.min.js +1 -1
- package/dist/components/slider.css +6 -0
- package/dist/components/slider.js +1 -1
- package/dist/components/slider.min.js +1 -1
- package/dist/components/state.js +1 -1
- package/dist/components/state.min.js +1 -1
- package/dist/components/statistic.css +2 -2
- package/dist/components/statistic.min.css +1 -1
- package/dist/components/step.css +4 -4
- package/dist/components/step.min.css +2 -2
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +1 -1
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +1 -1
- package/dist/components/tab.css +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +1 -1
- package/dist/components/table.css +2 -2
- package/dist/components/table.min.css +2 -2
- package/dist/components/text.css +7 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +7 -1
- package/dist/components/toast.js +3 -3
- package/dist/components/toast.min.css +1 -1
- package/dist/components/toast.min.js +2 -2
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +10 -61
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +2 -2
- package/dist/components/visibility.js +1 -1
- package/dist/components/visibility.min.js +1 -1
- package/dist/semantic.css +96 -68
- package/dist/semantic.js +103 -227
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +2 -2
- package/package.json +1 -1
- package/src/definitions/behaviors/form.js +2 -2
- package/src/definitions/modules/accordion.js +3 -3
- package/src/definitions/modules/dimmer.js +2 -2
- package/src/definitions/modules/dropdown.js +2 -2
- package/src/definitions/modules/embed.js +1 -1
- package/src/definitions/modules/flyout.js +17 -29
- package/src/definitions/modules/modal.js +13 -7
- package/src/definitions/modules/popup.js +2 -2
- package/src/definitions/modules/progress.js +2 -28
- package/src/definitions/modules/search.js +1 -1
- package/src/definitions/modules/shape.js +14 -36
- package/src/definitions/modules/sidebar.js +6 -26
- package/src/definitions/modules/toast.js +2 -2
- package/src/definitions/modules/transition.js +8 -56
- package/tasks/install.js +2 -2
package/dist/semantic.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* # Fomantic UI - 2.9.
|
2
|
+
* # Fomantic UI - 2.9.2-beta.8+8838309
|
3
3
|
* https://github.com/fomantic/Fomantic-UI
|
4
4
|
* https://fomantic-ui.com/
|
5
5
|
*
|
@@ -9,7 +9,7 @@
|
|
9
9
|
*
|
10
10
|
*/
|
11
11
|
/*!
|
12
|
-
* # Fomantic-UI 2.9.
|
12
|
+
* # Fomantic-UI 2.9.2-beta.8+8838309 - Site
|
13
13
|
* https://github.com/fomantic/Fomantic-UI/
|
14
14
|
*
|
15
15
|
*
|
@@ -463,7 +463,7 @@
|
|
463
463
|
})(jQuery, window, document);
|
464
464
|
|
465
465
|
/*!
|
466
|
-
* # Fomantic-UI 2.9.
|
466
|
+
* # Fomantic-UI 2.9.2-beta.8+8838309 - Form Validation
|
467
467
|
* https://github.com/fomantic/Fomantic-UI/
|
468
468
|
*
|
469
469
|
*
|
@@ -1352,7 +1352,7 @@
|
|
1352
1352
|
.html(settings.templates.prompt(errors))
|
1353
1353
|
;
|
1354
1354
|
if (!promptExists) {
|
1355
|
-
if (settings.transition && module.can.useElement('transition')
|
1355
|
+
if (settings.transition && module.can.useElement('transition')) {
|
1356
1356
|
module.verbose('Displaying error with css transition', settings.transition);
|
1357
1357
|
$prompt.transition(settings.transition + ' in', settings.duration);
|
1358
1358
|
} else {
|
@@ -1448,7 +1448,7 @@
|
|
1448
1448
|
;
|
1449
1449
|
if (settings.inline && $prompt.is(':visible')) {
|
1450
1450
|
module.verbose('Removing prompt for field', identifier);
|
1451
|
-
if (settings.transition && module.can.useElement('transition')
|
1451
|
+
if (settings.transition && module.can.useElement('transition')) {
|
1452
1452
|
$prompt.transition(settings.transition + ' out', settings.duration, function () {
|
1453
1453
|
$prompt.remove();
|
1454
1454
|
});
|
@@ -2559,7 +2559,7 @@
|
|
2559
2559
|
})(jQuery, window, document);
|
2560
2560
|
|
2561
2561
|
/*!
|
2562
|
-
* # Fomantic-UI 2.9.
|
2562
|
+
* # Fomantic-UI 2.9.2-beta.8+8838309 - Accordion
|
2563
2563
|
* https://github.com/fomantic/Fomantic-UI/
|
2564
2564
|
*
|
2565
2565
|
*
|
@@ -2735,7 +2735,7 @@
|
|
2735
2735
|
.addClass(className.animating)
|
2736
2736
|
;
|
2737
2737
|
if (settings.animateChildren) {
|
2738
|
-
if ($.fn.transition !== undefined
|
2738
|
+
if ($.fn.transition !== undefined) {
|
2739
2739
|
$activeContent
|
2740
2740
|
.children()
|
2741
2741
|
.transition({
|
@@ -2799,7 +2799,7 @@
|
|
2799
2799
|
.addClass(className.animating)
|
2800
2800
|
;
|
2801
2801
|
if (settings.animateChildren) {
|
2802
|
-
if ($.fn.transition !== undefined
|
2802
|
+
if ($.fn.transition !== undefined) {
|
2803
2803
|
$activeContent
|
2804
2804
|
.children()
|
2805
2805
|
.transition({
|
@@ -2868,7 +2868,7 @@
|
|
2868
2868
|
.stop(true, true)
|
2869
2869
|
;
|
2870
2870
|
if (settings.animateChildren) {
|
2871
|
-
if ($.fn.transition !== undefined
|
2871
|
+
if ($.fn.transition !== undefined) {
|
2872
2872
|
$openContents
|
2873
2873
|
.children()
|
2874
2874
|
.transition({
|
@@ -3157,7 +3157,7 @@
|
|
3157
3157
|
})(jQuery, window, document);
|
3158
3158
|
|
3159
3159
|
/*!
|
3160
|
-
* # Fomantic-UI 2.9.
|
3160
|
+
* # Fomantic-UI 2.9.2-beta.8+8838309 - Calendar
|
3161
3161
|
* https://github.com/fomantic/Fomantic-UI/
|
3162
3162
|
*
|
3163
3163
|
*
|
@@ -5173,7 +5173,7 @@
|
|
5173
5173
|
})(jQuery, window, document);
|
5174
5174
|
|
5175
5175
|
/*!
|
5176
|
-
* # Fomantic-UI 2.9.
|
5176
|
+
* # Fomantic-UI 2.9.2-beta.8+8838309 - Checkbox
|
5177
5177
|
* https://github.com/fomantic/Fomantic-UI/
|
5178
5178
|
*
|
5179
5179
|
*
|
@@ -6058,7 +6058,7 @@
|
|
6058
6058
|
})(jQuery, window, document);
|
6059
6059
|
|
6060
6060
|
/*!
|
6061
|
-
* # Fomantic-UI 2.9.
|
6061
|
+
* # Fomantic-UI 2.9.2-beta.8+8838309 - Dimmer
|
6062
6062
|
* https://github.com/fomantic/Fomantic-UI/
|
6063
6063
|
*
|
6064
6064
|
*
|
@@ -6288,7 +6288,7 @@
|
|
6288
6288
|
callback = isFunction(callback)
|
6289
6289
|
? callback
|
6290
6290
|
: function () {};
|
6291
|
-
if (settings.useCSS && $.fn.transition !== undefined
|
6291
|
+
if (settings.useCSS && $.fn.transition !== undefined) {
|
6292
6292
|
if (settings.useFlex) {
|
6293
6293
|
module.debug('Using flex dimmer');
|
6294
6294
|
module.remove.legacy();
|
@@ -6347,7 +6347,7 @@
|
|
6347
6347
|
callback = isFunction(callback)
|
6348
6348
|
? callback
|
6349
6349
|
: function () {};
|
6350
|
-
if (settings.useCSS && $.fn.transition !== undefined
|
6350
|
+
if (settings.useCSS && $.fn.transition !== undefined) {
|
6351
6351
|
module.verbose('Hiding dimmer with css');
|
6352
6352
|
$dimmer
|
6353
6353
|
.transition({
|
@@ -6793,7 +6793,7 @@
|
|
6793
6793
|
})(jQuery, window, document);
|
6794
6794
|
|
6795
6795
|
/*!
|
6796
|
-
* # Fomantic-UI 2.9.
|
6796
|
+
* # Fomantic-UI 2.9.2-beta.8+8838309 - Dropdown
|
6797
6797
|
* https://github.com/fomantic/Fomantic-UI/
|
6798
6798
|
*
|
6799
6799
|
*
|
@@ -10431,7 +10431,7 @@
|
|
10431
10431
|
displayType: module.get.displayType(),
|
10432
10432
|
}).transition('show');
|
10433
10433
|
callback.call(element);
|
10434
|
-
} else if (module.can.useElement('transition')
|
10434
|
+
} else if (module.can.useElement('transition')) {
|
10435
10435
|
$currentMenu
|
10436
10436
|
.transition({
|
10437
10437
|
animation: transition + ' in',
|
@@ -10473,7 +10473,7 @@
|
|
10473
10473
|
displayType: module.get.displayType(),
|
10474
10474
|
}).transition('hide');
|
10475
10475
|
callback.call(element);
|
10476
|
-
} else if ($.fn.transition !== undefined
|
10476
|
+
} else if ($.fn.transition !== undefined) {
|
10477
10477
|
$currentMenu
|
10478
10478
|
.transition({
|
10479
10479
|
animation: transition + ' out',
|
@@ -11128,7 +11128,7 @@
|
|
11128
11128
|
})(jQuery, window, document);
|
11129
11129
|
|
11130
11130
|
/*!
|
11131
|
-
* # Fomantic-UI 2.9.
|
11131
|
+
* # Fomantic-UI 2.9.2-beta.8+8838309 - Embed
|
11132
11132
|
* https://github.com/fomantic/Fomantic-UI/
|
11133
11133
|
*
|
11134
11134
|
*
|
@@ -11784,7 +11784,7 @@
|
|
11784
11784
|
return ''
|
11785
11785
|
+ '<iframe src="' + deQuote(src) + '"'
|
11786
11786
|
+ ' width="100%" height="100%"'
|
11787
|
-
+ '
|
11787
|
+
+ ' msallowFullScreen allowFullScreen></iframe>';
|
11788
11788
|
},
|
11789
11789
|
placeholder: function (image, icon) {
|
11790
11790
|
var
|
@@ -11812,7 +11812,7 @@
|
|
11812
11812
|
})(jQuery, window, document);
|
11813
11813
|
|
11814
11814
|
/*!
|
11815
|
-
* # Fomantic-UI 2.9.
|
11815
|
+
* # Fomantic-UI 2.9.2-beta.8+8838309 - Flyout
|
11816
11816
|
* https://github.com/fomantic/Fomantic-UI/
|
11817
11817
|
*
|
11818
11818
|
*
|
@@ -11893,8 +11893,8 @@
|
|
11893
11893
|
elementNamespace,
|
11894
11894
|
id,
|
11895
11895
|
observer,
|
11896
|
+
observeAttributes = false,
|
11896
11897
|
currentScroll,
|
11897
|
-
transitionEvent,
|
11898
11898
|
|
11899
11899
|
module
|
11900
11900
|
;
|
@@ -11958,8 +11958,6 @@
|
|
11958
11958
|
});
|
11959
11959
|
}
|
11960
11960
|
|
11961
|
-
transitionEvent = module.get.transitionEvent();
|
11962
|
-
|
11963
11961
|
// avoids locking rendering if initialized in onReady
|
11964
11962
|
if (settings.delaySetup) {
|
11965
11963
|
requestAnimationFrame(module.setup.layout);
|
@@ -12311,7 +12309,7 @@
|
|
12311
12309
|
;
|
12312
12310
|
mutations.every(function (mutation) {
|
12313
12311
|
if (mutation.type === 'attributes') {
|
12314
|
-
if (mutation.attributeName === 'disabled' || $(mutation.target).find(':input').addBack(':input')) {
|
12312
|
+
if (observeAttributes && (mutation.attributeName === 'disabled' || $(mutation.target).find(':input').addBack(':input').length > 0)) {
|
12315
12313
|
shouldRefreshInputs = true;
|
12316
12314
|
}
|
12317
12315
|
} else {
|
@@ -12362,13 +12360,14 @@
|
|
12362
12360
|
if (!settings.dimPage) {
|
12363
12361
|
return;
|
12364
12362
|
}
|
12365
|
-
$inputs = $module.find('[tabindex], :input:enabled').filter(':visible').filter(function () {
|
12363
|
+
$inputs = $module.find('a[href], [tabindex], :input:enabled').filter(':visible').filter(function () {
|
12366
12364
|
return $(this).closest('.disabled').length === 0;
|
12367
12365
|
});
|
12368
|
-
$module.removeAttr('tabindex');
|
12369
12366
|
if ($inputs.length === 0) {
|
12370
12367
|
$inputs = $module;
|
12371
12368
|
$module.attr('tabindex', -1);
|
12369
|
+
} else {
|
12370
|
+
$module.removeAttr('tabindex');
|
12372
12371
|
}
|
12373
12372
|
$inputs.first()
|
12374
12373
|
.on('keydown' + elementNamespace, module.event.inputKeyDown.first)
|
@@ -12465,6 +12464,7 @@
|
|
12465
12464
|
}
|
12466
12465
|
}
|
12467
12466
|
module.set.dimmerStyles();
|
12467
|
+
module.set.observeAttributes(false);
|
12468
12468
|
module.pushPage(function () {
|
12469
12469
|
callback.call(element);
|
12470
12470
|
settings.onVisible.call(element);
|
@@ -12473,6 +12473,7 @@
|
|
12473
12473
|
}
|
12474
12474
|
module.save.focus();
|
12475
12475
|
module.refreshInputs();
|
12476
|
+
requestAnimationFrame(module.set.observeAttributes);
|
12476
12477
|
});
|
12477
12478
|
settings.onChange.call(element);
|
12478
12479
|
} else {
|
@@ -12493,6 +12494,7 @@
|
|
12493
12494
|
if (module.is.visible() || module.is.animating()) {
|
12494
12495
|
module.debug('Hiding flyout', callback);
|
12495
12496
|
module.refreshFlyouts();
|
12497
|
+
module.set.observeAttributes(false);
|
12496
12498
|
module.pullPage(function () {
|
12497
12499
|
callback.call(element);
|
12498
12500
|
if (isFunction(settings.onHidden)) {
|
@@ -12565,13 +12567,13 @@
|
|
12565
12567
|
};
|
12566
12568
|
transitionEnd = function (event) {
|
12567
12569
|
if (event.target === $module[0]) {
|
12568
|
-
$module.off(
|
12570
|
+
$module.off('transitionend' + elementNamespace, transitionEnd);
|
12569
12571
|
module.remove.animating();
|
12570
12572
|
callback.call(element);
|
12571
12573
|
}
|
12572
12574
|
};
|
12573
|
-
$module.off(
|
12574
|
-
$module.on(
|
12575
|
+
$module.off('transitionend' + elementNamespace);
|
12576
|
+
$module.on('transitionend' + elementNamespace, transitionEnd);
|
12575
12577
|
requestAnimationFrame(animate);
|
12576
12578
|
if (settings.dimPage && !module.othersVisible()) {
|
12577
12579
|
requestAnimationFrame(dim);
|
@@ -12606,7 +12608,7 @@
|
|
12606
12608
|
};
|
12607
12609
|
transitionEnd = function (event) {
|
12608
12610
|
if (event.target === $module[0]) {
|
12609
|
-
$module.off(
|
12611
|
+
$module.off('transitionend' + elementNamespace, transitionEnd);
|
12610
12612
|
module.remove.animating();
|
12611
12613
|
module.remove.closing();
|
12612
12614
|
module.remove.overlay();
|
@@ -12620,8 +12622,8 @@
|
|
12620
12622
|
callback.call(element);
|
12621
12623
|
}
|
12622
12624
|
};
|
12623
|
-
$module.off(
|
12624
|
-
$module.on(
|
12625
|
+
$module.off('transitionend' + elementNamespace);
|
12626
|
+
$module.on('transitionend' + elementNamespace, transitionEnd);
|
12625
12627
|
requestAnimationFrame(animate);
|
12626
12628
|
},
|
12627
12629
|
|
@@ -12644,6 +12646,9 @@
|
|
12644
12646
|
},
|
12645
12647
|
|
12646
12648
|
set: {
|
12649
|
+
observeAttributes: function (state) {
|
12650
|
+
observeAttributes = state !== false;
|
12651
|
+
},
|
12647
12652
|
autofocus: function () {
|
12648
12653
|
var
|
12649
12654
|
$autofocus = $inputs.filter('[autofocus]'),
|
@@ -12786,23 +12791,6 @@
|
|
12786
12791
|
|
12787
12792
|
return className.left;
|
12788
12793
|
},
|
12789
|
-
transitionEvent: function () {
|
12790
|
-
var
|
12791
|
-
element = document.createElement('element'),
|
12792
|
-
transitions = {
|
12793
|
-
transition: 'transitionend',
|
12794
|
-
OTransition: 'oTransitionEnd',
|
12795
|
-
MozTransition: 'transitionend',
|
12796
|
-
WebkitTransition: 'webkitTransitionEnd',
|
12797
|
-
},
|
12798
|
-
transition
|
12799
|
-
;
|
12800
|
-
for (transition in transitions) {
|
12801
|
-
if (element.style[transition] !== undefined) {
|
12802
|
-
return transitions[transition];
|
12803
|
-
}
|
12804
|
-
}
|
12805
|
-
},
|
12806
12794
|
id: function () {
|
12807
12795
|
return id;
|
12808
12796
|
},
|
@@ -13392,7 +13380,7 @@
|
|
13392
13380
|
})(jQuery, window, document);
|
13393
13381
|
|
13394
13382
|
/*!
|
13395
|
-
* # Fomantic-UI 2.9.
|
13383
|
+
* # Fomantic-UI 2.9.2-beta.8+8838309 - Modal
|
13396
13384
|
* https://github.com/fomantic/Fomantic-UI/
|
13397
13385
|
*
|
13398
13386
|
*
|
@@ -13475,6 +13463,7 @@
|
|
13475
13463
|
elementEventNamespace,
|
13476
13464
|
id,
|
13477
13465
|
observer,
|
13466
|
+
observeAttributes = false,
|
13478
13467
|
module
|
13479
13468
|
;
|
13480
13469
|
module = {
|
@@ -13658,7 +13647,7 @@
|
|
13658
13647
|
;
|
13659
13648
|
mutations.every(function (mutation) {
|
13660
13649
|
if (mutation.type === 'attributes') {
|
13661
|
-
if (mutation.attributeName === 'disabled' || $(mutation.target).find(':input').addBack(':input')) {
|
13650
|
+
if (observeAttributes && (mutation.attributeName === 'disabled' || $(mutation.target).find(':input').addBack(':input').length > 0)) {
|
13662
13651
|
shouldRefreshInputs = true;
|
13663
13652
|
}
|
13664
13653
|
} else {
|
@@ -13717,10 +13706,11 @@
|
|
13717
13706
|
$inputs = $module.find('a[href], [tabindex], :input:enabled').filter(':visible').filter(function () {
|
13718
13707
|
return $(this).closest('.disabled').length === 0;
|
13719
13708
|
});
|
13720
|
-
$module.removeAttr('tabindex');
|
13721
13709
|
if ($inputs.length === 0) {
|
13722
13710
|
$inputs = $module;
|
13723
13711
|
$module.attr('tabindex', -1);
|
13712
|
+
} else {
|
13713
|
+
$module.removeAttr('tabindex');
|
13724
13714
|
}
|
13725
13715
|
$inputs.first()
|
13726
13716
|
.on('keydown' + elementEventNamespace, module.event.inputKeyDown.first)
|
@@ -13997,8 +13987,9 @@
|
|
13997
13987
|
$module.detach().appendTo($dimmer);
|
13998
13988
|
}
|
13999
13989
|
}
|
14000
|
-
if (settings.transition && $.fn.transition !== undefined
|
13990
|
+
if (settings.transition && $.fn.transition !== undefined) {
|
14001
13991
|
module.debug('Showing modal with css animations');
|
13992
|
+
module.set.observeAttributes(false);
|
14002
13993
|
$module
|
14003
13994
|
.transition({
|
14004
13995
|
debug: settings.debug,
|
@@ -14016,6 +14007,7 @@
|
|
14016
14007
|
module.save.focus();
|
14017
14008
|
module.set.active();
|
14018
14009
|
module.refreshInputs();
|
14010
|
+
requestAnimationFrame(module.set.observeAttributes);
|
14019
14011
|
callback();
|
14020
14012
|
},
|
14021
14013
|
})
|
@@ -14045,8 +14037,9 @@
|
|
14045
14037
|
|
14046
14038
|
if (module.is.animating() || module.is.active()) {
|
14047
14039
|
module.debug('Hiding modal');
|
14048
|
-
if (settings.transition && $.fn.transition !== undefined
|
14040
|
+
if (settings.transition && $.fn.transition !== undefined) {
|
14049
14041
|
module.remove.active();
|
14042
|
+
module.set.observeAttributes(false);
|
14050
14043
|
$module
|
14051
14044
|
.transition({
|
14052
14045
|
debug: settings.debug,
|
@@ -14066,6 +14059,7 @@
|
|
14066
14059
|
},
|
14067
14060
|
onComplete: function () {
|
14068
14061
|
module.unbind.scrollLock();
|
14062
|
+
module.remove.active();
|
14069
14063
|
if (settings.allowMultiple) {
|
14070
14064
|
$previousModal.addClass(className.front);
|
14071
14065
|
$module.removeClass(className.front);
|
@@ -14381,9 +14375,7 @@
|
|
14381
14375
|
return module.cache.isIE;
|
14382
14376
|
},
|
14383
14377
|
animating: function () {
|
14384
|
-
return $module.transition('is
|
14385
|
-
? $module.transition('is animating')
|
14386
|
-
: $module.is(':visible');
|
14378
|
+
return $module.transition('is animating');
|
14387
14379
|
},
|
14388
14380
|
scrolling: function () {
|
14389
14381
|
return $dimmable.hasClass(className.scrolling);
|
@@ -14426,6 +14418,9 @@
|
|
14426
14418
|
},
|
14427
14419
|
|
14428
14420
|
set: {
|
14421
|
+
observeAttributes: function (state) {
|
14422
|
+
observeAttributes = state !== false;
|
14423
|
+
},
|
14429
14424
|
autofocus: function () {
|
14430
14425
|
var
|
14431
14426
|
$autofocus = $inputs.filter('[autofocus]'),
|
@@ -15007,7 +15002,7 @@
|
|
15007
15002
|
})(jQuery, window, document);
|
15008
15003
|
|
15009
15004
|
/*!
|
15010
|
-
* # Fomantic-UI 2.9.
|
15005
|
+
* # Fomantic-UI 2.9.2-beta.8+8838309 - Nag
|
15011
15006
|
* https://github.com/fomantic/Fomantic-UI/
|
15012
15007
|
*
|
15013
15008
|
*
|
@@ -15560,7 +15555,7 @@
|
|
15560
15555
|
})(jQuery, window, document);
|
15561
15556
|
|
15562
15557
|
/*!
|
15563
|
-
* # Fomantic-UI 2.9.
|
15558
|
+
* # Fomantic-UI 2.9.2-beta.8+8838309 - Popup
|
15564
15559
|
* https://github.com/fomantic/Fomantic-UI/
|
15565
15560
|
*
|
15566
15561
|
*
|
@@ -15975,7 +15970,7 @@
|
|
15975
15970
|
animate: {
|
15976
15971
|
show: function (callback) {
|
15977
15972
|
callback = isFunction(callback) ? callback : function () {};
|
15978
|
-
if (settings.transition && module.can.useElement('transition')
|
15973
|
+
if (settings.transition && module.can.useElement('transition')) {
|
15979
15974
|
module.set.visible();
|
15980
15975
|
$popup
|
15981
15976
|
.transition({
|
@@ -15997,7 +15992,7 @@
|
|
15997
15992
|
hide: function (callback) {
|
15998
15993
|
callback = isFunction(callback) ? callback : function () {};
|
15999
15994
|
module.debug('Hiding pop-up');
|
16000
|
-
if (settings.transition && $.fn.transition !== undefined
|
15995
|
+
if (settings.transition && $.fn.transition !== undefined) {
|
16001
15996
|
$popup
|
16002
15997
|
.transition({
|
16003
15998
|
animation: (settings.transition.hideMethod || settings.transition) + ' out',
|
@@ -17096,7 +17091,7 @@
|
|
17096
17091
|
})(jQuery, window, document);
|
17097
17092
|
|
17098
17093
|
/*!
|
17099
|
-
* # Fomantic-UI 2.9.
|
17094
|
+
* # Fomantic-UI 2.9.2-beta.8+8838309 - Progress
|
17100
17095
|
* https://github.com/fomantic/Fomantic-UI/
|
17101
17096
|
*
|
17102
17097
|
*
|
@@ -17156,7 +17151,6 @@
|
|
17156
17151
|
instance = $module.data(moduleNamespace),
|
17157
17152
|
|
17158
17153
|
animating = false,
|
17159
|
-
transitionEnd,
|
17160
17154
|
module
|
17161
17155
|
;
|
17162
17156
|
module = {
|
@@ -17212,7 +17206,6 @@
|
|
17212
17206
|
|
17213
17207
|
initialize: function () {
|
17214
17208
|
module.set.duration();
|
17215
|
-
module.set.transitionEvent();
|
17216
17209
|
module.debug(element);
|
17217
17210
|
|
17218
17211
|
module.read.metadata();
|
@@ -17292,17 +17285,14 @@
|
|
17292
17285
|
|
17293
17286
|
bind: {
|
17294
17287
|
transitionEnd: function (callback) {
|
17295
|
-
var
|
17296
|
-
transitionEnd = module.get.transitionEnd()
|
17297
|
-
;
|
17298
17288
|
$bars
|
17299
|
-
.one(
|
17289
|
+
.one('transitionend' + eventNamespace, function (event) {
|
17300
17290
|
clearTimeout(module.failSafeTimer);
|
17301
17291
|
callback.call(this, event);
|
17302
17292
|
})
|
17303
17293
|
;
|
17304
17294
|
module.failSafeTimer = setTimeout(function () {
|
17305
|
-
$bars.triggerHandler(
|
17295
|
+
$bars.triggerHandler('transitionend');
|
17306
17296
|
}, settings.duration + settings.failSafeDelay);
|
17307
17297
|
module.verbose('Adding fail safe timer', module.timer);
|
17308
17298
|
},
|
@@ -17427,24 +17417,6 @@
|
|
17427
17417
|
: value;
|
17428
17418
|
},
|
17429
17419
|
|
17430
|
-
transitionEnd: function () {
|
17431
|
-
var
|
17432
|
-
element = document.createElement('element'),
|
17433
|
-
transitions = {
|
17434
|
-
transition: 'transitionend',
|
17435
|
-
OTransition: 'oTransitionEnd',
|
17436
|
-
MozTransition: 'transitionend',
|
17437
|
-
WebkitTransition: 'webkitTransitionEnd',
|
17438
|
-
},
|
17439
|
-
transition
|
17440
|
-
;
|
17441
|
-
for (transition in transitions) {
|
17442
|
-
if (element.style[transition] !== undefined) {
|
17443
|
-
return transitions[transition];
|
17444
|
-
}
|
17445
|
-
}
|
17446
|
-
},
|
17447
|
-
|
17448
17420
|
// gets current displayed percentage (if animating values this is the intermediary value)
|
17449
17421
|
displayPercent: function (index) {
|
17450
17422
|
var
|
@@ -17784,9 +17756,6 @@
|
|
17784
17756
|
settings.onError.call(element, module.value, module.total);
|
17785
17757
|
});
|
17786
17758
|
},
|
17787
|
-
transitionEvent: function () {
|
17788
|
-
transitionEnd = module.get.transitionEnd();
|
17789
|
-
},
|
17790
17759
|
total: function (totalValue) {
|
17791
17760
|
module.total = totalValue;
|
17792
17761
|
},
|
@@ -18105,7 +18074,7 @@
|
|
18105
18074
|
})(jQuery, window, document);
|
18106
18075
|
|
18107
18076
|
/*!
|
18108
|
-
* # Fomantic-UI 2.9.
|
18077
|
+
* # Fomantic-UI 2.9.2-beta.8+8838309 - Slider
|
18109
18078
|
* https://github.com/fomantic/Fomantic-UI/
|
18110
18079
|
*
|
18111
18080
|
*
|
@@ -19458,7 +19427,7 @@
|
|
19458
19427
|
})(jQuery, window, document);
|
19459
19428
|
|
19460
19429
|
/*!
|
19461
|
-
* # Fomantic-UI 2.9.
|
19430
|
+
* # Fomantic-UI 2.9.2-beta.8+8838309 - Rating
|
19462
19431
|
* https://github.com/fomantic/Fomantic-UI/
|
19463
19432
|
*
|
19464
19433
|
*
|
@@ -20001,7 +19970,7 @@
|
|
20001
19970
|
})(jQuery, window, document);
|
20002
19971
|
|
20003
19972
|
/*!
|
20004
|
-
* # Fomantic-UI 2.9.
|
19973
|
+
* # Fomantic-UI 2.9.2-beta.8+8838309 - Search
|
20005
19974
|
* https://github.com/fomantic/Fomantic-UI/
|
20006
19975
|
*
|
20007
19976
|
*
|
@@ -20410,7 +20379,7 @@
|
|
20410
20379
|
return module.is.focused() && !module.is.visible() && !module.is.empty();
|
20411
20380
|
},
|
20412
20381
|
transition: function () {
|
20413
|
-
return settings.transition && $.fn.transition !== undefined
|
20382
|
+
return settings.transition && $.fn.transition !== undefined;
|
20414
20383
|
},
|
20415
20384
|
},
|
20416
20385
|
|
@@ -21582,7 +21551,7 @@
|
|
21582
21551
|
})(jQuery, window, document);
|
21583
21552
|
|
21584
21553
|
/*!
|
21585
|
-
* # Fomantic-UI 2.9.
|
21554
|
+
* # Fomantic-UI 2.9.2-beta.8+8838309 - Shape
|
21586
21555
|
* https://github.com/fomantic/Fomantic-UI/
|
21587
21556
|
*
|
21588
21557
|
*
|
@@ -21699,33 +21668,29 @@
|
|
21699
21668
|
module.set.active();
|
21700
21669
|
};
|
21701
21670
|
settings.onBeforeChange.call($nextSide[0]);
|
21702
|
-
|
21703
|
-
|
21671
|
+
module.verbose('Starting CSS animation');
|
21672
|
+
$module
|
21673
|
+
.addClass(className.animating)
|
21674
|
+
;
|
21675
|
+
$sides
|
21676
|
+
.css(propertyObject)
|
21677
|
+
.one('transitionend', callback)
|
21678
|
+
;
|
21679
|
+
module.set.duration(settings.duration);
|
21680
|
+
requestAnimationFrame(function () {
|
21704
21681
|
$module
|
21705
21682
|
.addClass(className.animating)
|
21706
21683
|
;
|
21707
|
-
$
|
21708
|
-
.
|
21709
|
-
.one(module.get.transitionEvent(), callback)
|
21684
|
+
$activeSide
|
21685
|
+
.addClass(className.hidden)
|
21710
21686
|
;
|
21711
|
-
|
21712
|
-
requestAnimationFrame(function () {
|
21713
|
-
$module
|
21714
|
-
.addClass(className.animating)
|
21715
|
-
;
|
21716
|
-
$activeSide
|
21717
|
-
.addClass(className.hidden)
|
21718
|
-
;
|
21719
|
-
});
|
21720
|
-
} else {
|
21721
|
-
callback();
|
21722
|
-
}
|
21687
|
+
});
|
21723
21688
|
},
|
21724
21689
|
|
21725
21690
|
queue: function (method) {
|
21726
21691
|
module.debug('Queueing animation of', method);
|
21727
21692
|
$sides
|
21728
|
-
.one(
|
21693
|
+
.one('transitionend', function () {
|
21729
21694
|
module.debug('Executing queued animation');
|
21730
21695
|
setTimeout(function () {
|
21731
21696
|
$module.shape(method);
|
@@ -21995,24 +21960,6 @@
|
|
21995
21960
|
},
|
21996
21961
|
},
|
21997
21962
|
|
21998
|
-
transitionEvent: function () {
|
21999
|
-
var
|
22000
|
-
element = document.createElement('element'),
|
22001
|
-
transitions = {
|
22002
|
-
transition: 'transitionend',
|
22003
|
-
OTransition: 'oTransitionEnd',
|
22004
|
-
MozTransition: 'transitionend',
|
22005
|
-
WebkitTransition: 'webkitTransitionEnd',
|
22006
|
-
},
|
22007
|
-
transition
|
22008
|
-
;
|
22009
|
-
for (transition in transitions) {
|
22010
|
-
if (element.style[transition] !== undefined) {
|
22011
|
-
return transitions[transition];
|
22012
|
-
}
|
22013
|
-
}
|
22014
|
-
},
|
22015
|
-
|
22016
21963
|
nextSide: function () {
|
22017
21964
|
return $activeSide.next(selector.side).length > 0
|
22018
21965
|
? $activeSide.next(selector.side)
|
@@ -22404,7 +22351,7 @@
|
|
22404
22351
|
})(jQuery, window, document);
|
22405
22352
|
|
22406
22353
|
/*!
|
22407
|
-
* # Fomantic-UI 2.9.
|
22354
|
+
* # Fomantic-UI 2.9.2-beta.8+8838309 - Sidebar
|
22408
22355
|
* https://github.com/fomantic/Fomantic-UI/
|
22409
22356
|
*
|
22410
22357
|
*
|
@@ -22474,7 +22421,6 @@
|
|
22474
22421
|
elementNamespace,
|
22475
22422
|
id,
|
22476
22423
|
currentScroll,
|
22477
|
-
transitionEvent,
|
22478
22424
|
initialBodyMargin = '',
|
22479
22425
|
tempBodyMargin = '',
|
22480
22426
|
hadScrollbar = false,
|
@@ -22489,8 +22435,6 @@
|
|
22489
22435
|
|
22490
22436
|
module.create.id();
|
22491
22437
|
|
22492
|
-
transitionEvent = module.get.transitionEvent();
|
22493
|
-
|
22494
22438
|
// avoids locking rendering if initialized in onReady
|
22495
22439
|
if (settings.delaySetup) {
|
22496
22440
|
requestAnimationFrame(module.setup.layout);
|
@@ -22897,13 +22841,13 @@
|
|
22897
22841
|
};
|
22898
22842
|
transitionEnd = function (event) {
|
22899
22843
|
if (event.target === $transition[0]) {
|
22900
|
-
$transition.off(
|
22844
|
+
$transition.off('transitionend' + elementNamespace, transitionEnd);
|
22901
22845
|
module.remove.animating();
|
22902
22846
|
callback.call(element);
|
22903
22847
|
}
|
22904
22848
|
};
|
22905
|
-
$transition.off(
|
22906
|
-
$transition.on(
|
22849
|
+
$transition.off('transitionend' + elementNamespace);
|
22850
|
+
$transition.on('transitionend' + elementNamespace, transitionEnd);
|
22907
22851
|
requestAnimationFrame(animate);
|
22908
22852
|
if (settings.dimPage && !module.othersVisible()) {
|
22909
22853
|
requestAnimationFrame(dim);
|
@@ -22937,7 +22881,7 @@
|
|
22937
22881
|
};
|
22938
22882
|
transitionEnd = function (event) {
|
22939
22883
|
if (event.target === $transition[0]) {
|
22940
|
-
$transition.off(
|
22884
|
+
$transition.off('transitionend' + elementNamespace, transitionEnd);
|
22941
22885
|
module.remove.animating();
|
22942
22886
|
module.remove.closing();
|
22943
22887
|
module.remove.transition();
|
@@ -22951,8 +22895,8 @@
|
|
22951
22895
|
callback.call(element);
|
22952
22896
|
}
|
22953
22897
|
};
|
22954
|
-
$transition.off(
|
22955
|
-
$transition.on(
|
22898
|
+
$transition.off('transitionend' + elementNamespace);
|
22899
|
+
$transition.on('transitionend' + elementNamespace, transitionEnd);
|
22956
22900
|
requestAnimationFrame(animate);
|
22957
22901
|
},
|
22958
22902
|
|
@@ -23127,23 +23071,6 @@
|
|
23127
23071
|
|
23128
23072
|
return transition;
|
23129
23073
|
},
|
23130
|
-
transitionEvent: function () {
|
23131
|
-
var
|
23132
|
-
element = document.createElement('element'),
|
23133
|
-
transitions = {
|
23134
|
-
transition: 'transitionend',
|
23135
|
-
OTransition: 'oTransitionEnd',
|
23136
|
-
MozTransition: 'transitionend',
|
23137
|
-
WebkitTransition: 'webkitTransitionEnd',
|
23138
|
-
},
|
23139
|
-
transition
|
23140
|
-
;
|
23141
|
-
for (transition in transitions) {
|
23142
|
-
if (element.style[transition] !== undefined) {
|
23143
|
-
return transitions[transition];
|
23144
|
-
}
|
23145
|
-
}
|
23146
|
-
},
|
23147
23074
|
},
|
23148
23075
|
has: {
|
23149
23076
|
scrollbar: function () {
|
@@ -23500,7 +23427,7 @@
|
|
23500
23427
|
})(jQuery, window, document);
|
23501
23428
|
|
23502
23429
|
/*!
|
23503
|
-
* # Fomantic-UI 2.9.
|
23430
|
+
* # Fomantic-UI 2.9.2-beta.8+8838309 - Sticky
|
23504
23431
|
* https://github.com/fomantic/Fomantic-UI/
|
23505
23432
|
*
|
23506
23433
|
*
|
@@ -24415,7 +24342,7 @@
|
|
24415
24342
|
})(jQuery, window, document);
|
24416
24343
|
|
24417
24344
|
/*!
|
24418
|
-
* # Fomantic-UI 2.9.
|
24345
|
+
* # Fomantic-UI 2.9.2-beta.8+8838309 - Tab
|
24419
24346
|
* https://github.com/fomantic/Fomantic-UI/
|
24420
24347
|
*
|
24421
24348
|
*
|
@@ -25371,7 +25298,7 @@
|
|
25371
25298
|
})(jQuery, window, document);
|
25372
25299
|
|
25373
25300
|
/*!
|
25374
|
-
* # Fomantic-UI 2.9.
|
25301
|
+
* # Fomantic-UI 2.9.2-beta.8+8838309 - Toast
|
25375
25302
|
* https://github.com/fomantic/Fomantic-UI/
|
25376
25303
|
*
|
25377
25304
|
*
|
@@ -25769,7 +25696,7 @@
|
|
25769
25696
|
animate: {
|
25770
25697
|
show: function (callback) {
|
25771
25698
|
callback = isFunction(callback) ? callback : function () {};
|
25772
|
-
if (settings.transition && module.can.useElement('transition')
|
25699
|
+
if (settings.transition && module.can.useElement('transition')) {
|
25773
25700
|
module.set.visible();
|
25774
25701
|
$toastBox
|
25775
25702
|
.transition({
|
@@ -25789,7 +25716,7 @@
|
|
25789
25716
|
},
|
25790
25717
|
close: function (callback) {
|
25791
25718
|
callback = isFunction(callback) ? callback : function () {};
|
25792
|
-
if (settings.transition && $.fn.transition !== undefined
|
25719
|
+
if (settings.transition && $.fn.transition !== undefined) {
|
25793
25720
|
$toastBox
|
25794
25721
|
.transition({
|
25795
25722
|
animation: settings.transition.hideMethod + ' out',
|
@@ -26324,7 +26251,7 @@
|
|
26324
26251
|
})(jQuery, window, document);
|
26325
26252
|
|
26326
26253
|
/*!
|
26327
|
-
* # Fomantic-UI 2.9.
|
26254
|
+
* # Fomantic-UI 2.9.2-beta.8+8838309 - Transition
|
26328
26255
|
* https://github.com/fomantic/Fomantic-UI/
|
26329
26256
|
*
|
26330
26257
|
*
|
@@ -26371,7 +26298,6 @@
|
|
26371
26298
|
error,
|
26372
26299
|
className,
|
26373
26300
|
metadata,
|
26374
|
-
animationEnd,
|
26375
26301
|
|
26376
26302
|
moduleNamespace,
|
26377
26303
|
eventNamespace,
|
@@ -26394,9 +26320,6 @@
|
|
26394
26320
|
moduleNamespace = 'module-' + settings.namespace;
|
26395
26321
|
instance = $module.data(moduleNamespace) || module;
|
26396
26322
|
|
26397
|
-
// get vendor specific events
|
26398
|
-
animationEnd = module.get.animationEndEvent();
|
26399
|
-
|
26400
26323
|
if (methodInvoked) {
|
26401
26324
|
methodInvoked = module.invoke(query);
|
26402
26325
|
}
|
@@ -26477,11 +26400,7 @@
|
|
26477
26400
|
|
26478
26401
|
animate: function (overrideSettings) {
|
26479
26402
|
settings = overrideSettings || settings;
|
26480
|
-
if (!module.is.supported()) {
|
26481
|
-
module.error(error.support);
|
26482
26403
|
|
26483
|
-
return false;
|
26484
|
-
}
|
26485
26404
|
module.debug('Preparing animation', settings.animation);
|
26486
26405
|
if (module.is.animating()) {
|
26487
26406
|
if (settings.queue) {
|
@@ -26520,7 +26439,7 @@
|
|
26520
26439
|
module.debug('Queueing animation of', animation);
|
26521
26440
|
module.queuing = true;
|
26522
26441
|
$module
|
26523
|
-
.one(
|
26442
|
+
.one('animationend.queue' + eventNamespace, function () {
|
26524
26443
|
module.queuing = false;
|
26525
26444
|
module.repaint();
|
26526
26445
|
module.animate.apply(this, settings);
|
@@ -26541,7 +26460,7 @@
|
|
26541
26460
|
module.restore.conditions();
|
26542
26461
|
module.hide();
|
26543
26462
|
} else if (module.is.inward()) {
|
26544
|
-
module.verbose('Animation is
|
26463
|
+
module.verbose('Animation is inward, showing element');
|
26545
26464
|
module.restore.conditions();
|
26546
26465
|
module.show();
|
26547
26466
|
} else {
|
@@ -26700,7 +26619,7 @@
|
|
26700
26619
|
module.debug('Starting tween', animationClass);
|
26701
26620
|
$module
|
26702
26621
|
.addClass(animationClass)
|
26703
|
-
.one(
|
26622
|
+
.one('animationend.complete' + eventNamespace, module.complete)
|
26704
26623
|
;
|
26705
26624
|
if (settings.useFailSafe) {
|
26706
26625
|
module.add.failSafe();
|
@@ -26749,7 +26668,7 @@
|
|
26749
26668
|
duration = module.get.duration()
|
26750
26669
|
;
|
26751
26670
|
module.timer = setTimeout(function () {
|
26752
|
-
$module.triggerHandler(
|
26671
|
+
$module.triggerHandler('animationend');
|
26753
26672
|
}, duration + settings.failSafeDelay);
|
26754
26673
|
module.verbose('Adding fail safe timer', module.timer);
|
26755
26674
|
},
|
@@ -26937,45 +26856,6 @@
|
|
26937
26856
|
transitionExists: function (animation) {
|
26938
26857
|
return $.fn.transition.exists[animation];
|
26939
26858
|
},
|
26940
|
-
animationStartEvent: function () {
|
26941
|
-
var
|
26942
|
-
element = document.createElement('div'),
|
26943
|
-
animations = {
|
26944
|
-
animation: 'animationstart',
|
26945
|
-
OAnimation: 'oAnimationStart',
|
26946
|
-
MozAnimation: 'mozAnimationStart',
|
26947
|
-
WebkitAnimation: 'webkitAnimationStart',
|
26948
|
-
},
|
26949
|
-
animation
|
26950
|
-
;
|
26951
|
-
for (animation in animations) {
|
26952
|
-
if (element.style[animation] !== undefined) {
|
26953
|
-
return animations[animation];
|
26954
|
-
}
|
26955
|
-
}
|
26956
|
-
|
26957
|
-
return false;
|
26958
|
-
},
|
26959
|
-
animationEndEvent: function () {
|
26960
|
-
var
|
26961
|
-
element = document.createElement('div'),
|
26962
|
-
animations = {
|
26963
|
-
animation: 'animationend',
|
26964
|
-
OAnimation: 'oAnimationEnd',
|
26965
|
-
MozAnimation: 'mozAnimationEnd',
|
26966
|
-
WebkitAnimation: 'webkitAnimationEnd',
|
26967
|
-
},
|
26968
|
-
animation
|
26969
|
-
;
|
26970
|
-
for (animation in animations) {
|
26971
|
-
if (element.style[animation] !== undefined) {
|
26972
|
-
return animations[animation];
|
26973
|
-
}
|
26974
|
-
}
|
26975
|
-
|
26976
|
-
return false;
|
26977
|
-
},
|
26978
|
-
|
26979
26859
|
},
|
26980
26860
|
|
26981
26861
|
can: {
|
@@ -27075,7 +26955,8 @@
|
|
27075
26955
|
return $module.css('visibility') === 'hidden';
|
27076
26956
|
},
|
27077
26957
|
supported: function () {
|
27078
|
-
|
26958
|
+
// keep method for backward compatibility until 2.10.0
|
26959
|
+
return true;
|
27079
26960
|
},
|
27080
26961
|
},
|
27081
26962
|
|
@@ -27126,13 +27007,13 @@
|
|
27126
27007
|
|
27127
27008
|
stop: function () {
|
27128
27009
|
module.debug('Stopping current animation');
|
27129
|
-
$module.triggerHandler(
|
27010
|
+
$module.triggerHandler('animationend');
|
27130
27011
|
},
|
27131
27012
|
|
27132
27013
|
stopAll: function () {
|
27133
27014
|
module.debug('Stopping all animation');
|
27134
27015
|
module.remove.queueCallback();
|
27135
|
-
$module.triggerHandler(
|
27016
|
+
$module.triggerHandler('animationend');
|
27136
27017
|
},
|
27137
27018
|
|
27138
27019
|
clear: {
|
@@ -27270,8 +27151,7 @@
|
|
27270
27151
|
$.each(query, function (depth, value) {
|
27271
27152
|
var camelCaseValue = depth !== maxDepth
|
27272
27153
|
? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)
|
27273
|
-
: query
|
27274
|
-
;
|
27154
|
+
: query;
|
27275
27155
|
if ($.isPlainObject(object[camelCaseValue]) && (depth !== maxDepth)) {
|
27276
27156
|
object = object[camelCaseValue];
|
27277
27157
|
} else if (object[camelCaseValue] !== undefined) {
|
@@ -27285,8 +27165,6 @@
|
|
27285
27165
|
|
27286
27166
|
return false;
|
27287
27167
|
} else {
|
27288
|
-
module.error(error.method, query);
|
27289
|
-
|
27290
27168
|
return false;
|
27291
27169
|
}
|
27292
27170
|
});
|
@@ -27402,15 +27280,13 @@
|
|
27402
27280
|
// possible errors
|
27403
27281
|
error: {
|
27404
27282
|
noAnimation: 'Element is no longer attached to DOM. Unable to animate. Use silent setting to suppress this warning in production.',
|
27405
|
-
method: 'The method you called is not defined',
|
27406
|
-
support: 'This browser does not support CSS animations',
|
27407
27283
|
},
|
27408
27284
|
|
27409
27285
|
};
|
27410
27286
|
})(jQuery, window, document);
|
27411
27287
|
|
27412
27288
|
/*!
|
27413
|
-
* # Fomantic-UI 2.9.
|
27289
|
+
* # Fomantic-UI 2.9.2-beta.8+8838309 - API
|
27414
27290
|
* https://github.com/fomantic/Fomantic-UI/
|
27415
27291
|
*
|
27416
27292
|
*
|
@@ -28625,7 +28501,7 @@
|
|
28625
28501
|
})(jQuery, window, document);
|
28626
28502
|
|
28627
28503
|
/*!
|
28628
|
-
* # Fomantic-UI 2.9.
|
28504
|
+
* # Fomantic-UI 2.9.2-beta.8+8838309 - State
|
28629
28505
|
* https://github.com/fomantic/Fomantic-UI/
|
28630
28506
|
*
|
28631
28507
|
*
|
@@ -29318,7 +29194,7 @@
|
|
29318
29194
|
})(jQuery, window, document);
|
29319
29195
|
|
29320
29196
|
/*!
|
29321
|
-
* # Fomantic-UI 2.9.
|
29197
|
+
* # Fomantic-UI 2.9.2-beta.8+8838309 - Visibility
|
29322
29198
|
* https://github.com/fomantic/Fomantic-UI/
|
29323
29199
|
*
|
29324
29200
|
*
|