fomantic-ui 2.9.2-beta.7 → 2.9.2-beta.9
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 +1 -1
- 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 +1 -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 +1 -1
- 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 +1 -1
- 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 +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/feed.css +1 -1
- 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 +1 -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 +1 -1
- package/dist/components/item.min.css +1 -1
- package/dist/components/label.css +1 -1
- package/dist/components/label.min.css +1 -1
- package/dist/components/list.css +1 -1
- 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/message.css +1 -1
- package/dist/components/message.min.css +1 -1
- package/dist/components/modal.css +1 -1
- package/dist/components/modal.js +14 -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 +1 -1
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +147 -2
- package/dist/components/popup.js +20 -8
- 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 +1 -1
- package/dist/components/segment.min.css +1 -1
- 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.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 +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 +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 +1 -1
- package/dist/components/table.min.css +1 -1
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +1 -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 +9 -57
- 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 +229 -51
- package/dist/semantic.js +118 -228
- 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 +19 -7
- package/src/definitions/modules/popup.less +47 -3
- 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/src/themes/default/modules/popup.variables +8 -0
package/dist/semantic.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* # Fomantic UI - 2.9.2-beta.
|
2
|
+
* # Fomantic UI - 2.9.2-beta.9+f3fb845
|
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.2-beta.
|
12
|
+
* # Fomantic-UI 2.9.2-beta.9+f3fb845 - 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.2-beta.
|
466
|
+
* # Fomantic-UI 2.9.2-beta.9+f3fb845 - 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.2-beta.
|
2562
|
+
* # Fomantic-UI 2.9.2-beta.9+f3fb845 - 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.2-beta.
|
3160
|
+
* # Fomantic-UI 2.9.2-beta.9+f3fb845 - 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.2-beta.
|
5176
|
+
* # Fomantic-UI 2.9.2-beta.9+f3fb845 - 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.2-beta.
|
6061
|
+
* # Fomantic-UI 2.9.2-beta.9+f3fb845 - 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.2-beta.
|
6796
|
+
* # Fomantic-UI 2.9.2-beta.9+f3fb845 - 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.2-beta.
|
11131
|
+
* # Fomantic-UI 2.9.2-beta.9+f3fb845 - 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.2-beta.
|
11815
|
+
* # Fomantic-UI 2.9.2-beta.9+f3fb845 - 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.2-beta.
|
13383
|
+
* # Fomantic-UI 2.9.2-beta.9+f3fb845 - 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,
|
@@ -14382,9 +14375,7 @@
|
|
14382
14375
|
return module.cache.isIE;
|
14383
14376
|
},
|
14384
14377
|
animating: function () {
|
14385
|
-
return $module.transition('is
|
14386
|
-
? $module.transition('is animating')
|
14387
|
-
: $module.is(':visible');
|
14378
|
+
return $module.transition('is animating');
|
14388
14379
|
},
|
14389
14380
|
scrolling: function () {
|
14390
14381
|
return $dimmable.hasClass(className.scrolling);
|
@@ -14427,6 +14418,9 @@
|
|
14427
14418
|
},
|
14428
14419
|
|
14429
14420
|
set: {
|
14421
|
+
observeAttributes: function (state) {
|
14422
|
+
observeAttributes = state !== false;
|
14423
|
+
},
|
14430
14424
|
autofocus: function () {
|
14431
14425
|
var
|
14432
14426
|
$autofocus = $inputs.filter('[autofocus]'),
|
@@ -15008,7 +15002,7 @@
|
|
15008
15002
|
})(jQuery, window, document);
|
15009
15003
|
|
15010
15004
|
/*!
|
15011
|
-
* # Fomantic-UI 2.9.2-beta.
|
15005
|
+
* # Fomantic-UI 2.9.2-beta.9+f3fb845 - Nag
|
15012
15006
|
* https://github.com/fomantic/Fomantic-UI/
|
15013
15007
|
*
|
15014
15008
|
*
|
@@ -15561,7 +15555,7 @@
|
|
15561
15555
|
})(jQuery, window, document);
|
15562
15556
|
|
15563
15557
|
/*!
|
15564
|
-
* # Fomantic-UI 2.9.2-beta.
|
15558
|
+
* # Fomantic-UI 2.9.2-beta.9+f3fb845 - Popup
|
15565
15559
|
* https://github.com/fomantic/Fomantic-UI/
|
15566
15560
|
*
|
15567
15561
|
*
|
@@ -15687,9 +15681,9 @@
|
|
15687
15681
|
}
|
15688
15682
|
}
|
15689
15683
|
if (settings.popup) {
|
15690
|
-
|
15684
|
+
module.set.invisible();
|
15691
15685
|
$offsetParent = module.get.offsetParent();
|
15692
|
-
|
15686
|
+
module.remove.invisible();
|
15693
15687
|
if (settings.movePopup && module.has.popup() && module.get.offsetParent($popup)[0] !== $offsetParent[0]) {
|
15694
15688
|
module.debug('Moving popup to the same offset parent as target');
|
15695
15689
|
$popup
|
@@ -15976,7 +15970,7 @@
|
|
15976
15970
|
animate: {
|
15977
15971
|
show: function (callback) {
|
15978
15972
|
callback = isFunction(callback) ? callback : function () {};
|
15979
|
-
if (settings.transition && module.can.useElement('transition')
|
15973
|
+
if (settings.transition && module.can.useElement('transition')) {
|
15980
15974
|
module.set.visible();
|
15981
15975
|
$popup
|
15982
15976
|
.transition({
|
@@ -15998,7 +15992,7 @@
|
|
15998
15992
|
hide: function (callback) {
|
15999
15993
|
callback = isFunction(callback) ? callback : function () {};
|
16000
15994
|
module.debug('Hiding pop-up');
|
16001
|
-
if (settings.transition && $.fn.transition !== undefined
|
15995
|
+
if (settings.transition && $.fn.transition !== undefined) {
|
16002
15996
|
$popup
|
16003
15997
|
.transition({
|
16004
15998
|
animation: (settings.transition.hideMethod || settings.transition) + ' out',
|
@@ -16463,8 +16457,8 @@
|
|
16463
16457
|
.css(positioning)
|
16464
16458
|
.removeClass(className.position)
|
16465
16459
|
.addClass(position)
|
16466
|
-
.addClass(className.loading)
|
16467
16460
|
;
|
16461
|
+
module.set.invisible();
|
16468
16462
|
|
16469
16463
|
popupOffset = module.get.popupOffset();
|
16470
16464
|
|
@@ -16488,7 +16482,7 @@
|
|
16488
16482
|
module.debug('Popup could not find a position to display', $popup);
|
16489
16483
|
module.error(error.cannotPlace, element);
|
16490
16484
|
module.remove.attempts();
|
16491
|
-
module.remove.
|
16485
|
+
module.remove.invisible();
|
16492
16486
|
module.reset();
|
16493
16487
|
settings.onUnplaceable.call($popup, element);
|
16494
16488
|
|
@@ -16497,7 +16491,7 @@
|
|
16497
16491
|
}
|
16498
16492
|
module.debug('Position is on stage', position);
|
16499
16493
|
module.remove.attempts();
|
16500
|
-
module.remove.
|
16494
|
+
module.remove.invisible();
|
16501
16495
|
if (settings.setFluidWidth && module.is.fluid()) {
|
16502
16496
|
module.set.fluidWidth(calculations);
|
16503
16497
|
}
|
@@ -16511,6 +16505,14 @@
|
|
16511
16505
|
$popup.css('width', calculations.container.width);
|
16512
16506
|
},
|
16513
16507
|
|
16508
|
+
loading: function () {
|
16509
|
+
$popup.addClass(className.loading);
|
16510
|
+
},
|
16511
|
+
|
16512
|
+
invisible: function () {
|
16513
|
+
$popup.addClass(className.invisible);
|
16514
|
+
},
|
16515
|
+
|
16514
16516
|
variation: function (variation) {
|
16515
16517
|
variation = variation || module.get.variation();
|
16516
16518
|
if (variation && module.has.popup()) {
|
@@ -16528,6 +16530,9 @@
|
|
16528
16530
|
loading: function () {
|
16529
16531
|
$popup.removeClass(className.loading);
|
16530
16532
|
},
|
16533
|
+
invisible: function () {
|
16534
|
+
$popup.removeClass(className.invisible);
|
16535
|
+
},
|
16531
16536
|
variation: function (variation) {
|
16532
16537
|
variation = variation || module.get.variation();
|
16533
16538
|
if (variation) {
|
@@ -17037,6 +17042,7 @@
|
|
17037
17042
|
basic: 'basic',
|
17038
17043
|
animating: 'animating',
|
17039
17044
|
dropdown: 'dropdown',
|
17045
|
+
invisible: 'invisible',
|
17040
17046
|
fluid: 'fluid',
|
17041
17047
|
loading: 'loading',
|
17042
17048
|
popup: 'ui popup',
|
@@ -17097,7 +17103,7 @@
|
|
17097
17103
|
})(jQuery, window, document);
|
17098
17104
|
|
17099
17105
|
/*!
|
17100
|
-
* # Fomantic-UI 2.9.2-beta.
|
17106
|
+
* # Fomantic-UI 2.9.2-beta.9+f3fb845 - Progress
|
17101
17107
|
* https://github.com/fomantic/Fomantic-UI/
|
17102
17108
|
*
|
17103
17109
|
*
|
@@ -17157,7 +17163,6 @@
|
|
17157
17163
|
instance = $module.data(moduleNamespace),
|
17158
17164
|
|
17159
17165
|
animating = false,
|
17160
|
-
transitionEnd,
|
17161
17166
|
module
|
17162
17167
|
;
|
17163
17168
|
module = {
|
@@ -17213,7 +17218,6 @@
|
|
17213
17218
|
|
17214
17219
|
initialize: function () {
|
17215
17220
|
module.set.duration();
|
17216
|
-
module.set.transitionEvent();
|
17217
17221
|
module.debug(element);
|
17218
17222
|
|
17219
17223
|
module.read.metadata();
|
@@ -17293,17 +17297,14 @@
|
|
17293
17297
|
|
17294
17298
|
bind: {
|
17295
17299
|
transitionEnd: function (callback) {
|
17296
|
-
var
|
17297
|
-
transitionEnd = module.get.transitionEnd()
|
17298
|
-
;
|
17299
17300
|
$bars
|
17300
|
-
.one(
|
17301
|
+
.one('transitionend' + eventNamespace, function (event) {
|
17301
17302
|
clearTimeout(module.failSafeTimer);
|
17302
17303
|
callback.call(this, event);
|
17303
17304
|
})
|
17304
17305
|
;
|
17305
17306
|
module.failSafeTimer = setTimeout(function () {
|
17306
|
-
$bars.triggerHandler(
|
17307
|
+
$bars.triggerHandler('transitionend');
|
17307
17308
|
}, settings.duration + settings.failSafeDelay);
|
17308
17309
|
module.verbose('Adding fail safe timer', module.timer);
|
17309
17310
|
},
|
@@ -17428,24 +17429,6 @@
|
|
17428
17429
|
: value;
|
17429
17430
|
},
|
17430
17431
|
|
17431
|
-
transitionEnd: function () {
|
17432
|
-
var
|
17433
|
-
element = document.createElement('element'),
|
17434
|
-
transitions = {
|
17435
|
-
transition: 'transitionend',
|
17436
|
-
OTransition: 'oTransitionEnd',
|
17437
|
-
MozTransition: 'transitionend',
|
17438
|
-
WebkitTransition: 'webkitTransitionEnd',
|
17439
|
-
},
|
17440
|
-
transition
|
17441
|
-
;
|
17442
|
-
for (transition in transitions) {
|
17443
|
-
if (element.style[transition] !== undefined) {
|
17444
|
-
return transitions[transition];
|
17445
|
-
}
|
17446
|
-
}
|
17447
|
-
},
|
17448
|
-
|
17449
17432
|
// gets current displayed percentage (if animating values this is the intermediary value)
|
17450
17433
|
displayPercent: function (index) {
|
17451
17434
|
var
|
@@ -17785,9 +17768,6 @@
|
|
17785
17768
|
settings.onError.call(element, module.value, module.total);
|
17786
17769
|
});
|
17787
17770
|
},
|
17788
|
-
transitionEvent: function () {
|
17789
|
-
transitionEnd = module.get.transitionEnd();
|
17790
|
-
},
|
17791
17771
|
total: function (totalValue) {
|
17792
17772
|
module.total = totalValue;
|
17793
17773
|
},
|
@@ -18106,7 +18086,7 @@
|
|
18106
18086
|
})(jQuery, window, document);
|
18107
18087
|
|
18108
18088
|
/*!
|
18109
|
-
* # Fomantic-UI 2.9.2-beta.
|
18089
|
+
* # Fomantic-UI 2.9.2-beta.9+f3fb845 - Slider
|
18110
18090
|
* https://github.com/fomantic/Fomantic-UI/
|
18111
18091
|
*
|
18112
18092
|
*
|
@@ -19459,7 +19439,7 @@
|
|
19459
19439
|
})(jQuery, window, document);
|
19460
19440
|
|
19461
19441
|
/*!
|
19462
|
-
* # Fomantic-UI 2.9.2-beta.
|
19442
|
+
* # Fomantic-UI 2.9.2-beta.9+f3fb845 - Rating
|
19463
19443
|
* https://github.com/fomantic/Fomantic-UI/
|
19464
19444
|
*
|
19465
19445
|
*
|
@@ -20002,7 +19982,7 @@
|
|
20002
19982
|
})(jQuery, window, document);
|
20003
19983
|
|
20004
19984
|
/*!
|
20005
|
-
* # Fomantic-UI 2.9.2-beta.
|
19985
|
+
* # Fomantic-UI 2.9.2-beta.9+f3fb845 - Search
|
20006
19986
|
* https://github.com/fomantic/Fomantic-UI/
|
20007
19987
|
*
|
20008
19988
|
*
|
@@ -20411,7 +20391,7 @@
|
|
20411
20391
|
return module.is.focused() && !module.is.visible() && !module.is.empty();
|
20412
20392
|
},
|
20413
20393
|
transition: function () {
|
20414
|
-
return settings.transition && $.fn.transition !== undefined
|
20394
|
+
return settings.transition && $.fn.transition !== undefined;
|
20415
20395
|
},
|
20416
20396
|
},
|
20417
20397
|
|
@@ -21583,7 +21563,7 @@
|
|
21583
21563
|
})(jQuery, window, document);
|
21584
21564
|
|
21585
21565
|
/*!
|
21586
|
-
* # Fomantic-UI 2.9.2-beta.
|
21566
|
+
* # Fomantic-UI 2.9.2-beta.9+f3fb845 - Shape
|
21587
21567
|
* https://github.com/fomantic/Fomantic-UI/
|
21588
21568
|
*
|
21589
21569
|
*
|
@@ -21700,33 +21680,29 @@
|
|
21700
21680
|
module.set.active();
|
21701
21681
|
};
|
21702
21682
|
settings.onBeforeChange.call($nextSide[0]);
|
21703
|
-
|
21704
|
-
|
21683
|
+
module.verbose('Starting CSS animation');
|
21684
|
+
$module
|
21685
|
+
.addClass(className.animating)
|
21686
|
+
;
|
21687
|
+
$sides
|
21688
|
+
.css(propertyObject)
|
21689
|
+
.one('transitionend', callback)
|
21690
|
+
;
|
21691
|
+
module.set.duration(settings.duration);
|
21692
|
+
requestAnimationFrame(function () {
|
21705
21693
|
$module
|
21706
21694
|
.addClass(className.animating)
|
21707
21695
|
;
|
21708
|
-
$
|
21709
|
-
.
|
21710
|
-
.one(module.get.transitionEvent(), callback)
|
21696
|
+
$activeSide
|
21697
|
+
.addClass(className.hidden)
|
21711
21698
|
;
|
21712
|
-
|
21713
|
-
requestAnimationFrame(function () {
|
21714
|
-
$module
|
21715
|
-
.addClass(className.animating)
|
21716
|
-
;
|
21717
|
-
$activeSide
|
21718
|
-
.addClass(className.hidden)
|
21719
|
-
;
|
21720
|
-
});
|
21721
|
-
} else {
|
21722
|
-
callback();
|
21723
|
-
}
|
21699
|
+
});
|
21724
21700
|
},
|
21725
21701
|
|
21726
21702
|
queue: function (method) {
|
21727
21703
|
module.debug('Queueing animation of', method);
|
21728
21704
|
$sides
|
21729
|
-
.one(
|
21705
|
+
.one('transitionend', function () {
|
21730
21706
|
module.debug('Executing queued animation');
|
21731
21707
|
setTimeout(function () {
|
21732
21708
|
$module.shape(method);
|
@@ -21996,24 +21972,6 @@
|
|
21996
21972
|
},
|
21997
21973
|
},
|
21998
21974
|
|
21999
|
-
transitionEvent: function () {
|
22000
|
-
var
|
22001
|
-
element = document.createElement('element'),
|
22002
|
-
transitions = {
|
22003
|
-
transition: 'transitionend',
|
22004
|
-
OTransition: 'oTransitionEnd',
|
22005
|
-
MozTransition: 'transitionend',
|
22006
|
-
WebkitTransition: 'webkitTransitionEnd',
|
22007
|
-
},
|
22008
|
-
transition
|
22009
|
-
;
|
22010
|
-
for (transition in transitions) {
|
22011
|
-
if (element.style[transition] !== undefined) {
|
22012
|
-
return transitions[transition];
|
22013
|
-
}
|
22014
|
-
}
|
22015
|
-
},
|
22016
|
-
|
22017
21975
|
nextSide: function () {
|
22018
21976
|
return $activeSide.next(selector.side).length > 0
|
22019
21977
|
? $activeSide.next(selector.side)
|
@@ -22405,7 +22363,7 @@
|
|
22405
22363
|
})(jQuery, window, document);
|
22406
22364
|
|
22407
22365
|
/*!
|
22408
|
-
* # Fomantic-UI 2.9.2-beta.
|
22366
|
+
* # Fomantic-UI 2.9.2-beta.9+f3fb845 - Sidebar
|
22409
22367
|
* https://github.com/fomantic/Fomantic-UI/
|
22410
22368
|
*
|
22411
22369
|
*
|
@@ -22475,7 +22433,6 @@
|
|
22475
22433
|
elementNamespace,
|
22476
22434
|
id,
|
22477
22435
|
currentScroll,
|
22478
|
-
transitionEvent,
|
22479
22436
|
initialBodyMargin = '',
|
22480
22437
|
tempBodyMargin = '',
|
22481
22438
|
hadScrollbar = false,
|
@@ -22490,8 +22447,6 @@
|
|
22490
22447
|
|
22491
22448
|
module.create.id();
|
22492
22449
|
|
22493
|
-
transitionEvent = module.get.transitionEvent();
|
22494
|
-
|
22495
22450
|
// avoids locking rendering if initialized in onReady
|
22496
22451
|
if (settings.delaySetup) {
|
22497
22452
|
requestAnimationFrame(module.setup.layout);
|
@@ -22898,13 +22853,13 @@
|
|
22898
22853
|
};
|
22899
22854
|
transitionEnd = function (event) {
|
22900
22855
|
if (event.target === $transition[0]) {
|
22901
|
-
$transition.off(
|
22856
|
+
$transition.off('transitionend' + elementNamespace, transitionEnd);
|
22902
22857
|
module.remove.animating();
|
22903
22858
|
callback.call(element);
|
22904
22859
|
}
|
22905
22860
|
};
|
22906
|
-
$transition.off(
|
22907
|
-
$transition.on(
|
22861
|
+
$transition.off('transitionend' + elementNamespace);
|
22862
|
+
$transition.on('transitionend' + elementNamespace, transitionEnd);
|
22908
22863
|
requestAnimationFrame(animate);
|
22909
22864
|
if (settings.dimPage && !module.othersVisible()) {
|
22910
22865
|
requestAnimationFrame(dim);
|
@@ -22938,7 +22893,7 @@
|
|
22938
22893
|
};
|
22939
22894
|
transitionEnd = function (event) {
|
22940
22895
|
if (event.target === $transition[0]) {
|
22941
|
-
$transition.off(
|
22896
|
+
$transition.off('transitionend' + elementNamespace, transitionEnd);
|
22942
22897
|
module.remove.animating();
|
22943
22898
|
module.remove.closing();
|
22944
22899
|
module.remove.transition();
|
@@ -22952,8 +22907,8 @@
|
|
22952
22907
|
callback.call(element);
|
22953
22908
|
}
|
22954
22909
|
};
|
22955
|
-
$transition.off(
|
22956
|
-
$transition.on(
|
22910
|
+
$transition.off('transitionend' + elementNamespace);
|
22911
|
+
$transition.on('transitionend' + elementNamespace, transitionEnd);
|
22957
22912
|
requestAnimationFrame(animate);
|
22958
22913
|
},
|
22959
22914
|
|
@@ -23128,23 +23083,6 @@
|
|
23128
23083
|
|
23129
23084
|
return transition;
|
23130
23085
|
},
|
23131
|
-
transitionEvent: function () {
|
23132
|
-
var
|
23133
|
-
element = document.createElement('element'),
|
23134
|
-
transitions = {
|
23135
|
-
transition: 'transitionend',
|
23136
|
-
OTransition: 'oTransitionEnd',
|
23137
|
-
MozTransition: 'transitionend',
|
23138
|
-
WebkitTransition: 'webkitTransitionEnd',
|
23139
|
-
},
|
23140
|
-
transition
|
23141
|
-
;
|
23142
|
-
for (transition in transitions) {
|
23143
|
-
if (element.style[transition] !== undefined) {
|
23144
|
-
return transitions[transition];
|
23145
|
-
}
|
23146
|
-
}
|
23147
|
-
},
|
23148
23086
|
},
|
23149
23087
|
has: {
|
23150
23088
|
scrollbar: function () {
|
@@ -23501,7 +23439,7 @@
|
|
23501
23439
|
})(jQuery, window, document);
|
23502
23440
|
|
23503
23441
|
/*!
|
23504
|
-
* # Fomantic-UI 2.9.2-beta.
|
23442
|
+
* # Fomantic-UI 2.9.2-beta.9+f3fb845 - Sticky
|
23505
23443
|
* https://github.com/fomantic/Fomantic-UI/
|
23506
23444
|
*
|
23507
23445
|
*
|
@@ -24416,7 +24354,7 @@
|
|
24416
24354
|
})(jQuery, window, document);
|
24417
24355
|
|
24418
24356
|
/*!
|
24419
|
-
* # Fomantic-UI 2.9.2-beta.
|
24357
|
+
* # Fomantic-UI 2.9.2-beta.9+f3fb845 - Tab
|
24420
24358
|
* https://github.com/fomantic/Fomantic-UI/
|
24421
24359
|
*
|
24422
24360
|
*
|
@@ -25372,7 +25310,7 @@
|
|
25372
25310
|
})(jQuery, window, document);
|
25373
25311
|
|
25374
25312
|
/*!
|
25375
|
-
* # Fomantic-UI 2.9.2-beta.
|
25313
|
+
* # Fomantic-UI 2.9.2-beta.9+f3fb845 - Toast
|
25376
25314
|
* https://github.com/fomantic/Fomantic-UI/
|
25377
25315
|
*
|
25378
25316
|
*
|
@@ -25770,7 +25708,7 @@
|
|
25770
25708
|
animate: {
|
25771
25709
|
show: function (callback) {
|
25772
25710
|
callback = isFunction(callback) ? callback : function () {};
|
25773
|
-
if (settings.transition && module.can.useElement('transition')
|
25711
|
+
if (settings.transition && module.can.useElement('transition')) {
|
25774
25712
|
module.set.visible();
|
25775
25713
|
$toastBox
|
25776
25714
|
.transition({
|
@@ -25790,7 +25728,7 @@
|
|
25790
25728
|
},
|
25791
25729
|
close: function (callback) {
|
25792
25730
|
callback = isFunction(callback) ? callback : function () {};
|
25793
|
-
if (settings.transition && $.fn.transition !== undefined
|
25731
|
+
if (settings.transition && $.fn.transition !== undefined) {
|
25794
25732
|
$toastBox
|
25795
25733
|
.transition({
|
25796
25734
|
animation: settings.transition.hideMethod + ' out',
|
@@ -26325,7 +26263,7 @@
|
|
26325
26263
|
})(jQuery, window, document);
|
26326
26264
|
|
26327
26265
|
/*!
|
26328
|
-
* # Fomantic-UI 2.9.2-beta.
|
26266
|
+
* # Fomantic-UI 2.9.2-beta.9+f3fb845 - Transition
|
26329
26267
|
* https://github.com/fomantic/Fomantic-UI/
|
26330
26268
|
*
|
26331
26269
|
*
|
@@ -26372,7 +26310,6 @@
|
|
26372
26310
|
error,
|
26373
26311
|
className,
|
26374
26312
|
metadata,
|
26375
|
-
animationEnd,
|
26376
26313
|
|
26377
26314
|
moduleNamespace,
|
26378
26315
|
eventNamespace,
|
@@ -26395,9 +26332,6 @@
|
|
26395
26332
|
moduleNamespace = 'module-' + settings.namespace;
|
26396
26333
|
instance = $module.data(moduleNamespace) || module;
|
26397
26334
|
|
26398
|
-
// get vendor specific events
|
26399
|
-
animationEnd = module.get.animationEndEvent();
|
26400
|
-
|
26401
26335
|
if (methodInvoked) {
|
26402
26336
|
methodInvoked = module.invoke(query);
|
26403
26337
|
}
|
@@ -26478,11 +26412,7 @@
|
|
26478
26412
|
|
26479
26413
|
animate: function (overrideSettings) {
|
26480
26414
|
settings = overrideSettings || settings;
|
26481
|
-
if (!module.is.supported()) {
|
26482
|
-
module.error(error.support);
|
26483
26415
|
|
26484
|
-
return false;
|
26485
|
-
}
|
26486
26416
|
module.debug('Preparing animation', settings.animation);
|
26487
26417
|
if (module.is.animating()) {
|
26488
26418
|
if (settings.queue) {
|
@@ -26521,7 +26451,7 @@
|
|
26521
26451
|
module.debug('Queueing animation of', animation);
|
26522
26452
|
module.queuing = true;
|
26523
26453
|
$module
|
26524
|
-
.one(
|
26454
|
+
.one('animationend.queue' + eventNamespace, function () {
|
26525
26455
|
module.queuing = false;
|
26526
26456
|
module.repaint();
|
26527
26457
|
module.animate.apply(this, settings);
|
@@ -26701,7 +26631,7 @@
|
|
26701
26631
|
module.debug('Starting tween', animationClass);
|
26702
26632
|
$module
|
26703
26633
|
.addClass(animationClass)
|
26704
|
-
.one(
|
26634
|
+
.one('animationend.complete' + eventNamespace, module.complete)
|
26705
26635
|
;
|
26706
26636
|
if (settings.useFailSafe) {
|
26707
26637
|
module.add.failSafe();
|
@@ -26750,7 +26680,7 @@
|
|
26750
26680
|
duration = module.get.duration()
|
26751
26681
|
;
|
26752
26682
|
module.timer = setTimeout(function () {
|
26753
|
-
$module.triggerHandler(
|
26683
|
+
$module.triggerHandler('animationend');
|
26754
26684
|
}, duration + settings.failSafeDelay);
|
26755
26685
|
module.verbose('Adding fail safe timer', module.timer);
|
26756
26686
|
},
|
@@ -26938,45 +26868,6 @@
|
|
26938
26868
|
transitionExists: function (animation) {
|
26939
26869
|
return $.fn.transition.exists[animation];
|
26940
26870
|
},
|
26941
|
-
animationStartEvent: function () {
|
26942
|
-
var
|
26943
|
-
element = document.createElement('div'),
|
26944
|
-
animations = {
|
26945
|
-
animation: 'animationstart',
|
26946
|
-
OAnimation: 'oAnimationStart',
|
26947
|
-
MozAnimation: 'mozAnimationStart',
|
26948
|
-
WebkitAnimation: 'webkitAnimationStart',
|
26949
|
-
},
|
26950
|
-
animation
|
26951
|
-
;
|
26952
|
-
for (animation in animations) {
|
26953
|
-
if (element.style[animation] !== undefined) {
|
26954
|
-
return animations[animation];
|
26955
|
-
}
|
26956
|
-
}
|
26957
|
-
|
26958
|
-
return false;
|
26959
|
-
},
|
26960
|
-
animationEndEvent: function () {
|
26961
|
-
var
|
26962
|
-
element = document.createElement('div'),
|
26963
|
-
animations = {
|
26964
|
-
animation: 'animationend',
|
26965
|
-
OAnimation: 'oAnimationEnd',
|
26966
|
-
MozAnimation: 'mozAnimationEnd',
|
26967
|
-
WebkitAnimation: 'webkitAnimationEnd',
|
26968
|
-
},
|
26969
|
-
animation
|
26970
|
-
;
|
26971
|
-
for (animation in animations) {
|
26972
|
-
if (element.style[animation] !== undefined) {
|
26973
|
-
return animations[animation];
|
26974
|
-
}
|
26975
|
-
}
|
26976
|
-
|
26977
|
-
return false;
|
26978
|
-
},
|
26979
|
-
|
26980
26871
|
},
|
26981
26872
|
|
26982
26873
|
can: {
|
@@ -27076,7 +26967,8 @@
|
|
27076
26967
|
return $module.css('visibility') === 'hidden';
|
27077
26968
|
},
|
27078
26969
|
supported: function () {
|
27079
|
-
|
26970
|
+
// keep method for backward compatibility until 2.10.0
|
26971
|
+
return true;
|
27080
26972
|
},
|
27081
26973
|
},
|
27082
26974
|
|
@@ -27127,13 +27019,13 @@
|
|
27127
27019
|
|
27128
27020
|
stop: function () {
|
27129
27021
|
module.debug('Stopping current animation');
|
27130
|
-
$module.triggerHandler(
|
27022
|
+
$module.triggerHandler('animationend');
|
27131
27023
|
},
|
27132
27024
|
|
27133
27025
|
stopAll: function () {
|
27134
27026
|
module.debug('Stopping all animation');
|
27135
27027
|
module.remove.queueCallback();
|
27136
|
-
$module.triggerHandler(
|
27028
|
+
$module.triggerHandler('animationend');
|
27137
27029
|
},
|
27138
27030
|
|
27139
27031
|
clear: {
|
@@ -27271,8 +27163,7 @@
|
|
27271
27163
|
$.each(query, function (depth, value) {
|
27272
27164
|
var camelCaseValue = depth !== maxDepth
|
27273
27165
|
? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)
|
27274
|
-
: query
|
27275
|
-
;
|
27166
|
+
: query;
|
27276
27167
|
if ($.isPlainObject(object[camelCaseValue]) && (depth !== maxDepth)) {
|
27277
27168
|
object = object[camelCaseValue];
|
27278
27169
|
} else if (object[camelCaseValue] !== undefined) {
|
@@ -27401,14 +27292,13 @@
|
|
27401
27292
|
// possible errors
|
27402
27293
|
error: {
|
27403
27294
|
noAnimation: 'Element is no longer attached to DOM. Unable to animate. Use silent setting to suppress this warning in production.',
|
27404
|
-
support: 'This browser does not support CSS animations',
|
27405
27295
|
},
|
27406
27296
|
|
27407
27297
|
};
|
27408
27298
|
})(jQuery, window, document);
|
27409
27299
|
|
27410
27300
|
/*!
|
27411
|
-
* # Fomantic-UI 2.9.2-beta.
|
27301
|
+
* # Fomantic-UI 2.9.2-beta.9+f3fb845 - API
|
27412
27302
|
* https://github.com/fomantic/Fomantic-UI/
|
27413
27303
|
*
|
27414
27304
|
*
|
@@ -28623,7 +28513,7 @@
|
|
28623
28513
|
})(jQuery, window, document);
|
28624
28514
|
|
28625
28515
|
/*!
|
28626
|
-
* # Fomantic-UI 2.9.2-beta.
|
28516
|
+
* # Fomantic-UI 2.9.2-beta.9+f3fb845 - State
|
28627
28517
|
* https://github.com/fomantic/Fomantic-UI/
|
28628
28518
|
*
|
28629
28519
|
*
|
@@ -29316,7 +29206,7 @@
|
|
29316
29206
|
})(jQuery, window, document);
|
29317
29207
|
|
29318
29208
|
/*!
|
29319
|
-
* # Fomantic-UI 2.9.2-beta.
|
29209
|
+
* # Fomantic-UI 2.9.2-beta.9+f3fb845 - Visibility
|
29320
29210
|
* https://github.com/fomantic/Fomantic-UI/
|
29321
29211
|
*
|
29322
29212
|
*
|