fomantic-ui 2.10.0-beta.5 → 2.10.0-beta.6
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 +1 -1
- package/dist/components/accordion.min.css +1 -1
- package/dist/components/accordion.min.js +1 -1
- 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 +1 -1
- package/dist/components/dimmer.min.css +1 -1
- package/dist/components/dimmer.min.js +1 -1
- 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 +29 -43
- 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 +26 -8
- 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 +13 -18
- 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 +1 -1
- package/dist/components/form.min.css +1 -1
- package/dist/components/form.min.js +1 -1
- 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 +13 -18
- 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 +1 -1
- package/dist/components/popup.js +5 -7
- 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 -1
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +1 -1
- 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 +23 -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 +9 -14
- 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 +1 -1
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +1 -1
- package/dist/components/sidebar.css +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/sidebar.min.css +1 -1
- package/dist/components/sidebar.min.js +1 -1
- 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 -1
- package/dist/components/slider.min.css +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 +14 -19
- 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 -1
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +1 -1
- package/dist/components/visibility.js +1 -1
- package/dist/components/visibility.min.js +1 -1
- package/dist/semantic.css +53 -53
- package/dist/semantic.js +150 -150
- package/dist/semantic.min.css +1 -1
- package/dist/semantic.min.js +2 -2
- package/package.json +1 -2
- package/src/definitions/modules/dropdown.js +28 -42
- package/src/definitions/modules/embed.js +25 -7
- package/src/definitions/modules/flyout.js +12 -17
- package/src/definitions/modules/modal.js +12 -17
- package/src/definitions/modules/popup.js +4 -6
- package/src/definitions/modules/rating.js +22 -4
- package/src/definitions/modules/search.js +8 -13
- package/src/definitions/modules/toast.js +13 -18
- package/tasks/config/defaults.js +0 -1
- package/tasks/config/project/install.js +5 -8
- package/tasks/install.js +10 -11
- package/types/fomantic-ui-dropdown.d.ts +1 -6
- package/types/fomantic-ui-embed.d.ts +1 -1
- package/types/fomantic-ui-search.d.ts +1 -1
package/dist/semantic.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* # Fomantic UI - 2.10.0-beta.
|
2
|
+
* # Fomantic UI - 2.10.0-beta.6+42a411a
|
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.10.0-beta.
|
12
|
+
* # Fomantic-UI 2.10.0-beta.6+42a411a - Site
|
13
13
|
* https://github.com/fomantic/Fomantic-UI/
|
14
14
|
*
|
15
15
|
*
|
@@ -465,7 +465,7 @@
|
|
465
465
|
})(jQuery, window, document);
|
466
466
|
|
467
467
|
/*!
|
468
|
-
* # Fomantic-UI 2.10.0-beta.
|
468
|
+
* # Fomantic-UI 2.10.0-beta.6+42a411a - Form Validation
|
469
469
|
* https://github.com/fomantic/Fomantic-UI/
|
470
470
|
*
|
471
471
|
*
|
@@ -2660,7 +2660,7 @@
|
|
2660
2660
|
})(jQuery, window, document);
|
2661
2661
|
|
2662
2662
|
/*!
|
2663
|
-
* # Fomantic-UI 2.10.0-beta.
|
2663
|
+
* # Fomantic-UI 2.10.0-beta.6+42a411a - Accordion
|
2664
2664
|
* https://github.com/fomantic/Fomantic-UI/
|
2665
2665
|
*
|
2666
2666
|
*
|
@@ -3256,7 +3256,7 @@
|
|
3256
3256
|
})(jQuery, window, document);
|
3257
3257
|
|
3258
3258
|
/*!
|
3259
|
-
* # Fomantic-UI 2.10.0-beta.
|
3259
|
+
* # Fomantic-UI 2.10.0-beta.6+42a411a - Calendar
|
3260
3260
|
* https://github.com/fomantic/Fomantic-UI/
|
3261
3261
|
*
|
3262
3262
|
*
|
@@ -5302,7 +5302,7 @@
|
|
5302
5302
|
})(jQuery, window, document);
|
5303
5303
|
|
5304
5304
|
/*!
|
5305
|
-
* # Fomantic-UI 2.10.0-beta.
|
5305
|
+
* # Fomantic-UI 2.10.0-beta.6+42a411a - Checkbox
|
5306
5306
|
* https://github.com/fomantic/Fomantic-UI/
|
5307
5307
|
*
|
5308
5308
|
*
|
@@ -6183,7 +6183,7 @@
|
|
6183
6183
|
})(jQuery, window, document);
|
6184
6184
|
|
6185
6185
|
/*!
|
6186
|
-
* # Fomantic-UI 2.10.0-beta.
|
6186
|
+
* # Fomantic-UI 2.10.0-beta.6+42a411a - Dimmer
|
6187
6187
|
* https://github.com/fomantic/Fomantic-UI/
|
6188
6188
|
*
|
6189
6189
|
*
|
@@ -6916,7 +6916,7 @@
|
|
6916
6916
|
})(jQuery, window, document);
|
6917
6917
|
|
6918
6918
|
/*!
|
6919
|
-
* # Fomantic-UI 2.10.0-beta.
|
6919
|
+
* # Fomantic-UI 2.10.0-beta.6+42a411a - Dropdown
|
6920
6920
|
* https://github.com/fomantic/Fomantic-UI/
|
6921
6921
|
*
|
6922
6922
|
*
|
@@ -7031,11 +7031,6 @@
|
|
7031
7031
|
if (module.is.alreadySetup()) {
|
7032
7032
|
module.setup.reference();
|
7033
7033
|
} else {
|
7034
|
-
if (settings.ignoreDiacritics && !String.prototype.normalize) {
|
7035
|
-
settings.ignoreDiacritics = false;
|
7036
|
-
module.error(error.noNormalize, element);
|
7037
|
-
}
|
7038
|
-
|
7039
7034
|
module.create.id();
|
7040
7035
|
module.setup.layout();
|
7041
7036
|
|
@@ -8027,7 +8022,7 @@
|
|
8027
8022
|
$input.append('<option disabled selected value></option>');
|
8028
8023
|
$.each(values, function (index, item) {
|
8029
8024
|
var
|
8030
|
-
value = settings.templates.
|
8025
|
+
value = settings.templates.escape(item[fields.value]),
|
8031
8026
|
name = settings.templates.escape(
|
8032
8027
|
item[fields.name] || '',
|
8033
8028
|
settings
|
@@ -10758,14 +10753,13 @@
|
|
10758
10753
|
htmlEntities: function (string, forceAmpersand) {
|
10759
10754
|
forceAmpersand = typeof forceAmpersand === 'number' ? false : forceAmpersand;
|
10760
10755
|
var
|
10761
|
-
badChars = /["'
|
10762
|
-
shouldEscape = /["&'
|
10756
|
+
badChars = /["'<>]/g,
|
10757
|
+
shouldEscape = /["&'<>]/,
|
10763
10758
|
escape = {
|
10764
10759
|
'<': '<',
|
10765
10760
|
'>': '>',
|
10766
10761
|
'"': '"',
|
10767
|
-
"'": '
|
10768
|
-
'`': '`',
|
10762
|
+
"'": ''',
|
10769
10763
|
},
|
10770
10764
|
escapedChar = function (chr) {
|
10771
10765
|
return escape[chr];
|
@@ -11069,7 +11063,6 @@
|
|
11069
11063
|
noAPI: 'The API module is required to load resources remotely',
|
11070
11064
|
noStorage: 'Saving remote data requires session storage',
|
11071
11065
|
noElement: 'This module requires ui {element}',
|
11072
|
-
noNormalize: '"ignoreDiacritics" setting will be ignored. Browser does not support String().normalize(). You may consider including <https://cdn.jsdelivr.net/npm/unorm@1.4.1/lib/unorm.min.js> as a polyfill.',
|
11073
11066
|
},
|
11074
11067
|
|
11075
11068
|
regExp: {
|
@@ -11183,22 +11176,18 @@
|
|
11183
11176
|
|
11184
11177
|
/* Templates */
|
11185
11178
|
$.fn.dropdown.settings.templates = {
|
11186
|
-
deQuote: function (string, encode) {
|
11187
|
-
return String(string).replace(/"/g, encode ? '"' : '');
|
11188
|
-
},
|
11189
11179
|
escape: function (string, settings) {
|
11190
|
-
if (settings.preserveHTML) {
|
11180
|
+
if (settings !== undefined && settings.preserveHTML) {
|
11191
11181
|
return string;
|
11192
11182
|
}
|
11193
11183
|
var
|
11194
|
-
badChars = /["'
|
11195
|
-
shouldEscape = /["&'
|
11184
|
+
badChars = /["'<>]/g,
|
11185
|
+
shouldEscape = /["&'<>]/,
|
11196
11186
|
escape = {
|
11197
11187
|
'<': '<',
|
11198
11188
|
'>': '>',
|
11199
11189
|
'"': '"',
|
11200
|
-
"'": '
|
11201
|
-
'`': '`',
|
11190
|
+
"'": ''',
|
11202
11191
|
},
|
11203
11192
|
escapedChar = function (chr) {
|
11204
11193
|
return escape[chr];
|
@@ -11217,14 +11206,13 @@
|
|
11217
11206
|
placeholder = select.placeholder || false,
|
11218
11207
|
html = '',
|
11219
11208
|
className = settings.className,
|
11220
|
-
escape = settings.templates.escape
|
11221
|
-
deQuote = settings.templates.deQuote
|
11209
|
+
escape = settings.templates.escape
|
11222
11210
|
;
|
11223
11211
|
html += '<i class="dropdown icon"></i>';
|
11224
11212
|
html += placeholder
|
11225
11213
|
? '<div class="default text">' + escape(placeholder, settings) + '</div>'
|
11226
11214
|
: '<div class="text"></div>';
|
11227
|
-
html += '<div class="' +
|
11215
|
+
html += '<div class="' + escape(className.menu) + '">';
|
11228
11216
|
html += settings.templates.menu(select, settings);
|
11229
11217
|
html += '</div>';
|
11230
11218
|
|
@@ -11238,8 +11226,7 @@
|
|
11238
11226
|
values = response[fields.values] || [],
|
11239
11227
|
html = '',
|
11240
11228
|
className = settings.className,
|
11241
|
-
escape = settings.templates.escape
|
11242
|
-
deQuote = settings.templates.deQuote
|
11229
|
+
escape = settings.templates.escape
|
11243
11230
|
;
|
11244
11231
|
$.each(values, function (index, option) {
|
11245
11232
|
var
|
@@ -11255,14 +11242,14 @@
|
|
11255
11242
|
for (dataKey in dataObject) {
|
11256
11243
|
dataKeyEscaped = String(dataKey).replace(/\W/g, '');
|
11257
11244
|
if (Object.prototype.hasOwnProperty.call(dataObject, dataKey) && ['text', 'value'].indexOf(dataKeyEscaped.toLowerCase()) === -1) {
|
11258
|
-
maybeData += ' data-' + dataKeyEscaped + '="' +
|
11245
|
+
maybeData += ' data-' + dataKeyEscaped + '="' + escape(String(dataObject[dataKey])) + '"';
|
11259
11246
|
}
|
11260
11247
|
}
|
11261
11248
|
}
|
11262
11249
|
if (itemType === 'item' || isMenu) {
|
11263
11250
|
var
|
11264
11251
|
maybeText = option[fields.text]
|
11265
|
-
? ' data-text="' +
|
11252
|
+
? ' data-text="' + escape(option[fields.text]) + '"'
|
11266
11253
|
: '',
|
11267
11254
|
maybeActionable = option[fields.actionable]
|
11268
11255
|
? className.actionable + ' '
|
@@ -11275,27 +11262,27 @@
|
|
11275
11262
|
: '',
|
11276
11263
|
hasDescription = escape(option[fields.description] || '', settings) !== ''
|
11277
11264
|
;
|
11278
|
-
html += '<div class="' +
|
11265
|
+
html += '<div class="' + escape(maybeActionable + maybeDisabled + maybeDescriptionVertical + (option[fields.class] || className.item)) + '" data-value="' + escape(option[fields.value]) + '"' + maybeText + maybeData + '>';
|
11279
11266
|
if (isMenu) {
|
11280
11267
|
html += '<i class="' + (itemType.indexOf('left') !== -1 ? 'left' : '') + ' dropdown icon"></i>';
|
11281
11268
|
}
|
11282
11269
|
if (option[fields.image]) {
|
11283
|
-
html += '<img class="' +
|
11270
|
+
html += '<img class="' + escape(option[fields.imageClass] || className.image) + '" src="' + escape(option[fields.image]) + '"' + (option[fields.alt] ? ' alt="' + escape(option[fields.alt]) + '"' : '') + '>';
|
11284
11271
|
}
|
11285
11272
|
if (option[fields.icon]) {
|
11286
|
-
html += '<i class="' +
|
11273
|
+
html += '<i class="' + escape(option[fields.icon] + ' ' + (option[fields.iconClass] || className.icon)) + '"></i>';
|
11287
11274
|
}
|
11288
11275
|
if (hasDescription) {
|
11289
|
-
html += '<span class="' +
|
11290
|
-
html += !isMenu ? '<span class="' +
|
11276
|
+
html += '<span class="' + escape(className.description) + '">' + escape(option[fields.description] || '', settings) + '</span>';
|
11277
|
+
html += !isMenu ? '<span class="' + escape(className.text) + '">' : '';
|
11291
11278
|
}
|
11292
11279
|
if (isMenu) {
|
11293
|
-
html += '<span class="' +
|
11280
|
+
html += '<span class="' + escape(className.text) + '">';
|
11294
11281
|
}
|
11295
11282
|
html += escape(option[fields.name] || '', settings);
|
11296
11283
|
if (isMenu) {
|
11297
11284
|
html += '</span>';
|
11298
|
-
html += '<div class="' +
|
11285
|
+
html += '<div class="' + escape(itemType) + '">';
|
11299
11286
|
html += settings.templates.menu(option, settings);
|
11300
11287
|
html += '</div>';
|
11301
11288
|
} else if (hasDescription) {
|
@@ -11304,19 +11291,19 @@
|
|
11304
11291
|
html += '</div>';
|
11305
11292
|
} else if (itemType === 'header') {
|
11306
11293
|
var
|
11307
|
-
groupName =
|
11308
|
-
groupIcon =
|
11294
|
+
groupName = option[fields.name] || '',
|
11295
|
+
groupIcon = option[fields.icon] || className.groupIcon
|
11309
11296
|
;
|
11310
11297
|
if (groupName !== '' || groupIcon !== '') {
|
11311
|
-
html += '<div class="' +
|
11298
|
+
html += '<div class="' + escape(option[fields.class] || className.header) + '">';
|
11312
11299
|
if (groupIcon !== '') {
|
11313
|
-
html += '<i class="' +
|
11300
|
+
html += '<i class="' + escape(groupIcon + ' ' + (option[fields.iconClass] || className.icon)) + '"></i>';
|
11314
11301
|
}
|
11315
|
-
html += groupName;
|
11302
|
+
html += escape(groupName, settings);
|
11316
11303
|
html += '</div>';
|
11317
11304
|
}
|
11318
11305
|
if (option[fields.divider]) {
|
11319
|
-
html += '<div class="' +
|
11306
|
+
html += '<div class="' + escape(className.divider) + '"></div>';
|
11320
11307
|
}
|
11321
11308
|
}
|
11322
11309
|
});
|
@@ -11328,11 +11315,10 @@
|
|
11328
11315
|
label: function (value, text, settings) {
|
11329
11316
|
var
|
11330
11317
|
className = settings.className,
|
11331
|
-
escape = settings.templates.escape
|
11332
|
-
deQuote = settings.templates.deQuote
|
11318
|
+
escape = settings.templates.escape
|
11333
11319
|
;
|
11334
11320
|
|
11335
|
-
return escape(text, settings) + '<i class="' +
|
11321
|
+
return escape(text, settings) + '<i class="' + escape(className.delete) + ' icon"></i>';
|
11336
11322
|
},
|
11337
11323
|
|
11338
11324
|
// generates messages like "No results"
|
@@ -11349,7 +11335,7 @@
|
|
11349
11335
|
})(jQuery, window, document);
|
11350
11336
|
|
11351
11337
|
/*!
|
11352
|
-
* # Fomantic-UI 2.10.0-beta.
|
11338
|
+
* # Fomantic-UI 2.10.0-beta.6+42a411a - Embed
|
11353
11339
|
* https://github.com/fomantic/Fomantic-UI/
|
11354
11340
|
*
|
11355
11341
|
*
|
@@ -11995,33 +11981,51 @@
|
|
11995
11981
|
},
|
11996
11982
|
|
11997
11983
|
templates: {
|
11998
|
-
|
11999
|
-
|
11984
|
+
escape: function (string) {
|
11985
|
+
var
|
11986
|
+
badChars = /["'<>]/g,
|
11987
|
+
shouldEscape = /["&'<>]/,
|
11988
|
+
escape = {
|
11989
|
+
'<': '<',
|
11990
|
+
'>': '>',
|
11991
|
+
'"': '"',
|
11992
|
+
"'": ''',
|
11993
|
+
},
|
11994
|
+
escapedChar = function (chr) {
|
11995
|
+
return escape[chr];
|
11996
|
+
}
|
11997
|
+
;
|
11998
|
+
if (shouldEscape.test(string)) {
|
11999
|
+
string = string.replace(/&(?![\d#a-z]{1,12};)/gi, '&');
|
12000
|
+
string = string.replace(badChars, escapedChar);
|
12001
|
+
}
|
12002
|
+
|
12003
|
+
return string;
|
12000
12004
|
},
|
12001
12005
|
iframe: function (url, parameters) {
|
12002
12006
|
var
|
12003
12007
|
src = url,
|
12004
|
-
|
12008
|
+
escape = $.fn.embed.settings.templates.escape
|
12005
12009
|
;
|
12006
12010
|
if (parameters) {
|
12007
12011
|
src += '?' + parameters;
|
12008
12012
|
}
|
12009
12013
|
|
12010
12014
|
return ''
|
12011
|
-
+ '<iframe src="' +
|
12015
|
+
+ '<iframe src="' + escape(src) + '"'
|
12012
12016
|
+ ' width="100%" height="100%"'
|
12013
12017
|
+ ' msallowFullScreen allowFullScreen></iframe>';
|
12014
12018
|
},
|
12015
12019
|
placeholder: function (image, icon, alt) {
|
12016
12020
|
var
|
12017
12021
|
html = '',
|
12018
|
-
|
12022
|
+
escape = $.fn.embed.settings.templates.escape
|
12019
12023
|
;
|
12020
12024
|
if (icon) {
|
12021
|
-
html += '<i class="' +
|
12025
|
+
html += '<i class="' + escape(icon) + ' icon"></i>';
|
12022
12026
|
}
|
12023
12027
|
if (image) {
|
12024
|
-
html += '<img class="placeholder" src="' +
|
12028
|
+
html += '<img class="placeholder" src="' + escape(image) + '"' + (alt ? ' alt="' + escape(alt) + '"' : '') + '>';
|
12025
12029
|
}
|
12026
12030
|
|
12027
12031
|
return html;
|
@@ -12038,7 +12042,7 @@
|
|
12038
12042
|
})(jQuery, window, document);
|
12039
12043
|
|
12040
12044
|
/*!
|
12041
|
-
* # Fomantic-UI 2.10.0-beta.
|
12045
|
+
* # Fomantic-UI 2.10.0-beta.6+42a411a - Flyout
|
12042
12046
|
* https://github.com/fomantic/Fomantic-UI/
|
12043
12047
|
*
|
12044
12048
|
*
|
@@ -12156,10 +12160,10 @@
|
|
12156
12160
|
}
|
12157
12161
|
$module.addClass(settings.class);
|
12158
12162
|
if (settings.title !== '') {
|
12159
|
-
$module.find(selector.header).html(module.helpers.escape(settings.title)).addClass(settings.classTitle);
|
12163
|
+
$module.find(selector.header).html(module.helpers.escape(settings.title, settings)).addClass(settings.classTitle);
|
12160
12164
|
}
|
12161
12165
|
if (settings.content !== '') {
|
12162
|
-
$module.find(selector.content).html(module.helpers.escape(settings.content)).addClass(settings.classContent);
|
12166
|
+
$module.find(selector.content).html(module.helpers.escape(settings.content, settings)).addClass(settings.classContent);
|
12163
12167
|
}
|
12164
12168
|
if (module.has.configActions()) {
|
12165
12169
|
var $actions = $module.find(selector.actions).addClass(settings.classActions);
|
@@ -12171,10 +12175,10 @@
|
|
12171
12175
|
settings.actions.forEach(function (el) {
|
12172
12176
|
var
|
12173
12177
|
icon = el[fields.icon]
|
12174
|
-
? '<i ' + (el[fields.text] ? 'aria-hidden="true"' : '') + ' class="' + module.helpers.
|
12178
|
+
? '<i ' + (el[fields.text] ? 'aria-hidden="true"' : '') + ' class="' + module.helpers.escape(el[fields.icon]) + ' icon"></i>'
|
12175
12179
|
: '',
|
12176
|
-
text = module.helpers.escape(el[fields.text] || ''),
|
12177
|
-
cls = module.helpers.
|
12180
|
+
text = module.helpers.escape(el[fields.text] || '', settings),
|
12181
|
+
cls = module.helpers.escape(el[fields.class] || ''),
|
12178
12182
|
click = el[fields.click] && isFunction(el[fields.click])
|
12179
12183
|
? el[fields.click]
|
12180
12184
|
: function () {}
|
@@ -13118,22 +13122,18 @@
|
|
13118
13122
|
},
|
13119
13123
|
|
13120
13124
|
helpers: {
|
13121
|
-
|
13122
|
-
|
13123
|
-
},
|
13124
|
-
escape: function (string) {
|
13125
|
-
if (settings.preserveHTML) {
|
13125
|
+
escape: function (string, settings) {
|
13126
|
+
if (settings !== undefined && settings.preserveHTML) {
|
13126
13127
|
return string;
|
13127
13128
|
}
|
13128
13129
|
var
|
13129
|
-
badChars = /["'
|
13130
|
-
shouldEscape = /["&'
|
13130
|
+
badChars = /["'<>]/g,
|
13131
|
+
shouldEscape = /["&'<>]/,
|
13131
13132
|
escape = {
|
13132
13133
|
'<': '<',
|
13133
13134
|
'>': '>',
|
13134
13135
|
'"': '"',
|
13135
|
-
"'": '
|
13136
|
-
'`': '`',
|
13136
|
+
"'": ''',
|
13137
13137
|
},
|
13138
13138
|
escapedChar = function (chr) {
|
13139
13139
|
return escape[chr];
|
@@ -13141,8 +13141,7 @@
|
|
13141
13141
|
;
|
13142
13142
|
if (shouldEscape.test(string)) {
|
13143
13143
|
string = string.replace(/&(?![\d#a-z]{1,12};)/gi, '&');
|
13144
|
-
|
13145
|
-
return string.replace(badChars, escapedChar);
|
13144
|
+
string = string.replace(badChars, escapedChar);
|
13146
13145
|
}
|
13147
13146
|
|
13148
13147
|
return string;
|
@@ -13521,7 +13520,7 @@
|
|
13521
13520
|
input = $($.parseHTML(args.content)).filter('.ui.input')
|
13522
13521
|
;
|
13523
13522
|
if (input.length === 0) {
|
13524
|
-
args.content += '<p><div class="' + settings.className.prompt + '"><input placeholder="' + this.helpers.
|
13523
|
+
args.content += '<p><div class="' + settings.className.prompt + '"><input placeholder="' + this.helpers.escape(args.placeholder || '') + '" type="text" value="' + this.helpers.escape(args.defaultValue || '') + '"></div></p>';
|
13525
13524
|
}
|
13526
13525
|
|
13527
13526
|
return {
|
@@ -13550,7 +13549,7 @@
|
|
13550
13549
|
})(jQuery, window, document);
|
13551
13550
|
|
13552
13551
|
/*!
|
13553
|
-
* # Fomantic-UI 2.10.0-beta.
|
13552
|
+
* # Fomantic-UI 2.10.0-beta.6+42a411a - Modal
|
13554
13553
|
* https://github.com/fomantic/Fomantic-UI/
|
13555
13554
|
*
|
13556
13555
|
*
|
@@ -13662,10 +13661,10 @@
|
|
13662
13661
|
}
|
13663
13662
|
$module.addClass(settings.class);
|
13664
13663
|
if (settings.title !== '') {
|
13665
|
-
$module.find(selector.title).html(module.helpers.escape(settings.title)).addClass(settings.classTitle);
|
13664
|
+
$module.find(selector.title).html(module.helpers.escape(settings.title, settings)).addClass(settings.classTitle);
|
13666
13665
|
}
|
13667
13666
|
if (settings.content !== '') {
|
13668
|
-
$module.find(selector.content).html(module.helpers.escape(settings.content)).addClass(settings.classContent);
|
13667
|
+
$module.find(selector.content).html(module.helpers.escape(settings.content, settings)).addClass(settings.classContent);
|
13669
13668
|
}
|
13670
13669
|
if (module.has.configActions()) {
|
13671
13670
|
var $actions = $module.find(selector.actions).addClass(settings.classActions);
|
@@ -13677,10 +13676,10 @@
|
|
13677
13676
|
settings.actions.forEach(function (el) {
|
13678
13677
|
var
|
13679
13678
|
icon = el[fields.icon]
|
13680
|
-
? '<i ' + (el[fields.text] ? 'aria-hidden="true"' : '') + ' class="' + module.helpers.
|
13679
|
+
? '<i ' + (el[fields.text] ? 'aria-hidden="true"' : '') + ' class="' + module.helpers.escape(el[fields.icon]) + ' icon"></i>'
|
13681
13680
|
: '',
|
13682
|
-
text = module.helpers.escape(el[fields.text] || ''),
|
13683
|
-
cls = module.helpers.
|
13681
|
+
text = module.helpers.escape(el[fields.text] || '', settings),
|
13682
|
+
cls = module.helpers.escape(el[fields.class] || ''),
|
13684
13683
|
click = el[fields.click] && isFunction(el[fields.click])
|
13685
13684
|
? el[fields.click]
|
13686
13685
|
: function () {}
|
@@ -14478,22 +14477,18 @@
|
|
14478
14477
|
module.debug('Caching modal and container sizes', module.cache);
|
14479
14478
|
},
|
14480
14479
|
helpers: {
|
14481
|
-
|
14482
|
-
|
14483
|
-
},
|
14484
|
-
escape: function (string) {
|
14485
|
-
if (settings.preserveHTML) {
|
14480
|
+
escape: function (string, settings) {
|
14481
|
+
if (settings !== undefined && settings.preserveHTML) {
|
14486
14482
|
return string;
|
14487
14483
|
}
|
14488
14484
|
var
|
14489
|
-
badChars = /["'
|
14490
|
-
shouldEscape = /["&'
|
14485
|
+
badChars = /["'<>]/g,
|
14486
|
+
shouldEscape = /["&'<>]/,
|
14491
14487
|
escape = {
|
14492
14488
|
'<': '<',
|
14493
14489
|
'>': '>',
|
14494
14490
|
'"': '"',
|
14495
|
-
"'": '
|
14496
|
-
'`': '`',
|
14491
|
+
"'": ''',
|
14497
14492
|
},
|
14498
14493
|
escapedChar = function (chr) {
|
14499
14494
|
return escape[chr];
|
@@ -14501,8 +14496,7 @@
|
|
14501
14496
|
;
|
14502
14497
|
if (shouldEscape.test(string)) {
|
14503
14498
|
string = string.replace(/&(?![\d#a-z]{1,12};)/gi, '&');
|
14504
|
-
|
14505
|
-
return string.replace(badChars, escapedChar);
|
14499
|
+
string = string.replace(badChars, escapedChar);
|
14506
14500
|
}
|
14507
14501
|
|
14508
14502
|
return string;
|
@@ -15141,7 +15135,7 @@
|
|
15141
15135
|
}
|
15142
15136
|
;
|
15143
15137
|
if (input.length === 0) {
|
15144
|
-
args.content += '<p><div class="' + this.helpers.
|
15138
|
+
args.content += '<p><div class="' + this.helpers.escape(settings.className.prompt) + '"><input placeholder="' + this.helpers.escape(args.placeholder || '') + '" type="text" value="' + this.helpers.escape(args.defaultValue || '') + '"></div></p>';
|
15145
15139
|
}
|
15146
15140
|
|
15147
15141
|
return {
|
@@ -15164,7 +15158,7 @@
|
|
15164
15158
|
})(jQuery, window, document);
|
15165
15159
|
|
15166
15160
|
/*!
|
15167
|
-
* # Fomantic-UI 2.10.0-beta.
|
15161
|
+
* # Fomantic-UI 2.10.0-beta.6+42a411a - Nag
|
15168
15162
|
* https://github.com/fomantic/Fomantic-UI/
|
15169
15163
|
*
|
15170
15164
|
*
|
@@ -15731,7 +15725,7 @@
|
|
15731
15725
|
})(jQuery, window, document);
|
15732
15726
|
|
15733
15727
|
/*!
|
15734
|
-
* # Fomantic-UI 2.10.0-beta.
|
15728
|
+
* # Fomantic-UI 2.10.0-beta.6+42a411a - Popup
|
15735
15729
|
* https://github.com/fomantic/Fomantic-UI/
|
15736
15730
|
*
|
15737
15731
|
*
|
@@ -17248,14 +17242,13 @@
|
|
17248
17242
|
templates: {
|
17249
17243
|
escape: function (string) {
|
17250
17244
|
var
|
17251
|
-
badChars = /["'
|
17252
|
-
shouldEscape = /["&'
|
17245
|
+
badChars = /["'<>]/g,
|
17246
|
+
shouldEscape = /["&'<>]/,
|
17253
17247
|
escape = {
|
17254
17248
|
'<': '<',
|
17255
17249
|
'>': '>',
|
17256
17250
|
'"': '"',
|
17257
|
-
"'": '
|
17258
|
-
'`': '`',
|
17251
|
+
"'": ''',
|
17259
17252
|
},
|
17260
17253
|
escapedChar = function (chr) {
|
17261
17254
|
return escape[chr];
|
@@ -17263,8 +17256,7 @@
|
|
17263
17256
|
;
|
17264
17257
|
if (shouldEscape.test(string)) {
|
17265
17258
|
string = string.replace(/&(?![\d#a-z]{1,12};)/gi, '&');
|
17266
|
-
|
17267
|
-
return string.replace(badChars, escapedChar);
|
17259
|
+
string = string.replace(badChars, escapedChar);
|
17268
17260
|
}
|
17269
17261
|
|
17270
17262
|
return string;
|
@@ -17293,7 +17285,7 @@
|
|
17293
17285
|
})(jQuery, window, document);
|
17294
17286
|
|
17295
17287
|
/*!
|
17296
|
-
* # Fomantic-UI 2.10.0-beta.
|
17288
|
+
* # Fomantic-UI 2.10.0-beta.6+42a411a - Progress
|
17297
17289
|
* https://github.com/fomantic/Fomantic-UI/
|
17298
17290
|
*
|
17299
17291
|
*
|
@@ -18273,7 +18265,7 @@
|
|
18273
18265
|
})(jQuery, window, document);
|
18274
18266
|
|
18275
18267
|
/*!
|
18276
|
-
* # Fomantic-UI 2.10.0-beta.
|
18268
|
+
* # Fomantic-UI 2.10.0-beta.6+42a411a - Slider
|
18277
18269
|
* https://github.com/fomantic/Fomantic-UI/
|
18278
18270
|
*
|
18279
18271
|
*
|
@@ -19820,7 +19812,7 @@
|
|
19820
19812
|
})(jQuery, window, document);
|
19821
19813
|
|
19822
19814
|
/*!
|
19823
|
-
* # Fomantic-UI 2.10.0-beta.
|
19815
|
+
* # Fomantic-UI 2.10.0-beta.6+42a411a - Rating
|
19824
19816
|
* https://github.com/fomantic/Fomantic-UI/
|
19825
19817
|
*
|
19826
19818
|
*
|
@@ -20339,17 +20331,35 @@
|
|
20339
20331
|
},
|
20340
20332
|
|
20341
20333
|
templates: {
|
20342
|
-
|
20343
|
-
|
20334
|
+
escape: function (string) {
|
20335
|
+
var
|
20336
|
+
badChars = /["'<>]/g,
|
20337
|
+
shouldEscape = /["&'<>]/,
|
20338
|
+
escape = {
|
20339
|
+
'<': '<',
|
20340
|
+
'>': '>',
|
20341
|
+
'"': '"',
|
20342
|
+
"'": ''',
|
20343
|
+
},
|
20344
|
+
escapedChar = function (chr) {
|
20345
|
+
return escape[chr];
|
20346
|
+
}
|
20347
|
+
;
|
20348
|
+
if (shouldEscape.test(string)) {
|
20349
|
+
string = string.replace(/&(?![\d#a-z]{1,12};)/gi, '&');
|
20350
|
+
string = string.replace(badChars, escapedChar);
|
20351
|
+
}
|
20352
|
+
|
20353
|
+
return string;
|
20344
20354
|
},
|
20345
20355
|
icon: function (maxRating, iconClass) {
|
20346
20356
|
var
|
20347
20357
|
icon = 1,
|
20348
20358
|
html = '',
|
20349
|
-
|
20359
|
+
escape = $.fn.rating.settings.templates.escape
|
20350
20360
|
;
|
20351
20361
|
while (icon <= maxRating) {
|
20352
|
-
html += '<i class="' +
|
20362
|
+
html += '<i class="' + escape(iconClass) + ' icon"></i>';
|
20353
20363
|
icon++;
|
20354
20364
|
}
|
20355
20365
|
|
@@ -20361,7 +20371,7 @@
|
|
20361
20371
|
})(jQuery, window, document);
|
20362
20372
|
|
20363
20373
|
/*!
|
20364
|
-
* # Fomantic-UI 2.10.0-beta.
|
20374
|
+
* # Fomantic-UI 2.10.0-beta.6+42a411a - Search
|
20365
20375
|
* https://github.com/fomantic/Fomantic-UI/
|
20366
20376
|
*
|
20367
20377
|
*
|
@@ -20823,10 +20833,6 @@
|
|
20823
20833
|
settings.fullTextSearch = parameters.searchFullText;
|
20824
20834
|
module.error(settings.error.oldSearchSyntax, element);
|
20825
20835
|
}
|
20826
|
-
if (settings.ignoreDiacritics && !String.prototype.normalize) {
|
20827
|
-
settings.ignoreDiacritics = false;
|
20828
|
-
module.error(error.noNormalize, element);
|
20829
|
-
}
|
20830
20836
|
},
|
20831
20837
|
inputEvent: function () {
|
20832
20838
|
var
|
@@ -21795,7 +21801,6 @@
|
|
21795
21801
|
serverError: 'There was an issue querying the server.',
|
21796
21802
|
maxResults: 'Results must be an array to use maxResults setting',
|
21797
21803
|
method: 'The method you called is not defined.',
|
21798
|
-
noNormalize: '"ignoreDiacritics" setting will be ignored. Browser does not support String().normalize(). You may consider including <https://cdn.jsdelivr.net/npm/unorm@1.4.1/lib/unorm.min.js> as a polyfill.',
|
21799
21804
|
},
|
21800
21805
|
|
21801
21806
|
metadata: {
|
@@ -21839,22 +21844,22 @@
|
|
21839
21844
|
|
21840
21845
|
templates: {
|
21841
21846
|
escape: function (string, settings) {
|
21842
|
-
if (settings.preserveHTML) {
|
21847
|
+
if (settings !== undefined && settings.preserveHTML) {
|
21843
21848
|
return string;
|
21844
21849
|
}
|
21845
21850
|
var
|
21846
|
-
badChars = /["'
|
21847
|
-
shouldEscape = /["&'
|
21851
|
+
badChars = /["'<>]/g,
|
21852
|
+
shouldEscape = /["&'<>]/,
|
21848
21853
|
escape = {
|
21849
21854
|
'<': '<',
|
21850
21855
|
'>': '>',
|
21851
21856
|
'"': '"',
|
21852
|
-
"'": '
|
21853
|
-
'`': '`',
|
21857
|
+
"'": ''',
|
21854
21858
|
},
|
21855
21859
|
escapedChar = function (chr) {
|
21856
21860
|
return escape[chr];
|
21857
|
-
}
|
21861
|
+
}
|
21862
|
+
;
|
21858
21863
|
if (shouldEscape.test(string)) {
|
21859
21864
|
string = string.replace(/&(?![\d#a-z]{1,12};)/gi, '&');
|
21860
21865
|
string = string.replace(badChars, escapedChar);
|
@@ -21906,7 +21911,7 @@
|
|
21906
21911
|
if (result[fields.image] !== undefined) {
|
21907
21912
|
html += ''
|
21908
21913
|
+ '<div class="image">'
|
21909
|
-
+ ' <img src="' + result[fields.image].replace(/"/g, '') + (result[fields.alt] ? '
|
21914
|
+
+ ' <img src="' + result[fields.image].replace(/"/g, '') + '"' + (result[fields.alt] ? ' alt="' + result[fields.alt].replace(/"/g, '') + '"' : '') + '>'
|
21910
21915
|
+ '</div>';
|
21911
21916
|
}
|
21912
21917
|
html += '<div class="content">';
|
@@ -21960,7 +21965,7 @@
|
|
21960
21965
|
if (result[fields.image] !== undefined) {
|
21961
21966
|
html += ''
|
21962
21967
|
+ '<div class="image">'
|
21963
|
-
+ ' <img src="' + result[fields.image].replace(/"/g, '') + (result[fields.alt] ? '
|
21968
|
+
+ ' <img src="' + result[fields.image].replace(/"/g, '') + '"' + (result[fields.alt] ? ' alt="' + result[fields.alt].replace(/"/g, '') + '"' : '') + '>'
|
21964
21969
|
+ '</div>';
|
21965
21970
|
}
|
21966
21971
|
html += '<div class="content">';
|
@@ -22005,7 +22010,7 @@
|
|
22005
22010
|
})(jQuery, window, document);
|
22006
22011
|
|
22007
22012
|
/*!
|
22008
|
-
* # Fomantic-UI 2.10.0-beta.
|
22013
|
+
* # Fomantic-UI 2.10.0-beta.6+42a411a - Shape
|
22009
22014
|
* https://github.com/fomantic/Fomantic-UI/
|
22010
22015
|
*
|
22011
22016
|
*
|
@@ -22803,7 +22808,7 @@
|
|
22803
22808
|
})(jQuery, window, document);
|
22804
22809
|
|
22805
22810
|
/*!
|
22806
|
-
* # Fomantic-UI 2.10.0-beta.
|
22811
|
+
* # Fomantic-UI 2.10.0-beta.6+42a411a - Sidebar
|
22807
22812
|
* https://github.com/fomantic/Fomantic-UI/
|
22808
22813
|
*
|
22809
22814
|
*
|
@@ -23817,7 +23822,7 @@
|
|
23817
23822
|
})(jQuery, window, document);
|
23818
23823
|
|
23819
23824
|
/*!
|
23820
|
-
* # Fomantic-UI 2.10.0-beta.
|
23825
|
+
* # Fomantic-UI 2.10.0-beta.6+42a411a - Sticky
|
23821
23826
|
* https://github.com/fomantic/Fomantic-UI/
|
23822
23827
|
*
|
23823
23828
|
*
|
@@ -24735,7 +24740,7 @@
|
|
24735
24740
|
})(jQuery, window, document);
|
24736
24741
|
|
24737
24742
|
/*!
|
24738
|
-
* # Fomantic-UI 2.10.0-beta.
|
24743
|
+
* # Fomantic-UI 2.10.0-beta.6+42a411a - Tab
|
24739
24744
|
* https://github.com/fomantic/Fomantic-UI/
|
24740
24745
|
*
|
24741
24746
|
*
|
@@ -25700,7 +25705,7 @@
|
|
25700
25705
|
})(jQuery, window, document);
|
25701
25706
|
|
25702
25707
|
/*!
|
25703
|
-
* # Fomantic-UI 2.10.0-beta.
|
25708
|
+
* # Fomantic-UI 2.10.0-beta.6+42a411a - Toast
|
25704
25709
|
* https://github.com/fomantic/Fomantic-UI/
|
25705
25710
|
*
|
25706
25711
|
*
|
@@ -25893,7 +25898,7 @@
|
|
25893
25898
|
$content.append($('<div/>', {
|
25894
25899
|
class: className.title,
|
25895
25900
|
id: titleId,
|
25896
|
-
html: module.helpers.escape(settings.title),
|
25901
|
+
html: module.helpers.escape(settings.title, settings),
|
25897
25902
|
}));
|
25898
25903
|
}
|
25899
25904
|
var descId = '_' + module.get.id() + 'desc';
|
@@ -25901,7 +25906,7 @@
|
|
25901
25906
|
$content.append($('<div/>', {
|
25902
25907
|
class: className.message,
|
25903
25908
|
id: descId,
|
25904
|
-
html: module.helpers.escape(settings.message),
|
25909
|
+
html: module.helpers.escape(settings.message, settings),
|
25905
25910
|
}));
|
25906
25911
|
|
25907
25912
|
$toast
|
@@ -25933,10 +25938,10 @@
|
|
25933
25938
|
$toast.find(selector.image).attr('src', settings.showImage).attr('alt', settings.alt || '');
|
25934
25939
|
}
|
25935
25940
|
if (settings.title !== '') {
|
25936
|
-
$toast.find(selector.title).html(module.helpers.escape(settings.title));
|
25941
|
+
$toast.find(selector.title).html(module.helpers.escape(settings.title, settings));
|
25937
25942
|
}
|
25938
25943
|
if (settings.message !== '') {
|
25939
|
-
$toast.find(selector.message).html(module.helpers.escape(settings.message));
|
25944
|
+
$toast.find(selector.message).html(module.helpers.escape(settings.message, settings));
|
25940
25945
|
}
|
25941
25946
|
}
|
25942
25947
|
if ($toast.hasClass(className.compact)) {
|
@@ -25961,10 +25966,10 @@
|
|
25961
25966
|
var
|
25962
25967
|
icon = el[fields.icon]
|
25963
25968
|
? '<i ' + (el[fields.text] ? 'aria-hidden="true"' : '')
|
25964
|
-
+ ' class="' + module.helpers.
|
25969
|
+
+ ' class="' + module.helpers.escape(el[fields.icon]) + ' icon"></i>'
|
25965
25970
|
: '',
|
25966
|
-
text = module.helpers.escape(el[fields.text] || ''),
|
25967
|
-
cls = module.helpers.
|
25971
|
+
text = module.helpers.escape(el[fields.text] || '', settings),
|
25972
|
+
cls = module.helpers.escape(el[fields.class] || ''),
|
25968
25973
|
click = el[fields.click] && isFunction(el[fields.click])
|
25969
25974
|
? el[fields.click]
|
25970
25975
|
: function () {}
|
@@ -26293,22 +26298,18 @@
|
|
26293
26298
|
|
26294
26299
|
return result;
|
26295
26300
|
},
|
26296
|
-
|
26297
|
-
|
26298
|
-
},
|
26299
|
-
escape: function (string) {
|
26300
|
-
if (settings.preserveHTML) {
|
26301
|
+
escape: function (string, settings) {
|
26302
|
+
if (settings !== undefined && settings.preserveHTML) {
|
26301
26303
|
return string;
|
26302
26304
|
}
|
26303
26305
|
var
|
26304
|
-
badChars = /["'
|
26305
|
-
shouldEscape = /["&'
|
26306
|
+
badChars = /["'<>]/g,
|
26307
|
+
shouldEscape = /["&'<>]/,
|
26306
26308
|
escape = {
|
26307
26309
|
'<': '<',
|
26308
26310
|
'>': '>',
|
26309
26311
|
'"': '"',
|
26310
|
-
"'": '
|
26311
|
-
'`': '`',
|
26312
|
+
"'": ''',
|
26312
26313
|
},
|
26313
26314
|
escapedChar = function (chr) {
|
26314
26315
|
return escape[chr];
|
@@ -26316,8 +26317,7 @@
|
|
26316
26317
|
;
|
26317
26318
|
if (shouldEscape.test(string)) {
|
26318
26319
|
string = string.replace(/&(?![\d#a-z]{1,12};)/gi, '&');
|
26319
|
-
|
26320
|
-
return string.replace(badChars, escapedChar);
|
26320
|
+
string = string.replace(badChars, escapedChar);
|
26321
26321
|
}
|
26322
26322
|
|
26323
26323
|
return string;
|
@@ -26665,7 +26665,7 @@
|
|
26665
26665
|
})(jQuery, window, document);
|
26666
26666
|
|
26667
26667
|
/*!
|
26668
|
-
* # Fomantic-UI 2.10.0-beta.
|
26668
|
+
* # Fomantic-UI 2.10.0-beta.6+42a411a - Transition
|
26669
26669
|
* https://github.com/fomantic/Fomantic-UI/
|
26670
26670
|
*
|
26671
26671
|
*
|
@@ -27700,7 +27700,7 @@
|
|
27700
27700
|
})(jQuery, window, document);
|
27701
27701
|
|
27702
27702
|
/*!
|
27703
|
-
* # Fomantic-UI 2.10.0-beta.
|
27703
|
+
* # Fomantic-UI 2.10.0-beta.6+42a411a - API
|
27704
27704
|
* https://github.com/fomantic/Fomantic-UI/
|
27705
27705
|
*
|
27706
27706
|
*
|
@@ -28926,7 +28926,7 @@
|
|
28926
28926
|
})(jQuery, window, document);
|
28927
28927
|
|
28928
28928
|
/*!
|
28929
|
-
* # Fomantic-UI 2.10.0-beta.
|
28929
|
+
* # Fomantic-UI 2.10.0-beta.6+42a411a - State
|
28930
28930
|
* https://github.com/fomantic/Fomantic-UI/
|
28931
28931
|
*
|
28932
28932
|
*
|
@@ -29624,7 +29624,7 @@
|
|
29624
29624
|
})(jQuery, window, document);
|
29625
29625
|
|
29626
29626
|
/*!
|
29627
|
-
* # Fomantic-UI 2.10.0-beta.
|
29627
|
+
* # Fomantic-UI 2.10.0-beta.6+42a411a - Visibility
|
29628
29628
|
* https://github.com/fomantic/Fomantic-UI/
|
29629
29629
|
*
|
29630
29630
|
*
|