Skip to content

Commit

Permalink
compiled 4.8.0-mysw-7
Browse files Browse the repository at this point in the history
  • Loading branch information
dotKev committed Jul 5, 2018
1 parent 9ddeeb6 commit 47a8c95
Show file tree
Hide file tree
Showing 49 changed files with 5,025 additions and 5,025 deletions.
34 changes: 17 additions & 17 deletions js/tinymce/plugins/advlist/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ var advlist = (function () {
var cmd = listName === 'UL' ? 'InsertUnorderedList' : 'InsertOrderedList';
editor.execCommand(cmd, false, styleValue === false ? null : { 'list-style-type': styleValue });
};
var $_rxnjj8fjj8vl2zz = { applyListFormat: applyListFormat };
var $_f2zm3d8fjj91awg1 = { applyListFormat: applyListFormat };

var register = function (editor) {
editor.addCommand('ApplyUnorderedListStyle', function (ui, value) {
$_rxnjj8fjj8vl2zz.applyListFormat(editor, 'UL', value['list-style-type']);
$_f2zm3d8fjj91awg1.applyListFormat(editor, 'UL', value['list-style-type']);
});
editor.addCommand('ApplyOrderedListStyle', function (ui, value) {
$_rxnjj8fjj8vl2zz.applyListFormat(editor, 'OL', value['list-style-type']);
$_f2zm3d8fjj91awg1.applyListFormat(editor, 'OL', value['list-style-type']);
});
};
var $_bud05v8ejj8vl2zx = { register: register };
var $_6ph9fl8ejj91awfy = { register: register };

var getNumberStyles = function (editor) {
var styles = editor.getParam('advlist_number_styles', 'default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman');
Expand All @@ -30,7 +30,7 @@ var advlist = (function () {
var styles = editor.getParam('advlist_bullet_styles', 'default,circle,disc,square');
return styles ? styles.split(/[ ,]/) : [];
};
var $_85euvf8hjj8vl304 = {
var $_a53el88hjj91awgc = {
getNumberStyles: getNumberStyles,
getBulletStyles: getBulletStyles
};
Expand All @@ -50,7 +50,7 @@ var advlist = (function () {
var listElm = editor.dom.getParent(editor.selection.getNode(), 'ol,ul');
return editor.dom.getStyle(listElm, 'listStyleType') || '';
};
var $_2n34mq8ijj8vl305 = {
var $_6j1gdb8ijj91awgh = {
isTableCellNode: isTableCellNode,
isListNode: isListNode,
getSelectedStyleType: getSelectedStyleType
Expand All @@ -71,7 +71,7 @@ var advlist = (function () {
};
});
};
var $_27qogv8jjj8vl307 = { toMenuItems: toMenuItems };
var $_dw6y548jjj91awgk = { toMenuItems: toMenuItems };

var findIndex = function (list, predicate) {
for (var index = 0; index < list.length; index++) {
Expand All @@ -86,16 +86,16 @@ var advlist = (function () {
return function (e) {
var ctrl = e.control;
editor.on('NodeChange', function (e) {
var tableCellIndex = findIndex(e.parents, $_2n34mq8ijj8vl305.isTableCellNode);
var tableCellIndex = findIndex(e.parents, $_6j1gdb8ijj91awgh.isTableCellNode);
var parents = tableCellIndex !== -1 ? e.parents.slice(0, tableCellIndex) : e.parents;
var lists = global$1.grep(parents, $_2n34mq8ijj8vl305.isListNode(editor));
var lists = global$1.grep(parents, $_6j1gdb8ijj91awgh.isListNode(editor));
ctrl.active(lists.length > 0 && lists[0].nodeName === listName);
});
};
};
var updateSelection = function (editor) {
return function (e) {
var listStyleType = $_2n34mq8ijj8vl305.getSelectedStyleType(editor);
var listStyleType = $_6j1gdb8ijj91awgh.getSelectedStyleType(editor);
e.control.items().each(function (ctrl) {
ctrl.active(ctrl.settings.data === listStyleType);
});
Expand All @@ -106,11 +106,11 @@ var advlist = (function () {
active: false,
type: 'splitbutton',
tooltip: tooltip,
menu: $_27qogv8jjj8vl307.toMenuItems(styles),
menu: $_dw6y548jjj91awgk.toMenuItems(styles),
onPostRender: listState(editor, nodeName),
onshow: updateSelection(editor),
onselect: function (e) {
$_rxnjj8fjj8vl2zz.applyListFormat(editor, nodeName, e.control.settings.data);
$_f2zm3d8fjj91awg1.applyListFormat(editor, nodeName, e.control.settings.data);
},
onclick: function () {
editor.execCommand(cmd);
Expand All @@ -136,19 +136,19 @@ var advlist = (function () {
}
};
var register$1 = function (editor) {
addControl(editor, 'numlist', 'Numbered list', 'InsertOrderedList', 'OL', $_85euvf8hjj8vl304.getNumberStyles(editor));
addControl(editor, 'bullist', 'Bullet list', 'InsertUnorderedList', 'UL', $_85euvf8hjj8vl304.getBulletStyles(editor));
addControl(editor, 'numlist', 'Numbered list', 'InsertOrderedList', 'OL', $_a53el88hjj91awgc.getNumberStyles(editor));
addControl(editor, 'bullist', 'Bullet list', 'InsertUnorderedList', 'UL', $_a53el88hjj91awgc.getBulletStyles(editor));
};
var $_d717p8gjj8vl301 = { register: register$1 };
var $_fmt6ep8gjj91awg6 = { register: register$1 };

global.add('advlist', function (editor) {
var hasPlugin = function (editor, plugin) {
var plugins = editor.settings.plugins ? editor.settings.plugins : '';
return global$1.inArray(plugins.split(/[ ,]/), plugin) !== -1;
};
if (hasPlugin(editor, 'lists')) {
$_d717p8gjj8vl301.register(editor);
$_bud05v8ejj8vl2zx.register(editor);
$_fmt6ep8gjj91awg6.register(editor);
$_6ph9fl8ejj91awfy.register(editor);
}
});
function Plugin () {
Expand Down
24 changes: 12 additions & 12 deletions js/tinymce/plugins/anchor/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,23 @@ var anchor = (function () {
editor.execCommand('mceInsertContent', false, editor.dom.createHTML('a', { id: id }));
}
};
var $_flnb5l8ojj8vl30w = {
var $_6ltlxi8ojj91awht = {
isValidId: isValidId,
getId: getId,
insert: insert
};

var insertAnchor = function (editor, newId) {
if (!$_flnb5l8ojj8vl30w.isValidId(newId)) {
if (!$_6ltlxi8ojj91awht.isValidId(newId)) {
editor.windowManager.alert('Id should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.');
return true;
} else {
$_flnb5l8ojj8vl30w.insert(editor, newId);
$_6ltlxi8ojj91awht.insert(editor, newId);
return false;
}
};
var open = function (editor) {
var currentId = $_flnb5l8ojj8vl30w.getId(editor);
var currentId = $_6ltlxi8ojj91awht.getId(editor);
editor.windowManager.open({
title: 'Anchor',
body: {
Expand All @@ -59,14 +59,14 @@ var anchor = (function () {
}
});
};
var $_gdsy108njj8vl30u = { open: open };
var $_cbczmi8njj91awhp = { open: open };

var register = function (editor) {
editor.addCommand('mceAnchor', function () {
$_gdsy108njj8vl30u.open(editor);
$_cbczmi8njj91awhp.open(editor);
});
};
var $_eccxcr8mjj8vl30s = { register: register };
var $_brg7a78mjj91awhl = { register: register };

var isAnchorNode = function (node) {
return !node.attr('href') && (node.attr('id') || node.attr('name')) && !node.firstChild;
Expand All @@ -86,7 +86,7 @@ var anchor = (function () {
editor.serializer.addNodeFilter('a', setContentEditable(null));
});
};
var $_fpyt0e8pjj8vl30y = { setup: setup };
var $_2yx4sq8pjj91awhx = { setup: setup };

var register$1 = function (editor) {
editor.addButton('anchor', {
Expand All @@ -102,12 +102,12 @@ var anchor = (function () {
cmd: 'mceAnchor'
});
};
var $_8w2ixs8qjj8vl310 = { register: register$1 };
var $_c0p1ys8qjj91awi0 = { register: register$1 };

global.add('anchor', function (editor) {
$_fpyt0e8pjj8vl30y.setup(editor);
$_eccxcr8mjj8vl30s.register(editor);
$_8w2ixs8qjj8vl310.register(editor);
$_2yx4sq8pjj91awhx.setup(editor);
$_brg7a78mjj91awhl.register(editor);
$_c0p1ys8qjj91awi0.register(editor);
});
function Plugin () {
}
Expand Down
10 changes: 5 additions & 5 deletions js/tinymce/plugins/autolink/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var autolink = (function () {
var getDefaultLinkTarget = function (editor) {
return editor.getParam('default_link_target', '');
};
var $_2mnicm8vjj8vl31i = {
var $_3olpeq8vjj91awj1 = {
getAutoLinkPattern: getAutoLinkPattern,
getDefaultLinkTarget: getDefaultLinkTarget
};
Expand Down Expand Up @@ -57,8 +57,8 @@ var autolink = (function () {
};
var parseCurrentLine = function (editor, endOffset, delimiter) {
var rng, end, start, endContainer, bookmark, text, matches, prev, len, rngText;
var autoLinkPattern = $_2mnicm8vjj8vl31i.getAutoLinkPattern(editor);
var defaultLinkTarget = $_2mnicm8vjj8vl31i.getDefaultLinkTarget(editor);
var autoLinkPattern = $_3olpeq8vjj91awj1.getAutoLinkPattern(editor);
var defaultLinkTarget = $_3olpeq8vjj91awj1.getDefaultLinkTarget(editor);
if (editor.selection.getNode().tagName === 'A') {
return;
}
Expand Down Expand Up @@ -166,10 +166,10 @@ var autolink = (function () {
}
});
};
var $_ane4zy8tjj8vl31e = { setup: setup };
var $_2womlr8tjj91awiq = { setup: setup };

global.add('autolink', function (editor) {
$_ane4zy8tjj8vl31e.setup(editor);
$_2womlr8tjj91awiq.setup(editor);
});
function Plugin () {
}
Expand Down
24 changes: 12 additions & 12 deletions js/tinymce/plugins/autoresize/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var autoresize = (function () {
var shouldAutoResizeOnInit = function (editor) {
return editor.getParam('autoresize_on_init', true);
};
var $_ajz8793jj8vl32l = {
var $_gckwsx93jj91awkw = {
getAutoResizeMinHeight: getAutoResizeMinHeight,
getAutoResizeMaxHeight: getAutoResizeMaxHeight,
getAutoResizeOverflowPadding: getAutoResizeOverflowPadding,
Expand Down Expand Up @@ -84,7 +84,7 @@ var autoresize = (function () {
return;
}
body = doc.body;
resizeHeight = $_ajz8793jj8vl32l.getAutoResizeMinHeight(editor);
resizeHeight = $_gckwsx93jj91awkw.getAutoResizeMinHeight(editor);
marginTop = dom.getStyle(body, 'margin-top', true);
marginBottom = dom.getStyle(body, 'margin-bottom', true);
paddingTop = dom.getStyle(body, 'padding-top', true);
Expand All @@ -95,10 +95,10 @@ var autoresize = (function () {
if (isNaN(myHeight) || myHeight <= 0) {
myHeight = global$1.ie ? body.scrollHeight : global$1.webkit && body.clientHeight === 0 ? 0 : body.offsetHeight;
}
if (myHeight > $_ajz8793jj8vl32l.getAutoResizeMinHeight(editor)) {
if (myHeight > $_gckwsx93jj91awkw.getAutoResizeMinHeight(editor)) {
resizeHeight = myHeight;
}
var maxHeight = $_ajz8793jj8vl32l.getAutoResizeMaxHeight(editor);
var maxHeight = $_gckwsx93jj91awkw.getAutoResizeMaxHeight(editor);
if (maxHeight && myHeight > maxHeight) {
resizeHeight = maxHeight;
toggleScrolling(editor, true);
Expand All @@ -118,8 +118,8 @@ var autoresize = (function () {
editor.on('init', function () {
var overflowPadding, bottomMargin;
var dom = editor.dom;
overflowPadding = $_ajz8793jj8vl32l.getAutoResizeOverflowPadding(editor);
bottomMargin = $_ajz8793jj8vl32l.getAutoResizeBottomMargin(editor);
overflowPadding = $_gckwsx93jj91awkw.getAutoResizeOverflowPadding(editor);
bottomMargin = $_gckwsx93jj91awkw.getAutoResizeBottomMargin(editor);
if (overflowPadding !== false) {
dom.setStyles(editor.getBody(), {
paddingLeft: overflowPadding,
Expand All @@ -133,31 +133,31 @@ var autoresize = (function () {
editor.on('nodechange setcontent keyup FullscreenStateChanged', function (e) {
resize(editor, oldSize);
});
if ($_ajz8793jj8vl32l.shouldAutoResizeOnInit(editor)) {
if ($_gckwsx93jj91awkw.shouldAutoResizeOnInit(editor)) {
editor.on('init', function () {
wait(editor, oldSize, 20, 100, function () {
wait(editor, oldSize, 5, 1000);
});
});
}
};
var $_au6g5l90jj8vl32d = {
var $_ags74c90jj91awkl = {
setup: setup,
resize: resize
};

var register = function (editor, oldSize) {
editor.addCommand('mceAutoResize', function () {
$_au6g5l90jj8vl32d.resize(editor, oldSize);
$_ags74c90jj91awkl.resize(editor, oldSize);
});
};
var $_1z7iep8zjj8vl32a = { register: register };
var $_2o8oif8zjj91awkh = { register: register };

global.add('autoresize', function (editor) {
if (!editor.inline) {
var oldSize = Cell(0);
$_1z7iep8zjj8vl32a.register(editor, oldSize);
$_au6g5l90jj8vl32d.setup(editor, oldSize);
$_2o8oif8zjj91awkh.register(editor, oldSize);
$_ags74c90jj91awkl.setup(editor, oldSize);
}
});
function Plugin () {
Expand Down
Loading

0 comments on commit 47a8c95

Please sign in to comment.