fomantic-ui 2.9.3-beta.1 → 2.9.3-beta.2
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 +9 -0
- package/CONTRIBUTORS.md +102 -99
- package/dist/components/accordion.css +1 -1
- package/dist/components/accordion.js +1 -5
- 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 +14 -8
- 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 +1 -1
- package/dist/components/button.min.css +1 -1
- package/dist/components/calendar.css +1 -1
- package/dist/components/calendar.js +1 -6
- 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 +1 -1
- package/dist/components/checkbox.js +1 -5
- package/dist/components/checkbox.min.css +1 -1
- package/dist/components/checkbox.min.js +2 -2
- 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 +1 -5
- 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 +19 -11
- 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 +1 -6
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +2 -2
- package/dist/components/emoji.css +1 -1
- package/dist/components/emoji.min.css +1 -1
- 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 +15 -8
- 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 +6 -6
- 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/menu.css +1 -1
- package/dist/components/menu.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 -7
- 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 +16 -8
- 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 +1 -1
- package/dist/components/popup.js +18 -12
- package/dist/components/popup.min.css +1 -1
- package/dist/components/popup.min.js +2 -2
- package/dist/components/progress.css +1 -1
- package/dist/components/progress.js +1 -6
- 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 -5
- 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 +1 -1
- package/dist/components/search.js +1 -5
- package/dist/components/search.min.css +1 -1
- package/dist/components/search.min.js +2 -2
- package/dist/components/segment.css +3 -2
- package/dist/components/segment.min.css +2 -2
- package/dist/components/shape.css +1 -1
- package/dist/components/shape.js +1 -5
- 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 +15 -8
- 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 +1 -1
- package/dist/components/slider.js +1 -6
- package/dist/components/slider.min.css +1 -1
- package/dist/components/slider.min.js +2 -2
- package/dist/components/state.js +23 -20
- 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 +17 -16
- 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 +14 -6
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +2 -2
- 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 +16 -8
- 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 +1 -5
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +2 -2
- package/dist/components/visibility.js +15 -6
- package/dist/components/visibility.min.js +2 -2
- package/dist/semantic.css +55 -54
- package/dist/semantic.js +215 -185
- 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 +13 -7
- package/src/definitions/behaviors/form.js +5 -5
- package/src/definitions/behaviors/state.js +22 -19
- package/src/definitions/behaviors/visibility.js +14 -5
- package/src/definitions/elements/segment.less +2 -1
- package/src/definitions/modules/accordion.js +0 -4
- package/src/definitions/modules/calendar.js +0 -5
- package/src/definitions/modules/checkbox.js +0 -4
- package/src/definitions/modules/dimmer.js +0 -4
- package/src/definitions/modules/dropdown.js +18 -10
- package/src/definitions/modules/embed.js +0 -5
- package/src/definitions/modules/flyout.js +14 -7
- package/src/definitions/modules/modal.js +13 -6
- package/src/definitions/modules/nag.js +15 -7
- package/src/definitions/modules/popup.js +17 -11
- package/src/definitions/modules/progress.js +0 -5
- package/src/definitions/modules/rating.js +0 -4
- package/src/definitions/modules/search.js +0 -4
- package/src/definitions/modules/shape.js +0 -4
- package/src/definitions/modules/sidebar.js +14 -7
- package/src/definitions/modules/slider.js +0 -5
- package/src/definitions/modules/sticky.js +16 -15
- package/src/definitions/modules/tab.js +13 -5
- package/src/definitions/modules/toast.js +15 -7
- package/src/definitions/modules/transition.js +0 -4
package/dist/semantic.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* # Fomantic UI - 2.9.3-beta.
|
2
|
+
* # Fomantic UI - 2.9.3-beta.2+824a375
|
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.3-beta.
|
12
|
+
* # Fomantic-UI 2.9.3-beta.2+824a375 - 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.3-beta.
|
466
|
+
* # Fomantic-UI 2.9.3-beta.2+824a375 - Form Validation
|
467
467
|
* https://github.com/fomantic/Fomantic-UI/
|
468
468
|
*
|
469
469
|
*
|
@@ -486,7 +486,6 @@
|
|
486
486
|
$.fn.form = function (parameters) {
|
487
487
|
var
|
488
488
|
$allModules = $(this),
|
489
|
-
moduleSelector = $allModules.selector || '',
|
490
489
|
|
491
490
|
time = Date.now(),
|
492
491
|
performance = [],
|
@@ -635,7 +634,11 @@
|
|
635
634
|
$(window).on('beforeunload' + eventNamespace, module.event.beforeUnload);
|
636
635
|
}
|
637
636
|
|
638
|
-
$field.on('change
|
637
|
+
$field.on('change' + eventNamespace
|
638
|
+
+ ' click' + eventNamespace
|
639
|
+
+ ' keyup' + eventNamespace
|
640
|
+
+ ' keydown' + eventNamespace
|
641
|
+
+ ' blur' + eventNamespace, function (e) {
|
639
642
|
module.determine.isDirty();
|
640
643
|
});
|
641
644
|
|
@@ -1937,9 +1940,6 @@
|
|
1937
1940
|
totalTime += data['Execution Time'];
|
1938
1941
|
});
|
1939
1942
|
title += ' ' + totalTime + 'ms';
|
1940
|
-
if (moduleSelector) {
|
1941
|
-
title += ' \'' + moduleSelector + '\'';
|
1942
|
-
}
|
1943
1943
|
if ($allModules.length > 1) {
|
1944
1944
|
title += ' (' + $allModules.length + ')';
|
1945
1945
|
}
|
@@ -2569,7 +2569,7 @@
|
|
2569
2569
|
})(jQuery, window, document);
|
2570
2570
|
|
2571
2571
|
/*!
|
2572
|
-
* # Fomantic-UI 2.9.3-beta.
|
2572
|
+
* # Fomantic-UI 2.9.3-beta.2+824a375 - Accordion
|
2573
2573
|
* https://github.com/fomantic/Fomantic-UI/
|
2574
2574
|
*
|
2575
2575
|
*
|
@@ -2615,7 +2615,6 @@
|
|
2615
2615
|
|
2616
2616
|
eventNamespace = '.' + namespace,
|
2617
2617
|
moduleNamespace = 'module-' + namespace,
|
2618
|
-
moduleSelector = $allModules.selector || '',
|
2619
2618
|
|
2620
2619
|
$module = $(this),
|
2621
2620
|
$title = $module.find(selector.title),
|
@@ -3022,9 +3021,6 @@
|
|
3022
3021
|
totalTime += data['Execution Time'];
|
3023
3022
|
});
|
3024
3023
|
title += ' ' + totalTime + 'ms';
|
3025
|
-
if (moduleSelector) {
|
3026
|
-
title += ' \'' + moduleSelector + '\'';
|
3027
|
-
}
|
3028
3024
|
if (performance.length > 0) {
|
3029
3025
|
console.groupCollapsed(title);
|
3030
3026
|
if (console.table) {
|
@@ -3167,7 +3163,7 @@
|
|
3167
3163
|
})(jQuery, window, document);
|
3168
3164
|
|
3169
3165
|
/*!
|
3170
|
-
* # Fomantic-UI 2.9.3-beta.
|
3166
|
+
* # Fomantic-UI 2.9.3-beta.2+824a375 - Calendar
|
3171
3167
|
* https://github.com/fomantic/Fomantic-UI/
|
3172
3168
|
*
|
3173
3169
|
*
|
@@ -3192,8 +3188,6 @@
|
|
3192
3188
|
$allModules = $(this),
|
3193
3189
|
$document = $(document),
|
3194
3190
|
|
3195
|
-
moduleSelector = $allModules.selector || '',
|
3196
|
-
|
3197
3191
|
time = Date.now(),
|
3198
3192
|
performance = [],
|
3199
3193
|
|
@@ -4662,9 +4656,6 @@
|
|
4662
4656
|
totalTime += data['Execution Time'];
|
4663
4657
|
});
|
4664
4658
|
title += ' ' + totalTime + 'ms';
|
4665
|
-
if (moduleSelector) {
|
4666
|
-
title += ' \'' + moduleSelector + '\'';
|
4667
|
-
}
|
4668
4659
|
if (performance.length > 0) {
|
4669
4660
|
console.groupCollapsed(title);
|
4670
4661
|
if (console.table) {
|
@@ -5183,7 +5174,7 @@
|
|
5183
5174
|
})(jQuery, window, document);
|
5184
5175
|
|
5185
5176
|
/*!
|
5186
|
-
* # Fomantic-UI 2.9.3-beta.
|
5177
|
+
* # Fomantic-UI 2.9.3-beta.2+824a375 - Checkbox
|
5187
5178
|
* https://github.com/fomantic/Fomantic-UI/
|
5188
5179
|
*
|
5189
5180
|
*
|
@@ -5206,7 +5197,6 @@
|
|
5206
5197
|
$.fn.checkbox = function (parameters) {
|
5207
5198
|
var
|
5208
5199
|
$allModules = $(this),
|
5209
|
-
moduleSelector = $allModules.selector || '',
|
5210
5200
|
|
5211
5201
|
time = Date.now(),
|
5212
5202
|
performance = [],
|
@@ -5921,9 +5911,6 @@
|
|
5921
5911
|
totalTime += data['Execution Time'];
|
5922
5912
|
});
|
5923
5913
|
title += ' ' + totalTime + 'ms';
|
5924
|
-
if (moduleSelector) {
|
5925
|
-
title += ' \'' + moduleSelector + '\'';
|
5926
|
-
}
|
5927
5914
|
if (performance.length > 0) {
|
5928
5915
|
console.groupCollapsed(title);
|
5929
5916
|
if (console.table) {
|
@@ -6068,7 +6055,7 @@
|
|
6068
6055
|
})(jQuery, window, document);
|
6069
6056
|
|
6070
6057
|
/*!
|
6071
|
-
* # Fomantic-UI 2.9.3-beta.
|
6058
|
+
* # Fomantic-UI 2.9.3-beta.2+824a375 - Dimmer
|
6072
6059
|
* https://github.com/fomantic/Fomantic-UI/
|
6073
6060
|
*
|
6074
6061
|
*
|
@@ -6115,7 +6102,6 @@
|
|
6115
6102
|
|
6116
6103
|
eventNamespace = '.' + namespace,
|
6117
6104
|
moduleNamespace = 'module-' + namespace,
|
6118
|
-
moduleSelector = $allModules.selector || '',
|
6119
6105
|
|
6120
6106
|
clickEvent = 'ontouchstart' in document.documentElement
|
6121
6107
|
? 'touchstart'
|
@@ -6611,9 +6597,6 @@
|
|
6611
6597
|
totalTime += data['Execution Time'];
|
6612
6598
|
});
|
6613
6599
|
title += ' ' + totalTime + 'ms';
|
6614
|
-
if (moduleSelector) {
|
6615
|
-
title += ' \'' + moduleSelector + '\'';
|
6616
|
-
}
|
6617
6600
|
if ($allModules.length > 1) {
|
6618
6601
|
title += ' (' + $allModules.length + ')';
|
6619
6602
|
}
|
@@ -6803,7 +6786,7 @@
|
|
6803
6786
|
})(jQuery, window, document);
|
6804
6787
|
|
6805
6788
|
/*!
|
6806
|
-
* # Fomantic-UI 2.9.3-beta.
|
6789
|
+
* # Fomantic-UI 2.9.3-beta.2+824a375 - Dropdown
|
6807
6790
|
* https://github.com/fomantic/Fomantic-UI/
|
6808
6791
|
*
|
6809
6792
|
*
|
@@ -6828,14 +6811,25 @@
|
|
6828
6811
|
$allModules = $(this),
|
6829
6812
|
$document = $(document),
|
6830
6813
|
|
6831
|
-
moduleSelector = $allModules.selector || '',
|
6832
|
-
|
6833
6814
|
time = Date.now(),
|
6834
6815
|
performance = [],
|
6835
6816
|
|
6836
6817
|
query = arguments[0],
|
6837
6818
|
methodInvoked = typeof query === 'string',
|
6838
6819
|
queryArguments = [].slice.call(arguments, 1),
|
6820
|
+
contextCheck = function (context, win) {
|
6821
|
+
var $context;
|
6822
|
+
if ([window, document].indexOf(context) >= 0) {
|
6823
|
+
$context = $(context);
|
6824
|
+
} else {
|
6825
|
+
$context = $(win.document).find(context);
|
6826
|
+
if ($context.length === 0) {
|
6827
|
+
$context = win.frameElement ? contextCheck(context, win.parent) : window;
|
6828
|
+
}
|
6829
|
+
}
|
6830
|
+
|
6831
|
+
return $context;
|
6832
|
+
},
|
6839
6833
|
returnedValue
|
6840
6834
|
;
|
6841
6835
|
|
@@ -6860,7 +6854,7 @@
|
|
6860
6854
|
moduleNamespace = 'module-' + namespace,
|
6861
6855
|
|
6862
6856
|
$module = $(this),
|
6863
|
-
$context =
|
6857
|
+
$context = contextCheck(settings.context, window),
|
6864
6858
|
$text = $module.find(selector.text),
|
6865
6859
|
$search = $module.find(selector.search),
|
6866
6860
|
$sizer = $module.find(selector.sizer),
|
@@ -8869,7 +8863,7 @@
|
|
8869
8863
|
values.push({
|
8870
8864
|
name: name,
|
8871
8865
|
value: value,
|
8872
|
-
text: text,
|
8866
|
+
text: module.escape.htmlEntities(text, true),
|
8873
8867
|
disabled: disabled,
|
8874
8868
|
});
|
8875
8869
|
}
|
@@ -10252,7 +10246,7 @@
|
|
10252
10246
|
selectChanged = false
|
10253
10247
|
;
|
10254
10248
|
$.each(mutations, function (index, mutation) {
|
10255
|
-
if ($(mutation.target).is('
|
10249
|
+
if ($(mutation.target).is('option, optgroup') || $(mutation.addedNodes).is('select') || ($(mutation.target).is('select') && mutation.type !== 'attributes')) {
|
10256
10250
|
selectChanged = true;
|
10257
10251
|
|
10258
10252
|
return false;
|
@@ -10561,7 +10555,7 @@
|
|
10561
10555
|
|
10562
10556
|
return text.replace(regExp.escape, '\\$&');
|
10563
10557
|
},
|
10564
|
-
htmlEntities: function (string) {
|
10558
|
+
htmlEntities: function (string, forceAmpersand) {
|
10565
10559
|
var
|
10566
10560
|
badChars = /["'<>`]/g,
|
10567
10561
|
shouldEscape = /["&'<>`]/,
|
@@ -10577,7 +10571,7 @@
|
|
10577
10571
|
}
|
10578
10572
|
;
|
10579
10573
|
if (shouldEscape.test(string)) {
|
10580
|
-
string = string.replace(/&(?![\d#a-z]{1,12};)/gi, '&');
|
10574
|
+
string = string.replace(forceAmpersand ? /&/g : /&(?![\d#a-z]{1,12};)/gi, '&');
|
10581
10575
|
|
10582
10576
|
return string.replace(badChars, escapedChar);
|
10583
10577
|
}
|
@@ -10668,9 +10662,6 @@
|
|
10668
10662
|
totalTime += data['Execution Time'];
|
10669
10663
|
});
|
10670
10664
|
title += ' ' + totalTime + 'ms';
|
10671
|
-
if (moduleSelector) {
|
10672
|
-
title += ' \'' + moduleSelector + '\'';
|
10673
|
-
}
|
10674
10665
|
if (performance.length > 0) {
|
10675
10666
|
console.groupCollapsed(title);
|
10676
10667
|
if (console.table) {
|
@@ -11138,7 +11129,7 @@
|
|
11138
11129
|
})(jQuery, window, document);
|
11139
11130
|
|
11140
11131
|
/*!
|
11141
|
-
* # Fomantic-UI 2.9.3-beta.
|
11132
|
+
* # Fomantic-UI 2.9.3-beta.2+824a375 - Embed
|
11142
11133
|
* https://github.com/fomantic/Fomantic-UI/
|
11143
11134
|
*
|
11144
11135
|
*
|
@@ -11162,8 +11153,6 @@
|
|
11162
11153
|
var
|
11163
11154
|
$allModules = $(this),
|
11164
11155
|
|
11165
|
-
moduleSelector = $allModules.selector || '',
|
11166
|
-
|
11167
11156
|
time = Date.now(),
|
11168
11157
|
performance = [],
|
11169
11158
|
|
@@ -11594,9 +11583,6 @@
|
|
11594
11583
|
totalTime += data['Execution Time'];
|
11595
11584
|
});
|
11596
11585
|
title += ' ' + totalTime + 'ms';
|
11597
|
-
if (moduleSelector) {
|
11598
|
-
title += ' \'' + moduleSelector + '\'';
|
11599
|
-
}
|
11600
11586
|
if ($allModules.length > 1) {
|
11601
11587
|
title += ' (' + $allModules.length + ')';
|
11602
11588
|
}
|
@@ -11822,7 +11808,7 @@
|
|
11822
11808
|
})(jQuery, window, document);
|
11823
11809
|
|
11824
11810
|
/*!
|
11825
|
-
* # Fomantic-UI 2.9.3-beta.
|
11811
|
+
* # Fomantic-UI 2.9.3-beta.2+824a375 - Flyout
|
11826
11812
|
* https://github.com/fomantic/Fomantic-UI/
|
11827
11813
|
*
|
11828
11814
|
*
|
@@ -11851,15 +11837,25 @@
|
|
11851
11837
|
$head = $('head'),
|
11852
11838
|
$body = $('body'),
|
11853
11839
|
|
11854
|
-
moduleSelector = $allModules.selector || '',
|
11855
|
-
|
11856
11840
|
time = Date.now(),
|
11857
11841
|
performance = [],
|
11858
11842
|
|
11859
11843
|
query = arguments[0],
|
11860
11844
|
methodInvoked = typeof query === 'string',
|
11861
11845
|
queryArguments = [].slice.call(arguments, 1),
|
11846
|
+
contextCheck = function (context, win) {
|
11847
|
+
var $context;
|
11848
|
+
if ([window, document].indexOf(context) >= 0) {
|
11849
|
+
$context = $body;
|
11850
|
+
} else {
|
11851
|
+
$context = $(win.document).find(context);
|
11852
|
+
if ($context.length === 0) {
|
11853
|
+
$context = win.frameElement ? contextCheck(context, win.parent) : $body;
|
11854
|
+
}
|
11855
|
+
}
|
11862
11856
|
|
11857
|
+
return $context;
|
11858
|
+
},
|
11863
11859
|
returnedValue
|
11864
11860
|
;
|
11865
11861
|
|
@@ -11880,7 +11876,7 @@
|
|
11880
11876
|
moduleNamespace = 'module-' + namespace,
|
11881
11877
|
|
11882
11878
|
$module = $(this),
|
11883
|
-
$context =
|
11879
|
+
$context = contextCheck(settings.context, window),
|
11884
11880
|
$closeIcon = $module.find(selector.close),
|
11885
11881
|
$inputs,
|
11886
11882
|
$focusedElement,
|
@@ -12350,7 +12346,7 @@
|
|
12350
12346
|
},
|
12351
12347
|
refresh: function () {
|
12352
12348
|
module.verbose('Refreshing selector cache');
|
12353
|
-
$context =
|
12349
|
+
$context = contextCheck(settings.context, window);
|
12354
12350
|
module.refreshFlyouts();
|
12355
12351
|
$pusher = $context.children(selector.pusher);
|
12356
12352
|
module.clear.cache();
|
@@ -13067,9 +13063,6 @@
|
|
13067
13063
|
totalTime += data['Execution Time'];
|
13068
13064
|
});
|
13069
13065
|
title += ' ' + totalTime + 'ms';
|
13070
|
-
if (moduleSelector) {
|
13071
|
-
title += ' \'' + moduleSelector + '\'';
|
13072
|
-
}
|
13073
13066
|
if (performance.length > 0) {
|
13074
13067
|
console.groupCollapsed(title);
|
13075
13068
|
if (console.table) {
|
@@ -13390,7 +13383,7 @@
|
|
13390
13383
|
})(jQuery, window, document);
|
13391
13384
|
|
13392
13385
|
/*!
|
13393
|
-
* # Fomantic-UI 2.9.3-beta.
|
13386
|
+
* # Fomantic-UI 2.9.3-beta.2+824a375 - Modal
|
13394
13387
|
* https://github.com/fomantic/Fomantic-UI/
|
13395
13388
|
*
|
13396
13389
|
*
|
@@ -13417,15 +13410,25 @@
|
|
13417
13410
|
$document = $(document),
|
13418
13411
|
$body = $('body'),
|
13419
13412
|
|
13420
|
-
moduleSelector = $allModules.selector || '',
|
13421
|
-
|
13422
13413
|
time = Date.now(),
|
13423
13414
|
performance = [],
|
13424
13415
|
|
13425
13416
|
query = arguments[0],
|
13426
13417
|
methodInvoked = typeof query === 'string',
|
13427
13418
|
queryArguments = [].slice.call(arguments, 1),
|
13419
|
+
contextCheck = function (context, win) {
|
13420
|
+
var $context;
|
13421
|
+
if ([window, document].indexOf(context) >= 0) {
|
13422
|
+
$context = $body;
|
13423
|
+
} else {
|
13424
|
+
$context = $(win.document).find(context);
|
13425
|
+
if ($context.length === 0) {
|
13426
|
+
$context = win.frameElement ? contextCheck(context, win.parent) : $body;
|
13427
|
+
}
|
13428
|
+
}
|
13428
13429
|
|
13430
|
+
return $context;
|
13431
|
+
},
|
13429
13432
|
returnedValue
|
13430
13433
|
;
|
13431
13434
|
|
@@ -13445,7 +13448,7 @@
|
|
13445
13448
|
moduleNamespace = 'module-' + namespace,
|
13446
13449
|
|
13447
13450
|
$module = $(this),
|
13448
|
-
$context =
|
13451
|
+
$context = contextCheck(settings.context, window),
|
13449
13452
|
isBody = $context[0] === $body[0],
|
13450
13453
|
$closeIcon = $module.find(selector.closeIcon),
|
13451
13454
|
$inputs,
|
@@ -14662,9 +14665,6 @@
|
|
14662
14665
|
totalTime += data['Execution Time'];
|
14663
14666
|
});
|
14664
14667
|
title += ' ' + totalTime + 'ms';
|
14665
|
-
if (moduleSelector) {
|
14666
|
-
title += ' \'' + moduleSelector + '\'';
|
14667
|
-
}
|
14668
14668
|
if (performance.length > 0) {
|
14669
14669
|
console.groupCollapsed(title);
|
14670
14670
|
if (console.table) {
|
@@ -15012,7 +15012,7 @@
|
|
15012
15012
|
})(jQuery, window, document);
|
15013
15013
|
|
15014
15014
|
/*!
|
15015
|
-
* # Fomantic-UI 2.9.3-beta.
|
15015
|
+
* # Fomantic-UI 2.9.3-beta.2+824a375 - Nag
|
15016
15016
|
* https://github.com/fomantic/Fomantic-UI/
|
15017
15017
|
*
|
15018
15018
|
*
|
@@ -15035,7 +15035,7 @@
|
|
15035
15035
|
$.fn.nag = function (parameters) {
|
15036
15036
|
var
|
15037
15037
|
$allModules = $(this),
|
15038
|
-
|
15038
|
+
$body = $('body'),
|
15039
15039
|
|
15040
15040
|
time = Date.now(),
|
15041
15041
|
performance = [],
|
@@ -15043,6 +15043,19 @@
|
|
15043
15043
|
query = arguments[0],
|
15044
15044
|
methodInvoked = typeof query === 'string',
|
15045
15045
|
queryArguments = [].slice.call(arguments, 1),
|
15046
|
+
contextCheck = function (context, win) {
|
15047
|
+
var $context;
|
15048
|
+
if ([window, document].indexOf(context) >= 0) {
|
15049
|
+
$context = $(context);
|
15050
|
+
} else {
|
15051
|
+
$context = $(win.document).find(context);
|
15052
|
+
if ($context.length === 0) {
|
15053
|
+
$context = win.frameElement ? contextCheck(context, win.parent) : $body;
|
15054
|
+
}
|
15055
|
+
}
|
15056
|
+
|
15057
|
+
return $context;
|
15058
|
+
},
|
15046
15059
|
returnedValue
|
15047
15060
|
;
|
15048
15061
|
$allModules.each(function () {
|
@@ -15060,9 +15073,7 @@
|
|
15060
15073
|
|
15061
15074
|
$module = $(this),
|
15062
15075
|
|
15063
|
-
$context = settings.context
|
15064
|
-
? ([window, document].indexOf(settings.context) < 0 ? $(document).find(settings.context) : $(settings.context))
|
15065
|
-
: $('body'),
|
15076
|
+
$context = settings.context ? contextCheck(settings.context, window) : $body,
|
15066
15077
|
|
15067
15078
|
element = this,
|
15068
15079
|
instance = $module.data(moduleNamespace),
|
@@ -15392,9 +15403,6 @@
|
|
15392
15403
|
totalTime += data['Execution Time'];
|
15393
15404
|
});
|
15394
15405
|
title += ' ' + totalTime + 'ms';
|
15395
|
-
if (moduleSelector) {
|
15396
|
-
title += ' \'' + moduleSelector + '\'';
|
15397
|
-
}
|
15398
15406
|
if (performance.length > 0) {
|
15399
15407
|
console.groupCollapsed(title);
|
15400
15408
|
if (console.table) {
|
@@ -15565,7 +15573,7 @@
|
|
15565
15573
|
})(jQuery, window, document);
|
15566
15574
|
|
15567
15575
|
/*!
|
15568
|
-
* # Fomantic-UI 2.9.3-beta.
|
15576
|
+
* # Fomantic-UI 2.9.3-beta.2+824a375 - Popup
|
15569
15577
|
* https://github.com/fomantic/Fomantic-UI/
|
15570
15578
|
*
|
15571
15579
|
*
|
@@ -15592,8 +15600,6 @@
|
|
15592
15600
|
$window = $(window),
|
15593
15601
|
$body = $('body'),
|
15594
15602
|
|
15595
|
-
moduleSelector = $allModules.selector || '',
|
15596
|
-
|
15597
15603
|
clickEvent = 'ontouchstart' in document.documentElement
|
15598
15604
|
? 'touchstart'
|
15599
15605
|
: 'click',
|
@@ -15604,6 +15610,19 @@
|
|
15604
15610
|
query = arguments[0],
|
15605
15611
|
methodInvoked = typeof query === 'string',
|
15606
15612
|
queryArguments = [].slice.call(arguments, 1),
|
15613
|
+
contextCheck = function (context, win) {
|
15614
|
+
var $context;
|
15615
|
+
if ([window, document].indexOf(context) >= 0) {
|
15616
|
+
$context = $(context);
|
15617
|
+
} else {
|
15618
|
+
$context = $(win.document).find(context);
|
15619
|
+
if ($context.length === 0) {
|
15620
|
+
$context = win.frameElement ? contextCheck(context, win.parent) : $body;
|
15621
|
+
}
|
15622
|
+
}
|
15623
|
+
|
15624
|
+
return $context;
|
15625
|
+
},
|
15607
15626
|
|
15608
15627
|
returnedValue
|
15609
15628
|
;
|
@@ -15623,12 +15642,10 @@
|
|
15623
15642
|
moduleNamespace = 'module-' + namespace,
|
15624
15643
|
|
15625
15644
|
$module = $(this),
|
15626
|
-
$context =
|
15627
|
-
$scrollContext =
|
15628
|
-
$boundary =
|
15629
|
-
$target = settings.target
|
15630
|
-
? ([window, document].indexOf(settings.target) < 0 ? $document.find(settings.target) : $(settings.target))
|
15631
|
-
: $module,
|
15645
|
+
$context = contextCheck(settings.context, window),
|
15646
|
+
$scrollContext = contextCheck(settings.scrollContext, window),
|
15647
|
+
$boundary = contextCheck(settings.boundary, window),
|
15648
|
+
$target = settings.target ? contextCheck(settings.target, window) : $module,
|
15632
15649
|
|
15633
15650
|
$popup,
|
15634
15651
|
$offsetParent,
|
@@ -16812,9 +16829,6 @@
|
|
16812
16829
|
totalTime += data['Execution Time'];
|
16813
16830
|
});
|
16814
16831
|
title += ' ' + totalTime + 'ms';
|
16815
|
-
if (moduleSelector) {
|
16816
|
-
title += ' \'' + moduleSelector + '\'';
|
16817
|
-
}
|
16818
16832
|
if (performance.length > 0) {
|
16819
16833
|
console.groupCollapsed(title);
|
16820
16834
|
if (console.table) {
|
@@ -17113,7 +17127,7 @@
|
|
17113
17127
|
})(jQuery, window, document);
|
17114
17128
|
|
17115
17129
|
/*!
|
17116
|
-
* # Fomantic-UI 2.9.3-beta.
|
17130
|
+
* # Fomantic-UI 2.9.3-beta.2+824a375 - Progress
|
17117
17131
|
* https://github.com/fomantic/Fomantic-UI/
|
17118
17132
|
*
|
17119
17133
|
*
|
@@ -17137,8 +17151,6 @@
|
|
17137
17151
|
var
|
17138
17152
|
$allModules = $(this),
|
17139
17153
|
|
17140
|
-
moduleSelector = $allModules.selector || '',
|
17141
|
-
|
17142
17154
|
time = Date.now(),
|
17143
17155
|
performance = [],
|
17144
17156
|
|
@@ -17920,9 +17932,6 @@
|
|
17920
17932
|
totalTime += data['Execution Time'];
|
17921
17933
|
});
|
17922
17934
|
title += ' ' + totalTime + 'ms';
|
17923
|
-
if (moduleSelector) {
|
17924
|
-
title += ' \'' + moduleSelector + '\'';
|
17925
|
-
}
|
17926
17935
|
if (performance.length > 0) {
|
17927
17936
|
console.groupCollapsed(title);
|
17928
17937
|
if (console.table) {
|
@@ -18096,7 +18105,7 @@
|
|
18096
18105
|
})(jQuery, window, document);
|
18097
18106
|
|
18098
18107
|
/*!
|
18099
|
-
* # Fomantic-UI 2.9.3-beta.
|
18108
|
+
* # Fomantic-UI 2.9.3-beta.2+824a375 - Slider
|
18100
18109
|
* https://github.com/fomantic/Fomantic-UI/
|
18101
18110
|
*
|
18102
18111
|
*
|
@@ -18122,8 +18131,6 @@
|
|
18122
18131
|
$document = $(document),
|
18123
18132
|
$window = $(window),
|
18124
18133
|
|
18125
|
-
moduleSelector = $allModules.selector || '',
|
18126
|
-
|
18127
18134
|
time = Date.now(),
|
18128
18135
|
performance = [],
|
18129
18136
|
|
@@ -19288,9 +19295,6 @@
|
|
19288
19295
|
totalTime += data['Execution Time'];
|
19289
19296
|
});
|
19290
19297
|
title += ' ' + totalTime + 'ms';
|
19291
|
-
if (moduleSelector) {
|
19292
|
-
title += ' \'' + moduleSelector + '\'';
|
19293
|
-
}
|
19294
19298
|
if (performance.length > 0) {
|
19295
19299
|
console.groupCollapsed(title);
|
19296
19300
|
if (console.table) {
|
@@ -19449,7 +19453,7 @@
|
|
19449
19453
|
})(jQuery, window, document);
|
19450
19454
|
|
19451
19455
|
/*!
|
19452
|
-
* # Fomantic-UI 2.9.3-beta.
|
19456
|
+
* # Fomantic-UI 2.9.3-beta.2+824a375 - Rating
|
19453
19457
|
* https://github.com/fomantic/Fomantic-UI/
|
19454
19458
|
*
|
19455
19459
|
*
|
@@ -19472,7 +19476,6 @@
|
|
19472
19476
|
$.fn.rating = function (parameters) {
|
19473
19477
|
var
|
19474
19478
|
$allModules = $(this),
|
19475
|
-
moduleSelector = $allModules.selector || '',
|
19476
19479
|
|
19477
19480
|
time = Date.now(),
|
19478
19481
|
performance = [],
|
@@ -19832,9 +19835,6 @@
|
|
19832
19835
|
totalTime += data['Execution Time'];
|
19833
19836
|
});
|
19834
19837
|
title += ' ' + totalTime + 'ms';
|
19835
|
-
if (moduleSelector) {
|
19836
|
-
title += ' \'' + moduleSelector + '\'';
|
19837
|
-
}
|
19838
19838
|
if ($allModules.length > 1) {
|
19839
19839
|
title += ' (' + $allModules.length + ')';
|
19840
19840
|
}
|
@@ -19992,7 +19992,7 @@
|
|
19992
19992
|
})(jQuery, window, document);
|
19993
19993
|
|
19994
19994
|
/*!
|
19995
|
-
* # Fomantic-UI 2.9.3-beta.
|
19995
|
+
* # Fomantic-UI 2.9.3-beta.2+824a375 - Search
|
19996
19996
|
* https://github.com/fomantic/Fomantic-UI/
|
19997
19997
|
*
|
19998
19998
|
*
|
@@ -20015,7 +20015,6 @@
|
|
20015
20015
|
$.fn.search = function (parameters) {
|
20016
20016
|
var
|
20017
20017
|
$allModules = $(this),
|
20018
|
-
moduleSelector = $allModules.selector || '',
|
20019
20018
|
|
20020
20019
|
time = Date.now(),
|
20021
20020
|
performance = [],
|
@@ -21177,9 +21176,6 @@
|
|
21177
21176
|
totalTime += data['Execution Time'];
|
21178
21177
|
});
|
21179
21178
|
title += ' ' + totalTime + 'ms';
|
21180
|
-
if (moduleSelector) {
|
21181
|
-
title += ' \'' + moduleSelector + '\'';
|
21182
|
-
}
|
21183
21179
|
if ($allModules.length > 1) {
|
21184
21180
|
title += ' (' + $allModules.length + ')';
|
21185
21181
|
}
|
@@ -21573,7 +21569,7 @@
|
|
21573
21569
|
})(jQuery, window, document);
|
21574
21570
|
|
21575
21571
|
/*!
|
21576
|
-
* # Fomantic-UI 2.9.3-beta.
|
21572
|
+
* # Fomantic-UI 2.9.3-beta.2+824a375 - Shape
|
21577
21573
|
* https://github.com/fomantic/Fomantic-UI/
|
21578
21574
|
*
|
21579
21575
|
*
|
@@ -21609,7 +21605,6 @@
|
|
21609
21605
|
|
21610
21606
|
$allModules.each(function () {
|
21611
21607
|
var
|
21612
|
-
moduleSelector = $allModules.selector || '',
|
21613
21608
|
settings = $.isPlainObject(parameters)
|
21614
21609
|
? $.extend(true, {}, $.fn.shape.settings, parameters)
|
21615
21610
|
: $.extend({}, $.fn.shape.settings),
|
@@ -22211,9 +22206,6 @@
|
|
22211
22206
|
totalTime += data['Execution Time'];
|
22212
22207
|
});
|
22213
22208
|
title += ' ' + totalTime + 'ms';
|
22214
|
-
if (moduleSelector) {
|
22215
|
-
title += ' \'' + moduleSelector + '\'';
|
22216
|
-
}
|
22217
22209
|
if ($allModules.length > 1) {
|
22218
22210
|
title += ' (' + $allModules.length + ')';
|
22219
22211
|
}
|
@@ -22373,7 +22365,7 @@
|
|
22373
22365
|
})(jQuery, window, document);
|
22374
22366
|
|
22375
22367
|
/*!
|
22376
|
-
* # Fomantic-UI 2.9.3-beta.
|
22368
|
+
* # Fomantic-UI 2.9.3-beta.2+824a375 - Sidebar
|
22377
22369
|
* https://github.com/fomantic/Fomantic-UI/
|
22378
22370
|
*
|
22379
22371
|
*
|
@@ -22402,15 +22394,25 @@
|
|
22402
22394
|
$html = $('html'),
|
22403
22395
|
$head = $('head'),
|
22404
22396
|
|
22405
|
-
moduleSelector = $allModules.selector || '',
|
22406
|
-
|
22407
22397
|
time = Date.now(),
|
22408
22398
|
performance = [],
|
22409
22399
|
|
22410
22400
|
query = arguments[0],
|
22411
22401
|
methodInvoked = typeof query === 'string',
|
22412
22402
|
queryArguments = [].slice.call(arguments, 1),
|
22403
|
+
contextCheck = function (context, win) {
|
22404
|
+
var $context;
|
22405
|
+
if ([window, document].indexOf(context) >= 0) {
|
22406
|
+
$context = $body;
|
22407
|
+
} else {
|
22408
|
+
$context = $(win.document).find(context);
|
22409
|
+
if ($context.length === 0) {
|
22410
|
+
$context = win.frameElement ? contextCheck(context, win.parent) : $body;
|
22411
|
+
}
|
22412
|
+
}
|
22413
22413
|
|
22414
|
+
return $context;
|
22415
|
+
},
|
22414
22416
|
returnedValue;
|
22415
22417
|
|
22416
22418
|
$allModules.each(function () {
|
@@ -22429,7 +22431,7 @@
|
|
22429
22431
|
moduleNamespace = 'module-' + namespace,
|
22430
22432
|
|
22431
22433
|
$module = $(this),
|
22432
|
-
$context =
|
22434
|
+
$context = contextCheck(settings.context, window),
|
22433
22435
|
isBody = $context[0] === $body[0],
|
22434
22436
|
|
22435
22437
|
$sidebars = $module.children(selector.sidebar),
|
@@ -22651,7 +22653,7 @@
|
|
22651
22653
|
|
22652
22654
|
refresh: function () {
|
22653
22655
|
module.verbose('Refreshing selector cache');
|
22654
|
-
$context =
|
22656
|
+
$context = contextCheck(settings.context, window);
|
22655
22657
|
module.refreshSidebars();
|
22656
22658
|
$pusher = $context.children(selector.pusher);
|
22657
22659
|
$fixed = $context.children(selector.fixed);
|
@@ -23275,9 +23277,6 @@
|
|
23275
23277
|
totalTime += data['Execution Time'];
|
23276
23278
|
});
|
23277
23279
|
title += ' ' + totalTime + 'ms';
|
23278
|
-
if (moduleSelector) {
|
23279
|
-
title += ' \'' + moduleSelector + '\'';
|
23280
|
-
}
|
23281
23280
|
if (performance.length > 0) {
|
23282
23281
|
console.groupCollapsed(title);
|
23283
23282
|
if (console.table) {
|
@@ -23449,7 +23448,7 @@
|
|
23449
23448
|
})(jQuery, window, document);
|
23450
23449
|
|
23451
23450
|
/*!
|
23452
|
-
* # Fomantic-UI 2.9.3-beta.
|
23451
|
+
* # Fomantic-UI 2.9.3-beta.2+824a375 - Sticky
|
23453
23452
|
* https://github.com/fomantic/Fomantic-UI/
|
23454
23453
|
*
|
23455
23454
|
*
|
@@ -23473,7 +23472,6 @@
|
|
23473
23472
|
var
|
23474
23473
|
$allModules = $(this),
|
23475
23474
|
$document = $(document),
|
23476
|
-
moduleSelector = $allModules.selector || '',
|
23477
23475
|
|
23478
23476
|
time = Date.now(),
|
23479
23477
|
performance = [],
|
@@ -23481,6 +23479,19 @@
|
|
23481
23479
|
query = arguments[0],
|
23482
23480
|
methodInvoked = typeof query === 'string',
|
23483
23481
|
queryArguments = [].slice.call(arguments, 1),
|
23482
|
+
contextCheck = function (context, win) {
|
23483
|
+
var $context;
|
23484
|
+
if ([window, document].indexOf(context) >= 0) {
|
23485
|
+
$context = $(context);
|
23486
|
+
} else {
|
23487
|
+
$context = $(win.document).find(context);
|
23488
|
+
if ($context.length === 0) {
|
23489
|
+
$context = win.frameElement ? contextCheck(context, win.parent) : window;
|
23490
|
+
}
|
23491
|
+
}
|
23492
|
+
|
23493
|
+
return $context;
|
23494
|
+
},
|
23484
23495
|
returnedValue
|
23485
23496
|
;
|
23486
23497
|
|
@@ -23499,7 +23510,7 @@
|
|
23499
23510
|
|
23500
23511
|
$module = $(this),
|
23501
23512
|
$window = $(window),
|
23502
|
-
$scroll =
|
23513
|
+
$scroll = contextCheck(settings.scrollContext, window),
|
23503
23514
|
$container,
|
23504
23515
|
$context,
|
23505
23516
|
|
@@ -23577,19 +23588,11 @@
|
|
23577
23588
|
},
|
23578
23589
|
|
23579
23590
|
determineContainer: function () {
|
23580
|
-
|
23581
|
-
$container = [window, document].indexOf(settings.container) < 0 ? $document.find(settings.container) : $(settings.container);
|
23582
|
-
} else {
|
23583
|
-
$container = $module.offsetParent();
|
23584
|
-
}
|
23591
|
+
$container = settings.container ? contextCheck(settings.container, window) : $module.offsetParent();
|
23585
23592
|
},
|
23586
23593
|
|
23587
23594
|
determineContext: function () {
|
23588
|
-
|
23589
|
-
$context = [window, document].indexOf(settings.context) < 0 ? $document.find(settings.context) : $(settings.context);
|
23590
|
-
} else {
|
23591
|
-
$context = $container;
|
23592
|
-
}
|
23595
|
+
$context = settings.context ? contextCheck(settings.context, window) : $container;
|
23593
23596
|
if ($context.length === 0) {
|
23594
23597
|
module.error(error.invalidContext, settings.context, $module);
|
23595
23598
|
}
|
@@ -24205,9 +24208,6 @@
|
|
24205
24208
|
totalTime += data['Execution Time'];
|
24206
24209
|
});
|
24207
24210
|
title += ' ' + totalTime + 'ms';
|
24208
|
-
if (moduleSelector) {
|
24209
|
-
title += ' \'' + moduleSelector + '\'';
|
24210
|
-
}
|
24211
24211
|
if (performance.length > 0) {
|
24212
24212
|
console.groupCollapsed(title);
|
24213
24213
|
if (console.table) {
|
@@ -24364,7 +24364,7 @@
|
|
24364
24364
|
})(jQuery, window, document);
|
24365
24365
|
|
24366
24366
|
/*!
|
24367
|
-
* # Fomantic-UI 2.9.3-beta.
|
24367
|
+
* # Fomantic-UI 2.9.3-beta.2+824a375 - Tab
|
24368
24368
|
* https://github.com/fomantic/Fomantic-UI/
|
24369
24369
|
*
|
24370
24370
|
*
|
@@ -24395,14 +24395,25 @@
|
|
24395
24395
|
? $(window)
|
24396
24396
|
: $(this),
|
24397
24397
|
$document = $(document),
|
24398
|
-
moduleSelector = $allModules.selector || '',
|
24399
24398
|
time = Date.now(),
|
24400
24399
|
performance = [],
|
24401
24400
|
|
24402
24401
|
query = arguments[0],
|
24403
24402
|
methodInvoked = typeof query === 'string',
|
24404
24403
|
queryArguments = [].slice.call(arguments, 1),
|
24404
|
+
contextCheck = function (context, win) {
|
24405
|
+
var $context;
|
24406
|
+
if ([window, document].indexOf(context) >= 0) {
|
24407
|
+
$context = $(context);
|
24408
|
+
} else {
|
24409
|
+
$context = $(win.document).find(context);
|
24410
|
+
if ($context.length === 0) {
|
24411
|
+
$context = win.frameElement ? contextCheck(context, win.parent) : window;
|
24412
|
+
}
|
24413
|
+
}
|
24405
24414
|
|
24415
|
+
return $context;
|
24416
|
+
},
|
24406
24417
|
initializedHistory = false,
|
24407
24418
|
returnedValue
|
24408
24419
|
;
|
@@ -24517,7 +24528,7 @@
|
|
24517
24528
|
$context = $reference.parent();
|
24518
24529
|
module.verbose('Determined parent element for creating context', $context);
|
24519
24530
|
} else if (settings.context) {
|
24520
|
-
$context =
|
24531
|
+
$context = contextCheck(settings.context, window);
|
24521
24532
|
module.verbose('Using selector for tab context', settings.context, $context);
|
24522
24533
|
} else {
|
24523
24534
|
$context = $('body');
|
@@ -25153,9 +25164,6 @@
|
|
25153
25164
|
totalTime += data['Execution Time'];
|
25154
25165
|
});
|
25155
25166
|
title += ' ' + totalTime + 'ms';
|
25156
|
-
if (moduleSelector) {
|
25157
|
-
title += ' \'' + moduleSelector + '\'';
|
25158
|
-
}
|
25159
25167
|
if (performance.length > 0) {
|
25160
25168
|
console.groupCollapsed(title);
|
25161
25169
|
if (console.table) {
|
@@ -25320,7 +25328,7 @@
|
|
25320
25328
|
})(jQuery, window, document);
|
25321
25329
|
|
25322
25330
|
/*!
|
25323
|
-
* # Fomantic-UI 2.9.3-beta.
|
25331
|
+
* # Fomantic-UI 2.9.3-beta.2+824a375 - Toast
|
25324
25332
|
* https://github.com/fomantic/Fomantic-UI/
|
25325
25333
|
*
|
25326
25334
|
*
|
@@ -25343,7 +25351,7 @@
|
|
25343
25351
|
$.fn.toast = function (parameters) {
|
25344
25352
|
var
|
25345
25353
|
$allModules = $(this),
|
25346
|
-
|
25354
|
+
$body = $('body'),
|
25347
25355
|
|
25348
25356
|
time = Date.now(),
|
25349
25357
|
performance = [],
|
@@ -25351,6 +25359,19 @@
|
|
25351
25359
|
query = arguments[0],
|
25352
25360
|
methodInvoked = typeof query === 'string',
|
25353
25361
|
queryArguments = [].slice.call(arguments, 1),
|
25362
|
+
contextCheck = function (context, win) {
|
25363
|
+
var $context;
|
25364
|
+
if ([window, document].indexOf(context) >= 0) {
|
25365
|
+
$context = $(context);
|
25366
|
+
} else {
|
25367
|
+
$context = $(win.document).find(context);
|
25368
|
+
if ($context.length === 0) {
|
25369
|
+
$context = win.frameElement ? contextCheck(context, win.parent) : $body;
|
25370
|
+
}
|
25371
|
+
}
|
25372
|
+
|
25373
|
+
return $context;
|
25374
|
+
},
|
25354
25375
|
returnedValue
|
25355
25376
|
;
|
25356
25377
|
$allModules.each(function () {
|
@@ -25376,9 +25397,7 @@
|
|
25376
25397
|
$progressBar,
|
25377
25398
|
$animationObject,
|
25378
25399
|
$close,
|
25379
|
-
$context = settings.context
|
25380
|
-
? ([window, document].indexOf(settings.context) < 0 ? $(document).find(settings.context) : $(settings.context))
|
25381
|
-
: $('body'),
|
25400
|
+
$context = settings.context ? contextCheck(settings.context, window) : $body,
|
25382
25401
|
|
25383
25402
|
isToastComponent = $module.hasClass('toast') || $module.hasClass('message') || $module.hasClass('card'),
|
25384
25403
|
|
@@ -26025,9 +26044,6 @@
|
|
26025
26044
|
totalTime += data['Execution Time'];
|
26026
26045
|
});
|
26027
26046
|
title += ' ' + totalTime + 'ms';
|
26028
|
-
if (moduleSelector) {
|
26029
|
-
title += ' \'' + moduleSelector + '\'';
|
26030
|
-
}
|
26031
26047
|
if (performance.length > 0) {
|
26032
26048
|
console.groupCollapsed(title);
|
26033
26049
|
if (console.table) {
|
@@ -26273,7 +26289,7 @@
|
|
26273
26289
|
})(jQuery, window, document);
|
26274
26290
|
|
26275
26291
|
/*!
|
26276
|
-
* # Fomantic-UI 2.9.3-beta.
|
26292
|
+
* # Fomantic-UI 2.9.3-beta.2+824a375 - Transition
|
26277
26293
|
* https://github.com/fomantic/Fomantic-UI/
|
26278
26294
|
*
|
26279
26295
|
*
|
@@ -26296,7 +26312,6 @@
|
|
26296
26312
|
$.fn.transition = function () {
|
26297
26313
|
var
|
26298
26314
|
$allModules = $(this),
|
26299
|
-
moduleSelector = $allModules.selector || '',
|
26300
26315
|
|
26301
26316
|
time = Date.now(),
|
26302
26317
|
performance = [],
|
@@ -27137,9 +27152,6 @@
|
|
27137
27152
|
totalTime += data['Execution Time'];
|
27138
27153
|
});
|
27139
27154
|
title += ' ' + totalTime + 'ms';
|
27140
|
-
if (moduleSelector) {
|
27141
|
-
title += ' \'' + moduleSelector + '\'';
|
27142
|
-
}
|
27143
27155
|
if ($allModules.length > 1) {
|
27144
27156
|
title += ' (' + $allModules.length + ')';
|
27145
27157
|
}
|
@@ -27308,7 +27320,7 @@
|
|
27308
27320
|
})(jQuery, window, document);
|
27309
27321
|
|
27310
27322
|
/*!
|
27311
|
-
* # Fomantic-UI 2.9.3-beta.
|
27323
|
+
* # Fomantic-UI 2.9.3-beta.2+824a375 - API
|
27312
27324
|
* https://github.com/fomantic/Fomantic-UI/
|
27313
27325
|
*
|
27314
27326
|
*
|
@@ -27338,14 +27350,25 @@
|
|
27338
27350
|
$allModules = isFunction(this)
|
27339
27351
|
? $(window)
|
27340
27352
|
: $(this),
|
27341
|
-
moduleSelector = $allModules.selector || '',
|
27342
27353
|
time = Date.now(),
|
27343
27354
|
performance = [],
|
27344
27355
|
|
27345
27356
|
query = arguments[0],
|
27346
27357
|
methodInvoked = typeof query === 'string',
|
27347
27358
|
queryArguments = [].slice.call(arguments, 1),
|
27359
|
+
contextCheck = function (context, win) {
|
27360
|
+
var $context;
|
27361
|
+
if ([window, document].indexOf(context) >= 0) {
|
27362
|
+
$context = $(context);
|
27363
|
+
} else {
|
27364
|
+
$context = $(win.document).find(context);
|
27365
|
+
if ($context.length === 0) {
|
27366
|
+
$context = win.frameElement ? contextCheck(context, win.parent) : window;
|
27367
|
+
}
|
27368
|
+
}
|
27348
27369
|
|
27370
|
+
return $context;
|
27371
|
+
},
|
27349
27372
|
returnedValue
|
27350
27373
|
;
|
27351
27374
|
|
@@ -27371,9 +27394,7 @@
|
|
27371
27394
|
$form = $module.closest(selector.form),
|
27372
27395
|
|
27373
27396
|
// context used for state
|
27374
|
-
$context = settings.stateContext
|
27375
|
-
? ([window, document].indexOf(settings.stateContext) < 0 ? $(document).find(settings.stateContext) : $(settings.stateContext))
|
27376
|
-
: $module,
|
27397
|
+
$context = settings.stateContext ? contextCheck(settings.stateContext, window) : $module,
|
27377
27398
|
|
27378
27399
|
// request details
|
27379
27400
|
ajaxSettings,
|
@@ -28283,9 +28304,6 @@
|
|
28283
28304
|
totalTime += data['Execution Time'];
|
28284
28305
|
});
|
28285
28306
|
title += ' ' + totalTime + 'ms';
|
28286
|
-
if (moduleSelector) {
|
28287
|
-
title += ' \'' + moduleSelector + '\'';
|
28288
|
-
}
|
28289
28307
|
if (performance.length > 0) {
|
28290
28308
|
console.groupCollapsed(title);
|
28291
28309
|
if (console.table) {
|
@@ -28523,7 +28541,7 @@
|
|
28523
28541
|
})(jQuery, window, document);
|
28524
28542
|
|
28525
28543
|
/*!
|
28526
|
-
* # Fomantic-UI 2.9.3-beta.
|
28544
|
+
* # Fomantic-UI 2.9.3-beta.2+824a375 - State
|
28527
28545
|
* https://github.com/fomantic/Fomantic-UI/
|
28528
28546
|
*
|
28529
28547
|
*
|
@@ -28547,15 +28565,25 @@
|
|
28547
28565
|
var
|
28548
28566
|
$allModules = $(this),
|
28549
28567
|
|
28550
|
-
moduleSelector = $allModules.selector || '',
|
28551
|
-
|
28552
28568
|
time = Date.now(),
|
28553
28569
|
performance = [],
|
28554
28570
|
|
28555
28571
|
query = arguments[0],
|
28556
28572
|
methodInvoked = typeof query === 'string',
|
28557
28573
|
queryArguments = [].slice.call(arguments, 1),
|
28574
|
+
contextCheck = function (context, win) {
|
28575
|
+
var $context;
|
28576
|
+
if ([window, document].indexOf(context) >= 0) {
|
28577
|
+
$context = $(context);
|
28578
|
+
} else {
|
28579
|
+
$context = $(win.document).find(context);
|
28580
|
+
if ($context.length === 0) {
|
28581
|
+
$context = win.frameElement ? contextCheck(context, win.parent) : window;
|
28582
|
+
}
|
28583
|
+
}
|
28558
28584
|
|
28585
|
+
return $context;
|
28586
|
+
},
|
28559
28587
|
returnedValue
|
28560
28588
|
;
|
28561
28589
|
$allModules.each(function () {
|
@@ -28575,6 +28603,7 @@
|
|
28575
28603
|
moduleNamespace = namespace + '-module',
|
28576
28604
|
|
28577
28605
|
$module = $(this),
|
28606
|
+
$context = settings.context ? contextCheck(settings.context, window) : $module,
|
28578
28607
|
|
28579
28608
|
element = this,
|
28580
28609
|
instance = $module.data(moduleNamespace),
|
@@ -28592,19 +28621,11 @@
|
|
28592
28621
|
}
|
28593
28622
|
|
28594
28623
|
// bind events with delegated events
|
28595
|
-
|
28596
|
-
|
28597
|
-
|
28598
|
-
|
28599
|
-
|
28600
|
-
;
|
28601
|
-
} else {
|
28602
|
-
$module
|
28603
|
-
.on('mouseenter' + eventNamespace, module.change.text)
|
28604
|
-
.on('mouseleave' + eventNamespace, module.reset.text)
|
28605
|
-
.on('click' + eventNamespace, module.toggle.state)
|
28606
|
-
;
|
28607
|
-
}
|
28624
|
+
$context
|
28625
|
+
.on('mouseenter' + eventNamespace, module.change.text)
|
28626
|
+
.on('mouseleave' + eventNamespace, module.reset.text)
|
28627
|
+
.on('click' + eventNamespace, module.toggle.state)
|
28628
|
+
;
|
28608
28629
|
module.instantiate();
|
28609
28630
|
},
|
28610
28631
|
|
@@ -28618,8 +28639,11 @@
|
|
28618
28639
|
|
28619
28640
|
destroy: function () {
|
28620
28641
|
module.verbose('Destroying previous module', instance);
|
28621
|
-
$
|
28642
|
+
$context
|
28622
28643
|
.off(eventNamespace)
|
28644
|
+
;
|
28645
|
+
$module
|
28646
|
+
.removeData(metadata.storedText)
|
28623
28647
|
.removeData(moduleNamespace)
|
28624
28648
|
;
|
28625
28649
|
},
|
@@ -29013,9 +29037,6 @@
|
|
29013
29037
|
totalTime += data['Execution Time'];
|
29014
29038
|
});
|
29015
29039
|
title += ' ' + totalTime + 'ms';
|
29016
|
-
if (moduleSelector) {
|
29017
|
-
title += ' \'' + moduleSelector + '\'';
|
29018
|
-
}
|
29019
29040
|
if (performance.length > 0) {
|
29020
29041
|
console.groupCollapsed(title);
|
29021
29042
|
if (console.table) {
|
@@ -29216,7 +29237,7 @@
|
|
29216
29237
|
})(jQuery, window, document);
|
29217
29238
|
|
29218
29239
|
/*!
|
29219
|
-
* # Fomantic-UI 2.9.3-beta.
|
29240
|
+
* # Fomantic-UI 2.9.3-beta.2+824a375 - Visibility
|
29220
29241
|
* https://github.com/fomantic/Fomantic-UI/
|
29221
29242
|
*
|
29222
29243
|
*
|
@@ -29239,7 +29260,6 @@
|
|
29239
29260
|
$.fn.visibility = function (parameters) {
|
29240
29261
|
var
|
29241
29262
|
$allModules = $(this),
|
29242
|
-
moduleSelector = $allModules.selector || '',
|
29243
29263
|
|
29244
29264
|
time = Date.now(),
|
29245
29265
|
performance = [],
|
@@ -29247,6 +29267,19 @@
|
|
29247
29267
|
query = arguments[0],
|
29248
29268
|
methodInvoked = typeof query === 'string',
|
29249
29269
|
queryArguments = [].slice.call(arguments, 1),
|
29270
|
+
contextCheck = function (context, win) {
|
29271
|
+
var $context;
|
29272
|
+
if ([window, document].indexOf(context) >= 0) {
|
29273
|
+
$context = $(context);
|
29274
|
+
} else {
|
29275
|
+
$context = $(win.document).find(context);
|
29276
|
+
if ($context.length === 0) {
|
29277
|
+
$context = win.frameElement ? contextCheck(context, win.parent) : window;
|
29278
|
+
}
|
29279
|
+
}
|
29280
|
+
|
29281
|
+
return $context;
|
29282
|
+
},
|
29250
29283
|
returnedValue,
|
29251
29284
|
|
29252
29285
|
moduleCount = $allModules.length,
|
@@ -29270,7 +29303,7 @@
|
|
29270
29303
|
$window = $(window),
|
29271
29304
|
|
29272
29305
|
$module = $(this),
|
29273
|
-
$context =
|
29306
|
+
$context = contextCheck(settings.context, window),
|
29274
29307
|
|
29275
29308
|
$placeholder,
|
29276
29309
|
|
@@ -30306,9 +30339,6 @@
|
|
30306
30339
|
totalTime += data['Execution Time'];
|
30307
30340
|
});
|
30308
30341
|
title += ' ' + totalTime + 'ms';
|
30309
|
-
if (moduleSelector) {
|
30310
|
-
title += ' \'' + moduleSelector + '\'';
|
30311
|
-
}
|
30312
30342
|
if (performance.length > 0) {
|
30313
30343
|
console.groupCollapsed(title);
|
30314
30344
|
if (console.table) {
|