Compiled assets

This commit is contained in:
echarp 2019-12-21 21:01:38 +01:00
parent 57df9016b0
commit c3d30d2430
975 changed files with 755 additions and 201111 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -20135,7 +20135,7 @@ window.tinymce = window.tinymce || {
* For LGPL see License.txt in the project root for license information. * For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/ * For commercial licenses see https://www.tiny.cloud/
* *
* Version: 5.1.1 (2019-10-28) * Version: 5.1.4 (2019-12-11)
*/ */
(function (domGlobals) { (function (domGlobals) {
'use strict'; 'use strict';
@ -26467,13 +26467,13 @@ window.tinymce = window.tinymce || {
}; };
var getBounds = function (_win) { var getBounds = function (_win) {
var win = _win === undefined ? domGlobals.window : _win; var win = _win === undefined ? domGlobals.window : _win;
var doc = win.document;
var scroll = get$3(Element.fromDom(doc));
var visualViewport = win['visualViewport']; var visualViewport = win['visualViewport'];
if (visualViewport !== undefined) { if (visualViewport !== undefined) {
return bounds(visualViewport.pageLeft, visualViewport.pageTop, visualViewport.width, visualViewport.height); return bounds(Math.max(visualViewport.pageLeft, scroll.left()), Math.max(visualViewport.pageTop, scroll.top()), visualViewport.width, visualViewport.height);
} else { } else {
var doc = Element.fromDom(win.document); var html = doc.documentElement;
var html = win.document.documentElement;
var scroll = get$3(doc);
var width = html.clientWidth; var width = html.clientWidth;
var height = html.clientHeight; var height = html.clientHeight;
return bounds(scroll.left(), scroll.top(), width, height); return bounds(scroll.left(), scroll.top(), width, height);
@ -31062,7 +31062,7 @@ window.tinymce = window.tinymce || {
value: value value: value
}); });
}; };
tokenRegExp = new RegExp('<(?:' + '(?:!--([\\w\\W]*?)-->)|' + '(?:!\\[CDATA\\[([\\w\\W]*?)\\]\\]>)|' + '(?:!DOCTYPE([\\w\\W]*?)>)|' + '(?:\\?([^\\s\\/<>]+) ?([\\w\\W]*?)[?/]>)|' + '(?:\\/([A-Za-z][A-Za-z0-9\\-_\\:\\.]*)>)|' + '(?:([A-Za-z][A-Za-z0-9\\-_\\:\\.]*)((?:\\s+[^"\'>]+(?:(?:"[^"]*")|(?:\'[^\']*\')|[^>]*))*|\\/|\\s+)>)' + ')', 'g'); tokenRegExp = new RegExp('<(?:' + '(?:!--([\\w\\W]*?)--!?>)|' + '(?:!\\[CDATA\\[([\\w\\W]*?)\\]\\]>)|' + '(?:!DOCTYPE([\\w\\W]*?)>)|' + '(?:\\?([^\\s\\/<>]+) ?([\\w\\W]*?)[?/]>)|' + '(?:\\/([A-Za-z][A-Za-z0-9\\-_\\:\\.]*)>)|' + '(?:([A-Za-z][A-Za-z0-9\\-_\\:\\.]*)((?:\\s+[^"\'>]+(?:(?:"[^"]*")|(?:\'[^\']*\')|[^>]*))*|\\/|\\s+)>)' + ')', 'g');
attrRegExp = /([\w:\-]+)(?:\s*=\s*(?:(?:\"((?:[^\"])*)\")|(?:\'((?:[^\'])*)\')|([^>\s]+)))?/g; attrRegExp = /([\w:\-]+)(?:\s*=\s*(?:(?:\"((?:[^\"])*)\")|(?:\'((?:[^\'])*)\')|([^>\s]+)))?/g;
shortEndedElements = schema.getShortEndedElements(); shortEndedElements = schema.getShortEndedElements();
selfClosing = settings.self_closing_elements || schema.getSelfClosingElements(); selfClosing = settings.self_closing_elements || schema.getSelfClosingElements();
@ -32451,6 +32451,7 @@ window.tinymce = window.tinymce || {
var deviceDetection = detect$3().deviceType; var deviceDetection = detect$3().deviceType;
var isTouch = deviceDetection.isTouch(); var isTouch = deviceDetection.isTouch();
var isPhone = deviceDetection.isPhone(); var isPhone = deviceDetection.isPhone();
var isTablet = deviceDetection.isTablet();
var legacyMobilePlugins = [ var legacyMobilePlugins = [
'lists', 'lists',
'autolink', 'autolink',
@ -32528,7 +32529,7 @@ window.tinymce = window.tinymce || {
var getDefaultMobileSettings = function (isPhone) { var getDefaultMobileSettings = function (isPhone) {
var defaultMobileSettings = { var defaultMobileSettings = {
resize: false, resize: false,
toolbar_drawer: false, toolbar_drawer: 'scrolling',
toolbar_sticky: false toolbar_sticky: false
}; };
var defaultPhoneSettings = { menubar: false }; var defaultPhoneSettings = { menubar: false };
@ -32545,30 +32546,30 @@ window.tinymce = window.tinymce || {
var combinePlugins = function (forcedPlugins, plugins) { var combinePlugins = function (forcedPlugins, plugins) {
return [].concat(normalizePlugins(forcedPlugins)).concat(normalizePlugins(plugins)); return [].concat(normalizePlugins(forcedPlugins)).concat(normalizePlugins(plugins));
}; };
var processPlugins = function (isTouchDevice, sectionResult, defaultOverrideSettings, settings) { var processPlugins = function (isMobileDevice, sectionResult, defaultOverrideSettings, settings) {
var forcedPlugins = normalizePlugins(defaultOverrideSettings.forced_plugins); var forcedPlugins = normalizePlugins(defaultOverrideSettings.forced_plugins);
var desktopPlugins = normalizePlugins(settings.plugins); var desktopPlugins = normalizePlugins(settings.plugins);
var mobileConfig = getSectionConfig(sectionResult, 'mobile'); var mobileConfig = getSectionConfig(sectionResult, 'mobile');
var mobilePlugins = mobileConfig.plugins ? normalizePlugins(mobileConfig.plugins) : desktopPlugins; var mobilePlugins = mobileConfig.plugins ? normalizePlugins(mobileConfig.plugins) : desktopPlugins;
var platformPlugins = isTouchDevice && isSectionTheme(sectionResult, 'mobile', 'mobile') ? filterLegacyMobilePlugins(mobilePlugins) : isTouchDevice && hasSection(sectionResult, 'mobile') ? mobilePlugins : desktopPlugins; var platformPlugins = isMobileDevice && isSectionTheme(sectionResult, 'mobile', 'mobile') ? filterLegacyMobilePlugins(mobilePlugins) : isMobileDevice && hasSection(sectionResult, 'mobile') ? mobilePlugins : desktopPlugins;
var combinedPlugins = combinePlugins(forcedPlugins, platformPlugins); var combinedPlugins = combinePlugins(forcedPlugins, platformPlugins);
return Tools.extend(settings, { plugins: combinedPlugins.join(' ') }); return Tools.extend(settings, { plugins: combinedPlugins.join(' ') });
}; };
var isOnMobile = function (isTouchDevice, sectionResult) { var isOnMobile = function (isMobileDevice, sectionResult) {
return isTouchDevice && hasSection(sectionResult, 'mobile'); return isMobileDevice && hasSection(sectionResult, 'mobile');
}; };
var combineSettings = function (isTouchDevice, isPhone, defaultSettings, defaultOverrideSettings, settings) { var combineSettings = function (isMobileDevice, isPhone, defaultSettings, defaultOverrideSettings, settings) {
var defaultDeviceSettings = isTouchDevice ? { mobile: getDefaultMobileSettings(isPhone) } : {}; var defaultDeviceSettings = isMobileDevice ? { mobile: getDefaultMobileSettings(isPhone) } : {};
var sectionResult = extractSections(['mobile'], deepMerge(defaultDeviceSettings, settings)); var sectionResult = extractSections(['mobile'], deepMerge(defaultDeviceSettings, settings));
var extendedSettings = Tools.extend(defaultSettings, defaultOverrideSettings, sectionResult.settings(), isOnMobile(isTouchDevice, sectionResult) ? getSection(sectionResult, 'mobile') : {}, { var extendedSettings = Tools.extend(defaultSettings, defaultOverrideSettings, sectionResult.settings(), isOnMobile(isMobileDevice, sectionResult) ? getSection(sectionResult, 'mobile') : {}, {
validate: true, validate: true,
external_plugins: getExternalPlugins(defaultOverrideSettings, sectionResult.settings()) external_plugins: getExternalPlugins(defaultOverrideSettings, sectionResult.settings())
}); });
return processPlugins(isTouchDevice, sectionResult, defaultOverrideSettings, extendedSettings); return processPlugins(isMobileDevice, sectionResult, defaultOverrideSettings, extendedSettings);
}; };
var getEditorSettings = function (editor, id, documentBaseUrl, defaultOverrideSettings, settings) { var getEditorSettings = function (editor, id, documentBaseUrl, defaultOverrideSettings, settings) {
var defaultSettings = getDefaultSettings(id, documentBaseUrl, isTouch, editor); var defaultSettings = getDefaultSettings(id, documentBaseUrl, isTouch, editor);
return combineSettings(isTouch, isPhone, defaultSettings, defaultOverrideSettings, settings); return combineSettings(isPhone || isTablet, isPhone, defaultSettings, defaultOverrideSettings, settings);
}; };
var getFiltered = function (predicate, editor, name) { var getFiltered = function (predicate, editor, name) {
return Option.from(editor.settings[name]).filter(predicate); return Option.from(editor.settings[name]).filter(predicate);
@ -42131,7 +42132,7 @@ window.tinymce = window.tinymce || {
var isBeforeContentEditableFalseFn = forward ? isBeforeContentEditableFalse : isAfterContentEditableFalse; var isBeforeContentEditableFalseFn = forward ? isBeforeContentEditableFalse : isAfterContentEditableFalse;
var caretPosition = getNormalizedRangeEndPoint(direction, editor.getBody(), range); var caretPosition = getNormalizedRangeEndPoint(direction, editor.getBody(), range);
var nextCaretPosition = InlineUtils.normalizePosition(forward, getNextPosFn(caretPosition)); var nextCaretPosition = InlineUtils.normalizePosition(forward, getNextPosFn(caretPosition));
if (!nextCaretPosition) { if (!nextCaretPosition || !isMoveInsideSameBlock(caretPosition, nextCaretPosition)) {
return false; return false;
} else if (isBeforeContentEditableFalseFn(nextCaretPosition)) { } else if (isBeforeContentEditableFalseFn(nextCaretPosition)) {
return deleteContentAndShowCaret(editor, range, caretPosition.getNode(), direction, forward, nextCaretPosition); return deleteContentAndShowCaret(editor, range, caretPosition.getNode(), direction, forward, nextCaretPosition);
@ -47301,8 +47302,8 @@ window.tinymce = window.tinymce || {
suffix: null, suffix: null,
$: DomQuery, $: DomQuery,
majorVersion: '5', majorVersion: '5',
minorVersion: '1.1', minorVersion: '1.4',
releaseDate: '2019-10-28', releaseDate: '2019-12-11',
editors: legacyEditors, editors: legacyEditors,
i18n: I18n, i18n: I18n,
activeEditor: null, activeEditor: null,
@ -52992,7 +52993,7 @@ exports.MarkerCluster = MarkerCluster;
branding: false, branding: false,
language: 'fr_FR', language: 'fr_FR',
selector: 'input.description', selector: 'input.description',
content_css: '/assets/application-057b12d80186388517367b4186b1d91bd32e59da43c21a96b37022c082527ec5.css', content_css: '/assets/application-2787d6ed87f3f83fc6325ce89dc84f7e80e3148c1224e41f9cc9e51509747d00.css',
entity_encoding: 'raw', entity_encoding: 'raw',
add_unload_trigger: true, add_unload_trigger: true,
browser_spellcheck: true, browser_spellcheck: true,

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More