Version Description
(01-06-2022) = * Fix: JS file missing issue
Download this release
Release Info
Developer | rextheme |
Plugin | WP VR – 360 Panorama and virtual tour creator for WordPress |
Version | 7.3.10 |
Comparing to | |
See all releases |
Code changes from version 7.3.9 to 7.3.10
- README.txt +4 -1
- admin/lib/summernote/font/summernote.eot +0 -0
- admin/lib/summernote/font/summernote.ttf +0 -0
- admin/lib/summernote/font/summernote.woff +0 -0
- admin/lib/summernote/font/summernote.woff2 +0 -0
- admin/lib/summernote/lang/summernote-ar-AR.js +274 -0
- admin/lib/summernote/lang/summernote-ar-AR.min.js +2 -0
- admin/lib/summernote/lang/summernote-ar-AR.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-az-AZ.js +283 -0
- admin/lib/summernote/lang/summernote-az-AZ.min.js +2 -0
- admin/lib/summernote/lang/summernote-az-AZ.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-bg-BG.js +274 -0
- admin/lib/summernote/lang/summernote-bg-BG.min.js +2 -0
- admin/lib/summernote/lang/summernote-bg-BG.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-ca-ES.js +273 -0
- admin/lib/summernote/lang/summernote-ca-ES.min.js +2 -0
- admin/lib/summernote/lang/summernote-ca-ES.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-cs-CZ.js +268 -0
- admin/lib/summernote/lang/summernote-cs-CZ.min.js +2 -0
- admin/lib/summernote/lang/summernote-cs-CZ.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-da-DK.js +273 -0
- admin/lib/summernote/lang/summernote-da-DK.min.js +2 -0
- admin/lib/summernote/lang/summernote-da-DK.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-de-DE.js +274 -0
- admin/lib/summernote/lang/summernote-de-DE.min.js +2 -0
- admin/lib/summernote/lang/summernote-de-DE.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-el-GR.js +281 -0
- admin/lib/summernote/lang/summernote-el-GR.min.js +2 -0
- admin/lib/summernote/lang/summernote-el-GR.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-es-ES.js +280 -0
- admin/lib/summernote/lang/summernote-es-ES.min.js +2 -0
- admin/lib/summernote/lang/summernote-es-ES.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-es-EU.js +272 -0
- admin/lib/summernote/lang/summernote-es-EU.min.js +2 -0
- admin/lib/summernote/lang/summernote-es-EU.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-fa-IR.js +273 -0
- admin/lib/summernote/lang/summernote-fa-IR.min.js +2 -0
- admin/lib/summernote/lang/summernote-fa-IR.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-fi-FI.js +271 -0
- admin/lib/summernote/lang/summernote-fi-FI.min.js +2 -0
- admin/lib/summernote/lang/summernote-fi-FI.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-fr-FR.js +273 -0
- admin/lib/summernote/lang/summernote-fr-FR.min.js +2 -0
- admin/lib/summernote/lang/summernote-fr-FR.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-gl-ES.js +273 -0
- admin/lib/summernote/lang/summernote-gl-ES.min.js +2 -0
- admin/lib/summernote/lang/summernote-gl-ES.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-he-IL.js +273 -0
- admin/lib/summernote/lang/summernote-he-IL.min.js +2 -0
- admin/lib/summernote/lang/summernote-he-IL.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-hr-HR.js +273 -0
- admin/lib/summernote/lang/summernote-hr-HR.min.js +2 -0
- admin/lib/summernote/lang/summernote-hr-HR.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-hu-HU.js +273 -0
- admin/lib/summernote/lang/summernote-hu-HU.min.js +2 -0
- admin/lib/summernote/lang/summernote-hu-HU.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-id-ID.js +273 -0
- admin/lib/summernote/lang/summernote-id-ID.min.js +2 -0
- admin/lib/summernote/lang/summernote-id-ID.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-it-IT.js +273 -0
- admin/lib/summernote/lang/summernote-it-IT.min.js +2 -0
- admin/lib/summernote/lang/summernote-it-IT.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-ja-JP.js +273 -0
- admin/lib/summernote/lang/summernote-ja-JP.min.js +2 -0
- admin/lib/summernote/lang/summernote-ja-JP.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-ko-KR.js +275 -0
- admin/lib/summernote/lang/summernote-ko-KR.min.js +2 -0
- admin/lib/summernote/lang/summernote-ko-KR.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-lt-LT.js +273 -0
- admin/lib/summernote/lang/summernote-lt-LT.min.js +2 -0
- admin/lib/summernote/lang/summernote-lt-LT.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-lt-LV.js +273 -0
- admin/lib/summernote/lang/summernote-lt-LV.min.js +2 -0
- admin/lib/summernote/lang/summernote-lt-LV.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-mn-MN.js +274 -0
- admin/lib/summernote/lang/summernote-mn-MN.min.js +2 -0
- admin/lib/summernote/lang/summernote-mn-MN.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-nb-NO.js +272 -0
- admin/lib/summernote/lang/summernote-nb-NO.min.js +2 -0
- admin/lib/summernote/lang/summernote-nb-NO.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-nl-NL.js +273 -0
- admin/lib/summernote/lang/summernote-nl-NL.min.js +2 -0
- admin/lib/summernote/lang/summernote-nl-NL.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-pl-PL.js +273 -0
- admin/lib/summernote/lang/summernote-pl-PL.min.js +2 -0
- admin/lib/summernote/lang/summernote-pl-PL.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-pt-BR.js +274 -0
- admin/lib/summernote/lang/summernote-pt-BR.min.js +2 -0
- admin/lib/summernote/lang/summernote-pt-BR.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-pt-PT.js +273 -0
- admin/lib/summernote/lang/summernote-pt-PT.min.js +2 -0
- admin/lib/summernote/lang/summernote-pt-PT.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-ro-RO.js +273 -0
- admin/lib/summernote/lang/summernote-ro-RO.min.js +2 -0
- admin/lib/summernote/lang/summernote-ro-RO.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-ru-RU.js +273 -0
- admin/lib/summernote/lang/summernote-ru-RU.min.js +2 -0
- admin/lib/summernote/lang/summernote-ru-RU.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-sk-SK.js +271 -0
- admin/lib/summernote/lang/summernote-sk-SK.min.js +2 -0
- admin/lib/summernote/lang/summernote-sk-SK.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-sl-SI.js +273 -0
- admin/lib/summernote/lang/summernote-sl-SI.min.js +2 -0
- admin/lib/summernote/lang/summernote-sl-SI.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-sr-RS-Latin.js +273 -0
- admin/lib/summernote/lang/summernote-sr-RS-Latin.min.js +2 -0
- admin/lib/summernote/lang/summernote-sr-RS-Latin.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-sr-RS.js +273 -0
- admin/lib/summernote/lang/summernote-sr-RS.min.js +2 -0
- admin/lib/summernote/lang/summernote-sr-RS.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-sv-SE.js +273 -0
- admin/lib/summernote/lang/summernote-sv-SE.min.js +2 -0
- admin/lib/summernote/lang/summernote-sv-SE.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-ta-IN.js +273 -0
- admin/lib/summernote/lang/summernote-ta-IN.min.js +2 -0
- admin/lib/summernote/lang/summernote-ta-IN.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-th-TH.js +273 -0
- admin/lib/summernote/lang/summernote-th-TH.min.js +2 -0
- admin/lib/summernote/lang/summernote-th-TH.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-tr-TR.js +273 -0
- admin/lib/summernote/lang/summernote-tr-TR.min.js +2 -0
- admin/lib/summernote/lang/summernote-tr-TR.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-uk-UA.js +273 -0
- admin/lib/summernote/lang/summernote-uk-UA.min.js +2 -0
- admin/lib/summernote/lang/summernote-uk-UA.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-uz-UZ.js +230 -0
- admin/lib/summernote/lang/summernote-uz-UZ.min.js +2 -0
- admin/lib/summernote/lang/summernote-uz-UZ.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-vi-VN.js +273 -0
- admin/lib/summernote/lang/summernote-vi-VN.min.js +2 -0
- admin/lib/summernote/lang/summernote-vi-VN.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-zh-CN.js +273 -0
- admin/lib/summernote/lang/summernote-zh-CN.min.js +2 -0
- admin/lib/summernote/lang/summernote-zh-CN.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/lang/summernote-zh-TW.js +273 -0
- admin/lib/summernote/lang/summernote-zh-TW.min.js +2 -0
- admin/lib/summernote/lang/summernote-zh-TW.min.js.LICENSE.txt +1 -0
- admin/lib/summernote/plugin/databasic/summernote-ext-databasic.css +16 -0
- admin/lib/summernote/plugin/databasic/summernote-ext-databasic.js +291 -0
- admin/lib/summernote/plugin/hello/summernote-ext-hello.js +82 -0
- admin/lib/summernote/plugin/specialchars/summernote-ext-specialchars.js +311 -0
- admin/lib/summernote/summernote-bs4.css +13 -0
- admin/lib/summernote/summernote-bs4.js +9198 -0
README.txt
CHANGED
@@ -5,7 +5,7 @@ Donate link: https://rextheme.com/wp-vr-360-panorama-and-virtual-tour-creator-fo
|
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 6.0.0
|
7 |
Requires PHP: 7.0.0
|
8 |
-
Stable tag: 7.3.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -323,6 +323,9 @@ Admins can remove the access from Authors and Editors at any time.
|
|
323 |
|
324 |
== Changelog ==
|
325 |
|
|
|
|
|
|
|
326 |
= 7.3.9 (01-06-2022) =
|
327 |
* New: WYSIWYG Editor Integration for On-click & On-hover Hotspot content.
|
328 |
* New: Close On-click windows on any click.
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 6.0.0
|
7 |
Requires PHP: 7.0.0
|
8 |
+
Stable tag: 7.3.10
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
323 |
|
324 |
== Changelog ==
|
325 |
|
326 |
+
= 7.3.10 (01-06-2022) =
|
327 |
+
* Fix: JS file missing issue
|
328 |
+
|
329 |
= 7.3.9 (01-06-2022) =
|
330 |
* New: WYSIWYG Editor Integration for On-click & On-hover Hotspot content.
|
331 |
* New: Close On-click windows on any click.
|
admin/lib/summernote/font/summernote.eot
ADDED
Binary file
|
admin/lib/summernote/font/summernote.ttf
ADDED
Binary file
|
admin/lib/summernote/font/summernote.woff
ADDED
Binary file
|
admin/lib/summernote/font/summernote.woff2
ADDED
Binary file
|
admin/lib/summernote/lang/summernote-ar-AR.js
ADDED
@@ -0,0 +1,274 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 7);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 7:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'ar-AR': {
|
117 |
+
font: {
|
118 |
+
bold: 'عريض',
|
119 |
+
italic: 'مائل',
|
120 |
+
underline: 'تحته خط',
|
121 |
+
clear: 'مسح التنسيق',
|
122 |
+
height: 'إرتفاع السطر',
|
123 |
+
name: 'الخط',
|
124 |
+
strikethrough: 'فى وسطه خط',
|
125 |
+
subscript: 'مخطوطة',
|
126 |
+
superscript: 'حرف فوقي',
|
127 |
+
size: 'الحجم'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'صورة',
|
131 |
+
insert: 'إضافة صورة',
|
132 |
+
resizeFull: 'الحجم بالكامل',
|
133 |
+
resizeHalf: 'تصغير للنصف',
|
134 |
+
resizeQuarter: 'تصغير للربع',
|
135 |
+
floatLeft: 'تطيير لليسار',
|
136 |
+
floatRight: 'تطيير لليمين',
|
137 |
+
floatNone: 'ثابته',
|
138 |
+
shapeRounded: 'الشكل: تقريب',
|
139 |
+
shapeCircle: 'الشكل: دائرة',
|
140 |
+
shapeThumbnail: 'الشكل: صورة مصغرة',
|
141 |
+
shapeNone: 'الشكل: لا شيء',
|
142 |
+
dragImageHere: 'إدرج الصورة هنا',
|
143 |
+
dropImage: 'إسقاط صورة أو نص',
|
144 |
+
selectFromFiles: 'حدد ملف',
|
145 |
+
maximumFileSize: 'الحد الأقصى لحجم الملف',
|
146 |
+
maximumFileSizeError: 'تم تجاوز الحد الأقصى لحجم الملف',
|
147 |
+
url: 'رابط الصورة',
|
148 |
+
remove: 'حذف الصورة',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'فيديو',
|
153 |
+
videoLink: 'رابط الفيديو',
|
154 |
+
insert: 'إدراج الفيديو',
|
155 |
+
url: 'رابط الفيديو',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ou Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'رابط',
|
160 |
+
insert: 'إدراج',
|
161 |
+
unlink: 'حذف الرابط',
|
162 |
+
edit: 'تعديل',
|
163 |
+
textToDisplay: 'النص',
|
164 |
+
url: 'مسار الرابط',
|
165 |
+
openInNewWindow: 'فتح في نافذة جديدة'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'جدول',
|
169 |
+
addRowAbove: 'إضافة سطر أعلاه',
|
170 |
+
addRowBelow: 'إضافة سطر أدناه',
|
171 |
+
addColLeft: 'إضافة عمود قبله',
|
172 |
+
addColRight: 'إضافة عمود بعده',
|
173 |
+
delRow: 'حذف سطر',
|
174 |
+
delCol: 'حذف عمود',
|
175 |
+
delTable: 'حذف الجدول'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'إدراج خط أفقي'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'تنسيق',
|
182 |
+
p: 'عادي',
|
183 |
+
blockquote: 'إقتباس',
|
184 |
+
pre: 'شفيرة',
|
185 |
+
h1: 'عنوان رئيسي 1',
|
186 |
+
h2: 'عنوان رئيسي 2',
|
187 |
+
h3: 'عنوان رئيسي 3',
|
188 |
+
h4: 'عنوان رئيسي 4',
|
189 |
+
h5: 'عنوان رئيسي 5',
|
190 |
+
h6: 'عنوان رئيسي 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'قائمة مُنقطة',
|
194 |
+
ordered: 'قائمة مُرقمة'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'مساعدة',
|
198 |
+
fullscreen: 'حجم الشاشة بالكامل',
|
199 |
+
codeview: 'شفيرة المصدر'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'فقرة',
|
203 |
+
outdent: 'محاذاة للخارج',
|
204 |
+
indent: 'محاذاة للداخل',
|
205 |
+
left: 'محاذاة لليسار',
|
206 |
+
center: 'توسيط',
|
207 |
+
right: 'محاذاة لليمين',
|
208 |
+
justify: 'ملئ السطر'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'تم إستخدامه',
|
212 |
+
more: 'المزيد',
|
213 |
+
background: 'لون الخلفية',
|
214 |
+
foreground: 'لون النص',
|
215 |
+
transparent: 'شفاف',
|
216 |
+
setTransparent: 'بدون خلفية',
|
217 |
+
reset: 'إعادة الضبط',
|
218 |
+
resetToDefault: 'إعادة الضبط',
|
219 |
+
cpSelect: 'اختار'
|
220 |
+
},
|
221 |
+
shortcut: {
|
222 |
+
shortcuts: 'إختصارات',
|
223 |
+
close: 'غلق',
|
224 |
+
textFormatting: 'تنسيق النص',
|
225 |
+
action: 'Action',
|
226 |
+
paragraphFormatting: 'تنسيق الفقرة',
|
227 |
+
documentStyle: 'تنسيق المستند',
|
228 |
+
extraKeys: 'أزرار إضافية'
|
229 |
+
},
|
230 |
+
help: {
|
231 |
+
'insertParagraph': 'إدراج فقرة',
|
232 |
+
'undo': 'تراجع عن آخر أمر',
|
233 |
+
'redo': 'إعادة تنفيذ آخر أمر',
|
234 |
+
'tab': 'إزاحة (تاب)',
|
235 |
+
'untab': 'سحب النص باتجاه البداية',
|
236 |
+
'bold': 'تنسيق عريض',
|
237 |
+
'italic': 'تنسيق مائل',
|
238 |
+
'underline': 'تنسيق خط سفلي',
|
239 |
+
'strikethrough': 'تنسيق خط متوسط للنص',
|
240 |
+
'removeFormat': 'إزالة التنسيقات',
|
241 |
+
'justifyLeft': 'محاذاة لليسار',
|
242 |
+
'justifyCenter': 'محاذاة توسيط',
|
243 |
+
'justifyRight': 'محاذاة لليمين',
|
244 |
+
'justifyFull': 'محاذاة كاملة',
|
245 |
+
'insertUnorderedList': 'قائمة منقّطة',
|
246 |
+
'insertOrderedList': 'قائمة مرقّمة',
|
247 |
+
'outdent': 'إزاحة للأمام على الفقرة الحالية',
|
248 |
+
'indent': 'إزاحة للخلف على الفقرة الحالية',
|
249 |
+
'formatPara': 'تغيير التنسيق للكتلة الحالية إلى فقرة',
|
250 |
+
'formatH1': 'تغيير التنسيق للكتلة الحالية إلى ترويسة 1',
|
251 |
+
'formatH2': 'تغيير التنسيق للكتلة الحالية إلى ترويسة 2',
|
252 |
+
'formatH3': 'تغيير التنسيق للكتلة الحالية إلى ترويسة 3',
|
253 |
+
'formatH4': 'تغيير التنسيق للكتلة الحالية إلى ترويسة 4',
|
254 |
+
'formatH5': 'تغيير التنسيق للكتلة الحالية إلى ترويسة 5',
|
255 |
+
'formatH6': 'تغيير التنسيق للكتلة الحالية إلى ترويسة 6',
|
256 |
+
'insertHorizontalRule': 'إدراج خط أفقي',
|
257 |
+
'linkDialog.show': 'إظهار خصائص الرابط'
|
258 |
+
},
|
259 |
+
history: {
|
260 |
+
undo: 'تراجع',
|
261 |
+
redo: 'إعادة'
|
262 |
+
},
|
263 |
+
specialChar: {
|
264 |
+
specialChar: 'محارف خاصة',
|
265 |
+
select: 'اختر المحرف الخاص'
|
266 |
+
}
|
267 |
+
}
|
268 |
+
});
|
269 |
+
})(jQuery);
|
270 |
+
|
271 |
+
/***/ })
|
272 |
+
|
273 |
+
/******/ });
|
274 |
+
});
|
admin/lib/summernote/lang/summernote-ar-AR.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-ar-AR.min.js.LICENSE.txt */
|
2 |
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(window,(function(){return function(e){var t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(o,n,function(t){return e[t]}.bind(null,n));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=7)}({7:function(e,t){var r;(r=jQuery).extend(r.summernote.lang,{"ar-AR":{font:{bold:"عريض",italic:"مائل",underline:"تحته خط",clear:"مسح التنسيق",height:"إرتفاع السطر",name:"الخط",strikethrough:"فى وسطه خط",subscript:"مخطوطة",superscript:"حرف فوقي",size:"الحجم"},image:{image:"صورة",insert:"إضافة صورة",resizeFull:"الحجم بالكامل",resizeHalf:"تصغير للنصف",resizeQuarter:"تصغير للربع",floatLeft:"تطيير لليسار",floatRight:"تطيير لليمين",floatNone:"ثابته",shapeRounded:"الشكل: تقريب",shapeCircle:"الشكل: دائرة",shapeThumbnail:"الشكل: صورة مصغرة",shapeNone:"الشكل: لا شيء",dragImageHere:"إدرج الصورة هنا",dropImage:"إسقاط صورة أو نص",selectFromFiles:"حدد ملف",maximumFileSize:"الحد الأقصى لحجم الملف",maximumFileSizeError:"تم تجاوز الحد الأقصى لحجم الملف",url:"رابط الصورة",remove:"حذف الصورة",original:"Original"},video:{video:"فيديو",videoLink:"رابط الفيديو",insert:"إدراج الفيديو",url:"رابط الفيديو",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion ou Youku)"},link:{link:"رابط",insert:"إدراج",unlink:"حذف الرابط",edit:"تعديل",textToDisplay:"النص",url:"مسار الرابط",openInNewWindow:"فتح في نافذة جديدة"},table:{table:"جدول",addRowAbove:"إضافة سطر أعلاه",addRowBelow:"إضافة سطر أدناه",addColLeft:"إضافة عمود قبله",addColRight:"إضافة عمود بعده",delRow:"حذف سطر",delCol:"حذف عمود",delTable:"حذف الجدول"},hr:{insert:"إدراج خط أفقي"},style:{style:"تنسيق",p:"عادي",blockquote:"إقتباس",pre:"شفيرة",h1:"عنوان رئيسي 1",h2:"عنوان رئيسي 2",h3:"عنوان رئيسي 3",h4:"عنوان رئيسي 4",h5:"عنوان رئيسي 5",h6:"عنوان رئيسي 6"},lists:{unordered:"قائمة مُنقطة",ordered:"قائمة مُرقمة"},options:{help:"مساعدة",fullscreen:"حجم الشاشة بالكامل",codeview:"شفيرة المصدر"},paragraph:{paragraph:"فقرة",outdent:"محاذاة للخارج",indent:"محاذاة للداخل",left:"محاذاة لليسار",center:"توسيط",right:"محاذاة لليمين",justify:"ملئ السطر"},color:{recent:"تم إستخدامه",more:"المزيد",background:"لون الخلفية",foreground:"لون النص",transparent:"شفاف",setTransparent:"بدون خلفية",reset:"إعادة الضبط",resetToDefault:"إعادة الضبط",cpSelect:"اختار"},shortcut:{shortcuts:"إختصارات",close:"غلق",textFormatting:"تنسيق النص",action:"Action",paragraphFormatting:"تنسيق الفقرة",documentStyle:"تنسيق المستند",extraKeys:"أزرار إضافية"},help:{insertParagraph:"إدراج فقرة",undo:"تراجع عن آخر أمر",redo:"إعادة تنفيذ آخر أمر",tab:"إزاحة (تاب)",untab:"سحب النص باتجاه البداية",bold:"تنسيق عريض",italic:"تنسيق مائل",underline:"تنسيق خط سفلي",strikethrough:"تنسيق خط متوسط للنص",removeFormat:"إزالة التنسيقات",justifyLeft:"محاذاة لليسار",justifyCenter:"محاذاة توسيط",justifyRight:"محاذاة لليمين",justifyFull:"محاذاة كاملة",insertUnorderedList:"قائمة منقّطة",insertOrderedList:"قائمة مرقّمة",outdent:"إزاحة للأمام على الفقرة الحالية",indent:"إزاحة للخلف على الفقرة الحالية",formatPara:"تغيير التنسيق للكتلة الحالية إلى فقرة",formatH1:"تغيير التنسيق للكتلة الحالية إلى ترويسة 1",formatH2:"تغيير التنسيق للكتلة الحالية إلى ترويسة 2",formatH3:"تغيير التنسيق للكتلة الحالية إلى ترويسة 3",formatH4:"تغيير التنسيق للكتلة الحالية إلى ترويسة 4",formatH5:"تغيير التنسيق للكتلة الحالية إلى ترويسة 5",formatH6:"تغيير التنسيق للكتلة الحالية إلى ترويسة 6",insertHorizontalRule:"إدراج خط أفقي","linkDialog.show":"إظهار خصائص الرابط"},history:{undo:"تراجع",redo:"إعادة"},specialChar:{specialChar:"محارف خاصة",select:"اختر المحرف الخاص"}}})}})}));
|
admin/lib/summernote/lang/summernote-ar-AR.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-az-AZ.js
ADDED
@@ -0,0 +1,283 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 8);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 8:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
//Summernote WYSIWYG editor ucun Azerbaycan dili fayli
|
115 |
+
//Tercume etdi: RAMIL ALIYEV
|
116 |
+
//Tarix: 20.07.2019
|
117 |
+
//Baki Azerbaycan
|
118 |
+
//Website: https://ramilaliyev.com
|
119 |
+
//Azerbaijan language for Summernote WYSIWYG
|
120 |
+
//Translated by: RAMIL ALIYEV
|
121 |
+
//Date: 20.07.2019
|
122 |
+
//Baku Azerbaijan
|
123 |
+
//Website: https://ramilaliyev.com
|
124 |
+
(function ($) {
|
125 |
+
$.extend($.summernote.lang, {
|
126 |
+
'az-AZ': {
|
127 |
+
font: {
|
128 |
+
bold: 'Qalın',
|
129 |
+
italic: 'Əyri',
|
130 |
+
underline: 'Altı xətli',
|
131 |
+
clear: 'Təmizlə',
|
132 |
+
height: 'Sətir hündürlüyü',
|
133 |
+
name: 'Yazı Tipi',
|
134 |
+
strikethrough: 'Üstü xətli',
|
135 |
+
subscript: 'Alt simvol',
|
136 |
+
superscript: 'Üst simvol',
|
137 |
+
size: 'Yazı ölçüsü'
|
138 |
+
},
|
139 |
+
image: {
|
140 |
+
image: 'Şəkil',
|
141 |
+
insert: 'Şəkil əlavə et',
|
142 |
+
resizeFull: 'Original ölçü',
|
143 |
+
resizeHalf: '1/2 ölçü',
|
144 |
+
resizeQuarter: '1/4 ölçü',
|
145 |
+
floatLeft: 'Sola çək',
|
146 |
+
floatRight: 'Sağa çək',
|
147 |
+
floatNone: 'Sola-sağa çəkilməni ləğv et',
|
148 |
+
shapeRounded: 'Şəkil: yuvarlaq künç',
|
149 |
+
shapeCircle: 'Şəkil: Dairə',
|
150 |
+
shapeThumbnail: 'Şəkil: Thumbnail',
|
151 |
+
shapeNone: 'Şəkil: Yox',
|
152 |
+
dragImageHere: 'Bura sürüşdür',
|
153 |
+
dropImage: 'Şəkil və ya mətni buraxın',
|
154 |
+
selectFromFiles: 'Sənəd seçin',
|
155 |
+
maximumFileSize: 'Maksimum sənəd ölçüsü',
|
156 |
+
maximumFileSizeError: 'Maksimum sənəd ölçüsünü keçdiniz.',
|
157 |
+
url: 'Şəkil linki',
|
158 |
+
remove: 'Şəkli sil',
|
159 |
+
original: 'Original'
|
160 |
+
},
|
161 |
+
video: {
|
162 |
+
video: 'Video',
|
163 |
+
videoLink: 'Video linki',
|
164 |
+
insert: 'Video əlavə et',
|
165 |
+
url: 'Video linki?',
|
166 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion və ya Youku)'
|
167 |
+
},
|
168 |
+
link: {
|
169 |
+
link: 'Link',
|
170 |
+
insert: 'Link əlavə et',
|
171 |
+
unlink: 'Linki sil',
|
172 |
+
edit: 'Linkə düzəliş et',
|
173 |
+
textToDisplay: 'Ekranda göstəriləcək link adı',
|
174 |
+
url: 'Link ünvanı?',
|
175 |
+
openInNewWindow: 'Yeni pəncərədə aç'
|
176 |
+
},
|
177 |
+
table: {
|
178 |
+
table: 'Cədvəl',
|
179 |
+
addRowAbove: 'Yuxarı sətir əlavə et',
|
180 |
+
addRowBelow: 'Aşağı sətir əlavə et',
|
181 |
+
addColLeft: 'Sola sütun əlavə et',
|
182 |
+
addColRight: 'Sağa sütun əlavə et',
|
183 |
+
delRow: 'Sətiri sil',
|
184 |
+
delCol: 'Sütunu sil',
|
185 |
+
delTable: 'Cədvəli sil'
|
186 |
+
},
|
187 |
+
hr: {
|
188 |
+
insert: 'Üfuqi xətt əlavə et'
|
189 |
+
},
|
190 |
+
style: {
|
191 |
+
style: 'Stil',
|
192 |
+
p: 'p',
|
193 |
+
blockquote: 'İstinad',
|
194 |
+
pre: 'Ön baxış',
|
195 |
+
h1: 'Başlıq 1',
|
196 |
+
h2: 'Başlıq 2',
|
197 |
+
h3: 'Başlıq 3',
|
198 |
+
h4: 'Başlıq 4',
|
199 |
+
h5: 'Başlıq 5',
|
200 |
+
h6: 'Başlıq 6'
|
201 |
+
},
|
202 |
+
lists: {
|
203 |
+
unordered: 'Nizamsız sıra',
|
204 |
+
ordered: 'Nizamlı sıra'
|
205 |
+
},
|
206 |
+
options: {
|
207 |
+
help: 'Kömək',
|
208 |
+
fullscreen: 'Tam ekran',
|
209 |
+
codeview: 'HTML Kodu'
|
210 |
+
},
|
211 |
+
paragraph: {
|
212 |
+
paragraph: 'Paraqraf',
|
213 |
+
outdent: 'Girintini artır',
|
214 |
+
indent: 'Girintini azalt',
|
215 |
+
left: 'Sola çək',
|
216 |
+
center: 'Ortaya çək',
|
217 |
+
right: 'Sağa çək',
|
218 |
+
justify: 'Sola və sağa çək'
|
219 |
+
},
|
220 |
+
color: {
|
221 |
+
recent: 'Son rənk',
|
222 |
+
more: 'Daha çox rənk',
|
223 |
+
background: 'Arxa fon rəngi',
|
224 |
+
foreground: 'Yazı rıngi',
|
225 |
+
transparent: 'Şəffaflıq',
|
226 |
+
setTransparent: 'Şəffaflığı nizamla',
|
227 |
+
reset: 'Sıfırla',
|
228 |
+
resetToDefault: 'Susyama görə sıfırla'
|
229 |
+
},
|
230 |
+
shortcut: {
|
231 |
+
shortcuts: 'Qısayollar',
|
232 |
+
close: 'Bağla',
|
233 |
+
textFormatting: 'Yazı formatlandırmaq',
|
234 |
+
action: 'Hadisə',
|
235 |
+
paragraphFormatting: 'Paraqraf formatlandırmaq',
|
236 |
+
documentStyle: 'Sənəd stili',
|
237 |
+
extraKeys: 'Əlavə'
|
238 |
+
},
|
239 |
+
help: {
|
240 |
+
'insertParagraph': 'Paraqraf əlavə etmək',
|
241 |
+
'undo': 'Son əmri geri alır',
|
242 |
+
'redo': 'Son əmri irəli alır',
|
243 |
+
'tab': 'Girintini artırır',
|
244 |
+
'untab': 'Girintini azaltır',
|
245 |
+
'bold': 'Qalın yazma stilini nizamlayır',
|
246 |
+
'italic': 'İtalik yazma stilini nizamlayır',
|
247 |
+
'underline': 'Altı xətli yazma stilini nizamlayır',
|
248 |
+
'strikethrough': 'Üstü xətli yazma stilini nizamlayır',
|
249 |
+
'removeFormat': 'Formatlandırmanı ləğv edir',
|
250 |
+
'justifyLeft': 'Yazını sola çəkir',
|
251 |
+
'justifyCenter': 'Yazını ortaya çəkir',
|
252 |
+
'justifyRight': 'Yazını sağa çəkir',
|
253 |
+
'justifyFull': 'Yazını hər iki tərəfə yazır',
|
254 |
+
'insertUnorderedList': 'Nizamsız sıra əlavə edir',
|
255 |
+
'insertOrderedList': 'Nizamlı sıra əlavə edir',
|
256 |
+
'outdent': 'Aktiv paraqrafın girintisini azaltır',
|
257 |
+
'indent': 'Aktiv paragrafın girintisini artırır',
|
258 |
+
'formatPara': 'Aktiv bloqun formatını paraqraf (p) olaraq dəyişdirir',
|
259 |
+
'formatH1': 'Aktiv bloqun formatını başlıq 1 (h1) olaraq dəyişdirir',
|
260 |
+
'formatH2': 'Aktiv bloqun formatını başlıq 2 (h2) olaraq dəyişdirir',
|
261 |
+
'formatH3': 'Aktiv bloqun formatını başlıq 3 (h3) olaraq dəyişdirir',
|
262 |
+
'formatH4': 'Aktiv bloqun formatını başlıq 4 (h4) olaraq dəyişdirir',
|
263 |
+
'formatH5': 'Aktiv bloqun formatını başlıq 5 (h5) olaraq dəyişdirir',
|
264 |
+
'formatH6': 'Aktiv bloqun formatını başlıq 6 (h6) olaraq dəyişdirir',
|
265 |
+
'insertHorizontalRule': 'Üfuqi xətt əlavə edir',
|
266 |
+
'linkDialog.show': 'Link parametrləri qutusunu göstərir'
|
267 |
+
},
|
268 |
+
history: {
|
269 |
+
undo: 'Əvvəlki vəziyyət',
|
270 |
+
redo: 'Sonrakı vəziyyət'
|
271 |
+
},
|
272 |
+
specialChar: {
|
273 |
+
specialChar: 'Xüsusi simvollar',
|
274 |
+
select: 'Xüsusi simvolları seçin'
|
275 |
+
}
|
276 |
+
}
|
277 |
+
});
|
278 |
+
})(jQuery);
|
279 |
+
|
280 |
+
/***/ })
|
281 |
+
|
282 |
+
/******/ });
|
283 |
+
});
|
admin/lib/summernote/lang/summernote-az-AZ.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-az-AZ.min.js.LICENSE.txt */
|
2 |
+
!function(i,a){if("object"==typeof exports&&"object"==typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var r=a();for(var t in r)("object"==typeof exports?exports:i)[t]=r[t]}}(window,(function(){return function(i){var a={};function r(t){if(a[t])return a[t].exports;var e=a[t]={i:t,l:!1,exports:{}};return i[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}return r.m=i,r.c=a,r.d=function(i,a,t){r.o(i,a)||Object.defineProperty(i,a,{enumerable:!0,get:t})},r.r=function(i){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},r.t=function(i,a){if(1&a&&(i=r(i)),8&a)return i;if(4&a&&"object"==typeof i&&i&&i.__esModule)return i;var t=Object.create(null);if(r.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:i}),2&a&&"string"!=typeof i)for(var e in i)r.d(t,e,function(a){return i[a]}.bind(null,e));return t},r.n=function(i){var a=i&&i.__esModule?function(){return i.default}:function(){return i};return r.d(a,"a",a),a},r.o=function(i,a){return Object.prototype.hasOwnProperty.call(i,a)},r.p="",r(r.s=8)}({8:function(i,a){var r;(r=jQuery).extend(r.summernote.lang,{"az-AZ":{font:{bold:"Qalın",italic:"Əyri",underline:"Altı xətli",clear:"Təmizlə",height:"Sətir hündürlüyü",name:"Yazı Tipi",strikethrough:"Üstü xətli",subscript:"Alt simvol",superscript:"Üst simvol",size:"Yazı ölçüsü"},image:{image:"Şəkil",insert:"Şəkil əlavə et",resizeFull:"Original ölçü",resizeHalf:"1/2 ölçü",resizeQuarter:"1/4 ölçü",floatLeft:"Sola çək",floatRight:"Sağa çək",floatNone:"Sola-sağa çəkilməni ləğv et",shapeRounded:"Şəkil: yuvarlaq künç",shapeCircle:"Şəkil: Dairə",shapeThumbnail:"Şəkil: Thumbnail",shapeNone:"Şəkil: Yox",dragImageHere:"Bura sürüşdür",dropImage:"Şəkil və ya mətni buraxın",selectFromFiles:"Sənəd seçin",maximumFileSize:"Maksimum sənəd ölçüsü",maximumFileSizeError:"Maksimum sənəd ölçüsünü keçdiniz.",url:"Şəkil linki",remove:"Şəkli sil",original:"Original"},video:{video:"Video",videoLink:"Video linki",insert:"Video əlavə et",url:"Video linki?",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion və ya Youku)"},link:{link:"Link",insert:"Link əlavə et",unlink:"Linki sil",edit:"Linkə düzəliş et",textToDisplay:"Ekranda göstəriləcək link adı",url:"Link ünvanı?",openInNewWindow:"Yeni pəncərədə aç"},table:{table:"Cədvəl",addRowAbove:"Yuxarı sətir əlavə et",addRowBelow:"Aşağı sətir əlavə et",addColLeft:"Sola sütun əlavə et",addColRight:"Sağa sütun əlavə et",delRow:"Sətiri sil",delCol:"Sütunu sil",delTable:"Cədvəli sil"},hr:{insert:"Üfuqi xətt əlavə et"},style:{style:"Stil",p:"p",blockquote:"İstinad",pre:"Ön baxış",h1:"Başlıq 1",h2:"Başlıq 2",h3:"Başlıq 3",h4:"Başlıq 4",h5:"Başlıq 5",h6:"Başlıq 6"},lists:{unordered:"Nizamsız sıra",ordered:"Nizamlı sıra"},options:{help:"Kömək",fullscreen:"Tam ekran",codeview:"HTML Kodu"},paragraph:{paragraph:"Paraqraf",outdent:"Girintini artır",indent:"Girintini azalt",left:"Sola çək",center:"Ortaya çək",right:"Sağa çək",justify:"Sola və sağa çək"},color:{recent:"Son rənk",more:"Daha çox rənk",background:"Arxa fon rəngi",foreground:"Yazı rıngi",transparent:"Şəffaflıq",setTransparent:"Şəffaflığı nizamla",reset:"Sıfırla",resetToDefault:"Susyama görə sıfırla"},shortcut:{shortcuts:"Qısayollar",close:"Bağla",textFormatting:"Yazı formatlandırmaq",action:"Hadisə",paragraphFormatting:"Paraqraf formatlandırmaq",documentStyle:"Sənəd stili",extraKeys:"Əlavə"},help:{insertParagraph:"Paraqraf əlavə etmək",undo:"Son əmri geri alır",redo:"Son əmri irəli alır",tab:"Girintini artırır",untab:"Girintini azaltır",bold:"Qalın yazma stilini nizamlayır",italic:"İtalik yazma stilini nizamlayır",underline:"Altı xətli yazma stilini nizamlayır",strikethrough:"Üstü xətli yazma stilini nizamlayır",removeFormat:"Formatlandırmanı ləğv edir",justifyLeft:"Yazını sola çəkir",justifyCenter:"Yazını ortaya çəkir",justifyRight:"Yazını sağa çəkir",justifyFull:"Yazını hər iki tərəfə yazır",insertUnorderedList:"Nizamsız sıra əlavə edir",insertOrderedList:"Nizamlı sıra əlavə edir",outdent:"Aktiv paraqrafın girintisini azaltır",indent:"Aktiv paragrafın girintisini artırır",formatPara:"Aktiv bloqun formatını paraqraf (p) olaraq dəyişdirir",formatH1:"Aktiv bloqun formatını başlıq 1 (h1) olaraq dəyişdirir",formatH2:"Aktiv bloqun formatını başlıq 2 (h2) olaraq dəyişdirir",formatH3:"Aktiv bloqun formatını başlıq 3 (h3) olaraq dəyişdirir",formatH4:"Aktiv bloqun formatını başlıq 4 (h4) olaraq dəyişdirir",formatH5:"Aktiv bloqun formatını başlıq 5 (h5) olaraq dəyişdirir",formatH6:"Aktiv bloqun formatını başlıq 6 (h6) olaraq dəyişdirir",insertHorizontalRule:"Üfuqi xətt əlavə edir","linkDialog.show":"Link parametrləri qutusunu göstərir"},history:{undo:"Əvvəlki vəziyyət",redo:"Sonrakı vəziyyət"},specialChar:{specialChar:"Xüsusi simvollar",select:"Xüsusi simvolları seçin"}}})}})}));
|
admin/lib/summernote/lang/summernote-az-AZ.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-bg-BG.js
ADDED
@@ -0,0 +1,274 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 9);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 9:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'bg-BG': {
|
117 |
+
font: {
|
118 |
+
bold: 'Удебелен',
|
119 |
+
italic: 'Наклонен',
|
120 |
+
underline: 'Подчертан',
|
121 |
+
clear: 'Изчисти стиловете',
|
122 |
+
height: 'Височина',
|
123 |
+
name: 'Шрифт',
|
124 |
+
strikethrough: 'Задраскано',
|
125 |
+
subscript: 'Долен индекс',
|
126 |
+
superscript: 'Горен индекс',
|
127 |
+
size: 'Размер на шрифта'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Изображение',
|
131 |
+
insert: 'Постави картинка',
|
132 |
+
resizeFull: 'Цял размер',
|
133 |
+
resizeHalf: 'Размер на 50%',
|
134 |
+
resizeQuarter: 'Размер на 25%',
|
135 |
+
floatLeft: 'Подравни в ляво',
|
136 |
+
floatRight: 'Подравни в дясно',
|
137 |
+
floatNone: 'Без подравняване',
|
138 |
+
shapeRounded: 'Shape: Rounded',
|
139 |
+
shapeCircle: 'Shape: Circle',
|
140 |
+
shapeThumbnail: 'Shape: Thumbnail',
|
141 |
+
shapeNone: 'Shape: None',
|
142 |
+
dragImageHere: 'Пуснете изображението тук',
|
143 |
+
dropImage: 'Drop image or Text',
|
144 |
+
selectFromFiles: 'Изберете файл',
|
145 |
+
maximumFileSize: 'Maximum file size',
|
146 |
+
maximumFileSizeError: 'Maximum file size exceeded.',
|
147 |
+
url: 'URL адрес на изображение',
|
148 |
+
remove: 'Премахни изображение',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'Video',
|
153 |
+
videoLink: 'Video Link',
|
154 |
+
insert: 'Insert Video',
|
155 |
+
url: 'Video URL?',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion or Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'Връзка',
|
160 |
+
insert: 'Добави връзка',
|
161 |
+
unlink: 'Премахни връзка',
|
162 |
+
edit: 'Промени',
|
163 |
+
textToDisplay: 'Текст за показване',
|
164 |
+
url: 'URL адрес',
|
165 |
+
openInNewWindow: 'Отвори в нов прозорец'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'Таблица',
|
169 |
+
addRowAbove: 'Add row above',
|
170 |
+
addRowBelow: 'Add row below',
|
171 |
+
addColLeft: 'Add column left',
|
172 |
+
addColRight: 'Add column right',
|
173 |
+
delRow: 'Delete row',
|
174 |
+
delCol: 'Delete column',
|
175 |
+
delTable: 'Delete table'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'Добави хоризонтална линия'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'Стил',
|
182 |
+
p: 'Нормален',
|
183 |
+
blockquote: 'Цитат',
|
184 |
+
pre: 'Код',
|
185 |
+
h1: 'Заглавие 1',
|
186 |
+
h2: 'Заглавие 2',
|
187 |
+
h3: 'Заглавие 3',
|
188 |
+
h4: 'Заглавие 4',
|
189 |
+
h5: 'Заглавие 5',
|
190 |
+
h6: 'Заглавие 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'Символен списък',
|
194 |
+
ordered: 'Цифров списък'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'Помощ',
|
198 |
+
fullscreen: 'На цял екран',
|
199 |
+
codeview: 'Преглед на код'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'Параграф',
|
203 |
+
outdent: 'Намаляване на отстъпа',
|
204 |
+
indent: 'Абзац',
|
205 |
+
left: 'Подравняване в ляво',
|
206 |
+
center: 'Център',
|
207 |
+
right: 'Подравняване в дясно',
|
208 |
+
justify: 'Разтягане по ширина'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'Последния избран цвят',
|
212 |
+
more: 'Още цветове',
|
213 |
+
background: 'Цвят на фона',
|
214 |
+
foreground: 'Цвят на шрифта',
|
215 |
+
transparent: 'Прозрачен',
|
216 |
+
setTransparent: 'Направете прозрачен',
|
217 |
+
reset: 'Възстанови',
|
218 |
+
resetToDefault: 'Възстанови оригиналните',
|
219 |
+
cpSelect: 'Изберете'
|
220 |
+
},
|
221 |
+
shortcut: {
|
222 |
+
shortcuts: 'Клавишни комбинации',
|
223 |
+
close: 'Затвори',
|
224 |
+
textFormatting: 'Форматиране на текста',
|
225 |
+
action: 'Действие',
|
226 |
+
paragraphFormatting: 'Форматиране на параграф',
|
227 |
+
documentStyle: 'Стил на документа',
|
228 |
+
extraKeys: 'Extra keys'
|
229 |
+
},
|
230 |
+
help: {
|
231 |
+
'insertParagraph': 'Insert Paragraph',
|
232 |
+
'undo': 'Undoes the last command',
|
233 |
+
'redo': 'Redoes the last command',
|
234 |
+
'tab': 'Tab',
|
235 |
+
'untab': 'Untab',
|
236 |
+
'bold': 'Set a bold style',
|
237 |
+
'italic': 'Set a italic style',
|
238 |
+
'underline': 'Set a underline style',
|
239 |
+
'strikethrough': 'Set a strikethrough style',
|
240 |
+
'removeFormat': 'Clean a style',
|
241 |
+
'justifyLeft': 'Set left align',
|
242 |
+
'justifyCenter': 'Set center align',
|
243 |
+
'justifyRight': 'Set right align',
|
244 |
+
'justifyFull': 'Set full align',
|
245 |
+
'insertUnorderedList': 'Toggle unordered list',
|
246 |
+
'insertOrderedList': 'Toggle ordered list',
|
247 |
+
'outdent': 'Outdent on current paragraph',
|
248 |
+
'indent': 'Indent on current paragraph',
|
249 |
+
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
|
250 |
+
'formatH1': 'Change current block\'s format as H1',
|
251 |
+
'formatH2': 'Change current block\'s format as H2',
|
252 |
+
'formatH3': 'Change current block\'s format as H3',
|
253 |
+
'formatH4': 'Change current block\'s format as H4',
|
254 |
+
'formatH5': 'Change current block\'s format as H5',
|
255 |
+
'formatH6': 'Change current block\'s format as H6',
|
256 |
+
'insertHorizontalRule': 'Insert horizontal rule',
|
257 |
+
'linkDialog.show': 'Show Link Dialog'
|
258 |
+
},
|
259 |
+
history: {
|
260 |
+
undo: 'Назад',
|
261 |
+
redo: 'Напред'
|
262 |
+
},
|
263 |
+
specialChar: {
|
264 |
+
specialChar: 'SPECIAL CHARACTERS',
|
265 |
+
select: 'Select Special characters'
|
266 |
+
}
|
267 |
+
}
|
268 |
+
});
|
269 |
+
})(jQuery);
|
270 |
+
|
271 |
+
/***/ })
|
272 |
+
|
273 |
+
/******/ });
|
274 |
+
});
|
admin/lib/summernote/lang/summernote-bg-BG.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-bg-BG.min.js.LICENSE.txt */
|
2 |
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(window,(function(){return function(e){var t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(o,n,function(t){return e[t]}.bind(null,n));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=9)}({9:function(e,t){var r;(r=jQuery).extend(r.summernote.lang,{"bg-BG":{font:{bold:"Удебелен",italic:"Наклонен",underline:"Подчертан",clear:"Изчисти стиловете",height:"Височина",name:"Шрифт",strikethrough:"Задраскано",subscript:"Долен индекс",superscript:"Горен индекс",size:"Размер на шрифта"},image:{image:"Изображение",insert:"Постави картинка",resizeFull:"Цял размер",resizeHalf:"Размер на 50%",resizeQuarter:"Размер на 25%",floatLeft:"Подравни в ляво",floatRight:"Подравни в дясно",floatNone:"Без подравняване",shapeRounded:"Shape: Rounded",shapeCircle:"Shape: Circle",shapeThumbnail:"Shape: Thumbnail",shapeNone:"Shape: None",dragImageHere:"Пуснете изображението тук",dropImage:"Drop image or Text",selectFromFiles:"Изберете файл",maximumFileSize:"Maximum file size",maximumFileSizeError:"Maximum file size exceeded.",url:"URL адрес на изображение",remove:"Премахни изображение",original:"Original"},video:{video:"Video",videoLink:"Video Link",insert:"Insert Video",url:"Video URL?",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion or Youku)"},link:{link:"Връзка",insert:"Добави връзка",unlink:"Премахни връзка",edit:"Промени",textToDisplay:"Текст за показване",url:"URL адрес",openInNewWindow:"Отвори в нов прозорец"},table:{table:"Таблица",addRowAbove:"Add row above",addRowBelow:"Add row below",addColLeft:"Add column left",addColRight:"Add column right",delRow:"Delete row",delCol:"Delete column",delTable:"Delete table"},hr:{insert:"Добави хоризонтална линия"},style:{style:"Стил",p:"Нормален",blockquote:"Цитат",pre:"Код",h1:"Заглавие 1",h2:"Заглавие 2",h3:"Заглавие 3",h4:"Заглавие 4",h5:"Заглавие 5",h6:"Заглавие 6"},lists:{unordered:"Символен списък",ordered:"Цифров списък"},options:{help:"Помощ",fullscreen:"На цял екран",codeview:"Преглед на код"},paragraph:{paragraph:"Параграф",outdent:"Намаляване на отстъпа",indent:"Абзац",left:"Подравняване в ляво",center:"Център",right:"Подравняване в дясно",justify:"Разтягане по ширина"},color:{recent:"Последния избран цвят",more:"Още цветове",background:"Цвят на фона",foreground:"Цвят на шрифта",transparent:"Прозрачен",setTransparent:"Направете прозрачен",reset:"Възстанови",resetToDefault:"Възстанови оригиналните",cpSelect:"Изберете"},shortcut:{shortcuts:"Клавишни комбинации",close:"Затвори",textFormatting:"Форматиране на текста",action:"Действие",paragraphFormatting:"Форматиране на параграф",documentStyle:"Стил на документа",extraKeys:"Extra keys"},help:{insertParagraph:"Insert Paragraph",undo:"Undoes the last command",redo:"Redoes the last command",tab:"Tab",untab:"Untab",bold:"Set a bold style",italic:"Set a italic style",underline:"Set a underline style",strikethrough:"Set a strikethrough style",removeFormat:"Clean a style",justifyLeft:"Set left align",justifyCenter:"Set center align",justifyRight:"Set right align",justifyFull:"Set full align",insertUnorderedList:"Toggle unordered list",insertOrderedList:"Toggle ordered list",outdent:"Outdent on current paragraph",indent:"Indent on current paragraph",formatPara:"Change current block's format as a paragraph(P tag)",formatH1:"Change current block's format as H1",formatH2:"Change current block's format as H2",formatH3:"Change current block's format as H3",formatH4:"Change current block's format as H4",formatH5:"Change current block's format as H5",formatH6:"Change current block's format as H6",insertHorizontalRule:"Insert horizontal rule","linkDialog.show":"Show Link Dialog"},history:{undo:"Назад",redo:"Напред"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"}}})}})}));
|
admin/lib/summernote/lang/summernote-bg-BG.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-ca-ES.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 10);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 10:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'ca-ES': {
|
117 |
+
font: {
|
118 |
+
bold: 'Negreta',
|
119 |
+
italic: 'Cursiva',
|
120 |
+
underline: 'Subratllat',
|
121 |
+
clear: 'Treure estil de lletra',
|
122 |
+
height: 'Alçada de línia',
|
123 |
+
name: 'Font',
|
124 |
+
strikethrough: 'Ratllat',
|
125 |
+
subscript: 'Subíndex',
|
126 |
+
superscript: 'Superíndex',
|
127 |
+
size: 'Mida de lletra'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Imatge',
|
131 |
+
insert: 'Inserir imatge',
|
132 |
+
resizeFull: 'Redimensionar a mida completa',
|
133 |
+
resizeHalf: 'Redimensionar a la meitat',
|
134 |
+
resizeQuarter: 'Redimensionar a un quart',
|
135 |
+
floatLeft: 'Alinear a l\'esquerra',
|
136 |
+
floatRight: 'Alinear a la dreta',
|
137 |
+
floatNone: 'No alinear',
|
138 |
+
shapeRounded: 'Forma: Arrodonit',
|
139 |
+
shapeCircle: 'Forma: Cercle',
|
140 |
+
shapeThumbnail: 'Forma: Marc',
|
141 |
+
shapeNone: 'Forma: Cap',
|
142 |
+
dragImageHere: 'Arrossegueu una imatge o text aquí',
|
143 |
+
dropImage: 'Deixa anar aquí una imatge o un text',
|
144 |
+
selectFromFiles: 'Seleccioneu des dels arxius',
|
145 |
+
maximumFileSize: 'Mida màxima de l\'arxiu',
|
146 |
+
maximumFileSizeError: 'La mida màxima de l\'arxiu s\'ha superat.',
|
147 |
+
url: 'URL de la imatge',
|
148 |
+
remove: 'Eliminar imatge',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'Vídeo',
|
153 |
+
videoLink: 'Enllaç del vídeo',
|
154 |
+
insert: 'Inserir vídeo',
|
155 |
+
url: 'URL del vídeo?',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion o Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'Enllaç',
|
160 |
+
insert: 'Inserir enllaç',
|
161 |
+
unlink: 'Treure enllaç',
|
162 |
+
edit: 'Editar',
|
163 |
+
textToDisplay: 'Text per mostrar',
|
164 |
+
url: 'Cap a quina URL porta l\'enllaç?',
|
165 |
+
openInNewWindow: 'Obrir en una finestra nova'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'Taula',
|
169 |
+
addRowAbove: 'Add row above',
|
170 |
+
addRowBelow: 'Add row below',
|
171 |
+
addColLeft: 'Add column left',
|
172 |
+
addColRight: 'Add column right',
|
173 |
+
delRow: 'Delete row',
|
174 |
+
delCol: 'Delete column',
|
175 |
+
delTable: 'Delete table'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'Inserir línia horitzontal'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'Estil',
|
182 |
+
p: 'p',
|
183 |
+
blockquote: 'Cita',
|
184 |
+
pre: 'Codi',
|
185 |
+
h1: 'Títol 1',
|
186 |
+
h2: 'Títol 2',
|
187 |
+
h3: 'Títol 3',
|
188 |
+
h4: 'Títol 4',
|
189 |
+
h5: 'Títol 5',
|
190 |
+
h6: 'Títol 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'Llista desendreçada',
|
194 |
+
ordered: 'Llista endreçada'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'Ajut',
|
198 |
+
fullscreen: 'Pantalla sencera',
|
199 |
+
codeview: 'Veure codi font'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'Paràgraf',
|
203 |
+
outdent: 'Menys tabulació',
|
204 |
+
indent: 'Més tabulació',
|
205 |
+
left: 'Alinear a l\'esquerra',
|
206 |
+
center: 'Alinear al mig',
|
207 |
+
right: 'Alinear a la dreta',
|
208 |
+
justify: 'Justificar'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'Últim color',
|
212 |
+
more: 'Més colors',
|
213 |
+
background: 'Color de fons',
|
214 |
+
foreground: 'Color de lletra',
|
215 |
+
transparent: 'Transparent',
|
216 |
+
setTransparent: 'Establir transparent',
|
217 |
+
reset: 'Restablir',
|
218 |
+
resetToDefault: 'Restablir per defecte'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: 'Dreceres de teclat',
|
222 |
+
close: 'Tancar',
|
223 |
+
textFormatting: 'Format de text',
|
224 |
+
action: 'Acció',
|
225 |
+
paragraphFormatting: 'Format de paràgraf',
|
226 |
+
documentStyle: 'Estil del document',
|
227 |
+
extraKeys: 'Tecles adicionals'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
'insertParagraph': 'Inserir paràgraf',
|
231 |
+
'undo': 'Desfer l\'última acció',
|
232 |
+
'redo': 'Refer l\'última acció',
|
233 |
+
'tab': 'Tabular',
|
234 |
+
'untab': 'Eliminar tabulació',
|
235 |
+
'bold': 'Establir estil negreta',
|
236 |
+
'italic': 'Establir estil cursiva',
|
237 |
+
'underline': 'Establir estil subratllat',
|
238 |
+
'strikethrough': 'Establir estil ratllat',
|
239 |
+
'removeFormat': 'Netejar estil',
|
240 |
+
'justifyLeft': 'Alinear a l\'esquerra',
|
241 |
+
'justifyCenter': 'Alinear al centre',
|
242 |
+
'justifyRight': 'Alinear a la dreta',
|
243 |
+
'justifyFull': 'Justificar',
|
244 |
+
'insertUnorderedList': 'Inserir llista desendreçada',
|
245 |
+
'insertOrderedList': 'Inserir llista endreçada',
|
246 |
+
'outdent': 'Reduïr tabulació del paràgraf',
|
247 |
+
'indent': 'Augmentar tabulació del paràgraf',
|
248 |
+
'formatPara': 'Canviar l\'estil del bloc com a un paràgraf (etiqueta P)',
|
249 |
+
'formatH1': 'Canviar l\'estil del bloc com a un H1',
|
250 |
+
'formatH2': 'Canviar l\'estil del bloc com a un H2',
|
251 |
+
'formatH3': 'Canviar l\'estil del bloc com a un H3',
|
252 |
+
'formatH4': 'Canviar l\'estil del bloc com a un H4',
|
253 |
+
'formatH5': 'Canviar l\'estil del bloc com a un H5',
|
254 |
+
'formatH6': 'Canviar l\'estil del bloc com a un H6',
|
255 |
+
'insertHorizontalRule': 'Inserir una línia horitzontal',
|
256 |
+
'linkDialog.show': 'Mostrar panel d\'enllaços'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: 'Desfer',
|
260 |
+
redo: 'Refer'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: 'CARÀCTERS ESPECIALS',
|
264 |
+
select: 'Selecciona caràcters especials'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-ca-ES.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-ca-ES.min.js.LICENSE.txt */
|
2 |
+
!function(e,a){if("object"==typeof exports&&"object"==typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var r=a();for(var t in r)("object"==typeof exports?exports:e)[t]=r[t]}}(window,(function(){return function(e){var a={};function r(t){if(a[t])return a[t].exports;var l=a[t]={i:t,l:!1,exports:{}};return e[t].call(l.exports,l,l.exports,r),l.l=!0,l.exports}return r.m=e,r.c=a,r.d=function(e,a,t){r.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:t})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,a){if(1&a&&(e=r(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(r.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var l in e)r.d(t,l,function(a){return e[a]}.bind(null,l));return t},r.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(a,"a",a),a},r.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},r.p="",r(r.s=10)}({10:function(e,a){var r;(r=jQuery).extend(r.summernote.lang,{"ca-ES":{font:{bold:"Negreta",italic:"Cursiva",underline:"Subratllat",clear:"Treure estil de lletra",height:"Alçada de línia",name:"Font",strikethrough:"Ratllat",subscript:"Subíndex",superscript:"Superíndex",size:"Mida de lletra"},image:{image:"Imatge",insert:"Inserir imatge",resizeFull:"Redimensionar a mida completa",resizeHalf:"Redimensionar a la meitat",resizeQuarter:"Redimensionar a un quart",floatLeft:"Alinear a l'esquerra",floatRight:"Alinear a la dreta",floatNone:"No alinear",shapeRounded:"Forma: Arrodonit",shapeCircle:"Forma: Cercle",shapeThumbnail:"Forma: Marc",shapeNone:"Forma: Cap",dragImageHere:"Arrossegueu una imatge o text aquí",dropImage:"Deixa anar aquí una imatge o un text",selectFromFiles:"Seleccioneu des dels arxius",maximumFileSize:"Mida màxima de l'arxiu",maximumFileSizeError:"La mida màxima de l'arxiu s'ha superat.",url:"URL de la imatge",remove:"Eliminar imatge",original:"Original"},video:{video:"Vídeo",videoLink:"Enllaç del vídeo",insert:"Inserir vídeo",url:"URL del vídeo?",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion o Youku)"},link:{link:"Enllaç",insert:"Inserir enllaç",unlink:"Treure enllaç",edit:"Editar",textToDisplay:"Text per mostrar",url:"Cap a quina URL porta l'enllaç?",openInNewWindow:"Obrir en una finestra nova"},table:{table:"Taula",addRowAbove:"Add row above",addRowBelow:"Add row below",addColLeft:"Add column left",addColRight:"Add column right",delRow:"Delete row",delCol:"Delete column",delTable:"Delete table"},hr:{insert:"Inserir línia horitzontal"},style:{style:"Estil",p:"p",blockquote:"Cita",pre:"Codi",h1:"Títol 1",h2:"Títol 2",h3:"Títol 3",h4:"Títol 4",h5:"Títol 5",h6:"Títol 6"},lists:{unordered:"Llista desendreçada",ordered:"Llista endreçada"},options:{help:"Ajut",fullscreen:"Pantalla sencera",codeview:"Veure codi font"},paragraph:{paragraph:"Paràgraf",outdent:"Menys tabulació",indent:"Més tabulació",left:"Alinear a l'esquerra",center:"Alinear al mig",right:"Alinear a la dreta",justify:"Justificar"},color:{recent:"Últim color",more:"Més colors",background:"Color de fons",foreground:"Color de lletra",transparent:"Transparent",setTransparent:"Establir transparent",reset:"Restablir",resetToDefault:"Restablir per defecte"},shortcut:{shortcuts:"Dreceres de teclat",close:"Tancar",textFormatting:"Format de text",action:"Acció",paragraphFormatting:"Format de paràgraf",documentStyle:"Estil del document",extraKeys:"Tecles adicionals"},help:{insertParagraph:"Inserir paràgraf",undo:"Desfer l'última acció",redo:"Refer l'última acció",tab:"Tabular",untab:"Eliminar tabulació",bold:"Establir estil negreta",italic:"Establir estil cursiva",underline:"Establir estil subratllat",strikethrough:"Establir estil ratllat",removeFormat:"Netejar estil",justifyLeft:"Alinear a l'esquerra",justifyCenter:"Alinear al centre",justifyRight:"Alinear a la dreta",justifyFull:"Justificar",insertUnorderedList:"Inserir llista desendreçada",insertOrderedList:"Inserir llista endreçada",outdent:"Reduïr tabulació del paràgraf",indent:"Augmentar tabulació del paràgraf",formatPara:"Canviar l'estil del bloc com a un paràgraf (etiqueta P)",formatH1:"Canviar l'estil del bloc com a un H1",formatH2:"Canviar l'estil del bloc com a un H2",formatH3:"Canviar l'estil del bloc com a un H3",formatH4:"Canviar l'estil del bloc com a un H4",formatH5:"Canviar l'estil del bloc com a un H5",formatH6:"Canviar l'estil del bloc com a un H6",insertHorizontalRule:"Inserir una línia horitzontal","linkDialog.show":"Mostrar panel d'enllaços"},history:{undo:"Desfer",redo:"Refer"},specialChar:{specialChar:"CARÀCTERS ESPECIALS",select:"Selecciona caràcters especials"}}})}})}));
|
admin/lib/summernote/lang/summernote-ca-ES.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-cs-CZ.js
ADDED
@@ -0,0 +1,268 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 11);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 11:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'cs-CZ': {
|
117 |
+
font: {
|
118 |
+
bold: 'Tučné',
|
119 |
+
italic: 'Kurzíva',
|
120 |
+
underline: 'Podtržené',
|
121 |
+
clear: 'Odstranit styl písma',
|
122 |
+
height: 'Výška řádku',
|
123 |
+
strikethrough: 'Přeškrtnuté',
|
124 |
+
size: 'Velikost písma'
|
125 |
+
},
|
126 |
+
image: {
|
127 |
+
image: 'Obrázek',
|
128 |
+
insert: 'Vložit obrázek',
|
129 |
+
resizeFull: 'Původní velikost',
|
130 |
+
resizeHalf: 'Poloviční velikost',
|
131 |
+
resizeQuarter: 'Čtvrteční velikost',
|
132 |
+
floatLeft: 'Umístit doleva',
|
133 |
+
floatRight: 'Umístit doprava',
|
134 |
+
floatNone: 'Neobtékat textem',
|
135 |
+
shapeRounded: 'Shape: Rounded',
|
136 |
+
shapeCircle: 'Shape: Circle',
|
137 |
+
shapeThumbnail: 'Shape: Thumbnail',
|
138 |
+
shapeNone: 'Shape: None',
|
139 |
+
dragImageHere: 'Přetáhnout sem obrázek',
|
140 |
+
dropImage: 'Drop image or Text',
|
141 |
+
selectFromFiles: 'Vybrat soubor',
|
142 |
+
url: 'URL obrázku',
|
143 |
+
remove: 'Remove Image',
|
144 |
+
original: 'Original'
|
145 |
+
},
|
146 |
+
video: {
|
147 |
+
video: 'Video',
|
148 |
+
videoLink: 'Odkaz videa',
|
149 |
+
insert: 'Vložit video',
|
150 |
+
url: 'URL videa?',
|
151 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion nebo Youku)'
|
152 |
+
},
|
153 |
+
link: {
|
154 |
+
link: 'Odkaz',
|
155 |
+
insert: 'Vytvořit odkaz',
|
156 |
+
unlink: 'Zrušit odkaz',
|
157 |
+
edit: 'Upravit',
|
158 |
+
textToDisplay: 'Zobrazovaný text',
|
159 |
+
url: 'Na jaké URL má tento odkaz vést?',
|
160 |
+
openInNewWindow: 'Otevřít v novém okně'
|
161 |
+
},
|
162 |
+
table: {
|
163 |
+
table: 'Tabulka',
|
164 |
+
addRowAbove: 'Add row above',
|
165 |
+
addRowBelow: 'Add row below',
|
166 |
+
addColLeft: 'Add column left',
|
167 |
+
addColRight: 'Add column right',
|
168 |
+
delRow: 'Delete row',
|
169 |
+
delCol: 'Delete column',
|
170 |
+
delTable: 'Delete table'
|
171 |
+
},
|
172 |
+
hr: {
|
173 |
+
insert: 'Vložit vodorovnou čáru'
|
174 |
+
},
|
175 |
+
style: {
|
176 |
+
style: 'Styl',
|
177 |
+
p: 'Normální',
|
178 |
+
blockquote: 'Citace',
|
179 |
+
pre: 'Kód',
|
180 |
+
h1: 'Nadpis 1',
|
181 |
+
h2: 'Nadpis 2',
|
182 |
+
h3: 'Nadpis 3',
|
183 |
+
h4: 'Nadpis 4',
|
184 |
+
h5: 'Nadpis 5',
|
185 |
+
h6: 'Nadpis 6'
|
186 |
+
},
|
187 |
+
lists: {
|
188 |
+
unordered: 'Odrážkový seznam',
|
189 |
+
ordered: 'Číselný seznam'
|
190 |
+
},
|
191 |
+
options: {
|
192 |
+
help: 'Nápověda',
|
193 |
+
fullscreen: 'Celá obrazovka',
|
194 |
+
codeview: 'HTML kód'
|
195 |
+
},
|
196 |
+
paragraph: {
|
197 |
+
paragraph: 'Odstavec',
|
198 |
+
outdent: 'Zvětšit odsazení',
|
199 |
+
indent: 'Zmenšit odsazení',
|
200 |
+
left: 'Zarovnat doleva',
|
201 |
+
center: 'Zarovnat na střed',
|
202 |
+
right: 'Zarovnat doprava',
|
203 |
+
justify: 'Zarovnat oboustranně'
|
204 |
+
},
|
205 |
+
color: {
|
206 |
+
recent: 'Aktuální barva',
|
207 |
+
more: 'Další barvy',
|
208 |
+
background: 'Barva pozadí',
|
209 |
+
foreground: 'Barva písma',
|
210 |
+
transparent: 'Průhlednost',
|
211 |
+
setTransparent: 'Nastavit průhlednost',
|
212 |
+
reset: 'Obnovit',
|
213 |
+
resetToDefault: 'Obnovit výchozí',
|
214 |
+
cpSelect: 'Vybrat'
|
215 |
+
},
|
216 |
+
shortcut: {
|
217 |
+
shortcuts: 'Klávesové zkratky',
|
218 |
+
close: 'Zavřít',
|
219 |
+
textFormatting: 'Formátování textu',
|
220 |
+
action: 'Akce',
|
221 |
+
paragraphFormatting: 'Formátování odstavce',
|
222 |
+
documentStyle: 'Styl dokumentu'
|
223 |
+
},
|
224 |
+
help: {
|
225 |
+
'insertParagraph': 'Insert Paragraph',
|
226 |
+
'undo': 'Undoes the last command',
|
227 |
+
'redo': 'Redoes the last command',
|
228 |
+
'tab': 'Tab',
|
229 |
+
'untab': 'Untab',
|
230 |
+
'bold': 'Set a bold style',
|
231 |
+
'italic': 'Set a italic style',
|
232 |
+
'underline': 'Set a underline style',
|
233 |
+
'strikethrough': 'Set a strikethrough style',
|
234 |
+
'removeFormat': 'Clean a style',
|
235 |
+
'justifyLeft': 'Set left align',
|
236 |
+
'justifyCenter': 'Set center align',
|
237 |
+
'justifyRight': 'Set right align',
|
238 |
+
'justifyFull': 'Set full align',
|
239 |
+
'insertUnorderedList': 'Toggle unordered list',
|
240 |
+
'insertOrderedList': 'Toggle ordered list',
|
241 |
+
'outdent': 'Outdent on current paragraph',
|
242 |
+
'indent': 'Indent on current paragraph',
|
243 |
+
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
|
244 |
+
'formatH1': 'Change current block\'s format as H1',
|
245 |
+
'formatH2': 'Change current block\'s format as H2',
|
246 |
+
'formatH3': 'Change current block\'s format as H3',
|
247 |
+
'formatH4': 'Change current block\'s format as H4',
|
248 |
+
'formatH5': 'Change current block\'s format as H5',
|
249 |
+
'formatH6': 'Change current block\'s format as H6',
|
250 |
+
'insertHorizontalRule': 'Insert horizontal rule',
|
251 |
+
'linkDialog.show': 'Show Link Dialog'
|
252 |
+
},
|
253 |
+
history: {
|
254 |
+
undo: 'Krok vzad',
|
255 |
+
redo: 'Krok vpřed'
|
256 |
+
},
|
257 |
+
specialChar: {
|
258 |
+
specialChar: 'SPECIAL CHARACTERS',
|
259 |
+
select: 'Select Special characters'
|
260 |
+
}
|
261 |
+
}
|
262 |
+
});
|
263 |
+
})(jQuery);
|
264 |
+
|
265 |
+
/***/ })
|
266 |
+
|
267 |
+
/******/ });
|
268 |
+
});
|
admin/lib/summernote/lang/summernote-cs-CZ.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-cs-CZ.min.js.LICENSE.txt */
|
2 |
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(window,(function(){return function(e){var t={};function r(o){if(t[o])return t[o].exports;var a=t[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(o,a,function(t){return e[t]}.bind(null,a));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=11)}({11:function(e,t){var r;(r=jQuery).extend(r.summernote.lang,{"cs-CZ":{font:{bold:"Tučné",italic:"Kurzíva",underline:"Podtržené",clear:"Odstranit styl písma",height:"Výška řádku",strikethrough:"Přeškrtnuté",size:"Velikost písma"},image:{image:"Obrázek",insert:"Vložit obrázek",resizeFull:"Původní velikost",resizeHalf:"Poloviční velikost",resizeQuarter:"Čtvrteční velikost",floatLeft:"Umístit doleva",floatRight:"Umístit doprava",floatNone:"Neobtékat textem",shapeRounded:"Shape: Rounded",shapeCircle:"Shape: Circle",shapeThumbnail:"Shape: Thumbnail",shapeNone:"Shape: None",dragImageHere:"Přetáhnout sem obrázek",dropImage:"Drop image or Text",selectFromFiles:"Vybrat soubor",url:"URL obrázku",remove:"Remove Image",original:"Original"},video:{video:"Video",videoLink:"Odkaz videa",insert:"Vložit video",url:"URL videa?",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion nebo Youku)"},link:{link:"Odkaz",insert:"Vytvořit odkaz",unlink:"Zrušit odkaz",edit:"Upravit",textToDisplay:"Zobrazovaný text",url:"Na jaké URL má tento odkaz vést?",openInNewWindow:"Otevřít v novém okně"},table:{table:"Tabulka",addRowAbove:"Add row above",addRowBelow:"Add row below",addColLeft:"Add column left",addColRight:"Add column right",delRow:"Delete row",delCol:"Delete column",delTable:"Delete table"},hr:{insert:"Vložit vodorovnou čáru"},style:{style:"Styl",p:"Normální",blockquote:"Citace",pre:"Kód",h1:"Nadpis 1",h2:"Nadpis 2",h3:"Nadpis 3",h4:"Nadpis 4",h5:"Nadpis 5",h6:"Nadpis 6"},lists:{unordered:"Odrážkový seznam",ordered:"Číselný seznam"},options:{help:"Nápověda",fullscreen:"Celá obrazovka",codeview:"HTML kód"},paragraph:{paragraph:"Odstavec",outdent:"Zvětšit odsazení",indent:"Zmenšit odsazení",left:"Zarovnat doleva",center:"Zarovnat na střed",right:"Zarovnat doprava",justify:"Zarovnat oboustranně"},color:{recent:"Aktuální barva",more:"Další barvy",background:"Barva pozadí",foreground:"Barva písma",transparent:"Průhlednost",setTransparent:"Nastavit průhlednost",reset:"Obnovit",resetToDefault:"Obnovit výchozí",cpSelect:"Vybrat"},shortcut:{shortcuts:"Klávesové zkratky",close:"Zavřít",textFormatting:"Formátování textu",action:"Akce",paragraphFormatting:"Formátování odstavce",documentStyle:"Styl dokumentu"},help:{insertParagraph:"Insert Paragraph",undo:"Undoes the last command",redo:"Redoes the last command",tab:"Tab",untab:"Untab",bold:"Set a bold style",italic:"Set a italic style",underline:"Set a underline style",strikethrough:"Set a strikethrough style",removeFormat:"Clean a style",justifyLeft:"Set left align",justifyCenter:"Set center align",justifyRight:"Set right align",justifyFull:"Set full align",insertUnorderedList:"Toggle unordered list",insertOrderedList:"Toggle ordered list",outdent:"Outdent on current paragraph",indent:"Indent on current paragraph",formatPara:"Change current block's format as a paragraph(P tag)",formatH1:"Change current block's format as H1",formatH2:"Change current block's format as H2",formatH3:"Change current block's format as H3",formatH4:"Change current block's format as H4",formatH5:"Change current block's format as H5",formatH6:"Change current block's format as H6",insertHorizontalRule:"Insert horizontal rule","linkDialog.show":"Show Link Dialog"},history:{undo:"Krok vzad",redo:"Krok vpřed"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"}}})}})}));
|
admin/lib/summernote/lang/summernote-cs-CZ.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-da-DK.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 12);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 12:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'da-DK': {
|
117 |
+
font: {
|
118 |
+
bold: 'Fed',
|
119 |
+
italic: 'Kursiv',
|
120 |
+
underline: 'Understreget',
|
121 |
+
clear: 'Fjern formatering',
|
122 |
+
height: 'Højde',
|
123 |
+
name: 'Skrifttype',
|
124 |
+
strikethrough: 'Gennemstreget',
|
125 |
+
subscript: 'Sænket skrift',
|
126 |
+
superscript: 'Hævet skrift',
|
127 |
+
size: 'Skriftstørrelse'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Billede',
|
131 |
+
insert: 'Indsæt billede',
|
132 |
+
resizeFull: 'Original størrelse',
|
133 |
+
resizeHalf: 'Halv størrelse',
|
134 |
+
resizeQuarter: 'Kvart størrelse',
|
135 |
+
floatLeft: 'Venstrestillet',
|
136 |
+
floatRight: 'Højrestillet',
|
137 |
+
floatNone: 'Fjern formatering',
|
138 |
+
shapeRounded: 'Form: Runde kanter',
|
139 |
+
shapeCircle: 'Form: Cirkel',
|
140 |
+
shapeThumbnail: 'Form: Miniature',
|
141 |
+
shapeNone: 'Form: Ingen',
|
142 |
+
dragImageHere: 'Træk billede hertil',
|
143 |
+
dropImage: 'Slip billede',
|
144 |
+
selectFromFiles: 'Vælg billed-fil',
|
145 |
+
maximumFileSize: 'Maks fil størrelse',
|
146 |
+
maximumFileSizeError: 'Filen er større end maks tilladte fil størrelse!',
|
147 |
+
url: 'Billede URL',
|
148 |
+
remove: 'Fjern billede',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'Video',
|
153 |
+
videoLink: 'Video Link',
|
154 |
+
insert: 'Indsæt Video',
|
155 |
+
url: 'Video URL?',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion eller Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'Link',
|
160 |
+
insert: 'Indsæt link',
|
161 |
+
unlink: 'Fjern link',
|
162 |
+
edit: 'Rediger',
|
163 |
+
textToDisplay: 'Visningstekst',
|
164 |
+
url: 'Hvor skal linket pege hen?',
|
165 |
+
openInNewWindow: 'Åbn i nyt vindue'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'Tabel',
|
169 |
+
addRowAbove: 'Tilføj række over',
|
170 |
+
addRowBelow: 'Tilføj række under',
|
171 |
+
addColLeft: 'Tilføj venstre kolonne',
|
172 |
+
addColRight: 'Tilføj højre kolonne',
|
173 |
+
delRow: 'Slet række',
|
174 |
+
delCol: 'Slet kolonne',
|
175 |
+
delTable: 'Slet tabel'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'Indsæt horisontal linje'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'Stil',
|
182 |
+
p: 'p',
|
183 |
+
blockquote: 'Citat',
|
184 |
+
pre: 'Kode',
|
185 |
+
h1: 'Overskrift 1',
|
186 |
+
h2: 'Overskrift 2',
|
187 |
+
h3: 'Overskrift 3',
|
188 |
+
h4: 'Overskrift 4',
|
189 |
+
h5: 'Overskrift 5',
|
190 |
+
h6: 'Overskrift 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'Punktopstillet liste',
|
194 |
+
ordered: 'Nummereret liste'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'Hjælp',
|
198 |
+
fullscreen: 'Fuld skærm',
|
199 |
+
codeview: 'HTML-Visning'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'Afsnit',
|
203 |
+
outdent: 'Formindsk indryk',
|
204 |
+
indent: 'Forøg indryk',
|
205 |
+
left: 'Venstrestillet',
|
206 |
+
center: 'Centreret',
|
207 |
+
right: 'Højrestillet',
|
208 |
+
justify: 'Blokjuster'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'Nyligt valgt farve',
|
212 |
+
more: 'Flere farver',
|
213 |
+
background: 'Baggrund',
|
214 |
+
foreground: 'Forgrund',
|
215 |
+
transparent: 'Transparent',
|
216 |
+
setTransparent: 'Sæt transparent',
|
217 |
+
reset: 'Nulstil',
|
218 |
+
resetToDefault: 'Gendan standardindstillinger'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: 'Genveje',
|
222 |
+
close: 'Luk',
|
223 |
+
textFormatting: 'Tekstformatering',
|
224 |
+
action: 'Handling',
|
225 |
+
paragraphFormatting: 'Afsnitsformatering',
|
226 |
+
documentStyle: 'Dokumentstil',
|
227 |
+
extraKeys: 'Extra keys'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
'insertParagraph': 'Indsæt paragraf',
|
231 |
+
'undo': 'Undoes the last command',
|
232 |
+
'redo': 'Redoes the last command',
|
233 |
+
'tab': 'Tab',
|
234 |
+
'untab': 'Untab',
|
235 |
+
'bold': 'Set a bold style',
|
236 |
+
'italic': 'Set a italic style',
|
237 |
+
'underline': 'Set a underline style',
|
238 |
+
'strikethrough': 'Set a strikethrough style',
|
239 |
+
'removeFormat': 'Clean a style',
|
240 |
+
'justifyLeft': 'Set left align',
|
241 |
+
'justifyCenter': 'Set center align',
|
242 |
+
'justifyRight': 'Set right align',
|
243 |
+
'justifyFull': 'Set full align',
|
244 |
+
'insertUnorderedList': 'Toggle unordered list',
|
245 |
+
'insertOrderedList': 'Toggle ordered list',
|
246 |
+
'outdent': 'Outdent on current paragraph',
|
247 |
+
'indent': 'Indent on current paragraph',
|
248 |
+
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
|
249 |
+
'formatH1': 'Change current block\'s format as H1',
|
250 |
+
'formatH2': 'Change current block\'s format as H2',
|
251 |
+
'formatH3': 'Change current block\'s format as H3',
|
252 |
+
'formatH4': 'Change current block\'s format as H4',
|
253 |
+
'formatH5': 'Change current block\'s format as H5',
|
254 |
+
'formatH6': 'Change current block\'s format as H6',
|
255 |
+
'insertHorizontalRule': 'Insert horizontal rule',
|
256 |
+
'linkDialog.show': 'Vis Link Dialog'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: 'Fortryd',
|
260 |
+
redo: 'Annuller fortryd'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: 'SPECIAL CHARACTERS',
|
264 |
+
select: 'Vælg special karakterer'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-da-DK.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-da-DK.min.js.LICENSE.txt */
|
2 |
+
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var t=r();for(var n in t)("object"==typeof exports?exports:e)[n]=t[n]}}(window,(function(){return function(e){var r={};function t(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var i in e)t.d(n,i,function(r){return e[r]}.bind(null,i));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=12)}({12:function(e,r){var t;(t=jQuery).extend(t.summernote.lang,{"da-DK":{font:{bold:"Fed",italic:"Kursiv",underline:"Understreget",clear:"Fjern formatering",height:"Højde",name:"Skrifttype",strikethrough:"Gennemstreget",subscript:"Sænket skrift",superscript:"Hævet skrift",size:"Skriftstørrelse"},image:{image:"Billede",insert:"Indsæt billede",resizeFull:"Original størrelse",resizeHalf:"Halv størrelse",resizeQuarter:"Kvart størrelse",floatLeft:"Venstrestillet",floatRight:"Højrestillet",floatNone:"Fjern formatering",shapeRounded:"Form: Runde kanter",shapeCircle:"Form: Cirkel",shapeThumbnail:"Form: Miniature",shapeNone:"Form: Ingen",dragImageHere:"Træk billede hertil",dropImage:"Slip billede",selectFromFiles:"Vælg billed-fil",maximumFileSize:"Maks fil størrelse",maximumFileSizeError:"Filen er større end maks tilladte fil størrelse!",url:"Billede URL",remove:"Fjern billede",original:"Original"},video:{video:"Video",videoLink:"Video Link",insert:"Indsæt Video",url:"Video URL?",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion eller Youku)"},link:{link:"Link",insert:"Indsæt link",unlink:"Fjern link",edit:"Rediger",textToDisplay:"Visningstekst",url:"Hvor skal linket pege hen?",openInNewWindow:"Åbn i nyt vindue"},table:{table:"Tabel",addRowAbove:"Tilføj række over",addRowBelow:"Tilføj række under",addColLeft:"Tilføj venstre kolonne",addColRight:"Tilføj højre kolonne",delRow:"Slet række",delCol:"Slet kolonne",delTable:"Slet tabel"},hr:{insert:"Indsæt horisontal linje"},style:{style:"Stil",p:"p",blockquote:"Citat",pre:"Kode",h1:"Overskrift 1",h2:"Overskrift 2",h3:"Overskrift 3",h4:"Overskrift 4",h5:"Overskrift 5",h6:"Overskrift 6"},lists:{unordered:"Punktopstillet liste",ordered:"Nummereret liste"},options:{help:"Hjælp",fullscreen:"Fuld skærm",codeview:"HTML-Visning"},paragraph:{paragraph:"Afsnit",outdent:"Formindsk indryk",indent:"Forøg indryk",left:"Venstrestillet",center:"Centreret",right:"Højrestillet",justify:"Blokjuster"},color:{recent:"Nyligt valgt farve",more:"Flere farver",background:"Baggrund",foreground:"Forgrund",transparent:"Transparent",setTransparent:"Sæt transparent",reset:"Nulstil",resetToDefault:"Gendan standardindstillinger"},shortcut:{shortcuts:"Genveje",close:"Luk",textFormatting:"Tekstformatering",action:"Handling",paragraphFormatting:"Afsnitsformatering",documentStyle:"Dokumentstil",extraKeys:"Extra keys"},help:{insertParagraph:"Indsæt paragraf",undo:"Undoes the last command",redo:"Redoes the last command",tab:"Tab",untab:"Untab",bold:"Set a bold style",italic:"Set a italic style",underline:"Set a underline style",strikethrough:"Set a strikethrough style",removeFormat:"Clean a style",justifyLeft:"Set left align",justifyCenter:"Set center align",justifyRight:"Set right align",justifyFull:"Set full align",insertUnorderedList:"Toggle unordered list",insertOrderedList:"Toggle ordered list",outdent:"Outdent on current paragraph",indent:"Indent on current paragraph",formatPara:"Change current block's format as a paragraph(P tag)",formatH1:"Change current block's format as H1",formatH2:"Change current block's format as H2",formatH3:"Change current block's format as H3",formatH4:"Change current block's format as H4",formatH5:"Change current block's format as H5",formatH6:"Change current block's format as H6",insertHorizontalRule:"Insert horizontal rule","linkDialog.show":"Vis Link Dialog"},history:{undo:"Fortryd",redo:"Annuller fortryd"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Vælg special karakterer"}}})}})}));
|
admin/lib/summernote/lang/summernote-da-DK.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-de-DE.js
ADDED
@@ -0,0 +1,274 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 13);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 13:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'de-DE': {
|
117 |
+
font: {
|
118 |
+
bold: 'Fett',
|
119 |
+
italic: 'Kursiv',
|
120 |
+
underline: 'Unterstreichen',
|
121 |
+
clear: 'Zurücksetzen',
|
122 |
+
height: 'Zeilenhöhe',
|
123 |
+
name: 'Schriftart',
|
124 |
+
strikethrough: 'Durchgestrichen',
|
125 |
+
subscript: 'Tiefgestellt',
|
126 |
+
superscript: 'Hochgestellt',
|
127 |
+
size: 'Schriftgröße'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Bild',
|
131 |
+
insert: 'Bild einfügen',
|
132 |
+
resizeFull: 'Originalgröße',
|
133 |
+
resizeHalf: '1/2 Größe',
|
134 |
+
resizeQuarter: '1/4 Größe',
|
135 |
+
floatLeft: 'Linksbündig',
|
136 |
+
floatRight: 'Rechtsbündig',
|
137 |
+
floatNone: 'Kein Textfluss',
|
138 |
+
shapeRounded: 'Abgerundeter Rahmen',
|
139 |
+
shapeCircle: 'Kreisförmiger Rahmen',
|
140 |
+
shapeThumbnail: 'Rahmenvorschau',
|
141 |
+
shapeNone: 'Kein Rahmen',
|
142 |
+
dragImageHere: 'Bild hierher ziehen',
|
143 |
+
dropImage: 'Bild oder Text nehmen',
|
144 |
+
selectFromFiles: 'Datei auswählen',
|
145 |
+
maximumFileSize: 'Maximale Dateigröße',
|
146 |
+
maximumFileSizeError: 'Maximale Dateigröße überschritten',
|
147 |
+
url: 'Bild URL',
|
148 |
+
remove: 'Bild entfernen',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'Video',
|
153 |
+
videoLink: 'Videolink',
|
154 |
+
insert: 'Video einfügen',
|
155 |
+
url: 'Video URL',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion oder Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'Link',
|
160 |
+
insert: 'Link einfügen',
|
161 |
+
unlink: 'Link entfernen',
|
162 |
+
edit: 'Bearbeiten',
|
163 |
+
textToDisplay: 'Anzeigetext',
|
164 |
+
url: 'Link URL',
|
165 |
+
openInNewWindow: 'In neuem Fenster öffnen'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'Tabelle',
|
169 |
+
addRowAbove: '+ Zeile oberhalb',
|
170 |
+
addRowBelow: '+ Zeile unterhalb',
|
171 |
+
addColLeft: '+ Spalte links',
|
172 |
+
addColRight: '+ Spalte rechts',
|
173 |
+
delRow: 'Reihe löschen',
|
174 |
+
delCol: 'Spalte löschen',
|
175 |
+
delTable: 'Tabelle löschen'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'Horizontale Linie einfügen'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'Stil',
|
182 |
+
normal: 'Normal',
|
183 |
+
p: 'Normal',
|
184 |
+
blockquote: 'Zitat',
|
185 |
+
pre: 'Quellcode',
|
186 |
+
h1: 'Überschrift 1',
|
187 |
+
h2: 'Überschrift 2',
|
188 |
+
h3: 'Überschrift 3',
|
189 |
+
h4: 'Überschrift 4',
|
190 |
+
h5: 'Überschrift 5',
|
191 |
+
h6: 'Überschrift 6'
|
192 |
+
},
|
193 |
+
lists: {
|
194 |
+
unordered: 'Unnummerierte Liste',
|
195 |
+
ordered: 'Nummerierte Liste'
|
196 |
+
},
|
197 |
+
options: {
|
198 |
+
help: 'Hilfe',
|
199 |
+
fullscreen: 'Vollbild',
|
200 |
+
codeview: 'Quellcode anzeigen'
|
201 |
+
},
|
202 |
+
paragraph: {
|
203 |
+
paragraph: 'Absatz',
|
204 |
+
outdent: 'Einzug verkleinern',
|
205 |
+
indent: 'Einzug vergrößern',
|
206 |
+
left: 'Links ausrichten',
|
207 |
+
center: 'Zentriert ausrichten',
|
208 |
+
right: 'Rechts ausrichten',
|
209 |
+
justify: 'Blocksatz'
|
210 |
+
},
|
211 |
+
color: {
|
212 |
+
recent: 'Letzte Farbe',
|
213 |
+
more: 'Weitere Farben',
|
214 |
+
background: 'Hintergrundfarbe',
|
215 |
+
foreground: 'Schriftfarbe',
|
216 |
+
transparent: 'Transparenz',
|
217 |
+
setTransparent: 'Transparenz setzen',
|
218 |
+
reset: 'Zurücksetzen',
|
219 |
+
resetToDefault: 'Auf Standard zurücksetzen'
|
220 |
+
},
|
221 |
+
shortcut: {
|
222 |
+
shortcuts: 'Tastenkürzel',
|
223 |
+
close: 'Schließen',
|
224 |
+
textFormatting: 'Textformatierung',
|
225 |
+
action: 'Aktion',
|
226 |
+
paragraphFormatting: 'Absatzformatierung',
|
227 |
+
documentStyle: 'Dokumentenstil',
|
228 |
+
extraKeys: 'Weitere Tasten'
|
229 |
+
},
|
230 |
+
help: {
|
231 |
+
'insertParagraph': 'Absatz einfügen',
|
232 |
+
'undo': 'Letzte Anweisung rückgängig',
|
233 |
+
'redo': 'Letzte Anweisung wiederholen',
|
234 |
+
'tab': 'Einzug hinzufügen',
|
235 |
+
'untab': 'Einzug entfernen',
|
236 |
+
'bold': 'Schrift Fett',
|
237 |
+
'italic': 'Schrift Kursiv',
|
238 |
+
'underline': 'Unterstreichen',
|
239 |
+
'strikethrough': 'Durchstreichen',
|
240 |
+
'removeFormat': 'Entfernt Format',
|
241 |
+
'justifyLeft': 'Linksbündig',
|
242 |
+
'justifyCenter': 'Mittig',
|
243 |
+
'justifyRight': 'Rechtsbündig',
|
244 |
+
'justifyFull': 'Blocksatz',
|
245 |
+
'insertUnorderedList': 'Unnummerierte Liste',
|
246 |
+
'insertOrderedList': 'Nummerierte Liste',
|
247 |
+
'outdent': 'Aktuellen Absatz ausrücken',
|
248 |
+
'indent': 'Aktuellen Absatz einrücken',
|
249 |
+
'formatPara': 'Formatiert aktuellen Block als Absatz (P-Tag)',
|
250 |
+
'formatH1': 'Formatiert aktuellen Block als H1',
|
251 |
+
'formatH2': 'Formatiert aktuellen Block als H2',
|
252 |
+
'formatH3': 'Formatiert aktuellen Block als H3',
|
253 |
+
'formatH4': 'Formatiert aktuellen Block als H4',
|
254 |
+
'formatH5': 'Formatiert aktuellen Block als H5',
|
255 |
+
'formatH6': 'Formatiert aktuellen Block als H6',
|
256 |
+
'insertHorizontalRule': 'Fügt eine horizontale Linie ein',
|
257 |
+
'linkDialog.show': 'Zeigt Linkdialog'
|
258 |
+
},
|
259 |
+
history: {
|
260 |
+
undo: 'Rückgängig',
|
261 |
+
redo: 'Wiederholen'
|
262 |
+
},
|
263 |
+
specialChar: {
|
264 |
+
specialChar: 'Sonderzeichen',
|
265 |
+
select: 'Zeichen auswählen'
|
266 |
+
}
|
267 |
+
}
|
268 |
+
});
|
269 |
+
})(jQuery);
|
270 |
+
|
271 |
+
/***/ })
|
272 |
+
|
273 |
+
/******/ });
|
274 |
+
});
|
admin/lib/summernote/lang/summernote-de-DE.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-de-DE.min.js.LICENSE.txt */
|
2 |
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(window,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=13)}({13:function(e,t){var r;(r=jQuery).extend(r.summernote.lang,{"de-DE":{font:{bold:"Fett",italic:"Kursiv",underline:"Unterstreichen",clear:"Zurücksetzen",height:"Zeilenhöhe",name:"Schriftart",strikethrough:"Durchgestrichen",subscript:"Tiefgestellt",superscript:"Hochgestellt",size:"Schriftgröße"},image:{image:"Bild",insert:"Bild einfügen",resizeFull:"Originalgröße",resizeHalf:"1/2 Größe",resizeQuarter:"1/4 Größe",floatLeft:"Linksbündig",floatRight:"Rechtsbündig",floatNone:"Kein Textfluss",shapeRounded:"Abgerundeter Rahmen",shapeCircle:"Kreisförmiger Rahmen",shapeThumbnail:"Rahmenvorschau",shapeNone:"Kein Rahmen",dragImageHere:"Bild hierher ziehen",dropImage:"Bild oder Text nehmen",selectFromFiles:"Datei auswählen",maximumFileSize:"Maximale Dateigröße",maximumFileSizeError:"Maximale Dateigröße überschritten",url:"Bild URL",remove:"Bild entfernen",original:"Original"},video:{video:"Video",videoLink:"Videolink",insert:"Video einfügen",url:"Video URL",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion oder Youku)"},link:{link:"Link",insert:"Link einfügen",unlink:"Link entfernen",edit:"Bearbeiten",textToDisplay:"Anzeigetext",url:"Link URL",openInNewWindow:"In neuem Fenster öffnen"},table:{table:"Tabelle",addRowAbove:"+ Zeile oberhalb",addRowBelow:"+ Zeile unterhalb",addColLeft:"+ Spalte links",addColRight:"+ Spalte rechts",delRow:"Reihe löschen",delCol:"Spalte löschen",delTable:"Tabelle löschen"},hr:{insert:"Horizontale Linie einfügen"},style:{style:"Stil",normal:"Normal",p:"Normal",blockquote:"Zitat",pre:"Quellcode",h1:"Überschrift 1",h2:"Überschrift 2",h3:"Überschrift 3",h4:"Überschrift 4",h5:"Überschrift 5",h6:"Überschrift 6"},lists:{unordered:"Unnummerierte Liste",ordered:"Nummerierte Liste"},options:{help:"Hilfe",fullscreen:"Vollbild",codeview:"Quellcode anzeigen"},paragraph:{paragraph:"Absatz",outdent:"Einzug verkleinern",indent:"Einzug vergrößern",left:"Links ausrichten",center:"Zentriert ausrichten",right:"Rechts ausrichten",justify:"Blocksatz"},color:{recent:"Letzte Farbe",more:"Weitere Farben",background:"Hintergrundfarbe",foreground:"Schriftfarbe",transparent:"Transparenz",setTransparent:"Transparenz setzen",reset:"Zurücksetzen",resetToDefault:"Auf Standard zurücksetzen"},shortcut:{shortcuts:"Tastenkürzel",close:"Schließen",textFormatting:"Textformatierung",action:"Aktion",paragraphFormatting:"Absatzformatierung",documentStyle:"Dokumentenstil",extraKeys:"Weitere Tasten"},help:{insertParagraph:"Absatz einfügen",undo:"Letzte Anweisung rückgängig",redo:"Letzte Anweisung wiederholen",tab:"Einzug hinzufügen",untab:"Einzug entfernen",bold:"Schrift Fett",italic:"Schrift Kursiv",underline:"Unterstreichen",strikethrough:"Durchstreichen",removeFormat:"Entfernt Format",justifyLeft:"Linksbündig",justifyCenter:"Mittig",justifyRight:"Rechtsbündig",justifyFull:"Blocksatz",insertUnorderedList:"Unnummerierte Liste",insertOrderedList:"Nummerierte Liste",outdent:"Aktuellen Absatz ausrücken",indent:"Aktuellen Absatz einrücken",formatPara:"Formatiert aktuellen Block als Absatz (P-Tag)",formatH1:"Formatiert aktuellen Block als H1",formatH2:"Formatiert aktuellen Block als H2",formatH3:"Formatiert aktuellen Block als H3",formatH4:"Formatiert aktuellen Block als H4",formatH5:"Formatiert aktuellen Block als H5",formatH6:"Formatiert aktuellen Block als H6",insertHorizontalRule:"Fügt eine horizontale Linie ein","linkDialog.show":"Zeigt Linkdialog"},history:{undo:"Rückgängig",redo:"Wiederholen"},specialChar:{specialChar:"Sonderzeichen",select:"Zeichen auswählen"}}})}})}));
|
admin/lib/summernote/lang/summernote-de-DE.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-el-GR.js
ADDED
@@ -0,0 +1,281 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 14);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 14:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'el-GR': {
|
117 |
+
font: {
|
118 |
+
bold: 'Έντονα',
|
119 |
+
italic: 'Πλάγια',
|
120 |
+
underline: 'Υπογραμμισμένα',
|
121 |
+
clear: 'Καθαρισμός',
|
122 |
+
height: 'Ύψος',
|
123 |
+
name: 'Γραμματοσειρά',
|
124 |
+
strikethrough: 'Διεγραμμένα',
|
125 |
+
subscript: 'Δείκτης',
|
126 |
+
superscript: 'Εκθέτης',
|
127 |
+
size: 'Μέγεθος',
|
128 |
+
sizeunit: 'Μονάδα μεγέθους'
|
129 |
+
},
|
130 |
+
image: {
|
131 |
+
image: 'Εικόνα',
|
132 |
+
insert: 'Εισαγωγή',
|
133 |
+
resizeFull: 'Πλήρες μέγεθος',
|
134 |
+
resizeHalf: 'Μισό μέγεθος',
|
135 |
+
resizeQuarter: '1/4 μέγεθος',
|
136 |
+
resizeNone: 'Αρχικό μέγεθος',
|
137 |
+
floatLeft: 'Μετατόπιση αριστερά',
|
138 |
+
floatRight: 'Μετατόπιση δεξιά',
|
139 |
+
floatNone: 'Χωρίς μετατόπιση',
|
140 |
+
shapeRounded: 'Σχήμα: Στρογγυλεμένο',
|
141 |
+
shapeCircle: 'Σχήμα: Κύκλος',
|
142 |
+
shapeThumbnail: 'Σχήμα: Μικρογραφία',
|
143 |
+
shapeNone: 'Σχήμα: Κανένα',
|
144 |
+
dragImageHere: 'Σύρτε την εικόνα εδώ',
|
145 |
+
dropImage: 'Αφήστε την εικόνα',
|
146 |
+
selectFromFiles: 'Επιλογή από αρχεία',
|
147 |
+
maximumFileSize: 'Μέγιστο μέγεθος αρχείου',
|
148 |
+
maximumFileSizeError: 'Το μέγεθος είναι μεγαλύτερο από το μέγιστο επιτρεπτό.',
|
149 |
+
url: 'URL',
|
150 |
+
remove: 'Αφαίρεση',
|
151 |
+
original: 'Αρχικό'
|
152 |
+
},
|
153 |
+
link: {
|
154 |
+
link: 'Σύνδεσμος',
|
155 |
+
insert: 'Εισαγωγή συνδέσμου',
|
156 |
+
unlink: 'Αφαίρεση συνδέσμου',
|
157 |
+
edit: 'Επεξεργασία συνδέσμου',
|
158 |
+
textToDisplay: 'Κείμενο συνδέσμου',
|
159 |
+
url: 'Σε ποιo URL πρέπει να πηγαίνει αυτός ο σύνδεσμος;',
|
160 |
+
openInNewWindow: 'Άνοιγμα σε νέο παράθυρο',
|
161 |
+
useProtocol: 'Χρήση προεπιλεγμένου πρωτοκόλλου'
|
162 |
+
},
|
163 |
+
video: {
|
164 |
+
video: 'Βίντεο',
|
165 |
+
videoLink: 'Σύνδεσμος Βίντεο',
|
166 |
+
insert: 'Εισαγωγή',
|
167 |
+
url: 'URL',
|
168 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ή Youku)'
|
169 |
+
},
|
170 |
+
table: {
|
171 |
+
table: 'Πίνακας',
|
172 |
+
addRowAbove: 'Προσθήκη γραμμής πάνω',
|
173 |
+
addRowBelow: 'Προσθήκη γραμμής κάτω',
|
174 |
+
addColLeft: 'Προσθήκη στήλης αριστερά',
|
175 |
+
addColRight: 'Προσθήκη στήλης δεξία',
|
176 |
+
delRow: 'Διαγραφή γραμμής',
|
177 |
+
delCol: 'Διαγραφή στήλης',
|
178 |
+
delTable: 'Διαγραφή πίνακα'
|
179 |
+
},
|
180 |
+
hr: {
|
181 |
+
insert: 'Εισαγωγή οριζόντιας γραμμής'
|
182 |
+
},
|
183 |
+
style: {
|
184 |
+
style: 'Στυλ',
|
185 |
+
normal: 'Κανονικό',
|
186 |
+
blockquote: 'Παράθεση',
|
187 |
+
pre: 'Ως έχει',
|
188 |
+
h1: 'Κεφαλίδα 1',
|
189 |
+
h2: 'Κεφαλίδα 2',
|
190 |
+
h3: 'Κεφαλίδα 3',
|
191 |
+
h4: 'Κεφαλίδα 4',
|
192 |
+
h5: 'Κεφαλίδα 5',
|
193 |
+
h6: 'Κεφαλίδα 6'
|
194 |
+
},
|
195 |
+
lists: {
|
196 |
+
unordered: 'Αταξινόμητη λίστα',
|
197 |
+
ordered: 'Ταξινομημένη λίστα'
|
198 |
+
},
|
199 |
+
options: {
|
200 |
+
help: 'Βοήθεια',
|
201 |
+
fullscreen: 'Πλήρης οθόνη',
|
202 |
+
codeview: 'Προβολή HTML'
|
203 |
+
},
|
204 |
+
paragraph: {
|
205 |
+
paragraph: 'Παράγραφος',
|
206 |
+
outdent: 'Μείωση εσοχής',
|
207 |
+
indent: 'Άυξηση εσοχής',
|
208 |
+
left: 'Αριστερή στοίχιση',
|
209 |
+
center: 'Στοίχιση στο κέντρο',
|
210 |
+
right: 'Δεξιά στοίχιση',
|
211 |
+
justify: 'Πλήρης στοίχιση'
|
212 |
+
},
|
213 |
+
color: {
|
214 |
+
recent: 'Πρόσφατη επιλογή',
|
215 |
+
more: 'Περισσότερα',
|
216 |
+
background: 'Υπόβαθρο',
|
217 |
+
foreground: 'Μπροστά',
|
218 |
+
transparent: 'Διαφανές',
|
219 |
+
setTransparent: 'Επιλογή διαφάνειας',
|
220 |
+
reset: 'Επαναφορά',
|
221 |
+
resetToDefault: 'Επαναφορά στις προκαθορισμένες τιμές',
|
222 |
+
cpSelect: 'Επιλογή'
|
223 |
+
},
|
224 |
+
shortcut: {
|
225 |
+
shortcuts: 'Συντομεύσεις',
|
226 |
+
close: 'Κλείσιμο',
|
227 |
+
textFormatting: 'Διαμόρφωση κειμένου',
|
228 |
+
action: 'Ενέργεια',
|
229 |
+
paragraphFormatting: 'Διαμόρφωση παραγράφου',
|
230 |
+
documentStyle: 'Στυλ κειμένου',
|
231 |
+
extraKeys: 'Επιπλέον συντομεύσεις'
|
232 |
+
},
|
233 |
+
help: {
|
234 |
+
'escape': 'Έξοδος',
|
235 |
+
'insertParagraph': 'Εισαγωγή παραγράφου',
|
236 |
+
'undo': 'Αναιρεί την προηγούμενη εντολή',
|
237 |
+
'redo': 'Επαναλαμβάνει την προηγούμενη εντολή',
|
238 |
+
'tab': 'Εσοχή',
|
239 |
+
'untab': 'Αναίρεση εσοχής',
|
240 |
+
'bold': 'Ορισμός έντονου στυλ',
|
241 |
+
'italic': 'Ορισμός πλάγιου στυλ',
|
242 |
+
'underline': 'Ορισμός υπογεγραμμένου στυλ',
|
243 |
+
'strikethrough': 'Ορισμός διεγραμμένου στυλ',
|
244 |
+
'removeFormat': 'Αφαίρεση στυλ',
|
245 |
+
'justifyLeft': 'Ορισμός αριστερής στοίχισης',
|
246 |
+
'justifyCenter': 'Ορισμός κεντρικής στοίχισης',
|
247 |
+
'justifyRight': 'Ορισμός δεξιάς στοίχισης',
|
248 |
+
'justifyFull': 'Ορισμός πλήρους στοίχισης',
|
249 |
+
'insertUnorderedList': 'Ορισμός μη-ταξινομημένης λίστας',
|
250 |
+
'insertOrderedList': 'Ορισμός ταξινομημένης λίστας',
|
251 |
+
'outdent': 'Προεξοχή παραγράφου',
|
252 |
+
'indent': 'Εσοχή παραγράφου',
|
253 |
+
'formatPara': 'Αλλαγή της μορφής του τρέχοντος μπλοκ σε παράγραφο (P tag)',
|
254 |
+
'formatH1': 'Αλλαγή της μορφής του τρέχοντος μπλοκ σε H1',
|
255 |
+
'formatH2': 'Αλλαγή της μορφής του τρέχοντος μπλοκ σε H2',
|
256 |
+
'formatH3': 'Αλλαγή της μορφής του τρέχοντος μπλοκ σε H3',
|
257 |
+
'formatH4': 'Αλλαγή της μορφής του τρέχοντος μπλοκ σε H4',
|
258 |
+
'formatH5': 'Αλλαγή της μορφής του τρέχοντος μπλοκ σε H5',
|
259 |
+
'formatH6': 'Αλλαγή της μορφής του τρέχοντος μπλοκ σε H6',
|
260 |
+
'insertHorizontalRule': 'Εισαγωγή οριζόντιας γραμμής',
|
261 |
+
'linkDialog.show': 'Εμφάνιση διαλόγου συνδέσμου'
|
262 |
+
},
|
263 |
+
history: {
|
264 |
+
undo: 'Αναίρεση',
|
265 |
+
redo: 'Επαναληψη'
|
266 |
+
},
|
267 |
+
specialChar: {
|
268 |
+
specialChar: 'ΕΙΔΙΚΟΙ ΧΑΡΑΚΤΗΡΕΣ',
|
269 |
+
select: 'Επιλέξτε ειδικούς χαρακτήρες'
|
270 |
+
},
|
271 |
+
output: {
|
272 |
+
noSelection: 'Δεν έγινε επιλογή!'
|
273 |
+
}
|
274 |
+
}
|
275 |
+
});
|
276 |
+
})(jQuery);
|
277 |
+
|
278 |
+
/***/ })
|
279 |
+
|
280 |
+
/******/ });
|
281 |
+
});
|
admin/lib/summernote/lang/summernote-el-GR.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-el-GR.min.js.LICENSE.txt */
|
2 |
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(window,(function(){return function(e){var t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(o,n,function(t){return e[t]}.bind(null,n));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=14)}({14:function(e,t){var r;(r=jQuery).extend(r.summernote.lang,{"el-GR":{font:{bold:"Έντονα",italic:"Πλάγια",underline:"Υπογραμμισμένα",clear:"Καθαρισμός",height:"Ύψος",name:"Γραμματοσειρά",strikethrough:"Διεγραμμένα",subscript:"Δείκτης",superscript:"Εκθέτης",size:"Μέγεθος",sizeunit:"Μονάδα μεγέθους"},image:{image:"Εικόνα",insert:"Εισαγωγή",resizeFull:"Πλήρες μέγεθος",resizeHalf:"Μισό μέγεθος",resizeQuarter:"1/4 μέγεθος",resizeNone:"Αρχικό μέγεθος",floatLeft:"Μετατόπιση αριστερά",floatRight:"Μετατόπιση δεξιά",floatNone:"Χωρίς μετατόπιση",shapeRounded:"Σχήμα: Στρογγυλεμένο",shapeCircle:"Σχήμα: Κύκλος",shapeThumbnail:"Σχήμα: Μικρογραφία",shapeNone:"Σχήμα: Κανένα",dragImageHere:"Σύρτε την εικόνα εδώ",dropImage:"Αφήστε την εικόνα",selectFromFiles:"Επιλογή από αρχεία",maximumFileSize:"Μέγιστο μέγεθος αρχείου",maximumFileSizeError:"Το μέγεθος είναι μεγαλύτερο από το μέγιστο επιτρεπτό.",url:"URL",remove:"Αφαίρεση",original:"Αρχικό"},link:{link:"Σύνδεσμος",insert:"Εισαγωγή συνδέσμου",unlink:"Αφαίρεση συνδέσμου",edit:"Επεξεργασία συνδέσμου",textToDisplay:"Κείμενο συνδέσμου",url:"Σε ποιo URL πρέπει να πηγαίνει αυτός ο σύνδεσμος;",openInNewWindow:"Άνοιγμα σε νέο παράθυρο",useProtocol:"Χρήση προεπιλεγμένου πρωτοκόλλου"},video:{video:"Βίντεο",videoLink:"Σύνδεσμος Βίντεο",insert:"Εισαγωγή",url:"URL",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion ή Youku)"},table:{table:"Πίνακας",addRowAbove:"Προσθήκη γραμμής πάνω",addRowBelow:"Προσθήκη γραμμής κάτω",addColLeft:"Προσθήκη στήλης αριστερά",addColRight:"Προσθήκη στήλης δεξία",delRow:"Διαγραφή γραμμής",delCol:"Διαγραφή στήλης",delTable:"Διαγραφή πίνακα"},hr:{insert:"Εισαγωγή οριζόντιας γραμμής"},style:{style:"Στυλ",normal:"Κανονικό",blockquote:"Παράθεση",pre:"Ως έχει",h1:"Κεφαλίδα 1",h2:"Κεφαλίδα 2",h3:"Κεφαλίδα 3",h4:"Κεφαλίδα 4",h5:"Κεφαλίδα 5",h6:"Κεφαλίδα 6"},lists:{unordered:"Αταξινόμητη λίστα",ordered:"Ταξινομημένη λίστα"},options:{help:"Βοήθεια",fullscreen:"Πλήρης οθόνη",codeview:"Προβολή HTML"},paragraph:{paragraph:"Παράγραφος",outdent:"Μείωση εσοχής",indent:"Άυξηση εσοχής",left:"Αριστερή στοίχιση",center:"Στοίχιση στο κέντρο",right:"Δεξιά στοίχιση",justify:"Πλήρης στοίχιση"},color:{recent:"Πρόσφατη επιλογή",more:"Περισσότερα",background:"Υπόβαθρο",foreground:"Μπροστά",transparent:"Διαφανές",setTransparent:"Επιλογή διαφάνειας",reset:"Επαναφορά",resetToDefault:"Επαναφορά στις προκαθορισμένες τιμές",cpSelect:"Επιλογή"},shortcut:{shortcuts:"Συντομεύσεις",close:"Κλείσιμο",textFormatting:"Διαμόρφωση κειμένου",action:"Ενέργεια",paragraphFormatting:"Διαμόρφωση παραγράφου",documentStyle:"Στυλ κειμένου",extraKeys:"Επιπλέον συντομεύσεις"},help:{escape:"Έξοδος",insertParagraph:"Εισαγωγή παραγράφου",undo:"Αναιρεί την προηγούμενη εντολή",redo:"Επαναλαμβάνει την προηγούμενη εντολή",tab:"Εσοχή",untab:"Αναίρεση εσοχής",bold:"Ορισμός έντονου στυλ",italic:"Ορισμός πλάγιου στυλ",underline:"Ορισμός υπογεγραμμένου στυλ",strikethrough:"Ορισμός διεγραμμένου στυλ",removeFormat:"Αφαίρεση στυλ",justifyLeft:"Ορισμός αριστερής στοίχισης",justifyCenter:"Ορισμός κεντρικής στοίχισης",justifyRight:"Ορισμός δεξιάς στοίχισης",justifyFull:"Ορισμός πλήρους στοίχισης",insertUnorderedList:"Ορισμός μη-ταξινομημένης λίστας",insertOrderedList:"Ορισμός ταξινομημένης λίστας",outdent:"Προεξοχή παραγράφου",indent:"Εσοχή παραγράφου",formatPara:"Αλλαγή της μορφής του τρέχοντος μπλοκ σε παράγραφο (P tag)",formatH1:"Αλλαγή της μορφής του τρέχοντος μπλοκ σε H1",formatH2:"Αλλαγή της μορφής του τρέχοντος μπλοκ σε H2",formatH3:"Αλλαγή της μορφής του τρέχοντος μπλοκ σε H3",formatH4:"Αλλαγή της μορφής του τρέχοντος μπλοκ σε H4",formatH5:"Αλλαγή της μορφής του τρέχοντος μπλοκ σε H5",formatH6:"Αλλαγή της μορφής του τρέχοντος μπλοκ σε H6",insertHorizontalRule:"Εισαγωγή οριζόντιας γραμμής","linkDialog.show":"Εμφάνιση διαλόγου συνδέσμου"},history:{undo:"Αναίρεση",redo:"Επαναληψη"},specialChar:{specialChar:"ΕΙΔΙΚΟΙ ΧΑΡΑΚΤΗΡΕΣ",select:"Επιλέξτε ειδικούς χαρακτήρες"},output:{noSelection:"Δεν έγινε επιλογή!"}}})}})}));
|
admin/lib/summernote/lang/summernote-el-GR.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-es-ES.js
ADDED
@@ -0,0 +1,280 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 15);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 15:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'es-ES': {
|
117 |
+
font: {
|
118 |
+
bold: 'Negrita',
|
119 |
+
italic: 'Cursiva',
|
120 |
+
underline: 'Subrayado',
|
121 |
+
clear: 'Eliminar estilo de letra',
|
122 |
+
height: 'Altura de línea',
|
123 |
+
name: 'Tipo de letra',
|
124 |
+
strikethrough: 'Tachado',
|
125 |
+
subscript: 'Subíndice',
|
126 |
+
superscript: 'Superíndice',
|
127 |
+
size: 'Tamaño de la fuente',
|
128 |
+
sizeunit: 'Unidad del tamaño de letra'
|
129 |
+
},
|
130 |
+
image: {
|
131 |
+
image: 'Imagen',
|
132 |
+
insert: 'Insertar imagen',
|
133 |
+
resizeFull: 'Redimensionar a tamaño completo',
|
134 |
+
resizeHalf: 'Redimensionar a la mitad',
|
135 |
+
resizeQuarter: 'Redimensionar a un cuarto',
|
136 |
+
resizeNone: 'Tamaño original',
|
137 |
+
floatLeft: 'Flotar a la izquierda',
|
138 |
+
floatRight: 'Flotar a la derecha',
|
139 |
+
floatNone: 'No flotar',
|
140 |
+
shapeRounded: 'Forma: Redondeado',
|
141 |
+
shapeCircle: 'Forma: Círculo',
|
142 |
+
shapeThumbnail: 'Forma: Miniatura',
|
143 |
+
shapeNone: 'Forma: Ninguna',
|
144 |
+
dragImageHere: 'Arrastre una imagen o texto aquí',
|
145 |
+
dropImage: 'Suelte una imagen o texto',
|
146 |
+
selectFromFiles: 'Seleccione un fichero',
|
147 |
+
maximumFileSize: 'Tamaño máximo del fichero',
|
148 |
+
maximumFileSizeError: 'Superado el tamaño máximo de fichero.',
|
149 |
+
url: 'URL de la imagen',
|
150 |
+
remove: 'Eliminar la imagen',
|
151 |
+
original: 'Original'
|
152 |
+
},
|
153 |
+
video: {
|
154 |
+
video: 'Vídeo',
|
155 |
+
videoLink: 'Enlace del vídeo',
|
156 |
+
insert: 'Insertar un vídeo',
|
157 |
+
url: 'URL del vídeo',
|
158 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion o Youku)'
|
159 |
+
},
|
160 |
+
link: {
|
161 |
+
link: 'Enlace',
|
162 |
+
insert: 'Insertar un enlace',
|
163 |
+
unlink: 'Quitar el enlace',
|
164 |
+
edit: 'Editar',
|
165 |
+
textToDisplay: 'Texto a mostrar',
|
166 |
+
url: '¿A qué URL lleva este enlace?',
|
167 |
+
openInNewWindow: 'Abrir en una nueva ventana',
|
168 |
+
useProtocol: 'Usar el protocolo predefinido'
|
169 |
+
},
|
170 |
+
table: {
|
171 |
+
table: 'Tabla',
|
172 |
+
addRowAbove: 'Añadir una fila encima',
|
173 |
+
addRowBelow: 'Añadir una fila debajo',
|
174 |
+
addColLeft: 'Añadir una columna a la izquierda',
|
175 |
+
addColRight: 'Añadir una columna a la derecha',
|
176 |
+
delRow: 'Borrar la fila',
|
177 |
+
delCol: 'Borrar la columna',
|
178 |
+
delTable: 'Borrar la tabla'
|
179 |
+
},
|
180 |
+
hr: {
|
181 |
+
insert: 'Insertar una línea horizontal'
|
182 |
+
},
|
183 |
+
style: {
|
184 |
+
style: 'Estilo',
|
185 |
+
p: 'Normal',
|
186 |
+
blockquote: 'Cita',
|
187 |
+
pre: 'Código',
|
188 |
+
h1: 'Título 1',
|
189 |
+
h2: 'Título 2',
|
190 |
+
h3: 'Título 3',
|
191 |
+
h4: 'Título 4',
|
192 |
+
h5: 'Título 5',
|
193 |
+
h6: 'Título 6'
|
194 |
+
},
|
195 |
+
lists: {
|
196 |
+
unordered: 'Lista',
|
197 |
+
ordered: 'Lista numerada'
|
198 |
+
},
|
199 |
+
options: {
|
200 |
+
help: 'Ayuda',
|
201 |
+
fullscreen: 'Pantalla completa',
|
202 |
+
codeview: 'Ver el código fuente'
|
203 |
+
},
|
204 |
+
paragraph: {
|
205 |
+
paragraph: 'Párrafo',
|
206 |
+
outdent: 'Reducir la sangría',
|
207 |
+
indent: 'Aumentar la sangría',
|
208 |
+
left: 'Alinear a la izquierda',
|
209 |
+
center: 'Centrar',
|
210 |
+
right: 'Alinear a la derecha',
|
211 |
+
justify: 'Justificar'
|
212 |
+
},
|
213 |
+
color: {
|
214 |
+
recent: 'Último color',
|
215 |
+
more: 'Más colores',
|
216 |
+
background: 'Color de fondo',
|
217 |
+
foreground: 'Color del texto',
|
218 |
+
transparent: 'Transparente',
|
219 |
+
setTransparent: 'Establecer transparente',
|
220 |
+
reset: 'Restablecer',
|
221 |
+
resetToDefault: 'Restablecer a los valores predefinidos',
|
222 |
+
cpSelect: 'Seleccionar'
|
223 |
+
},
|
224 |
+
shortcut: {
|
225 |
+
shortcuts: 'Atajos de teclado',
|
226 |
+
close: 'Cerrar',
|
227 |
+
textFormatting: 'Formato de texto',
|
228 |
+
action: 'Acción',
|
229 |
+
paragraphFormatting: 'Formato de párrafo',
|
230 |
+
documentStyle: 'Estilo de documento',
|
231 |
+
extraKeys: 'Teclas adicionales'
|
232 |
+
},
|
233 |
+
help: {
|
234 |
+
insertParagraph: 'Insertar un párrafo',
|
235 |
+
undo: 'Deshacer la última acción',
|
236 |
+
redo: 'Rehacer la última acción',
|
237 |
+
tab: 'Tabular',
|
238 |
+
untab: 'Eliminar tabulación',
|
239 |
+
bold: 'Establecer estilo negrita',
|
240 |
+
italic: 'Establecer estilo cursiva',
|
241 |
+
underline: 'Establecer estilo subrayado',
|
242 |
+
strikethrough: 'Establecer estilo tachado',
|
243 |
+
removeFormat: 'Limpiar estilo',
|
244 |
+
justifyLeft: 'Alinear a la izquierda',
|
245 |
+
justifyCenter: 'Alinear al centro',
|
246 |
+
justifyRight: 'Alinear a la derecha',
|
247 |
+
justifyFull: 'Justificar',
|
248 |
+
insertUnorderedList: 'Insertar lista',
|
249 |
+
insertOrderedList: 'Insertar lista numerada',
|
250 |
+
outdent: 'Reducir sangría del párrafo',
|
251 |
+
indent: 'Aumentar sangría del párrafo',
|
252 |
+
formatPara: 'Cambiar el formato del bloque actual a párrafo (etiqueta P)',
|
253 |
+
formatH1: 'Cambiar el formato del bloque actual a H1',
|
254 |
+
formatH2: 'Cambiar el formato del bloque actual a H2',
|
255 |
+
formatH3: 'Cambiar el formato del bloque actual a H3',
|
256 |
+
formatH4: 'Cambiar el formato del bloque actual a H4',
|
257 |
+
formatH5: 'Cambiar el formato del bloque actual a H5',
|
258 |
+
formatH6: 'Cambiar el formato del bloque actual a H6',
|
259 |
+
insertHorizontalRule: 'Insertar una línea horizontal',
|
260 |
+
'linkDialog.show': 'Mostrar el panel de enlaces'
|
261 |
+
},
|
262 |
+
history: {
|
263 |
+
undo: 'Deshacer',
|
264 |
+
redo: 'Rehacer'
|
265 |
+
},
|
266 |
+
specialChar: {
|
267 |
+
specialChar: 'CARACTERES ESPECIALES',
|
268 |
+
select: 'Seleccionar caracteres especiales'
|
269 |
+
},
|
270 |
+
output: {
|
271 |
+
noSelection: '¡No ha seleccionado nada!'
|
272 |
+
}
|
273 |
+
}
|
274 |
+
});
|
275 |
+
})(jQuery);
|
276 |
+
|
277 |
+
/***/ })
|
278 |
+
|
279 |
+
/******/ });
|
280 |
+
});
|
admin/lib/summernote/lang/summernote-es-ES.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-es-ES.min.js.LICENSE.txt */
|
2 |
+
!function(e,a){if("object"==typeof exports&&"object"==typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var r=a();for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(window,(function(){return function(e){var a={};function r(o){if(a[o])return a[o].exports;var t=a[o]={i:o,l:!1,exports:{}};return e[o].call(t.exports,t,t.exports,r),t.l=!0,t.exports}return r.m=e,r.c=a,r.d=function(e,a,o){r.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,a){if(1&a&&(e=r(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var t in e)r.d(o,t,function(a){return e[a]}.bind(null,t));return o},r.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(a,"a",a),a},r.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},r.p="",r(r.s=15)}({15:function(e,a){var r;(r=jQuery).extend(r.summernote.lang,{"es-ES":{font:{bold:"Negrita",italic:"Cursiva",underline:"Subrayado",clear:"Eliminar estilo de letra",height:"Altura de línea",name:"Tipo de letra",strikethrough:"Tachado",subscript:"Subíndice",superscript:"Superíndice",size:"Tamaño de la fuente",sizeunit:"Unidad del tamaño de letra"},image:{image:"Imagen",insert:"Insertar imagen",resizeFull:"Redimensionar a tamaño completo",resizeHalf:"Redimensionar a la mitad",resizeQuarter:"Redimensionar a un cuarto",resizeNone:"Tamaño original",floatLeft:"Flotar a la izquierda",floatRight:"Flotar a la derecha",floatNone:"No flotar",shapeRounded:"Forma: Redondeado",shapeCircle:"Forma: Círculo",shapeThumbnail:"Forma: Miniatura",shapeNone:"Forma: Ninguna",dragImageHere:"Arrastre una imagen o texto aquí",dropImage:"Suelte una imagen o texto",selectFromFiles:"Seleccione un fichero",maximumFileSize:"Tamaño máximo del fichero",maximumFileSizeError:"Superado el tamaño máximo de fichero.",url:"URL de la imagen",remove:"Eliminar la imagen",original:"Original"},video:{video:"Vídeo",videoLink:"Enlace del vídeo",insert:"Insertar un vídeo",url:"URL del vídeo",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion o Youku)"},link:{link:"Enlace",insert:"Insertar un enlace",unlink:"Quitar el enlace",edit:"Editar",textToDisplay:"Texto a mostrar",url:"¿A qué URL lleva este enlace?",openInNewWindow:"Abrir en una nueva ventana",useProtocol:"Usar el protocolo predefinido"},table:{table:"Tabla",addRowAbove:"Añadir una fila encima",addRowBelow:"Añadir una fila debajo",addColLeft:"Añadir una columna a la izquierda",addColRight:"Añadir una columna a la derecha",delRow:"Borrar la fila",delCol:"Borrar la columna",delTable:"Borrar la tabla"},hr:{insert:"Insertar una línea horizontal"},style:{style:"Estilo",p:"Normal",blockquote:"Cita",pre:"Código",h1:"Título 1",h2:"Título 2",h3:"Título 3",h4:"Título 4",h5:"Título 5",h6:"Título 6"},lists:{unordered:"Lista",ordered:"Lista numerada"},options:{help:"Ayuda",fullscreen:"Pantalla completa",codeview:"Ver el código fuente"},paragraph:{paragraph:"Párrafo",outdent:"Reducir la sangría",indent:"Aumentar la sangría",left:"Alinear a la izquierda",center:"Centrar",right:"Alinear a la derecha",justify:"Justificar"},color:{recent:"Último color",more:"Más colores",background:"Color de fondo",foreground:"Color del texto",transparent:"Transparente",setTransparent:"Establecer transparente",reset:"Restablecer",resetToDefault:"Restablecer a los valores predefinidos",cpSelect:"Seleccionar"},shortcut:{shortcuts:"Atajos de teclado",close:"Cerrar",textFormatting:"Formato de texto",action:"Acción",paragraphFormatting:"Formato de párrafo",documentStyle:"Estilo de documento",extraKeys:"Teclas adicionales"},help:{insertParagraph:"Insertar un párrafo",undo:"Deshacer la última acción",redo:"Rehacer la última acción",tab:"Tabular",untab:"Eliminar tabulación",bold:"Establecer estilo negrita",italic:"Establecer estilo cursiva",underline:"Establecer estilo subrayado",strikethrough:"Establecer estilo tachado",removeFormat:"Limpiar estilo",justifyLeft:"Alinear a la izquierda",justifyCenter:"Alinear al centro",justifyRight:"Alinear a la derecha",justifyFull:"Justificar",insertUnorderedList:"Insertar lista",insertOrderedList:"Insertar lista numerada",outdent:"Reducir sangría del párrafo",indent:"Aumentar sangría del párrafo",formatPara:"Cambiar el formato del bloque actual a párrafo (etiqueta P)",formatH1:"Cambiar el formato del bloque actual a H1",formatH2:"Cambiar el formato del bloque actual a H2",formatH3:"Cambiar el formato del bloque actual a H3",formatH4:"Cambiar el formato del bloque actual a H4",formatH5:"Cambiar el formato del bloque actual a H5",formatH6:"Cambiar el formato del bloque actual a H6",insertHorizontalRule:"Insertar una línea horizontal","linkDialog.show":"Mostrar el panel de enlaces"},history:{undo:"Deshacer",redo:"Rehacer"},specialChar:{specialChar:"CARACTERES ESPECIALES",select:"Seleccionar caracteres especiales"},output:{noSelection:"¡No ha seleccionado nada!"}}})}})}));
|
admin/lib/summernote/lang/summernote-es-ES.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-es-EU.js
ADDED
@@ -0,0 +1,272 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 16);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 16:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'es-EU': {
|
117 |
+
font: {
|
118 |
+
bold: 'Lodia',
|
119 |
+
italic: 'Etzana',
|
120 |
+
underline: 'Azpimarratua',
|
121 |
+
clear: 'Estiloa kendu',
|
122 |
+
height: 'Lerro altuera',
|
123 |
+
name: 'Tipografia',
|
124 |
+
strikethrough: 'Marratua',
|
125 |
+
subscript: 'Subscript',
|
126 |
+
superscript: 'Superscript',
|
127 |
+
size: 'Letren neurria'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Irudia',
|
131 |
+
insert: 'Irudi bat txertatu',
|
132 |
+
resizeFull: 'Jatorrizko neurrira aldatu',
|
133 |
+
resizeHalf: 'Neurria erdira aldatu',
|
134 |
+
resizeQuarter: 'Neurria laurdenera aldatu',
|
135 |
+
floatLeft: 'Ezkerrean kokatu',
|
136 |
+
floatRight: 'Eskuinean kokatu',
|
137 |
+
floatNone: 'Kokapenik ez ezarri',
|
138 |
+
shapeRounded: 'Shape: Rounded',
|
139 |
+
shapeCircle: 'Shape: Circle',
|
140 |
+
shapeThumbnail: 'Shape: Thumbnail',
|
141 |
+
shapeNone: 'Shape: None',
|
142 |
+
dragImageHere: 'Irudi bat ezarri hemen',
|
143 |
+
dropImage: 'Drop image or Text',
|
144 |
+
selectFromFiles: 'Zure fitxategi bat aukeratu',
|
145 |
+
maximumFileSize: 'Maximum file size',
|
146 |
+
maximumFileSizeError: 'Maximum file size exceeded.',
|
147 |
+
url: 'Irudiaren URL helbidea',
|
148 |
+
remove: 'Remove Image',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'Bideoa',
|
153 |
+
videoLink: 'Bideorako esteka',
|
154 |
+
insert: 'Bideo berri bat txertatu',
|
155 |
+
url: 'Bideoaren URL helbidea',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram edo DailyMotion)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'Esteka',
|
160 |
+
insert: 'Esteka bat txertatu',
|
161 |
+
unlink: 'Esteka ezabatu',
|
162 |
+
edit: 'Editatu',
|
163 |
+
textToDisplay: 'Estekaren testua',
|
164 |
+
url: 'Estekaren URL helbidea',
|
165 |
+
openInNewWindow: 'Leiho berri batean ireki'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'Taula',
|
169 |
+
addRowAbove: 'Add row above',
|
170 |
+
addRowBelow: 'Add row below',
|
171 |
+
addColLeft: 'Add column left',
|
172 |
+
addColRight: 'Add column right',
|
173 |
+
delRow: 'Delete row',
|
174 |
+
delCol: 'Delete column',
|
175 |
+
delTable: 'Delete table'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'Marra horizontala txertatu'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'Estiloa',
|
182 |
+
p: 'p',
|
183 |
+
blockquote: 'Aipamena',
|
184 |
+
pre: 'Kodea',
|
185 |
+
h1: '1. izenburua',
|
186 |
+
h2: '2. izenburua',
|
187 |
+
h3: '3. izenburua',
|
188 |
+
h4: '4. izenburua',
|
189 |
+
h5: '5. izenburua',
|
190 |
+
h6: '6. izenburua'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'Ordenatu gabeko zerrenda',
|
194 |
+
ordered: 'Zerrenda ordenatua'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'Laguntza',
|
198 |
+
fullscreen: 'Pantaila osoa',
|
199 |
+
codeview: 'Kodea ikusi'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'Paragrafoa',
|
203 |
+
outdent: 'Koska txikiagoa',
|
204 |
+
indent: 'Koska handiagoa',
|
205 |
+
left: 'Ezkerrean kokatu',
|
206 |
+
center: 'Erdian kokatu',
|
207 |
+
right: 'Eskuinean kokatu',
|
208 |
+
justify: 'Justifikatu'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'Azken kolorea',
|
212 |
+
more: 'Kolore gehiago',
|
213 |
+
background: 'Atzeko planoa',
|
214 |
+
foreground: 'Aurreko planoa',
|
215 |
+
transparent: 'Gardena',
|
216 |
+
setTransparent: 'Gardendu',
|
217 |
+
reset: 'Lehengoratu',
|
218 |
+
resetToDefault: 'Berrezarri lehenetsia'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: 'Lasterbideak',
|
222 |
+
close: 'Itxi',
|
223 |
+
textFormatting: 'Testuaren formatua',
|
224 |
+
action: 'Ekintza',
|
225 |
+
paragraphFormatting: 'Paragrafoaren formatua',
|
226 |
+
documentStyle: 'Dokumentuaren estiloa'
|
227 |
+
},
|
228 |
+
help: {
|
229 |
+
'insertParagraph': 'Insert Paragraph',
|
230 |
+
'undo': 'Undoes the last command',
|
231 |
+
'redo': 'Redoes the last command',
|
232 |
+
'tab': 'Tab',
|
233 |
+
'untab': 'Untab',
|
234 |
+
'bold': 'Set a bold style',
|
235 |
+
'italic': 'Set a italic style',
|
236 |
+
'underline': 'Set a underline style',
|
237 |
+
'strikethrough': 'Set a strikethrough style',
|
238 |
+
'removeFormat': 'Clean a style',
|
239 |
+
'justifyLeft': 'Set left align',
|
240 |
+
'justifyCenter': 'Set center align',
|
241 |
+
'justifyRight': 'Set right align',
|
242 |
+
'justifyFull': 'Set full align',
|
243 |
+
'insertUnorderedList': 'Toggle unordered list',
|
244 |
+
'insertOrderedList': 'Toggle ordered list',
|
245 |
+
'outdent': 'Outdent on current paragraph',
|
246 |
+
'indent': 'Indent on current paragraph',
|
247 |
+
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
|
248 |
+
'formatH1': 'Change current block\'s format as H1',
|
249 |
+
'formatH2': 'Change current block\'s format as H2',
|
250 |
+
'formatH3': 'Change current block\'s format as H3',
|
251 |
+
'formatH4': 'Change current block\'s format as H4',
|
252 |
+
'formatH5': 'Change current block\'s format as H5',
|
253 |
+
'formatH6': 'Change current block\'s format as H6',
|
254 |
+
'insertHorizontalRule': 'Insert horizontal rule',
|
255 |
+
'linkDialog.show': 'Show Link Dialog'
|
256 |
+
},
|
257 |
+
history: {
|
258 |
+
undo: 'Desegin',
|
259 |
+
redo: 'Berregin'
|
260 |
+
},
|
261 |
+
specialChar: {
|
262 |
+
specialChar: 'SPECIAL CHARACTERS',
|
263 |
+
select: 'Select Special characters'
|
264 |
+
}
|
265 |
+
}
|
266 |
+
});
|
267 |
+
})(jQuery);
|
268 |
+
|
269 |
+
/***/ })
|
270 |
+
|
271 |
+
/******/ });
|
272 |
+
});
|
admin/lib/summernote/lang/summernote-es-EU.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-es-EU.min.js.LICENSE.txt */
|
2 |
+
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var a=r();for(var t in a)("object"==typeof exports?exports:e)[t]=a[t]}}(window,(function(){return function(e){var r={};function a(t){if(r[t])return r[t].exports;var o=r[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,a),o.l=!0,o.exports}return a.m=e,a.c=r,a.d=function(e,r,t){a.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,r){if(1&r&&(e=a(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(a.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)a.d(t,o,function(r){return e[r]}.bind(null,o));return t},a.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(r,"a",r),r},a.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},a.p="",a(a.s=16)}({16:function(e,r){var a;(a=jQuery).extend(a.summernote.lang,{"es-EU":{font:{bold:"Lodia",italic:"Etzana",underline:"Azpimarratua",clear:"Estiloa kendu",height:"Lerro altuera",name:"Tipografia",strikethrough:"Marratua",subscript:"Subscript",superscript:"Superscript",size:"Letren neurria"},image:{image:"Irudia",insert:"Irudi bat txertatu",resizeFull:"Jatorrizko neurrira aldatu",resizeHalf:"Neurria erdira aldatu",resizeQuarter:"Neurria laurdenera aldatu",floatLeft:"Ezkerrean kokatu",floatRight:"Eskuinean kokatu",floatNone:"Kokapenik ez ezarri",shapeRounded:"Shape: Rounded",shapeCircle:"Shape: Circle",shapeThumbnail:"Shape: Thumbnail",shapeNone:"Shape: None",dragImageHere:"Irudi bat ezarri hemen",dropImage:"Drop image or Text",selectFromFiles:"Zure fitxategi bat aukeratu",maximumFileSize:"Maximum file size",maximumFileSizeError:"Maximum file size exceeded.",url:"Irudiaren URL helbidea",remove:"Remove Image",original:"Original"},video:{video:"Bideoa",videoLink:"Bideorako esteka",insert:"Bideo berri bat txertatu",url:"Bideoaren URL helbidea",providers:"(YouTube, Vimeo, Vine, Instagram edo DailyMotion)"},link:{link:"Esteka",insert:"Esteka bat txertatu",unlink:"Esteka ezabatu",edit:"Editatu",textToDisplay:"Estekaren testua",url:"Estekaren URL helbidea",openInNewWindow:"Leiho berri batean ireki"},table:{table:"Taula",addRowAbove:"Add row above",addRowBelow:"Add row below",addColLeft:"Add column left",addColRight:"Add column right",delRow:"Delete row",delCol:"Delete column",delTable:"Delete table"},hr:{insert:"Marra horizontala txertatu"},style:{style:"Estiloa",p:"p",blockquote:"Aipamena",pre:"Kodea",h1:"1. izenburua",h2:"2. izenburua",h3:"3. izenburua",h4:"4. izenburua",h5:"5. izenburua",h6:"6. izenburua"},lists:{unordered:"Ordenatu gabeko zerrenda",ordered:"Zerrenda ordenatua"},options:{help:"Laguntza",fullscreen:"Pantaila osoa",codeview:"Kodea ikusi"},paragraph:{paragraph:"Paragrafoa",outdent:"Koska txikiagoa",indent:"Koska handiagoa",left:"Ezkerrean kokatu",center:"Erdian kokatu",right:"Eskuinean kokatu",justify:"Justifikatu"},color:{recent:"Azken kolorea",more:"Kolore gehiago",background:"Atzeko planoa",foreground:"Aurreko planoa",transparent:"Gardena",setTransparent:"Gardendu",reset:"Lehengoratu",resetToDefault:"Berrezarri lehenetsia"},shortcut:{shortcuts:"Lasterbideak",close:"Itxi",textFormatting:"Testuaren formatua",action:"Ekintza",paragraphFormatting:"Paragrafoaren formatua",documentStyle:"Dokumentuaren estiloa"},help:{insertParagraph:"Insert Paragraph",undo:"Undoes the last command",redo:"Redoes the last command",tab:"Tab",untab:"Untab",bold:"Set a bold style",italic:"Set a italic style",underline:"Set a underline style",strikethrough:"Set a strikethrough style",removeFormat:"Clean a style",justifyLeft:"Set left align",justifyCenter:"Set center align",justifyRight:"Set right align",justifyFull:"Set full align",insertUnorderedList:"Toggle unordered list",insertOrderedList:"Toggle ordered list",outdent:"Outdent on current paragraph",indent:"Indent on current paragraph",formatPara:"Change current block's format as a paragraph(P tag)",formatH1:"Change current block's format as H1",formatH2:"Change current block's format as H2",formatH3:"Change current block's format as H3",formatH4:"Change current block's format as H4",formatH5:"Change current block's format as H5",formatH6:"Change current block's format as H6",insertHorizontalRule:"Insert horizontal rule","linkDialog.show":"Show Link Dialog"},history:{undo:"Desegin",redo:"Berregin"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"}}})}})}));
|
admin/lib/summernote/lang/summernote-es-EU.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-fa-IR.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 17);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 17:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'fa-IR': {
|
117 |
+
font: {
|
118 |
+
bold: 'درشت',
|
119 |
+
italic: 'خمیده',
|
120 |
+
underline: 'میان خط',
|
121 |
+
clear: 'پاک کردن فرمت فونت',
|
122 |
+
height: 'فاصله ی خطی',
|
123 |
+
name: 'اسم فونت',
|
124 |
+
strikethrough: 'Strike',
|
125 |
+
subscript: 'Subscript',
|
126 |
+
superscript: 'Superscript',
|
127 |
+
size: 'اندازه ی فونت'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'تصویر',
|
131 |
+
insert: 'وارد کردن تصویر',
|
132 |
+
resizeFull: 'تغییر به اندازه ی کامل',
|
133 |
+
resizeHalf: 'تغییر به اندازه نصف',
|
134 |
+
resizeQuarter: 'تغییر به اندازه یک چهارم',
|
135 |
+
floatLeft: 'چسباندن به چپ',
|
136 |
+
floatRight: 'چسباندن به راست',
|
137 |
+
floatNone: 'بدون چسبندگی',
|
138 |
+
shapeRounded: 'Shape: Rounded',
|
139 |
+
shapeCircle: 'Shape: Circle',
|
140 |
+
shapeThumbnail: 'Shape: Thumbnail',
|
141 |
+
shapeNone: 'Shape: None',
|
142 |
+
dragImageHere: 'یک تصویر را اینجا بکشید',
|
143 |
+
dropImage: 'Drop image or Text',
|
144 |
+
selectFromFiles: 'فایل ها را انتخاب کنید',
|
145 |
+
maximumFileSize: 'حداکثر اندازه پرونده',
|
146 |
+
maximumFileSizeError: 'Maximum file size exceeded.',
|
147 |
+
url: 'آدرس تصویر',
|
148 |
+
remove: 'حذف تصویر',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'ویدیو',
|
153 |
+
videoLink: 'لینک ویدیو',
|
154 |
+
insert: 'افزودن ویدیو',
|
155 |
+
url: 'آدرس ویدیو ؟',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion یا Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'لینک',
|
160 |
+
insert: 'اضافه کردن لینک',
|
161 |
+
unlink: 'حذف لینک',
|
162 |
+
edit: 'ویرایش',
|
163 |
+
textToDisplay: 'متن جهت نمایش',
|
164 |
+
url: 'این لینک به چه آدرسی باید برود ؟',
|
165 |
+
openInNewWindow: 'در یک پنجره ی جدید باز شود'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'جدول',
|
169 |
+
addRowAbove: 'افزودن ردیف بالا',
|
170 |
+
addRowBelow: 'افزودن ردیف پایین',
|
171 |
+
addColLeft: 'افزودن ستون چپ',
|
172 |
+
addColRight: 'افزودن ستون راست',
|
173 |
+
delRow: 'حذف ردیف',
|
174 |
+
delCol: 'حذف ستون',
|
175 |
+
delTable: 'حذف جدول'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'افزودن خط افقی'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'استیل',
|
182 |
+
p: 'نرمال',
|
183 |
+
blockquote: 'نقل قول',
|
184 |
+
pre: 'کد',
|
185 |
+
h1: 'سرتیتر 1',
|
186 |
+
h2: 'سرتیتر 2',
|
187 |
+
h3: 'سرتیتر 3',
|
188 |
+
h4: 'سرتیتر 4',
|
189 |
+
h5: 'سرتیتر 5',
|
190 |
+
h6: 'سرتیتر 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'لیست غیر ترتیبی',
|
194 |
+
ordered: 'لیست ترتیبی'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'راهنما',
|
198 |
+
fullscreen: 'نمایش تمام صفحه',
|
199 |
+
codeview: 'مشاهده ی کد'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'پاراگراف',
|
203 |
+
outdent: 'کاهش تو رفتگی',
|
204 |
+
indent: 'افزایش تو رفتگی',
|
205 |
+
left: 'چپ چین',
|
206 |
+
center: 'میان چین',
|
207 |
+
right: 'راست چین',
|
208 |
+
justify: 'بلوک چین'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'رنگ اخیرا استفاده شده',
|
212 |
+
more: 'رنگ بیشتر',
|
213 |
+
background: 'رنگ پس زمینه',
|
214 |
+
foreground: 'رنگ متن',
|
215 |
+
transparent: 'بی رنگ',
|
216 |
+
setTransparent: 'تنظیم حالت بی رنگ',
|
217 |
+
reset: 'بازنشاندن',
|
218 |
+
resetToDefault: 'حالت پیش فرض'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: 'دکمه های میان بر',
|
222 |
+
close: 'بستن',
|
223 |
+
textFormatting: 'فرمت متن',
|
224 |
+
action: 'عملیات',
|
225 |
+
paragraphFormatting: 'فرمت پاراگراف',
|
226 |
+
documentStyle: 'استیل سند',
|
227 |
+
extraKeys: 'Extra keys'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
'insertParagraph': 'افزودن پاراگراف',
|
231 |
+
'undo': 'Undoes the last command',
|
232 |
+
'redo': 'Redoes the last command',
|
233 |
+
'tab': 'Tab',
|
234 |
+
'untab': 'Untab',
|
235 |
+
'bold': 'Set a bold style',
|
236 |
+
'italic': 'Set a italic style',
|
237 |
+
'underline': 'Set a underline style',
|
238 |
+
'strikethrough': 'Set a strikethrough style',
|
239 |
+
'removeFormat': 'Clean a style',
|
240 |
+
'justifyLeft': 'چپ چین',
|
241 |
+
'justifyCenter': 'وسط چین',
|
242 |
+
'justifyRight': 'راست چین',
|
243 |
+
'justifyFull': 'Set full align',
|
244 |
+
'insertUnorderedList': 'Toggle unordered list',
|
245 |
+
'insertOrderedList': 'Toggle ordered list',
|
246 |
+
'outdent': 'Outdent on current paragraph',
|
247 |
+
'indent': 'Indent on current paragraph',
|
248 |
+
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
|
249 |
+
'formatH1': 'Change current block\'s format as H1',
|
250 |
+
'formatH2': 'Change current block\'s format as H2',
|
251 |
+
'formatH3': 'Change current block\'s format as H3',
|
252 |
+
'formatH4': 'Change current block\'s format as H4',
|
253 |
+
'formatH5': 'Change current block\'s format as H5',
|
254 |
+
'formatH6': 'Change current block\'s format as H6',
|
255 |
+
'insertHorizontalRule': 'Insert horizontal rule',
|
256 |
+
'linkDialog.show': 'Show Link Dialog'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: 'واچیدن',
|
260 |
+
redo: 'بازچیدن'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: 'کاراکتر خاص',
|
264 |
+
select: 'انتخاب کاراکتر خاص'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-fa-IR.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-fa-IR.min.js.LICENSE.txt */
|
2 |
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(window,(function(){return function(e){var t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(o,n,function(t){return e[t]}.bind(null,n));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=17)}({17:function(e,t){var r;(r=jQuery).extend(r.summernote.lang,{"fa-IR":{font:{bold:"درشت",italic:"خمیده",underline:"میان خط",clear:"پاک کردن فرمت فونت",height:"فاصله ی خطی",name:"اسم فونت",strikethrough:"Strike",subscript:"Subscript",superscript:"Superscript",size:"اندازه ی فونت"},image:{image:"تصویر",insert:"وارد کردن تصویر",resizeFull:"تغییر به اندازه ی کامل",resizeHalf:"تغییر به اندازه نصف",resizeQuarter:"تغییر به اندازه یک چهارم",floatLeft:"چسباندن به چپ",floatRight:"چسباندن به راست",floatNone:"بدون چسبندگی",shapeRounded:"Shape: Rounded",shapeCircle:"Shape: Circle",shapeThumbnail:"Shape: Thumbnail",shapeNone:"Shape: None",dragImageHere:"یک تصویر را اینجا بکشید",dropImage:"Drop image or Text",selectFromFiles:"فایل ها را انتخاب کنید",maximumFileSize:"حداکثر اندازه پرونده",maximumFileSizeError:"Maximum file size exceeded.",url:"آدرس تصویر",remove:"حذف تصویر",original:"Original"},video:{video:"ویدیو",videoLink:"لینک ویدیو",insert:"افزودن ویدیو",url:"آدرس ویدیو ؟",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion یا Youku)"},link:{link:"لینک",insert:"اضافه کردن لینک",unlink:"حذف لینک",edit:"ویرایش",textToDisplay:"متن جهت نمایش",url:"این لینک به چه آدرسی باید برود ؟",openInNewWindow:"در یک پنجره ی جدید باز شود"},table:{table:"جدول",addRowAbove:"افزودن ردیف بالا",addRowBelow:"افزودن ردیف پایین",addColLeft:"افزودن ستون چپ",addColRight:"افزودن ستون راست",delRow:"حذف ردیف",delCol:"حذف ستون",delTable:"حذف جدول"},hr:{insert:"افزودن خط افقی"},style:{style:"استیل",p:"نرمال",blockquote:"نقل قول",pre:"کد",h1:"سرتیتر 1",h2:"سرتیتر 2",h3:"سرتیتر 3",h4:"سرتیتر 4",h5:"سرتیتر 5",h6:"سرتیتر 6"},lists:{unordered:"لیست غیر ترتیبی",ordered:"لیست ترتیبی"},options:{help:"راهنما",fullscreen:"نمایش تمام صفحه",codeview:"مشاهده ی کد"},paragraph:{paragraph:"پاراگراف",outdent:"کاهش تو رفتگی",indent:"افزایش تو رفتگی",left:"چپ چین",center:"میان چین",right:"راست چین",justify:"بلوک چین"},color:{recent:"رنگ اخیرا استفاده شده",more:"رنگ بیشتر",background:"رنگ پس زمینه",foreground:"رنگ متن",transparent:"بی رنگ",setTransparent:"تنظیم حالت بی رنگ",reset:"بازنشاندن",resetToDefault:"حالت پیش فرض"},shortcut:{shortcuts:"دکمه های میان بر",close:"بستن",textFormatting:"فرمت متن",action:"عملیات",paragraphFormatting:"فرمت پاراگراف",documentStyle:"استیل سند",extraKeys:"Extra keys"},help:{insertParagraph:"افزودن پاراگراف",undo:"Undoes the last command",redo:"Redoes the last command",tab:"Tab",untab:"Untab",bold:"Set a bold style",italic:"Set a italic style",underline:"Set a underline style",strikethrough:"Set a strikethrough style",removeFormat:"Clean a style",justifyLeft:"چپ چین",justifyCenter:"وسط چین",justifyRight:"راست چین",justifyFull:"Set full align",insertUnorderedList:"Toggle unordered list",insertOrderedList:"Toggle ordered list",outdent:"Outdent on current paragraph",indent:"Indent on current paragraph",formatPara:"Change current block's format as a paragraph(P tag)",formatH1:"Change current block's format as H1",formatH2:"Change current block's format as H2",formatH3:"Change current block's format as H3",formatH4:"Change current block's format as H4",formatH5:"Change current block's format as H5",formatH6:"Change current block's format as H6",insertHorizontalRule:"Insert horizontal rule","linkDialog.show":"Show Link Dialog"},history:{undo:"واچیدن",redo:"بازچیدن"},specialChar:{specialChar:"کاراکتر خاص",select:"انتخاب کاراکتر خاص"}}})}})}));
|
admin/lib/summernote/lang/summernote-fa-IR.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-fi-FI.js
ADDED
@@ -0,0 +1,271 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 18);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 18:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'fi-FI': {
|
117 |
+
font: {
|
118 |
+
bold: 'Lihavointi',
|
119 |
+
italic: 'Kursivointi',
|
120 |
+
underline: 'Alleviivaus',
|
121 |
+
clear: 'Tyhjennä muotoilu',
|
122 |
+
height: 'Riviväli',
|
123 |
+
name: 'Kirjasintyyppi',
|
124 |
+
strikethrough: 'Yliviivaus',
|
125 |
+
subscript: 'Alaindeksi',
|
126 |
+
superscript: 'Yläindeksi',
|
127 |
+
size: 'Kirjasinkoko'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Kuva',
|
131 |
+
insert: 'Lisää kuva',
|
132 |
+
resizeFull: 'Koko leveys',
|
133 |
+
resizeHalf: 'Puolikas leveys',
|
134 |
+
resizeQuarter: 'Neljäsosa leveys',
|
135 |
+
floatLeft: 'Sijoita vasemmalle',
|
136 |
+
floatRight: 'Sijoita oikealle',
|
137 |
+
floatNone: 'Ei sijoitusta',
|
138 |
+
shapeRounded: 'Muoto: Pyöristetty',
|
139 |
+
shapeCircle: 'Muoto: Ympyrä',
|
140 |
+
shapeThumbnail: 'Muoto: Esikatselukuva',
|
141 |
+
shapeNone: 'Muoto: Ei muotoilua',
|
142 |
+
dragImageHere: 'Vedä kuva tähän',
|
143 |
+
selectFromFiles: 'Valitse tiedostoista',
|
144 |
+
maximumFileSize: 'Maksimi tiedosto koko',
|
145 |
+
maximumFileSizeError: 'Maksimi tiedosto koko ylitetty.',
|
146 |
+
url: 'URL-osoitteen mukaan',
|
147 |
+
remove: 'Poista kuva',
|
148 |
+
original: 'Alkuperäinen'
|
149 |
+
},
|
150 |
+
video: {
|
151 |
+
video: 'Video',
|
152 |
+
videoLink: 'Linkki videoon',
|
153 |
+
insert: 'Lisää video',
|
154 |
+
url: 'Videon URL-osoite',
|
155 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion tai Youku)'
|
156 |
+
},
|
157 |
+
link: {
|
158 |
+
link: 'Linkki',
|
159 |
+
insert: 'Lisää linkki',
|
160 |
+
unlink: 'Poista linkki',
|
161 |
+
edit: 'Muokkaa',
|
162 |
+
textToDisplay: 'Näytettävä teksti',
|
163 |
+
url: 'Linkin URL-osoite',
|
164 |
+
openInNewWindow: 'Avaa uudessa ikkunassa'
|
165 |
+
},
|
166 |
+
table: {
|
167 |
+
table: 'Taulukko',
|
168 |
+
addRowAbove: 'Lisää rivi yläpuolelle',
|
169 |
+
addRowBelow: 'Lisää rivi alapuolelle',
|
170 |
+
addColLeft: 'Lisää sarake vasemmalle puolelle',
|
171 |
+
addColRight: 'Lisää sarake oikealle puolelle',
|
172 |
+
delRow: 'Poista rivi',
|
173 |
+
delCol: 'Poista sarake',
|
174 |
+
delTable: 'Poista taulukko'
|
175 |
+
},
|
176 |
+
hr: {
|
177 |
+
insert: 'Lisää vaakaviiva'
|
178 |
+
},
|
179 |
+
style: {
|
180 |
+
style: 'Tyyli',
|
181 |
+
p: 'Normaali',
|
182 |
+
blockquote: 'Lainaus',
|
183 |
+
pre: 'Koodi',
|
184 |
+
h1: 'Otsikko 1',
|
185 |
+
h2: 'Otsikko 2',
|
186 |
+
h3: 'Otsikko 3',
|
187 |
+
h4: 'Otsikko 4',
|
188 |
+
h5: 'Otsikko 5',
|
189 |
+
h6: 'Otsikko 6'
|
190 |
+
},
|
191 |
+
lists: {
|
192 |
+
unordered: 'Luettelomerkitty luettelo',
|
193 |
+
ordered: 'Numeroitu luettelo'
|
194 |
+
},
|
195 |
+
options: {
|
196 |
+
help: 'Ohje',
|
197 |
+
fullscreen: 'Koko näyttö',
|
198 |
+
codeview: 'HTML-näkymä'
|
199 |
+
},
|
200 |
+
paragraph: {
|
201 |
+
paragraph: 'Kappale',
|
202 |
+
outdent: 'Pienennä sisennystä',
|
203 |
+
indent: 'Suurenna sisennystä',
|
204 |
+
left: 'Tasaa vasemmalle',
|
205 |
+
center: 'Keskitä',
|
206 |
+
right: 'Tasaa oikealle',
|
207 |
+
justify: 'Tasaa'
|
208 |
+
},
|
209 |
+
color: {
|
210 |
+
recent: 'Viimeisin väri',
|
211 |
+
more: 'Lisää värejä',
|
212 |
+
background: 'Korostusväri',
|
213 |
+
foreground: 'Tekstin väri',
|
214 |
+
transparent: 'Läpinäkyvä',
|
215 |
+
setTransparent: 'Aseta läpinäkyväksi',
|
216 |
+
reset: 'Palauta',
|
217 |
+
resetToDefault: 'Palauta oletusarvoksi'
|
218 |
+
},
|
219 |
+
shortcut: {
|
220 |
+
shortcuts: 'Pikanäppäimet',
|
221 |
+
close: 'Sulje',
|
222 |
+
textFormatting: 'Tekstin muotoilu',
|
223 |
+
action: 'Toiminto',
|
224 |
+
paragraphFormatting: 'Kappaleen muotoilu',
|
225 |
+
documentStyle: 'Asiakirjan tyyli'
|
226 |
+
},
|
227 |
+
help: {
|
228 |
+
'insertParagraph': 'Lisää kappale',
|
229 |
+
'undo': 'Kumoa viimeisin komento',
|
230 |
+
'redo': 'Tee uudelleen kumottu komento',
|
231 |
+
'tab': 'Sarkain',
|
232 |
+
'untab': 'Sarkainmerkin poisto',
|
233 |
+
'bold': 'Lihavointi',
|
234 |
+
'italic': 'Kursiivi',
|
235 |
+
'underline': 'Alleviivaus',
|
236 |
+
'strikethrough': 'Yliviivaus',
|
237 |
+
'removeFormat': 'Poista asetetut tyylit',
|
238 |
+
'justifyLeft': 'Tasaa vasemmalle',
|
239 |
+
'justifyCenter': 'Keskitä',
|
240 |
+
'justifyRight': 'Tasaa oikealle',
|
241 |
+
'justifyFull': 'Tasaa',
|
242 |
+
'insertUnorderedList': 'Luettelomerkillä varustettu lista',
|
243 |
+
'insertOrderedList': 'Numeroitu lista',
|
244 |
+
'outdent': 'Pienennä sisennystä',
|
245 |
+
'indent': 'Suurenna sisennystä',
|
246 |
+
'formatPara': 'Muuta kappaleen formaatti p',
|
247 |
+
'formatH1': 'Muuta kappaleen formaatti H1',
|
248 |
+
'formatH2': 'Muuta kappaleen formaatti H2',
|
249 |
+
'formatH3': 'Muuta kappaleen formaatti H3',
|
250 |
+
'formatH4': 'Muuta kappaleen formaatti H4',
|
251 |
+
'formatH5': 'Muuta kappaleen formaatti H5',
|
252 |
+
'formatH6': 'Muuta kappaleen formaatti H6',
|
253 |
+
'insertHorizontalRule': 'Lisää vaakaviiva',
|
254 |
+
'linkDialog.show': 'Lisää linkki'
|
255 |
+
},
|
256 |
+
history: {
|
257 |
+
undo: 'Kumoa',
|
258 |
+
redo: 'Toista'
|
259 |
+
},
|
260 |
+
specialChar: {
|
261 |
+
specialChar: 'ERIKOISMERKIT',
|
262 |
+
select: 'Valitse erikoismerkit'
|
263 |
+
}
|
264 |
+
}
|
265 |
+
});
|
266 |
+
})(jQuery);
|
267 |
+
|
268 |
+
/***/ })
|
269 |
+
|
270 |
+
/******/ });
|
271 |
+
});
|
admin/lib/summernote/lang/summernote-fi-FI.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-fi-FI.min.js.LICENSE.txt */
|
2 |
+
!function(e,i){if("object"==typeof exports&&"object"==typeof module)module.exports=i();else if("function"==typeof define&&define.amd)define([],i);else{var t=i();for(var a in t)("object"==typeof exports?exports:e)[a]=t[a]}}(window,(function(){return function(e){var i={};function t(a){if(i[a])return i[a].exports;var o=i[a]={i:a,l:!1,exports:{}};return e[a].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=i,t.d=function(e,i,a){t.o(e,i)||Object.defineProperty(e,i,{enumerable:!0,get:a})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,i){if(1&i&&(e=t(e)),8&i)return e;if(4&i&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(t.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&i&&"string"!=typeof e)for(var o in e)t.d(a,o,function(i){return e[i]}.bind(null,o));return a},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,"a",i),i},t.o=function(e,i){return Object.prototype.hasOwnProperty.call(e,i)},t.p="",t(t.s=18)}({18:function(e,i){var t;(t=jQuery).extend(t.summernote.lang,{"fi-FI":{font:{bold:"Lihavointi",italic:"Kursivointi",underline:"Alleviivaus",clear:"Tyhjennä muotoilu",height:"Riviväli",name:"Kirjasintyyppi",strikethrough:"Yliviivaus",subscript:"Alaindeksi",superscript:"Yläindeksi",size:"Kirjasinkoko"},image:{image:"Kuva",insert:"Lisää kuva",resizeFull:"Koko leveys",resizeHalf:"Puolikas leveys",resizeQuarter:"Neljäsosa leveys",floatLeft:"Sijoita vasemmalle",floatRight:"Sijoita oikealle",floatNone:"Ei sijoitusta",shapeRounded:"Muoto: Pyöristetty",shapeCircle:"Muoto: Ympyrä",shapeThumbnail:"Muoto: Esikatselukuva",shapeNone:"Muoto: Ei muotoilua",dragImageHere:"Vedä kuva tähän",selectFromFiles:"Valitse tiedostoista",maximumFileSize:"Maksimi tiedosto koko",maximumFileSizeError:"Maksimi tiedosto koko ylitetty.",url:"URL-osoitteen mukaan",remove:"Poista kuva",original:"Alkuperäinen"},video:{video:"Video",videoLink:"Linkki videoon",insert:"Lisää video",url:"Videon URL-osoite",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion tai Youku)"},link:{link:"Linkki",insert:"Lisää linkki",unlink:"Poista linkki",edit:"Muokkaa",textToDisplay:"Näytettävä teksti",url:"Linkin URL-osoite",openInNewWindow:"Avaa uudessa ikkunassa"},table:{table:"Taulukko",addRowAbove:"Lisää rivi yläpuolelle",addRowBelow:"Lisää rivi alapuolelle",addColLeft:"Lisää sarake vasemmalle puolelle",addColRight:"Lisää sarake oikealle puolelle",delRow:"Poista rivi",delCol:"Poista sarake",delTable:"Poista taulukko"},hr:{insert:"Lisää vaakaviiva"},style:{style:"Tyyli",p:"Normaali",blockquote:"Lainaus",pre:"Koodi",h1:"Otsikko 1",h2:"Otsikko 2",h3:"Otsikko 3",h4:"Otsikko 4",h5:"Otsikko 5",h6:"Otsikko 6"},lists:{unordered:"Luettelomerkitty luettelo",ordered:"Numeroitu luettelo"},options:{help:"Ohje",fullscreen:"Koko näyttö",codeview:"HTML-näkymä"},paragraph:{paragraph:"Kappale",outdent:"Pienennä sisennystä",indent:"Suurenna sisennystä",left:"Tasaa vasemmalle",center:"Keskitä",right:"Tasaa oikealle",justify:"Tasaa"},color:{recent:"Viimeisin väri",more:"Lisää värejä",background:"Korostusväri",foreground:"Tekstin väri",transparent:"Läpinäkyvä",setTransparent:"Aseta läpinäkyväksi",reset:"Palauta",resetToDefault:"Palauta oletusarvoksi"},shortcut:{shortcuts:"Pikanäppäimet",close:"Sulje",textFormatting:"Tekstin muotoilu",action:"Toiminto",paragraphFormatting:"Kappaleen muotoilu",documentStyle:"Asiakirjan tyyli"},help:{insertParagraph:"Lisää kappale",undo:"Kumoa viimeisin komento",redo:"Tee uudelleen kumottu komento",tab:"Sarkain",untab:"Sarkainmerkin poisto",bold:"Lihavointi",italic:"Kursiivi",underline:"Alleviivaus",strikethrough:"Yliviivaus",removeFormat:"Poista asetetut tyylit",justifyLeft:"Tasaa vasemmalle",justifyCenter:"Keskitä",justifyRight:"Tasaa oikealle",justifyFull:"Tasaa",insertUnorderedList:"Luettelomerkillä varustettu lista",insertOrderedList:"Numeroitu lista",outdent:"Pienennä sisennystä",indent:"Suurenna sisennystä",formatPara:"Muuta kappaleen formaatti p",formatH1:"Muuta kappaleen formaatti H1",formatH2:"Muuta kappaleen formaatti H2",formatH3:"Muuta kappaleen formaatti H3",formatH4:"Muuta kappaleen formaatti H4",formatH5:"Muuta kappaleen formaatti H5",formatH6:"Muuta kappaleen formaatti H6",insertHorizontalRule:"Lisää vaakaviiva","linkDialog.show":"Lisää linkki"},history:{undo:"Kumoa",redo:"Toista"},specialChar:{specialChar:"ERIKOISMERKIT",select:"Valitse erikoismerkit"}}})}})}));
|
admin/lib/summernote/lang/summernote-fi-FI.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-fr-FR.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 19);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 19:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'fr-FR': {
|
117 |
+
font: {
|
118 |
+
bold: 'Gras',
|
119 |
+
italic: 'Italique',
|
120 |
+
underline: 'Souligné',
|
121 |
+
clear: 'Effacer la mise en forme',
|
122 |
+
height: 'Interligne',
|
123 |
+
name: 'Famille de police',
|
124 |
+
strikethrough: 'Barré',
|
125 |
+
superscript: 'Exposant',
|
126 |
+
subscript: 'Indice',
|
127 |
+
size: 'Taille de police'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Image',
|
131 |
+
insert: 'Insérer une image',
|
132 |
+
resizeFull: 'Taille originale',
|
133 |
+
resizeHalf: 'Redimensionner à 50 %',
|
134 |
+
resizeQuarter: 'Redimensionner à 25 %',
|
135 |
+
floatLeft: 'Aligné à gauche',
|
136 |
+
floatRight: 'Aligné à droite',
|
137 |
+
floatNone: 'Pas d\'alignement',
|
138 |
+
shapeRounded: 'Forme: Rectangle arrondi',
|
139 |
+
shapeCircle: 'Forme: Cercle',
|
140 |
+
shapeThumbnail: 'Forme: Vignette',
|
141 |
+
shapeNone: 'Forme: Aucune',
|
142 |
+
dragImageHere: 'Faites glisser une image ou un texte dans ce cadre',
|
143 |
+
dropImage: 'Lachez l\'image ou le texte',
|
144 |
+
selectFromFiles: 'Choisir un fichier',
|
145 |
+
maximumFileSize: 'Taille de fichier maximale',
|
146 |
+
maximumFileSizeError: 'Taille maximale du fichier dépassée',
|
147 |
+
url: 'URL de l\'image',
|
148 |
+
remove: 'Supprimer l\'image',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'Vidéo',
|
153 |
+
videoLink: 'Lien vidéo',
|
154 |
+
insert: 'Insérer une vidéo',
|
155 |
+
url: 'URL de la vidéo',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ou Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'Lien',
|
160 |
+
insert: 'Insérer un lien',
|
161 |
+
unlink: 'Supprimer un lien',
|
162 |
+
edit: 'Modifier',
|
163 |
+
textToDisplay: 'Texte à afficher',
|
164 |
+
url: 'URL du lien',
|
165 |
+
openInNewWindow: 'Ouvrir dans une nouvelle fenêtre'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'Tableau',
|
169 |
+
addRowAbove: 'Ajouter une ligne au-dessus',
|
170 |
+
addRowBelow: 'Ajouter une ligne en dessous',
|
171 |
+
addColLeft: 'Ajouter une colonne à gauche',
|
172 |
+
addColRight: 'Ajouter une colonne à droite',
|
173 |
+
delRow: 'Supprimer la ligne',
|
174 |
+
delCol: 'Supprimer la colonne',
|
175 |
+
delTable: 'Supprimer le tableau'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'Insérer une ligne horizontale'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'Style',
|
182 |
+
p: 'Normal',
|
183 |
+
blockquote: 'Citation',
|
184 |
+
pre: 'Code source',
|
185 |
+
h1: 'Titre 1',
|
186 |
+
h2: 'Titre 2',
|
187 |
+
h3: 'Titre 3',
|
188 |
+
h4: 'Titre 4',
|
189 |
+
h5: 'Titre 5',
|
190 |
+
h6: 'Titre 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'Liste à puces',
|
194 |
+
ordered: 'Liste numérotée'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'Aide',
|
198 |
+
fullscreen: 'Plein écran',
|
199 |
+
codeview: 'Afficher le code HTML'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'Paragraphe',
|
203 |
+
outdent: 'Diminuer le retrait',
|
204 |
+
indent: 'Augmenter le retrait',
|
205 |
+
left: 'Aligner à gauche',
|
206 |
+
center: 'Centrer',
|
207 |
+
right: 'Aligner à droite',
|
208 |
+
justify: 'Justifier'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'Dernière couleur sélectionnée',
|
212 |
+
more: 'Plus de couleurs',
|
213 |
+
background: 'Couleur de fond',
|
214 |
+
foreground: 'Couleur de police',
|
215 |
+
transparent: 'Transparent',
|
216 |
+
setTransparent: 'Définir la transparence',
|
217 |
+
reset: 'Restaurer',
|
218 |
+
resetToDefault: 'Restaurer la couleur par défaut'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: 'Raccourcis',
|
222 |
+
close: 'Fermer',
|
223 |
+
textFormatting: 'Mise en forme du texte',
|
224 |
+
action: 'Action',
|
225 |
+
paragraphFormatting: 'Mise en forme des paragraphes',
|
226 |
+
documentStyle: 'Style du document',
|
227 |
+
extraKeys: 'Touches supplémentaires'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
'insertParagraph': 'Insérer paragraphe',
|
231 |
+
'undo': 'Défaire la dernière commande',
|
232 |
+
'redo': 'Refaire la dernière commande',
|
233 |
+
'tab': 'Tabulation',
|
234 |
+
'untab': 'Tabulation arrière',
|
235 |
+
'bold': 'Mettre en caractère gras',
|
236 |
+
'italic': 'Mettre en italique',
|
237 |
+
'underline': 'Mettre en souligné',
|
238 |
+
'strikethrough': 'Mettre en texte barré',
|
239 |
+
'removeFormat': 'Nettoyer les styles',
|
240 |
+
'justifyLeft': 'Aligner à gauche',
|
241 |
+
'justifyCenter': 'Centrer',
|
242 |
+
'justifyRight': 'Aligner à droite',
|
243 |
+
'justifyFull': 'Justifier à gauche et à droite',
|
244 |
+
'insertUnorderedList': 'Basculer liste à puces',
|
245 |
+
'insertOrderedList': 'Basculer liste ordonnée',
|
246 |
+
'outdent': 'Diminuer le retrait du paragraphe',
|
247 |
+
'indent': 'Augmenter le retrait du paragraphe',
|
248 |
+
'formatPara': 'Changer le paragraphe en cours en normal (P)',
|
249 |
+
'formatH1': 'Changer le paragraphe en cours en entête H1',
|
250 |
+
'formatH2': 'Changer le paragraphe en cours en entête H2',
|
251 |
+
'formatH3': 'Changer le paragraphe en cours en entête H3',
|
252 |
+
'formatH4': 'Changer le paragraphe en cours en entête H4',
|
253 |
+
'formatH5': 'Changer le paragraphe en cours en entête H5',
|
254 |
+
'formatH6': 'Changer le paragraphe en cours en entête H6',
|
255 |
+
'insertHorizontalRule': 'Insérer séparation horizontale',
|
256 |
+
'linkDialog.show': 'Afficher fenêtre d\'hyperlien'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: 'Annuler la dernière action',
|
260 |
+
redo: 'Restaurer la dernière action annulée'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: 'Caractères spéciaux',
|
264 |
+
select: 'Choisir des caractères spéciaux'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-fr-FR.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-fr-FR.min.js.LICENSE.txt */
|
2 |
+
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var t=r();for(var n in t)("object"==typeof exports?exports:e)[n]=t[n]}}(window,(function(){return function(e){var r={};function t(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var i in e)t.d(n,i,function(r){return e[r]}.bind(null,i));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=19)}({19:function(e,r){var t;(t=jQuery).extend(t.summernote.lang,{"fr-FR":{font:{bold:"Gras",italic:"Italique",underline:"Souligné",clear:"Effacer la mise en forme",height:"Interligne",name:"Famille de police",strikethrough:"Barré",superscript:"Exposant",subscript:"Indice",size:"Taille de police"},image:{image:"Image",insert:"Insérer une image",resizeFull:"Taille originale",resizeHalf:"Redimensionner à 50 %",resizeQuarter:"Redimensionner à 25 %",floatLeft:"Aligné à gauche",floatRight:"Aligné à droite",floatNone:"Pas d'alignement",shapeRounded:"Forme: Rectangle arrondi",shapeCircle:"Forme: Cercle",shapeThumbnail:"Forme: Vignette",shapeNone:"Forme: Aucune",dragImageHere:"Faites glisser une image ou un texte dans ce cadre",dropImage:"Lachez l'image ou le texte",selectFromFiles:"Choisir un fichier",maximumFileSize:"Taille de fichier maximale",maximumFileSizeError:"Taille maximale du fichier dépassée",url:"URL de l'image",remove:"Supprimer l'image",original:"Original"},video:{video:"Vidéo",videoLink:"Lien vidéo",insert:"Insérer une vidéo",url:"URL de la vidéo",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion ou Youku)"},link:{link:"Lien",insert:"Insérer un lien",unlink:"Supprimer un lien",edit:"Modifier",textToDisplay:"Texte à afficher",url:"URL du lien",openInNewWindow:"Ouvrir dans une nouvelle fenêtre"},table:{table:"Tableau",addRowAbove:"Ajouter une ligne au-dessus",addRowBelow:"Ajouter une ligne en dessous",addColLeft:"Ajouter une colonne à gauche",addColRight:"Ajouter une colonne à droite",delRow:"Supprimer la ligne",delCol:"Supprimer la colonne",delTable:"Supprimer le tableau"},hr:{insert:"Insérer une ligne horizontale"},style:{style:"Style",p:"Normal",blockquote:"Citation",pre:"Code source",h1:"Titre 1",h2:"Titre 2",h3:"Titre 3",h4:"Titre 4",h5:"Titre 5",h6:"Titre 6"},lists:{unordered:"Liste à puces",ordered:"Liste numérotée"},options:{help:"Aide",fullscreen:"Plein écran",codeview:"Afficher le code HTML"},paragraph:{paragraph:"Paragraphe",outdent:"Diminuer le retrait",indent:"Augmenter le retrait",left:"Aligner à gauche",center:"Centrer",right:"Aligner à droite",justify:"Justifier"},color:{recent:"Dernière couleur sélectionnée",more:"Plus de couleurs",background:"Couleur de fond",foreground:"Couleur de police",transparent:"Transparent",setTransparent:"Définir la transparence",reset:"Restaurer",resetToDefault:"Restaurer la couleur par défaut"},shortcut:{shortcuts:"Raccourcis",close:"Fermer",textFormatting:"Mise en forme du texte",action:"Action",paragraphFormatting:"Mise en forme des paragraphes",documentStyle:"Style du document",extraKeys:"Touches supplémentaires"},help:{insertParagraph:"Insérer paragraphe",undo:"Défaire la dernière commande",redo:"Refaire la dernière commande",tab:"Tabulation",untab:"Tabulation arrière",bold:"Mettre en caractère gras",italic:"Mettre en italique",underline:"Mettre en souligné",strikethrough:"Mettre en texte barré",removeFormat:"Nettoyer les styles",justifyLeft:"Aligner à gauche",justifyCenter:"Centrer",justifyRight:"Aligner à droite",justifyFull:"Justifier à gauche et à droite",insertUnorderedList:"Basculer liste à puces",insertOrderedList:"Basculer liste ordonnée",outdent:"Diminuer le retrait du paragraphe",indent:"Augmenter le retrait du paragraphe",formatPara:"Changer le paragraphe en cours en normal (P)",formatH1:"Changer le paragraphe en cours en entête H1",formatH2:"Changer le paragraphe en cours en entête H2",formatH3:"Changer le paragraphe en cours en entête H3",formatH4:"Changer le paragraphe en cours en entête H4",formatH5:"Changer le paragraphe en cours en entête H5",formatH6:"Changer le paragraphe en cours en entête H6",insertHorizontalRule:"Insérer séparation horizontale","linkDialog.show":"Afficher fenêtre d'hyperlien"},history:{undo:"Annuler la dernière action",redo:"Restaurer la dernière action annulée"},specialChar:{specialChar:"Caractères spéciaux",select:"Choisir des caractères spéciaux"}}})}})}));
|
admin/lib/summernote/lang/summernote-fr-FR.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-gl-ES.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 20);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 20:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'gl-ES': {
|
117 |
+
font: {
|
118 |
+
bold: 'Negrita',
|
119 |
+
italic: 'Cursiva',
|
120 |
+
underline: 'Subliñado',
|
121 |
+
clear: 'Quitar estilo de fonte',
|
122 |
+
height: 'Altura de liña',
|
123 |
+
name: 'Fonte',
|
124 |
+
strikethrough: 'Riscado',
|
125 |
+
superscript: 'Superíndice',
|
126 |
+
subscript: 'Subíndice',
|
127 |
+
size: 'Tamaño da fonte'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Imaxe',
|
131 |
+
insert: 'Inserir imaxe',
|
132 |
+
resizeFull: 'Redimensionar a tamaño completo',
|
133 |
+
resizeHalf: 'Redimensionar á metade',
|
134 |
+
resizeQuarter: 'Redimensionar a un cuarto',
|
135 |
+
floatLeft: 'Flotar á esquerda',
|
136 |
+
floatRight: 'Flotar á dereita',
|
137 |
+
floatNone: 'Non flotar',
|
138 |
+
shapeRounded: 'Forma: Redondeado',
|
139 |
+
shapeCircle: 'Forma: Círculo',
|
140 |
+
shapeThumbnail: 'Forma: Marco',
|
141 |
+
shapeNone: 'Forma: Ningunha',
|
142 |
+
dragImageHere: 'Arrastrar unha imaxe ou texto aquí',
|
143 |
+
dropImage: 'Solta a imaxe ou texto',
|
144 |
+
selectFromFiles: 'Seleccionar desde os arquivos',
|
145 |
+
maximumFileSize: 'Tamaño máximo do arquivo',
|
146 |
+
maximumFileSizeError: 'Superaches o tamaño máximo do arquivo.',
|
147 |
+
url: 'URL da imaxe',
|
148 |
+
remove: 'Eliminar imaxe',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'Vídeo',
|
153 |
+
videoLink: 'Ligazón do vídeo',
|
154 |
+
insert: 'Insertar vídeo',
|
155 |
+
url: 'URL do vídeo?',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion, o Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'Ligazón',
|
160 |
+
insert: 'Inserir Ligazón',
|
161 |
+
unlink: 'Quitar Ligazón',
|
162 |
+
edit: 'Editar',
|
163 |
+
textToDisplay: 'Texto para amosar',
|
164 |
+
url: 'Cara a que URL leva a ligazón?',
|
165 |
+
openInNewWindow: 'Abrir nunha nova xanela'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'Táboa',
|
169 |
+
addRowAbove: 'Add row above',
|
170 |
+
addRowBelow: 'Add row below',
|
171 |
+
addColLeft: 'Add column left',
|
172 |
+
addColRight: 'Add column right',
|
173 |
+
delRow: 'Delete row',
|
174 |
+
delCol: 'Delete column',
|
175 |
+
delTable: 'Delete table'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'Inserir liña horizontal'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'Estilo',
|
182 |
+
p: 'Normal',
|
183 |
+
blockquote: 'Cita',
|
184 |
+
pre: 'Código',
|
185 |
+
h1: 'Título 1',
|
186 |
+
h2: 'Título 2',
|
187 |
+
h3: 'Título 3',
|
188 |
+
h4: 'Título 4',
|
189 |
+
h5: 'Título 5',
|
190 |
+
h6: 'Título 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'Lista desordenada',
|
194 |
+
ordered: 'Lista ordenada'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'Axuda',
|
198 |
+
fullscreen: 'Pantalla completa',
|
199 |
+
codeview: 'Ver código fonte'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'Parágrafo',
|
203 |
+
outdent: 'Menos tabulación',
|
204 |
+
indent: 'Máis tabulación',
|
205 |
+
left: 'Aliñar á esquerda',
|
206 |
+
center: 'Aliñar ao centro',
|
207 |
+
right: 'Aliñar á dereita',
|
208 |
+
justify: 'Xustificar'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'Última cor',
|
212 |
+
more: 'Máis cores',
|
213 |
+
background: 'Cor de fondo',
|
214 |
+
foreground: 'Cor de fuente',
|
215 |
+
transparent: 'Transparente',
|
216 |
+
setTransparent: 'Establecer transparente',
|
217 |
+
reset: 'Restaurar',
|
218 |
+
resetToDefault: 'Restaurar por defecto'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: 'Atallos de teclado',
|
222 |
+
close: 'Pechar',
|
223 |
+
textFormatting: 'Formato de texto',
|
224 |
+
action: 'Acción',
|
225 |
+
paragraphFormatting: 'Formato de parágrafo',
|
226 |
+
documentStyle: 'Estilo de documento',
|
227 |
+
extraKeys: 'Teclas adicionais'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
'insertParagraph': 'Inserir parágrafo',
|
231 |
+
'undo': 'Desfacer última acción',
|
232 |
+
'redo': 'Refacer última acción',
|
233 |
+
'tab': 'Tabular',
|
234 |
+
'untab': 'Eliminar tabulación',
|
235 |
+
'bold': 'Establecer estilo negrita',
|
236 |
+
'italic': 'Establecer estilo cursiva',
|
237 |
+
'underline': 'Establecer estilo subliñado',
|
238 |
+
'strikethrough': 'Establecer estilo riscado',
|
239 |
+
'removeFormat': 'Limpar estilo',
|
240 |
+
'justifyLeft': 'Aliñar á esquerda',
|
241 |
+
'justifyCenter': 'Aliñar ao centro',
|
242 |
+
'justifyRight': 'Aliñar á dereita',
|
243 |
+
'justifyFull': 'Xustificar',
|
244 |
+
'insertUnorderedList': 'Inserir lista desordenada',
|
245 |
+
'insertOrderedList': 'Inserir lista ordenada',
|
246 |
+
'outdent': 'Reducir tabulación do parágrafo',
|
247 |
+
'indent': 'Aumentar tabulación do parágrafo',
|
248 |
+
'formatPara': 'Mudar estilo do bloque a parágrafo (etiqueta P)',
|
249 |
+
'formatH1': 'Mudar estilo do bloque a H1',
|
250 |
+
'formatH2': 'Mudar estilo do bloque a H2',
|
251 |
+
'formatH3': 'Mudar estilo do bloque a H3',
|
252 |
+
'formatH4': 'Mudar estilo do bloque a H4',
|
253 |
+
'formatH5': 'Mudar estilo do bloque a H5',
|
254 |
+
'formatH6': 'Mudar estilo do bloque a H6',
|
255 |
+
'insertHorizontalRule': 'Inserir liña horizontal',
|
256 |
+
'linkDialog.show': 'Amosar panel ligazóns'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: 'Desfacer',
|
260 |
+
redo: 'Refacer'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: 'CARACTERES ESPECIAIS',
|
264 |
+
select: 'Selecciona Caracteres especiais'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-gl-ES.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-gl-ES.min.js.LICENSE.txt */
|
2 |
+
!function(e,a){if("object"==typeof exports&&"object"==typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var r=a();for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(window,(function(){return function(e){var a={};function r(o){if(a[o])return a[o].exports;var t=a[o]={i:o,l:!1,exports:{}};return e[o].call(t.exports,t,t.exports,r),t.l=!0,t.exports}return r.m=e,r.c=a,r.d=function(e,a,o){r.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,a){if(1&a&&(e=r(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var t in e)r.d(o,t,function(a){return e[a]}.bind(null,t));return o},r.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(a,"a",a),a},r.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},r.p="",r(r.s=20)}({20:function(e,a){var r;(r=jQuery).extend(r.summernote.lang,{"gl-ES":{font:{bold:"Negrita",italic:"Cursiva",underline:"Subliñado",clear:"Quitar estilo de fonte",height:"Altura de liña",name:"Fonte",strikethrough:"Riscado",superscript:"Superíndice",subscript:"Subíndice",size:"Tamaño da fonte"},image:{image:"Imaxe",insert:"Inserir imaxe",resizeFull:"Redimensionar a tamaño completo",resizeHalf:"Redimensionar á metade",resizeQuarter:"Redimensionar a un cuarto",floatLeft:"Flotar á esquerda",floatRight:"Flotar á dereita",floatNone:"Non flotar",shapeRounded:"Forma: Redondeado",shapeCircle:"Forma: Círculo",shapeThumbnail:"Forma: Marco",shapeNone:"Forma: Ningunha",dragImageHere:"Arrastrar unha imaxe ou texto aquí",dropImage:"Solta a imaxe ou texto",selectFromFiles:"Seleccionar desde os arquivos",maximumFileSize:"Tamaño máximo do arquivo",maximumFileSizeError:"Superaches o tamaño máximo do arquivo.",url:"URL da imaxe",remove:"Eliminar imaxe",original:"Original"},video:{video:"Vídeo",videoLink:"Ligazón do vídeo",insert:"Insertar vídeo",url:"URL do vídeo?",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion, o Youku)"},link:{link:"Ligazón",insert:"Inserir Ligazón",unlink:"Quitar Ligazón",edit:"Editar",textToDisplay:"Texto para amosar",url:"Cara a que URL leva a ligazón?",openInNewWindow:"Abrir nunha nova xanela"},table:{table:"Táboa",addRowAbove:"Add row above",addRowBelow:"Add row below",addColLeft:"Add column left",addColRight:"Add column right",delRow:"Delete row",delCol:"Delete column",delTable:"Delete table"},hr:{insert:"Inserir liña horizontal"},style:{style:"Estilo",p:"Normal",blockquote:"Cita",pre:"Código",h1:"Título 1",h2:"Título 2",h3:"Título 3",h4:"Título 4",h5:"Título 5",h6:"Título 6"},lists:{unordered:"Lista desordenada",ordered:"Lista ordenada"},options:{help:"Axuda",fullscreen:"Pantalla completa",codeview:"Ver código fonte"},paragraph:{paragraph:"Parágrafo",outdent:"Menos tabulación",indent:"Máis tabulación",left:"Aliñar á esquerda",center:"Aliñar ao centro",right:"Aliñar á dereita",justify:"Xustificar"},color:{recent:"Última cor",more:"Máis cores",background:"Cor de fondo",foreground:"Cor de fuente",transparent:"Transparente",setTransparent:"Establecer transparente",reset:"Restaurar",resetToDefault:"Restaurar por defecto"},shortcut:{shortcuts:"Atallos de teclado",close:"Pechar",textFormatting:"Formato de texto",action:"Acción",paragraphFormatting:"Formato de parágrafo",documentStyle:"Estilo de documento",extraKeys:"Teclas adicionais"},help:{insertParagraph:"Inserir parágrafo",undo:"Desfacer última acción",redo:"Refacer última acción",tab:"Tabular",untab:"Eliminar tabulación",bold:"Establecer estilo negrita",italic:"Establecer estilo cursiva",underline:"Establecer estilo subliñado",strikethrough:"Establecer estilo riscado",removeFormat:"Limpar estilo",justifyLeft:"Aliñar á esquerda",justifyCenter:"Aliñar ao centro",justifyRight:"Aliñar á dereita",justifyFull:"Xustificar",insertUnorderedList:"Inserir lista desordenada",insertOrderedList:"Inserir lista ordenada",outdent:"Reducir tabulación do parágrafo",indent:"Aumentar tabulación do parágrafo",formatPara:"Mudar estilo do bloque a parágrafo (etiqueta P)",formatH1:"Mudar estilo do bloque a H1",formatH2:"Mudar estilo do bloque a H2",formatH3:"Mudar estilo do bloque a H3",formatH4:"Mudar estilo do bloque a H4",formatH5:"Mudar estilo do bloque a H5",formatH6:"Mudar estilo do bloque a H6",insertHorizontalRule:"Inserir liña horizontal","linkDialog.show":"Amosar panel ligazóns"},history:{undo:"Desfacer",redo:"Refacer"},specialChar:{specialChar:"CARACTERES ESPECIAIS",select:"Selecciona Caracteres especiais"}}})}})}));
|
admin/lib/summernote/lang/summernote-gl-ES.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-he-IL.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 21);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 21:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'he-IL': {
|
117 |
+
font: {
|
118 |
+
bold: 'מודגש',
|
119 |
+
italic: 'נטוי',
|
120 |
+
underline: 'קו תחתון',
|
121 |
+
clear: 'נקה עיצוב',
|
122 |
+
height: 'גובה',
|
123 |
+
name: 'גופן',
|
124 |
+
strikethrough: 'קו חוצה',
|
125 |
+
subscript: 'כתב תחתי',
|
126 |
+
superscript: 'כתב עילי',
|
127 |
+
size: 'גודל גופן'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'תמונה',
|
131 |
+
insert: 'הוסף תמונה',
|
132 |
+
resizeFull: 'גודל מלא',
|
133 |
+
resizeHalf: 'להקטין לחצי',
|
134 |
+
resizeQuarter: 'להקטין לרבע',
|
135 |
+
floatLeft: 'יישור לשמאל',
|
136 |
+
floatRight: 'יישור לימין',
|
137 |
+
floatNone: 'ישר',
|
138 |
+
shapeRounded: 'Shape: Rounded',
|
139 |
+
shapeCircle: 'Shape: Circle',
|
140 |
+
shapeThumbnail: 'Shape: Thumbnail',
|
141 |
+
shapeNone: 'Shape: None',
|
142 |
+
dragImageHere: 'גרור תמונה לכאן',
|
143 |
+
dropImage: 'Drop image or Text',
|
144 |
+
selectFromFiles: 'בחר מתוך קבצים',
|
145 |
+
maximumFileSize: 'Maximum file size',
|
146 |
+
maximumFileSizeError: 'Maximum file size exceeded.',
|
147 |
+
url: 'נתיב לתמונה',
|
148 |
+
remove: 'הסר תמונה',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'סרטון',
|
153 |
+
videoLink: 'קישור לסרטון',
|
154 |
+
insert: 'הוסף סרטון',
|
155 |
+
url: 'קישור לסרטון',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion או Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'קישור',
|
160 |
+
insert: 'הוסף קישור',
|
161 |
+
unlink: 'הסר קישור',
|
162 |
+
edit: 'ערוך',
|
163 |
+
textToDisplay: 'טקסט להציג',
|
164 |
+
url: 'קישור',
|
165 |
+
openInNewWindow: 'פתח בחלון חדש'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'טבלה',
|
169 |
+
addRowAbove: 'Add row above',
|
170 |
+
addRowBelow: 'Add row below',
|
171 |
+
addColLeft: 'Add column left',
|
172 |
+
addColRight: 'Add column right',
|
173 |
+
delRow: 'Delete row',
|
174 |
+
delCol: 'Delete column',
|
175 |
+
delTable: 'Delete table'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'הוסף קו'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'עיצוב',
|
182 |
+
p: 'טקסט רגיל',
|
183 |
+
blockquote: 'ציטוט',
|
184 |
+
pre: 'קוד',
|
185 |
+
h1: 'כותרת 1',
|
186 |
+
h2: 'כותרת 2',
|
187 |
+
h3: 'כותרת 3',
|
188 |
+
h4: 'כותרת 4',
|
189 |
+
h5: 'כותרת 5',
|
190 |
+
h6: 'כותרת 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'רשימת תבליטים',
|
194 |
+
ordered: 'רשימה ממוספרת'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'עזרה',
|
198 |
+
fullscreen: 'מסך מלא',
|
199 |
+
codeview: 'תצוגת קוד'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'פסקה',
|
203 |
+
outdent: 'הקטן כניסה',
|
204 |
+
indent: 'הגדל כניסה',
|
205 |
+
left: 'יישור לשמאל',
|
206 |
+
center: 'יישור למרכז',
|
207 |
+
right: 'יישור לימין',
|
208 |
+
justify: 'מיושר'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'צבע טקסט אחרון',
|
212 |
+
more: 'עוד צבעים',
|
213 |
+
background: 'צבע רקע',
|
214 |
+
foreground: 'צבע טקסט',
|
215 |
+
transparent: 'שקוף',
|
216 |
+
setTransparent: 'קבע כשקוף',
|
217 |
+
reset: 'איפוס',
|
218 |
+
resetToDefault: 'אפס לברירת מחדל'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: 'קיצורי מקלדת',
|
222 |
+
close: 'סגור',
|
223 |
+
textFormatting: 'עיצוב הטקסט',
|
224 |
+
action: 'פעולה',
|
225 |
+
paragraphFormatting: 'סגנונות פסקה',
|
226 |
+
documentStyle: 'עיצוב המסמך',
|
227 |
+
extraKeys: 'קיצורים נוספים'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
'insertParagraph': 'Insert Paragraph',
|
231 |
+
'undo': 'Undoes the last command',
|
232 |
+
'redo': 'Redoes the last command',
|
233 |
+
'tab': 'Tab',
|
234 |
+
'untab': 'Untab',
|
235 |
+
'bold': 'Set a bold style',
|
236 |
+
'italic': 'Set a italic style',
|
237 |
+
'underline': 'Set a underline style',
|
238 |
+
'strikethrough': 'Set a strikethrough style',
|
239 |
+
'removeFormat': 'Clean a style',
|
240 |
+
'justifyLeft': 'Set left align',
|
241 |
+
'justifyCenter': 'Set center align',
|
242 |
+
'justifyRight': 'Set right align',
|
243 |
+
'justifyFull': 'Set full align',
|
244 |
+
'insertUnorderedList': 'Toggle unordered list',
|
245 |
+
'insertOrderedList': 'Toggle ordered list',
|
246 |
+
'outdent': 'Outdent on current paragraph',
|
247 |
+
'indent': 'Indent on current paragraph',
|
248 |
+
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
|
249 |
+
'formatH1': 'Change current block\'s format as H1',
|
250 |
+
'formatH2': 'Change current block\'s format as H2',
|
251 |
+
'formatH3': 'Change current block\'s format as H3',
|
252 |
+
'formatH4': 'Change current block\'s format as H4',
|
253 |
+
'formatH5': 'Change current block\'s format as H5',
|
254 |
+
'formatH6': 'Change current block\'s format as H6',
|
255 |
+
'insertHorizontalRule': 'Insert horizontal rule',
|
256 |
+
'linkDialog.show': 'Show Link Dialog'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: 'בטל פעולה',
|
260 |
+
redo: 'בצע שוב'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: 'SPECIAL CHARACTERS',
|
264 |
+
select: 'Select Special characters'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-he-IL.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-he-IL.min.js.LICENSE.txt */
|
2 |
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(window,(function(){return function(e){var t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(o,n,function(t){return e[t]}.bind(null,n));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=21)}({21:function(e,t){var r;(r=jQuery).extend(r.summernote.lang,{"he-IL":{font:{bold:"מודגש",italic:"נטוי",underline:"קו תחתון",clear:"נקה עיצוב",height:"גובה",name:"גופן",strikethrough:"קו חוצה",subscript:"כתב תחתי",superscript:"כתב עילי",size:"גודל גופן"},image:{image:"תמונה",insert:"הוסף תמונה",resizeFull:"גודל מלא",resizeHalf:"להקטין לחצי",resizeQuarter:"להקטין לרבע",floatLeft:"יישור לשמאל",floatRight:"יישור לימין",floatNone:"ישר",shapeRounded:"Shape: Rounded",shapeCircle:"Shape: Circle",shapeThumbnail:"Shape: Thumbnail",shapeNone:"Shape: None",dragImageHere:"גרור תמונה לכאן",dropImage:"Drop image or Text",selectFromFiles:"בחר מתוך קבצים",maximumFileSize:"Maximum file size",maximumFileSizeError:"Maximum file size exceeded.",url:"נתיב לתמונה",remove:"הסר תמונה",original:"Original"},video:{video:"סרטון",videoLink:"קישור לסרטון",insert:"הוסף סרטון",url:"קישור לסרטון",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion או Youku)"},link:{link:"קישור",insert:"הוסף קישור",unlink:"הסר קישור",edit:"ערוך",textToDisplay:"טקסט להציג",url:"קישור",openInNewWindow:"פתח בחלון חדש"},table:{table:"טבלה",addRowAbove:"Add row above",addRowBelow:"Add row below",addColLeft:"Add column left",addColRight:"Add column right",delRow:"Delete row",delCol:"Delete column",delTable:"Delete table"},hr:{insert:"הוסף קו"},style:{style:"עיצוב",p:"טקסט רגיל",blockquote:"ציטוט",pre:"קוד",h1:"כותרת 1",h2:"כותרת 2",h3:"כותרת 3",h4:"כותרת 4",h5:"כותרת 5",h6:"כותרת 6"},lists:{unordered:"רשימת תבליטים",ordered:"רשימה ממוספרת"},options:{help:"עזרה",fullscreen:"מסך מלא",codeview:"תצוגת קוד"},paragraph:{paragraph:"פסקה",outdent:"הקטן כניסה",indent:"הגדל כניסה",left:"יישור לשמאל",center:"יישור למרכז",right:"יישור לימין",justify:"מיושר"},color:{recent:"צבע טקסט אחרון",more:"עוד צבעים",background:"צבע רקע",foreground:"צבע טקסט",transparent:"שקוף",setTransparent:"קבע כשקוף",reset:"איפוס",resetToDefault:"אפס לברירת מחדל"},shortcut:{shortcuts:"קיצורי מקלדת",close:"סגור",textFormatting:"עיצוב הטקסט",action:"פעולה",paragraphFormatting:"סגנונות פסקה",documentStyle:"עיצוב המסמך",extraKeys:"קיצורים נוספים"},help:{insertParagraph:"Insert Paragraph",undo:"Undoes the last command",redo:"Redoes the last command",tab:"Tab",untab:"Untab",bold:"Set a bold style",italic:"Set a italic style",underline:"Set a underline style",strikethrough:"Set a strikethrough style",removeFormat:"Clean a style",justifyLeft:"Set left align",justifyCenter:"Set center align",justifyRight:"Set right align",justifyFull:"Set full align",insertUnorderedList:"Toggle unordered list",insertOrderedList:"Toggle ordered list",outdent:"Outdent on current paragraph",indent:"Indent on current paragraph",formatPara:"Change current block's format as a paragraph(P tag)",formatH1:"Change current block's format as H1",formatH2:"Change current block's format as H2",formatH3:"Change current block's format as H3",formatH4:"Change current block's format as H4",formatH5:"Change current block's format as H5",formatH6:"Change current block's format as H6",insertHorizontalRule:"Insert horizontal rule","linkDialog.show":"Show Link Dialog"},history:{undo:"בטל פעולה",redo:"בצע שוב"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"}}})}})}));
|
admin/lib/summernote/lang/summernote-he-IL.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-hr-HR.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 22);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 22:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'hr-HR': {
|
117 |
+
font: {
|
118 |
+
bold: 'Podebljano',
|
119 |
+
italic: 'Kurziv',
|
120 |
+
underline: 'Podvučeno',
|
121 |
+
clear: 'Ukloni stilove fonta',
|
122 |
+
height: 'Visina linije',
|
123 |
+
name: 'Font Family',
|
124 |
+
strikethrough: 'Precrtano',
|
125 |
+
subscript: 'Subscript',
|
126 |
+
superscript: 'Superscript',
|
127 |
+
size: 'Veličina fonta'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Slika',
|
131 |
+
insert: 'Ubaci sliku',
|
132 |
+
resizeFull: 'Puna veličina',
|
133 |
+
resizeHalf: 'Umanji na 50%',
|
134 |
+
resizeQuarter: 'Umanji na 25%',
|
135 |
+
floatLeft: 'Poravnaj lijevo',
|
136 |
+
floatRight: 'Poravnaj desno',
|
137 |
+
floatNone: 'Bez poravnanja',
|
138 |
+
shapeRounded: 'Shape: Rounded',
|
139 |
+
shapeCircle: 'Shape: Circle',
|
140 |
+
shapeThumbnail: 'Shape: Thumbnail',
|
141 |
+
shapeNone: 'Shape: None',
|
142 |
+
dragImageHere: 'Povuci sliku ovdje',
|
143 |
+
dropImage: 'Drop image or Text',
|
144 |
+
selectFromFiles: 'Izaberi iz datoteke',
|
145 |
+
maximumFileSize: 'Maximum file size',
|
146 |
+
maximumFileSizeError: 'Maximum file size exceeded.',
|
147 |
+
url: 'Adresa slike',
|
148 |
+
remove: 'Ukloni sliku',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'Video',
|
153 |
+
videoLink: 'Veza na video',
|
154 |
+
insert: 'Ubaci video',
|
155 |
+
url: 'URL video',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ili Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'Veza',
|
160 |
+
insert: 'Ubaci vezu',
|
161 |
+
unlink: 'Ukloni vezu',
|
162 |
+
edit: 'Uredi',
|
163 |
+
textToDisplay: 'Tekst za prikaz',
|
164 |
+
url: 'Internet adresa',
|
165 |
+
openInNewWindow: 'Otvori u novom prozoru'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'Tablica',
|
169 |
+
addRowAbove: 'Add row above',
|
170 |
+
addRowBelow: 'Add row below',
|
171 |
+
addColLeft: 'Add column left',
|
172 |
+
addColRight: 'Add column right',
|
173 |
+
delRow: 'Delete row',
|
174 |
+
delCol: 'Delete column',
|
175 |
+
delTable: 'Delete table'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'Ubaci horizontalnu liniju'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'Stil',
|
182 |
+
p: 'pni',
|
183 |
+
blockquote: 'Citat',
|
184 |
+
pre: 'Kôd',
|
185 |
+
h1: 'Naslov 1',
|
186 |
+
h2: 'Naslov 2',
|
187 |
+
h3: 'Naslov 3',
|
188 |
+
h4: 'Naslov 4',
|
189 |
+
h5: 'Naslov 5',
|
190 |
+
h6: 'Naslov 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'Obična lista',
|
194 |
+
ordered: 'Numerirana lista'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'Pomoć',
|
198 |
+
fullscreen: 'Preko cijelog ekrana',
|
199 |
+
codeview: 'Izvorni kôd'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'Paragraf',
|
203 |
+
outdent: 'Smanji uvlačenje',
|
204 |
+
indent: 'Povećaj uvlačenje',
|
205 |
+
left: 'Poravnaj lijevo',
|
206 |
+
center: 'Centrirano',
|
207 |
+
right: 'Poravnaj desno',
|
208 |
+
justify: 'Poravnaj obostrano'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'Posljednja boja',
|
212 |
+
more: 'Više boja',
|
213 |
+
background: 'Boja pozadine',
|
214 |
+
foreground: 'Boja teksta',
|
215 |
+
transparent: 'Prozirna',
|
216 |
+
setTransparent: 'Prozirna',
|
217 |
+
reset: 'Poništi',
|
218 |
+
resetToDefault: 'Podrazumijevana'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: 'Prečice s tipkovnice',
|
222 |
+
close: 'Zatvori',
|
223 |
+
textFormatting: 'Formatiranje teksta',
|
224 |
+
action: 'Akcija',
|
225 |
+
paragraphFormatting: 'Formatiranje paragrafa',
|
226 |
+
documentStyle: 'Stil dokumenta',
|
227 |
+
extraKeys: 'Dodatne kombinacije'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
'insertParagraph': 'Insert Paragraph',
|
231 |
+
'undo': 'Undoes the last command',
|
232 |
+
'redo': 'Redoes the last command',
|
233 |
+
'tab': 'Tab',
|
234 |
+
'untab': 'Untab',
|
235 |
+
'bold': 'Set a bold style',
|
236 |
+
'italic': 'Set a italic style',
|
237 |
+
'underline': 'Set a underline style',
|
238 |
+
'strikethrough': 'Set a strikethrough style',
|
239 |
+
'removeFormat': 'Clean a style',
|
240 |
+
'justifyLeft': 'Set left align',
|
241 |
+
'justifyCenter': 'Set center align',
|
242 |
+
'justifyRight': 'Set right align',
|
243 |
+
'justifyFull': 'Set full align',
|
244 |
+
'insertUnorderedList': 'Toggle unordered list',
|
245 |
+
'insertOrderedList': 'Toggle ordered list',
|
246 |
+
'outdent': 'Outdent on current paragraph',
|
247 |
+
'indent': 'Indent on current paragraph',
|
248 |
+
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
|
249 |
+
'formatH1': 'Change current block\'s format as H1',
|
250 |
+
'formatH2': 'Change current block\'s format as H2',
|
251 |
+
'formatH3': 'Change current block\'s format as H3',
|
252 |
+
'formatH4': 'Change current block\'s format as H4',
|
253 |
+
'formatH5': 'Change current block\'s format as H5',
|
254 |
+
'formatH6': 'Change current block\'s format as H6',
|
255 |
+
'insertHorizontalRule': 'Insert horizontal rule',
|
256 |
+
'linkDialog.show': 'Show Link Dialog'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: 'Poništi',
|
260 |
+
redo: 'Ponovi'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: 'SPECIAL CHARACTERS',
|
264 |
+
select: 'Select Special characters'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-hr-HR.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-hr-HR.min.js.LICENSE.txt */
|
2 |
+
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var a=r();for(var t in a)("object"==typeof exports?exports:e)[t]=a[t]}}(window,(function(){return function(e){var r={};function a(t){if(r[t])return r[t].exports;var o=r[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,a),o.l=!0,o.exports}return a.m=e,a.c=r,a.d=function(e,r,t){a.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,r){if(1&r&&(e=a(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(a.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)a.d(t,o,function(r){return e[r]}.bind(null,o));return t},a.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(r,"a",r),r},a.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},a.p="",a(a.s=22)}({22:function(e,r){var a;(a=jQuery).extend(a.summernote.lang,{"hr-HR":{font:{bold:"Podebljano",italic:"Kurziv",underline:"Podvučeno",clear:"Ukloni stilove fonta",height:"Visina linije",name:"Font Family",strikethrough:"Precrtano",subscript:"Subscript",superscript:"Superscript",size:"Veličina fonta"},image:{image:"Slika",insert:"Ubaci sliku",resizeFull:"Puna veličina",resizeHalf:"Umanji na 50%",resizeQuarter:"Umanji na 25%",floatLeft:"Poravnaj lijevo",floatRight:"Poravnaj desno",floatNone:"Bez poravnanja",shapeRounded:"Shape: Rounded",shapeCircle:"Shape: Circle",shapeThumbnail:"Shape: Thumbnail",shapeNone:"Shape: None",dragImageHere:"Povuci sliku ovdje",dropImage:"Drop image or Text",selectFromFiles:"Izaberi iz datoteke",maximumFileSize:"Maximum file size",maximumFileSizeError:"Maximum file size exceeded.",url:"Adresa slike",remove:"Ukloni sliku",original:"Original"},video:{video:"Video",videoLink:"Veza na video",insert:"Ubaci video",url:"URL video",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion ili Youku)"},link:{link:"Veza",insert:"Ubaci vezu",unlink:"Ukloni vezu",edit:"Uredi",textToDisplay:"Tekst za prikaz",url:"Internet adresa",openInNewWindow:"Otvori u novom prozoru"},table:{table:"Tablica",addRowAbove:"Add row above",addRowBelow:"Add row below",addColLeft:"Add column left",addColRight:"Add column right",delRow:"Delete row",delCol:"Delete column",delTable:"Delete table"},hr:{insert:"Ubaci horizontalnu liniju"},style:{style:"Stil",p:"pni",blockquote:"Citat",pre:"Kôd",h1:"Naslov 1",h2:"Naslov 2",h3:"Naslov 3",h4:"Naslov 4",h5:"Naslov 5",h6:"Naslov 6"},lists:{unordered:"Obična lista",ordered:"Numerirana lista"},options:{help:"Pomoć",fullscreen:"Preko cijelog ekrana",codeview:"Izvorni kôd"},paragraph:{paragraph:"Paragraf",outdent:"Smanji uvlačenje",indent:"Povećaj uvlačenje",left:"Poravnaj lijevo",center:"Centrirano",right:"Poravnaj desno",justify:"Poravnaj obostrano"},color:{recent:"Posljednja boja",more:"Više boja",background:"Boja pozadine",foreground:"Boja teksta",transparent:"Prozirna",setTransparent:"Prozirna",reset:"Poništi",resetToDefault:"Podrazumijevana"},shortcut:{shortcuts:"Prečice s tipkovnice",close:"Zatvori",textFormatting:"Formatiranje teksta",action:"Akcija",paragraphFormatting:"Formatiranje paragrafa",documentStyle:"Stil dokumenta",extraKeys:"Dodatne kombinacije"},help:{insertParagraph:"Insert Paragraph",undo:"Undoes the last command",redo:"Redoes the last command",tab:"Tab",untab:"Untab",bold:"Set a bold style",italic:"Set a italic style",underline:"Set a underline style",strikethrough:"Set a strikethrough style",removeFormat:"Clean a style",justifyLeft:"Set left align",justifyCenter:"Set center align",justifyRight:"Set right align",justifyFull:"Set full align",insertUnorderedList:"Toggle unordered list",insertOrderedList:"Toggle ordered list",outdent:"Outdent on current paragraph",indent:"Indent on current paragraph",formatPara:"Change current block's format as a paragraph(P tag)",formatH1:"Change current block's format as H1",formatH2:"Change current block's format as H2",formatH3:"Change current block's format as H3",formatH4:"Change current block's format as H4",formatH5:"Change current block's format as H5",formatH6:"Change current block's format as H6",insertHorizontalRule:"Insert horizontal rule","linkDialog.show":"Show Link Dialog"},history:{undo:"Poništi",redo:"Ponovi"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"}}})}})}));
|
admin/lib/summernote/lang/summernote-hr-HR.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-hu-HU.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 23);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 23:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'hu-HU': {
|
117 |
+
font: {
|
118 |
+
bold: 'Félkövér',
|
119 |
+
italic: 'Dőlt',
|
120 |
+
underline: 'Aláhúzott',
|
121 |
+
clear: 'Formázás törlése',
|
122 |
+
height: 'Sorköz',
|
123 |
+
name: 'Betűtípus',
|
124 |
+
strikethrough: 'Áthúzott',
|
125 |
+
subscript: 'Subscript',
|
126 |
+
superscript: 'Superscript',
|
127 |
+
size: 'Betűméret'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Kép',
|
131 |
+
insert: 'Kép beszúrása',
|
132 |
+
resizeFull: 'Átméretezés teljes méretre',
|
133 |
+
resizeHalf: 'Átméretezés felére',
|
134 |
+
resizeQuarter: 'Átméretezés negyedére',
|
135 |
+
floatLeft: 'Igazítás balra',
|
136 |
+
floatRight: 'Igazítás jobbra',
|
137 |
+
floatNone: 'Igazítás törlése',
|
138 |
+
shapeRounded: 'Shape: Rounded',
|
139 |
+
shapeCircle: 'Shape: Circle',
|
140 |
+
shapeThumbnail: 'Shape: Thumbnail',
|
141 |
+
shapeNone: 'Shape: None',
|
142 |
+
dragImageHere: 'Ide húzhat képet vagy szöveget',
|
143 |
+
dropImage: 'Engedje el a képet vagy szöveget',
|
144 |
+
selectFromFiles: 'Fájlok kiválasztása',
|
145 |
+
maximumFileSize: 'Maximum file size',
|
146 |
+
maximumFileSizeError: 'Maximum file size exceeded.',
|
147 |
+
url: 'Kép URL címe',
|
148 |
+
remove: 'Kép törlése',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'Videó',
|
153 |
+
videoLink: 'Videó hivatkozás',
|
154 |
+
insert: 'Videó beszúrása',
|
155 |
+
url: 'Videó URL címe',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion vagy Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'Hivatkozás',
|
160 |
+
insert: 'Hivatkozás beszúrása',
|
161 |
+
unlink: 'Hivatkozás megszüntetése',
|
162 |
+
edit: 'Szerkesztés',
|
163 |
+
textToDisplay: 'Megjelenítendő szöveg',
|
164 |
+
url: 'Milyen URL címre hivatkozzon?',
|
165 |
+
openInNewWindow: 'Megnyitás új ablakban'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'Táblázat',
|
169 |
+
addRowAbove: 'Add row above',
|
170 |
+
addRowBelow: 'Add row below',
|
171 |
+
addColLeft: 'Add column left',
|
172 |
+
addColRight: 'Add column right',
|
173 |
+
delRow: 'Delete row',
|
174 |
+
delCol: 'Delete column',
|
175 |
+
delTable: 'Delete table'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'Elválasztó vonal beszúrása'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'Stílus',
|
182 |
+
p: 'Normál',
|
183 |
+
blockquote: 'Idézet',
|
184 |
+
pre: 'Kód',
|
185 |
+
h1: 'Fejléc 1',
|
186 |
+
h2: 'Fejléc 2',
|
187 |
+
h3: 'Fejléc 3',
|
188 |
+
h4: 'Fejléc 4',
|
189 |
+
h5: 'Fejléc 5',
|
190 |
+
h6: 'Fejléc 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'Listajeles lista',
|
194 |
+
ordered: 'Számozott lista'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'Súgó',
|
198 |
+
fullscreen: 'Teljes képernyő',
|
199 |
+
codeview: 'Kód nézet'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'Bekezdés',
|
203 |
+
outdent: 'Behúzás csökkentése',
|
204 |
+
indent: 'Behúzás növelése',
|
205 |
+
left: 'Igazítás balra',
|
206 |
+
center: 'Igazítás középre',
|
207 |
+
right: 'Igazítás jobbra',
|
208 |
+
justify: 'Sorkizárt'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'Jelenlegi szín',
|
212 |
+
more: 'További színek',
|
213 |
+
background: 'Háttérszín',
|
214 |
+
foreground: 'Betűszín',
|
215 |
+
transparent: 'Átlátszó',
|
216 |
+
setTransparent: 'Átlászóság beállítása',
|
217 |
+
reset: 'Visszaállítás',
|
218 |
+
resetToDefault: 'Alaphelyzetbe állítás'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: 'Gyorsbillentyű',
|
222 |
+
close: 'Bezárás',
|
223 |
+
textFormatting: 'Szöveg formázása',
|
224 |
+
action: 'Művelet',
|
225 |
+
paragraphFormatting: 'Bekezdés formázása',
|
226 |
+
documentStyle: 'Dokumentumstílus',
|
227 |
+
extraKeys: 'Extra keys'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
'insertParagraph': 'Új bekezdés',
|
231 |
+
'undo': 'Visszavonás',
|
232 |
+
'redo': 'Újra',
|
233 |
+
'tab': 'Behúzás növelése',
|
234 |
+
'untab': 'Behúzás csökkentése',
|
235 |
+
'bold': 'Félkövérre állítás',
|
236 |
+
'italic': 'Dőltre állítás',
|
237 |
+
'underline': 'Aláhúzás',
|
238 |
+
'strikethrough': 'Áthúzás',
|
239 |
+
'removeFormat': 'Formázás törlése',
|
240 |
+
'justifyLeft': 'Balra igazítás',
|
241 |
+
'justifyCenter': 'Középre igazítás',
|
242 |
+
'justifyRight': 'Jobbra igazítás',
|
243 |
+
'justifyFull': 'Sorkizárt',
|
244 |
+
'insertUnorderedList': 'Számozatlan lista be/ki',
|
245 |
+
'insertOrderedList': 'Számozott lista be/ki',
|
246 |
+
'outdent': 'Jelenlegi bekezdés behúzásának megszüntetése',
|
247 |
+
'indent': 'Jelenlegi bekezdés behúzása',
|
248 |
+
'formatPara': 'Blokk formázása bekezdésként (P tag)',
|
249 |
+
'formatH1': 'Blokk formázása, mint Fejléc 1',
|
250 |
+
'formatH2': 'Blokk formázása, mint Fejléc 2',
|
251 |
+
'formatH3': 'Blokk formázása, mint Fejléc 3',
|
252 |
+
'formatH4': 'Blokk formázása, mint Fejléc 4',
|
253 |
+
'formatH5': 'Blokk formázása, mint Fejléc 5',
|
254 |
+
'formatH6': 'Blokk formázása, mint Fejléc 6',
|
255 |
+
'insertHorizontalRule': 'Vízszintes vonal beszúrása',
|
256 |
+
'linkDialog.show': 'Link párbeszédablak megjelenítése'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: 'Visszavonás',
|
260 |
+
redo: 'Újra'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: 'SPECIAL CHARACTERS',
|
264 |
+
select: 'Select Special characters'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-hu-HU.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-hu-HU.min.js.LICENSE.txt */
|
2 |
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(window,(function(){return function(e){var t={};function r(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,r),s.l=!0,s.exports}return r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)r.d(o,s,function(t){return e[t]}.bind(null,s));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=23)}({23:function(e,t){var r;(r=jQuery).extend(r.summernote.lang,{"hu-HU":{font:{bold:"Félkövér",italic:"Dőlt",underline:"Aláhúzott",clear:"Formázás törlése",height:"Sorköz",name:"Betűtípus",strikethrough:"Áthúzott",subscript:"Subscript",superscript:"Superscript",size:"Betűméret"},image:{image:"Kép",insert:"Kép beszúrása",resizeFull:"Átméretezés teljes méretre",resizeHalf:"Átméretezés felére",resizeQuarter:"Átméretezés negyedére",floatLeft:"Igazítás balra",floatRight:"Igazítás jobbra",floatNone:"Igazítás törlése",shapeRounded:"Shape: Rounded",shapeCircle:"Shape: Circle",shapeThumbnail:"Shape: Thumbnail",shapeNone:"Shape: None",dragImageHere:"Ide húzhat képet vagy szöveget",dropImage:"Engedje el a képet vagy szöveget",selectFromFiles:"Fájlok kiválasztása",maximumFileSize:"Maximum file size",maximumFileSizeError:"Maximum file size exceeded.",url:"Kép URL címe",remove:"Kép törlése",original:"Original"},video:{video:"Videó",videoLink:"Videó hivatkozás",insert:"Videó beszúrása",url:"Videó URL címe",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion vagy Youku)"},link:{link:"Hivatkozás",insert:"Hivatkozás beszúrása",unlink:"Hivatkozás megszüntetése",edit:"Szerkesztés",textToDisplay:"Megjelenítendő szöveg",url:"Milyen URL címre hivatkozzon?",openInNewWindow:"Megnyitás új ablakban"},table:{table:"Táblázat",addRowAbove:"Add row above",addRowBelow:"Add row below",addColLeft:"Add column left",addColRight:"Add column right",delRow:"Delete row",delCol:"Delete column",delTable:"Delete table"},hr:{insert:"Elválasztó vonal beszúrása"},style:{style:"Stílus",p:"Normál",blockquote:"Idézet",pre:"Kód",h1:"Fejléc 1",h2:"Fejléc 2",h3:"Fejléc 3",h4:"Fejléc 4",h5:"Fejléc 5",h6:"Fejléc 6"},lists:{unordered:"Listajeles lista",ordered:"Számozott lista"},options:{help:"Súgó",fullscreen:"Teljes képernyő",codeview:"Kód nézet"},paragraph:{paragraph:"Bekezdés",outdent:"Behúzás csökkentése",indent:"Behúzás növelése",left:"Igazítás balra",center:"Igazítás középre",right:"Igazítás jobbra",justify:"Sorkizárt"},color:{recent:"Jelenlegi szín",more:"További színek",background:"Háttérszín",foreground:"Betűszín",transparent:"Átlátszó",setTransparent:"Átlászóság beállítása",reset:"Visszaállítás",resetToDefault:"Alaphelyzetbe állítás"},shortcut:{shortcuts:"Gyorsbillentyű",close:"Bezárás",textFormatting:"Szöveg formázása",action:"Művelet",paragraphFormatting:"Bekezdés formázása",documentStyle:"Dokumentumstílus",extraKeys:"Extra keys"},help:{insertParagraph:"Új bekezdés",undo:"Visszavonás",redo:"Újra",tab:"Behúzás növelése",untab:"Behúzás csökkentése",bold:"Félkövérre állítás",italic:"Dőltre állítás",underline:"Aláhúzás",strikethrough:"Áthúzás",removeFormat:"Formázás törlése",justifyLeft:"Balra igazítás",justifyCenter:"Középre igazítás",justifyRight:"Jobbra igazítás",justifyFull:"Sorkizárt",insertUnorderedList:"Számozatlan lista be/ki",insertOrderedList:"Számozott lista be/ki",outdent:"Jelenlegi bekezdés behúzásának megszüntetése",indent:"Jelenlegi bekezdés behúzása",formatPara:"Blokk formázása bekezdésként (P tag)",formatH1:"Blokk formázása, mint Fejléc 1",formatH2:"Blokk formázása, mint Fejléc 2",formatH3:"Blokk formázása, mint Fejléc 3",formatH4:"Blokk formázása, mint Fejléc 4",formatH5:"Blokk formázása, mint Fejléc 5",formatH6:"Blokk formázása, mint Fejléc 6",insertHorizontalRule:"Vízszintes vonal beszúrása","linkDialog.show":"Link párbeszédablak megjelenítése"},history:{undo:"Visszavonás",redo:"Újra"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"}}})}})}));
|
admin/lib/summernote/lang/summernote-hu-HU.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-id-ID.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 24);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 24:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'id-ID': {
|
117 |
+
font: {
|
118 |
+
bold: 'Tebal',
|
119 |
+
italic: 'Miring',
|
120 |
+
underline: 'Garis bawah',
|
121 |
+
clear: 'Bersihkan gaya',
|
122 |
+
height: 'Jarak baris',
|
123 |
+
name: 'Jenis Tulisan',
|
124 |
+
strikethrough: 'Coret',
|
125 |
+
subscript: 'Subscript',
|
126 |
+
superscript: 'Superscript',
|
127 |
+
size: 'Ukuran font'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Gambar',
|
131 |
+
insert: 'Sisipkan gambar',
|
132 |
+
resizeFull: 'Ukuran penuh',
|
133 |
+
resizeHalf: 'Ukuran 50%',
|
134 |
+
resizeQuarter: 'Ukuran 25%',
|
135 |
+
floatLeft: 'Rata kiri',
|
136 |
+
floatRight: 'Rata kanan',
|
137 |
+
floatNone: 'Tanpa perataan',
|
138 |
+
shapeRounded: 'Bentuk: Membundar',
|
139 |
+
shapeCircle: 'Bentuk: Bundar',
|
140 |
+
shapeThumbnail: 'Bentuk: Thumbnail',
|
141 |
+
shapeNone: 'Bentuk: Tidak ada',
|
142 |
+
dragImageHere: 'Tarik gambar ke area ini',
|
143 |
+
dropImage: 'Letakkan gambar atau teks',
|
144 |
+
selectFromFiles: 'Pilih gambar dari berkas',
|
145 |
+
maximumFileSize: 'Ukuran maksimal berkas',
|
146 |
+
maximumFileSizeError: 'Ukuran maksimal berkas terlampaui.',
|
147 |
+
url: 'URL gambar',
|
148 |
+
remove: 'Hapus Gambar',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'Video',
|
153 |
+
videoLink: 'Link video',
|
154 |
+
insert: 'Sisipkan video',
|
155 |
+
url: 'Tautan video',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion atau Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'Tautan',
|
160 |
+
insert: 'Tambah tautan',
|
161 |
+
unlink: 'Hapus tautan',
|
162 |
+
edit: 'Edit',
|
163 |
+
textToDisplay: 'Tampilan teks',
|
164 |
+
url: 'Tautan tujuan',
|
165 |
+
openInNewWindow: 'Buka di jendela baru'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'Tabel',
|
169 |
+
addRowAbove: 'Tambahkan baris ke atas',
|
170 |
+
addRowBelow: 'Tambahkan baris ke bawah',
|
171 |
+
addColLeft: 'Tambahkan kolom ke kiri',
|
172 |
+
addColRight: 'Tambahkan kolom ke kanan',
|
173 |
+
delRow: 'Hapus baris',
|
174 |
+
delCol: 'Hapus kolom',
|
175 |
+
delTable: 'Hapus tabel'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'Masukkan garis horizontal'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'Gaya',
|
182 |
+
p: 'p',
|
183 |
+
blockquote: 'Kutipan',
|
184 |
+
pre: 'Kode',
|
185 |
+
h1: 'Heading 1',
|
186 |
+
h2: 'Heading 2',
|
187 |
+
h3: 'Heading 3',
|
188 |
+
h4: 'Heading 4',
|
189 |
+
h5: 'Heading 5',
|
190 |
+
h6: 'Heading 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'Pencacahan',
|
194 |
+
ordered: 'Penomoran'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'Bantuan',
|
198 |
+
fullscreen: 'Layar penuh',
|
199 |
+
codeview: 'Kode HTML'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'Paragraf',
|
203 |
+
outdent: 'Outdent',
|
204 |
+
indent: 'Indent',
|
205 |
+
left: 'Rata kiri',
|
206 |
+
center: 'Rata tengah',
|
207 |
+
right: 'Rata kanan',
|
208 |
+
justify: 'Rata kanan kiri'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'Warna sekarang',
|
212 |
+
more: 'Selengkapnya',
|
213 |
+
background: 'Warna latar',
|
214 |
+
foreground: 'Warna font',
|
215 |
+
transparent: 'Transparan',
|
216 |
+
setTransparent: 'Atur transparansi',
|
217 |
+
reset: 'Atur ulang',
|
218 |
+
resetToDefault: 'Kembalikan kesemula'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: 'Jalan pintas',
|
222 |
+
close: 'Tutup',
|
223 |
+
textFormatting: 'Format teks',
|
224 |
+
action: 'Aksi',
|
225 |
+
paragraphFormatting: 'Format paragraf',
|
226 |
+
documentStyle: 'Gaya dokumen',
|
227 |
+
extraKeys: 'Shortcut tambahan'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
'insertParagraph': 'Tambahkan paragraf',
|
231 |
+
'undo': 'Urungkan perintah terakhir',
|
232 |
+
'redo': 'Kembalikan perintah terakhir',
|
233 |
+
'tab': 'Tab',
|
234 |
+
'untab': 'Untab',
|
235 |
+
'bold': 'Mengaktifkan gaya tebal',
|
236 |
+
'italic': 'Mengaktifkan gaya italic',
|
237 |
+
'underline': 'Mengaktifkan gaya underline',
|
238 |
+
'strikethrough': 'Mengaktifkan gaya strikethrough',
|
239 |
+
'removeFormat': 'Hapus semua gaya',
|
240 |
+
'justifyLeft': 'Atur rata kiri',
|
241 |
+
'justifyCenter': 'Atur rata tengah',
|
242 |
+
'justifyRight': 'Atur rata kanan',
|
243 |
+
'justifyFull': 'Atur rata kiri-kanan',
|
244 |
+
'insertUnorderedList': 'Nyalakan urutan tanpa nomor',
|
245 |
+
'insertOrderedList': 'Nyalakan urutan bernomor',
|
246 |
+
'outdent': 'Outdent di paragraf terpilih',
|
247 |
+
'indent': 'Indent di paragraf terpilih',
|
248 |
+
'formatPara': 'Ubah format gaya tulisan terpilih menjadi paragraf',
|
249 |
+
'formatH1': 'Ubah format gaya tulisan terpilih menjadi Heading 1',
|
250 |
+
'formatH2': 'Ubah format gaya tulisan terpilih menjadi Heading 2',
|
251 |
+
'formatH3': 'Ubah format gaya tulisan terpilih menjadi Heading 3',
|
252 |
+
'formatH4': 'Ubah format gaya tulisan terpilih menjadi Heading 4',
|
253 |
+
'formatH5': 'Ubah format gaya tulisan terpilih menjadi Heading 5',
|
254 |
+
'formatH6': 'Ubah format gaya tulisan terpilih menjadi Heading 6',
|
255 |
+
'insertHorizontalRule': 'Masukkan garis horizontal',
|
256 |
+
'linkDialog.show': 'Tampilkan Link Dialog'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: 'Kembali',
|
260 |
+
redo: 'Ulang'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: 'KARAKTER KHUSUS',
|
264 |
+
select: 'Pilih karakter khusus'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-id-ID.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-id-ID.min.js.LICENSE.txt */
|
2 |
+
!function(a,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var r=e();for(var t in r)("object"==typeof exports?exports:a)[t]=r[t]}}(window,(function(){return function(a){var e={};function r(t){if(e[t])return e[t].exports;var n=e[t]={i:t,l:!1,exports:{}};return a[t].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=a,r.c=e,r.d=function(a,e,t){r.o(a,e)||Object.defineProperty(a,e,{enumerable:!0,get:t})},r.r=function(a){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},r.t=function(a,e){if(1&e&&(a=r(a)),8&e)return a;if(4&e&&"object"==typeof a&&a&&a.__esModule)return a;var t=Object.create(null);if(r.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:a}),2&e&&"string"!=typeof a)for(var n in a)r.d(t,n,function(e){return a[e]}.bind(null,n));return t},r.n=function(a){var e=a&&a.__esModule?function(){return a.default}:function(){return a};return r.d(e,"a",e),e},r.o=function(a,e){return Object.prototype.hasOwnProperty.call(a,e)},r.p="",r(r.s=24)}({24:function(a,e){var r;(r=jQuery).extend(r.summernote.lang,{"id-ID":{font:{bold:"Tebal",italic:"Miring",underline:"Garis bawah",clear:"Bersihkan gaya",height:"Jarak baris",name:"Jenis Tulisan",strikethrough:"Coret",subscript:"Subscript",superscript:"Superscript",size:"Ukuran font"},image:{image:"Gambar",insert:"Sisipkan gambar",resizeFull:"Ukuran penuh",resizeHalf:"Ukuran 50%",resizeQuarter:"Ukuran 25%",floatLeft:"Rata kiri",floatRight:"Rata kanan",floatNone:"Tanpa perataan",shapeRounded:"Bentuk: Membundar",shapeCircle:"Bentuk: Bundar",shapeThumbnail:"Bentuk: Thumbnail",shapeNone:"Bentuk: Tidak ada",dragImageHere:"Tarik gambar ke area ini",dropImage:"Letakkan gambar atau teks",selectFromFiles:"Pilih gambar dari berkas",maximumFileSize:"Ukuran maksimal berkas",maximumFileSizeError:"Ukuran maksimal berkas terlampaui.",url:"URL gambar",remove:"Hapus Gambar",original:"Original"},video:{video:"Video",videoLink:"Link video",insert:"Sisipkan video",url:"Tautan video",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion atau Youku)"},link:{link:"Tautan",insert:"Tambah tautan",unlink:"Hapus tautan",edit:"Edit",textToDisplay:"Tampilan teks",url:"Tautan tujuan",openInNewWindow:"Buka di jendela baru"},table:{table:"Tabel",addRowAbove:"Tambahkan baris ke atas",addRowBelow:"Tambahkan baris ke bawah",addColLeft:"Tambahkan kolom ke kiri",addColRight:"Tambahkan kolom ke kanan",delRow:"Hapus baris",delCol:"Hapus kolom",delTable:"Hapus tabel"},hr:{insert:"Masukkan garis horizontal"},style:{style:"Gaya",p:"p",blockquote:"Kutipan",pre:"Kode",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",h5:"Heading 5",h6:"Heading 6"},lists:{unordered:"Pencacahan",ordered:"Penomoran"},options:{help:"Bantuan",fullscreen:"Layar penuh",codeview:"Kode HTML"},paragraph:{paragraph:"Paragraf",outdent:"Outdent",indent:"Indent",left:"Rata kiri",center:"Rata tengah",right:"Rata kanan",justify:"Rata kanan kiri"},color:{recent:"Warna sekarang",more:"Selengkapnya",background:"Warna latar",foreground:"Warna font",transparent:"Transparan",setTransparent:"Atur transparansi",reset:"Atur ulang",resetToDefault:"Kembalikan kesemula"},shortcut:{shortcuts:"Jalan pintas",close:"Tutup",textFormatting:"Format teks",action:"Aksi",paragraphFormatting:"Format paragraf",documentStyle:"Gaya dokumen",extraKeys:"Shortcut tambahan"},help:{insertParagraph:"Tambahkan paragraf",undo:"Urungkan perintah terakhir",redo:"Kembalikan perintah terakhir",tab:"Tab",untab:"Untab",bold:"Mengaktifkan gaya tebal",italic:"Mengaktifkan gaya italic",underline:"Mengaktifkan gaya underline",strikethrough:"Mengaktifkan gaya strikethrough",removeFormat:"Hapus semua gaya",justifyLeft:"Atur rata kiri",justifyCenter:"Atur rata tengah",justifyRight:"Atur rata kanan",justifyFull:"Atur rata kiri-kanan",insertUnorderedList:"Nyalakan urutan tanpa nomor",insertOrderedList:"Nyalakan urutan bernomor",outdent:"Outdent di paragraf terpilih",indent:"Indent di paragraf terpilih",formatPara:"Ubah format gaya tulisan terpilih menjadi paragraf",formatH1:"Ubah format gaya tulisan terpilih menjadi Heading 1",formatH2:"Ubah format gaya tulisan terpilih menjadi Heading 2",formatH3:"Ubah format gaya tulisan terpilih menjadi Heading 3",formatH4:"Ubah format gaya tulisan terpilih menjadi Heading 4",formatH5:"Ubah format gaya tulisan terpilih menjadi Heading 5",formatH6:"Ubah format gaya tulisan terpilih menjadi Heading 6",insertHorizontalRule:"Masukkan garis horizontal","linkDialog.show":"Tampilkan Link Dialog"},history:{undo:"Kembali",redo:"Ulang"},specialChar:{specialChar:"KARAKTER KHUSUS",select:"Pilih karakter khusus"}}})}})}));
|
admin/lib/summernote/lang/summernote-id-ID.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-it-IT.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 25);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 25:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'it-IT': {
|
117 |
+
font: {
|
118 |
+
bold: 'Testo in grassetto',
|
119 |
+
italic: 'Testo in corsivo',
|
120 |
+
underline: 'Testo sottolineato',
|
121 |
+
clear: 'Elimina la formattazione del testo',
|
122 |
+
height: 'Altezza della linea di testo',
|
123 |
+
name: 'Famiglia Font',
|
124 |
+
strikethrough: 'Testo barrato',
|
125 |
+
subscript: 'Subscript',
|
126 |
+
superscript: 'Superscript',
|
127 |
+
size: 'Dimensione del carattere'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Immagine',
|
131 |
+
insert: 'Inserisci Immagine',
|
132 |
+
resizeFull: 'Dimensioni originali',
|
133 |
+
resizeHalf: 'Ridimensiona al 50%',
|
134 |
+
resizeQuarter: 'Ridimensiona al 25%',
|
135 |
+
floatLeft: 'Posiziona a sinistra',
|
136 |
+
floatRight: 'Posiziona a destra',
|
137 |
+
floatNone: 'Nessun posizionamento',
|
138 |
+
shapeRounded: 'Shape: Rounded',
|
139 |
+
shapeCircle: 'Shape: Circle',
|
140 |
+
shapeThumbnail: 'Shape: Thumbnail',
|
141 |
+
shapeNone: 'Shape: None',
|
142 |
+
dragImageHere: 'Trascina qui un\'immagine',
|
143 |
+
dropImage: 'Drop image or Text',
|
144 |
+
selectFromFiles: 'Scegli dai Documenti',
|
145 |
+
maximumFileSize: 'Maximum file size',
|
146 |
+
maximumFileSizeError: 'Maximum file size exceeded.',
|
147 |
+
url: 'URL dell\'immagine',
|
148 |
+
remove: 'Rimuovi immagine',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'Video',
|
153 |
+
videoLink: 'Collegamento ad un Video',
|
154 |
+
insert: 'Inserisci Video',
|
155 |
+
url: 'URL del Video',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion o Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'Collegamento',
|
160 |
+
insert: 'Inserisci Collegamento',
|
161 |
+
unlink: 'Elimina collegamento',
|
162 |
+
edit: 'Modifica collegamento',
|
163 |
+
textToDisplay: 'Testo del collegamento',
|
164 |
+
url: 'URL del collegamento',
|
165 |
+
openInNewWindow: 'Apri in una nuova finestra'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'Tabella',
|
169 |
+
addRowAbove: 'Add row above',
|
170 |
+
addRowBelow: 'Add row below',
|
171 |
+
addColLeft: 'Add column left',
|
172 |
+
addColRight: 'Add column right',
|
173 |
+
delRow: 'Delete row',
|
174 |
+
delCol: 'Delete column',
|
175 |
+
delTable: 'Delete table'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'Inserisce una linea di separazione'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'Stili',
|
182 |
+
p: 'pe',
|
183 |
+
blockquote: 'Citazione',
|
184 |
+
pre: 'Codice',
|
185 |
+
h1: 'Titolo 1',
|
186 |
+
h2: 'Titolo 2',
|
187 |
+
h3: 'Titolo 3',
|
188 |
+
h4: 'Titolo 4',
|
189 |
+
h5: 'Titolo 5',
|
190 |
+
h6: 'Titolo 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'Elenco non ordinato',
|
194 |
+
ordered: 'Elenco ordinato'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'Aiuto',
|
198 |
+
fullscreen: 'Modalità a tutto schermo',
|
199 |
+
codeview: 'Visualizza codice'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'Paragrafo',
|
203 |
+
outdent: 'Diminuisce il livello di rientro',
|
204 |
+
indent: 'Aumenta il livello di rientro',
|
205 |
+
left: 'Allinea a sinistra',
|
206 |
+
center: 'Centra',
|
207 |
+
right: 'Allinea a destra',
|
208 |
+
justify: 'Giustifica (allinea a destra e sinistra)'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'Ultimo colore utilizzato',
|
212 |
+
more: 'Altri colori',
|
213 |
+
background: 'Colore di sfondo',
|
214 |
+
foreground: 'Colore',
|
215 |
+
transparent: 'Trasparente',
|
216 |
+
setTransparent: 'Trasparente',
|
217 |
+
reset: 'Reimposta',
|
218 |
+
resetToDefault: 'Reimposta i colori'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: 'Scorciatoie da tastiera',
|
222 |
+
close: 'Chiudi',
|
223 |
+
textFormatting: 'Formattazione testo',
|
224 |
+
action: 'Azioni',
|
225 |
+
paragraphFormatting: 'Formattazione paragrafo',
|
226 |
+
documentStyle: 'Stili',
|
227 |
+
extraKeys: 'Extra keys'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
'insertParagraph': 'Insert Paragraph',
|
231 |
+
'undo': 'Undoes the last command',
|
232 |
+
'redo': 'Redoes the last command',
|
233 |
+
'tab': 'Tab',
|
234 |
+
'untab': 'Untab',
|
235 |
+
'bold': 'Set a bold style',
|
236 |
+
'italic': 'Set a italic style',
|
237 |
+
'underline': 'Set a underline style',
|
238 |
+
'strikethrough': 'Set a strikethrough style',
|
239 |
+
'removeFormat': 'Clean a style',
|
240 |
+
'justifyLeft': 'Set left align',
|
241 |
+
'justifyCenter': 'Set center align',
|
242 |
+
'justifyRight': 'Set right align',
|
243 |
+
'justifyFull': 'Set full align',
|
244 |
+
'insertUnorderedList': 'Toggle unordered list',
|
245 |
+
'insertOrderedList': 'Toggle ordered list',
|
246 |
+
'outdent': 'Outdent on current paragraph',
|
247 |
+
'indent': 'Indent on current paragraph',
|
248 |
+
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
|
249 |
+
'formatH1': 'Change current block\'s format as H1',
|
250 |
+
'formatH2': 'Change current block\'s format as H2',
|
251 |
+
'formatH3': 'Change current block\'s format as H3',
|
252 |
+
'formatH4': 'Change current block\'s format as H4',
|
253 |
+
'formatH5': 'Change current block\'s format as H5',
|
254 |
+
'formatH6': 'Change current block\'s format as H6',
|
255 |
+
'insertHorizontalRule': 'Insert horizontal rule',
|
256 |
+
'linkDialog.show': 'Show Link Dialog'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: 'Annulla',
|
260 |
+
redo: 'Ripristina'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: 'SPECIAL CHARACTERS',
|
264 |
+
select: 'Select Special characters'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-it-IT.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-it-IT.min.js.LICENSE.txt */
|
2 |
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}(window,(function(){return function(e){var t={};function o(i){if(t[i])return t[i].exports;var r=t[i]={i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=e,o.c=t,o.d=function(e,t,i){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(i,r,function(t){return e[t]}.bind(null,r));return i},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=25)}({25:function(e,t){var o;(o=jQuery).extend(o.summernote.lang,{"it-IT":{font:{bold:"Testo in grassetto",italic:"Testo in corsivo",underline:"Testo sottolineato",clear:"Elimina la formattazione del testo",height:"Altezza della linea di testo",name:"Famiglia Font",strikethrough:"Testo barrato",subscript:"Subscript",superscript:"Superscript",size:"Dimensione del carattere"},image:{image:"Immagine",insert:"Inserisci Immagine",resizeFull:"Dimensioni originali",resizeHalf:"Ridimensiona al 50%",resizeQuarter:"Ridimensiona al 25%",floatLeft:"Posiziona a sinistra",floatRight:"Posiziona a destra",floatNone:"Nessun posizionamento",shapeRounded:"Shape: Rounded",shapeCircle:"Shape: Circle",shapeThumbnail:"Shape: Thumbnail",shapeNone:"Shape: None",dragImageHere:"Trascina qui un'immagine",dropImage:"Drop image or Text",selectFromFiles:"Scegli dai Documenti",maximumFileSize:"Maximum file size",maximumFileSizeError:"Maximum file size exceeded.",url:"URL dell'immagine",remove:"Rimuovi immagine",original:"Original"},video:{video:"Video",videoLink:"Collegamento ad un Video",insert:"Inserisci Video",url:"URL del Video",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion o Youku)"},link:{link:"Collegamento",insert:"Inserisci Collegamento",unlink:"Elimina collegamento",edit:"Modifica collegamento",textToDisplay:"Testo del collegamento",url:"URL del collegamento",openInNewWindow:"Apri in una nuova finestra"},table:{table:"Tabella",addRowAbove:"Add row above",addRowBelow:"Add row below",addColLeft:"Add column left",addColRight:"Add column right",delRow:"Delete row",delCol:"Delete column",delTable:"Delete table"},hr:{insert:"Inserisce una linea di separazione"},style:{style:"Stili",p:"pe",blockquote:"Citazione",pre:"Codice",h1:"Titolo 1",h2:"Titolo 2",h3:"Titolo 3",h4:"Titolo 4",h5:"Titolo 5",h6:"Titolo 6"},lists:{unordered:"Elenco non ordinato",ordered:"Elenco ordinato"},options:{help:"Aiuto",fullscreen:"Modalità a tutto schermo",codeview:"Visualizza codice"},paragraph:{paragraph:"Paragrafo",outdent:"Diminuisce il livello di rientro",indent:"Aumenta il livello di rientro",left:"Allinea a sinistra",center:"Centra",right:"Allinea a destra",justify:"Giustifica (allinea a destra e sinistra)"},color:{recent:"Ultimo colore utilizzato",more:"Altri colori",background:"Colore di sfondo",foreground:"Colore",transparent:"Trasparente",setTransparent:"Trasparente",reset:"Reimposta",resetToDefault:"Reimposta i colori"},shortcut:{shortcuts:"Scorciatoie da tastiera",close:"Chiudi",textFormatting:"Formattazione testo",action:"Azioni",paragraphFormatting:"Formattazione paragrafo",documentStyle:"Stili",extraKeys:"Extra keys"},help:{insertParagraph:"Insert Paragraph",undo:"Undoes the last command",redo:"Redoes the last command",tab:"Tab",untab:"Untab",bold:"Set a bold style",italic:"Set a italic style",underline:"Set a underline style",strikethrough:"Set a strikethrough style",removeFormat:"Clean a style",justifyLeft:"Set left align",justifyCenter:"Set center align",justifyRight:"Set right align",justifyFull:"Set full align",insertUnorderedList:"Toggle unordered list",insertOrderedList:"Toggle ordered list",outdent:"Outdent on current paragraph",indent:"Indent on current paragraph",formatPara:"Change current block's format as a paragraph(P tag)",formatH1:"Change current block's format as H1",formatH2:"Change current block's format as H2",formatH3:"Change current block's format as H3",formatH4:"Change current block's format as H4",formatH5:"Change current block's format as H5",formatH6:"Change current block's format as H6",insertHorizontalRule:"Insert horizontal rule","linkDialog.show":"Show Link Dialog"},history:{undo:"Annulla",redo:"Ripristina"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"}}})}})}));
|
admin/lib/summernote/lang/summernote-it-IT.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-ja-JP.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 26);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 26:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'ja-JP': {
|
117 |
+
font: {
|
118 |
+
bold: '太字',
|
119 |
+
italic: '斜体',
|
120 |
+
underline: '下線',
|
121 |
+
clear: 'クリア',
|
122 |
+
height: '文字高',
|
123 |
+
name: 'フォント',
|
124 |
+
strikethrough: '取り消し線',
|
125 |
+
subscript: 'Subscript',
|
126 |
+
superscript: 'Superscript',
|
127 |
+
size: '大きさ'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: '画像',
|
131 |
+
insert: '画像挿入',
|
132 |
+
resizeFull: '最大化',
|
133 |
+
resizeHalf: '1/2',
|
134 |
+
resizeQuarter: '1/4',
|
135 |
+
floatLeft: '左寄せ',
|
136 |
+
floatRight: '右寄せ',
|
137 |
+
floatNone: '寄せ解除',
|
138 |
+
shapeRounded: 'Shape: Rounded',
|
139 |
+
shapeCircle: 'Shape: Circle',
|
140 |
+
shapeThumbnail: 'Shape: Thumbnail',
|
141 |
+
shapeNone: 'Shape: None',
|
142 |
+
dragImageHere: 'ここに画像をドラッグしてください',
|
143 |
+
dropImage: 'Drop image or Text',
|
144 |
+
selectFromFiles: '画像ファイルを選ぶ',
|
145 |
+
maximumFileSize: 'Maximum file size',
|
146 |
+
maximumFileSizeError: 'Maximum file size exceeded.',
|
147 |
+
url: 'URLから画像を挿入する',
|
148 |
+
remove: '画像を削除する',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: '動画',
|
153 |
+
videoLink: '動画リンク',
|
154 |
+
insert: '動画挿入',
|
155 |
+
url: '動画のURL',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion, Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'リンク',
|
160 |
+
insert: 'リンク挿入',
|
161 |
+
unlink: 'リンク解除',
|
162 |
+
edit: '編集',
|
163 |
+
textToDisplay: 'リンク文字列',
|
164 |
+
url: 'URLを入力してください',
|
165 |
+
openInNewWindow: '新しいウィンドウで開く'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'テーブル',
|
169 |
+
addRowAbove: '行を上に追加',
|
170 |
+
addRowBelow: '行を下に追加',
|
171 |
+
addColLeft: '列を左に追加',
|
172 |
+
addColRight: '列を右に追加',
|
173 |
+
delRow: '行を削除',
|
174 |
+
delCol: '列を削除',
|
175 |
+
delTable: 'テーブルを削除'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: '水平線の挿入'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'スタイル',
|
182 |
+
p: '標準',
|
183 |
+
blockquote: '引用',
|
184 |
+
pre: 'コード',
|
185 |
+
h1: '見出し1',
|
186 |
+
h2: '見出し2',
|
187 |
+
h3: '見出し3',
|
188 |
+
h4: '見出し4',
|
189 |
+
h5: '見出し5',
|
190 |
+
h6: '見出し6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: '通常リスト',
|
194 |
+
ordered: '番号リスト'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'ヘルプ',
|
198 |
+
fullscreen: 'フルスクリーン',
|
199 |
+
codeview: 'コード表示'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: '文章',
|
203 |
+
outdent: '字上げ',
|
204 |
+
indent: '字下げ',
|
205 |
+
left: '左寄せ',
|
206 |
+
center: '中央寄せ',
|
207 |
+
right: '右寄せ',
|
208 |
+
justify: '均等割付'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: '現在の色',
|
212 |
+
more: 'もっと見る',
|
213 |
+
background: '背景色',
|
214 |
+
foreground: '文字色',
|
215 |
+
transparent: '透明',
|
216 |
+
setTransparent: '透明にする',
|
217 |
+
reset: '標準',
|
218 |
+
resetToDefault: '標準に戻す'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: 'ショートカット',
|
222 |
+
close: '閉じる',
|
223 |
+
textFormatting: '文字フォーマット',
|
224 |
+
action: 'アクション',
|
225 |
+
paragraphFormatting: '文章フォーマット',
|
226 |
+
documentStyle: 'ドキュメント形式',
|
227 |
+
extraKeys: 'Extra keys'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
'insertParagraph': '改行挿入',
|
231 |
+
'undo': '一旦、行った操作を戻す',
|
232 |
+
'redo': '最後のコマンドをやり直す',
|
233 |
+
'tab': 'Tab',
|
234 |
+
'untab': 'タブ戻し',
|
235 |
+
'bold': '太文字',
|
236 |
+
'italic': '斜体',
|
237 |
+
'underline': '下線',
|
238 |
+
'strikethrough': '取り消し線',
|
239 |
+
'removeFormat': '装飾を戻す',
|
240 |
+
'justifyLeft': '左寄せ',
|
241 |
+
'justifyCenter': '真ん中寄せ',
|
242 |
+
'justifyRight': '右寄せ',
|
243 |
+
'justifyFull': 'すべてを整列',
|
244 |
+
'insertUnorderedList': '行頭に●を挿入',
|
245 |
+
'insertOrderedList': '行頭に番号を挿入',
|
246 |
+
'outdent': '字下げを戻す(アウトデント)',
|
247 |
+
'indent': '字下げする(インデント)',
|
248 |
+
'formatPara': '段落(P tag)指定',
|
249 |
+
'formatH1': 'H1指定',
|
250 |
+
'formatH2': 'H2指定',
|
251 |
+
'formatH3': 'H3指定',
|
252 |
+
'formatH4': 'H4指定',
|
253 |
+
'formatH5': 'H5指定',
|
254 |
+
'formatH6': 'H6指定',
|
255 |
+
'insertHorizontalRule': '<hr />を挿入',
|
256 |
+
'linkDialog.show': 'リンク挿入'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: '元に戻す',
|
260 |
+
redo: 'やり直す'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: 'SPECIAL CHARACTERS',
|
264 |
+
select: 'Select Special characters'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-ja-JP.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-ja-JP.min.js.LICENSE.txt */
|
2 |
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(window,(function(){return function(e){var t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(o,n,function(t){return e[t]}.bind(null,n));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=26)}({26:function(e,t){var r;(r=jQuery).extend(r.summernote.lang,{"ja-JP":{font:{bold:"太字",italic:"斜体",underline:"下線",clear:"クリア",height:"文字高",name:"フォント",strikethrough:"取り消し線",subscript:"Subscript",superscript:"Superscript",size:"大きさ"},image:{image:"画像",insert:"画像挿入",resizeFull:"最大化",resizeHalf:"1/2",resizeQuarter:"1/4",floatLeft:"左寄せ",floatRight:"右寄せ",floatNone:"寄せ解除",shapeRounded:"Shape: Rounded",shapeCircle:"Shape: Circle",shapeThumbnail:"Shape: Thumbnail",shapeNone:"Shape: None",dragImageHere:"ここに画像をドラッグしてください",dropImage:"Drop image or Text",selectFromFiles:"画像ファイルを選ぶ",maximumFileSize:"Maximum file size",maximumFileSizeError:"Maximum file size exceeded.",url:"URLから画像を挿入する",remove:"画像を削除する",original:"Original"},video:{video:"動画",videoLink:"動画リンク",insert:"動画挿入",url:"動画のURL",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion, Youku)"},link:{link:"リンク",insert:"リンク挿入",unlink:"リンク解除",edit:"編集",textToDisplay:"リンク文字列",url:"URLを入力してください",openInNewWindow:"新しいウィンドウで開く"},table:{table:"テーブル",addRowAbove:"行を上に追加",addRowBelow:"行を下に追加",addColLeft:"列を左に追加",addColRight:"列を右に追加",delRow:"行を削除",delCol:"列を削除",delTable:"テーブルを削除"},hr:{insert:"水平線の挿入"},style:{style:"スタイル",p:"標準",blockquote:"引用",pre:"コード",h1:"見出し1",h2:"見出し2",h3:"見出し3",h4:"見出し4",h5:"見出し5",h6:"見出し6"},lists:{unordered:"通常リスト",ordered:"番号リスト"},options:{help:"ヘルプ",fullscreen:"フルスクリーン",codeview:"コード表示"},paragraph:{paragraph:"文章",outdent:"字上げ",indent:"字下げ",left:"左寄せ",center:"中央寄せ",right:"右寄せ",justify:"均等割付"},color:{recent:"現在の色",more:"もっと見る",background:"背景色",foreground:"文字色",transparent:"透明",setTransparent:"透明にする",reset:"標準",resetToDefault:"標準に戻す"},shortcut:{shortcuts:"ショートカット",close:"閉じる",textFormatting:"文字フォーマット",action:"アクション",paragraphFormatting:"文章フォーマット",documentStyle:"ドキュメント形式",extraKeys:"Extra keys"},help:{insertParagraph:"改行挿入",undo:"一旦、行った操作を戻す",redo:"最後のコマンドをやり直す",tab:"Tab",untab:"タブ戻し",bold:"太文字",italic:"斜体",underline:"下線",strikethrough:"取り消し線",removeFormat:"装飾を戻す",justifyLeft:"左寄せ",justifyCenter:"真ん中寄せ",justifyRight:"右寄せ",justifyFull:"すべてを整列",insertUnorderedList:"行頭に●を挿入",insertOrderedList:"行頭に番号を挿入",outdent:"字下げを戻す(アウトデント)",indent:"字下げする(インデント)",formatPara:"段落(P tag)指定",formatH1:"H1指定",formatH2:"H2指定",formatH3:"H3指定",formatH4:"H4指定",formatH5:"H5指定",formatH6:"H6指定",insertHorizontalRule:"<hr />を挿入","linkDialog.show":"リンク挿入"},history:{undo:"元に戻す",redo:"やり直す"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"}}})}})}));
|
admin/lib/summernote/lang/summernote-ja-JP.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-ko-KR.js
ADDED
@@ -0,0 +1,275 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 27);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 27:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'ko-KR': {
|
117 |
+
font: {
|
118 |
+
bold: '굵게',
|
119 |
+
italic: '기울임꼴',
|
120 |
+
underline: '밑줄',
|
121 |
+
clear: '서식 지우기',
|
122 |
+
height: '줄 간격',
|
123 |
+
name: '글꼴',
|
124 |
+
superscript: '위 첨자',
|
125 |
+
subscript: '아래 첨자',
|
126 |
+
strikethrough: '취소선',
|
127 |
+
size: '글자 크기'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: '그림',
|
131 |
+
insert: '그림 삽입',
|
132 |
+
resizeFull: '100% 크기로 변경',
|
133 |
+
resizeHalf: '50% 크기로 변경',
|
134 |
+
resizeQuarter: '25% 크기로 변경',
|
135 |
+
resizeNone: '원본 크기',
|
136 |
+
floatLeft: '왼쪽 정렬',
|
137 |
+
floatRight: '오른쪽 정렬',
|
138 |
+
floatNone: '정렬하지 않음',
|
139 |
+
shapeRounded: '스타일: 둥근 모서리',
|
140 |
+
shapeCircle: '스타일: 원형',
|
141 |
+
shapeThumbnail: '스타일: 액자',
|
142 |
+
shapeNone: '스타일: 없음',
|
143 |
+
dragImageHere: '텍스트 혹은 사진을 이곳으로 끌어오세요',
|
144 |
+
dropImage: '텍스트 혹은 사진을 내려놓으세요',
|
145 |
+
selectFromFiles: '파일 선택',
|
146 |
+
maximumFileSize: '최대 파일 크기',
|
147 |
+
maximumFileSizeError: '최대 파일 크기를 초과했습니다.',
|
148 |
+
url: '사진 URL',
|
149 |
+
remove: '사진 삭제',
|
150 |
+
original: '원본'
|
151 |
+
},
|
152 |
+
video: {
|
153 |
+
video: '동영상',
|
154 |
+
videoLink: '동영상 링크',
|
155 |
+
insert: '동영상 삽입',
|
156 |
+
url: '동영상 URL',
|
157 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion, Youku 사용 가능)'
|
158 |
+
},
|
159 |
+
link: {
|
160 |
+
link: '링크',
|
161 |
+
insert: '링크 삽입',
|
162 |
+
unlink: '링크 삭제',
|
163 |
+
edit: '수정',
|
164 |
+
textToDisplay: '링크에 표시할 내용',
|
165 |
+
url: '이동할 URL',
|
166 |
+
openInNewWindow: '새창으로 열기'
|
167 |
+
},
|
168 |
+
table: {
|
169 |
+
table: '표',
|
170 |
+
addRowAbove: '위에 행 삽입',
|
171 |
+
addRowBelow: '아래에 행 삽입',
|
172 |
+
addColLeft: '왼쪽에 열 삽입',
|
173 |
+
addColRight: '오른쪽에 열 삽입',
|
174 |
+
delRow: '행 지우기',
|
175 |
+
delCol: '열 지우기',
|
176 |
+
delTable: '표 삭제'
|
177 |
+
},
|
178 |
+
hr: {
|
179 |
+
insert: '구분선 삽입'
|
180 |
+
},
|
181 |
+
style: {
|
182 |
+
style: '스타일',
|
183 |
+
p: '본문',
|
184 |
+
blockquote: '인용구',
|
185 |
+
pre: '코드',
|
186 |
+
h1: '제목 1',
|
187 |
+
h2: '제목 2',
|
188 |
+
h3: '제목 3',
|
189 |
+
h4: '제목 4',
|
190 |
+
h5: '제목 5',
|
191 |
+
h6: '제목 6'
|
192 |
+
},
|
193 |
+
lists: {
|
194 |
+
unordered: '글머리 기호',
|
195 |
+
ordered: '번호 매기기'
|
196 |
+
},
|
197 |
+
options: {
|
198 |
+
help: '도움말',
|
199 |
+
fullscreen: '전체 화면',
|
200 |
+
codeview: '코드 보기'
|
201 |
+
},
|
202 |
+
paragraph: {
|
203 |
+
paragraph: '문단 정렬',
|
204 |
+
outdent: '내어쓰기',
|
205 |
+
indent: '들여쓰기',
|
206 |
+
left: '왼쪽 정렬',
|
207 |
+
center: '가운데 정렬',
|
208 |
+
right: '오른쪽 정렬',
|
209 |
+
justify: '양쪽 정렬'
|
210 |
+
},
|
211 |
+
color: {
|
212 |
+
recent: '마지막으로 사용한 색',
|
213 |
+
more: '다른 색 선택',
|
214 |
+
background: '배경색',
|
215 |
+
foreground: '글자색',
|
216 |
+
transparent: '투명',
|
217 |
+
setTransparent: '투명으로 설정',
|
218 |
+
reset: '취소',
|
219 |
+
resetToDefault: '기본값으로 설정',
|
220 |
+
cpSelect: '고르다'
|
221 |
+
},
|
222 |
+
shortcut: {
|
223 |
+
shortcuts: '키보드 단축키',
|
224 |
+
close: '닫기',
|
225 |
+
textFormatting: '글자 스타일 적용',
|
226 |
+
action: '기능',
|
227 |
+
paragraphFormatting: '문단 스타일 적용',
|
228 |
+
documentStyle: '문서 스타일 적용',
|
229 |
+
extraKeys: '추가 키'
|
230 |
+
},
|
231 |
+
help: {
|
232 |
+
'insertParagraph': '문단 삽입',
|
233 |
+
'undo': '마지막 명령 취소',
|
234 |
+
'redo': '마지막 명령 재실행',
|
235 |
+
'tab': '탭',
|
236 |
+
'untab': '탭 제거',
|
237 |
+
'bold': '굵은 글자로 설정',
|
238 |
+
'italic': '기울임꼴 글자로 설정',
|
239 |
+
'underline': '밑줄 글자로 설정',
|
240 |
+
'strikethrough': '취소선 글자로 설정',
|
241 |
+
'removeFormat': '서식 삭제',
|
242 |
+
'justifyLeft': '왼쪽 정렬하기',
|
243 |
+
'justifyCenter': '가운데 정렬하기',
|
244 |
+
'justifyRight': '오른쪽 정렬하기',
|
245 |
+
'justifyFull': '좌우채움 정렬하기',
|
246 |
+
'insertUnorderedList': '글머리 기호 켜고 끄기',
|
247 |
+
'insertOrderedList': '번호 매기기 켜고 끄기',
|
248 |
+
'outdent': '현재 문단 내어쓰기',
|
249 |
+
'indent': '현재 문단 들여쓰기',
|
250 |
+
'formatPara': '현재 블록의 포맷을 문단(P)으로 변경',
|
251 |
+
'formatH1': '현재 블록의 포맷을 제목1(H1)로 변경',
|
252 |
+
'formatH2': '현재 블록의 포맷을 제목2(H2)로 변경',
|
253 |
+
'formatH3': '현재 블록의 포맷을 제목3(H3)로 변경',
|
254 |
+
'formatH4': '현재 블록의 포맷을 제목4(H4)로 변경',
|
255 |
+
'formatH5': '현재 블록의 포맷을 제목5(H5)로 변경',
|
256 |
+
'formatH6': '현재 블록의 포맷을 제목6(H6)로 변경',
|
257 |
+
'insertHorizontalRule': '구분선 삽입',
|
258 |
+
'linkDialog.show': '링크 대화상자 열기'
|
259 |
+
},
|
260 |
+
history: {
|
261 |
+
undo: '실행 취소',
|
262 |
+
redo: '재실행'
|
263 |
+
},
|
264 |
+
specialChar: {
|
265 |
+
specialChar: '특수문자',
|
266 |
+
select: '특수문자를 선택하세요'
|
267 |
+
}
|
268 |
+
}
|
269 |
+
});
|
270 |
+
})(jQuery);
|
271 |
+
|
272 |
+
/***/ })
|
273 |
+
|
274 |
+
/******/ });
|
275 |
+
});
|
admin/lib/summernote/lang/summernote-ko-KR.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-ko-KR.min.js.LICENSE.txt */
|
2 |
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(window,(function(){return function(e){var t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(o,n,function(t){return e[t]}.bind(null,n));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=27)}({27:function(e,t){var r;(r=jQuery).extend(r.summernote.lang,{"ko-KR":{font:{bold:"굵게",italic:"기울임꼴",underline:"밑줄",clear:"서식 지우기",height:"줄 간격",name:"글꼴",superscript:"위 첨자",subscript:"아래 첨자",strikethrough:"취소선",size:"글자 크기"},image:{image:"그림",insert:"그림 삽입",resizeFull:"100% 크기로 변경",resizeHalf:"50% 크기로 변경",resizeQuarter:"25% 크기로 변경",resizeNone:"원본 크기",floatLeft:"왼쪽 정렬",floatRight:"오른쪽 정렬",floatNone:"정렬하지 않음",shapeRounded:"스타일: 둥근 모서리",shapeCircle:"스타일: 원형",shapeThumbnail:"스타일: 액자",shapeNone:"스타일: 없음",dragImageHere:"텍스트 혹은 사진을 이곳으로 끌어오세요",dropImage:"텍스트 혹은 사진을 내려놓으세요",selectFromFiles:"파일 선택",maximumFileSize:"최대 파일 크기",maximumFileSizeError:"최대 파일 크기를 초과했습니다.",url:"사진 URL",remove:"사진 삭제",original:"원본"},video:{video:"동영상",videoLink:"동영상 링크",insert:"동영상 삽입",url:"동영상 URL",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion, Youku 사용 가능)"},link:{link:"링크",insert:"링크 삽입",unlink:"링크 삭제",edit:"수정",textToDisplay:"링크에 표시할 내용",url:"이동할 URL",openInNewWindow:"새창으로 열기"},table:{table:"표",addRowAbove:"위에 행 삽입",addRowBelow:"아래에 행 삽입",addColLeft:"왼쪽에 열 삽입",addColRight:"오른쪽에 열 삽입",delRow:"행 지우기",delCol:"열 지우기",delTable:"표 삭제"},hr:{insert:"구분선 삽입"},style:{style:"스타일",p:"본문",blockquote:"인용구",pre:"코드",h1:"제목 1",h2:"제목 2",h3:"제목 3",h4:"제목 4",h5:"제목 5",h6:"제목 6"},lists:{unordered:"글머리 기호",ordered:"번호 매기기"},options:{help:"도움말",fullscreen:"전체 화면",codeview:"코드 보기"},paragraph:{paragraph:"문단 정렬",outdent:"내어쓰기",indent:"들여쓰기",left:"왼쪽 정렬",center:"가운데 정렬",right:"오른쪽 정렬",justify:"양쪽 정렬"},color:{recent:"마지막으로 사용한 색",more:"다른 색 선택",background:"배경색",foreground:"글자색",transparent:"투명",setTransparent:"투명으로 설정",reset:"취소",resetToDefault:"기본값으로 설정",cpSelect:"고르다"},shortcut:{shortcuts:"키보드 단축키",close:"닫기",textFormatting:"글자 스타일 적용",action:"기능",paragraphFormatting:"문단 스타일 적용",documentStyle:"문서 스타일 적용",extraKeys:"추가 키"},help:{insertParagraph:"문단 삽입",undo:"마지막 명령 취소",redo:"마지막 명령 재실행",tab:"탭",untab:"탭 제거",bold:"굵은 글자로 설정",italic:"기울임꼴 글자로 설정",underline:"밑줄 글자로 설정",strikethrough:"취소선 글자로 설정",removeFormat:"서식 삭제",justifyLeft:"왼쪽 정렬하기",justifyCenter:"가운데 정렬하기",justifyRight:"오른쪽 정렬하기",justifyFull:"좌우채움 정렬하기",insertUnorderedList:"글머리 기호 켜고 끄기",insertOrderedList:"번호 매기기 켜고 끄기",outdent:"현재 문단 내어쓰기",indent:"현재 문단 들여쓰기",formatPara:"현재 블록의 포맷을 문단(P)으로 변경",formatH1:"현재 블록의 포맷을 제목1(H1)로 변경",formatH2:"현재 블록의 포맷을 제목2(H2)로 변경",formatH3:"현재 블록의 포맷을 제목3(H3)로 변경",formatH4:"현재 블록의 포맷을 제목4(H4)로 변경",formatH5:"현재 블록의 포맷을 제목5(H5)로 변경",formatH6:"현재 블록의 포맷을 제목6(H6)로 변경",insertHorizontalRule:"구분선 삽입","linkDialog.show":"링크 대화상자 열기"},history:{undo:"실행 취소",redo:"재실행"},specialChar:{specialChar:"특수문자",select:"특수문자를 선택하세요"}}})}})}));
|
admin/lib/summernote/lang/summernote-ko-KR.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-lt-LT.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 28);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 28:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'lt-LT': {
|
117 |
+
font: {
|
118 |
+
bold: 'Paryškintas',
|
119 |
+
italic: 'Kursyvas',
|
120 |
+
underline: 'Pabrėžtas',
|
121 |
+
clear: 'Be formatavimo',
|
122 |
+
height: 'Eilutės aukštis',
|
123 |
+
name: 'Šrifto pavadinimas',
|
124 |
+
strikethrough: 'Perbrauktas',
|
125 |
+
superscript: 'Viršutinis',
|
126 |
+
subscript: 'Indeksas',
|
127 |
+
size: 'Šrifto dydis'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Paveikslėlis',
|
131 |
+
insert: 'Įterpti paveikslėlį',
|
132 |
+
resizeFull: 'Pilnas dydis',
|
133 |
+
resizeHalf: 'Sumažinti dydį 50%',
|
134 |
+
resizeQuarter: 'Sumažinti dydį 25%',
|
135 |
+
floatLeft: 'Kairinis lygiavimas',
|
136 |
+
floatRight: 'Dešininis lygiavimas',
|
137 |
+
floatNone: 'Jokio lygiavimo',
|
138 |
+
shapeRounded: 'Forma: apvalūs kraštai',
|
139 |
+
shapeCircle: 'Forma: apskritimas',
|
140 |
+
shapeThumbnail: 'Forma: miniatiūra',
|
141 |
+
shapeNone: 'Forma: jokia',
|
142 |
+
dragImageHere: 'Vilkite paveikslėlį čia',
|
143 |
+
dropImage: 'Drop image or Text',
|
144 |
+
selectFromFiles: 'Pasirinkite failą',
|
145 |
+
maximumFileSize: 'Maskimalus failo dydis',
|
146 |
+
maximumFileSizeError: 'Maskimalus failo dydis viršytas!',
|
147 |
+
url: 'Paveikslėlio URL adresas',
|
148 |
+
remove: 'Ištrinti paveikslėlį',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'Video',
|
153 |
+
videoLink: 'Video Link',
|
154 |
+
insert: 'Insert Video',
|
155 |
+
url: 'Video URL?',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion or Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'Nuoroda',
|
160 |
+
insert: 'Įterpti nuorodą',
|
161 |
+
unlink: 'Pašalinti nuorodą',
|
162 |
+
edit: 'Redaguoti',
|
163 |
+
textToDisplay: 'Rodomas tekstas',
|
164 |
+
url: 'Koks URL adresas yra susietas?',
|
165 |
+
openInNewWindow: 'Atidaryti naujame lange'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'Lentelė',
|
169 |
+
addRowAbove: 'Add row above',
|
170 |
+
addRowBelow: 'Add row below',
|
171 |
+
addColLeft: 'Add column left',
|
172 |
+
addColRight: 'Add column right',
|
173 |
+
delRow: 'Delete row',
|
174 |
+
delCol: 'Delete column',
|
175 |
+
delTable: 'Delete table'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'Įterpti horizontalią liniją'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'Stilius',
|
182 |
+
p: 'pus',
|
183 |
+
blockquote: 'Citata',
|
184 |
+
pre: 'Kodas',
|
185 |
+
h1: 'Antraštė 1',
|
186 |
+
h2: 'Antraštė 2',
|
187 |
+
h3: 'Antraštė 3',
|
188 |
+
h4: 'Antraštė 4',
|
189 |
+
h5: 'Antraštė 5',
|
190 |
+
h6: 'Antraštė 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'Suženklintasis sąrašas',
|
194 |
+
ordered: 'Sunumeruotas sąrašas'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'Pagalba',
|
198 |
+
fullscreen: 'Viso ekrano režimas',
|
199 |
+
codeview: 'HTML kodo peržiūra'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'Pastraipa',
|
203 |
+
outdent: 'Sumažinti įtrauką',
|
204 |
+
indent: 'Padidinti įtrauką',
|
205 |
+
left: 'Kairinė lygiuotė',
|
206 |
+
center: 'Centrinė lygiuotė',
|
207 |
+
right: 'Dešininė lygiuotė',
|
208 |
+
justify: 'Abipusis išlyginimas'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'Paskutinė naudota spalva',
|
212 |
+
more: 'Daugiau spalvų',
|
213 |
+
background: 'Fono spalva',
|
214 |
+
foreground: 'Šrifto spalva',
|
215 |
+
transparent: 'Permatoma',
|
216 |
+
setTransparent: 'Nustatyti skaidrumo intensyvumą',
|
217 |
+
reset: 'Atkurti',
|
218 |
+
resetToDefault: 'Atstatyti numatytąją spalvą'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: 'Spartieji klavišai',
|
222 |
+
close: 'Uždaryti',
|
223 |
+
textFormatting: 'Teksto formatavimas',
|
224 |
+
action: 'Veiksmas',
|
225 |
+
paragraphFormatting: 'Pastraipos formatavimas',
|
226 |
+
documentStyle: 'Dokumento stilius',
|
227 |
+
extraKeys: 'Papildomi klavišų deriniai'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
'insertParagraph': 'Insert Paragraph',
|
231 |
+
'undo': 'Undoes the last command',
|
232 |
+
'redo': 'Redoes the last command',
|
233 |
+
'tab': 'Tab',
|
234 |
+
'untab': 'Untab',
|
235 |
+
'bold': 'Set a bold style',
|
236 |
+
'italic': 'Set a italic style',
|
237 |
+
'underline': 'Set a underline style',
|
238 |
+
'strikethrough': 'Set a strikethrough style',
|
239 |
+
'removeFormat': 'Clean a style',
|
240 |
+
'justifyLeft': 'Set left align',
|
241 |
+
'justifyCenter': 'Set center align',
|
242 |
+
'justifyRight': 'Set right align',
|
243 |
+
'justifyFull': 'Set full align',
|
244 |
+
'insertUnorderedList': 'Toggle unordered list',
|
245 |
+
'insertOrderedList': 'Toggle ordered list',
|
246 |
+
'outdent': 'Outdent on current paragraph',
|
247 |
+
'indent': 'Indent on current paragraph',
|
248 |
+
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
|
249 |
+
'formatH1': 'Change current block\'s format as H1',
|
250 |
+
'formatH2': 'Change current block\'s format as H2',
|
251 |
+
'formatH3': 'Change current block\'s format as H3',
|
252 |
+
'formatH4': 'Change current block\'s format as H4',
|
253 |
+
'formatH5': 'Change current block\'s format as H5',
|
254 |
+
'formatH6': 'Change current block\'s format as H6',
|
255 |
+
'insertHorizontalRule': 'Insert horizontal rule',
|
256 |
+
'linkDialog.show': 'Show Link Dialog'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: 'Anuliuoti veiksmą',
|
260 |
+
redo: 'Perdaryti veiksmą'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: 'SPECIAL CHARACTERS',
|
264 |
+
select: 'Select Special characters'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-lt-LT.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-lt-LT.min.js.LICENSE.txt */
|
2 |
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var a=t();for(var r in a)("object"==typeof exports?exports:e)[r]=a[r]}}(window,(function(){return function(e){var t={};function a(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,a),i.l=!0,i.exports}return a.m=e,a.c=t,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)a.d(r,i,function(t){return e[t]}.bind(null,i));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=28)}({28:function(e,t){var a;(a=jQuery).extend(a.summernote.lang,{"lt-LT":{font:{bold:"Paryškintas",italic:"Kursyvas",underline:"Pabrėžtas",clear:"Be formatavimo",height:"Eilutės aukštis",name:"Šrifto pavadinimas",strikethrough:"Perbrauktas",superscript:"Viršutinis",subscript:"Indeksas",size:"Šrifto dydis"},image:{image:"Paveikslėlis",insert:"Įterpti paveikslėlį",resizeFull:"Pilnas dydis",resizeHalf:"Sumažinti dydį 50%",resizeQuarter:"Sumažinti dydį 25%",floatLeft:"Kairinis lygiavimas",floatRight:"Dešininis lygiavimas",floatNone:"Jokio lygiavimo",shapeRounded:"Forma: apvalūs kraštai",shapeCircle:"Forma: apskritimas",shapeThumbnail:"Forma: miniatiūra",shapeNone:"Forma: jokia",dragImageHere:"Vilkite paveikslėlį čia",dropImage:"Drop image or Text",selectFromFiles:"Pasirinkite failą",maximumFileSize:"Maskimalus failo dydis",maximumFileSizeError:"Maskimalus failo dydis viršytas!",url:"Paveikslėlio URL adresas",remove:"Ištrinti paveikslėlį",original:"Original"},video:{video:"Video",videoLink:"Video Link",insert:"Insert Video",url:"Video URL?",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion or Youku)"},link:{link:"Nuoroda",insert:"Įterpti nuorodą",unlink:"Pašalinti nuorodą",edit:"Redaguoti",textToDisplay:"Rodomas tekstas",url:"Koks URL adresas yra susietas?",openInNewWindow:"Atidaryti naujame lange"},table:{table:"Lentelė",addRowAbove:"Add row above",addRowBelow:"Add row below",addColLeft:"Add column left",addColRight:"Add column right",delRow:"Delete row",delCol:"Delete column",delTable:"Delete table"},hr:{insert:"Įterpti horizontalią liniją"},style:{style:"Stilius",p:"pus",blockquote:"Citata",pre:"Kodas",h1:"Antraštė 1",h2:"Antraštė 2",h3:"Antraštė 3",h4:"Antraštė 4",h5:"Antraštė 5",h6:"Antraštė 6"},lists:{unordered:"Suženklintasis sąrašas",ordered:"Sunumeruotas sąrašas"},options:{help:"Pagalba",fullscreen:"Viso ekrano režimas",codeview:"HTML kodo peržiūra"},paragraph:{paragraph:"Pastraipa",outdent:"Sumažinti įtrauką",indent:"Padidinti įtrauką",left:"Kairinė lygiuotė",center:"Centrinė lygiuotė",right:"Dešininė lygiuotė",justify:"Abipusis išlyginimas"},color:{recent:"Paskutinė naudota spalva",more:"Daugiau spalvų",background:"Fono spalva",foreground:"Šrifto spalva",transparent:"Permatoma",setTransparent:"Nustatyti skaidrumo intensyvumą",reset:"Atkurti",resetToDefault:"Atstatyti numatytąją spalvą"},shortcut:{shortcuts:"Spartieji klavišai",close:"Uždaryti",textFormatting:"Teksto formatavimas",action:"Veiksmas",paragraphFormatting:"Pastraipos formatavimas",documentStyle:"Dokumento stilius",extraKeys:"Papildomi klavišų deriniai"},help:{insertParagraph:"Insert Paragraph",undo:"Undoes the last command",redo:"Redoes the last command",tab:"Tab",untab:"Untab",bold:"Set a bold style",italic:"Set a italic style",underline:"Set a underline style",strikethrough:"Set a strikethrough style",removeFormat:"Clean a style",justifyLeft:"Set left align",justifyCenter:"Set center align",justifyRight:"Set right align",justifyFull:"Set full align",insertUnorderedList:"Toggle unordered list",insertOrderedList:"Toggle ordered list",outdent:"Outdent on current paragraph",indent:"Indent on current paragraph",formatPara:"Change current block's format as a paragraph(P tag)",formatH1:"Change current block's format as H1",formatH2:"Change current block's format as H2",formatH3:"Change current block's format as H3",formatH4:"Change current block's format as H4",formatH5:"Change current block's format as H5",formatH6:"Change current block's format as H6",insertHorizontalRule:"Insert horizontal rule","linkDialog.show":"Show Link Dialog"},history:{undo:"Anuliuoti veiksmą",redo:"Perdaryti veiksmą"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"}}})}})}));
|
admin/lib/summernote/lang/summernote-lt-LT.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-lt-LV.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 29);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 29:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'lv-LV': {
|
117 |
+
font: {
|
118 |
+
bold: 'Treknraksts',
|
119 |
+
italic: 'Kursīvs',
|
120 |
+
underline: 'Pasvītrots',
|
121 |
+
clear: 'Noņemt formatējumu',
|
122 |
+
height: 'Līnijas augstums',
|
123 |
+
name: 'Fonts',
|
124 |
+
strikethrough: 'Nosvītrots',
|
125 |
+
superscript: 'Augšraksts',
|
126 |
+
subscript: 'Apakšraksts',
|
127 |
+
size: 'Fonta lielums'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Attēls',
|
131 |
+
insert: 'Ievietot attēlu',
|
132 |
+
resizeFull: 'Pilns izmērts',
|
133 |
+
resizeHalf: 'Samazināt 50%',
|
134 |
+
resizeQuarter: 'Samazināt 25%',
|
135 |
+
floatLeft: 'Līdzināt pa kreisi',
|
136 |
+
floatRight: 'Līdzināt pa labi',
|
137 |
+
floatNone: 'Nelīdzināt',
|
138 |
+
shapeRounded: 'Forma: apaļām malām',
|
139 |
+
shapeCircle: 'Forma: aplis',
|
140 |
+
shapeThumbnail: 'Forma: rāmītis',
|
141 |
+
shapeNone: 'Forma: orģināla',
|
142 |
+
dragImageHere: 'Ievēlciet attēlu šeit',
|
143 |
+
dropImage: 'Drop image or Text',
|
144 |
+
selectFromFiles: 'Izvēlēties failu',
|
145 |
+
maximumFileSize: 'Maksimālais faila izmērs',
|
146 |
+
maximumFileSizeError: 'Faila izmērs pārāk liels!',
|
147 |
+
url: 'Attēla URL',
|
148 |
+
remove: 'Dzēst attēlu',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'Video',
|
153 |
+
videoLink: 'Video Link',
|
154 |
+
insert: 'Insert Video',
|
155 |
+
url: 'Video URL?',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion or Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'Saite',
|
160 |
+
insert: 'Ievietot saiti',
|
161 |
+
unlink: 'Noņemt saiti',
|
162 |
+
edit: 'Rediģēt',
|
163 |
+
textToDisplay: 'Saites saturs',
|
164 |
+
url: 'Koks URL adresas yra susietas?',
|
165 |
+
openInNewWindow: 'Atvērt jaunā logā'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'Tabula',
|
169 |
+
addRowAbove: 'Add row above',
|
170 |
+
addRowBelow: 'Add row below',
|
171 |
+
addColLeft: 'Add column left',
|
172 |
+
addColRight: 'Add column right',
|
173 |
+
delRow: 'Delete row',
|
174 |
+
delCol: 'Delete column',
|
175 |
+
delTable: 'Delete table'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'Ievietot līniju'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'Stils',
|
182 |
+
p: 'Parasts',
|
183 |
+
blockquote: 'Citāts',
|
184 |
+
pre: 'Kods',
|
185 |
+
h1: 'Virsraksts h1',
|
186 |
+
h2: 'Virsraksts h2',
|
187 |
+
h3: 'Virsraksts h3',
|
188 |
+
h4: 'Virsraksts h4',
|
189 |
+
h5: 'Virsraksts h5',
|
190 |
+
h6: 'Virsraksts h6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'Nenumurēts saraksts',
|
194 |
+
ordered: 'Numurēts saraksts'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'Palīdzība',
|
198 |
+
fullscreen: 'Pa visu ekrānu',
|
199 |
+
codeview: 'HTML kods'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'Paragrāfs',
|
203 |
+
outdent: 'Samazināt atkāpi',
|
204 |
+
indent: 'Palielināt atkāpi',
|
205 |
+
left: 'Līdzināt pa kreisi',
|
206 |
+
center: 'Centrēt',
|
207 |
+
right: 'Līdzināt pa labi',
|
208 |
+
justify: 'Līdzināt gar abām malām'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'Nesen izmantotās',
|
212 |
+
more: 'Citas krāsas',
|
213 |
+
background: 'Fona krāsa',
|
214 |
+
foreground: 'Fonta krāsa',
|
215 |
+
transparent: 'Caurspīdīgs',
|
216 |
+
setTransparent: 'Iestatīt caurspīdīgumu',
|
217 |
+
reset: 'Atjaunot',
|
218 |
+
resetToDefault: 'Atjaunot noklusējumu'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: 'Saīsnes',
|
222 |
+
close: 'Aizvērt',
|
223 |
+
textFormatting: 'Teksta formatēšana',
|
224 |
+
action: 'Darbība',
|
225 |
+
paragraphFormatting: 'Paragrāfa formatēšana',
|
226 |
+
documentStyle: 'Dokumenta stils',
|
227 |
+
extraKeys: 'Citas taustiņu kombinācijas'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
insertParagraph: 'Ievietot Paragrāfu',
|
231 |
+
undo: 'Atcelt iepriekšējo darbību',
|
232 |
+
redo: 'Atkārtot atcelto darbību',
|
233 |
+
tab: 'Atkāpe',
|
234 |
+
untab: 'Samazināt atkāpi',
|
235 |
+
bold: 'Pārvērst tekstu treknrakstā',
|
236 |
+
italic: 'Pārvērst tekstu slīprakstā (kursīvā)',
|
237 |
+
underline: 'Pasvītrot tekstu',
|
238 |
+
strikethrough: 'Nosvītrot tekstu',
|
239 |
+
removeFormat: 'Notīrīt stilu no teksta',
|
240 |
+
justifyLeft: 'Līdzīnāt saturu pa kreisi',
|
241 |
+
justifyCenter: 'Centrēt saturu',
|
242 |
+
justifyRight: 'Līdzīnāt saturu pa labi',
|
243 |
+
justifyFull: 'Izlīdzināt saturu gar abām malām',
|
244 |
+
insertUnorderedList: 'Ievietot nenumurētu sarakstu',
|
245 |
+
insertOrderedList: 'Ievietot numurētu sarakstu',
|
246 |
+
outdent: 'Samazināt/noņemt atkāpi paragrāfam',
|
247 |
+
indent: 'Uzlikt atkāpi paragrāfam',
|
248 |
+
formatPara: 'Mainīt bloka tipu uz (p) Paragrāfu',
|
249 |
+
formatH1: 'Mainīt bloka tipu uz virsrakstu H1',
|
250 |
+
formatH2: 'Mainīt bloka tipu uz virsrakstu H2',
|
251 |
+
formatH3: 'Mainīt bloka tipu uz virsrakstu H3',
|
252 |
+
formatH4: 'Mainīt bloka tipu uz virsrakstu H4',
|
253 |
+
formatH5: 'Mainīt bloka tipu uz virsrakstu H5',
|
254 |
+
formatH6: 'Mainīt bloka tipu uz virsrakstu H6',
|
255 |
+
insertHorizontalRule: 'Ievietot horizontālu līniju',
|
256 |
+
'linkDialog.show': 'Parādīt saites logu'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: 'Atsauks (undo)',
|
260 |
+
redo: 'Atkārtot (redo)'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: 'SPECIAL CHARACTERS',
|
264 |
+
select: 'Select Special characters'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-lt-LV.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-lt-LV.min.js.LICENSE.txt */
|
2 |
+
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var r=e();for(var a in r)("object"==typeof exports?exports:t)[a]=r[a]}}(window,(function(){return function(t){var e={};function r(a){if(e[a])return e[a].exports;var i=e[a]={i:a,l:!1,exports:{}};return t[a].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,a){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(a,i,function(e){return t[e]}.bind(null,i));return a},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=29)}({29:function(t,e){var r;(r=jQuery).extend(r.summernote.lang,{"lv-LV":{font:{bold:"Treknraksts",italic:"Kursīvs",underline:"Pasvītrots",clear:"Noņemt formatējumu",height:"Līnijas augstums",name:"Fonts",strikethrough:"Nosvītrots",superscript:"Augšraksts",subscript:"Apakšraksts",size:"Fonta lielums"},image:{image:"Attēls",insert:"Ievietot attēlu",resizeFull:"Pilns izmērts",resizeHalf:"Samazināt 50%",resizeQuarter:"Samazināt 25%",floatLeft:"Līdzināt pa kreisi",floatRight:"Līdzināt pa labi",floatNone:"Nelīdzināt",shapeRounded:"Forma: apaļām malām",shapeCircle:"Forma: aplis",shapeThumbnail:"Forma: rāmītis",shapeNone:"Forma: orģināla",dragImageHere:"Ievēlciet attēlu šeit",dropImage:"Drop image or Text",selectFromFiles:"Izvēlēties failu",maximumFileSize:"Maksimālais faila izmērs",maximumFileSizeError:"Faila izmērs pārāk liels!",url:"Attēla URL",remove:"Dzēst attēlu",original:"Original"},video:{video:"Video",videoLink:"Video Link",insert:"Insert Video",url:"Video URL?",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion or Youku)"},link:{link:"Saite",insert:"Ievietot saiti",unlink:"Noņemt saiti",edit:"Rediģēt",textToDisplay:"Saites saturs",url:"Koks URL adresas yra susietas?",openInNewWindow:"Atvērt jaunā logā"},table:{table:"Tabula",addRowAbove:"Add row above",addRowBelow:"Add row below",addColLeft:"Add column left",addColRight:"Add column right",delRow:"Delete row",delCol:"Delete column",delTable:"Delete table"},hr:{insert:"Ievietot līniju"},style:{style:"Stils",p:"Parasts",blockquote:"Citāts",pre:"Kods",h1:"Virsraksts h1",h2:"Virsraksts h2",h3:"Virsraksts h3",h4:"Virsraksts h4",h5:"Virsraksts h5",h6:"Virsraksts h6"},lists:{unordered:"Nenumurēts saraksts",ordered:"Numurēts saraksts"},options:{help:"Palīdzība",fullscreen:"Pa visu ekrānu",codeview:"HTML kods"},paragraph:{paragraph:"Paragrāfs",outdent:"Samazināt atkāpi",indent:"Palielināt atkāpi",left:"Līdzināt pa kreisi",center:"Centrēt",right:"Līdzināt pa labi",justify:"Līdzināt gar abām malām"},color:{recent:"Nesen izmantotās",more:"Citas krāsas",background:"Fona krāsa",foreground:"Fonta krāsa",transparent:"Caurspīdīgs",setTransparent:"Iestatīt caurspīdīgumu",reset:"Atjaunot",resetToDefault:"Atjaunot noklusējumu"},shortcut:{shortcuts:"Saīsnes",close:"Aizvērt",textFormatting:"Teksta formatēšana",action:"Darbība",paragraphFormatting:"Paragrāfa formatēšana",documentStyle:"Dokumenta stils",extraKeys:"Citas taustiņu kombinācijas"},help:{insertParagraph:"Ievietot Paragrāfu",undo:"Atcelt iepriekšējo darbību",redo:"Atkārtot atcelto darbību",tab:"Atkāpe",untab:"Samazināt atkāpi",bold:"Pārvērst tekstu treknrakstā",italic:"Pārvērst tekstu slīprakstā (kursīvā)",underline:"Pasvītrot tekstu",strikethrough:"Nosvītrot tekstu",removeFormat:"Notīrīt stilu no teksta",justifyLeft:"Līdzīnāt saturu pa kreisi",justifyCenter:"Centrēt saturu",justifyRight:"Līdzīnāt saturu pa labi",justifyFull:"Izlīdzināt saturu gar abām malām",insertUnorderedList:"Ievietot nenumurētu sarakstu",insertOrderedList:"Ievietot numurētu sarakstu",outdent:"Samazināt/noņemt atkāpi paragrāfam",indent:"Uzlikt atkāpi paragrāfam",formatPara:"Mainīt bloka tipu uz (p) Paragrāfu",formatH1:"Mainīt bloka tipu uz virsrakstu H1",formatH2:"Mainīt bloka tipu uz virsrakstu H2",formatH3:"Mainīt bloka tipu uz virsrakstu H3",formatH4:"Mainīt bloka tipu uz virsrakstu H4",formatH5:"Mainīt bloka tipu uz virsrakstu H5",formatH6:"Mainīt bloka tipu uz virsrakstu H6",insertHorizontalRule:"Ievietot horizontālu līniju","linkDialog.show":"Parādīt saites logu"},history:{undo:"Atsauks (undo)",redo:"Atkārtot (redo)"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"}}})}})}));
|
admin/lib/summernote/lang/summernote-lt-LV.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-mn-MN.js
ADDED
@@ -0,0 +1,274 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 30);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 30:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
// Starsoft Mongolia LLC Temuujin Ariunbold
|
115 |
+
(function ($) {
|
116 |
+
$.extend($.summernote.lang, {
|
117 |
+
'mn-MN': {
|
118 |
+
font: {
|
119 |
+
bold: 'Тод',
|
120 |
+
italic: 'Налуу',
|
121 |
+
underline: 'Доогуур зураас',
|
122 |
+
clear: 'Цэвэрлэх',
|
123 |
+
height: 'Өндөр',
|
124 |
+
name: 'Фонт',
|
125 |
+
superscript: 'Дээд илтгэгч',
|
126 |
+
subscript: 'Доод илтгэгч',
|
127 |
+
strikethrough: 'Дарах',
|
128 |
+
size: 'Хэмжээ'
|
129 |
+
},
|
130 |
+
image: {
|
131 |
+
image: 'Зураг',
|
132 |
+
insert: 'Оруулах',
|
133 |
+
resizeFull: 'Хэмжээ бүтэн',
|
134 |
+
resizeHalf: 'Хэмжээ 1/2',
|
135 |
+
resizeQuarter: 'Хэмжээ 1/4',
|
136 |
+
floatLeft: 'Зүүн талд байрлуулах',
|
137 |
+
floatRight: 'Баруун талд байрлуулах',
|
138 |
+
floatNone: 'Анхдагч байрлалд аваачих',
|
139 |
+
shapeRounded: 'Хүрээ: Дугуй',
|
140 |
+
shapeCircle: 'Хүрээ: Тойрог',
|
141 |
+
shapeThumbnail: 'Хүрээ: Хураангуй',
|
142 |
+
shapeNone: 'Хүрээгүй',
|
143 |
+
dragImageHere: 'Зургийг энд чирч авчирна уу',
|
144 |
+
dropImage: 'Drop image or Text',
|
145 |
+
selectFromFiles: 'Файлуудаас сонгоно уу',
|
146 |
+
maximumFileSize: 'Файлын дээд хэмжээ',
|
147 |
+
maximumFileSizeError: 'Файлын дээд хэмжээ хэтэрсэн',
|
148 |
+
url: 'Зургийн URL',
|
149 |
+
remove: 'Зургийг устгах',
|
150 |
+
original: 'Original'
|
151 |
+
},
|
152 |
+
video: {
|
153 |
+
video: 'Видео',
|
154 |
+
videoLink: 'Видео холбоос',
|
155 |
+
insert: 'Видео оруулах',
|
156 |
+
url: 'Видео URL?',
|
157 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion болон Youku)'
|
158 |
+
},
|
159 |
+
link: {
|
160 |
+
link: 'Холбоос',
|
161 |
+
insert: 'Холбоос оруулах',
|
162 |
+
unlink: 'Холбоос арилгах',
|
163 |
+
edit: 'Засварлах',
|
164 |
+
textToDisplay: 'Харуулах бичвэр',
|
165 |
+
url: 'Энэ холбоос хаашаа очих вэ?',
|
166 |
+
openInNewWindow: 'Шинэ цонхонд нээх'
|
167 |
+
},
|
168 |
+
table: {
|
169 |
+
table: 'Хүснэгт',
|
170 |
+
addRowAbove: 'Add row above',
|
171 |
+
addRowBelow: 'Add row below',
|
172 |
+
addColLeft: 'Add column left',
|
173 |
+
addColRight: 'Add column right',
|
174 |
+
delRow: 'Delete row',
|
175 |
+
delCol: 'Delete column',
|
176 |
+
delTable: 'Delete table'
|
177 |
+
},
|
178 |
+
hr: {
|
179 |
+
insert: 'Хэвтээ шугам оруулах'
|
180 |
+
},
|
181 |
+
style: {
|
182 |
+
style: 'Хэв маяг',
|
183 |
+
p: 'p',
|
184 |
+
blockquote: 'Иш татах',
|
185 |
+
pre: 'Эх сурвалж',
|
186 |
+
h1: 'Гарчиг 1',
|
187 |
+
h2: 'Гарчиг 2',
|
188 |
+
h3: 'Гарчиг 3',
|
189 |
+
h4: 'Гарчиг 4',
|
190 |
+
h5: 'Гарчиг 5',
|
191 |
+
h6: 'Гарчиг 6'
|
192 |
+
},
|
193 |
+
lists: {
|
194 |
+
unordered: 'Эрэмбэлэгдээгүй',
|
195 |
+
ordered: 'Эрэмбэлэгдсэн'
|
196 |
+
},
|
197 |
+
options: {
|
198 |
+
help: 'Тусламж',
|
199 |
+
fullscreen: 'Дэлгэцийг дүүргэх',
|
200 |
+
codeview: 'HTML-Code харуулах'
|
201 |
+
},
|
202 |
+
paragraph: {
|
203 |
+
paragraph: 'Хэсэг',
|
204 |
+
outdent: 'Догол мөр хасах',
|
205 |
+
indent: 'Догол мөр нэмэх',
|
206 |
+
left: 'Зүүн тийш эгнүүлэх',
|
207 |
+
center: 'Төвд эгнүүлэх',
|
208 |
+
right: 'Баруун тийш эгнүүлэх',
|
209 |
+
justify: 'Мөрийг тэгшлэх'
|
210 |
+
},
|
211 |
+
color: {
|
212 |
+
recent: 'Сүүлд хэрэглэсэн өнгө',
|
213 |
+
more: 'Өөр өнгөнүүд',
|
214 |
+
background: 'Дэвсгэр өнгө',
|
215 |
+
foreground: 'Үсгийн өнгө',
|
216 |
+
transparent: 'Тунгалаг',
|
217 |
+
setTransparent: 'Тунгалаг болгох',
|
218 |
+
reset: 'Анхдагч өнгөөр тохируулах',
|
219 |
+
resetToDefault: 'Хэвд нь оруулах'
|
220 |
+
},
|
221 |
+
shortcut: {
|
222 |
+
shortcuts: 'Богино холбоос',
|
223 |
+
close: 'Хаалт',
|
224 |
+
textFormatting: 'Бичвэрийг хэлбэржүүлэх',
|
225 |
+
action: 'Үйлдэл',
|
226 |
+
paragraphFormatting: 'Догол мөрийг хэлбэржүүлэх',
|
227 |
+
documentStyle: 'Бичиг баримтын хэв загвар',
|
228 |
+
extraKeys: 'Extra keys'
|
229 |
+
},
|
230 |
+
help: {
|
231 |
+
'insertParagraph': 'Insert Paragraph',
|
232 |
+
'undo': 'Undoes the last command',
|
233 |
+
'redo': 'Redoes the last command',
|
234 |
+
'tab': 'Tab',
|
235 |
+
'untab': 'Untab',
|
236 |
+
'bold': 'Set a bold style',
|
237 |
+
'italic': 'Set a italic style',
|
238 |
+
'underline': 'Set a underline style',
|
239 |
+
'strikethrough': 'Set a strikethrough style',
|
240 |
+
'removeFormat': 'Clean a style',
|
241 |
+
'justifyLeft': 'Set left align',
|
242 |
+
'justifyCenter': 'Set center align',
|
243 |
+
'justifyRight': 'Set right align',
|
244 |
+
'justifyFull': 'Set full align',
|
245 |
+
'insertUnorderedList': 'Toggle unordered list',
|
246 |
+
'insertOrderedList': 'Toggle ordered list',
|
247 |
+
'outdent': 'Outdent on current paragraph',
|
248 |
+
'indent': 'Indent on current paragraph',
|
249 |
+
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
|
250 |
+
'formatH1': 'Change current block\'s format as H1',
|
251 |
+
'formatH2': 'Change current block\'s format as H2',
|
252 |
+
'formatH3': 'Change current block\'s format as H3',
|
253 |
+
'formatH4': 'Change current block\'s format as H4',
|
254 |
+
'formatH5': 'Change current block\'s format as H5',
|
255 |
+
'formatH6': 'Change current block\'s format as H6',
|
256 |
+
'insertHorizontalRule': 'Insert horizontal rule',
|
257 |
+
'linkDialog.show': 'Show Link Dialog'
|
258 |
+
},
|
259 |
+
history: {
|
260 |
+
undo: 'Буцаах',
|
261 |
+
redo: 'Дахин хийх'
|
262 |
+
},
|
263 |
+
specialChar: {
|
264 |
+
specialChar: 'Тусгай тэмдэгт',
|
265 |
+
select: 'Тусгай тэмдэгт сонгох'
|
266 |
+
}
|
267 |
+
}
|
268 |
+
});
|
269 |
+
})(jQuery);
|
270 |
+
|
271 |
+
/***/ })
|
272 |
+
|
273 |
+
/******/ });
|
274 |
+
});
|
admin/lib/summernote/lang/summernote-mn-MN.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-mn-MN.min.js.LICENSE.txt */
|
2 |
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(window,(function(){return function(e){var t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(o,n,function(t){return e[t]}.bind(null,n));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=30)}({30:function(e,t){var r;(r=jQuery).extend(r.summernote.lang,{"mn-MN":{font:{bold:"Тод",italic:"Налуу",underline:"Доогуур зураас",clear:"Цэвэрлэх",height:"Өндөр",name:"Фонт",superscript:"Дээд илтгэгч",subscript:"Доод илтгэгч",strikethrough:"Дарах",size:"Хэмжээ"},image:{image:"Зураг",insert:"Оруулах",resizeFull:"Хэмжээ бүтэн",resizeHalf:"Хэмжээ 1/2",resizeQuarter:"Хэмжээ 1/4",floatLeft:"Зүүн талд байрлуулах",floatRight:"Баруун талд байрлуулах",floatNone:"Анхдагч байрлалд аваачих",shapeRounded:"Хүрээ: Дугуй",shapeCircle:"Хүрээ: Тойрог",shapeThumbnail:"Хүрээ: Хураангуй",shapeNone:"Хүрээгүй",dragImageHere:"Зургийг энд чирч авчирна уу",dropImage:"Drop image or Text",selectFromFiles:"Файлуудаас сонгоно уу",maximumFileSize:"Файлын дээд хэмжээ",maximumFileSizeError:"Файлын дээд хэмжээ хэтэрсэн",url:"Зургийн URL",remove:"Зургийг устгах",original:"Original"},video:{video:"Видео",videoLink:"Видео холбоос",insert:"Видео оруулах",url:"Видео URL?",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion болон Youku)"},link:{link:"Холбоос",insert:"Холбоос оруулах",unlink:"Холбоос арилгах",edit:"Засварлах",textToDisplay:"Харуулах бичвэр",url:"Энэ холбоос хаашаа очих вэ?",openInNewWindow:"Шинэ цонхонд нээх"},table:{table:"Хүснэгт",addRowAbove:"Add row above",addRowBelow:"Add row below",addColLeft:"Add column left",addColRight:"Add column right",delRow:"Delete row",delCol:"Delete column",delTable:"Delete table"},hr:{insert:"Хэвтээ шугам оруулах"},style:{style:"Хэв маяг",p:"p",blockquote:"Иш татах",pre:"Эх сурвалж",h1:"Гарчиг 1",h2:"Гарчиг 2",h3:"Гарчиг 3",h4:"Гарчиг 4",h5:"Гарчиг 5",h6:"Гарчиг 6"},lists:{unordered:"Эрэмбэлэгдээгүй",ordered:"Эрэмбэлэгдсэн"},options:{help:"Тусламж",fullscreen:"Дэлгэцийг дүүргэх",codeview:"HTML-Code харуулах"},paragraph:{paragraph:"Хэсэг",outdent:"Догол мөр хасах",indent:"Догол мөр нэмэх",left:"Зүүн тийш эгнүүлэх",center:"Төвд эгнүүлэх",right:"Баруун тийш эгнүүлэх",justify:"Мөрийг тэгшлэх"},color:{recent:"Сүүлд хэрэглэсэн өнгө",more:"Өөр өнгөнүүд",background:"Дэвсгэр өнгө",foreground:"Үсгийн өнгө",transparent:"Тунгалаг",setTransparent:"Тунгалаг болгох",reset:"Анхдагч өнгөөр тохируулах",resetToDefault:"Хэвд нь оруулах"},shortcut:{shortcuts:"Богино холбоос",close:"Хаалт",textFormatting:"Бичвэрийг хэлбэржүүлэх",action:"Үйлдэл",paragraphFormatting:"Догол мөрийг хэлбэржүүлэх",documentStyle:"Бичиг баримтын хэв загвар",extraKeys:"Extra keys"},help:{insertParagraph:"Insert Paragraph",undo:"Undoes the last command",redo:"Redoes the last command",tab:"Tab",untab:"Untab",bold:"Set a bold style",italic:"Set a italic style",underline:"Set a underline style",strikethrough:"Set a strikethrough style",removeFormat:"Clean a style",justifyLeft:"Set left align",justifyCenter:"Set center align",justifyRight:"Set right align",justifyFull:"Set full align",insertUnorderedList:"Toggle unordered list",insertOrderedList:"Toggle ordered list",outdent:"Outdent on current paragraph",indent:"Indent on current paragraph",formatPara:"Change current block's format as a paragraph(P tag)",formatH1:"Change current block's format as H1",formatH2:"Change current block's format as H2",formatH3:"Change current block's format as H3",formatH4:"Change current block's format as H4",formatH5:"Change current block's format as H5",formatH6:"Change current block's format as H6",insertHorizontalRule:"Insert horizontal rule","linkDialog.show":"Show Link Dialog"},history:{undo:"Буцаах",redo:"Дахин хийх"},specialChar:{specialChar:"Тусгай тэмдэгт",select:"Тусгай тэмдэгт сонгох"}}})}})}));
|
admin/lib/summernote/lang/summernote-mn-MN.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-nb-NO.js
ADDED
@@ -0,0 +1,272 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 31);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 31:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'nb-NO': {
|
117 |
+
font: {
|
118 |
+
bold: 'Fet',
|
119 |
+
italic: 'Kursiv',
|
120 |
+
underline: 'Understrek',
|
121 |
+
clear: 'Fjern formatering',
|
122 |
+
height: 'Linjehøyde',
|
123 |
+
name: 'Skrifttype',
|
124 |
+
strikethrough: 'Gjennomstrek',
|
125 |
+
subscript: 'Subscript',
|
126 |
+
superscript: 'Superscript',
|
127 |
+
size: 'Skriftstørrelse'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Bilde',
|
131 |
+
insert: 'Sett inn bilde',
|
132 |
+
resizeFull: 'Sett full størrelse',
|
133 |
+
resizeHalf: 'Sett halv størrelse',
|
134 |
+
resizeQuarter: 'Sett kvart størrelse',
|
135 |
+
floatLeft: 'Flyt til venstre',
|
136 |
+
floatRight: 'Flyt til høyre',
|
137 |
+
floatNone: 'Fjern flyt',
|
138 |
+
shapeRounded: 'Form: Rundet',
|
139 |
+
shapeCircle: 'Form: Sirkel',
|
140 |
+
shapeThumbnail: 'Form: Miniatyr',
|
141 |
+
shapeNone: 'Form: Ingen',
|
142 |
+
dragImageHere: 'Dra et bilde hit',
|
143 |
+
dropImage: 'Drop image or Text',
|
144 |
+
selectFromFiles: 'Velg fra filer',
|
145 |
+
maximumFileSize: 'Max filstørrelse',
|
146 |
+
maximumFileSizeError: 'Maks filstørrelse overskredet.',
|
147 |
+
url: 'Bilde-URL',
|
148 |
+
remove: 'Fjern bilde',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'Video',
|
153 |
+
videoLink: 'Videolenke',
|
154 |
+
insert: 'Sett inn video',
|
155 |
+
url: 'Video-URL',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion eller Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'Lenke',
|
160 |
+
insert: 'Sett inn lenke',
|
161 |
+
unlink: 'Fjern lenke',
|
162 |
+
edit: 'Rediger',
|
163 |
+
textToDisplay: 'Visningstekst',
|
164 |
+
url: 'Til hvilken URL skal denne lenken peke?',
|
165 |
+
openInNewWindow: 'Åpne i nytt vindu'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'Tabell',
|
169 |
+
addRowAbove: 'Legg til rad over',
|
170 |
+
addRowBelow: 'Legg til rad under',
|
171 |
+
addColLeft: 'Legg til kolonne på venstre side',
|
172 |
+
addColRight: 'Legg til kolonne på høyre side',
|
173 |
+
delRow: 'Slett rad',
|
174 |
+
delCol: 'Slett kolonne',
|
175 |
+
delTable: 'Slett tabell'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'Sett inn horisontal linje'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'Stil',
|
182 |
+
p: 'Paragraf',
|
183 |
+
blockquote: 'Sitat',
|
184 |
+
pre: 'Kode',
|
185 |
+
h1: 'Overskrift 1',
|
186 |
+
h2: 'Overskrift 2',
|
187 |
+
h3: 'Overskrift 3',
|
188 |
+
h4: 'Overskrift 4',
|
189 |
+
h5: 'Overskrift 5',
|
190 |
+
h6: 'Overskrift 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'Punktliste',
|
194 |
+
ordered: 'Nummerert liste'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'Hjelp',
|
198 |
+
fullscreen: 'Fullskjerm',
|
199 |
+
codeview: 'HTML-visning'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'Avsnitt',
|
203 |
+
outdent: 'Tilbakerykk',
|
204 |
+
indent: 'Innrykk',
|
205 |
+
left: 'Venstrejustert',
|
206 |
+
center: 'Midtstilt',
|
207 |
+
right: 'Høyrejustert',
|
208 |
+
justify: 'Blokkjustert'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'Nylig valgt farge',
|
212 |
+
more: 'Flere farger',
|
213 |
+
background: 'Bakgrunnsfarge',
|
214 |
+
foreground: 'Skriftfarge',
|
215 |
+
transparent: 'Gjennomsiktig',
|
216 |
+
setTransparent: 'Sett gjennomsiktig',
|
217 |
+
reset: 'Nullstill',
|
218 |
+
resetToDefault: 'Nullstill til standard'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: 'Hurtigtaster',
|
222 |
+
close: 'Lukk',
|
223 |
+
textFormatting: 'Tekstformatering',
|
224 |
+
action: 'Handling',
|
225 |
+
paragraphFormatting: 'Avsnittsformatering',
|
226 |
+
documentStyle: 'Dokumentstil'
|
227 |
+
},
|
228 |
+
help: {
|
229 |
+
'insertParagraph': 'Sett inn avsnitt',
|
230 |
+
'undo': 'Angre siste handling',
|
231 |
+
'redo': 'Gjør om siste handling',
|
232 |
+
'tab': 'Tab',
|
233 |
+
'untab': 'Untab',
|
234 |
+
'bold': 'Angi en fet stil',
|
235 |
+
'italic': 'Angi en kursiv stil',
|
236 |
+
'underline': 'Sett en understreket stil',
|
237 |
+
'strikethrough': 'Sett en gjennomgående sti',
|
238 |
+
'removeFormat': 'Tøm formattering',
|
239 |
+
'justifyLeft': 'Angi venstrejustering',
|
240 |
+
'justifyCenter': 'Angi sentrert justering',
|
241 |
+
'justifyRight': 'Angi høyre justering',
|
242 |
+
'justifyFull': 'Angi full justering',
|
243 |
+
'insertUnorderedList': 'Bytt uordnet liste',
|
244 |
+
'insertOrderedList': 'Bytt sortert liste',
|
245 |
+
'outdent': 'Utrykk på valgt avsnitt',
|
246 |
+
'indent': 'Innrykk på valgt avsnitt',
|
247 |
+
'formatPara': 'Endre gjeldende blokkformat til et avsnitt (P-kode)',
|
248 |
+
'formatH1': 'Endre gjeldende blokkformat til H1',
|
249 |
+
'formatH2': 'Endre gjeldende blokkformat til H2',
|
250 |
+
'formatH3': 'Endre gjeldende blokkformat til H3',
|
251 |
+
'formatH4': 'Endre gjeldende blokkformat til H4',
|
252 |
+
'formatH5': 'Endre gjeldende blokkformat til H5',
|
253 |
+
'formatH6': 'Endre gjeldende blokkformat til H6',
|
254 |
+
'insertHorizontalRule': 'Sett inn horisontal deler',
|
255 |
+
'linkDialog.show': 'Vis koblingsdialog'
|
256 |
+
},
|
257 |
+
history: {
|
258 |
+
undo: 'Angre',
|
259 |
+
redo: 'Gjør om'
|
260 |
+
},
|
261 |
+
specialChar: {
|
262 |
+
specialChar: 'SPESIELLE TEGN',
|
263 |
+
select: 'Velg spesielle tegn'
|
264 |
+
}
|
265 |
+
}
|
266 |
+
});
|
267 |
+
})(jQuery);
|
268 |
+
|
269 |
+
/***/ })
|
270 |
+
|
271 |
+
/******/ });
|
272 |
+
});
|
admin/lib/summernote/lang/summernote-nb-NO.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-nb-NO.min.js.LICENSE.txt */
|
2 |
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(window,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=31)}({31:function(e,t){var r;(r=jQuery).extend(r.summernote.lang,{"nb-NO":{font:{bold:"Fet",italic:"Kursiv",underline:"Understrek",clear:"Fjern formatering",height:"Linjehøyde",name:"Skrifttype",strikethrough:"Gjennomstrek",subscript:"Subscript",superscript:"Superscript",size:"Skriftstørrelse"},image:{image:"Bilde",insert:"Sett inn bilde",resizeFull:"Sett full størrelse",resizeHalf:"Sett halv størrelse",resizeQuarter:"Sett kvart størrelse",floatLeft:"Flyt til venstre",floatRight:"Flyt til høyre",floatNone:"Fjern flyt",shapeRounded:"Form: Rundet",shapeCircle:"Form: Sirkel",shapeThumbnail:"Form: Miniatyr",shapeNone:"Form: Ingen",dragImageHere:"Dra et bilde hit",dropImage:"Drop image or Text",selectFromFiles:"Velg fra filer",maximumFileSize:"Max filstørrelse",maximumFileSizeError:"Maks filstørrelse overskredet.",url:"Bilde-URL",remove:"Fjern bilde",original:"Original"},video:{video:"Video",videoLink:"Videolenke",insert:"Sett inn video",url:"Video-URL",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion eller Youku)"},link:{link:"Lenke",insert:"Sett inn lenke",unlink:"Fjern lenke",edit:"Rediger",textToDisplay:"Visningstekst",url:"Til hvilken URL skal denne lenken peke?",openInNewWindow:"Åpne i nytt vindu"},table:{table:"Tabell",addRowAbove:"Legg til rad over",addRowBelow:"Legg til rad under",addColLeft:"Legg til kolonne på venstre side",addColRight:"Legg til kolonne på høyre side",delRow:"Slett rad",delCol:"Slett kolonne",delTable:"Slett tabell"},hr:{insert:"Sett inn horisontal linje"},style:{style:"Stil",p:"Paragraf",blockquote:"Sitat",pre:"Kode",h1:"Overskrift 1",h2:"Overskrift 2",h3:"Overskrift 3",h4:"Overskrift 4",h5:"Overskrift 5",h6:"Overskrift 6"},lists:{unordered:"Punktliste",ordered:"Nummerert liste"},options:{help:"Hjelp",fullscreen:"Fullskjerm",codeview:"HTML-visning"},paragraph:{paragraph:"Avsnitt",outdent:"Tilbakerykk",indent:"Innrykk",left:"Venstrejustert",center:"Midtstilt",right:"Høyrejustert",justify:"Blokkjustert"},color:{recent:"Nylig valgt farge",more:"Flere farger",background:"Bakgrunnsfarge",foreground:"Skriftfarge",transparent:"Gjennomsiktig",setTransparent:"Sett gjennomsiktig",reset:"Nullstill",resetToDefault:"Nullstill til standard"},shortcut:{shortcuts:"Hurtigtaster",close:"Lukk",textFormatting:"Tekstformatering",action:"Handling",paragraphFormatting:"Avsnittsformatering",documentStyle:"Dokumentstil"},help:{insertParagraph:"Sett inn avsnitt",undo:"Angre siste handling",redo:"Gjør om siste handling",tab:"Tab",untab:"Untab",bold:"Angi en fet stil",italic:"Angi en kursiv stil",underline:"Sett en understreket stil",strikethrough:"Sett en gjennomgående sti",removeFormat:"Tøm formattering",justifyLeft:"Angi venstrejustering",justifyCenter:"Angi sentrert justering",justifyRight:"Angi høyre justering",justifyFull:"Angi full justering",insertUnorderedList:"Bytt uordnet liste",insertOrderedList:"Bytt sortert liste",outdent:"Utrykk på valgt avsnitt",indent:"Innrykk på valgt avsnitt",formatPara:"Endre gjeldende blokkformat til et avsnitt (P-kode)",formatH1:"Endre gjeldende blokkformat til H1",formatH2:"Endre gjeldende blokkformat til H2",formatH3:"Endre gjeldende blokkformat til H3",formatH4:"Endre gjeldende blokkformat til H4",formatH5:"Endre gjeldende blokkformat til H5",formatH6:"Endre gjeldende blokkformat til H6",insertHorizontalRule:"Sett inn horisontal deler","linkDialog.show":"Vis koblingsdialog"},history:{undo:"Angre",redo:"Gjør om"},specialChar:{specialChar:"SPESIELLE TEGN",select:"Velg spesielle tegn"}}})}})}));
|
admin/lib/summernote/lang/summernote-nb-NO.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-nl-NL.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 32);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 32:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'nl-NL': {
|
117 |
+
font: {
|
118 |
+
bold: 'Vet',
|
119 |
+
italic: 'Cursief',
|
120 |
+
underline: 'Onderstrepen',
|
121 |
+
clear: 'Stijl verwijderen',
|
122 |
+
height: 'Regelhoogte',
|
123 |
+
name: 'Lettertype',
|
124 |
+
strikethrough: 'Doorhalen',
|
125 |
+
subscript: 'Subscript',
|
126 |
+
superscript: 'Superscript',
|
127 |
+
size: 'Tekstgrootte'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Afbeelding',
|
131 |
+
insert: 'Afbeelding invoegen',
|
132 |
+
resizeFull: 'Volledige breedte',
|
133 |
+
resizeHalf: 'Halve breedte',
|
134 |
+
resizeQuarter: 'Kwart breedte',
|
135 |
+
floatLeft: 'Links uitlijnen',
|
136 |
+
floatRight: 'Rechts uitlijnen',
|
137 |
+
floatNone: 'Geen uitlijning',
|
138 |
+
shapeRounded: 'Shape: Rounded',
|
139 |
+
shapeCircle: 'Shape: Circle',
|
140 |
+
shapeThumbnail: 'Shape: Thumbnail',
|
141 |
+
shapeNone: 'Shape: None',
|
142 |
+
dragImageHere: 'Sleep hier een afbeelding naar toe',
|
143 |
+
dropImage: 'Drop image or Text',
|
144 |
+
selectFromFiles: 'Selecteer een bestand',
|
145 |
+
maximumFileSize: 'Maximum file size',
|
146 |
+
maximumFileSizeError: 'Maximum file size exceeded.',
|
147 |
+
url: 'URL van de afbeelding',
|
148 |
+
remove: 'Verwijder afbeelding',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'Video',
|
153 |
+
videoLink: 'Video link',
|
154 |
+
insert: 'Video invoegen',
|
155 |
+
url: 'URL van de video',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion of Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'Link',
|
160 |
+
insert: 'Link invoegen',
|
161 |
+
unlink: 'Link verwijderen',
|
162 |
+
edit: 'Wijzigen',
|
163 |
+
textToDisplay: 'Tekst van link',
|
164 |
+
url: 'Naar welke URL moet deze link verwijzen?',
|
165 |
+
openInNewWindow: 'Open in nieuw venster'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'Tabel',
|
169 |
+
addRowAbove: 'Rij hierboven invoegen',
|
170 |
+
addRowBelow: 'Rij hieronder invoegen',
|
171 |
+
addColLeft: 'Kolom links toevoegen',
|
172 |
+
addColRight: 'Kolom rechts toevoegen',
|
173 |
+
delRow: 'Verwijder rij',
|
174 |
+
delCol: 'Verwijder kolom',
|
175 |
+
delTable: 'Verwijder tabel'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'Horizontale lijn invoegen'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'Stijl',
|
182 |
+
p: 'Normaal',
|
183 |
+
blockquote: 'Quote',
|
184 |
+
pre: 'Code',
|
185 |
+
h1: 'Kop 1',
|
186 |
+
h2: 'Kop 2',
|
187 |
+
h3: 'Kop 3',
|
188 |
+
h4: 'Kop 4',
|
189 |
+
h5: 'Kop 5',
|
190 |
+
h6: 'Kop 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'Ongeordende lijst',
|
194 |
+
ordered: 'Geordende lijst'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'Help',
|
198 |
+
fullscreen: 'Volledig scherm',
|
199 |
+
codeview: 'Bekijk Code'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'Paragraaf',
|
203 |
+
outdent: 'Inspringen verkleinen',
|
204 |
+
indent: 'Inspringen vergroten',
|
205 |
+
left: 'Links uitlijnen',
|
206 |
+
center: 'Centreren',
|
207 |
+
right: 'Rechts uitlijnen',
|
208 |
+
justify: 'Uitvullen'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'Recente kleur',
|
212 |
+
more: 'Meer kleuren',
|
213 |
+
background: 'Achtergrond kleur',
|
214 |
+
foreground: 'Tekst kleur',
|
215 |
+
transparent: 'Transparant',
|
216 |
+
setTransparent: 'Transparant',
|
217 |
+
reset: 'Standaard',
|
218 |
+
resetToDefault: 'Standaard kleur'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: 'Toetsencombinaties',
|
222 |
+
close: 'sluiten',
|
223 |
+
textFormatting: 'Tekststijlen',
|
224 |
+
action: 'Acties',
|
225 |
+
paragraphFormatting: 'Paragraafstijlen',
|
226 |
+
documentStyle: 'Documentstijlen',
|
227 |
+
extraKeys: 'Extra keys'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
'insertParagraph': 'Alinea invoegen',
|
231 |
+
'undo': 'Laatste handeling ongedaan maken',
|
232 |
+
'redo': 'Laatste handeling opnieuw uitvoeren',
|
233 |
+
'tab': 'Tab',
|
234 |
+
'untab': 'Herstel tab',
|
235 |
+
'bold': 'Stel stijl in als vet',
|
236 |
+
'italic': 'Stel stijl in als cursief',
|
237 |
+
'underline': 'Stel stijl in als onderstreept',
|
238 |
+
'strikethrough': 'Stel stijl in als doorgestreept',
|
239 |
+
'removeFormat': 'Verwijder stijl',
|
240 |
+
'justifyLeft': 'Lijn links uit',
|
241 |
+
'justifyCenter': 'Set center align',
|
242 |
+
'justifyRight': 'Lijn rechts uit',
|
243 |
+
'justifyFull': 'Lijn uit op volledige breedte',
|
244 |
+
'insertUnorderedList': 'Zet ongeordende lijstweergave aan',
|
245 |
+
'insertOrderedList': 'Zet geordende lijstweergave aan',
|
246 |
+
'outdent': 'Verwijder inspringing huidige alinea',
|
247 |
+
'indent': 'Inspringen op huidige alinea',
|
248 |
+
'formatPara': 'Wijzig formattering huidig blok in alinea(P tag)',
|
249 |
+
'formatH1': 'Formatteer huidig blok als H1',
|
250 |
+
'formatH2': 'Formatteer huidig blok als H2',
|
251 |
+
'formatH3': 'Formatteer huidig blok als H3',
|
252 |
+
'formatH4': 'Formatteer huidig blok als H4',
|
253 |
+
'formatH5': 'Formatteer huidig blok als H5',
|
254 |
+
'formatH6': 'Formatteer huidig blok als H6',
|
255 |
+
'insertHorizontalRule': 'Invoegen horizontale lijn',
|
256 |
+
'linkDialog.show': 'Toon Link Dialoogvenster'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: 'Ongedaan maken',
|
260 |
+
redo: 'Opnieuw doorvoeren'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: 'SPECIALE TEKENS',
|
264 |
+
select: 'Selecteer Speciale Tekens'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-nl-NL.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-nl-NL.min.js.LICENSE.txt */
|
2 |
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=32)}({32:function(e,t){var n;(n=jQuery).extend(n.summernote.lang,{"nl-NL":{font:{bold:"Vet",italic:"Cursief",underline:"Onderstrepen",clear:"Stijl verwijderen",height:"Regelhoogte",name:"Lettertype",strikethrough:"Doorhalen",subscript:"Subscript",superscript:"Superscript",size:"Tekstgrootte"},image:{image:"Afbeelding",insert:"Afbeelding invoegen",resizeFull:"Volledige breedte",resizeHalf:"Halve breedte",resizeQuarter:"Kwart breedte",floatLeft:"Links uitlijnen",floatRight:"Rechts uitlijnen",floatNone:"Geen uitlijning",shapeRounded:"Shape: Rounded",shapeCircle:"Shape: Circle",shapeThumbnail:"Shape: Thumbnail",shapeNone:"Shape: None",dragImageHere:"Sleep hier een afbeelding naar toe",dropImage:"Drop image or Text",selectFromFiles:"Selecteer een bestand",maximumFileSize:"Maximum file size",maximumFileSizeError:"Maximum file size exceeded.",url:"URL van de afbeelding",remove:"Verwijder afbeelding",original:"Original"},video:{video:"Video",videoLink:"Video link",insert:"Video invoegen",url:"URL van de video",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion of Youku)"},link:{link:"Link",insert:"Link invoegen",unlink:"Link verwijderen",edit:"Wijzigen",textToDisplay:"Tekst van link",url:"Naar welke URL moet deze link verwijzen?",openInNewWindow:"Open in nieuw venster"},table:{table:"Tabel",addRowAbove:"Rij hierboven invoegen",addRowBelow:"Rij hieronder invoegen",addColLeft:"Kolom links toevoegen",addColRight:"Kolom rechts toevoegen",delRow:"Verwijder rij",delCol:"Verwijder kolom",delTable:"Verwijder tabel"},hr:{insert:"Horizontale lijn invoegen"},style:{style:"Stijl",p:"Normaal",blockquote:"Quote",pre:"Code",h1:"Kop 1",h2:"Kop 2",h3:"Kop 3",h4:"Kop 4",h5:"Kop 5",h6:"Kop 6"},lists:{unordered:"Ongeordende lijst",ordered:"Geordende lijst"},options:{help:"Help",fullscreen:"Volledig scherm",codeview:"Bekijk Code"},paragraph:{paragraph:"Paragraaf",outdent:"Inspringen verkleinen",indent:"Inspringen vergroten",left:"Links uitlijnen",center:"Centreren",right:"Rechts uitlijnen",justify:"Uitvullen"},color:{recent:"Recente kleur",more:"Meer kleuren",background:"Achtergrond kleur",foreground:"Tekst kleur",transparent:"Transparant",setTransparent:"Transparant",reset:"Standaard",resetToDefault:"Standaard kleur"},shortcut:{shortcuts:"Toetsencombinaties",close:"sluiten",textFormatting:"Tekststijlen",action:"Acties",paragraphFormatting:"Paragraafstijlen",documentStyle:"Documentstijlen",extraKeys:"Extra keys"},help:{insertParagraph:"Alinea invoegen",undo:"Laatste handeling ongedaan maken",redo:"Laatste handeling opnieuw uitvoeren",tab:"Tab",untab:"Herstel tab",bold:"Stel stijl in als vet",italic:"Stel stijl in als cursief",underline:"Stel stijl in als onderstreept",strikethrough:"Stel stijl in als doorgestreept",removeFormat:"Verwijder stijl",justifyLeft:"Lijn links uit",justifyCenter:"Set center align",justifyRight:"Lijn rechts uit",justifyFull:"Lijn uit op volledige breedte",insertUnorderedList:"Zet ongeordende lijstweergave aan",insertOrderedList:"Zet geordende lijstweergave aan",outdent:"Verwijder inspringing huidige alinea",indent:"Inspringen op huidige alinea",formatPara:"Wijzig formattering huidig blok in alinea(P tag)",formatH1:"Formatteer huidig blok als H1",formatH2:"Formatteer huidig blok als H2",formatH3:"Formatteer huidig blok als H3",formatH4:"Formatteer huidig blok als H4",formatH5:"Formatteer huidig blok als H5",formatH6:"Formatteer huidig blok als H6",insertHorizontalRule:"Invoegen horizontale lijn","linkDialog.show":"Toon Link Dialoogvenster"},history:{undo:"Ongedaan maken",redo:"Opnieuw doorvoeren"},specialChar:{specialChar:"SPECIALE TEKENS",select:"Selecteer Speciale Tekens"}}})}})}));
|
admin/lib/summernote/lang/summernote-nl-NL.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-pl-PL.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 33);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 33:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'pl-PL': {
|
117 |
+
font: {
|
118 |
+
bold: 'Pogrubienie',
|
119 |
+
italic: 'Pochylenie',
|
120 |
+
underline: 'Podkreślenie',
|
121 |
+
clear: 'Usuń formatowanie',
|
122 |
+
height: 'Interlinia',
|
123 |
+
name: 'Czcionka',
|
124 |
+
strikethrough: 'Przekreślenie',
|
125 |
+
subscript: 'Indeks dolny',
|
126 |
+
superscript: 'Indeks górny',
|
127 |
+
size: 'Rozmiar'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Grafika',
|
131 |
+
insert: 'Wstaw grafikę',
|
132 |
+
resizeFull: 'Zmień rozmiar na 100%',
|
133 |
+
resizeHalf: 'Zmień rozmiar na 50%',
|
134 |
+
resizeQuarter: 'Zmień rozmiar na 25%',
|
135 |
+
floatLeft: 'Po lewej',
|
136 |
+
floatRight: 'Po prawej',
|
137 |
+
floatNone: 'Równo z tekstem',
|
138 |
+
shapeRounded: 'Kształt: zaokrąglone',
|
139 |
+
shapeCircle: 'Kształt: okrąg',
|
140 |
+
shapeThumbnail: 'Kształt: miniatura',
|
141 |
+
shapeNone: 'Kształt: brak',
|
142 |
+
dragImageHere: 'Przeciągnij grafikę lub tekst tutaj',
|
143 |
+
dropImage: 'Przeciągnij grafikę lub tekst',
|
144 |
+
selectFromFiles: 'Wybierz z dysku',
|
145 |
+
maximumFileSize: 'Limit wielkości pliku',
|
146 |
+
maximumFileSizeError: 'Przekroczono limit wielkości pliku.',
|
147 |
+
url: 'Adres URL grafiki',
|
148 |
+
remove: 'Usuń grafikę',
|
149 |
+
original: 'Oryginał'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'Wideo',
|
153 |
+
videoLink: 'Adres wideo',
|
154 |
+
insert: 'Wstaw wideo',
|
155 |
+
url: 'Adres wideo',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion lub Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'Odnośnik',
|
160 |
+
insert: 'Wstaw odnośnik',
|
161 |
+
unlink: 'Usuń odnośnik',
|
162 |
+
edit: 'Edytuj',
|
163 |
+
textToDisplay: 'Tekst do wyświetlenia',
|
164 |
+
url: 'Na jaki adres URL powinien przenosić ten odnośnik?',
|
165 |
+
openInNewWindow: 'Otwórz w nowym oknie'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'Tabela',
|
169 |
+
addRowAbove: 'Dodaj wiersz powyżej',
|
170 |
+
addRowBelow: 'Dodaj wiersz poniżej',
|
171 |
+
addColLeft: 'Dodaj kolumnę po lewej',
|
172 |
+
addColRight: 'Dodaj kolumnę po prawej',
|
173 |
+
delRow: 'Usuń wiersz',
|
174 |
+
delCol: 'Usuń kolumnę',
|
175 |
+
delTable: 'Usuń tabelę'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'Wstaw poziomą linię'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'Styl',
|
182 |
+
p: 'pny',
|
183 |
+
blockquote: 'Cytat',
|
184 |
+
pre: 'Kod',
|
185 |
+
h1: 'Nagłówek 1',
|
186 |
+
h2: 'Nagłówek 2',
|
187 |
+
h3: 'Nagłówek 3',
|
188 |
+
h4: 'Nagłówek 4',
|
189 |
+
h5: 'Nagłówek 5',
|
190 |
+
h6: 'Nagłówek 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'Lista wypunktowana',
|
194 |
+
ordered: 'Lista numerowana'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'Pomoc',
|
198 |
+
fullscreen: 'Pełny ekran',
|
199 |
+
codeview: 'Źródło'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'Akapit',
|
203 |
+
outdent: 'Zmniejsz wcięcie',
|
204 |
+
indent: 'Zwiększ wcięcie',
|
205 |
+
left: 'Wyrównaj do lewej',
|
206 |
+
center: 'Wyrównaj do środka',
|
207 |
+
right: 'Wyrównaj do prawej',
|
208 |
+
justify: 'Wyrównaj do lewej i prawej'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'Ostani kolor',
|
212 |
+
more: 'Więcej kolorów',
|
213 |
+
background: 'Tło',
|
214 |
+
foreground: 'Czcionka',
|
215 |
+
transparent: 'Przeźroczysty',
|
216 |
+
setTransparent: 'Przeźroczyste',
|
217 |
+
reset: 'Zresetuj',
|
218 |
+
resetToDefault: 'Domyślne'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: 'Skróty klawiaturowe',
|
222 |
+
close: 'Zamknij',
|
223 |
+
textFormatting: 'Formatowanie tekstu',
|
224 |
+
action: 'Akcja',
|
225 |
+
paragraphFormatting: 'Formatowanie akapitu',
|
226 |
+
documentStyle: 'Styl dokumentu',
|
227 |
+
extraKeys: 'Dodatkowe klawisze'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
'insertParagraph': 'Wstaw paragraf',
|
231 |
+
'undo': 'Cofnij poprzednią operację',
|
232 |
+
'redo': 'Przywróć poprzednią operację',
|
233 |
+
'tab': 'Tabulacja',
|
234 |
+
'untab': 'Usuń tabulację',
|
235 |
+
'bold': 'Pogrubienie',
|
236 |
+
'italic': 'Kursywa',
|
237 |
+
'underline': 'Podkreślenie',
|
238 |
+
'strikethrough': 'Przekreślenie',
|
239 |
+
'removeFormat': 'Usuń formatowanie',
|
240 |
+
'justifyLeft': 'Wyrównaj do lewej',
|
241 |
+
'justifyCenter': 'Wyrównaj do środka',
|
242 |
+
'justifyRight': 'Wyrównaj do prawej',
|
243 |
+
'justifyFull': 'Justyfikacja',
|
244 |
+
'insertUnorderedList': 'Nienumerowana lista',
|
245 |
+
'insertOrderedList': 'Wypunktowana lista',
|
246 |
+
'outdent': 'Zmniejsz wcięcie paragrafu',
|
247 |
+
'indent': 'Zwiększ wcięcie paragrafu',
|
248 |
+
'formatPara': 'Zamień format bloku na paragraf (tag P)',
|
249 |
+
'formatH1': 'Zamień format bloku na H1',
|
250 |
+
'formatH2': 'Zamień format bloku na H2',
|
251 |
+
'formatH3': 'Zamień format bloku na H3',
|
252 |
+
'formatH4': 'Zamień format bloku na H4',
|
253 |
+
'formatH5': 'Zamień format bloku na H5',
|
254 |
+
'formatH6': 'Zamień format bloku na H6',
|
255 |
+
'insertHorizontalRule': 'Wstaw poziomą linię',
|
256 |
+
'linkDialog.show': 'Pokaż dialog linkowania'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: 'Cofnij',
|
260 |
+
redo: 'Ponów'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: 'ZNAKI SPECJALNE',
|
264 |
+
select: 'Wybierz Znak specjalny'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-pl-PL.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-pl-PL.min.js.LICENSE.txt */
|
2 |
+
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var o=r();for(var a in o)("object"==typeof exports?exports:e)[a]=o[a]}}(window,(function(){return function(e){var r={};function o(a){if(r[a])return r[a].exports;var t=r[a]={i:a,l:!1,exports:{}};return e[a].call(t.exports,t,t.exports,o),t.l=!0,t.exports}return o.m=e,o.c=r,o.d=function(e,r,a){o.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:a})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,r){if(1&r&&(e=o(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(o.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var t in e)o.d(a,t,function(r){return e[r]}.bind(null,t));return a},o.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(r,"a",r),r},o.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},o.p="",o(o.s=33)}({33:function(e,r){var o;(o=jQuery).extend(o.summernote.lang,{"pl-PL":{font:{bold:"Pogrubienie",italic:"Pochylenie",underline:"Podkreślenie",clear:"Usuń formatowanie",height:"Interlinia",name:"Czcionka",strikethrough:"Przekreślenie",subscript:"Indeks dolny",superscript:"Indeks górny",size:"Rozmiar"},image:{image:"Grafika",insert:"Wstaw grafikę",resizeFull:"Zmień rozmiar na 100%",resizeHalf:"Zmień rozmiar na 50%",resizeQuarter:"Zmień rozmiar na 25%",floatLeft:"Po lewej",floatRight:"Po prawej",floatNone:"Równo z tekstem",shapeRounded:"Kształt: zaokrąglone",shapeCircle:"Kształt: okrąg",shapeThumbnail:"Kształt: miniatura",shapeNone:"Kształt: brak",dragImageHere:"Przeciągnij grafikę lub tekst tutaj",dropImage:"Przeciągnij grafikę lub tekst",selectFromFiles:"Wybierz z dysku",maximumFileSize:"Limit wielkości pliku",maximumFileSizeError:"Przekroczono limit wielkości pliku.",url:"Adres URL grafiki",remove:"Usuń grafikę",original:"Oryginał"},video:{video:"Wideo",videoLink:"Adres wideo",insert:"Wstaw wideo",url:"Adres wideo",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion lub Youku)"},link:{link:"Odnośnik",insert:"Wstaw odnośnik",unlink:"Usuń odnośnik",edit:"Edytuj",textToDisplay:"Tekst do wyświetlenia",url:"Na jaki adres URL powinien przenosić ten odnośnik?",openInNewWindow:"Otwórz w nowym oknie"},table:{table:"Tabela",addRowAbove:"Dodaj wiersz powyżej",addRowBelow:"Dodaj wiersz poniżej",addColLeft:"Dodaj kolumnę po lewej",addColRight:"Dodaj kolumnę po prawej",delRow:"Usuń wiersz",delCol:"Usuń kolumnę",delTable:"Usuń tabelę"},hr:{insert:"Wstaw poziomą linię"},style:{style:"Styl",p:"pny",blockquote:"Cytat",pre:"Kod",h1:"Nagłówek 1",h2:"Nagłówek 2",h3:"Nagłówek 3",h4:"Nagłówek 4",h5:"Nagłówek 5",h6:"Nagłówek 6"},lists:{unordered:"Lista wypunktowana",ordered:"Lista numerowana"},options:{help:"Pomoc",fullscreen:"Pełny ekran",codeview:"Źródło"},paragraph:{paragraph:"Akapit",outdent:"Zmniejsz wcięcie",indent:"Zwiększ wcięcie",left:"Wyrównaj do lewej",center:"Wyrównaj do środka",right:"Wyrównaj do prawej",justify:"Wyrównaj do lewej i prawej"},color:{recent:"Ostani kolor",more:"Więcej kolorów",background:"Tło",foreground:"Czcionka",transparent:"Przeźroczysty",setTransparent:"Przeźroczyste",reset:"Zresetuj",resetToDefault:"Domyślne"},shortcut:{shortcuts:"Skróty klawiaturowe",close:"Zamknij",textFormatting:"Formatowanie tekstu",action:"Akcja",paragraphFormatting:"Formatowanie akapitu",documentStyle:"Styl dokumentu",extraKeys:"Dodatkowe klawisze"},help:{insertParagraph:"Wstaw paragraf",undo:"Cofnij poprzednią operację",redo:"Przywróć poprzednią operację",tab:"Tabulacja",untab:"Usuń tabulację",bold:"Pogrubienie",italic:"Kursywa",underline:"Podkreślenie",strikethrough:"Przekreślenie",removeFormat:"Usuń formatowanie",justifyLeft:"Wyrównaj do lewej",justifyCenter:"Wyrównaj do środka",justifyRight:"Wyrównaj do prawej",justifyFull:"Justyfikacja",insertUnorderedList:"Nienumerowana lista",insertOrderedList:"Wypunktowana lista",outdent:"Zmniejsz wcięcie paragrafu",indent:"Zwiększ wcięcie paragrafu",formatPara:"Zamień format bloku na paragraf (tag P)",formatH1:"Zamień format bloku na H1",formatH2:"Zamień format bloku na H2",formatH3:"Zamień format bloku na H3",formatH4:"Zamień format bloku na H4",formatH5:"Zamień format bloku na H5",formatH6:"Zamień format bloku na H6",insertHorizontalRule:"Wstaw poziomą linię","linkDialog.show":"Pokaż dialog linkowania"},history:{undo:"Cofnij",redo:"Ponów"},specialChar:{specialChar:"ZNAKI SPECJALNE",select:"Wybierz Znak specjalny"}}})}})}));
|
admin/lib/summernote/lang/summernote-pl-PL.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-pt-BR.js
ADDED
@@ -0,0 +1,274 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 34);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 34:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'pt-BR': {
|
117 |
+
font: {
|
118 |
+
bold: 'Negrito',
|
119 |
+
italic: 'Itálico',
|
120 |
+
underline: 'Sublinhado',
|
121 |
+
clear: 'Remover estilo da fonte',
|
122 |
+
height: 'Altura da linha',
|
123 |
+
name: 'Fonte',
|
124 |
+
strikethrough: 'Riscado',
|
125 |
+
subscript: 'Subscrito',
|
126 |
+
superscript: 'Sobrescrito',
|
127 |
+
size: 'Tamanho da fonte'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Imagem',
|
131 |
+
insert: 'Inserir imagem',
|
132 |
+
resizeFull: 'Redimensionar Completamente',
|
133 |
+
resizeHalf: 'Redimensionar pela Metade',
|
134 |
+
resizeQuarter: 'Redimensionar a um Quarto',
|
135 |
+
floatLeft: 'Flutuar para Esquerda',
|
136 |
+
floatRight: 'Flutuar para Direita',
|
137 |
+
floatNone: 'Não Flutuar',
|
138 |
+
shapeRounded: 'Forma: Arredondado',
|
139 |
+
shapeCircle: 'Forma: Círculo',
|
140 |
+
shapeThumbnail: 'Forma: Miniatura',
|
141 |
+
shapeNone: 'Forma: Nenhum',
|
142 |
+
dragImageHere: 'Arraste Imagem ou Texto para cá',
|
143 |
+
dropImage: 'Solte Imagem ou Texto',
|
144 |
+
selectFromFiles: 'Selecione a partir dos arquivos',
|
145 |
+
maximumFileSize: 'Tamanho máximo do arquivo',
|
146 |
+
maximumFileSizeError: 'Tamanho máximo do arquivo excedido.',
|
147 |
+
url: 'URL da imagem',
|
148 |
+
remove: 'Remover Imagem',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'Vídeo',
|
153 |
+
videoLink: 'Link para vídeo',
|
154 |
+
insert: 'Inserir vídeo',
|
155 |
+
url: 'URL do vídeo?',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ou Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'Link',
|
160 |
+
insert: 'Inserir link',
|
161 |
+
unlink: 'Remover link',
|
162 |
+
edit: 'Editar',
|
163 |
+
textToDisplay: 'Texto para exibir',
|
164 |
+
url: 'Para qual URL este link leva?',
|
165 |
+
openInNewWindow: 'Abrir em uma nova janela'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'Tabela',
|
169 |
+
addRowAbove: 'Adicionar linha acima',
|
170 |
+
addRowBelow: 'Adicionar linha abaixo',
|
171 |
+
addColLeft: 'Adicionar coluna à esquerda',
|
172 |
+
addColRight: 'Adicionar coluna à direita',
|
173 |
+
delRow: 'Excluir linha',
|
174 |
+
delCol: 'Excluir coluna',
|
175 |
+
delTable: 'Excluir tabela'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'Linha horizontal'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'Estilo',
|
182 |
+
p: 'Normal',
|
183 |
+
blockquote: 'Citação',
|
184 |
+
pre: 'Código',
|
185 |
+
h1: 'Título 1',
|
186 |
+
h2: 'Título 2',
|
187 |
+
h3: 'Título 3',
|
188 |
+
h4: 'Título 4',
|
189 |
+
h5: 'Título 5',
|
190 |
+
h6: 'Título 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'Lista com marcadores',
|
194 |
+
ordered: 'Lista numerada'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'Ajuda',
|
198 |
+
fullscreen: 'Tela cheia',
|
199 |
+
codeview: 'Ver código-fonte'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'Parágrafo',
|
203 |
+
outdent: 'Menor tabulação',
|
204 |
+
indent: 'Maior tabulação',
|
205 |
+
left: 'Alinhar à esquerda',
|
206 |
+
center: 'Alinhar ao centro',
|
207 |
+
right: 'Alinha à direita',
|
208 |
+
justify: 'Justificado'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'Cor recente',
|
212 |
+
more: 'Mais cores',
|
213 |
+
background: 'Fundo',
|
214 |
+
foreground: 'Fonte',
|
215 |
+
transparent: 'Transparente',
|
216 |
+
setTransparent: 'Fundo transparente',
|
217 |
+
reset: 'Restaurar',
|
218 |
+
resetToDefault: 'Restaurar padrão',
|
219 |
+
cpSelect: 'Selecionar'
|
220 |
+
},
|
221 |
+
shortcut: {
|
222 |
+
shortcuts: 'Atalhos do teclado',
|
223 |
+
close: 'Fechar',
|
224 |
+
textFormatting: 'Formatação de texto',
|
225 |
+
action: 'Ação',
|
226 |
+
paragraphFormatting: 'Formatação de parágrafo',
|
227 |
+
documentStyle: 'Estilo de documento',
|
228 |
+
extraKeys: 'Extra keys'
|
229 |
+
},
|
230 |
+
help: {
|
231 |
+
'insertParagraph': 'Inserir Parágrafo',
|
232 |
+
'undo': 'Desfazer o último comando',
|
233 |
+
'redo': 'Refazer o último comando',
|
234 |
+
'tab': 'Tab',
|
235 |
+
'untab': 'Desfazer tab',
|
236 |
+
'bold': 'Colocar em negrito',
|
237 |
+
'italic': 'Colocar em itálico',
|
238 |
+
'underline': 'Sublinhado',
|
239 |
+
'strikethrough': 'Tachado',
|
240 |
+
'removeFormat': 'Remover estilo',
|
241 |
+
'justifyLeft': 'Alinhar à esquerda',
|
242 |
+
'justifyCenter': 'Centralizar',
|
243 |
+
'justifyRight': 'Alinhar à esquerda',
|
244 |
+
'justifyFull': 'Justificar',
|
245 |
+
'insertUnorderedList': 'Lista não ordenada',
|
246 |
+
'insertOrderedList': 'Lista ordenada',
|
247 |
+
'outdent': 'Recuar parágrafo atual',
|
248 |
+
'indent': 'Avançar parágrafo atual',
|
249 |
+
'formatPara': 'Alterar formato do bloco para parágrafo(tag P)',
|
250 |
+
'formatH1': 'Alterar formato do bloco para H1',
|
251 |
+
'formatH2': 'Alterar formato do bloco para H2',
|
252 |
+
'formatH3': 'Alterar formato do bloco para H3',
|
253 |
+
'formatH4': 'Alterar formato do bloco para H4',
|
254 |
+
'formatH5': 'Alterar formato do bloco para H5',
|
255 |
+
'formatH6': 'Alterar formato do bloco para H6',
|
256 |
+
'insertHorizontalRule': 'Inserir Régua horizontal',
|
257 |
+
'linkDialog.show': 'Inserir um Hiperlink'
|
258 |
+
},
|
259 |
+
history: {
|
260 |
+
undo: 'Desfazer',
|
261 |
+
redo: 'Refazer'
|
262 |
+
},
|
263 |
+
specialChar: {
|
264 |
+
specialChar: 'CARACTERES ESPECIAIS',
|
265 |
+
select: 'Selecionar Caracteres Especiais'
|
266 |
+
}
|
267 |
+
}
|
268 |
+
});
|
269 |
+
})(jQuery);
|
270 |
+
|
271 |
+
/***/ })
|
272 |
+
|
273 |
+
/******/ });
|
274 |
+
});
|
admin/lib/summernote/lang/summernote-pt-BR.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-pt-BR.min.js.LICENSE.txt */
|
2 |
+
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var a=r();for(var o in a)("object"==typeof exports?exports:e)[o]=a[o]}}(window,(function(){return function(e){var r={};function a(o){if(r[o])return r[o].exports;var t=r[o]={i:o,l:!1,exports:{}};return e[o].call(t.exports,t,t.exports,a),t.l=!0,t.exports}return a.m=e,a.c=r,a.d=function(e,r,o){a.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:o})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,r){if(1&r&&(e=a(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(a.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var t in e)a.d(o,t,function(r){return e[r]}.bind(null,t));return o},a.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(r,"a",r),r},a.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},a.p="",a(a.s=34)}({34:function(e,r){var a;(a=jQuery).extend(a.summernote.lang,{"pt-BR":{font:{bold:"Negrito",italic:"Itálico",underline:"Sublinhado",clear:"Remover estilo da fonte",height:"Altura da linha",name:"Fonte",strikethrough:"Riscado",subscript:"Subscrito",superscript:"Sobrescrito",size:"Tamanho da fonte"},image:{image:"Imagem",insert:"Inserir imagem",resizeFull:"Redimensionar Completamente",resizeHalf:"Redimensionar pela Metade",resizeQuarter:"Redimensionar a um Quarto",floatLeft:"Flutuar para Esquerda",floatRight:"Flutuar para Direita",floatNone:"Não Flutuar",shapeRounded:"Forma: Arredondado",shapeCircle:"Forma: Círculo",shapeThumbnail:"Forma: Miniatura",shapeNone:"Forma: Nenhum",dragImageHere:"Arraste Imagem ou Texto para cá",dropImage:"Solte Imagem ou Texto",selectFromFiles:"Selecione a partir dos arquivos",maximumFileSize:"Tamanho máximo do arquivo",maximumFileSizeError:"Tamanho máximo do arquivo excedido.",url:"URL da imagem",remove:"Remover Imagem",original:"Original"},video:{video:"Vídeo",videoLink:"Link para vídeo",insert:"Inserir vídeo",url:"URL do vídeo?",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion ou Youku)"},link:{link:"Link",insert:"Inserir link",unlink:"Remover link",edit:"Editar",textToDisplay:"Texto para exibir",url:"Para qual URL este link leva?",openInNewWindow:"Abrir em uma nova janela"},table:{table:"Tabela",addRowAbove:"Adicionar linha acima",addRowBelow:"Adicionar linha abaixo",addColLeft:"Adicionar coluna à esquerda",addColRight:"Adicionar coluna à direita",delRow:"Excluir linha",delCol:"Excluir coluna",delTable:"Excluir tabela"},hr:{insert:"Linha horizontal"},style:{style:"Estilo",p:"Normal",blockquote:"Citação",pre:"Código",h1:"Título 1",h2:"Título 2",h3:"Título 3",h4:"Título 4",h5:"Título 5",h6:"Título 6"},lists:{unordered:"Lista com marcadores",ordered:"Lista numerada"},options:{help:"Ajuda",fullscreen:"Tela cheia",codeview:"Ver código-fonte"},paragraph:{paragraph:"Parágrafo",outdent:"Menor tabulação",indent:"Maior tabulação",left:"Alinhar à esquerda",center:"Alinhar ao centro",right:"Alinha à direita",justify:"Justificado"},color:{recent:"Cor recente",more:"Mais cores",background:"Fundo",foreground:"Fonte",transparent:"Transparente",setTransparent:"Fundo transparente",reset:"Restaurar",resetToDefault:"Restaurar padrão",cpSelect:"Selecionar"},shortcut:{shortcuts:"Atalhos do teclado",close:"Fechar",textFormatting:"Formatação de texto",action:"Ação",paragraphFormatting:"Formatação de parágrafo",documentStyle:"Estilo de documento",extraKeys:"Extra keys"},help:{insertParagraph:"Inserir Parágrafo",undo:"Desfazer o último comando",redo:"Refazer o último comando",tab:"Tab",untab:"Desfazer tab",bold:"Colocar em negrito",italic:"Colocar em itálico",underline:"Sublinhado",strikethrough:"Tachado",removeFormat:"Remover estilo",justifyLeft:"Alinhar à esquerda",justifyCenter:"Centralizar",justifyRight:"Alinhar à esquerda",justifyFull:"Justificar",insertUnorderedList:"Lista não ordenada",insertOrderedList:"Lista ordenada",outdent:"Recuar parágrafo atual",indent:"Avançar parágrafo atual",formatPara:"Alterar formato do bloco para parágrafo(tag P)",formatH1:"Alterar formato do bloco para H1",formatH2:"Alterar formato do bloco para H2",formatH3:"Alterar formato do bloco para H3",formatH4:"Alterar formato do bloco para H4",formatH5:"Alterar formato do bloco para H5",formatH6:"Alterar formato do bloco para H6",insertHorizontalRule:"Inserir Régua horizontal","linkDialog.show":"Inserir um Hiperlink"},history:{undo:"Desfazer",redo:"Refazer"},specialChar:{specialChar:"CARACTERES ESPECIAIS",select:"Selecionar Caracteres Especiais"}}})}})}));
|
admin/lib/summernote/lang/summernote-pt-BR.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-pt-PT.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 35);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 35:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'pt-PT': {
|
117 |
+
font: {
|
118 |
+
bold: 'Negrito',
|
119 |
+
italic: 'Itálico',
|
120 |
+
underline: 'Sublinhado',
|
121 |
+
clear: 'Remover estilo da fonte',
|
122 |
+
height: 'Altura da linha',
|
123 |
+
name: 'Fonte',
|
124 |
+
strikethrough: 'Riscado',
|
125 |
+
subscript: 'Subscript',
|
126 |
+
superscript: 'Superscript',
|
127 |
+
size: 'Tamanho da fonte'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Imagem',
|
131 |
+
insert: 'Inserir imagem',
|
132 |
+
resizeFull: 'Redimensionar Completo',
|
133 |
+
resizeHalf: 'Redimensionar Metade',
|
134 |
+
resizeQuarter: 'Redimensionar Um Quarto',
|
135 |
+
floatLeft: 'Float Esquerda',
|
136 |
+
floatRight: 'Float Direita',
|
137 |
+
floatNone: 'Sem Float',
|
138 |
+
shapeRounded: 'Forma: Arredondado',
|
139 |
+
shapeCircle: 'Forma: Círculo',
|
140 |
+
shapeThumbnail: 'Forma: Minhatura',
|
141 |
+
shapeNone: 'Forma: Nenhum',
|
142 |
+
dragImageHere: 'Arraste uma imagem para aqui',
|
143 |
+
dropImage: 'Arraste uma imagem ou texto',
|
144 |
+
selectFromFiles: 'Selecione a partir dos arquivos',
|
145 |
+
maximumFileSize: 'Tamanho máximo do fixeiro',
|
146 |
+
maximumFileSizeError: 'Tamanho máximo do fixeiro é maior que o permitido.',
|
147 |
+
url: 'Endereço da imagem',
|
148 |
+
remove: 'Remover Imagem',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'Vídeo',
|
153 |
+
videoLink: 'Link para vídeo',
|
154 |
+
insert: 'Inserir vídeo',
|
155 |
+
url: 'URL do vídeo?',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ou Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'Link',
|
160 |
+
insert: 'Inserir ligação',
|
161 |
+
unlink: 'Remover ligação',
|
162 |
+
edit: 'Editar',
|
163 |
+
textToDisplay: 'Texto para exibir',
|
164 |
+
url: 'Que endereço esta licação leva?',
|
165 |
+
openInNewWindow: 'Abrir numa nova janela'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'Tabela',
|
169 |
+
addRowAbove: 'Adicionar linha acima',
|
170 |
+
addRowBelow: 'Adicionar linha abaixo',
|
171 |
+
addColLeft: 'Adicionar coluna à Esquerda',
|
172 |
+
addColRight: 'Adicionar coluna à Esquerda',
|
173 |
+
delRow: 'Excluir linha',
|
174 |
+
delCol: 'Excluir coluna',
|
175 |
+
delTable: 'Excluir tabela'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'Inserir linha horizontal'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'Estilo',
|
182 |
+
p: 'Parágrafo',
|
183 |
+
blockquote: 'Citação',
|
184 |
+
pre: 'Código',
|
185 |
+
h1: 'Título 1',
|
186 |
+
h2: 'Título 2',
|
187 |
+
h3: 'Título 3',
|
188 |
+
h4: 'Título 4',
|
189 |
+
h5: 'Título 5',
|
190 |
+
h6: 'Título 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'Lista com marcadores',
|
194 |
+
ordered: 'Lista numerada'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'Ajuda',
|
198 |
+
fullscreen: 'Janela Completa',
|
199 |
+
codeview: 'Ver código-fonte'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'Parágrafo',
|
203 |
+
outdent: 'Menor tabulação',
|
204 |
+
indent: 'Maior tabulação',
|
205 |
+
left: 'Alinhar à esquerda',
|
206 |
+
center: 'Alinhar ao centro',
|
207 |
+
right: 'Alinha à direita',
|
208 |
+
justify: 'Justificado'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'Cor recente',
|
212 |
+
more: 'Mais cores',
|
213 |
+
background: 'Fundo',
|
214 |
+
foreground: 'Fonte',
|
215 |
+
transparent: 'Transparente',
|
216 |
+
setTransparent: 'Fundo transparente',
|
217 |
+
reset: 'Restaurar',
|
218 |
+
resetToDefault: 'Restaurar padrão',
|
219 |
+
cpSelect: 'Selecionar'
|
220 |
+
},
|
221 |
+
shortcut: {
|
222 |
+
shortcuts: 'Atalhos do teclado',
|
223 |
+
close: 'Fechar',
|
224 |
+
textFormatting: 'Formatação de texto',
|
225 |
+
action: 'Ação',
|
226 |
+
paragraphFormatting: 'Formatação de parágrafo',
|
227 |
+
documentStyle: 'Estilo de documento'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
'insertParagraph': 'Inserir Parágrafo',
|
231 |
+
'undo': 'Desfazer o último comando',
|
232 |
+
'redo': 'Refazer o último comando',
|
233 |
+
'tab': 'Maior tabulação',
|
234 |
+
'untab': 'Menor tabulação',
|
235 |
+
'bold': 'Colocar em negrito',
|
236 |
+
'italic': 'Colocar em itálico',
|
237 |
+
'underline': 'Colocar em sublinhado',
|
238 |
+
'strikethrough': 'Colocar em riscado',
|
239 |
+
'removeFormat': 'Limpar o estilo',
|
240 |
+
'justifyLeft': 'Definir alinhado à esquerda',
|
241 |
+
'justifyCenter': 'Definir alinhado ao centro',
|
242 |
+
'justifyRight': 'Definir alinhado à direita',
|
243 |
+
'justifyFull': 'Definir justificado',
|
244 |
+
'insertUnorderedList': 'Alternar lista não ordenada',
|
245 |
+
'insertOrderedList': 'Alternar lista ordenada',
|
246 |
+
'outdent': 'Recuar parágrafo atual',
|
247 |
+
'indent': 'Avançar parágrafo atual',
|
248 |
+
'formatPara': 'Alterar formato do bloco para parágrafo',
|
249 |
+
'formatH1': 'Alterar formato do bloco para Título 1',
|
250 |
+
'formatH2': 'Alterar formato do bloco para Título 2',
|
251 |
+
'formatH3': 'Alterar formato do bloco para Título 3',
|
252 |
+
'formatH4': 'Alterar formato do bloco para Título 4',
|
253 |
+
'formatH5': 'Alterar formato do bloco para Título 5',
|
254 |
+
'formatH6': 'Alterar formato do bloco para Título 6',
|
255 |
+
'insertHorizontalRule': 'Inserir linha horizontal',
|
256 |
+
'linkDialog.show': 'Inserir uma ligração'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: 'Desfazer',
|
260 |
+
redo: 'Refazer'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: 'SPECIAL CHARACTERS',
|
264 |
+
select: 'Select Special characters'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-pt-PT.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-pt-PT.min.js.LICENSE.txt */
|
2 |
+
!function(e,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o();else if("function"==typeof define&&define.amd)define([],o);else{var r=o();for(var a in r)("object"==typeof exports?exports:e)[a]=r[a]}}(window,(function(){return function(e){var o={};function r(a){if(o[a])return o[a].exports;var t=o[a]={i:a,l:!1,exports:{}};return e[a].call(t.exports,t,t.exports,r),t.l=!0,t.exports}return r.m=e,r.c=o,r.d=function(e,o,a){r.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:a})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,o){if(1&o&&(e=r(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var t in e)r.d(a,t,function(o){return e[o]}.bind(null,t));return a},r.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(o,"a",o),o},r.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},r.p="",r(r.s=35)}({35:function(e,o){var r;(r=jQuery).extend(r.summernote.lang,{"pt-PT":{font:{bold:"Negrito",italic:"Itálico",underline:"Sublinhado",clear:"Remover estilo da fonte",height:"Altura da linha",name:"Fonte",strikethrough:"Riscado",subscript:"Subscript",superscript:"Superscript",size:"Tamanho da fonte"},image:{image:"Imagem",insert:"Inserir imagem",resizeFull:"Redimensionar Completo",resizeHalf:"Redimensionar Metade",resizeQuarter:"Redimensionar Um Quarto",floatLeft:"Float Esquerda",floatRight:"Float Direita",floatNone:"Sem Float",shapeRounded:"Forma: Arredondado",shapeCircle:"Forma: Círculo",shapeThumbnail:"Forma: Minhatura",shapeNone:"Forma: Nenhum",dragImageHere:"Arraste uma imagem para aqui",dropImage:"Arraste uma imagem ou texto",selectFromFiles:"Selecione a partir dos arquivos",maximumFileSize:"Tamanho máximo do fixeiro",maximumFileSizeError:"Tamanho máximo do fixeiro é maior que o permitido.",url:"Endereço da imagem",remove:"Remover Imagem",original:"Original"},video:{video:"Vídeo",videoLink:"Link para vídeo",insert:"Inserir vídeo",url:"URL do vídeo?",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion ou Youku)"},link:{link:"Link",insert:"Inserir ligação",unlink:"Remover ligação",edit:"Editar",textToDisplay:"Texto para exibir",url:"Que endereço esta licação leva?",openInNewWindow:"Abrir numa nova janela"},table:{table:"Tabela",addRowAbove:"Adicionar linha acima",addRowBelow:"Adicionar linha abaixo",addColLeft:"Adicionar coluna à Esquerda",addColRight:"Adicionar coluna à Esquerda",delRow:"Excluir linha",delCol:"Excluir coluna",delTable:"Excluir tabela"},hr:{insert:"Inserir linha horizontal"},style:{style:"Estilo",p:"Parágrafo",blockquote:"Citação",pre:"Código",h1:"Título 1",h2:"Título 2",h3:"Título 3",h4:"Título 4",h5:"Título 5",h6:"Título 6"},lists:{unordered:"Lista com marcadores",ordered:"Lista numerada"},options:{help:"Ajuda",fullscreen:"Janela Completa",codeview:"Ver código-fonte"},paragraph:{paragraph:"Parágrafo",outdent:"Menor tabulação",indent:"Maior tabulação",left:"Alinhar à esquerda",center:"Alinhar ao centro",right:"Alinha à direita",justify:"Justificado"},color:{recent:"Cor recente",more:"Mais cores",background:"Fundo",foreground:"Fonte",transparent:"Transparente",setTransparent:"Fundo transparente",reset:"Restaurar",resetToDefault:"Restaurar padrão",cpSelect:"Selecionar"},shortcut:{shortcuts:"Atalhos do teclado",close:"Fechar",textFormatting:"Formatação de texto",action:"Ação",paragraphFormatting:"Formatação de parágrafo",documentStyle:"Estilo de documento"},help:{insertParagraph:"Inserir Parágrafo",undo:"Desfazer o último comando",redo:"Refazer o último comando",tab:"Maior tabulação",untab:"Menor tabulação",bold:"Colocar em negrito",italic:"Colocar em itálico",underline:"Colocar em sublinhado",strikethrough:"Colocar em riscado",removeFormat:"Limpar o estilo",justifyLeft:"Definir alinhado à esquerda",justifyCenter:"Definir alinhado ao centro",justifyRight:"Definir alinhado à direita",justifyFull:"Definir justificado",insertUnorderedList:"Alternar lista não ordenada",insertOrderedList:"Alternar lista ordenada",outdent:"Recuar parágrafo atual",indent:"Avançar parágrafo atual",formatPara:"Alterar formato do bloco para parágrafo",formatH1:"Alterar formato do bloco para Título 1",formatH2:"Alterar formato do bloco para Título 2",formatH3:"Alterar formato do bloco para Título 3",formatH4:"Alterar formato do bloco para Título 4",formatH5:"Alterar formato do bloco para Título 5",formatH6:"Alterar formato do bloco para Título 6",insertHorizontalRule:"Inserir linha horizontal","linkDialog.show":"Inserir uma ligração"},history:{undo:"Desfazer",redo:"Refazer"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"}}})}})}));
|
admin/lib/summernote/lang/summernote-pt-PT.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-ro-RO.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 36);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 36:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'ro-RO': {
|
117 |
+
font: {
|
118 |
+
bold: 'Îngroșat',
|
119 |
+
italic: 'Înclinat',
|
120 |
+
underline: 'Subliniat',
|
121 |
+
clear: 'Înlătură formatare font',
|
122 |
+
height: 'Înălțime rând',
|
123 |
+
name: 'Familie de fonturi',
|
124 |
+
strikethrough: 'Tăiat',
|
125 |
+
subscript: 'Indice',
|
126 |
+
superscript: 'Exponent',
|
127 |
+
size: 'Dimensiune font'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Imagine',
|
131 |
+
insert: 'Inserează imagine',
|
132 |
+
resizeFull: 'Redimensionează complet',
|
133 |
+
resizeHalf: 'Redimensionează 1/2',
|
134 |
+
resizeQuarter: 'Redimensionează 1/4',
|
135 |
+
floatLeft: 'Aliniere la stânga',
|
136 |
+
floatRight: 'Aliniere la dreapta',
|
137 |
+
floatNone: 'Fară aliniere',
|
138 |
+
shapeRounded: 'Formă: Rotund',
|
139 |
+
shapeCircle: 'Formă: Cerc',
|
140 |
+
shapeThumbnail: 'Formă: Pictogramă',
|
141 |
+
shapeNone: 'Formă: Nici una',
|
142 |
+
dragImageHere: 'Trage o imagine sau un text aici',
|
143 |
+
dropImage: 'Eliberează imaginea sau textul',
|
144 |
+
selectFromFiles: 'Alege din fişiere',
|
145 |
+
maximumFileSize: 'Dimensiune maximă fișier',
|
146 |
+
maximumFileSizeError: 'Dimensiune maximă fișier depășită.',
|
147 |
+
url: 'URL imagine',
|
148 |
+
remove: 'Șterge imagine',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'Video',
|
153 |
+
videoLink: 'Link video',
|
154 |
+
insert: 'Inserează video',
|
155 |
+
url: 'URL video?',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion sau Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'Link',
|
160 |
+
insert: 'Inserează link',
|
161 |
+
unlink: 'Înlătură link',
|
162 |
+
edit: 'Editează',
|
163 |
+
textToDisplay: 'Text ce va fi afişat',
|
164 |
+
url: 'La ce adresă URL trebuie să conducă acest link?',
|
165 |
+
openInNewWindow: 'Deschidere în fereastră nouă'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'Tabel',
|
169 |
+
addRowAbove: 'Adaugă rând deasupra',
|
170 |
+
addRowBelow: 'Adaugă rând dedesubt',
|
171 |
+
addColLeft: 'Adaugă coloană stânga',
|
172 |
+
addColRight: 'Adaugă coloană dreapta',
|
173 |
+
delRow: 'Șterge rând',
|
174 |
+
delCol: 'Șterge coloană',
|
175 |
+
delTable: 'Șterge tabel'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'Inserează o linie orizontală'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'Stil',
|
182 |
+
p: 'p',
|
183 |
+
blockquote: 'Citat',
|
184 |
+
pre: 'Preformatat',
|
185 |
+
h1: 'Titlu 1',
|
186 |
+
h2: 'Titlu 2',
|
187 |
+
h3: 'Titlu 3',
|
188 |
+
h4: 'Titlu 4',
|
189 |
+
h5: 'Titlu 5',
|
190 |
+
h6: 'Titlu 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'Listă neordonată',
|
194 |
+
ordered: 'Listă ordonată'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'Ajutor',
|
198 |
+
fullscreen: 'Măreşte',
|
199 |
+
codeview: 'Sursă'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'Paragraf',
|
203 |
+
outdent: 'Creşte identarea',
|
204 |
+
indent: 'Scade identarea',
|
205 |
+
left: 'Aliniere la stânga',
|
206 |
+
center: 'Aliniere centrală',
|
207 |
+
right: 'Aliniere la dreapta',
|
208 |
+
justify: 'Aliniere în bloc'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'Culoare recentă',
|
212 |
+
more: 'Mai multe culori',
|
213 |
+
background: 'Culoarea fundalului',
|
214 |
+
foreground: 'Culoarea textului',
|
215 |
+
transparent: 'Transparent',
|
216 |
+
setTransparent: 'Setează transparent',
|
217 |
+
reset: 'Resetează',
|
218 |
+
resetToDefault: 'Revino la iniţial'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: 'Scurtături tastatură',
|
222 |
+
close: 'Închide',
|
223 |
+
textFormatting: 'Formatare text',
|
224 |
+
action: 'Acţiuni',
|
225 |
+
paragraphFormatting: 'Formatare paragraf',
|
226 |
+
documentStyle: 'Stil paragraf',
|
227 |
+
extraKeys: 'Taste extra'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
'insertParagraph': 'Inserează paragraf',
|
231 |
+
'undo': 'Revine la starea anterioară',
|
232 |
+
'redo': 'Revine la starea ulterioară',
|
233 |
+
'tab': 'Tab',
|
234 |
+
'untab': 'Untab',
|
235 |
+
'bold': 'Setează stil îngroșat',
|
236 |
+
'italic': 'Setează stil înclinat',
|
237 |
+
'underline': 'Setează stil subliniat',
|
238 |
+
'strikethrough': 'Setează stil tăiat',
|
239 |
+
'removeFormat': 'Înlătură formatare',
|
240 |
+
'justifyLeft': 'Setează aliniere stânga',
|
241 |
+
'justifyCenter': 'Setează aliniere centru',
|
242 |
+
'justifyRight': 'Setează aliniere dreapta',
|
243 |
+
'justifyFull': 'Setează aliniere bloc',
|
244 |
+
'insertUnorderedList': 'Comutare listă neordinată',
|
245 |
+
'insertOrderedList': 'Comutare listă ordonată',
|
246 |
+
'outdent': 'Înlătură indentare paragraf curent',
|
247 |
+
'indent': 'Adaugă indentare paragraf curent',
|
248 |
+
'formatPara': 'Schimbă formatarea selecției în paragraf',
|
249 |
+
'formatH1': 'Schimbă formatarea selecției în H1',
|
250 |
+
'formatH2': 'Schimbă formatarea selecției în H2',
|
251 |
+
'formatH3': 'Schimbă formatarea selecției în H3',
|
252 |
+
'formatH4': 'Schimbă formatarea selecției în H4',
|
253 |
+
'formatH5': 'Schimbă formatarea selecției în H5',
|
254 |
+
'formatH6': 'Schimbă formatarea selecției în H6',
|
255 |
+
'insertHorizontalRule': 'Adaugă linie orizontală',
|
256 |
+
'linkDialog.show': 'Inserează link'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: 'Starea anterioară',
|
260 |
+
redo: 'Starea ulterioară'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: 'CARACTERE SPECIALE',
|
264 |
+
select: 'Alege caractere speciale'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-ro-RO.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-ro-RO.min.js.LICENSE.txt */
|
2 |
+
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var t=r();for(var a in t)("object"==typeof exports?exports:e)[a]=t[a]}}(window,(function(){return function(e){var r={};function t(a){if(r[a])return r[a].exports;var i=r[a]={i:a,l:!1,exports:{}};return e[a].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=e,t.c=r,t.d=function(e,r,a){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:a})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(t.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var i in e)t.d(a,i,function(r){return e[r]}.bind(null,i));return a},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=36)}({36:function(e,r){var t;(t=jQuery).extend(t.summernote.lang,{"ro-RO":{font:{bold:"Îngroșat",italic:"Înclinat",underline:"Subliniat",clear:"Înlătură formatare font",height:"Înălțime rând",name:"Familie de fonturi",strikethrough:"Tăiat",subscript:"Indice",superscript:"Exponent",size:"Dimensiune font"},image:{image:"Imagine",insert:"Inserează imagine",resizeFull:"Redimensionează complet",resizeHalf:"Redimensionează 1/2",resizeQuarter:"Redimensionează 1/4",floatLeft:"Aliniere la stânga",floatRight:"Aliniere la dreapta",floatNone:"Fară aliniere",shapeRounded:"Formă: Rotund",shapeCircle:"Formă: Cerc",shapeThumbnail:"Formă: Pictogramă",shapeNone:"Formă: Nici una",dragImageHere:"Trage o imagine sau un text aici",dropImage:"Eliberează imaginea sau textul",selectFromFiles:"Alege din fişiere",maximumFileSize:"Dimensiune maximă fișier",maximumFileSizeError:"Dimensiune maximă fișier depășită.",url:"URL imagine",remove:"Șterge imagine",original:"Original"},video:{video:"Video",videoLink:"Link video",insert:"Inserează video",url:"URL video?",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion sau Youku)"},link:{link:"Link",insert:"Inserează link",unlink:"Înlătură link",edit:"Editează",textToDisplay:"Text ce va fi afişat",url:"La ce adresă URL trebuie să conducă acest link?",openInNewWindow:"Deschidere în fereastră nouă"},table:{table:"Tabel",addRowAbove:"Adaugă rând deasupra",addRowBelow:"Adaugă rând dedesubt",addColLeft:"Adaugă coloană stânga",addColRight:"Adaugă coloană dreapta",delRow:"Șterge rând",delCol:"Șterge coloană",delTable:"Șterge tabel"},hr:{insert:"Inserează o linie orizontală"},style:{style:"Stil",p:"p",blockquote:"Citat",pre:"Preformatat",h1:"Titlu 1",h2:"Titlu 2",h3:"Titlu 3",h4:"Titlu 4",h5:"Titlu 5",h6:"Titlu 6"},lists:{unordered:"Listă neordonată",ordered:"Listă ordonată"},options:{help:"Ajutor",fullscreen:"Măreşte",codeview:"Sursă"},paragraph:{paragraph:"Paragraf",outdent:"Creşte identarea",indent:"Scade identarea",left:"Aliniere la stânga",center:"Aliniere centrală",right:"Aliniere la dreapta",justify:"Aliniere în bloc"},color:{recent:"Culoare recentă",more:"Mai multe culori",background:"Culoarea fundalului",foreground:"Culoarea textului",transparent:"Transparent",setTransparent:"Setează transparent",reset:"Resetează",resetToDefault:"Revino la iniţial"},shortcut:{shortcuts:"Scurtături tastatură",close:"Închide",textFormatting:"Formatare text",action:"Acţiuni",paragraphFormatting:"Formatare paragraf",documentStyle:"Stil paragraf",extraKeys:"Taste extra"},help:{insertParagraph:"Inserează paragraf",undo:"Revine la starea anterioară",redo:"Revine la starea ulterioară",tab:"Tab",untab:"Untab",bold:"Setează stil îngroșat",italic:"Setează stil înclinat",underline:"Setează stil subliniat",strikethrough:"Setează stil tăiat",removeFormat:"Înlătură formatare",justifyLeft:"Setează aliniere stânga",justifyCenter:"Setează aliniere centru",justifyRight:"Setează aliniere dreapta",justifyFull:"Setează aliniere bloc",insertUnorderedList:"Comutare listă neordinată",insertOrderedList:"Comutare listă ordonată",outdent:"Înlătură indentare paragraf curent",indent:"Adaugă indentare paragraf curent",formatPara:"Schimbă formatarea selecției în paragraf",formatH1:"Schimbă formatarea selecției în H1",formatH2:"Schimbă formatarea selecției în H2",formatH3:"Schimbă formatarea selecției în H3",formatH4:"Schimbă formatarea selecției în H4",formatH5:"Schimbă formatarea selecției în H5",formatH6:"Schimbă formatarea selecției în H6",insertHorizontalRule:"Adaugă linie orizontală","linkDialog.show":"Inserează link"},history:{undo:"Starea anterioară",redo:"Starea ulterioară"},specialChar:{specialChar:"CARACTERE SPECIALE",select:"Alege caractere speciale"}}})}})}));
|
admin/lib/summernote/lang/summernote-ro-RO.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-ru-RU.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 37);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 37:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'ru-RU': {
|
117 |
+
font: {
|
118 |
+
bold: 'Полужирный',
|
119 |
+
italic: 'Курсив',
|
120 |
+
underline: 'Подчёркнутый',
|
121 |
+
clear: 'Убрать стили шрифта',
|
122 |
+
height: 'Высота линии',
|
123 |
+
name: 'Шрифт',
|
124 |
+
strikethrough: 'Зачёркнутый',
|
125 |
+
subscript: 'Нижний индекс',
|
126 |
+
superscript: 'Верхний индекс',
|
127 |
+
size: 'Размер шрифта'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Картинка',
|
131 |
+
insert: 'Вставить картинку',
|
132 |
+
resizeFull: 'Восстановить размер',
|
133 |
+
resizeHalf: 'Уменьшить до 50%',
|
134 |
+
resizeQuarter: 'Уменьшить до 25%',
|
135 |
+
floatLeft: 'Расположить слева',
|
136 |
+
floatRight: 'Расположить справа',
|
137 |
+
floatNone: 'Расположение по-умолчанию',
|
138 |
+
shapeRounded: 'Форма: Закругленная',
|
139 |
+
shapeCircle: 'Форма: Круг',
|
140 |
+
shapeThumbnail: 'Форма: Миниатюра',
|
141 |
+
shapeNone: 'Форма: Нет',
|
142 |
+
dragImageHere: 'Перетащите сюда картинку',
|
143 |
+
dropImage: 'Перетащите картинку',
|
144 |
+
selectFromFiles: 'Выбрать из файлов',
|
145 |
+
maximumFileSize: 'Максимальный размер файла',
|
146 |
+
maximumFileSizeError: 'Превышен максимальный размер файла',
|
147 |
+
url: 'URL картинки',
|
148 |
+
remove: 'Удалить картинку',
|
149 |
+
original: 'Оригинал'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'Видео',
|
153 |
+
videoLink: 'Ссылка на видео',
|
154 |
+
insert: 'Вставить видео',
|
155 |
+
url: 'URL видео',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion или Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'Ссылка',
|
160 |
+
insert: 'Вставить ссылку',
|
161 |
+
unlink: 'Убрать ссылку',
|
162 |
+
edit: 'Редактировать',
|
163 |
+
textToDisplay: 'Отображаемый текст',
|
164 |
+
url: 'URL для перехода',
|
165 |
+
openInNewWindow: 'Открывать в новом окне'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'Таблица',
|
169 |
+
addRowAbove: 'Добавить строку выше',
|
170 |
+
addRowBelow: 'Добавить строку ниже',
|
171 |
+
addColLeft: 'Добавить столбец слева',
|
172 |
+
addColRight: 'Добавить столбец справа',
|
173 |
+
delRow: 'Удалить строку',
|
174 |
+
delCol: 'Удалить столбец',
|
175 |
+
delTable: 'Удалить таблицу'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'Вставить горизонтальную линию'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'Стиль',
|
182 |
+
p: 'Нормальный',
|
183 |
+
blockquote: 'Цитата',
|
184 |
+
pre: 'Код',
|
185 |
+
h1: 'Заголовок 1',
|
186 |
+
h2: 'Заголовок 2',
|
187 |
+
h3: 'Заголовок 3',
|
188 |
+
h4: 'Заголовок 4',
|
189 |
+
h5: 'Заголовок 5',
|
190 |
+
h6: 'Заголовок 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'Маркированный список',
|
194 |
+
ordered: 'Нумерованный список'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'Помощь',
|
198 |
+
fullscreen: 'На весь экран',
|
199 |
+
codeview: 'Исходный код'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'Параграф',
|
203 |
+
outdent: 'Уменьшить отступ',
|
204 |
+
indent: 'Увеличить отступ',
|
205 |
+
left: 'Выровнять по левому краю',
|
206 |
+
center: 'Выровнять по центру',
|
207 |
+
right: 'Выровнять по правому краю',
|
208 |
+
justify: 'Растянуть по ширине'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'Последний цвет',
|
212 |
+
more: 'Еще цвета',
|
213 |
+
background: 'Цвет фона',
|
214 |
+
foreground: 'Цвет шрифта',
|
215 |
+
transparent: 'Прозрачный',
|
216 |
+
setTransparent: 'Сделать прозрачным',
|
217 |
+
reset: 'Сброс',
|
218 |
+
resetToDefault: 'Восстановить умолчания'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: 'Сочетания клавиш',
|
222 |
+
close: 'Закрыть',
|
223 |
+
textFormatting: 'Форматирование текста',
|
224 |
+
action: 'Действие',
|
225 |
+
paragraphFormatting: 'Форматирование параграфа',
|
226 |
+
documentStyle: 'Стиль документа',
|
227 |
+
extraKeys: 'Дополнительные комбинации'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
'insertParagraph': 'Новый параграф',
|
231 |
+
'undo': 'Отменить последнюю команду',
|
232 |
+
'redo': 'Повторить последнюю команду',
|
233 |
+
'tab': 'Tab',
|
234 |
+
'untab': 'Untab',
|
235 |
+
'bold': 'Установить стиль "Жирный"',
|
236 |
+
'italic': 'Установить стиль "Наклонный"',
|
237 |
+
'underline': 'Установить стиль "Подчеркнутый"',
|
238 |
+
'strikethrough': 'Установить стиль "Зачеркнутый"',
|
239 |
+
'removeFormat': 'Сборсить стили',
|
240 |
+
'justifyLeft': 'Выровнять по левому краю',
|
241 |
+
'justifyCenter': 'Выровнять по центру',
|
242 |
+
'justifyRight': 'Выровнять по правому краю',
|
243 |
+
'justifyFull': 'Растянуть на всю ширину',
|
244 |
+
'insertUnorderedList': 'Включить/отключить маркированный список',
|
245 |
+
'insertOrderedList': 'Включить/отключить нумерованный список',
|
246 |
+
'outdent': 'Убрать отступ в текущем параграфе',
|
247 |
+
'indent': 'Вставить отступ в текущем параграфе',
|
248 |
+
'formatPara': 'Форматировать текущий блок как параграф (тег P)',
|
249 |
+
'formatH1': 'Форматировать текущий блок как H1',
|
250 |
+
'formatH2': 'Форматировать текущий блок как H2',
|
251 |
+
'formatH3': 'Форматировать текущий блок как H3',
|
252 |
+
'formatH4': 'Форматировать текущий блок как H4',
|
253 |
+
'formatH5': 'Форматировать текущий блок как H5',
|
254 |
+
'formatH6': 'Форматировать текущий блок как H6',
|
255 |
+
'insertHorizontalRule': 'Вставить горизонтальную черту',
|
256 |
+
'linkDialog.show': 'Показать диалог "Ссылка"'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: 'Отменить',
|
260 |
+
redo: 'Повтор'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: 'SPECIAL CHARACTERS',
|
264 |
+
select: 'Select Special characters'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-ru-RU.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-ru-RU.min.js.LICENSE.txt */
|
2 |
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(window,(function(){return function(e){var t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(o,n,function(t){return e[t]}.bind(null,n));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=37)}({37:function(e,t){var r;(r=jQuery).extend(r.summernote.lang,{"ru-RU":{font:{bold:"Полужирный",italic:"Курсив",underline:"Подчёркнутый",clear:"Убрать стили шрифта",height:"Высота линии",name:"Шрифт",strikethrough:"Зачёркнутый",subscript:"Нижний индекс",superscript:"Верхний индекс",size:"Размер шрифта"},image:{image:"Картинка",insert:"Вставить картинку",resizeFull:"Восстановить размер",resizeHalf:"Уменьшить до 50%",resizeQuarter:"Уменьшить до 25%",floatLeft:"Расположить слева",floatRight:"Расположить справа",floatNone:"Расположение по-умолчанию",shapeRounded:"Форма: Закругленная",shapeCircle:"Форма: Круг",shapeThumbnail:"Форма: Миниатюра",shapeNone:"Форма: Нет",dragImageHere:"Перетащите сюда картинку",dropImage:"Перетащите картинку",selectFromFiles:"Выбрать из файлов",maximumFileSize:"Максимальный размер файла",maximumFileSizeError:"Превышен максимальный размер файла",url:"URL картинки",remove:"Удалить картинку",original:"Оригинал"},video:{video:"Видео",videoLink:"Ссылка на видео",insert:"Вставить видео",url:"URL видео",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion или Youku)"},link:{link:"Ссылка",insert:"Вставить ссылку",unlink:"Убрать ссылку",edit:"Редактировать",textToDisplay:"Отображаемый текст",url:"URL для перехода",openInNewWindow:"Открывать в новом окне"},table:{table:"Таблица",addRowAbove:"Добавить строку выше",addRowBelow:"Добавить строку ниже",addColLeft:"Добавить столбец слева",addColRight:"Добавить столбец справа",delRow:"Удалить строку",delCol:"Удалить столбец",delTable:"Удалить таблицу"},hr:{insert:"Вставить горизонтальную линию"},style:{style:"Стиль",p:"Нормальный",blockquote:"Цитата",pre:"Код",h1:"Заголовок 1",h2:"Заголовок 2",h3:"Заголовок 3",h4:"Заголовок 4",h5:"Заголовок 5",h6:"Заголовок 6"},lists:{unordered:"Маркированный список",ordered:"Нумерованный список"},options:{help:"Помощь",fullscreen:"На весь экран",codeview:"Исходный код"},paragraph:{paragraph:"Параграф",outdent:"Уменьшить отступ",indent:"Увеличить отступ",left:"Выровнять по левому краю",center:"Выровнять по центру",right:"Выровнять по правому краю",justify:"Растянуть по ширине"},color:{recent:"Последний цвет",more:"Еще цвета",background:"Цвет фона",foreground:"Цвет шрифта",transparent:"Прозрачный",setTransparent:"Сделать прозрачным",reset:"Сброс",resetToDefault:"Восстановить умолчания"},shortcut:{shortcuts:"Сочетания клавиш",close:"Закрыть",textFormatting:"Форматирование текста",action:"Действие",paragraphFormatting:"Форматирование параграфа",documentStyle:"Стиль документа",extraKeys:"Дополнительные комбинации"},help:{insertParagraph:"Новый параграф",undo:"Отменить последнюю команду",redo:"Повторить последнюю команду",tab:"Tab",untab:"Untab",bold:'Установить стиль "Жирный"',italic:'Установить стиль "Наклонный"',underline:'Установить стиль "Подчеркнутый"',strikethrough:'Установить стиль "Зачеркнутый"',removeFormat:"Сборсить стили",justifyLeft:"Выровнять по левому краю",justifyCenter:"Выровнять по центру",justifyRight:"Выровнять по правому краю",justifyFull:"Растянуть на всю ширину",insertUnorderedList:"Включить/отключить маркированный список",insertOrderedList:"Включить/отключить нумерованный список",outdent:"Убрать отступ в текущем параграфе",indent:"Вставить отступ в текущем параграфе",formatPara:"Форматировать текущий блок как параграф (тег P)",formatH1:"Форматировать текущий блок как H1",formatH2:"Форматировать текущий блок как H2",formatH3:"Форматировать текущий блок как H3",formatH4:"Форматировать текущий блок как H4",formatH5:"Форматировать текущий блок как H5",formatH6:"Форматировать текущий блок как H6",insertHorizontalRule:"Вставить горизонтальную черту","linkDialog.show":'Показать диалог "Ссылка"'},history:{undo:"Отменить",redo:"Повтор"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"}}})}})}));
|
admin/lib/summernote/lang/summernote-ru-RU.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-sk-SK.js
ADDED
@@ -0,0 +1,271 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 38);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 38:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'sk-SK': {
|
117 |
+
font: {
|
118 |
+
bold: 'Tučné',
|
119 |
+
italic: 'Kurzíva',
|
120 |
+
underline: 'Podčiarknutie',
|
121 |
+
clear: 'Odstrániť štýl písma',
|
122 |
+
height: 'Výška riadku',
|
123 |
+
strikethrough: 'Prečiarknuté',
|
124 |
+
subscript: 'Subscript',
|
125 |
+
superscript: 'Superscript',
|
126 |
+
size: 'Veľkosť písma'
|
127 |
+
},
|
128 |
+
image: {
|
129 |
+
image: 'Obrázok',
|
130 |
+
insert: 'Vložiť obrázok',
|
131 |
+
resizeFull: 'Pôvodná veľkosť',
|
132 |
+
resizeHalf: 'Polovičná veľkosť',
|
133 |
+
resizeQuarter: 'Štvrtinová veľkosť',
|
134 |
+
floatLeft: 'Umiestniť doľava',
|
135 |
+
floatRight: 'Umiestniť doprava',
|
136 |
+
floatNone: 'Bez zarovnania',
|
137 |
+
shapeRounded: 'Shape: Rounded',
|
138 |
+
shapeCircle: 'Shape: Circle',
|
139 |
+
shapeThumbnail: 'Shape: Thumbnail',
|
140 |
+
shapeNone: 'Shape: None',
|
141 |
+
dragImageHere: 'Pretiahnuť sem obrázok',
|
142 |
+
dropImage: 'Drop image or Text',
|
143 |
+
selectFromFiles: 'Vybrať súbor',
|
144 |
+
maximumFileSize: 'Maximum file size',
|
145 |
+
maximumFileSizeError: 'Maximum file size exceeded.',
|
146 |
+
url: 'URL obrázku',
|
147 |
+
remove: 'Remove Image',
|
148 |
+
original: 'Original'
|
149 |
+
},
|
150 |
+
video: {
|
151 |
+
video: 'Video',
|
152 |
+
videoLink: 'Odkaz videa',
|
153 |
+
insert: 'Vložiť video',
|
154 |
+
url: 'URL videa?',
|
155 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion alebo Youku)'
|
156 |
+
},
|
157 |
+
link: {
|
158 |
+
link: 'Odkaz',
|
159 |
+
insert: 'Vytvoriť odkaz',
|
160 |
+
unlink: 'Zrušiť odkaz',
|
161 |
+
edit: 'Upraviť',
|
162 |
+
textToDisplay: 'Zobrazovaný text',
|
163 |
+
url: 'Na akú URL adresu má tento odkaz viesť?',
|
164 |
+
openInNewWindow: 'Otvoriť v novom okne'
|
165 |
+
},
|
166 |
+
table: {
|
167 |
+
table: 'Tabuľka',
|
168 |
+
addRowAbove: 'Add row above',
|
169 |
+
addRowBelow: 'Add row below',
|
170 |
+
addColLeft: 'Add column left',
|
171 |
+
addColRight: 'Add column right',
|
172 |
+
delRow: 'Delete row',
|
173 |
+
delCol: 'Delete column',
|
174 |
+
delTable: 'Delete table'
|
175 |
+
},
|
176 |
+
hr: {
|
177 |
+
insert: 'Vložit vodorovnú čiaru'
|
178 |
+
},
|
179 |
+
style: {
|
180 |
+
style: 'Štýl',
|
181 |
+
p: 'Normálny',
|
182 |
+
blockquote: 'Citácia',
|
183 |
+
pre: 'Kód',
|
184 |
+
h1: 'Nadpis 1',
|
185 |
+
h2: 'Nadpis 2',
|
186 |
+
h3: 'Nadpis 3',
|
187 |
+
h4: 'Nadpis 4',
|
188 |
+
h5: 'Nadpis 5',
|
189 |
+
h6: 'Nadpis 6'
|
190 |
+
},
|
191 |
+
lists: {
|
192 |
+
unordered: 'Odrážkový zoznam',
|
193 |
+
ordered: 'Číselný zoznam'
|
194 |
+
},
|
195 |
+
options: {
|
196 |
+
help: 'Pomoc',
|
197 |
+
fullscreen: 'Celá obrazovka',
|
198 |
+
codeview: 'HTML kód'
|
199 |
+
},
|
200 |
+
paragraph: {
|
201 |
+
paragraph: 'Odsek',
|
202 |
+
outdent: 'Zväčšiť odsadenie',
|
203 |
+
indent: 'Zmenšiť odsadenie',
|
204 |
+
left: 'Zarovnať doľava',
|
205 |
+
center: 'Zarovnať na stred',
|
206 |
+
right: 'Zarovnať doprava',
|
207 |
+
justify: 'Zarovnať obojstranne'
|
208 |
+
},
|
209 |
+
color: {
|
210 |
+
recent: 'Aktuálna farba',
|
211 |
+
more: 'Dalšie farby',
|
212 |
+
background: 'Farba pozadia',
|
213 |
+
foreground: 'Farba písma',
|
214 |
+
transparent: 'Priehľadnosť',
|
215 |
+
setTransparent: 'Nastaviť priehľadnosť',
|
216 |
+
reset: 'Obnoviť',
|
217 |
+
resetToDefault: 'Obnoviť prednastavené'
|
218 |
+
},
|
219 |
+
shortcut: {
|
220 |
+
shortcuts: 'Klávesové skratky',
|
221 |
+
close: 'Zavrieť',
|
222 |
+
textFormatting: 'Formátovanie textu',
|
223 |
+
action: 'Akcia',
|
224 |
+
paragraphFormatting: 'Formátovanie odseku',
|
225 |
+
documentStyle: 'Štýl dokumentu'
|
226 |
+
},
|
227 |
+
help: {
|
228 |
+
'insertParagraph': 'Insert Paragraph',
|
229 |
+
'undo': 'Undoes the last command',
|
230 |
+
'redo': 'Redoes the last command',
|
231 |
+
'tab': 'Tab',
|
232 |
+
'untab': 'Untab',
|
233 |
+
'bold': 'Set a bold style',
|
234 |
+
'italic': 'Set a italic style',
|
235 |
+
'underline': 'Set a underline style',
|
236 |
+
'strikethrough': 'Set a strikethrough style',
|
237 |
+
'removeFormat': 'Clean a style',
|
238 |
+
'justifyLeft': 'Set left align',
|
239 |
+
'justifyCenter': 'Set center align',
|
240 |
+
'justifyRight': 'Set right align',
|
241 |
+
'justifyFull': 'Set full align',
|
242 |
+
'insertUnorderedList': 'Toggle unordered list',
|
243 |
+
'insertOrderedList': 'Toggle ordered list',
|
244 |
+
'outdent': 'Outdent on current paragraph',
|
245 |
+
'indent': 'Indent on current paragraph',
|
246 |
+
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
|
247 |
+
'formatH1': 'Change current block\'s format as H1',
|
248 |
+
'formatH2': 'Change current block\'s format as H2',
|
249 |
+
'formatH3': 'Change current block\'s format as H3',
|
250 |
+
'formatH4': 'Change current block\'s format as H4',
|
251 |
+
'formatH5': 'Change current block\'s format as H5',
|
252 |
+
'formatH6': 'Change current block\'s format as H6',
|
253 |
+
'insertHorizontalRule': 'Insert horizontal rule',
|
254 |
+
'linkDialog.show': 'Show Link Dialog'
|
255 |
+
},
|
256 |
+
history: {
|
257 |
+
undo: 'Krok vzad',
|
258 |
+
redo: 'Krok dopredu'
|
259 |
+
},
|
260 |
+
specialChar: {
|
261 |
+
specialChar: 'SPECIAL CHARACTERS',
|
262 |
+
select: 'Select Special characters'
|
263 |
+
}
|
264 |
+
}
|
265 |
+
});
|
266 |
+
})(jQuery);
|
267 |
+
|
268 |
+
/***/ })
|
269 |
+
|
270 |
+
/******/ });
|
271 |
+
});
|
admin/lib/summernote/lang/summernote-sk-SK.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-sk-SK.min.js.LICENSE.txt */
|
2 |
+
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var t=r();for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(window,(function(){return function(e){var r={};function t(o){if(r[o])return r[o].exports;var a=r[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,t),a.l=!0,a.exports}return t.m=e,t.c=r,t.d=function(e,r,o){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:o})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var a in e)t.d(o,a,function(r){return e[r]}.bind(null,a));return o},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=38)}({38:function(e,r){var t;(t=jQuery).extend(t.summernote.lang,{"sk-SK":{font:{bold:"Tučné",italic:"Kurzíva",underline:"Podčiarknutie",clear:"Odstrániť štýl písma",height:"Výška riadku",strikethrough:"Prečiarknuté",subscript:"Subscript",superscript:"Superscript",size:"Veľkosť písma"},image:{image:"Obrázok",insert:"Vložiť obrázok",resizeFull:"Pôvodná veľkosť",resizeHalf:"Polovičná veľkosť",resizeQuarter:"Štvrtinová veľkosť",floatLeft:"Umiestniť doľava",floatRight:"Umiestniť doprava",floatNone:"Bez zarovnania",shapeRounded:"Shape: Rounded",shapeCircle:"Shape: Circle",shapeThumbnail:"Shape: Thumbnail",shapeNone:"Shape: None",dragImageHere:"Pretiahnuť sem obrázok",dropImage:"Drop image or Text",selectFromFiles:"Vybrať súbor",maximumFileSize:"Maximum file size",maximumFileSizeError:"Maximum file size exceeded.",url:"URL obrázku",remove:"Remove Image",original:"Original"},video:{video:"Video",videoLink:"Odkaz videa",insert:"Vložiť video",url:"URL videa?",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion alebo Youku)"},link:{link:"Odkaz",insert:"Vytvoriť odkaz",unlink:"Zrušiť odkaz",edit:"Upraviť",textToDisplay:"Zobrazovaný text",url:"Na akú URL adresu má tento odkaz viesť?",openInNewWindow:"Otvoriť v novom okne"},table:{table:"Tabuľka",addRowAbove:"Add row above",addRowBelow:"Add row below",addColLeft:"Add column left",addColRight:"Add column right",delRow:"Delete row",delCol:"Delete column",delTable:"Delete table"},hr:{insert:"Vložit vodorovnú čiaru"},style:{style:"Štýl",p:"Normálny",blockquote:"Citácia",pre:"Kód",h1:"Nadpis 1",h2:"Nadpis 2",h3:"Nadpis 3",h4:"Nadpis 4",h5:"Nadpis 5",h6:"Nadpis 6"},lists:{unordered:"Odrážkový zoznam",ordered:"Číselný zoznam"},options:{help:"Pomoc",fullscreen:"Celá obrazovka",codeview:"HTML kód"},paragraph:{paragraph:"Odsek",outdent:"Zväčšiť odsadenie",indent:"Zmenšiť odsadenie",left:"Zarovnať doľava",center:"Zarovnať na stred",right:"Zarovnať doprava",justify:"Zarovnať obojstranne"},color:{recent:"Aktuálna farba",more:"Dalšie farby",background:"Farba pozadia",foreground:"Farba písma",transparent:"Priehľadnosť",setTransparent:"Nastaviť priehľadnosť",reset:"Obnoviť",resetToDefault:"Obnoviť prednastavené"},shortcut:{shortcuts:"Klávesové skratky",close:"Zavrieť",textFormatting:"Formátovanie textu",action:"Akcia",paragraphFormatting:"Formátovanie odseku",documentStyle:"Štýl dokumentu"},help:{insertParagraph:"Insert Paragraph",undo:"Undoes the last command",redo:"Redoes the last command",tab:"Tab",untab:"Untab",bold:"Set a bold style",italic:"Set a italic style",underline:"Set a underline style",strikethrough:"Set a strikethrough style",removeFormat:"Clean a style",justifyLeft:"Set left align",justifyCenter:"Set center align",justifyRight:"Set right align",justifyFull:"Set full align",insertUnorderedList:"Toggle unordered list",insertOrderedList:"Toggle ordered list",outdent:"Outdent on current paragraph",indent:"Indent on current paragraph",formatPara:"Change current block's format as a paragraph(P tag)",formatH1:"Change current block's format as H1",formatH2:"Change current block's format as H2",formatH3:"Change current block's format as H3",formatH4:"Change current block's format as H4",formatH5:"Change current block's format as H5",formatH6:"Change current block's format as H6",insertHorizontalRule:"Insert horizontal rule","linkDialog.show":"Show Link Dialog"},history:{undo:"Krok vzad",redo:"Krok dopredu"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"}}})}})}));
|
admin/lib/summernote/lang/summernote-sk-SK.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-sl-SI.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 39);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 39:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'sl-SI': {
|
117 |
+
font: {
|
118 |
+
bold: 'Krepko',
|
119 |
+
italic: 'Ležeče',
|
120 |
+
underline: 'Podčrtano',
|
121 |
+
clear: 'Počisti oblikovanje izbire',
|
122 |
+
height: 'Razmik med vrsticami',
|
123 |
+
name: 'Pisava',
|
124 |
+
strikethrough: 'Prečrtano',
|
125 |
+
subscript: 'Podpisano',
|
126 |
+
superscript: 'Nadpisano',
|
127 |
+
size: 'Velikost pisave'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Slika',
|
131 |
+
insert: 'Vstavi sliko',
|
132 |
+
resizeFull: 'Razširi na polno velikost',
|
133 |
+
resizeHalf: 'Razširi na polovico velikosti',
|
134 |
+
resizeQuarter: 'Razširi na četrtino velikosti',
|
135 |
+
floatLeft: 'Leva poravnava',
|
136 |
+
floatRight: 'Desna poravnava',
|
137 |
+
floatNone: 'Brez poravnave',
|
138 |
+
shapeRounded: 'Shape: Rounded',
|
139 |
+
shapeCircle: 'Shape: Circle',
|
140 |
+
shapeThumbnail: 'Shape: Thumbnail',
|
141 |
+
shapeNone: 'Shape: None',
|
142 |
+
dragImageHere: 'Sem povlecite sliko',
|
143 |
+
dropImage: 'Drop image or Text',
|
144 |
+
selectFromFiles: 'Izberi sliko za nalaganje',
|
145 |
+
maximumFileSize: 'Maximum file size',
|
146 |
+
maximumFileSizeError: 'Maximum file size exceeded.',
|
147 |
+
url: 'URL naslov slike',
|
148 |
+
remove: 'Odstrani sliko',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'Video',
|
153 |
+
videoLink: 'Video povezava',
|
154 |
+
insert: 'Vstavi video',
|
155 |
+
url: 'Povezava do videa',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ali Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'Povezava',
|
160 |
+
insert: 'Vstavi povezavo',
|
161 |
+
unlink: 'Odstrani povezavo',
|
162 |
+
edit: 'Uredi',
|
163 |
+
textToDisplay: 'Prikazano besedilo',
|
164 |
+
url: 'Povezava',
|
165 |
+
openInNewWindow: 'Odpri v novem oknu'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'Tabela',
|
169 |
+
addRowAbove: 'Add row above',
|
170 |
+
addRowBelow: 'Add row below',
|
171 |
+
addColLeft: 'Add column left',
|
172 |
+
addColRight: 'Add column right',
|
173 |
+
delRow: 'Delete row',
|
174 |
+
delCol: 'Delete column',
|
175 |
+
delTable: 'Delete table'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'Vstavi horizontalno črto'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'Slogi',
|
182 |
+
p: 'Navadno besedilo',
|
183 |
+
blockquote: 'Citat',
|
184 |
+
pre: 'Koda',
|
185 |
+
h1: 'Naslov 1',
|
186 |
+
h2: 'Naslov 2',
|
187 |
+
h3: 'Naslov 3',
|
188 |
+
h4: 'Naslov 4',
|
189 |
+
h5: 'Naslov 5',
|
190 |
+
h6: 'Naslov 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'Označen seznam',
|
194 |
+
ordered: 'Oštevilčen seznam'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'Pomoč',
|
198 |
+
fullscreen: 'Celozaslonski način',
|
199 |
+
codeview: 'Pregled HTML kode'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'Slogi odstavka',
|
203 |
+
outdent: 'Zmanjšaj odmik',
|
204 |
+
indent: 'Povečaj odmik',
|
205 |
+
left: 'Leva poravnava',
|
206 |
+
center: 'Desna poravnava',
|
207 |
+
right: 'Sredinska poravnava',
|
208 |
+
justify: 'Obojestranska poravnava'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'Uporabi zadnjo barvo',
|
212 |
+
more: 'Več barv',
|
213 |
+
background: 'Barva ozadja',
|
214 |
+
foreground: 'Barva besedila',
|
215 |
+
transparent: 'Brez barve',
|
216 |
+
setTransparent: 'Brez barve',
|
217 |
+
reset: 'Ponastavi',
|
218 |
+
resetToDefault: 'Ponastavi na privzeto'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: 'Bljižnice',
|
222 |
+
close: 'Zapri',
|
223 |
+
textFormatting: 'Oblikovanje besedila',
|
224 |
+
action: 'Dejanja',
|
225 |
+
paragraphFormatting: 'Oblikovanje odstavka',
|
226 |
+
documentStyle: 'Oblikovanje naslova',
|
227 |
+
extraKeys: 'Extra keys'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
'insertParagraph': 'Insert Paragraph',
|
231 |
+
'undo': 'Undoes the last command',
|
232 |
+
'redo': 'Redoes the last command',
|
233 |
+
'tab': 'Tab',
|
234 |
+
'untab': 'Untab',
|
235 |
+
'bold': 'Set a bold style',
|
236 |
+
'italic': 'Set a italic style',
|
237 |
+
'underline': 'Set a underline style',
|
238 |
+
'strikethrough': 'Set a strikethrough style',
|
239 |
+
'removeFormat': 'Clean a style',
|
240 |
+
'justifyLeft': 'Set left align',
|
241 |
+
'justifyCenter': 'Set center align',
|
242 |
+
'justifyRight': 'Set right align',
|
243 |
+
'justifyFull': 'Set full align',
|
244 |
+
'insertUnorderedList': 'Toggle unordered list',
|
245 |
+
'insertOrderedList': 'Toggle ordered list',
|
246 |
+
'outdent': 'Outdent on current paragraph',
|
247 |
+
'indent': 'Indent on current paragraph',
|
248 |
+
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
|
249 |
+
'formatH1': 'Change current block\'s format as H1',
|
250 |
+
'formatH2': 'Change current block\'s format as H2',
|
251 |
+
'formatH3': 'Change current block\'s format as H3',
|
252 |
+
'formatH4': 'Change current block\'s format as H4',
|
253 |
+
'formatH5': 'Change current block\'s format as H5',
|
254 |
+
'formatH6': 'Change current block\'s format as H6',
|
255 |
+
'insertHorizontalRule': 'Insert horizontal rule',
|
256 |
+
'linkDialog.show': 'Show Link Dialog'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: 'Razveljavi',
|
260 |
+
redo: 'Uveljavi'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: 'SPECIAL CHARACTERS',
|
264 |
+
select: 'Select Special characters'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-sl-SI.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-sl-SI.min.js.LICENSE.txt */
|
2 |
+
!function(e,a){if("object"==typeof exports&&"object"==typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var o=a();for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}}(window,(function(){return function(e){var a={};function o(r){if(a[r])return a[r].exports;var t=a[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,o),t.l=!0,t.exports}return o.m=e,o.c=a,o.d=function(e,a,r){o.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,a){if(1&a&&(e=o(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var t in e)o.d(r,t,function(a){return e[a]}.bind(null,t));return r},o.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(a,"a",a),a},o.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},o.p="",o(o.s=39)}({39:function(e,a){var o;(o=jQuery).extend(o.summernote.lang,{"sl-SI":{font:{bold:"Krepko",italic:"Ležeče",underline:"Podčrtano",clear:"Počisti oblikovanje izbire",height:"Razmik med vrsticami",name:"Pisava",strikethrough:"Prečrtano",subscript:"Podpisano",superscript:"Nadpisano",size:"Velikost pisave"},image:{image:"Slika",insert:"Vstavi sliko",resizeFull:"Razširi na polno velikost",resizeHalf:"Razširi na polovico velikosti",resizeQuarter:"Razširi na četrtino velikosti",floatLeft:"Leva poravnava",floatRight:"Desna poravnava",floatNone:"Brez poravnave",shapeRounded:"Shape: Rounded",shapeCircle:"Shape: Circle",shapeThumbnail:"Shape: Thumbnail",shapeNone:"Shape: None",dragImageHere:"Sem povlecite sliko",dropImage:"Drop image or Text",selectFromFiles:"Izberi sliko za nalaganje",maximumFileSize:"Maximum file size",maximumFileSizeError:"Maximum file size exceeded.",url:"URL naslov slike",remove:"Odstrani sliko",original:"Original"},video:{video:"Video",videoLink:"Video povezava",insert:"Vstavi video",url:"Povezava do videa",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion ali Youku)"},link:{link:"Povezava",insert:"Vstavi povezavo",unlink:"Odstrani povezavo",edit:"Uredi",textToDisplay:"Prikazano besedilo",url:"Povezava",openInNewWindow:"Odpri v novem oknu"},table:{table:"Tabela",addRowAbove:"Add row above",addRowBelow:"Add row below",addColLeft:"Add column left",addColRight:"Add column right",delRow:"Delete row",delCol:"Delete column",delTable:"Delete table"},hr:{insert:"Vstavi horizontalno črto"},style:{style:"Slogi",p:"Navadno besedilo",blockquote:"Citat",pre:"Koda",h1:"Naslov 1",h2:"Naslov 2",h3:"Naslov 3",h4:"Naslov 4",h5:"Naslov 5",h6:"Naslov 6"},lists:{unordered:"Označen seznam",ordered:"Oštevilčen seznam"},options:{help:"Pomoč",fullscreen:"Celozaslonski način",codeview:"Pregled HTML kode"},paragraph:{paragraph:"Slogi odstavka",outdent:"Zmanjšaj odmik",indent:"Povečaj odmik",left:"Leva poravnava",center:"Desna poravnava",right:"Sredinska poravnava",justify:"Obojestranska poravnava"},color:{recent:"Uporabi zadnjo barvo",more:"Več barv",background:"Barva ozadja",foreground:"Barva besedila",transparent:"Brez barve",setTransparent:"Brez barve",reset:"Ponastavi",resetToDefault:"Ponastavi na privzeto"},shortcut:{shortcuts:"Bljižnice",close:"Zapri",textFormatting:"Oblikovanje besedila",action:"Dejanja",paragraphFormatting:"Oblikovanje odstavka",documentStyle:"Oblikovanje naslova",extraKeys:"Extra keys"},help:{insertParagraph:"Insert Paragraph",undo:"Undoes the last command",redo:"Redoes the last command",tab:"Tab",untab:"Untab",bold:"Set a bold style",italic:"Set a italic style",underline:"Set a underline style",strikethrough:"Set a strikethrough style",removeFormat:"Clean a style",justifyLeft:"Set left align",justifyCenter:"Set center align",justifyRight:"Set right align",justifyFull:"Set full align",insertUnorderedList:"Toggle unordered list",insertOrderedList:"Toggle ordered list",outdent:"Outdent on current paragraph",indent:"Indent on current paragraph",formatPara:"Change current block's format as a paragraph(P tag)",formatH1:"Change current block's format as H1",formatH2:"Change current block's format as H2",formatH3:"Change current block's format as H3",formatH4:"Change current block's format as H4",formatH5:"Change current block's format as H5",formatH6:"Change current block's format as H6",insertHorizontalRule:"Insert horizontal rule","linkDialog.show":"Show Link Dialog"},history:{undo:"Razveljavi",redo:"Uveljavi"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"}}})}})}));
|
admin/lib/summernote/lang/summernote-sl-SI.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-sr-RS-Latin.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 40);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 40:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'sr-RS': {
|
117 |
+
font: {
|
118 |
+
bold: 'Podebljano',
|
119 |
+
italic: 'Kurziv',
|
120 |
+
underline: 'Podvučeno',
|
121 |
+
clear: 'Ukloni stilove fonta',
|
122 |
+
height: 'Visina linije',
|
123 |
+
name: 'Font Family',
|
124 |
+
strikethrough: 'Precrtano',
|
125 |
+
subscript: 'Subscript',
|
126 |
+
superscript: 'Superscript',
|
127 |
+
size: 'Veličina fonta'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Slika',
|
131 |
+
insert: 'Umetni sliku',
|
132 |
+
resizeFull: 'Puna veličina',
|
133 |
+
resizeHalf: 'Umanji na 50%',
|
134 |
+
resizeQuarter: 'Umanji na 25%',
|
135 |
+
floatLeft: 'Uz levu ivicu',
|
136 |
+
floatRight: 'Uz desnu ivicu',
|
137 |
+
floatNone: 'Bez ravnanja',
|
138 |
+
shapeRounded: 'Shape: Rounded',
|
139 |
+
shapeCircle: 'Shape: Circle',
|
140 |
+
shapeThumbnail: 'Shape: Thumbnail',
|
141 |
+
shapeNone: 'Shape: None',
|
142 |
+
dragImageHere: 'Prevuci sliku ovde',
|
143 |
+
dropImage: 'Drop image or Text',
|
144 |
+
selectFromFiles: 'Izaberi iz datoteke',
|
145 |
+
maximumFileSize: 'Maximum file size',
|
146 |
+
maximumFileSizeError: 'Maximum file size exceeded.',
|
147 |
+
url: 'Adresa slike',
|
148 |
+
remove: 'Ukloni sliku',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'Video',
|
153 |
+
videoLink: 'Veza ka videu',
|
154 |
+
insert: 'Umetni video',
|
155 |
+
url: 'URL video',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ili Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'Veza',
|
160 |
+
insert: 'Umetni vezu',
|
161 |
+
unlink: 'Ukloni vezu',
|
162 |
+
edit: 'Uredi',
|
163 |
+
textToDisplay: 'Tekst za prikaz',
|
164 |
+
url: 'Internet adresa',
|
165 |
+
openInNewWindow: 'Otvori u novom prozoru'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'Tabela',
|
169 |
+
addRowAbove: 'Add row above',
|
170 |
+
addRowBelow: 'Add row below',
|
171 |
+
addColLeft: 'Add column left',
|
172 |
+
addColRight: 'Add column right',
|
173 |
+
delRow: 'Delete row',
|
174 |
+
delCol: 'Delete column',
|
175 |
+
delTable: 'Delete table'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'Umetni horizontalnu liniju'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'Stil',
|
182 |
+
p: 'pni',
|
183 |
+
blockquote: 'Citat',
|
184 |
+
pre: 'Kod',
|
185 |
+
h1: 'Zaglavlje 1',
|
186 |
+
h2: 'Zaglavlje 2',
|
187 |
+
h3: 'Zaglavlje 3',
|
188 |
+
h4: 'Zaglavlje 4',
|
189 |
+
h5: 'Zaglavlje 5',
|
190 |
+
h6: 'Zaglavlje 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'Obična lista',
|
194 |
+
ordered: 'Numerisana lista'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'Pomoć',
|
198 |
+
fullscreen: 'Preko celog ekrana',
|
199 |
+
codeview: 'Izvorni kod'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'Paragraf',
|
203 |
+
outdent: 'Smanji uvlačenje',
|
204 |
+
indent: 'Povečaj uvlačenje',
|
205 |
+
left: 'Poravnaj u levo',
|
206 |
+
center: 'Centrirano',
|
207 |
+
right: 'Poravnaj u desno',
|
208 |
+
justify: 'Poravnaj obostrano'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'Poslednja boja',
|
212 |
+
more: 'Više boja',
|
213 |
+
background: 'Boja pozadine',
|
214 |
+
foreground: 'Boja teksta',
|
215 |
+
transparent: 'Providna',
|
216 |
+
setTransparent: 'Providna',
|
217 |
+
reset: 'Opoziv',
|
218 |
+
resetToDefault: 'Podrazumevana'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: 'Prečice sa tastature',
|
222 |
+
close: 'Zatvori',
|
223 |
+
textFormatting: 'Formatiranje teksta',
|
224 |
+
action: 'Akcija',
|
225 |
+
paragraphFormatting: 'Formatiranje paragrafa',
|
226 |
+
documentStyle: 'Stil dokumenta',
|
227 |
+
extraKeys: 'Dodatne kombinacije'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
'insertParagraph': 'Insert Paragraph',
|
231 |
+
'undo': 'Undoes the last command',
|
232 |
+
'redo': 'Redoes the last command',
|
233 |
+
'tab': 'Tab',
|
234 |
+
'untab': 'Untab',
|
235 |
+
'bold': 'Set a bold style',
|
236 |
+
'italic': 'Set a italic style',
|
237 |
+
'underline': 'Set a underline style',
|
238 |
+
'strikethrough': 'Set a strikethrough style',
|
239 |
+
'removeFormat': 'Clean a style',
|
240 |
+
'justifyLeft': 'Set left align',
|
241 |
+
'justifyCenter': 'Set center align',
|
242 |
+
'justifyRight': 'Set right align',
|
243 |
+
'justifyFull': 'Set full align',
|
244 |
+
'insertUnorderedList': 'Toggle unordered list',
|
245 |
+
'insertOrderedList': 'Toggle ordered list',
|
246 |
+
'outdent': 'Outdent on current paragraph',
|
247 |
+
'indent': 'Indent on current paragraph',
|
248 |
+
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
|
249 |
+
'formatH1': 'Change current block\'s format as H1',
|
250 |
+
'formatH2': 'Change current block\'s format as H2',
|
251 |
+
'formatH3': 'Change current block\'s format as H3',
|
252 |
+
'formatH4': 'Change current block\'s format as H4',
|
253 |
+
'formatH5': 'Change current block\'s format as H5',
|
254 |
+
'formatH6': 'Change current block\'s format as H6',
|
255 |
+
'insertHorizontalRule': 'Insert horizontal rule',
|
256 |
+
'linkDialog.show': 'Show Link Dialog'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: 'Poništi',
|
260 |
+
redo: 'Ponovi'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: 'SPECIAL CHARACTERS',
|
264 |
+
select: 'Select Special characters'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-sr-RS-Latin.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-sr-RS-Latin.min.js.LICENSE.txt */
|
2 |
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var a=t();for(var r in a)("object"==typeof exports?exports:e)[r]=a[r]}}(window,(function(){return function(e){var t={};function a(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,a),o.l=!0,o.exports}return a.m=e,a.c=t,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)a.d(r,o,function(t){return e[t]}.bind(null,o));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=40)}({40:function(e,t){var a;(a=jQuery).extend(a.summernote.lang,{"sr-RS":{font:{bold:"Podebljano",italic:"Kurziv",underline:"Podvučeno",clear:"Ukloni stilove fonta",height:"Visina linije",name:"Font Family",strikethrough:"Precrtano",subscript:"Subscript",superscript:"Superscript",size:"Veličina fonta"},image:{image:"Slika",insert:"Umetni sliku",resizeFull:"Puna veličina",resizeHalf:"Umanji na 50%",resizeQuarter:"Umanji na 25%",floatLeft:"Uz levu ivicu",floatRight:"Uz desnu ivicu",floatNone:"Bez ravnanja",shapeRounded:"Shape: Rounded",shapeCircle:"Shape: Circle",shapeThumbnail:"Shape: Thumbnail",shapeNone:"Shape: None",dragImageHere:"Prevuci sliku ovde",dropImage:"Drop image or Text",selectFromFiles:"Izaberi iz datoteke",maximumFileSize:"Maximum file size",maximumFileSizeError:"Maximum file size exceeded.",url:"Adresa slike",remove:"Ukloni sliku",original:"Original"},video:{video:"Video",videoLink:"Veza ka videu",insert:"Umetni video",url:"URL video",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion ili Youku)"},link:{link:"Veza",insert:"Umetni vezu",unlink:"Ukloni vezu",edit:"Uredi",textToDisplay:"Tekst za prikaz",url:"Internet adresa",openInNewWindow:"Otvori u novom prozoru"},table:{table:"Tabela",addRowAbove:"Add row above",addRowBelow:"Add row below",addColLeft:"Add column left",addColRight:"Add column right",delRow:"Delete row",delCol:"Delete column",delTable:"Delete table"},hr:{insert:"Umetni horizontalnu liniju"},style:{style:"Stil",p:"pni",blockquote:"Citat",pre:"Kod",h1:"Zaglavlje 1",h2:"Zaglavlje 2",h3:"Zaglavlje 3",h4:"Zaglavlje 4",h5:"Zaglavlje 5",h6:"Zaglavlje 6"},lists:{unordered:"Obična lista",ordered:"Numerisana lista"},options:{help:"Pomoć",fullscreen:"Preko celog ekrana",codeview:"Izvorni kod"},paragraph:{paragraph:"Paragraf",outdent:"Smanji uvlačenje",indent:"Povečaj uvlačenje",left:"Poravnaj u levo",center:"Centrirano",right:"Poravnaj u desno",justify:"Poravnaj obostrano"},color:{recent:"Poslednja boja",more:"Više boja",background:"Boja pozadine",foreground:"Boja teksta",transparent:"Providna",setTransparent:"Providna",reset:"Opoziv",resetToDefault:"Podrazumevana"},shortcut:{shortcuts:"Prečice sa tastature",close:"Zatvori",textFormatting:"Formatiranje teksta",action:"Akcija",paragraphFormatting:"Formatiranje paragrafa",documentStyle:"Stil dokumenta",extraKeys:"Dodatne kombinacije"},help:{insertParagraph:"Insert Paragraph",undo:"Undoes the last command",redo:"Redoes the last command",tab:"Tab",untab:"Untab",bold:"Set a bold style",italic:"Set a italic style",underline:"Set a underline style",strikethrough:"Set a strikethrough style",removeFormat:"Clean a style",justifyLeft:"Set left align",justifyCenter:"Set center align",justifyRight:"Set right align",justifyFull:"Set full align",insertUnorderedList:"Toggle unordered list",insertOrderedList:"Toggle ordered list",outdent:"Outdent on current paragraph",indent:"Indent on current paragraph",formatPara:"Change current block's format as a paragraph(P tag)",formatH1:"Change current block's format as H1",formatH2:"Change current block's format as H2",formatH3:"Change current block's format as H3",formatH4:"Change current block's format as H4",formatH5:"Change current block's format as H5",formatH6:"Change current block's format as H6",insertHorizontalRule:"Insert horizontal rule","linkDialog.show":"Show Link Dialog"},history:{undo:"Poništi",redo:"Ponovi"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"}}})}})}));
|
admin/lib/summernote/lang/summernote-sr-RS-Latin.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-sr-RS.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 41);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 41:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'sr-RS': {
|
117 |
+
font: {
|
118 |
+
bold: 'Подебљано',
|
119 |
+
italic: 'Курзив',
|
120 |
+
underline: 'Подвучено',
|
121 |
+
clear: 'Уклони стилове фонта',
|
122 |
+
height: 'Висина линије',
|
123 |
+
name: 'Font Family',
|
124 |
+
strikethrough: 'Прецртано',
|
125 |
+
subscript: 'Subscript',
|
126 |
+
superscript: 'Superscript',
|
127 |
+
size: 'Величина фонта'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Слика',
|
131 |
+
insert: 'Уметни слику',
|
132 |
+
resizeFull: 'Пуна величина',
|
133 |
+
resizeHalf: 'Умањи на 50%',
|
134 |
+
resizeQuarter: 'Умањи на 25%',
|
135 |
+
floatLeft: 'Уз леву ивицу',
|
136 |
+
floatRight: 'Уз десну ивицу',
|
137 |
+
floatNone: 'Без равнања',
|
138 |
+
shapeRounded: 'Shape: Rounded',
|
139 |
+
shapeCircle: 'Shape: Circle',
|
140 |
+
shapeThumbnail: 'Shape: Thumbnail',
|
141 |
+
shapeNone: 'Shape: None',
|
142 |
+
dragImageHere: 'Превуци слику овде',
|
143 |
+
dropImage: 'Drop image or Text',
|
144 |
+
selectFromFiles: 'Изабери из датотеке',
|
145 |
+
maximumFileSize: 'Maximum file size',
|
146 |
+
maximumFileSizeError: 'Maximum file size exceeded.',
|
147 |
+
url: 'Адреса слике',
|
148 |
+
remove: 'Уклони слику',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'Видео',
|
153 |
+
videoLink: 'Веза ка видеу',
|
154 |
+
insert: 'Уметни видео',
|
155 |
+
url: 'URL видео',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion или Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'Веза',
|
160 |
+
insert: 'Уметни везу',
|
161 |
+
unlink: 'Уклони везу',
|
162 |
+
edit: 'Уреди',
|
163 |
+
textToDisplay: 'Текст за приказ',
|
164 |
+
url: 'Интернет адреса',
|
165 |
+
openInNewWindow: 'Отвори у новом прозору'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'Табела',
|
169 |
+
addRowAbove: 'Add row above',
|
170 |
+
addRowBelow: 'Add row below',
|
171 |
+
addColLeft: 'Add column left',
|
172 |
+
addColRight: 'Add column right',
|
173 |
+
delRow: 'Delete row',
|
174 |
+
delCol: 'Delete column',
|
175 |
+
delTable: 'Delete table'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'Уметни хоризонталну линију'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'Стил',
|
182 |
+
p: 'Нормални',
|
183 |
+
blockquote: 'Цитат',
|
184 |
+
pre: 'Код',
|
185 |
+
h1: 'Заглавље 1',
|
186 |
+
h2: 'Заглавље 2',
|
187 |
+
h3: 'Заглавље 3',
|
188 |
+
h4: 'Заглавље 4',
|
189 |
+
h5: 'Заглавље 5',
|
190 |
+
h6: 'Заглавље 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'Обична листа',
|
194 |
+
ordered: 'Нумерисана листа'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'Помоћ',
|
198 |
+
fullscreen: 'Преко целог екрана',
|
199 |
+
codeview: 'Изворни код'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'Параграф',
|
203 |
+
outdent: 'Смањи увлачење',
|
204 |
+
indent: 'Повечај увлачење',
|
205 |
+
left: 'Поравнај у лево',
|
206 |
+
center: 'Центрирано',
|
207 |
+
right: 'Поравнај у десно',
|
208 |
+
justify: 'Поравнај обострано'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'Последња боја',
|
212 |
+
more: 'Више боја',
|
213 |
+
background: 'Боја позадине',
|
214 |
+
foreground: 'Боја текста',
|
215 |
+
transparent: 'Провидна',
|
216 |
+
setTransparent: 'Провидна',
|
217 |
+
reset: 'Опозив',
|
218 |
+
resetToDefault: 'Подразумевана'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: 'Пречице са тастатуре',
|
222 |
+
close: 'Затвори',
|
223 |
+
textFormatting: 'Форматирање текста',
|
224 |
+
action: 'Акција',
|
225 |
+
paragraphFormatting: 'Форматирање параграфа',
|
226 |
+
documentStyle: 'Стил документа',
|
227 |
+
extraKeys: 'Додатне комбинације'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
'insertParagraph': 'Insert Paragraph',
|
231 |
+
'undo': 'Undoes the last command',
|
232 |
+
'redo': 'Redoes the last command',
|
233 |
+
'tab': 'Tab',
|
234 |
+
'untab': 'Untab',
|
235 |
+
'bold': 'Set a bold style',
|
236 |
+
'italic': 'Set a italic style',
|
237 |
+
'underline': 'Set a underline style',
|
238 |
+
'strikethrough': 'Set a strikethrough style',
|
239 |
+
'removeFormat': 'Clean a style',
|
240 |
+
'justifyLeft': 'Set left align',
|
241 |
+
'justifyCenter': 'Set center align',
|
242 |
+
'justifyRight': 'Set right align',
|
243 |
+
'justifyFull': 'Set full align',
|
244 |
+
'insertUnorderedList': 'Toggle unordered list',
|
245 |
+
'insertOrderedList': 'Toggle ordered list',
|
246 |
+
'outdent': 'Outdent on current paragraph',
|
247 |
+
'indent': 'Indent on current paragraph',
|
248 |
+
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
|
249 |
+
'formatH1': 'Change current block\'s format as H1',
|
250 |
+
'formatH2': 'Change current block\'s format as H2',
|
251 |
+
'formatH3': 'Change current block\'s format as H3',
|
252 |
+
'formatH4': 'Change current block\'s format as H4',
|
253 |
+
'formatH5': 'Change current block\'s format as H5',
|
254 |
+
'formatH6': 'Change current block\'s format as H6',
|
255 |
+
'insertHorizontalRule': 'Insert horizontal rule',
|
256 |
+
'linkDialog.show': 'Show Link Dialog'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: 'Поништи',
|
260 |
+
redo: 'Понови'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: 'SPECIAL CHARACTERS',
|
264 |
+
select: 'Select Special characters'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-sr-RS.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-sr-RS.min.js.LICENSE.txt */
|
2 |
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(window,(function(){return function(e){var t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(o,n,function(t){return e[t]}.bind(null,n));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=41)}({41:function(e,t){var r;(r=jQuery).extend(r.summernote.lang,{"sr-RS":{font:{bold:"Подебљано",italic:"Курзив",underline:"Подвучено",clear:"Уклони стилове фонта",height:"Висина линије",name:"Font Family",strikethrough:"Прецртано",subscript:"Subscript",superscript:"Superscript",size:"Величина фонта"},image:{image:"Слика",insert:"Уметни слику",resizeFull:"Пуна величина",resizeHalf:"Умањи на 50%",resizeQuarter:"Умањи на 25%",floatLeft:"Уз леву ивицу",floatRight:"Уз десну ивицу",floatNone:"Без равнања",shapeRounded:"Shape: Rounded",shapeCircle:"Shape: Circle",shapeThumbnail:"Shape: Thumbnail",shapeNone:"Shape: None",dragImageHere:"Превуци слику овде",dropImage:"Drop image or Text",selectFromFiles:"Изабери из датотеке",maximumFileSize:"Maximum file size",maximumFileSizeError:"Maximum file size exceeded.",url:"Адреса слике",remove:"Уклони слику",original:"Original"},video:{video:"Видео",videoLink:"Веза ка видеу",insert:"Уметни видео",url:"URL видео",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion или Youku)"},link:{link:"Веза",insert:"Уметни везу",unlink:"Уклони везу",edit:"Уреди",textToDisplay:"Текст за приказ",url:"Интернет адреса",openInNewWindow:"Отвори у новом прозору"},table:{table:"Табела",addRowAbove:"Add row above",addRowBelow:"Add row below",addColLeft:"Add column left",addColRight:"Add column right",delRow:"Delete row",delCol:"Delete column",delTable:"Delete table"},hr:{insert:"Уметни хоризонталну линију"},style:{style:"Стил",p:"Нормални",blockquote:"Цитат",pre:"Код",h1:"Заглавље 1",h2:"Заглавље 2",h3:"Заглавље 3",h4:"Заглавље 4",h5:"Заглавље 5",h6:"Заглавље 6"},lists:{unordered:"Обична листа",ordered:"Нумерисана листа"},options:{help:"Помоћ",fullscreen:"Преко целог екрана",codeview:"Изворни код"},paragraph:{paragraph:"Параграф",outdent:"Смањи увлачење",indent:"Повечај увлачење",left:"Поравнај у лево",center:"Центрирано",right:"Поравнај у десно",justify:"Поравнај обострано"},color:{recent:"Последња боја",more:"Више боја",background:"Боја позадине",foreground:"Боја текста",transparent:"Провидна",setTransparent:"Провидна",reset:"Опозив",resetToDefault:"Подразумевана"},shortcut:{shortcuts:"Пречице са тастатуре",close:"Затвори",textFormatting:"Форматирање текста",action:"Акција",paragraphFormatting:"Форматирање параграфа",documentStyle:"Стил документа",extraKeys:"Додатне комбинације"},help:{insertParagraph:"Insert Paragraph",undo:"Undoes the last command",redo:"Redoes the last command",tab:"Tab",untab:"Untab",bold:"Set a bold style",italic:"Set a italic style",underline:"Set a underline style",strikethrough:"Set a strikethrough style",removeFormat:"Clean a style",justifyLeft:"Set left align",justifyCenter:"Set center align",justifyRight:"Set right align",justifyFull:"Set full align",insertUnorderedList:"Toggle unordered list",insertOrderedList:"Toggle ordered list",outdent:"Outdent on current paragraph",indent:"Indent on current paragraph",formatPara:"Change current block's format as a paragraph(P tag)",formatH1:"Change current block's format as H1",formatH2:"Change current block's format as H2",formatH3:"Change current block's format as H3",formatH4:"Change current block's format as H4",formatH5:"Change current block's format as H5",formatH6:"Change current block's format as H6",insertHorizontalRule:"Insert horizontal rule","linkDialog.show":"Show Link Dialog"},history:{undo:"Поништи",redo:"Понови"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"}}})}})}));
|
admin/lib/summernote/lang/summernote-sr-RS.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-sv-SE.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 42);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 42:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'sv-SE': {
|
117 |
+
font: {
|
118 |
+
bold: 'Fet',
|
119 |
+
italic: 'Kursiv',
|
120 |
+
underline: 'Understruken',
|
121 |
+
clear: 'Radera formatering',
|
122 |
+
height: 'Radavstånd',
|
123 |
+
name: 'Teckensnitt',
|
124 |
+
strikethrough: 'Genomstruken',
|
125 |
+
subscript: 'Subscript',
|
126 |
+
superscript: 'Superscript',
|
127 |
+
size: 'Teckenstorlek'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Bild',
|
131 |
+
insert: 'Infoga bild',
|
132 |
+
resizeFull: 'Full storlek',
|
133 |
+
resizeHalf: 'Halv storlek',
|
134 |
+
resizeQuarter: 'En fjärdedel i storlek',
|
135 |
+
floatLeft: 'Vänsterjusterad',
|
136 |
+
floatRight: 'Högerjusterad',
|
137 |
+
floatNone: 'Ingen justering',
|
138 |
+
shapeRounded: 'Shape: Rounded',
|
139 |
+
shapeCircle: 'Shape: Circle',
|
140 |
+
shapeThumbnail: 'Shape: Thumbnail',
|
141 |
+
shapeNone: 'Shape: None',
|
142 |
+
dragImageHere: 'Dra en bild hit',
|
143 |
+
dropImage: 'Drop image or Text',
|
144 |
+
selectFromFiles: 'Välj från filer',
|
145 |
+
maximumFileSize: 'Maximum file size',
|
146 |
+
maximumFileSizeError: 'Maximum file size exceeded.',
|
147 |
+
url: 'Länk till bild',
|
148 |
+
remove: 'Ta bort bild',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'Filmklipp',
|
153 |
+
videoLink: 'Länk till filmklipp',
|
154 |
+
insert: 'Infoga filmklipp',
|
155 |
+
url: 'Länk till filmklipp',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion eller Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'Länk',
|
160 |
+
insert: 'Infoga länk',
|
161 |
+
unlink: 'Ta bort länk',
|
162 |
+
edit: 'Redigera',
|
163 |
+
textToDisplay: 'Visningstext',
|
164 |
+
url: 'Till vilken URL ska denna länk peka?',
|
165 |
+
openInNewWindow: 'Öppna i ett nytt fönster'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'Tabell',
|
169 |
+
addRowAbove: 'Add row above',
|
170 |
+
addRowBelow: 'Add row below',
|
171 |
+
addColLeft: 'Add column left',
|
172 |
+
addColRight: 'Add column right',
|
173 |
+
delRow: 'Delete row',
|
174 |
+
delCol: 'Delete column',
|
175 |
+
delTable: 'Delete table'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'Infoga horisontell linje'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'Stil',
|
182 |
+
p: 'p',
|
183 |
+
blockquote: 'Citat',
|
184 |
+
pre: 'Kod',
|
185 |
+
h1: 'Rubrik 1',
|
186 |
+
h2: 'Rubrik 2',
|
187 |
+
h3: 'Rubrik 3',
|
188 |
+
h4: 'Rubrik 4',
|
189 |
+
h5: 'Rubrik 5',
|
190 |
+
h6: 'Rubrik 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'Punktlista',
|
194 |
+
ordered: 'Numrerad lista'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'Hjälp',
|
198 |
+
fullscreen: 'Fullskärm',
|
199 |
+
codeview: 'HTML-visning'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'Justera text',
|
203 |
+
outdent: 'Minska indrag',
|
204 |
+
indent: 'Öka indrag',
|
205 |
+
left: 'Vänsterjusterad',
|
206 |
+
center: 'Centrerad',
|
207 |
+
right: 'Högerjusterad',
|
208 |
+
justify: 'Justera text'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'Senast använda färg',
|
212 |
+
more: 'Fler färger',
|
213 |
+
background: 'Bakgrundsfärg',
|
214 |
+
foreground: 'Teckenfärg',
|
215 |
+
transparent: 'Genomskinlig',
|
216 |
+
setTransparent: 'Gör genomskinlig',
|
217 |
+
reset: 'Nollställ',
|
218 |
+
resetToDefault: 'Återställ till standard'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: 'Kortkommandon',
|
222 |
+
close: 'Stäng',
|
223 |
+
textFormatting: 'Textformatering',
|
224 |
+
action: 'Funktion',
|
225 |
+
paragraphFormatting: 'Avsnittsformatering',
|
226 |
+
documentStyle: 'Dokumentstil',
|
227 |
+
extraKeys: 'Extra keys'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
'insertParagraph': 'Insert Paragraph',
|
231 |
+
'undo': 'Undoes the last command',
|
232 |
+
'redo': 'Redoes the last command',
|
233 |
+
'tab': 'Tab',
|
234 |
+
'untab': 'Untab',
|
235 |
+
'bold': 'Set a bold style',
|
236 |
+
'italic': 'Set a italic style',
|
237 |
+
'underline': 'Set a underline style',
|
238 |
+
'strikethrough': 'Set a strikethrough style',
|
239 |
+
'removeFormat': 'Clean a style',
|
240 |
+
'justifyLeft': 'Set left align',
|
241 |
+
'justifyCenter': 'Set center align',
|
242 |
+
'justifyRight': 'Set right align',
|
243 |
+
'justifyFull': 'Set full align',
|
244 |
+
'insertUnorderedList': 'Toggle unordered list',
|
245 |
+
'insertOrderedList': 'Toggle ordered list',
|
246 |
+
'outdent': 'Outdent on current paragraph',
|
247 |
+
'indent': 'Indent on current paragraph',
|
248 |
+
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
|
249 |
+
'formatH1': 'Change current block\'s format as H1',
|
250 |
+
'formatH2': 'Change current block\'s format as H2',
|
251 |
+
'formatH3': 'Change current block\'s format as H3',
|
252 |
+
'formatH4': 'Change current block\'s format as H4',
|
253 |
+
'formatH5': 'Change current block\'s format as H5',
|
254 |
+
'formatH6': 'Change current block\'s format as H6',
|
255 |
+
'insertHorizontalRule': 'Insert horizontal rule',
|
256 |
+
'linkDialog.show': 'Show Link Dialog'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: 'Ångra',
|
260 |
+
redo: 'Gör om'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: 'SPECIAL CHARACTERS',
|
264 |
+
select: 'Select Special characters'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-sv-SE.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-sv-SE.min.js.LICENSE.txt */
|
2 |
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(window,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=42)}({42:function(e,t){var r;(r=jQuery).extend(r.summernote.lang,{"sv-SE":{font:{bold:"Fet",italic:"Kursiv",underline:"Understruken",clear:"Radera formatering",height:"Radavstånd",name:"Teckensnitt",strikethrough:"Genomstruken",subscript:"Subscript",superscript:"Superscript",size:"Teckenstorlek"},image:{image:"Bild",insert:"Infoga bild",resizeFull:"Full storlek",resizeHalf:"Halv storlek",resizeQuarter:"En fjärdedel i storlek",floatLeft:"Vänsterjusterad",floatRight:"Högerjusterad",floatNone:"Ingen justering",shapeRounded:"Shape: Rounded",shapeCircle:"Shape: Circle",shapeThumbnail:"Shape: Thumbnail",shapeNone:"Shape: None",dragImageHere:"Dra en bild hit",dropImage:"Drop image or Text",selectFromFiles:"Välj från filer",maximumFileSize:"Maximum file size",maximumFileSizeError:"Maximum file size exceeded.",url:"Länk till bild",remove:"Ta bort bild",original:"Original"},video:{video:"Filmklipp",videoLink:"Länk till filmklipp",insert:"Infoga filmklipp",url:"Länk till filmklipp",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion eller Youku)"},link:{link:"Länk",insert:"Infoga länk",unlink:"Ta bort länk",edit:"Redigera",textToDisplay:"Visningstext",url:"Till vilken URL ska denna länk peka?",openInNewWindow:"Öppna i ett nytt fönster"},table:{table:"Tabell",addRowAbove:"Add row above",addRowBelow:"Add row below",addColLeft:"Add column left",addColRight:"Add column right",delRow:"Delete row",delCol:"Delete column",delTable:"Delete table"},hr:{insert:"Infoga horisontell linje"},style:{style:"Stil",p:"p",blockquote:"Citat",pre:"Kod",h1:"Rubrik 1",h2:"Rubrik 2",h3:"Rubrik 3",h4:"Rubrik 4",h5:"Rubrik 5",h6:"Rubrik 6"},lists:{unordered:"Punktlista",ordered:"Numrerad lista"},options:{help:"Hjälp",fullscreen:"Fullskärm",codeview:"HTML-visning"},paragraph:{paragraph:"Justera text",outdent:"Minska indrag",indent:"Öka indrag",left:"Vänsterjusterad",center:"Centrerad",right:"Högerjusterad",justify:"Justera text"},color:{recent:"Senast använda färg",more:"Fler färger",background:"Bakgrundsfärg",foreground:"Teckenfärg",transparent:"Genomskinlig",setTransparent:"Gör genomskinlig",reset:"Nollställ",resetToDefault:"Återställ till standard"},shortcut:{shortcuts:"Kortkommandon",close:"Stäng",textFormatting:"Textformatering",action:"Funktion",paragraphFormatting:"Avsnittsformatering",documentStyle:"Dokumentstil",extraKeys:"Extra keys"},help:{insertParagraph:"Insert Paragraph",undo:"Undoes the last command",redo:"Redoes the last command",tab:"Tab",untab:"Untab",bold:"Set a bold style",italic:"Set a italic style",underline:"Set a underline style",strikethrough:"Set a strikethrough style",removeFormat:"Clean a style",justifyLeft:"Set left align",justifyCenter:"Set center align",justifyRight:"Set right align",justifyFull:"Set full align",insertUnorderedList:"Toggle unordered list",insertOrderedList:"Toggle ordered list",outdent:"Outdent on current paragraph",indent:"Indent on current paragraph",formatPara:"Change current block's format as a paragraph(P tag)",formatH1:"Change current block's format as H1",formatH2:"Change current block's format as H2",formatH3:"Change current block's format as H3",formatH4:"Change current block's format as H4",formatH5:"Change current block's format as H5",formatH6:"Change current block's format as H6",insertHorizontalRule:"Insert horizontal rule","linkDialog.show":"Show Link Dialog"},history:{undo:"Ångra",redo:"Gör om"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"}}})}})}));
|
admin/lib/summernote/lang/summernote-sv-SE.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-ta-IN.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 43);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 43:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'ta-IN': {
|
117 |
+
font: {
|
118 |
+
bold: 'தடித்த',
|
119 |
+
italic: 'சாய்வு',
|
120 |
+
underline: 'அடிக்கோடு',
|
121 |
+
clear: 'நீக்கு',
|
122 |
+
height: 'வரி உயரம்',
|
123 |
+
name: 'எழுத்துரு பெயர்',
|
124 |
+
strikethrough: 'குறுக்குக் கோடு',
|
125 |
+
size: 'எழுத்துரு அளவு',
|
126 |
+
superscript: 'மேல் ஒட்டு',
|
127 |
+
subscript: 'கீழ் ஒட்டு'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'படம்',
|
131 |
+
insert: 'படத்தை செருகு',
|
132 |
+
resizeFull: 'முழு அளவை',
|
133 |
+
resizeHalf: 'அரை அளவை',
|
134 |
+
resizeQuarter: 'கால் அளவை',
|
135 |
+
floatLeft: 'இடப்பக்கமாக வை',
|
136 |
+
floatRight: 'வலப்பக்கமாக வை',
|
137 |
+
floatNone: 'இயல்புநிலையில் வை',
|
138 |
+
shapeRounded: 'வட்டமான வடிவம்',
|
139 |
+
shapeCircle: 'வட்ட வடிவம்',
|
140 |
+
shapeThumbnail: 'சிறு வடிவம்',
|
141 |
+
shapeNone: 'வடிவத்தை நீக்கு',
|
142 |
+
dragImageHere: 'படத்தை இங்கே இழுத்துவை',
|
143 |
+
dropImage: 'படத்தை விடு',
|
144 |
+
selectFromFiles: 'கோப்புகளை தேர்வு செய்',
|
145 |
+
maximumFileSize: 'அதிகபட்ச கோப்பு அளவு',
|
146 |
+
maximumFileSizeError: 'கோப்பு அதிகபட்ச அளவை மீறிவிட்டது',
|
147 |
+
url: 'இணையதள முகவரி',
|
148 |
+
remove: 'படத்தை நீக்கு',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'காணொளி',
|
153 |
+
videoLink: 'காணொளி இணைப்பு',
|
154 |
+
insert: 'காணொளியை செருகு',
|
155 |
+
url: 'இணையதள முகவரி',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion or Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'இணைப்பு',
|
160 |
+
insert: 'இணைப்பை செருகு',
|
161 |
+
unlink: 'இணைப்பை நீக்கு',
|
162 |
+
edit: 'இணைப்பை தொகு',
|
163 |
+
textToDisplay: 'காட்சி வாசகம்',
|
164 |
+
url: 'இணையதள முகவரி',
|
165 |
+
openInNewWindow: 'புதிய சாளரத்தில் திறக்க'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'அட்டவணை',
|
169 |
+
addRowAbove: 'Add row above',
|
170 |
+
addRowBelow: 'Add row below',
|
171 |
+
addColLeft: 'Add column left',
|
172 |
+
addColRight: 'Add column right',
|
173 |
+
delRow: 'Delete row',
|
174 |
+
delCol: 'Delete column',
|
175 |
+
delTable: 'Delete table'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'கிடைமட்ட கோடு'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'தொகுப்பு',
|
182 |
+
p: 'பத்தி',
|
183 |
+
blockquote: 'மேற்கோள்',
|
184 |
+
pre: 'குறியீடு',
|
185 |
+
h1: 'தலைப்பு 1',
|
186 |
+
h2: 'தலைப்பு 2',
|
187 |
+
h3: 'தலைப்பு 3',
|
188 |
+
h4: 'தலைப்பு 4',
|
189 |
+
h5: 'தலைப்பு 5',
|
190 |
+
h6: 'தலைப்பு 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'வரிசையிடாத',
|
194 |
+
ordered: 'வரிசையிட்ட'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'உதவி',
|
198 |
+
fullscreen: 'முழுத்திரை',
|
199 |
+
codeview: 'நிரலாக்க காட்சி'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'பத்தி',
|
203 |
+
outdent: 'வெளித்தள்ளு',
|
204 |
+
indent: 'உள்ளே தள்ளு',
|
205 |
+
left: 'இடது சீரமைப்பு',
|
206 |
+
center: 'நடு சீரமைப்பு',
|
207 |
+
right: 'வலது சீரமைப்பு',
|
208 |
+
justify: 'இருபுற சீரமைப்பு'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'அண்மை நிறம்',
|
212 |
+
more: 'மேலும்',
|
213 |
+
background: 'பின்புல நிறம்',
|
214 |
+
foreground: 'முன்புற நிறம்',
|
215 |
+
transparent: 'தெளிமையான',
|
216 |
+
setTransparent: 'தெளிமையாக்கு',
|
217 |
+
reset: 'மீட்டமைக்க',
|
218 |
+
resetToDefault: 'இயல்புநிலைக்கு மீட்டமை'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: 'குறுக்குவழி',
|
222 |
+
close: 'மூடு',
|
223 |
+
textFormatting: 'எழுத்து வடிவமைப்பு',
|
224 |
+
action: 'செயல்படுத்து',
|
225 |
+
paragraphFormatting: 'பத்தி வடிவமைப்பு',
|
226 |
+
documentStyle: 'ஆவண பாணி',
|
227 |
+
extraKeys: 'Extra keys'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
'insertParagraph': 'Insert Paragraph',
|
231 |
+
'undo': 'Undoes the last command',
|
232 |
+
'redo': 'Redoes the last command',
|
233 |
+
'tab': 'Tab',
|
234 |
+
'untab': 'Untab',
|
235 |
+
'bold': 'Set a bold style',
|
236 |
+
'italic': 'Set a italic style',
|
237 |
+
'underline': 'Set a underline style',
|
238 |
+
'strikethrough': 'Set a strikethrough style',
|
239 |
+
'removeFormat': 'Clean a style',
|
240 |
+
'justifyLeft': 'Set left align',
|
241 |
+
'justifyCenter': 'Set center align',
|
242 |
+
'justifyRight': 'Set right align',
|
243 |
+
'justifyFull': 'Set full align',
|
244 |
+
'insertUnorderedList': 'Toggle unordered list',
|
245 |
+
'insertOrderedList': 'Toggle ordered list',
|
246 |
+
'outdent': 'Outdent on current paragraph',
|
247 |
+
'indent': 'Indent on current paragraph',
|
248 |
+
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
|
249 |
+
'formatH1': 'Change current block\'s format as H1',
|
250 |
+
'formatH2': 'Change current block\'s format as H2',
|
251 |
+
'formatH3': 'Change current block\'s format as H3',
|
252 |
+
'formatH4': 'Change current block\'s format as H4',
|
253 |
+
'formatH5': 'Change current block\'s format as H5',
|
254 |
+
'formatH6': 'Change current block\'s format as H6',
|
255 |
+
'insertHorizontalRule': 'Insert horizontal rule',
|
256 |
+
'linkDialog.show': 'Show Link Dialog'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: 'மீளமை',
|
260 |
+
redo: 'மீண்டும்'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: 'SPECIAL CHARACTERS',
|
264 |
+
select: 'Select Special characters'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-ta-IN.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-ta-IN.min.js.LICENSE.txt */
|
2 |
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(window,(function(){return function(e){var t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(o,n,function(t){return e[t]}.bind(null,n));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=43)}({43:function(e,t){var r;(r=jQuery).extend(r.summernote.lang,{"ta-IN":{font:{bold:"தடித்த",italic:"சாய்வு",underline:"அடிக்கோடு",clear:"நீக்கு",height:"வரி உயரம்",name:"எழுத்துரு பெயர்",strikethrough:"குறுக்குக் கோடு",size:"எழுத்துரு அளவு",superscript:"மேல் ஒட்டு",subscript:"கீழ் ஒட்டு"},image:{image:"படம்",insert:"படத்தை செருகு",resizeFull:"முழு அளவை",resizeHalf:"அரை அளவை",resizeQuarter:"கால் அளவை",floatLeft:"இடப்பக்கமாக வை",floatRight:"வலப்பக்கமாக வை",floatNone:"இயல்புநிலையில் வை",shapeRounded:"வட்டமான வடிவம்",shapeCircle:"வட்ட வடிவம்",shapeThumbnail:"சிறு வடிவம்",shapeNone:"வடிவத்தை நீக்கு",dragImageHere:"படத்தை இங்கே இழுத்துவை",dropImage:"படத்தை விடு",selectFromFiles:"கோப்புகளை தேர்வு செய்",maximumFileSize:"அதிகபட்ச கோப்பு அளவு",maximumFileSizeError:"கோப்பு அதிகபட்ச அளவை மீறிவிட்டது",url:"இணையதள முகவரி",remove:"படத்தை நீக்கு",original:"Original"},video:{video:"காணொளி",videoLink:"காணொளி இணைப்பு",insert:"காணொளியை செருகு",url:"இணையதள முகவரி",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion or Youku)"},link:{link:"இணைப்பு",insert:"இணைப்பை செருகு",unlink:"இணைப்பை நீக்கு",edit:"இணைப்பை தொகு",textToDisplay:"காட்சி வாசகம்",url:"இணையதள முகவரி",openInNewWindow:"புதிய சாளரத்தில் திறக்க"},table:{table:"அட்டவணை",addRowAbove:"Add row above",addRowBelow:"Add row below",addColLeft:"Add column left",addColRight:"Add column right",delRow:"Delete row",delCol:"Delete column",delTable:"Delete table"},hr:{insert:"கிடைமட்ட கோடு"},style:{style:"தொகுப்பு",p:"பத்தி",blockquote:"மேற்கோள்",pre:"குறியீடு",h1:"தலைப்பு 1",h2:"தலைப்பு 2",h3:"தலைப்பு 3",h4:"தலைப்பு 4",h5:"தலைப்பு 5",h6:"தலைப்பு 6"},lists:{unordered:"வரிசையிடாத",ordered:"வரிசையிட்ட"},options:{help:"உதவி",fullscreen:"முழுத்திரை",codeview:"நிரலாக்க காட்சி"},paragraph:{paragraph:"பத்தி",outdent:"வெளித்தள்ளு",indent:"உள்ளே தள்ளு",left:"இடது சீரமைப்பு",center:"நடு சீரமைப்பு",right:"வலது சீரமைப்பு",justify:"இருபுற சீரமைப்பு"},color:{recent:"அண்மை நிறம்",more:"மேலும்",background:"பின்புல நிறம்",foreground:"முன்புற நிறம்",transparent:"தெளிமையான",setTransparent:"தெளிமையாக்கு",reset:"மீட்டமைக்க",resetToDefault:"இயல்புநிலைக்கு மீட்டமை"},shortcut:{shortcuts:"குறுக்குவழி",close:"மூடு",textFormatting:"எழுத்து வடிவமைப்பு",action:"செயல்படுத்து",paragraphFormatting:"பத்தி வடிவமைப்பு",documentStyle:"ஆவண பாணி",extraKeys:"Extra keys"},help:{insertParagraph:"Insert Paragraph",undo:"Undoes the last command",redo:"Redoes the last command",tab:"Tab",untab:"Untab",bold:"Set a bold style",italic:"Set a italic style",underline:"Set a underline style",strikethrough:"Set a strikethrough style",removeFormat:"Clean a style",justifyLeft:"Set left align",justifyCenter:"Set center align",justifyRight:"Set right align",justifyFull:"Set full align",insertUnorderedList:"Toggle unordered list",insertOrderedList:"Toggle ordered list",outdent:"Outdent on current paragraph",indent:"Indent on current paragraph",formatPara:"Change current block's format as a paragraph(P tag)",formatH1:"Change current block's format as H1",formatH2:"Change current block's format as H2",formatH3:"Change current block's format as H3",formatH4:"Change current block's format as H4",formatH5:"Change current block's format as H5",formatH6:"Change current block's format as H6",insertHorizontalRule:"Insert horizontal rule","linkDialog.show":"Show Link Dialog"},history:{undo:"மீளமை",redo:"மீண்டும்"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"}}})}})}));
|
admin/lib/summernote/lang/summernote-ta-IN.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-th-TH.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 44);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 44:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'th-TH': {
|
117 |
+
font: {
|
118 |
+
bold: 'ตัวหนา',
|
119 |
+
italic: 'ตัวเอียง',
|
120 |
+
underline: 'ขีดเส้นใต้',
|
121 |
+
clear: 'ล้างรูปแบบตัวอักษร',
|
122 |
+
height: 'ความสูงบรรทัด',
|
123 |
+
name: 'แบบตัวอักษร',
|
124 |
+
strikethrough: 'ขีดฆ่า',
|
125 |
+
subscript: 'ตัวห้อย',
|
126 |
+
superscript: 'ตัวยก',
|
127 |
+
size: 'ขนาดตัวอักษร'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'รูปภาพ',
|
131 |
+
insert: 'แทรกรูปภาพ',
|
132 |
+
resizeFull: 'ปรับขนาดเท่าจริง',
|
133 |
+
resizeHalf: 'ปรับขนาดลง 50%',
|
134 |
+
resizeQuarter: 'ปรับขนาดลง 25%',
|
135 |
+
floatLeft: 'ชิดซ้าย',
|
136 |
+
floatRight: 'ชิดขวา',
|
137 |
+
floatNone: 'ไม่จัดตำแหน่ง',
|
138 |
+
shapeRounded: 'Shape: Rounded',
|
139 |
+
shapeCircle: 'Shape: Circle',
|
140 |
+
shapeThumbnail: 'Shape: Thumbnail',
|
141 |
+
shapeNone: 'Shape: None',
|
142 |
+
dragImageHere: 'ลากรูปภาพที่ต้องการไว้ที่นี่',
|
143 |
+
dropImage: 'วางรูปภาพหรือข้อความ',
|
144 |
+
selectFromFiles: 'เลือกไฟล์รูปภาพ',
|
145 |
+
maximumFileSize: 'ขนาดไฟล์ใหญ่สุด',
|
146 |
+
maximumFileSizeError: 'ไฟล์เกินขนาดที่กำหนด',
|
147 |
+
url: 'ที่อยู่ URL ของรูปภาพ',
|
148 |
+
remove: 'ลบรูปภาพ',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'วีดีโอ',
|
153 |
+
videoLink: 'ลิงก์ของวีดีโอ',
|
154 |
+
insert: 'แทรกวีดีโอ',
|
155 |
+
url: 'ที่อยู่ URL ของวีดีโอ',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion หรือ Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'ตัวเชื่อมโยง',
|
160 |
+
insert: 'แทรกตัวเชื่อมโยง',
|
161 |
+
unlink: 'ยกเลิกตัวเชื่อมโยง',
|
162 |
+
edit: 'แก้ไข',
|
163 |
+
textToDisplay: 'ข้อความที่ให้แสดง',
|
164 |
+
url: 'ที่อยู่เว็บไซต์ที่ต้องการให้เชื่อมโยงไปถึง?',
|
165 |
+
openInNewWindow: 'เปิดในหน้าต่างใหม่'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'ตาราง',
|
169 |
+
addRowAbove: 'เพิ่มแถวด้านบน',
|
170 |
+
addRowBelow: 'เพิ่มแถวด้านล่าง',
|
171 |
+
addColLeft: 'เพิ่มคอลัมน์ด้านซ้าย',
|
172 |
+
addColRight: 'เพิ่มคอลัมน์ด้านขวา',
|
173 |
+
delRow: 'ลบแถว',
|
174 |
+
delCol: 'ลบคอลัมน์',
|
175 |
+
delTable: 'ลบตาราง'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'แทรกเส้นคั่น'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'รูปแบบ',
|
182 |
+
p: 'ปกติ',
|
183 |
+
blockquote: 'ข้อความ',
|
184 |
+
pre: 'โค้ด',
|
185 |
+
h1: 'หัวข้อ 1',
|
186 |
+
h2: 'หัวข้อ 2',
|
187 |
+
h3: 'หัวข้อ 3',
|
188 |
+
h4: 'หัวข้อ 4',
|
189 |
+
h5: 'หัวข้อ 5',
|
190 |
+
h6: 'หัวข้อ 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'รายการแบบไม่มีลำดับ',
|
194 |
+
ordered: 'รายการแบบมีลำดับ'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'ช่วยเหลือ',
|
198 |
+
fullscreen: 'ขยายเต็มหน้าจอ',
|
199 |
+
codeview: 'ซอร์สโค้ด'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'ย่อหน้า',
|
203 |
+
outdent: 'เยื้องซ้าย',
|
204 |
+
indent: 'เยื้องขวา',
|
205 |
+
left: 'จัดหน้าชิดซ้าย',
|
206 |
+
center: 'จัดหน้ากึ่งกลาง',
|
207 |
+
right: 'จัดหน้าชิดขวา',
|
208 |
+
justify: 'จัดบรรทัดเสมอกัน'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'สีที่ใช้ล่าสุด',
|
212 |
+
more: 'สีอื่นๆ',
|
213 |
+
background: 'สีพื้นหลัง',
|
214 |
+
foreground: 'สีพื้นหน้า',
|
215 |
+
transparent: 'โปร่งแสง',
|
216 |
+
setTransparent: 'ตั้งค่าความโปร่งแสง',
|
217 |
+
reset: 'คืนค่า',
|
218 |
+
resetToDefault: 'คืนค่ามาตรฐาน'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: 'แป้นลัด',
|
222 |
+
close: 'ปิด',
|
223 |
+
textFormatting: 'การจัดรูปแบบข้อความ',
|
224 |
+
action: 'การกระทำ',
|
225 |
+
paragraphFormatting: 'การจัดรูปแบบย่อหน้า',
|
226 |
+
documentStyle: 'รูปแบบของเอกสาร',
|
227 |
+
extraKeys: 'Extra keys'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
'insertParagraph': 'Insert Paragraph',
|
231 |
+
'undo': 'Undoes the last command',
|
232 |
+
'redo': 'Redoes the last command',
|
233 |
+
'tab': 'Tab',
|
234 |
+
'untab': 'Untab',
|
235 |
+
'bold': 'ทำตัวหนา',
|
236 |
+
'italic': 'ทำตัวเอียง',
|
237 |
+
'underline': 'Set a underline style',
|
238 |
+
'strikethrough': 'Set a strikethrough style',
|
239 |
+
'removeFormat': 'Clean a style',
|
240 |
+
'justifyLeft': 'Set left align',
|
241 |
+
'justifyCenter': 'Set center align',
|
242 |
+
'justifyRight': 'Set right align',
|
243 |
+
'justifyFull': 'Set full align',
|
244 |
+
'insertUnorderedList': 'Toggle unordered list',
|
245 |
+
'insertOrderedList': 'Toggle ordered list',
|
246 |
+
'outdent': 'Outdent on current paragraph',
|
247 |
+
'indent': 'Indent on current paragraph',
|
248 |
+
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
|
249 |
+
'formatH1': 'เปลี่ยนรูปแบบบล็อคปัจจุบันเป็น H1',
|
250 |
+
'formatH2': 'เปลี่ยนรูปแบบบล็อคปัจจุบันเป็น H2',
|
251 |
+
'formatH3': 'เปลี่ยนรูปแบบบล็อคปัจจุบันเป็น H3',
|
252 |
+
'formatH4': 'เปลี่ยนรูปแบบบล็อคปัจจุบันเป็น H4',
|
253 |
+
'formatH5': 'เปลี่ยนรูปแบบบล็อคปัจจุบันเป็น H5',
|
254 |
+
'formatH6': 'เปลี่ยนรูปแบบบล็อคปัจจุบันเป็น H6',
|
255 |
+
'insertHorizontalRule': 'Insert horizontal rule',
|
256 |
+
'linkDialog.show': 'เปิดหน้าแก้ไข Link'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: 'ยกเลิกการกระทำ',
|
260 |
+
redo: 'ทำซ้ำการกระทำ'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: 'SPECIAL CHARACTERS',
|
264 |
+
select: 'Select Special characters'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-th-TH.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-th-TH.min.js.LICENSE.txt */
|
2 |
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(window,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=44)}({44:function(e,t){var r;(r=jQuery).extend(r.summernote.lang,{"th-TH":{font:{bold:"ตัวหนา",italic:"ตัวเอียง",underline:"ขีดเส้นใต้",clear:"ล้างรูปแบบตัวอักษร",height:"ความสูงบรรทัด",name:"แบบตัวอักษร",strikethrough:"ขีดฆ่า",subscript:"ตัวห้อย",superscript:"ตัวยก",size:"ขนาดตัวอักษร"},image:{image:"รูปภาพ",insert:"แทรกรูปภาพ",resizeFull:"ปรับขนาดเท่าจริง",resizeHalf:"ปรับขนาดลง 50%",resizeQuarter:"ปรับขนาดลง 25%",floatLeft:"ชิดซ้าย",floatRight:"ชิดขวา",floatNone:"ไม่จัดตำแหน่ง",shapeRounded:"Shape: Rounded",shapeCircle:"Shape: Circle",shapeThumbnail:"Shape: Thumbnail",shapeNone:"Shape: None",dragImageHere:"ลากรูปภาพที่ต้องการไว้ที่นี่",dropImage:"วางรูปภาพหรือข้อความ",selectFromFiles:"เลือกไฟล์รูปภาพ",maximumFileSize:"ขนาดไฟล์ใหญ่สุด",maximumFileSizeError:"ไฟล์เกินขนาดที่กำหนด",url:"ที่อยู่ URL ของรูปภาพ",remove:"ลบรูปภาพ",original:"Original"},video:{video:"วีดีโอ",videoLink:"ลิงก์ของวีดีโอ",insert:"แทรกวีดีโอ",url:"ที่อยู่ URL ของวีดีโอ",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion หรือ Youku)"},link:{link:"ตัวเชื่อมโยง",insert:"แทรกตัวเชื่อมโยง",unlink:"ยกเลิกตัวเชื่อมโยง",edit:"แก้ไข",textToDisplay:"ข้อความที่ให้แสดง",url:"ที่อยู่เว็บไซต์ที่ต้องการให้เชื่อมโยงไปถึง?",openInNewWindow:"เปิดในหน้าต่างใหม่"},table:{table:"ตาราง",addRowAbove:"เพิ่มแถวด้านบน",addRowBelow:"เพิ่มแถวด้านล่าง",addColLeft:"เพิ่มคอลัมน์ด้านซ้าย",addColRight:"เพิ่มคอลัมน์ด้านขวา",delRow:"ลบแถว",delCol:"ลบคอลัมน์",delTable:"ลบตาราง"},hr:{insert:"แทรกเส้นคั่น"},style:{style:"รูปแบบ",p:"ปกติ",blockquote:"ข้อความ",pre:"โค้ด",h1:"หัวข้อ 1",h2:"หัวข้อ 2",h3:"หัวข้อ 3",h4:"หัวข้อ 4",h5:"หัวข้อ 5",h6:"หัวข้อ 6"},lists:{unordered:"รายการแบบไม่มีลำดับ",ordered:"รายการแบบมีลำดับ"},options:{help:"ช่วยเหลือ",fullscreen:"ขยายเต็มหน้าจอ",codeview:"ซอร์สโค้ด"},paragraph:{paragraph:"ย่อหน้า",outdent:"เยื้องซ้าย",indent:"เยื้องขวา",left:"จัดหน้าชิดซ้าย",center:"จัดหน้ากึ่งกลาง",right:"จัดหน้าชิดขวา",justify:"จัดบรรทัดเสมอกัน"},color:{recent:"สีที่ใช้ล่าสุด",more:"สีอื่นๆ",background:"สีพื้นหลัง",foreground:"สีพื้นหน้า",transparent:"โปร่งแสง",setTransparent:"ตั้งค่าความโปร่งแสง",reset:"คืนค่า",resetToDefault:"คืนค่ามาตรฐาน"},shortcut:{shortcuts:"แป้นลัด",close:"ปิด",textFormatting:"การจัดรูปแบบข้อความ",action:"การกระทำ",paragraphFormatting:"การจัดรูปแบบย่อหน้า",documentStyle:"รูปแบบของเอกสาร",extraKeys:"Extra keys"},help:{insertParagraph:"Insert Paragraph",undo:"Undoes the last command",redo:"Redoes the last command",tab:"Tab",untab:"Untab",bold:"ทำตัวหนา",italic:"ทำตัวเอียง",underline:"Set a underline style",strikethrough:"Set a strikethrough style",removeFormat:"Clean a style",justifyLeft:"Set left align",justifyCenter:"Set center align",justifyRight:"Set right align",justifyFull:"Set full align",insertUnorderedList:"Toggle unordered list",insertOrderedList:"Toggle ordered list",outdent:"Outdent on current paragraph",indent:"Indent on current paragraph",formatPara:"Change current block's format as a paragraph(P tag)",formatH1:"เปลี่ยนรูปแบบบล็อคปัจจุบันเป็น H1",formatH2:"เปลี่ยนรูปแบบบล็อคปัจจุบันเป็น H2",formatH3:"เปลี่ยนรูปแบบบล็อคปัจจุบันเป็น H3",formatH4:"เปลี่ยนรูปแบบบล็อคปัจจุบันเป็น H4",formatH5:"เปลี่ยนรูปแบบบล็อคปัจจุบันเป็น H5",formatH6:"เปลี่ยนรูปแบบบล็อคปัจจุบันเป็น H6",insertHorizontalRule:"Insert horizontal rule","linkDialog.show":"เปิดหน้าแก้ไข Link"},history:{undo:"ยกเลิกการกระทำ",redo:"ทำซ้ำการกระทำ"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"}}})}})}));
|
admin/lib/summernote/lang/summernote-th-TH.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-tr-TR.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 45);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 45:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'tr-TR': {
|
117 |
+
font: {
|
118 |
+
bold: 'Kalın',
|
119 |
+
italic: 'İtalik',
|
120 |
+
underline: 'Altı çizili',
|
121 |
+
clear: 'Temizle',
|
122 |
+
height: 'Satır yüksekliği',
|
123 |
+
name: 'Yazı Tipi',
|
124 |
+
strikethrough: 'Üstü çizili',
|
125 |
+
subscript: 'Alt Simge',
|
126 |
+
superscript: 'Üst Simge',
|
127 |
+
size: 'Yazı tipi boyutu'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Resim',
|
131 |
+
insert: 'Resim ekle',
|
132 |
+
resizeFull: 'Orjinal boyut',
|
133 |
+
resizeHalf: '1/2 boyut',
|
134 |
+
resizeQuarter: '1/4 boyut',
|
135 |
+
floatLeft: 'Sola hizala',
|
136 |
+
floatRight: 'Sağa hizala',
|
137 |
+
floatNone: 'Hizalamayı kaldır',
|
138 |
+
shapeRounded: 'Şekil: Yuvarlatılmış Köşe',
|
139 |
+
shapeCircle: 'Şekil: Daire',
|
140 |
+
shapeThumbnail: 'Şekil: K.Resim',
|
141 |
+
shapeNone: 'Şekil: Yok',
|
142 |
+
dragImageHere: 'Buraya sürükleyin',
|
143 |
+
dropImage: 'Resim veya metni bırakın',
|
144 |
+
selectFromFiles: 'Dosya seçin',
|
145 |
+
maximumFileSize: 'Maksimum dosya boyutu',
|
146 |
+
maximumFileSizeError: 'Maksimum dosya boyutu aşıldı.',
|
147 |
+
url: 'Resim bağlantısı',
|
148 |
+
remove: 'Resimi Kaldır',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'Video',
|
153 |
+
videoLink: 'Video bağlantısı',
|
154 |
+
insert: 'Video ekle',
|
155 |
+
url: 'Video bağlantısı?',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion veya Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'Bağlantı',
|
160 |
+
insert: 'Bağlantı ekle',
|
161 |
+
unlink: 'Bağlantıyı kaldır',
|
162 |
+
edit: 'Bağlantıyı düzenle',
|
163 |
+
textToDisplay: 'Görüntülemek için',
|
164 |
+
url: 'Bağlantı adresi?',
|
165 |
+
openInNewWindow: 'Yeni pencerede aç'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'Tablo',
|
169 |
+
addRowAbove: 'Yukarı satır ekle',
|
170 |
+
addRowBelow: 'Aşağı satır ekle',
|
171 |
+
addColLeft: 'Sola sütun ekle',
|
172 |
+
addColRight: 'Sağa sütun ekle',
|
173 |
+
delRow: 'Satırı sil',
|
174 |
+
delCol: 'Sütunu sil',
|
175 |
+
delTable: 'Tabloyu sil'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'Yatay çizgi ekle'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'Biçim',
|
182 |
+
p: 'p',
|
183 |
+
blockquote: 'Alıntı',
|
184 |
+
pre: 'Önbiçimli',
|
185 |
+
h1: 'Başlık 1',
|
186 |
+
h2: 'Başlık 2',
|
187 |
+
h3: 'Başlık 3',
|
188 |
+
h4: 'Başlık 4',
|
189 |
+
h5: 'Başlık 5',
|
190 |
+
h6: 'Başlık 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'Madde işaretli liste',
|
194 |
+
ordered: 'Numaralı liste'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'Yardım',
|
198 |
+
fullscreen: 'Tam ekran',
|
199 |
+
codeview: 'HTML Kodu'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'Paragraf',
|
203 |
+
outdent: 'Girintiyi artır',
|
204 |
+
indent: 'Girintiyi azalt',
|
205 |
+
left: 'Sola hizala',
|
206 |
+
center: 'Ortaya hizala',
|
207 |
+
right: 'Sağa hizala',
|
208 |
+
justify: 'Yasla'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'Son renk',
|
212 |
+
more: 'Daha fazla renk',
|
213 |
+
background: 'Arka plan rengi',
|
214 |
+
foreground: 'Yazı rengi',
|
215 |
+
transparent: 'Seffaflık',
|
216 |
+
setTransparent: 'Şeffaflığı ayarla',
|
217 |
+
reset: 'Sıfırla',
|
218 |
+
resetToDefault: 'Varsayılanlara sıfırla'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: 'Kısayollar',
|
222 |
+
close: 'Kapat',
|
223 |
+
textFormatting: 'Yazı biçimlendirme',
|
224 |
+
action: 'Eylem',
|
225 |
+
paragraphFormatting: 'Paragraf biçimlendirme',
|
226 |
+
documentStyle: 'Biçim',
|
227 |
+
extraKeys: 'İlave anahtarlar'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
'insertParagraph': 'Paragraf ekler',
|
231 |
+
'undo': 'Son komudu geri alır',
|
232 |
+
'redo': 'Son komudu yineler',
|
233 |
+
'tab': 'Girintiyi artırır',
|
234 |
+
'untab': 'Girintiyi azaltır',
|
235 |
+
'bold': 'Kalın yazma stilini ayarlar',
|
236 |
+
'italic': 'İtalik yazma stilini ayarlar',
|
237 |
+
'underline': 'Altı çizgili yazma stilini ayarlar',
|
238 |
+
'strikethrough': 'Üstü çizgili yazma stilini ayarlar',
|
239 |
+
'removeFormat': 'Biçimlendirmeyi temizler',
|
240 |
+
'justifyLeft': 'Yazıyı sola hizalar',
|
241 |
+
'justifyCenter': 'Yazıyı ortalar',
|
242 |
+
'justifyRight': 'Yazıyı sağa hizalar',
|
243 |
+
'justifyFull': 'Yazıyı her iki tarafa yazlar',
|
244 |
+
'insertUnorderedList': 'Madde işaretli liste ekler',
|
245 |
+
'insertOrderedList': 'Numaralı liste ekler',
|
246 |
+
'outdent': 'Aktif paragrafın girintisini azaltır',
|
247 |
+
'indent': 'Aktif paragrafın girintisini artırır',
|
248 |
+
'formatPara': 'Aktif bloğun biçimini paragraf (p) olarak değiştirir',
|
249 |
+
'formatH1': 'Aktif bloğun biçimini başlık 1 (h1) olarak değiştirir',
|
250 |
+
'formatH2': 'Aktif bloğun biçimini başlık 2 (h2) olarak değiştirir',
|
251 |
+
'formatH3': 'Aktif bloğun biçimini başlık 3 (h3) olarak değiştirir',
|
252 |
+
'formatH4': 'Aktif bloğun biçimini başlık 4 (h4) olarak değiştirir',
|
253 |
+
'formatH5': 'Aktif bloğun biçimini başlık 5 (h5) olarak değiştirir',
|
254 |
+
'formatH6': 'Aktif bloğun biçimini başlık 6 (h6) olarak değiştirir',
|
255 |
+
'insertHorizontalRule': 'Yatay çizgi ekler',
|
256 |
+
'linkDialog.show': 'Bağlantı ayar kutusunu gösterir'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: 'Geri al',
|
260 |
+
redo: 'Yinele'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: 'ÖZEL KARAKTERLER',
|
264 |
+
select: 'Özel Karakterleri seçin'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-tr-TR.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-tr-TR.min.js.LICENSE.txt */
|
2 |
+
!function(e,a){if("object"==typeof exports&&"object"==typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var i=a();for(var r in i)("object"==typeof exports?exports:e)[r]=i[r]}}(window,(function(){return function(e){var a={};function i(r){if(a[r])return a[r].exports;var t=a[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}return i.m=e,i.c=a,i.d=function(e,a,r){i.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:r})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,a){if(1&a&&(e=i(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var t in e)i.d(r,t,function(a){return e[a]}.bind(null,t));return r},i.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(a,"a",a),a},i.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},i.p="",i(i.s=45)}({45:function(e,a){var i;(i=jQuery).extend(i.summernote.lang,{"tr-TR":{font:{bold:"Kalın",italic:"İtalik",underline:"Altı çizili",clear:"Temizle",height:"Satır yüksekliği",name:"Yazı Tipi",strikethrough:"Üstü çizili",subscript:"Alt Simge",superscript:"Üst Simge",size:"Yazı tipi boyutu"},image:{image:"Resim",insert:"Resim ekle",resizeFull:"Orjinal boyut",resizeHalf:"1/2 boyut",resizeQuarter:"1/4 boyut",floatLeft:"Sola hizala",floatRight:"Sağa hizala",floatNone:"Hizalamayı kaldır",shapeRounded:"Şekil: Yuvarlatılmış Köşe",shapeCircle:"Şekil: Daire",shapeThumbnail:"Şekil: K.Resim",shapeNone:"Şekil: Yok",dragImageHere:"Buraya sürükleyin",dropImage:"Resim veya metni bırakın",selectFromFiles:"Dosya seçin",maximumFileSize:"Maksimum dosya boyutu",maximumFileSizeError:"Maksimum dosya boyutu aşıldı.",url:"Resim bağlantısı",remove:"Resimi Kaldır",original:"Original"},video:{video:"Video",videoLink:"Video bağlantısı",insert:"Video ekle",url:"Video bağlantısı?",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion veya Youku)"},link:{link:"Bağlantı",insert:"Bağlantı ekle",unlink:"Bağlantıyı kaldır",edit:"Bağlantıyı düzenle",textToDisplay:"Görüntülemek için",url:"Bağlantı adresi?",openInNewWindow:"Yeni pencerede aç"},table:{table:"Tablo",addRowAbove:"Yukarı satır ekle",addRowBelow:"Aşağı satır ekle",addColLeft:"Sola sütun ekle",addColRight:"Sağa sütun ekle",delRow:"Satırı sil",delCol:"Sütunu sil",delTable:"Tabloyu sil"},hr:{insert:"Yatay çizgi ekle"},style:{style:"Biçim",p:"p",blockquote:"Alıntı",pre:"Önbiçimli",h1:"Başlık 1",h2:"Başlık 2",h3:"Başlık 3",h4:"Başlık 4",h5:"Başlık 5",h6:"Başlık 6"},lists:{unordered:"Madde işaretli liste",ordered:"Numaralı liste"},options:{help:"Yardım",fullscreen:"Tam ekran",codeview:"HTML Kodu"},paragraph:{paragraph:"Paragraf",outdent:"Girintiyi artır",indent:"Girintiyi azalt",left:"Sola hizala",center:"Ortaya hizala",right:"Sağa hizala",justify:"Yasla"},color:{recent:"Son renk",more:"Daha fazla renk",background:"Arka plan rengi",foreground:"Yazı rengi",transparent:"Seffaflık",setTransparent:"Şeffaflığı ayarla",reset:"Sıfırla",resetToDefault:"Varsayılanlara sıfırla"},shortcut:{shortcuts:"Kısayollar",close:"Kapat",textFormatting:"Yazı biçimlendirme",action:"Eylem",paragraphFormatting:"Paragraf biçimlendirme",documentStyle:"Biçim",extraKeys:"İlave anahtarlar"},help:{insertParagraph:"Paragraf ekler",undo:"Son komudu geri alır",redo:"Son komudu yineler",tab:"Girintiyi artırır",untab:"Girintiyi azaltır",bold:"Kalın yazma stilini ayarlar",italic:"İtalik yazma stilini ayarlar",underline:"Altı çizgili yazma stilini ayarlar",strikethrough:"Üstü çizgili yazma stilini ayarlar",removeFormat:"Biçimlendirmeyi temizler",justifyLeft:"Yazıyı sola hizalar",justifyCenter:"Yazıyı ortalar",justifyRight:"Yazıyı sağa hizalar",justifyFull:"Yazıyı her iki tarafa yazlar",insertUnorderedList:"Madde işaretli liste ekler",insertOrderedList:"Numaralı liste ekler",outdent:"Aktif paragrafın girintisini azaltır",indent:"Aktif paragrafın girintisini artırır",formatPara:"Aktif bloğun biçimini paragraf (p) olarak değiştirir",formatH1:"Aktif bloğun biçimini başlık 1 (h1) olarak değiştirir",formatH2:"Aktif bloğun biçimini başlık 2 (h2) olarak değiştirir",formatH3:"Aktif bloğun biçimini başlık 3 (h3) olarak değiştirir",formatH4:"Aktif bloğun biçimini başlık 4 (h4) olarak değiştirir",formatH5:"Aktif bloğun biçimini başlık 5 (h5) olarak değiştirir",formatH6:"Aktif bloğun biçimini başlık 6 (h6) olarak değiştirir",insertHorizontalRule:"Yatay çizgi ekler","linkDialog.show":"Bağlantı ayar kutusunu gösterir"},history:{undo:"Geri al",redo:"Yinele"},specialChar:{specialChar:"ÖZEL KARAKTERLER",select:"Özel Karakterleri seçin"}}})}})}));
|
admin/lib/summernote/lang/summernote-tr-TR.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-uk-UA.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 46);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 46:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'uk-UA': {
|
117 |
+
font: {
|
118 |
+
bold: 'Напівжирний',
|
119 |
+
italic: 'Курсив',
|
120 |
+
underline: 'Підкреслений',
|
121 |
+
clear: 'Прибрати стилі шрифту',
|
122 |
+
height: 'Висота лінії',
|
123 |
+
name: 'Шрифт',
|
124 |
+
strikethrough: 'Закреслений',
|
125 |
+
subscript: 'Нижній індекс',
|
126 |
+
superscript: 'Верхній індекс',
|
127 |
+
size: 'Розмір шрифту'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Картинка',
|
131 |
+
insert: 'Вставити картинку',
|
132 |
+
resizeFull: 'Відновити розмір',
|
133 |
+
resizeHalf: 'Зменшити до 50%',
|
134 |
+
resizeQuarter: 'Зменшити до 25%',
|
135 |
+
floatLeft: 'Розташувати ліворуч',
|
136 |
+
floatRight: 'Розташувати праворуч',
|
137 |
+
floatNone: 'Початкове розташування',
|
138 |
+
shapeRounded: 'Форма: Заокруглена',
|
139 |
+
shapeCircle: 'Форма: Коло',
|
140 |
+
shapeThumbnail: 'Форма: Мініатюра',
|
141 |
+
shapeNone: 'Форма: Немає',
|
142 |
+
dragImageHere: 'Перетягніть сюди картинку',
|
143 |
+
dropImage: 'Перетягніть картинку',
|
144 |
+
selectFromFiles: 'Вибрати з файлів',
|
145 |
+
maximumFileSize: 'Maximum file size',
|
146 |
+
maximumFileSizeError: 'Maximum file size exceeded.',
|
147 |
+
url: 'URL картинки',
|
148 |
+
remove: 'Видалити картинку',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'Відео',
|
153 |
+
videoLink: 'Посилання на відео',
|
154 |
+
insert: 'Вставити відео',
|
155 |
+
url: 'URL відео',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion чи Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'Посилання',
|
160 |
+
insert: 'Вставити посилання',
|
161 |
+
unlink: 'Прибрати посилання',
|
162 |
+
edit: 'Редагувати',
|
163 |
+
textToDisplay: 'Текст, що відображається',
|
164 |
+
url: 'URL для переходу',
|
165 |
+
openInNewWindow: 'Відкривати у новому вікні'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'Таблиця',
|
169 |
+
addRowAbove: 'Add row above',
|
170 |
+
addRowBelow: 'Add row below',
|
171 |
+
addColLeft: 'Add column left',
|
172 |
+
addColRight: 'Add column right',
|
173 |
+
delRow: 'Delete row',
|
174 |
+
delCol: 'Delete column',
|
175 |
+
delTable: 'Delete table'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'Вставити горизонтальну лінію'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'Стиль',
|
182 |
+
p: 'Нормальний',
|
183 |
+
blockquote: 'Цитата',
|
184 |
+
pre: 'Код',
|
185 |
+
h1: 'Заголовок 1',
|
186 |
+
h2: 'Заголовок 2',
|
187 |
+
h3: 'Заголовок 3',
|
188 |
+
h4: 'Заголовок 4',
|
189 |
+
h5: 'Заголовок 5',
|
190 |
+
h6: 'Заголовок 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'Маркований список',
|
194 |
+
ordered: 'Нумерований список'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'Допомога',
|
198 |
+
fullscreen: 'На весь екран',
|
199 |
+
codeview: 'Початковий код'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'Параграф',
|
203 |
+
outdent: 'Зменшити відступ',
|
204 |
+
indent: 'Збільшити відступ',
|
205 |
+
left: 'Вирівняти по лівому краю',
|
206 |
+
center: 'Вирівняти по центру',
|
207 |
+
right: 'Вирівняти по правому краю',
|
208 |
+
justify: 'Розтягнути по ширині'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'Останній колір',
|
212 |
+
more: 'Ще кольори',
|
213 |
+
background: 'Колір фону',
|
214 |
+
foreground: 'Колір шрифту',
|
215 |
+
transparent: 'Прозорий',
|
216 |
+
setTransparent: 'Зробити прозорим',
|
217 |
+
reset: 'Відновити',
|
218 |
+
resetToDefault: 'Відновити початкові'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: 'Комбінації клавіш',
|
222 |
+
close: 'Закрити',
|
223 |
+
textFormatting: 'Форматування тексту',
|
224 |
+
action: 'Дія',
|
225 |
+
paragraphFormatting: 'Форматування параграфу',
|
226 |
+
documentStyle: 'Стиль документу',
|
227 |
+
extraKeys: 'Extra keys'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
'insertParagraph': 'Insert Paragraph',
|
231 |
+
'undo': 'Undoes the last command',
|
232 |
+
'redo': 'Redoes the last command',
|
233 |
+
'tab': 'Tab',
|
234 |
+
'untab': 'Untab',
|
235 |
+
'bold': 'Set a bold style',
|
236 |
+
'italic': 'Set a italic style',
|
237 |
+
'underline': 'Set a underline style',
|
238 |
+
'strikethrough': 'Set a strikethrough style',
|
239 |
+
'removeFormat': 'Clean a style',
|
240 |
+
'justifyLeft': 'Set left align',
|
241 |
+
'justifyCenter': 'Set center align',
|
242 |
+
'justifyRight': 'Set right align',
|
243 |
+
'justifyFull': 'Set full align',
|
244 |
+
'insertUnorderedList': 'Toggle unordered list',
|
245 |
+
'insertOrderedList': 'Toggle ordered list',
|
246 |
+
'outdent': 'Outdent on current paragraph',
|
247 |
+
'indent': 'Indent on current paragraph',
|
248 |
+
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
|
249 |
+
'formatH1': 'Change current block\'s format as H1',
|
250 |
+
'formatH2': 'Change current block\'s format as H2',
|
251 |
+
'formatH3': 'Change current block\'s format as H3',
|
252 |
+
'formatH4': 'Change current block\'s format as H4',
|
253 |
+
'formatH5': 'Change current block\'s format as H5',
|
254 |
+
'formatH6': 'Change current block\'s format as H6',
|
255 |
+
'insertHorizontalRule': 'Insert horizontal rule',
|
256 |
+
'linkDialog.show': 'Show Link Dialog'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: 'Відмінити',
|
260 |
+
redo: 'Повторити'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: 'SPECIAL CHARACTERS',
|
264 |
+
select: 'Select Special characters'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-uk-UA.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-uk-UA.min.js.LICENSE.txt */
|
2 |
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(window,(function(){return function(e){var t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(o,n,function(t){return e[t]}.bind(null,n));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=46)}({46:function(e,t){var r;(r=jQuery).extend(r.summernote.lang,{"uk-UA":{font:{bold:"Напівжирний",italic:"Курсив",underline:"Підкреслений",clear:"Прибрати стилі шрифту",height:"Висота лінії",name:"Шрифт",strikethrough:"Закреслений",subscript:"Нижній індекс",superscript:"Верхній індекс",size:"Розмір шрифту"},image:{image:"Картинка",insert:"Вставити картинку",resizeFull:"Відновити розмір",resizeHalf:"Зменшити до 50%",resizeQuarter:"Зменшити до 25%",floatLeft:"Розташувати ліворуч",floatRight:"Розташувати праворуч",floatNone:"Початкове розташування",shapeRounded:"Форма: Заокруглена",shapeCircle:"Форма: Коло",shapeThumbnail:"Форма: Мініатюра",shapeNone:"Форма: Немає",dragImageHere:"Перетягніть сюди картинку",dropImage:"Перетягніть картинку",selectFromFiles:"Вибрати з файлів",maximumFileSize:"Maximum file size",maximumFileSizeError:"Maximum file size exceeded.",url:"URL картинки",remove:"Видалити картинку",original:"Original"},video:{video:"Відео",videoLink:"Посилання на відео",insert:"Вставити відео",url:"URL відео",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion чи Youku)"},link:{link:"Посилання",insert:"Вставити посилання",unlink:"Прибрати посилання",edit:"Редагувати",textToDisplay:"Текст, що відображається",url:"URL для переходу",openInNewWindow:"Відкривати у новому вікні"},table:{table:"Таблиця",addRowAbove:"Add row above",addRowBelow:"Add row below",addColLeft:"Add column left",addColRight:"Add column right",delRow:"Delete row",delCol:"Delete column",delTable:"Delete table"},hr:{insert:"Вставити горизонтальну лінію"},style:{style:"Стиль",p:"Нормальний",blockquote:"Цитата",pre:"Код",h1:"Заголовок 1",h2:"Заголовок 2",h3:"Заголовок 3",h4:"Заголовок 4",h5:"Заголовок 5",h6:"Заголовок 6"},lists:{unordered:"Маркований список",ordered:"Нумерований список"},options:{help:"Допомога",fullscreen:"На весь екран",codeview:"Початковий код"},paragraph:{paragraph:"Параграф",outdent:"Зменшити відступ",indent:"Збільшити відступ",left:"Вирівняти по лівому краю",center:"Вирівняти по центру",right:"Вирівняти по правому краю",justify:"Розтягнути по ширині"},color:{recent:"Останній колір",more:"Ще кольори",background:"Колір фону",foreground:"Колір шрифту",transparent:"Прозорий",setTransparent:"Зробити прозорим",reset:"Відновити",resetToDefault:"Відновити початкові"},shortcut:{shortcuts:"Комбінації клавіш",close:"Закрити",textFormatting:"Форматування тексту",action:"Дія",paragraphFormatting:"Форматування параграфу",documentStyle:"Стиль документу",extraKeys:"Extra keys"},help:{insertParagraph:"Insert Paragraph",undo:"Undoes the last command",redo:"Redoes the last command",tab:"Tab",untab:"Untab",bold:"Set a bold style",italic:"Set a italic style",underline:"Set a underline style",strikethrough:"Set a strikethrough style",removeFormat:"Clean a style",justifyLeft:"Set left align",justifyCenter:"Set center align",justifyRight:"Set right align",justifyFull:"Set full align",insertUnorderedList:"Toggle unordered list",insertOrderedList:"Toggle ordered list",outdent:"Outdent on current paragraph",indent:"Indent on current paragraph",formatPara:"Change current block's format as a paragraph(P tag)",formatH1:"Change current block's format as H1",formatH2:"Change current block's format as H2",formatH3:"Change current block's format as H3",formatH4:"Change current block's format as H4",formatH5:"Change current block's format as H5",formatH6:"Change current block's format as H6",insertHorizontalRule:"Insert horizontal rule","linkDialog.show":"Show Link Dialog"},history:{undo:"Відмінити",redo:"Повторити"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"}}})}})}));
|
admin/lib/summernote/lang/summernote-uk-UA.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-uz-UZ.js
ADDED
@@ -0,0 +1,230 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 47);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 47:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'uz-UZ': {
|
117 |
+
font: {
|
118 |
+
bold: 'қалин',
|
119 |
+
italic: 'Курсив',
|
120 |
+
underline: 'Белгиланган',
|
121 |
+
clear: 'Ҳарф турларини олиб ташлаш',
|
122 |
+
height: 'Чизиқ баландлиги',
|
123 |
+
name: 'Ҳарф',
|
124 |
+
strikethrough: 'Ўчирилган',
|
125 |
+
subscript: 'Пастки индекс',
|
126 |
+
superscript: 'Юқори индекс',
|
127 |
+
size: 'ҳарф ҳажми'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Расм',
|
131 |
+
insert: 'расмни қўйиш',
|
132 |
+
resizeFull: 'Ҳажмни тиклаш',
|
133 |
+
resizeHalf: '50% гача кичрайтириш',
|
134 |
+
resizeQuarter: '25% гача кичрайтириш',
|
135 |
+
floatLeft: 'Чапда жойлаштириш',
|
136 |
+
floatRight: 'Ўнгда жойлаштириш',
|
137 |
+
floatNone: 'Стандарт бўйича жойлашув',
|
138 |
+
shapeRounded: 'Шакли: Юмалоқ',
|
139 |
+
shapeCircle: 'Шакли: Доира',
|
140 |
+
shapeThumbnail: 'Шакли: Миниатюра',
|
141 |
+
shapeNone: 'Шакли: Йўқ',
|
142 |
+
dragImageHere: 'Суратни кўчириб ўтинг',
|
143 |
+
dropImage: 'Суратни кўчириб ўтинг',
|
144 |
+
selectFromFiles: 'Файллардан бирини танлаш',
|
145 |
+
url: 'суратлар URL и',
|
146 |
+
remove: 'Суратни ўчириш'
|
147 |
+
},
|
148 |
+
video: {
|
149 |
+
video: 'Видео',
|
150 |
+
videoLink: 'Видеога ҳавола',
|
151 |
+
insert: 'Видео',
|
152 |
+
url: 'URL видео',
|
153 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion или Youku)'
|
154 |
+
},
|
155 |
+
link: {
|
156 |
+
link: 'Ҳавола',
|
157 |
+
insert: 'Ҳаволани қўйиш',
|
158 |
+
unlink: 'Ҳаволани олиб ташлаш',
|
159 |
+
edit: 'Таҳрир қилиш',
|
160 |
+
textToDisplay: 'Кўринадиган матн',
|
161 |
+
url: 'URL ўтиш учун',
|
162 |
+
openInNewWindow: 'Янги дарчада очиш'
|
163 |
+
},
|
164 |
+
table: {
|
165 |
+
table: 'Жадвал'
|
166 |
+
},
|
167 |
+
hr: {
|
168 |
+
insert: 'Горизонтал чизиқни қўйиш'
|
169 |
+
},
|
170 |
+
style: {
|
171 |
+
style: 'Услуб',
|
172 |
+
p: 'Яхши',
|
173 |
+
blockquote: 'Жумла',
|
174 |
+
pre: 'Код',
|
175 |
+
h1: 'Сарлавҳа 1',
|
176 |
+
h2: 'Сарлавҳа 2',
|
177 |
+
h3: 'Сарлавҳа 3',
|
178 |
+
h4: 'Сарлавҳа 4',
|
179 |
+
h5: 'Сарлавҳа 5',
|
180 |
+
h6: 'Сарлавҳа 6'
|
181 |
+
},
|
182 |
+
lists: {
|
183 |
+
unordered: 'Белгиланган рўйҳат',
|
184 |
+
ordered: 'Рақамланган рўйҳат'
|
185 |
+
},
|
186 |
+
options: {
|
187 |
+
help: 'Ёрдам',
|
188 |
+
fullscreen: 'Бутун экран бўйича',
|
189 |
+
codeview: 'Бошланғич код'
|
190 |
+
},
|
191 |
+
paragraph: {
|
192 |
+
paragraph: 'Параграф',
|
193 |
+
outdent: 'Орқага қайтишни камайтириш',
|
194 |
+
indent: 'Орқага қайтишни кўпайтириш',
|
195 |
+
left: 'Чап қирғоққа тўғрилаш',
|
196 |
+
center: 'Марказга тўғрилаш',
|
197 |
+
right: 'Ўнг қирғоққа тўғрилаш',
|
198 |
+
justify: 'Эни бўйлаб чўзиш'
|
199 |
+
},
|
200 |
+
color: {
|
201 |
+
recent: 'Охирги ранг',
|
202 |
+
more: 'Яна ранглар',
|
203 |
+
background: 'Фон ранги',
|
204 |
+
foreground: 'Ҳарф ранги',
|
205 |
+
transparent: 'Шаффоф',
|
206 |
+
setTransparent: 'Шаффофдай қилиш',
|
207 |
+
reset: 'Бекор қилиш',
|
208 |
+
resetToDefault: 'Стандартга оид тиклаш'
|
209 |
+
},
|
210 |
+
shortcut: {
|
211 |
+
shortcuts: 'Клавишларнинг ҳамохҳанглиги',
|
212 |
+
close: 'Ёпиқ',
|
213 |
+
textFormatting: 'Матнни ',
|
214 |
+
action: 'Ҳаркат',
|
215 |
+
paragraphFormatting: 'Параграфни форматлаш',
|
216 |
+
documentStyle: 'Ҳужжатнинг тури',
|
217 |
+
extraKeys: 'Қўшимча имкониятлар'
|
218 |
+
},
|
219 |
+
history: {
|
220 |
+
undo: 'Бекор қилиш',
|
221 |
+
redo: 'Қайтариш'
|
222 |
+
}
|
223 |
+
}
|
224 |
+
});
|
225 |
+
})(jQuery);
|
226 |
+
|
227 |
+
/***/ })
|
228 |
+
|
229 |
+
/******/ });
|
230 |
+
});
|
admin/lib/summernote/lang/summernote-uz-UZ.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-uz-UZ.min.js.LICENSE.txt */
|
2 |
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(window,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=47)}({47:function(e,t){var r;(r=jQuery).extend(r.summernote.lang,{"uz-UZ":{font:{bold:"қалин",italic:"Курсив",underline:"Белгиланган",clear:"Ҳарф турларини олиб ташлаш",height:"Чизиқ баландлиги",name:"Ҳарф",strikethrough:"Ўчирилган",subscript:"Пастки индекс",superscript:"Юқори индекс",size:"ҳарф ҳажми"},image:{image:"Расм",insert:"расмни қўйиш",resizeFull:"Ҳажмни тиклаш",resizeHalf:"50% гача кичрайтириш",resizeQuarter:"25% гача кичрайтириш",floatLeft:"Чапда жойлаштириш",floatRight:"Ўнгда жойлаштириш",floatNone:"Стандарт бўйича жойлашув",shapeRounded:"Шакли: Юмалоқ",shapeCircle:"Шакли: Доира",shapeThumbnail:"Шакли: Миниатюра",shapeNone:"Шакли: Йўқ",dragImageHere:"Суратни кўчириб ўтинг",dropImage:"Суратни кўчириб ўтинг",selectFromFiles:"Файллардан бирини танлаш",url:"суратлар URL и",remove:"Суратни ўчириш"},video:{video:"Видео",videoLink:"Видеога ҳавола",insert:"Видео",url:"URL видео",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion или Youku)"},link:{link:"Ҳавола",insert:"Ҳаволани қўйиш",unlink:"Ҳаволани олиб ташлаш",edit:"Таҳрир қилиш",textToDisplay:"Кўринадиган матн",url:"URL ўтиш учун",openInNewWindow:"Янги дарчада очиш"},table:{table:"Жадвал"},hr:{insert:"Горизонтал чизиқни қўйиш"},style:{style:"Услуб",p:"Яхши",blockquote:"Жумла",pre:"Код",h1:"Сарлавҳа 1",h2:"Сарлавҳа 2",h3:"Сарлавҳа 3",h4:"Сарлавҳа 4",h5:"Сарлавҳа 5",h6:"Сарлавҳа 6"},lists:{unordered:"Белгиланган рўйҳат",ordered:"Рақамланган рўйҳат"},options:{help:"Ёрдам",fullscreen:"Бутун экран бўйича",codeview:"Бошланғич код"},paragraph:{paragraph:"Параграф",outdent:"Орқага қайтишни камайтириш",indent:"Орқага қайтишни кўпайтириш",left:"Чап қирғоққа тўғрилаш",center:"Марказга тўғрилаш",right:"Ўнг қирғоққа тўғрилаш",justify:"Эни бўйлаб чўзиш"},color:{recent:"Охирги ранг",more:"Яна ранглар",background:"Фон ранги",foreground:"Ҳарф ранги",transparent:"Шаффоф",setTransparent:"Шаффофдай қилиш",reset:"Бекор қилиш",resetToDefault:"Стандартга оид тиклаш"},shortcut:{shortcuts:"Клавишларнинг ҳамохҳанглиги",close:"Ёпиқ",textFormatting:"Матнни ",action:"Ҳаркат",paragraphFormatting:"Параграфни форматлаш",documentStyle:"Ҳужжатнинг тури",extraKeys:"Қўшимча имкониятлар"},history:{undo:"Бекор қилиш",redo:"Қайтариш"}}})}})}));
|
admin/lib/summernote/lang/summernote-uz-UZ.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-vi-VN.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 48);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 48:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'vi-VN': {
|
117 |
+
font: {
|
118 |
+
bold: 'In Đậm',
|
119 |
+
italic: 'In Nghiêng',
|
120 |
+
underline: 'Gạch dưới',
|
121 |
+
clear: 'Bỏ định dạng',
|
122 |
+
height: 'Chiều cao dòng',
|
123 |
+
name: 'Phông chữ',
|
124 |
+
strikethrough: 'Gạch ngang',
|
125 |
+
subscript: 'Subscript',
|
126 |
+
superscript: 'Superscript',
|
127 |
+
size: 'Cỡ chữ'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: 'Hình ảnh',
|
131 |
+
insert: 'Chèn',
|
132 |
+
resizeFull: '100%',
|
133 |
+
resizeHalf: '50%',
|
134 |
+
resizeQuarter: '25%',
|
135 |
+
floatLeft: 'Trôi về trái',
|
136 |
+
floatRight: 'Trôi về phải',
|
137 |
+
floatNone: 'Không trôi',
|
138 |
+
shapeRounded: 'Shape: Rounded',
|
139 |
+
shapeCircle: 'Shape: Circle',
|
140 |
+
shapeThumbnail: 'Shape: Thumbnail',
|
141 |
+
shapeNone: 'Shape: None',
|
142 |
+
dragImageHere: 'Thả Ảnh ở vùng này',
|
143 |
+
dropImage: 'Drop image or Text',
|
144 |
+
selectFromFiles: 'Chọn từ File',
|
145 |
+
maximumFileSize: 'Maximum file size',
|
146 |
+
maximumFileSizeError: 'Maximum file size exceeded.',
|
147 |
+
url: 'URL',
|
148 |
+
remove: 'Xóa',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: 'Video',
|
153 |
+
videoLink: 'Link đến Video',
|
154 |
+
insert: 'Chèn Video',
|
155 |
+
url: 'URL',
|
156 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion và Youku)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: 'Link',
|
160 |
+
insert: 'Chèn Link',
|
161 |
+
unlink: 'Gỡ Link',
|
162 |
+
edit: 'Sửa',
|
163 |
+
textToDisplay: 'Văn bản hiển thị',
|
164 |
+
url: 'URL',
|
165 |
+
openInNewWindow: 'Mở ở Cửa sổ mới'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: 'Bảng',
|
169 |
+
addRowAbove: 'Add row above',
|
170 |
+
addRowBelow: 'Add row below',
|
171 |
+
addColLeft: 'Add column left',
|
172 |
+
addColRight: 'Add column right',
|
173 |
+
delRow: 'Delete row',
|
174 |
+
delCol: 'Delete column',
|
175 |
+
delTable: 'Delete table'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: 'Chèn'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: 'Kiểu chữ',
|
182 |
+
p: 'Chữ thường',
|
183 |
+
blockquote: 'Đoạn trích',
|
184 |
+
pre: 'Mã Code',
|
185 |
+
h1: 'H1',
|
186 |
+
h2: 'H2',
|
187 |
+
h3: 'H3',
|
188 |
+
h4: 'H4',
|
189 |
+
h5: 'H5',
|
190 |
+
h6: 'H6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: 'Liệt kê danh sách',
|
194 |
+
ordered: 'Liệt kê theo thứ tự'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: 'Trợ giúp',
|
198 |
+
fullscreen: 'Toàn Màn hình',
|
199 |
+
codeview: 'Xem Code'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: 'Canh lề',
|
203 |
+
outdent: 'Dịch sang trái',
|
204 |
+
indent: 'Dịch sang phải',
|
205 |
+
left: 'Canh trái',
|
206 |
+
center: 'Canh giữa',
|
207 |
+
right: 'Canh phải',
|
208 |
+
justify: 'Canh đều'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: 'Màu chữ',
|
212 |
+
more: 'Mở rộng',
|
213 |
+
background: 'Màu nền',
|
214 |
+
foreground: 'Màu chữ',
|
215 |
+
transparent: 'trong suốt',
|
216 |
+
setTransparent: 'Nền trong suốt',
|
217 |
+
reset: 'Thiết lập lại',
|
218 |
+
resetToDefault: 'Trở lại ban đầu'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: 'Phím tắt',
|
222 |
+
close: 'Đóng',
|
223 |
+
textFormatting: 'Định dạng Văn bản',
|
224 |
+
action: 'Hành động',
|
225 |
+
paragraphFormatting: 'Định dạng',
|
226 |
+
documentStyle: 'Kiểu văn bản',
|
227 |
+
extraKeys: 'Extra keys'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
'insertParagraph': 'Insert Paragraph',
|
231 |
+
'undo': 'Undoes the last command',
|
232 |
+
'redo': 'Redoes the last command',
|
233 |
+
'tab': 'Tab',
|
234 |
+
'untab': 'Untab',
|
235 |
+
'bold': 'Set a bold style',
|
236 |
+
'italic': 'Set a italic style',
|
237 |
+
'underline': 'Set a underline style',
|
238 |
+
'strikethrough': 'Set a strikethrough style',
|
239 |
+
'removeFormat': 'Clean a style',
|
240 |
+
'justifyLeft': 'Set left align',
|
241 |
+
'justifyCenter': 'Set center align',
|
242 |
+
'justifyRight': 'Set right align',
|
243 |
+
'justifyFull': 'Set full align',
|
244 |
+
'insertUnorderedList': 'Toggle unordered list',
|
245 |
+
'insertOrderedList': 'Toggle ordered list',
|
246 |
+
'outdent': 'Outdent on current paragraph',
|
247 |
+
'indent': 'Indent on current paragraph',
|
248 |
+
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
|
249 |
+
'formatH1': 'Change current block\'s format as H1',
|
250 |
+
'formatH2': 'Change current block\'s format as H2',
|
251 |
+
'formatH3': 'Change current block\'s format as H3',
|
252 |
+
'formatH4': 'Change current block\'s format as H4',
|
253 |
+
'formatH5': 'Change current block\'s format as H5',
|
254 |
+
'formatH6': 'Change current block\'s format as H6',
|
255 |
+
'insertHorizontalRule': 'Insert horizontal rule',
|
256 |
+
'linkDialog.show': 'Show Link Dialog'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: 'Lùi lại',
|
260 |
+
redo: 'Làm lại'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: 'SPECIAL CHARACTERS',
|
264 |
+
select: 'Select Special characters'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-vi-VN.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-vi-VN.min.js.LICENSE.txt */
|
2 |
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(window,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=48)}({48:function(e,t){var r;(r=jQuery).extend(r.summernote.lang,{"vi-VN":{font:{bold:"In Đậm",italic:"In Nghiêng",underline:"Gạch dưới",clear:"Bỏ định dạng",height:"Chiều cao dòng",name:"Phông chữ",strikethrough:"Gạch ngang",subscript:"Subscript",superscript:"Superscript",size:"Cỡ chữ"},image:{image:"Hình ảnh",insert:"Chèn",resizeFull:"100%",resizeHalf:"50%",resizeQuarter:"25%",floatLeft:"Trôi về trái",floatRight:"Trôi về phải",floatNone:"Không trôi",shapeRounded:"Shape: Rounded",shapeCircle:"Shape: Circle",shapeThumbnail:"Shape: Thumbnail",shapeNone:"Shape: None",dragImageHere:"Thả Ảnh ở vùng này",dropImage:"Drop image or Text",selectFromFiles:"Chọn từ File",maximumFileSize:"Maximum file size",maximumFileSizeError:"Maximum file size exceeded.",url:"URL",remove:"Xóa",original:"Original"},video:{video:"Video",videoLink:"Link đến Video",insert:"Chèn Video",url:"URL",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion và Youku)"},link:{link:"Link",insert:"Chèn Link",unlink:"Gỡ Link",edit:"Sửa",textToDisplay:"Văn bản hiển thị",url:"URL",openInNewWindow:"Mở ở Cửa sổ mới"},table:{table:"Bảng",addRowAbove:"Add row above",addRowBelow:"Add row below",addColLeft:"Add column left",addColRight:"Add column right",delRow:"Delete row",delCol:"Delete column",delTable:"Delete table"},hr:{insert:"Chèn"},style:{style:"Kiểu chữ",p:"Chữ thường",blockquote:"Đoạn trích",pre:"Mã Code",h1:"H1",h2:"H2",h3:"H3",h4:"H4",h5:"H5",h6:"H6"},lists:{unordered:"Liệt kê danh sách",ordered:"Liệt kê theo thứ tự"},options:{help:"Trợ giúp",fullscreen:"Toàn Màn hình",codeview:"Xem Code"},paragraph:{paragraph:"Canh lề",outdent:"Dịch sang trái",indent:"Dịch sang phải",left:"Canh trái",center:"Canh giữa",right:"Canh phải",justify:"Canh đều"},color:{recent:"Màu chữ",more:"Mở rộng",background:"Màu nền",foreground:"Màu chữ",transparent:"trong suốt",setTransparent:"Nền trong suốt",reset:"Thiết lập lại",resetToDefault:"Trở lại ban đầu"},shortcut:{shortcuts:"Phím tắt",close:"Đóng",textFormatting:"Định dạng Văn bản",action:"Hành động",paragraphFormatting:"Định dạng",documentStyle:"Kiểu văn bản",extraKeys:"Extra keys"},help:{insertParagraph:"Insert Paragraph",undo:"Undoes the last command",redo:"Redoes the last command",tab:"Tab",untab:"Untab",bold:"Set a bold style",italic:"Set a italic style",underline:"Set a underline style",strikethrough:"Set a strikethrough style",removeFormat:"Clean a style",justifyLeft:"Set left align",justifyCenter:"Set center align",justifyRight:"Set right align",justifyFull:"Set full align",insertUnorderedList:"Toggle unordered list",insertOrderedList:"Toggle ordered list",outdent:"Outdent on current paragraph",indent:"Indent on current paragraph",formatPara:"Change current block's format as a paragraph(P tag)",formatH1:"Change current block's format as H1",formatH2:"Change current block's format as H2",formatH3:"Change current block's format as H3",formatH4:"Change current block's format as H4",formatH5:"Change current block's format as H5",formatH6:"Change current block's format as H6",insertHorizontalRule:"Insert horizontal rule","linkDialog.show":"Show Link Dialog"},history:{undo:"Lùi lại",redo:"Làm lại"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"}}})}})}));
|
admin/lib/summernote/lang/summernote-vi-VN.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-zh-CN.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 49);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 49:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'zh-CN': {
|
117 |
+
font: {
|
118 |
+
bold: '粗体',
|
119 |
+
italic: '斜体',
|
120 |
+
underline: '下划线',
|
121 |
+
clear: '清除格式',
|
122 |
+
height: '行高',
|
123 |
+
name: '字体',
|
124 |
+
strikethrough: '删除线',
|
125 |
+
subscript: '下标',
|
126 |
+
superscript: '上标',
|
127 |
+
size: '字号'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: '图片',
|
131 |
+
insert: '插入图片',
|
132 |
+
resizeFull: '缩放至 100%',
|
133 |
+
resizeHalf: '缩放至 50%',
|
134 |
+
resizeQuarter: '缩放至 25%',
|
135 |
+
floatLeft: '靠左浮动',
|
136 |
+
floatRight: '靠右浮动',
|
137 |
+
floatNone: '取消浮动',
|
138 |
+
shapeRounded: '形状: 圆角',
|
139 |
+
shapeCircle: '形状: 圆',
|
140 |
+
shapeThumbnail: '形状: 缩略图',
|
141 |
+
shapeNone: '形状: 无',
|
142 |
+
dragImageHere: '将图片拖拽至此处',
|
143 |
+
dropImage: '拖拽图片或文本',
|
144 |
+
selectFromFiles: '从本地上传',
|
145 |
+
maximumFileSize: '文件大小最大值',
|
146 |
+
maximumFileSizeError: '文件大小超出最大值。',
|
147 |
+
url: '图片地址',
|
148 |
+
remove: '移除图片',
|
149 |
+
original: '原始图片'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: '视频',
|
153 |
+
videoLink: '视频链接',
|
154 |
+
insert: '插入视频',
|
155 |
+
url: '视频地址',
|
156 |
+
providers: '(优酷, 腾讯, Instagram, DailyMotion, Youtube等)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: '链接',
|
160 |
+
insert: '插入链接',
|
161 |
+
unlink: '去除链接',
|
162 |
+
edit: '编辑链接',
|
163 |
+
textToDisplay: '显示文本',
|
164 |
+
url: '链接地址',
|
165 |
+
openInNewWindow: '在新窗口打开'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: '表格',
|
169 |
+
addRowAbove: '在上方插入行',
|
170 |
+
addRowBelow: '在下方插入行',
|
171 |
+
addColLeft: '在左侧插入列',
|
172 |
+
addColRight: '在右侧插入列',
|
173 |
+
delRow: '删除行',
|
174 |
+
delCol: '删除列',
|
175 |
+
delTable: '删除表格'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: '水平线'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: '样式',
|
182 |
+
p: '普通',
|
183 |
+
blockquote: '引用',
|
184 |
+
pre: '代码',
|
185 |
+
h1: '标题 1',
|
186 |
+
h2: '标题 2',
|
187 |
+
h3: '标题 3',
|
188 |
+
h4: '标题 4',
|
189 |
+
h5: '标题 5',
|
190 |
+
h6: '标题 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: '无序列表',
|
194 |
+
ordered: '有序列表'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: '帮助',
|
198 |
+
fullscreen: '全屏',
|
199 |
+
codeview: '源代码'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: '段落',
|
203 |
+
outdent: '减少缩进',
|
204 |
+
indent: '增加缩进',
|
205 |
+
left: '左对齐',
|
206 |
+
center: '居中对齐',
|
207 |
+
right: '右对齐',
|
208 |
+
justify: '两端对齐'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: '最近使用',
|
212 |
+
more: '更多',
|
213 |
+
background: '背景',
|
214 |
+
foreground: '前景',
|
215 |
+
transparent: '透明',
|
216 |
+
setTransparent: '透明',
|
217 |
+
reset: '重置',
|
218 |
+
resetToDefault: '默认'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: '快捷键',
|
222 |
+
close: '关闭',
|
223 |
+
textFormatting: '文本格式',
|
224 |
+
action: '动作',
|
225 |
+
paragraphFormatting: '段落格式',
|
226 |
+
documentStyle: '文档样式',
|
227 |
+
extraKeys: '额外按键'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
insertParagraph: '插入段落',
|
231 |
+
undo: '撤销',
|
232 |
+
redo: '重做',
|
233 |
+
tab: '增加缩进',
|
234 |
+
untab: '减少缩进',
|
235 |
+
bold: '粗体',
|
236 |
+
italic: '斜体',
|
237 |
+
underline: '下划线',
|
238 |
+
strikethrough: '删除线',
|
239 |
+
removeFormat: '清除格式',
|
240 |
+
justifyLeft: '左对齐',
|
241 |
+
justifyCenter: '居中对齐',
|
242 |
+
justifyRight: '右对齐',
|
243 |
+
justifyFull: '两端对齐',
|
244 |
+
insertUnorderedList: '无序列表',
|
245 |
+
insertOrderedList: '有序列表',
|
246 |
+
outdent: '减少缩进',
|
247 |
+
indent: '增加缩进',
|
248 |
+
formatPara: '设置选中内容样式为 普通',
|
249 |
+
formatH1: '设置选中内容样式为 标题1',
|
250 |
+
formatH2: '设置选中内容样式为 标题2',
|
251 |
+
formatH3: '设置选中内容样式为 标题3',
|
252 |
+
formatH4: '设置选中内容样式为 标题4',
|
253 |
+
formatH5: '设置选中内容样式为 标题5',
|
254 |
+
formatH6: '设置选中内容样式为 标题6',
|
255 |
+
insertHorizontalRule: '插入水平线',
|
256 |
+
'linkDialog.show': '显示链接对话框'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: '撤销',
|
260 |
+
redo: '重做'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: '特殊字符',
|
264 |
+
select: '选取特殊字符'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-zh-CN.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-zh-CN.min.js.LICENSE.txt */
|
2 |
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(window,(function(){return function(e){var t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(o,n,function(t){return e[t]}.bind(null,n));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=49)}({49:function(e,t){var r;(r=jQuery).extend(r.summernote.lang,{"zh-CN":{font:{bold:"粗体",italic:"斜体",underline:"下划线",clear:"清除格式",height:"行高",name:"字体",strikethrough:"删除线",subscript:"下标",superscript:"上标",size:"字号"},image:{image:"图片",insert:"插入图片",resizeFull:"缩放至 100%",resizeHalf:"缩放至 50%",resizeQuarter:"缩放至 25%",floatLeft:"靠左浮动",floatRight:"靠右浮动",floatNone:"取消浮动",shapeRounded:"形状: 圆角",shapeCircle:"形状: 圆",shapeThumbnail:"形状: 缩略图",shapeNone:"形状: 无",dragImageHere:"将图片拖拽至此处",dropImage:"拖拽图片或文本",selectFromFiles:"从本地上传",maximumFileSize:"文件大小最大值",maximumFileSizeError:"文件大小超出最大值。",url:"图片地址",remove:"移除图片",original:"原始图片"},video:{video:"视频",videoLink:"视频链接",insert:"插入视频",url:"视频地址",providers:"(优酷, 腾讯, Instagram, DailyMotion, Youtube等)"},link:{link:"链接",insert:"插入链接",unlink:"去除链接",edit:"编辑链接",textToDisplay:"显示文本",url:"链接地址",openInNewWindow:"在新窗口打开"},table:{table:"表格",addRowAbove:"在上方插入行",addRowBelow:"在下方插入行",addColLeft:"在左侧插入列",addColRight:"在右侧插入列",delRow:"删除行",delCol:"删除列",delTable:"删除表格"},hr:{insert:"水平线"},style:{style:"样式",p:"普通",blockquote:"引用",pre:"代码",h1:"标题 1",h2:"标题 2",h3:"标题 3",h4:"标题 4",h5:"标题 5",h6:"标题 6"},lists:{unordered:"无序列表",ordered:"有序列表"},options:{help:"帮助",fullscreen:"全屏",codeview:"源代码"},paragraph:{paragraph:"段落",outdent:"减少缩进",indent:"增加缩进",left:"左对齐",center:"居中对齐",right:"右对齐",justify:"两端对齐"},color:{recent:"最近使用",more:"更多",background:"背景",foreground:"前景",transparent:"透明",setTransparent:"透明",reset:"重置",resetToDefault:"默认"},shortcut:{shortcuts:"快捷键",close:"关闭",textFormatting:"文本格式",action:"动作",paragraphFormatting:"段落格式",documentStyle:"文档样式",extraKeys:"额外按键"},help:{insertParagraph:"插入段落",undo:"撤销",redo:"重做",tab:"增加缩进",untab:"减少缩进",bold:"粗体",italic:"斜体",underline:"下划线",strikethrough:"删除线",removeFormat:"清除格式",justifyLeft:"左对齐",justifyCenter:"居中对齐",justifyRight:"右对齐",justifyFull:"两端对齐",insertUnorderedList:"无序列表",insertOrderedList:"有序列表",outdent:"减少缩进",indent:"增加缩进",formatPara:"设置选中内容样式为 普通",formatH1:"设置选中内容样式为 标题1",formatH2:"设置选中内容样式为 标题2",formatH3:"设置选中内容样式为 标题3",formatH4:"设置选中内容样式为 标题4",formatH5:"设置选中内容样式为 标题5",formatH6:"设置选中内容样式为 标题6",insertHorizontalRule:"插入水平线","linkDialog.show":"显示链接对话框"},history:{undo:"撤销",redo:"重做"},specialChar:{specialChar:"特殊字符",select:"选取特殊字符"}}})}})}));
|
admin/lib/summernote/lang/summernote-zh-CN.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/lang/summernote-zh-TW.js
ADDED
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory();
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define([], factory);
|
18 |
+
else {
|
19 |
+
var a = factory();
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function() {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 50);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 50:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
(function ($) {
|
115 |
+
$.extend($.summernote.lang, {
|
116 |
+
'zh-TW': {
|
117 |
+
font: {
|
118 |
+
bold: '粗體',
|
119 |
+
italic: '斜體',
|
120 |
+
underline: '底線',
|
121 |
+
clear: '清除格式',
|
122 |
+
height: '行高',
|
123 |
+
name: '字體',
|
124 |
+
strikethrough: '刪除線',
|
125 |
+
subscript: '下標',
|
126 |
+
superscript: '上標',
|
127 |
+
size: '字號'
|
128 |
+
},
|
129 |
+
image: {
|
130 |
+
image: '圖片',
|
131 |
+
insert: '插入圖片',
|
132 |
+
resizeFull: '縮放至100%',
|
133 |
+
resizeHalf: '縮放至 50%',
|
134 |
+
resizeQuarter: '縮放至 25%',
|
135 |
+
floatLeft: '靠左浮動',
|
136 |
+
floatRight: '靠右浮動',
|
137 |
+
floatNone: '取消浮動',
|
138 |
+
shapeRounded: '形狀: 圓角',
|
139 |
+
shapeCircle: '形狀: 圓',
|
140 |
+
shapeThumbnail: '形狀: 縮略圖',
|
141 |
+
shapeNone: '形狀: 無',
|
142 |
+
dragImageHere: '將圖片拖曳至此處',
|
143 |
+
dropImage: 'Drop image or Text',
|
144 |
+
selectFromFiles: '從本機上傳',
|
145 |
+
maximumFileSize: '文件大小最大值',
|
146 |
+
maximumFileSizeError: '文件大小超出最大值。',
|
147 |
+
url: '圖片網址',
|
148 |
+
remove: '移除圖片',
|
149 |
+
original: 'Original'
|
150 |
+
},
|
151 |
+
video: {
|
152 |
+
video: '影片',
|
153 |
+
videoLink: '影片連結',
|
154 |
+
insert: '插入影片',
|
155 |
+
url: '影片網址',
|
156 |
+
providers: '(優酷, Instagram, DailyMotion, Youtube等)'
|
157 |
+
},
|
158 |
+
link: {
|
159 |
+
link: '連結',
|
160 |
+
insert: '插入連結',
|
161 |
+
unlink: '取消連結',
|
162 |
+
edit: '編輯連結',
|
163 |
+
textToDisplay: '顯示文字',
|
164 |
+
url: '連結網址',
|
165 |
+
openInNewWindow: '在新視窗開啟'
|
166 |
+
},
|
167 |
+
table: {
|
168 |
+
table: '表格',
|
169 |
+
addRowAbove: 'Add row above',
|
170 |
+
addRowBelow: 'Add row below',
|
171 |
+
addColLeft: 'Add column left',
|
172 |
+
addColRight: 'Add column right',
|
173 |
+
delRow: 'Delete row',
|
174 |
+
delCol: 'Delete column',
|
175 |
+
delTable: 'Delete table'
|
176 |
+
},
|
177 |
+
hr: {
|
178 |
+
insert: '水平線'
|
179 |
+
},
|
180 |
+
style: {
|
181 |
+
style: '樣式',
|
182 |
+
p: '一般',
|
183 |
+
blockquote: '引用區塊',
|
184 |
+
pre: '程式碼區塊',
|
185 |
+
h1: '標題 1',
|
186 |
+
h2: '標題 2',
|
187 |
+
h3: '標題 3',
|
188 |
+
h4: '標題 4',
|
189 |
+
h5: '標題 5',
|
190 |
+
h6: '標題 6'
|
191 |
+
},
|
192 |
+
lists: {
|
193 |
+
unordered: '項目清單',
|
194 |
+
ordered: '編號清單'
|
195 |
+
},
|
196 |
+
options: {
|
197 |
+
help: '幫助',
|
198 |
+
fullscreen: '全螢幕',
|
199 |
+
codeview: '原始碼'
|
200 |
+
},
|
201 |
+
paragraph: {
|
202 |
+
paragraph: '段落',
|
203 |
+
outdent: '取消縮排',
|
204 |
+
indent: '增加縮排',
|
205 |
+
left: '靠右對齊',
|
206 |
+
center: '靠中對齊',
|
207 |
+
right: '靠右對齊',
|
208 |
+
justify: '左右對齊'
|
209 |
+
},
|
210 |
+
color: {
|
211 |
+
recent: '字型顏色',
|
212 |
+
more: '更多',
|
213 |
+
background: '背景',
|
214 |
+
foreground: '前景',
|
215 |
+
transparent: '透明',
|
216 |
+
setTransparent: '透明',
|
217 |
+
reset: '重設',
|
218 |
+
resetToDefault: '默認'
|
219 |
+
},
|
220 |
+
shortcut: {
|
221 |
+
shortcuts: '快捷鍵',
|
222 |
+
close: '關閉',
|
223 |
+
textFormatting: '文字格式',
|
224 |
+
action: '動作',
|
225 |
+
paragraphFormatting: '段落格式',
|
226 |
+
documentStyle: '文件格式',
|
227 |
+
extraKeys: '額外按鍵'
|
228 |
+
},
|
229 |
+
help: {
|
230 |
+
'insertParagraph': 'Insert Paragraph',
|
231 |
+
'undo': 'Undoes the last command',
|
232 |
+
'redo': 'Redoes the last command',
|
233 |
+
'tab': 'Tab',
|
234 |
+
'untab': 'Untab',
|
235 |
+
'bold': 'Set a bold style',
|
236 |
+
'italic': 'Set a italic style',
|
237 |
+
'underline': 'Set a underline style',
|
238 |
+
'strikethrough': 'Set a strikethrough style',
|
239 |
+
'removeFormat': 'Clean a style',
|
240 |
+
'justifyLeft': 'Set left align',
|
241 |
+
'justifyCenter': 'Set center align',
|
242 |
+
'justifyRight': 'Set right align',
|
243 |
+
'justifyFull': 'Set full align',
|
244 |
+
'insertUnorderedList': 'Toggle unordered list',
|
245 |
+
'insertOrderedList': 'Toggle ordered list',
|
246 |
+
'outdent': 'Outdent on current paragraph',
|
247 |
+
'indent': 'Indent on current paragraph',
|
248 |
+
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
|
249 |
+
'formatH1': 'Change current block\'s format as H1',
|
250 |
+
'formatH2': 'Change current block\'s format as H2',
|
251 |
+
'formatH3': 'Change current block\'s format as H3',
|
252 |
+
'formatH4': 'Change current block\'s format as H4',
|
253 |
+
'formatH5': 'Change current block\'s format as H5',
|
254 |
+
'formatH6': 'Change current block\'s format as H6',
|
255 |
+
'insertHorizontalRule': 'Insert horizontal rule',
|
256 |
+
'linkDialog.show': 'Show Link Dialog'
|
257 |
+
},
|
258 |
+
history: {
|
259 |
+
undo: '復原',
|
260 |
+
redo: '取消復原'
|
261 |
+
},
|
262 |
+
specialChar: {
|
263 |
+
specialChar: 'SPECIAL CHARACTERS',
|
264 |
+
select: 'Select Special characters'
|
265 |
+
}
|
266 |
+
}
|
267 |
+
});
|
268 |
+
})(jQuery);
|
269 |
+
|
270 |
+
/***/ })
|
271 |
+
|
272 |
+
/******/ });
|
273 |
+
});
|
admin/lib/summernote/lang/summernote-zh-TW.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/*! For license information please see summernote-zh-TW.min.js.LICENSE.txt */
|
2 |
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(window,(function(){return function(e){var t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(o,n,function(t){return e[t]}.bind(null,n));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=50)}({50:function(e,t){var r;(r=jQuery).extend(r.summernote.lang,{"zh-TW":{font:{bold:"粗體",italic:"斜體",underline:"底線",clear:"清除格式",height:"行高",name:"字體",strikethrough:"刪除線",subscript:"下標",superscript:"上標",size:"字號"},image:{image:"圖片",insert:"插入圖片",resizeFull:"縮放至100%",resizeHalf:"縮放至 50%",resizeQuarter:"縮放至 25%",floatLeft:"靠左浮動",floatRight:"靠右浮動",floatNone:"取消浮動",shapeRounded:"形狀: 圓角",shapeCircle:"形狀: 圓",shapeThumbnail:"形狀: 縮略圖",shapeNone:"形狀: 無",dragImageHere:"將圖片拖曳至此處",dropImage:"Drop image or Text",selectFromFiles:"從本機上傳",maximumFileSize:"文件大小最大值",maximumFileSizeError:"文件大小超出最大值。",url:"圖片網址",remove:"移除圖片",original:"Original"},video:{video:"影片",videoLink:"影片連結",insert:"插入影片",url:"影片網址",providers:"(優酷, Instagram, DailyMotion, Youtube等)"},link:{link:"連結",insert:"插入連結",unlink:"取消連結",edit:"編輯連結",textToDisplay:"顯示文字",url:"連結網址",openInNewWindow:"在新視窗開啟"},table:{table:"表格",addRowAbove:"Add row above",addRowBelow:"Add row below",addColLeft:"Add column left",addColRight:"Add column right",delRow:"Delete row",delCol:"Delete column",delTable:"Delete table"},hr:{insert:"水平線"},style:{style:"樣式",p:"一般",blockquote:"引用區塊",pre:"程式碼區塊",h1:"標題 1",h2:"標題 2",h3:"標題 3",h4:"標題 4",h5:"標題 5",h6:"標題 6"},lists:{unordered:"項目清單",ordered:"編號清單"},options:{help:"幫助",fullscreen:"全螢幕",codeview:"原始碼"},paragraph:{paragraph:"段落",outdent:"取消縮排",indent:"增加縮排",left:"靠右對齊",center:"靠中對齊",right:"靠右對齊",justify:"左右對齊"},color:{recent:"字型顏色",more:"更多",background:"背景",foreground:"前景",transparent:"透明",setTransparent:"透明",reset:"重設",resetToDefault:"默認"},shortcut:{shortcuts:"快捷鍵",close:"關閉",textFormatting:"文字格式",action:"動作",paragraphFormatting:"段落格式",documentStyle:"文件格式",extraKeys:"額外按鍵"},help:{insertParagraph:"Insert Paragraph",undo:"Undoes the last command",redo:"Redoes the last command",tab:"Tab",untab:"Untab",bold:"Set a bold style",italic:"Set a italic style",underline:"Set a underline style",strikethrough:"Set a strikethrough style",removeFormat:"Clean a style",justifyLeft:"Set left align",justifyCenter:"Set center align",justifyRight:"Set right align",justifyFull:"Set full align",insertUnorderedList:"Toggle unordered list",insertOrderedList:"Toggle ordered list",outdent:"Outdent on current paragraph",indent:"Indent on current paragraph",formatPara:"Change current block's format as a paragraph(P tag)",formatH1:"Change current block's format as H1",formatH2:"Change current block's format as H2",formatH3:"Change current block's format as H3",formatH4:"Change current block's format as H4",formatH5:"Change current block's format as H5",formatH6:"Change current block's format as H6",insertHorizontalRule:"Insert horizontal rule","linkDialog.show":"Show Link Dialog"},history:{undo:"復原",redo:"取消復原"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"}}})}})}));
|
admin/lib/summernote/lang/summernote-zh-TW.min.js.LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */
|
admin/lib/summernote/plugin/databasic/summernote-ext-databasic.css
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.ext-databasic {
|
2 |
+
position: relative;
|
3 |
+
display: block;
|
4 |
+
min-height: 50px;
|
5 |
+
background-color: cyan;
|
6 |
+
text-align: center;
|
7 |
+
padding: 20px;
|
8 |
+
border: 1px solid white;
|
9 |
+
border-radius: 10px;
|
10 |
+
}
|
11 |
+
|
12 |
+
.ext-databasic p {
|
13 |
+
color: white;
|
14 |
+
font-size: 1.2em;
|
15 |
+
margin: 0;
|
16 |
+
}
|
admin/lib/summernote/plugin/databasic/summernote-ext-databasic.js
ADDED
@@ -0,0 +1,291 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function(factory) {
|
2 |
+
if (typeof define === 'function' && define.amd) {
|
3 |
+
// AMD. Register as an anonymous module.
|
4 |
+
define(['jquery'], factory);
|
5 |
+
} else if (typeof module === 'object' && module.exports) {
|
6 |
+
// Node/CommonJS
|
7 |
+
module.exports = factory(require('jquery'));
|
8 |
+
} else {
|
9 |
+
// Browser globals
|
10 |
+
factory(window.jQuery);
|
11 |
+
}
|
12 |
+
}(function($) {
|
13 |
+
// pull in some summernote core functions
|
14 |
+
var ui = $.summernote.ui;
|
15 |
+
var dom = $.summernote.dom;
|
16 |
+
|
17 |
+
// define the popover plugin
|
18 |
+
var DataBasicPlugin = function(context) {
|
19 |
+
var self = this;
|
20 |
+
var options = context.options;
|
21 |
+
var lang = options.langInfo;
|
22 |
+
|
23 |
+
self.icon = '<i class="fa fa-object-group"/>';
|
24 |
+
|
25 |
+
// add context menu button for dialog
|
26 |
+
context.memo('button.databasic', function() {
|
27 |
+
return ui.button({
|
28 |
+
contents: self.icon,
|
29 |
+
tooltip: lang.databasic.insert,
|
30 |
+
click: context.createInvokeHandler('databasic.showDialog'),
|
31 |
+
}).render();
|
32 |
+
});
|
33 |
+
|
34 |
+
// add popover edit button
|
35 |
+
context.memo('button.databasicDialog', function() {
|
36 |
+
return ui.button({
|
37 |
+
contents: self.icon,
|
38 |
+
tooltip: lang.databasic.edit,
|
39 |
+
click: context.createInvokeHandler('databasic.showDialog'),
|
40 |
+
}).render();
|
41 |
+
});
|
42 |
+
|
43 |
+
// add popover size buttons
|
44 |
+
context.memo('button.databasicSize100', function() {
|
45 |
+
return ui.button({
|
46 |
+
contents: '<span class="note-fontsize-10">100%</span>',
|
47 |
+
tooltip: lang.image.resizeFull,
|
48 |
+
click: context.createInvokeHandler('editor.resize', '1'),
|
49 |
+
}).render();
|
50 |
+
});
|
51 |
+
context.memo('button.databasicSize50', function() {
|
52 |
+
return ui.button({
|
53 |
+
contents: '<span class="note-fontsize-10">50%</span>',
|
54 |
+
tooltip: lang.image.resizeHalf,
|
55 |
+
click: context.createInvokeHandler('editor.resize', '0.5'),
|
56 |
+
}).render();
|
57 |
+
});
|
58 |
+
context.memo('button.databasicSize25', function() {
|
59 |
+
return ui.button({
|
60 |
+
contents: '<span class="note-fontsize-10">25%</span>',
|
61 |
+
tooltip: lang.image.resizeQuarter,
|
62 |
+
click: context.createInvokeHandler('editor.resize', '0.25'),
|
63 |
+
}).render();
|
64 |
+
});
|
65 |
+
|
66 |
+
self.events = {
|
67 |
+
'summernote.init': function(we, e) {
|
68 |
+
// update existing containers
|
69 |
+
$('data.ext-databasic', e.editable).each(function() { self.setContent($(this)); });
|
70 |
+
// TODO: make this an undo snapshot...
|
71 |
+
},
|
72 |
+
'summernote.keyup summernote.mouseup summernote.change summernote.scroll': function() {
|
73 |
+
self.update();
|
74 |
+
},
|
75 |
+
'summernote.dialog.shown': function() {
|
76 |
+
self.hidePopover();
|
77 |
+
},
|
78 |
+
};
|
79 |
+
|
80 |
+
self.initialize = function() {
|
81 |
+
// create dialog markup
|
82 |
+
var $container = options.dialogsInBody ? $(document.body) : context.layoutInfo.editor;
|
83 |
+
|
84 |
+
var body = '<div class="form-group row-fluid">' +
|
85 |
+
'<label>' + lang.databasic.testLabel + '</label>' +
|
86 |
+
'<input class="ext-databasic-test form-control" type="text" />' +
|
87 |
+
'</div>';
|
88 |
+
var footer = '<button href="#" class="btn btn-primary ext-databasic-save">' + lang.databasic.insert + '</button>';
|
89 |
+
|
90 |
+
self.$dialog = ui.dialog({
|
91 |
+
title: lang.databasic.name,
|
92 |
+
fade: options.dialogsFade,
|
93 |
+
body: body,
|
94 |
+
footer: footer,
|
95 |
+
}).render().appendTo($container);
|
96 |
+
|
97 |
+
// create popover
|
98 |
+
self.$popover = ui.popover({
|
99 |
+
className: 'ext-databasic-popover',
|
100 |
+
}).render().appendTo('body');
|
101 |
+
var $content = self.$popover.find('.popover-content');
|
102 |
+
|
103 |
+
context.invoke('buttons.build', $content, options.popover.databasic);
|
104 |
+
};
|
105 |
+
|
106 |
+
self.destroy = function() {
|
107 |
+
self.$popover.remove();
|
108 |
+
self.$popover = null;
|
109 |
+
self.$dialog.remove();
|
110 |
+
self.$dialog = null;
|
111 |
+
};
|
112 |
+
|
113 |
+
self.update = function() {
|
114 |
+
// Prevent focusing on editable when invoke('code') is executed
|
115 |
+
if (!context.invoke('editor.hasFocus')) {
|
116 |
+
self.hidePopover();
|
117 |
+
return;
|
118 |
+
}
|
119 |
+
|
120 |
+
var rng = context.invoke('editor.createRange');
|
121 |
+
var visible = false;
|
122 |
+
|
123 |
+
if (rng.isOnData()) {
|
124 |
+
var $data = $(rng.sc).closest('data.ext-databasic');
|
125 |
+
|
126 |
+
if ($data.length) {
|
127 |
+
var pos = dom.posFromPlaceholder($data[0]);
|
128 |
+
|
129 |
+
self.$popover.css({
|
130 |
+
display: 'block',
|
131 |
+
left: pos.left,
|
132 |
+
top: pos.top,
|
133 |
+
});
|
134 |
+
|
135 |
+
// save editor target to let size buttons resize the container
|
136 |
+
context.invoke('editor.saveTarget', $data[0]);
|
137 |
+
|
138 |
+
visible = true;
|
139 |
+
}
|
140 |
+
}
|
141 |
+
|
142 |
+
// hide if not visible
|
143 |
+
if (!visible) {
|
144 |
+
self.hidePopover();
|
145 |
+
}
|
146 |
+
};
|
147 |
+
|
148 |
+
self.hidePopover = function() {
|
149 |
+
self.$popover.hide();
|
150 |
+
};
|
151 |
+
|
152 |
+
// define plugin dialog
|
153 |
+
self.getInfo = function() {
|
154 |
+
var rng = context.invoke('editor.createRange');
|
155 |
+
|
156 |
+
if (rng.isOnData()) {
|
157 |
+
var $data = $(rng.sc).closest('data.ext-databasic');
|
158 |
+
|
159 |
+
if ($data.length) {
|
160 |
+
// Get the first node on range(for edit).
|
161 |
+
return {
|
162 |
+
node: $data,
|
163 |
+
test: $data.attr('data-test'),
|
164 |
+
};
|
165 |
+
}
|
166 |
+
}
|
167 |
+
|
168 |
+
return {};
|
169 |
+
};
|
170 |
+
|
171 |
+
self.setContent = function($node) {
|
172 |
+
$node.html('<p contenteditable="false">' + self.icon + ' ' + lang.databasic.name + ': ' +
|
173 |
+
$node.attr('data-test') + '</p>');
|
174 |
+
};
|
175 |
+
|
176 |
+
self.updateNode = function(info) {
|
177 |
+
self.setContent(info.node
|
178 |
+
.attr('data-test', info.test));
|
179 |
+
};
|
180 |
+
|
181 |
+
self.createNode = function(info) {
|
182 |
+
var $node = $('<data class="ext-databasic"></data>');
|
183 |
+
|
184 |
+
if ($node) {
|
185 |
+
// save node to info structure
|
186 |
+
info.node = $node;
|
187 |
+
// insert node into editor dom
|
188 |
+
context.invoke('editor.insertNode', $node[0]);
|
189 |
+
}
|
190 |
+
|
191 |
+
return $node;
|
192 |
+
};
|
193 |
+
|
194 |
+
self.showDialog = function() {
|
195 |
+
var info = self.getInfo();
|
196 |
+
var newNode = !info.node;
|
197 |
+
context.invoke('editor.saveRange');
|
198 |
+
|
199 |
+
self
|
200 |
+
.openDialog(info)
|
201 |
+
.then(function(dialogInfo) {
|
202 |
+
// [workaround] hide dialog before restore range for IE range focus
|
203 |
+
ui.hideDialog(self.$dialog);
|
204 |
+
context.invoke('editor.restoreRange');
|
205 |
+
|
206 |
+
// insert a new node
|
207 |
+
if (newNode) {
|
208 |
+
self.createNode(info);
|
209 |
+
}
|
210 |
+
|
211 |
+
// update info with dialog info
|
212 |
+
$.extend(info, dialogInfo);
|
213 |
+
|
214 |
+
self.updateNode(info);
|
215 |
+
})
|
216 |
+
.fail(function() {
|
217 |
+
context.invoke('editor.restoreRange');
|
218 |
+
});
|
219 |
+
};
|
220 |
+
|
221 |
+
self.openDialog = function(info) {
|
222 |
+
return $.Deferred(function(deferred) {
|
223 |
+
var $inpTest = self.$dialog.find('.ext-databasic-test');
|
224 |
+
var $saveBtn = self.$dialog.find('.ext-databasic-save');
|
225 |
+
var onKeyup = function(event) {
|
226 |
+
if (event.keyCode === 13) {
|
227 |
+
$saveBtn.trigger('click');
|
228 |
+
}
|
229 |
+
};
|
230 |
+
|
231 |
+
ui.onDialogShown(self.$dialog, function() {
|
232 |
+
context.triggerEvent('dialog.shown');
|
233 |
+
|
234 |
+
$inpTest.val(info.test).on('input', function() {
|
235 |
+
ui.toggleBtn($saveBtn, $inpTest.val());
|
236 |
+
}).trigger('focus').on('keyup', onKeyup);
|
237 |
+
|
238 |
+
$saveBtn
|
239 |
+
.text(info.node ? lang.databasic.edit : lang.databasic.insert)
|
240 |
+
.click(function(event) {
|
241 |
+
event.preventDefault();
|
242 |
+
|
243 |
+
deferred.resolve({ test: $inpTest.val() });
|
244 |
+
});
|
245 |
+
|
246 |
+
// init save button
|
247 |
+
ui.toggleBtn($saveBtn, $inpTest.val());
|
248 |
+
});
|
249 |
+
|
250 |
+
ui.onDialogHidden(self.$dialog, function() {
|
251 |
+
$inpTest.off('input keyup');
|
252 |
+
$saveBtn.off('click');
|
253 |
+
|
254 |
+
if (deferred.state() === 'pending') {
|
255 |
+
deferred.reject();
|
256 |
+
}
|
257 |
+
});
|
258 |
+
|
259 |
+
ui.showDialog(self.$dialog);
|
260 |
+
});
|
261 |
+
};
|
262 |
+
};
|
263 |
+
|
264 |
+
// Extends summernote
|
265 |
+
$.extend(true, $.summernote, {
|
266 |
+
plugins: {
|
267 |
+
databasic: DataBasicPlugin,
|
268 |
+
},
|
269 |
+
|
270 |
+
options: {
|
271 |
+
popover: {
|
272 |
+
databasic: [
|
273 |
+
['databasic', ['databasicDialog', 'databasicSize100', 'databasicSize50', 'databasicSize25']],
|
274 |
+
],
|
275 |
+
},
|
276 |
+
},
|
277 |
+
|
278 |
+
// add localization texts
|
279 |
+
lang: {
|
280 |
+
'en-US': {
|
281 |
+
databasic: {
|
282 |
+
name: 'Basic Data Container',
|
283 |
+
insert: 'insert basic data container',
|
284 |
+
edit: 'edit basic data container',
|
285 |
+
testLabel: 'test input',
|
286 |
+
},
|
287 |
+
},
|
288 |
+
},
|
289 |
+
|
290 |
+
});
|
291 |
+
}));
|
admin/lib/summernote/plugin/hello/summernote-ext-hello.js
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function(factory) {
|
2 |
+
if (typeof define === 'function' && define.amd) {
|
3 |
+
// AMD. Register as an anonymous module.
|
4 |
+
define(['jquery'], factory);
|
5 |
+
} else if (typeof module === 'object' && module.exports) {
|
6 |
+
// Node/CommonJS
|
7 |
+
module.exports = factory(require('jquery'));
|
8 |
+
} else {
|
9 |
+
// Browser globals
|
10 |
+
factory(window.jQuery);
|
11 |
+
}
|
12 |
+
}(function($) {
|
13 |
+
// Extends plugins for adding hello.
|
14 |
+
// - plugin is external module for customizing.
|
15 |
+
$.extend($.summernote.plugins, {
|
16 |
+
/**
|
17 |
+
* @param {Object} context - context object has status of editor.
|
18 |
+
*/
|
19 |
+
'hello': function(context) {
|
20 |
+
var self = this;
|
21 |
+
|
22 |
+
// ui has renders to build ui elements.
|
23 |
+
// - you can create a button with `ui.button`
|
24 |
+
var ui = $.summernote.ui;
|
25 |
+
|
26 |
+
// add hello button
|
27 |
+
context.memo('button.hello', function() {
|
28 |
+
// create button
|
29 |
+
var button = ui.button({
|
30 |
+
contents: '<i class="fa fa-child"/> Hello',
|
31 |
+
tooltip: 'hello',
|
32 |
+
click: function() {
|
33 |
+
self.$panel.show();
|
34 |
+
self.$panel.hide(500);
|
35 |
+
// invoke insertText method with 'hello' on editor module.
|
36 |
+
context.invoke('editor.insertText', 'hello');
|
37 |
+
},
|
38 |
+
});
|
39 |
+
|
40 |
+
// create jQuery object from button instance.
|
41 |
+
var $hello = button.render();
|
42 |
+
return $hello;
|
43 |
+
});
|
44 |
+
|
45 |
+
// This events will be attached when editor is initialized.
|
46 |
+
this.events = {
|
47 |
+
// This will be called after modules are initialized.
|
48 |
+
'summernote.init': function(we, e) {
|
49 |
+
// eslint-disable-next-line
|
50 |
+
console.log('summernote initialized', we, e);
|
51 |
+
},
|
52 |
+
// This will be called when user releases a key on editable.
|
53 |
+
'summernote.keyup': function(we, e) {
|
54 |
+
// eslint-disable-next-line
|
55 |
+
console.log('summernote keyup', we, e);
|
56 |
+
},
|
57 |
+
};
|
58 |
+
|
59 |
+
// This method will be called when editor is initialized by $('..').summernote();
|
60 |
+
// You can create elements for plugin
|
61 |
+
this.initialize = function() {
|
62 |
+
this.$panel = $('<div class="hello-panel"/>').css({
|
63 |
+
position: 'absolute',
|
64 |
+
width: 100,
|
65 |
+
height: 100,
|
66 |
+
left: '50%',
|
67 |
+
top: '50%',
|
68 |
+
background: 'red',
|
69 |
+
}).hide();
|
70 |
+
|
71 |
+
this.$panel.appendTo('body');
|
72 |
+
};
|
73 |
+
|
74 |
+
// This methods will be called when editor is destroyed by $('..').summernote('destroy');
|
75 |
+
// You should remove elements on `initialize`.
|
76 |
+
this.destroy = function() {
|
77 |
+
this.$panel.remove();
|
78 |
+
this.$panel = null;
|
79 |
+
};
|
80 |
+
},
|
81 |
+
});
|
82 |
+
}));
|
admin/lib/summernote/plugin/specialchars/summernote-ext-specialchars.js
ADDED
@@ -0,0 +1,311 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function(factory) {
|
2 |
+
if (typeof define === 'function' && define.amd) {
|
3 |
+
// AMD. Register as an anonymous module.
|
4 |
+
define(['jquery'], factory);
|
5 |
+
} else if (typeof module === 'object' && module.exports) {
|
6 |
+
// Node/CommonJS
|
7 |
+
module.exports = factory(require('jquery'));
|
8 |
+
} else {
|
9 |
+
// Browser globals
|
10 |
+
factory(window.jQuery);
|
11 |
+
}
|
12 |
+
}(function($) {
|
13 |
+
$.extend($.summernote.plugins, {
|
14 |
+
'specialchars': function(context) {
|
15 |
+
var self = this;
|
16 |
+
var ui = $.summernote.ui;
|
17 |
+
|
18 |
+
var $editor = context.layoutInfo.editor;
|
19 |
+
var options = context.options;
|
20 |
+
var lang = options.langInfo;
|
21 |
+
|
22 |
+
var KEY = {
|
23 |
+
UP: 38,
|
24 |
+
DOWN: 40,
|
25 |
+
LEFT: 37,
|
26 |
+
RIGHT: 39,
|
27 |
+
ENTER: 13,
|
28 |
+
};
|
29 |
+
var COLUMN_LENGTH = 15;
|
30 |
+
var COLUMN_WIDTH = 35;
|
31 |
+
|
32 |
+
var currentColumn = 0;
|
33 |
+
var currentRow = 0;
|
34 |
+
var totalColumn = 0;
|
35 |
+
var totalRow = 0;
|
36 |
+
|
37 |
+
// special characters data set
|
38 |
+
var specialCharDataSet = [
|
39 |
+
'"', '&', '<', '>', '¡', '¢',
|
40 |
+
'£', '¤', '¥', '¦', '§',
|
41 |
+
'¨', '©', 'ª', '«', '¬',
|
42 |
+
'®', '¯', '°', '±', '²',
|
43 |
+
'³', '´', 'µ', '¶', '·',
|
44 |
+
'¸', '¹', 'º', '»', '¼',
|
45 |
+
'½', '¾', '¿', '×', '÷',
|
46 |
+
'ƒ', 'ˆ', '˜', '–', '—',
|
47 |
+
'‘', '’', '‚', '“', '”',
|
48 |
+
'„', '†', '‡', '•', '…',
|
49 |
+
'‰', '′', '″', '‹', '›',
|
50 |
+
'‾', '⁄', '€', 'ℑ', '℘',
|
51 |
+
'ℜ', '™', 'ℵ', '←', '↑',
|
52 |
+
'→', '↓', '↔', '↵', '⇐',
|
53 |
+
'⇑', '⇒', '⇓', '⇔', '∀',
|
54 |
+
'∂', '∃', '∅', '∇', '∈',
|
55 |
+
'∉', '∋', '∏', '∑', '−',
|
56 |
+
'∗', '√', '∝', '∞', '∠',
|
57 |
+
'∧', '∨', '∩', '∪', '∫',
|
58 |
+
'∴', '∼', '≅', '≈', '≠',
|
59 |
+
'≡', '≤', '≥', '⊂', '⊃',
|
60 |
+
'⊄', '⊆', '⊇', '⊕', '⊗',
|
61 |
+
'⊥', '⋅', '⌈', '⌉', '⌊',
|
62 |
+
'⌋', '◊', '♠', '♣', '♥',
|
63 |
+
'♦',
|
64 |
+
];
|
65 |
+
|
66 |
+
context.memo('button.specialchars', function() {
|
67 |
+
return ui.button({
|
68 |
+
contents: '<i class="fa fa-font fa-flip-vertical">',
|
69 |
+
tooltip: lang.specialChar.specialChar,
|
70 |
+
click: function() {
|
71 |
+
self.show();
|
72 |
+
},
|
73 |
+
}).render();
|
74 |
+
});
|
75 |
+
|
76 |
+
/**
|
77 |
+
* Make Special Characters Table
|
78 |
+
*
|
79 |
+
* @member plugin.specialChar
|
80 |
+
* @private
|
81 |
+
* @return {jQuery}
|
82 |
+
*/
|
83 |
+
this.makeSpecialCharSetTable = function() {
|
84 |
+
var $table = $('<table/>');
|
85 |
+
$.each(specialCharDataSet, function(idx, text) {
|
86 |
+
var $td = $('<td/>').addClass('note-specialchar-node');
|
87 |
+
var $tr = (idx % COLUMN_LENGTH === 0) ? $('<tr/>') : $table.find('tr').last();
|
88 |
+
|
89 |
+
var $button = ui.button({
|
90 |
+
callback: function($node) {
|
91 |
+
$node.html(text);
|
92 |
+
$node.attr('title', text);
|
93 |
+
$node.attr('data-value', encodeURIComponent(text));
|
94 |
+
$node.css({
|
95 |
+
width: COLUMN_WIDTH,
|
96 |
+
'margin-right': '2px',
|
97 |
+
'margin-bottom': '2px',
|
98 |
+
});
|
99 |
+
},
|
100 |
+
}).render();
|
101 |
+
|
102 |
+
$td.append($button);
|
103 |
+
|
104 |
+
$tr.append($td);
|
105 |
+
if (idx % COLUMN_LENGTH === 0) {
|
106 |
+
$table.append($tr);
|
107 |
+
}
|
108 |
+
});
|
109 |
+
|
110 |
+
totalRow = $table.find('tr').length;
|
111 |
+
totalColumn = COLUMN_LENGTH;
|
112 |
+
|
113 |
+
return $table;
|
114 |
+
};
|
115 |
+
|
116 |
+
this.initialize = function() {
|
117 |
+
var $container = options.dialogsInBody ? $(document.body) : $editor;
|
118 |
+
|
119 |
+
var body = '<div class="form-group row-fluid">' + this.makeSpecialCharSetTable()[0].outerHTML + '</div>';
|
120 |
+
|
121 |
+
this.$dialog = ui.dialog({
|
122 |
+
title: lang.specialChar.select,
|
123 |
+
body: body,
|
124 |
+
}).render().appendTo($container);
|
125 |
+
};
|
126 |
+
|
127 |
+
this.show = function() {
|
128 |
+
var text = context.invoke('editor.getSelectedText');
|
129 |
+
context.invoke('editor.saveRange');
|
130 |
+
this.showSpecialCharDialog(text).then(function(selectChar) {
|
131 |
+
context.invoke('editor.restoreRange');
|
132 |
+
|
133 |
+
// build node
|
134 |
+
var $node = $('<span></span>').html(selectChar)[0];
|
135 |
+
|
136 |
+
if ($node) {
|
137 |
+
// insert video node
|
138 |
+
context.invoke('editor.insertNode', $node);
|
139 |
+
}
|
140 |
+
}).fail(function() {
|
141 |
+
context.invoke('editor.restoreRange');
|
142 |
+
});
|
143 |
+
};
|
144 |
+
|
145 |
+
/**
|
146 |
+
* show image dialog
|
147 |
+
*
|
148 |
+
* @param {jQuery} $dialog
|
149 |
+
* @return {Promise}
|
150 |
+
*/
|
151 |
+
this.showSpecialCharDialog = function(text) {
|
152 |
+
return $.Deferred(function(deferred) {
|
153 |
+
var $specialCharDialog = self.$dialog;
|
154 |
+
var $specialCharNode = $specialCharDialog.find('.note-specialchar-node');
|
155 |
+
var $selectedNode = null;
|
156 |
+
var ARROW_KEYS = [KEY.UP, KEY.DOWN, KEY.LEFT, KEY.RIGHT];
|
157 |
+
var ENTER_KEY = KEY.ENTER;
|
158 |
+
|
159 |
+
function addActiveClass($target) {
|
160 |
+
if (!$target) {
|
161 |
+
return;
|
162 |
+
}
|
163 |
+
$target.find('button').addClass('active');
|
164 |
+
$selectedNode = $target;
|
165 |
+
}
|
166 |
+
|
167 |
+
function removeActiveClass($target) {
|
168 |
+
$target.find('button').removeClass('active');
|
169 |
+
$selectedNode = null;
|
170 |
+
}
|
171 |
+
|
172 |
+
// find next node
|
173 |
+
function findNextNode(row, column) {
|
174 |
+
var findNode = null;
|
175 |
+
$.each($specialCharNode, function(idx, $node) {
|
176 |
+
var findRow = Math.ceil((idx + 1) / COLUMN_LENGTH);
|
177 |
+
var findColumn = ((idx + 1) % COLUMN_LENGTH === 0) ? COLUMN_LENGTH : (idx + 1) % COLUMN_LENGTH;
|
178 |
+
if (findRow === row && findColumn === column) {
|
179 |
+
findNode = $node;
|
180 |
+
return false;
|
181 |
+
}
|
182 |
+
});
|
183 |
+
return $(findNode);
|
184 |
+
}
|
185 |
+
|
186 |
+
function arrowKeyHandler(keyCode) {
|
187 |
+
// left, right, up, down key
|
188 |
+
var $nextNode;
|
189 |
+
var lastRowColumnLength = $specialCharNode.length % totalColumn;
|
190 |
+
|
191 |
+
if (KEY.LEFT === keyCode) {
|
192 |
+
if (currentColumn > 1) {
|
193 |
+
currentColumn = currentColumn - 1;
|
194 |
+
} else if (currentRow === 1 && currentColumn === 1) {
|
195 |
+
currentColumn = lastRowColumnLength;
|
196 |
+
currentRow = totalRow;
|
197 |
+
} else {
|
198 |
+
currentColumn = totalColumn;
|
199 |
+
currentRow = currentRow - 1;
|
200 |
+
}
|
201 |
+
} else if (KEY.RIGHT === keyCode) {
|
202 |
+
if (currentRow === totalRow && lastRowColumnLength === currentColumn) {
|
203 |
+
currentColumn = 1;
|
204 |
+
currentRow = 1;
|
205 |
+
} else if (currentColumn < totalColumn) {
|
206 |
+
currentColumn = currentColumn + 1;
|
207 |
+
} else {
|
208 |
+
currentColumn = 1;
|
209 |
+
currentRow = currentRow + 1;
|
210 |
+
}
|
211 |
+
} else if (KEY.UP === keyCode) {
|
212 |
+
if (currentRow === 1 && lastRowColumnLength < currentColumn) {
|
213 |
+
currentRow = totalRow - 1;
|
214 |
+
} else {
|
215 |
+
currentRow = currentRow - 1;
|
216 |
+
}
|
217 |
+
} else if (KEY.DOWN === keyCode) {
|
218 |
+
currentRow = currentRow + 1;
|
219 |
+
}
|
220 |
+
|
221 |
+
if (currentRow === totalRow && currentColumn > lastRowColumnLength) {
|
222 |
+
currentRow = 1;
|
223 |
+
} else if (currentRow > totalRow) {
|
224 |
+
currentRow = 1;
|
225 |
+
} else if (currentRow < 1) {
|
226 |
+
currentRow = totalRow;
|
227 |
+
}
|
228 |
+
|
229 |
+
$nextNode = findNextNode(currentRow, currentColumn);
|
230 |
+
|
231 |
+
if ($nextNode) {
|
232 |
+
removeActiveClass($selectedNode);
|
233 |
+
addActiveClass($nextNode);
|
234 |
+
}
|
235 |
+
}
|
236 |
+
|
237 |
+
function enterKeyHandler() {
|
238 |
+
if (!$selectedNode) {
|
239 |
+
return;
|
240 |
+
}
|
241 |
+
|
242 |
+
deferred.resolve(decodeURIComponent($selectedNode.find('button').attr('data-value')));
|
243 |
+
$specialCharDialog.modal('hide');
|
244 |
+
}
|
245 |
+
|
246 |
+
function keyDownEventHandler(event) {
|
247 |
+
event.preventDefault();
|
248 |
+
var keyCode = event.keyCode;
|
249 |
+
if (keyCode === undefined || keyCode === null) {
|
250 |
+
return;
|
251 |
+
}
|
252 |
+
// check arrowKeys match
|
253 |
+
if (ARROW_KEYS.indexOf(keyCode) > -1) {
|
254 |
+
if ($selectedNode === null) {
|
255 |
+
addActiveClass($specialCharNode.eq(0));
|
256 |
+
currentColumn = 1;
|
257 |
+
currentRow = 1;
|
258 |
+
return;
|
259 |
+
}
|
260 |
+
arrowKeyHandler(keyCode);
|
261 |
+
} else if (keyCode === ENTER_KEY) {
|
262 |
+
enterKeyHandler();
|
263 |
+
}
|
264 |
+
return false;
|
265 |
+
}
|
266 |
+
|
267 |
+
// remove class
|
268 |
+
removeActiveClass($specialCharNode);
|
269 |
+
|
270 |
+
// find selected node
|
271 |
+
if (text) {
|
272 |
+
for (var i = 0; i < $specialCharNode.length; i++) {
|
273 |
+
var $checkNode = $($specialCharNode[i]);
|
274 |
+
if ($checkNode.text() === text) {
|
275 |
+
addActiveClass($checkNode);
|
276 |
+
currentRow = Math.ceil((i + 1) / COLUMN_LENGTH);
|
277 |
+
currentColumn = (i + 1) % COLUMN_LENGTH;
|
278 |
+
}
|
279 |
+
}
|
280 |
+
}
|
281 |
+
|
282 |
+
ui.onDialogShown(self.$dialog, function() {
|
283 |
+
$(document).on('keydown', keyDownEventHandler);
|
284 |
+
|
285 |
+
self.$dialog.find('button').tooltip();
|
286 |
+
|
287 |
+
$specialCharNode.on('click', function(event) {
|
288 |
+
event.preventDefault();
|
289 |
+
deferred.resolve(decodeURIComponent($(event.currentTarget).find('button').attr('data-value')));
|
290 |
+
ui.hideDialog(self.$dialog);
|
291 |
+
});
|
292 |
+
});
|
293 |
+
|
294 |
+
ui.onDialogHidden(self.$dialog, function() {
|
295 |
+
$specialCharNode.off('click');
|
296 |
+
|
297 |
+
self.$dialog.find('button').tooltip('destroy');
|
298 |
+
|
299 |
+
$(document).off('keydown', keyDownEventHandler);
|
300 |
+
|
301 |
+
if (deferred.state() === 'pending') {
|
302 |
+
deferred.reject();
|
303 |
+
}
|
304 |
+
});
|
305 |
+
|
306 |
+
ui.showDialog(self.$dialog);
|
307 |
+
});
|
308 |
+
};
|
309 |
+
},
|
310 |
+
});
|
311 |
+
}));
|
admin/lib/summernote/summernote-bs4.css
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
@font-face{font-family:"summernote";font-style:normal;font-weight:400;font-display:auto;src:url(font/summernote.eot);src:url(font/summernote.eot?#iefix) format("embedded-opentype"),url(font/summernote.woff2) format("woff2"),url(font/summernote.woff) format("woff"),url(font/summernote.ttf) format("truetype")}[class^=note-icon]:before,[class*=" note-icon"]:before{display:inline-block;font-family:summernote;font-style:normal;font-size:inherit;text-decoration:inherit;text-rendering:auto;text-transform:none;vertical-align:middle;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;speak:none}.note-icon-fw{text-align:center;width:1.25em}.note-icon-border{border:solid .08em #eee;border-radius:.1em;padding:.2em .25em .15em}.note-icon-pull-left{float:left}.note-icon-pull-right{float:right}.note-icon.note-icon-pull-left{margin-right:.3em}.note-icon.note-icon-pull-right{margin-left:.3em}.note-icon-align::before{content:""}.note-icon-align-center::before{content:""}.note-icon-align-indent::before{content:""}.note-icon-align-justify::before{content:""}.note-icon-align-left::before{content:""}.note-icon-align-outdent::before{content:""}.note-icon-align-right::before{content:""}.note-icon-arrow-circle-down::before{content:""}.note-icon-arrow-circle-left::before{content:""}.note-icon-arrow-circle-right::before{content:""}.note-icon-arrow-circle-up::before{content:""}.note-icon-arrows-alt::before{content:""}.note-icon-arrows-h::before{content:""}.note-icon-arrows-v::before{content:""}.note-icon-bold::before{content:""}.note-icon-caret::before{content:""}.note-icon-chain-broken::before{content:""}.note-icon-circle::before{content:""}.note-icon-close::before{content:""}.note-icon-code::before{content:""}.note-icon-col-after::before{content:""}.note-icon-col-before::before{content:""}.note-icon-col-remove::before{content:""}.note-icon-eraser::before{content:""}.note-icon-float-left::before{content:""}.note-icon-float-none::before{content:""}.note-icon-float-right::before{content:""}.note-icon-font::before{content:""}.note-icon-frame::before{content:""}.note-icon-italic::before{content:""}.note-icon-link::before{content:""}.note-icon-magic::before{content:""}.note-icon-menu-check::before{content:""}.note-icon-minus::before{content:""}.note-icon-orderedlist::before{content:""}.note-icon-pencil::before{content:""}.note-icon-picture::before{content:""}.note-icon-question::before{content:""}.note-icon-redo::before{content:""}.note-icon-rollback::before{content:""}.note-icon-row-above::before{content:""}.note-icon-row-below::before{content:""}.note-icon-row-remove::before{content:""}.note-icon-special-character::before{content:""}.note-icon-square::before{content:""}.note-icon-strikethrough::before{content:""}.note-icon-subscript::before{content:""}.note-icon-summernote::before{content:""}.note-icon-superscript::before{content:""}.note-icon-table::before{content:""}.note-icon-text-height::before{content:""}.note-icon-trash::before{content:""}.note-icon-underline::before{content:""}.note-icon-undo::before{content:""}.note-icon-unorderedlist::before{content:""}.note-icon-video::before{content:""}.note-editor{position:relative}.note-editor .note-dropzone{position:absolute;display:none;z-index:100;color:#87cefa;background-color:#fff;opacity:.95}.note-editor .note-dropzone .note-dropzone-message{display:table-cell;vertical-align:middle;text-align:center;font-size:28px;font-weight:700}.note-editor .note-dropzone.hover{color:#098ddf}.note-editor.dragover .note-dropzone{display:table}.note-editor .note-editing-area{position:relative}.note-editor .note-editing-area .note-editable{outline:none}.note-editor .note-editing-area .note-editable sup{vertical-align:super}.note-editor .note-editing-area .note-editable sub{vertical-align:sub}.note-editor .note-editing-area .note-editable img.note-float-left{margin-right:10px}.note-editor .note-editing-area .note-editable img.note-float-right{margin-left:10px}.note-editor.note-frame,.note-editor.note-airframe{border:1px solid #00000032}.note-editor.note-frame.codeview .note-editing-area .note-editable,.note-editor.note-airframe.codeview .note-editing-area .note-editable{display:none}.note-editor.note-frame.codeview .note-editing-area .note-codable,.note-editor.note-airframe.codeview .note-editing-area .note-codable{display:block}.note-editor.note-frame .note-editing-area,.note-editor.note-airframe .note-editing-area{overflow:hidden}.note-editor.note-frame .note-editing-area .note-editable,.note-editor.note-airframe .note-editing-area .note-editable{padding:10px;overflow:auto;word-wrap:break-word}.note-editor.note-frame .note-editing-area .note-editable[contenteditable=false],.note-editor.note-airframe .note-editing-area .note-editable[contenteditable=false]{background-color:#8080801d}.note-editor.note-frame .note-editing-area .note-codable,.note-editor.note-airframe .note-editing-area .note-codable{display:none;width:100%;padding:10px;border:none;box-shadow:none;font-family:Menlo,Monaco,monospace,sans-serif;font-size:14px;color:#ccc;background-color:#222;resize:none;outline:none;-ms-box-sizing:border-box;box-sizing:border-box;border-radius:0;margin-bottom:0}.note-editor.note-frame.fullscreen,.note-editor.note-airframe.fullscreen{position:fixed;top:0;left:0;width:100% !important;z-index:1050}.note-editor.note-frame.fullscreen .note-resizebar,.note-editor.note-airframe.fullscreen .note-resizebar{display:none}.note-editor.note-frame .note-status-output,.note-editor.note-airframe .note-status-output{display:block;width:100%;font-size:14px;line-height:1.42857143;height:20px;margin-bottom:0;color:#000;border:0;border-top:1px solid #e2e2e2}.note-editor.note-frame .note-status-output:empty,.note-editor.note-airframe .note-status-output:empty{height:0;border-top:0 solid transparent}.note-editor.note-frame .note-status-output .pull-right,.note-editor.note-airframe .note-status-output .pull-right{float:right !important}.note-editor.note-frame .note-status-output .text-muted,.note-editor.note-airframe .note-status-output .text-muted{color:#777}.note-editor.note-frame .note-status-output .text-primary,.note-editor.note-airframe .note-status-output .text-primary{color:#286090}.note-editor.note-frame .note-status-output .text-success,.note-editor.note-airframe .note-status-output .text-success{color:#3c763d}.note-editor.note-frame .note-status-output .text-info,.note-editor.note-airframe .note-status-output .text-info{color:#31708f}.note-editor.note-frame .note-status-output .text-warning,.note-editor.note-airframe .note-status-output .text-warning{color:#8a6d3b}.note-editor.note-frame .note-status-output .text-danger,.note-editor.note-airframe .note-status-output .text-danger{color:#a94442}.note-editor.note-frame .note-status-output .alert,.note-editor.note-airframe .note-status-output .alert{margin:-7px 0 0 0;padding:7px 10px 2px 10px;border-radius:0;color:#000;background-color:#f5f5f5}.note-editor.note-frame .note-status-output .alert .note-icon,.note-editor.note-airframe .note-status-output .alert .note-icon{margin-right:5px}.note-editor.note-frame .note-status-output .alert-success,.note-editor.note-airframe .note-status-output .alert-success{color:#3c763d !important;background-color:#dff0d8 !important}.note-editor.note-frame .note-status-output .alert-info,.note-editor.note-airframe .note-status-output .alert-info{color:#31708f !important;background-color:#d9edf7 !important}.note-editor.note-frame .note-status-output .alert-warning,.note-editor.note-airframe .note-status-output .alert-warning{color:#8a6d3b !important;background-color:#fcf8e3 !important}.note-editor.note-frame .note-status-output .alert-danger,.note-editor.note-airframe .note-status-output .alert-danger{color:#a94442 !important;background-color:#f2dede !important}.note-editor.note-frame .note-statusbar,.note-editor.note-airframe .note-statusbar{background-color:#8080801d;border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-top:1px solid #00000032}.note-editor.note-frame .note-statusbar .note-resizebar,.note-editor.note-airframe .note-statusbar .note-resizebar{padding-top:1px;height:9px;width:100%;cursor:ns-resize}.note-editor.note-frame .note-statusbar .note-resizebar .note-icon-bar,.note-editor.note-airframe .note-statusbar .note-resizebar .note-icon-bar{width:20px;margin:1px auto;border-top:1px solid #00000032}.note-editor.note-frame .note-statusbar.locked .note-resizebar,.note-editor.note-airframe .note-statusbar.locked .note-resizebar{cursor:default}.note-editor.note-frame .note-statusbar.locked .note-resizebar .note-icon-bar,.note-editor.note-airframe .note-statusbar.locked .note-resizebar .note-icon-bar{display:none}.note-editor.note-frame .note-placeholder,.note-editor.note-airframe .note-placeholder{padding:10px}.note-editor.note-airframe{border:0}.note-editor.note-airframe .note-editing-area .note-editable{padding:0}.note-popover.popover{display:none;max-width:none}.note-popover.popover .popover-content a{display:inline-block;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}.note-popover.popover .arrow{left:20px !important}.note-toolbar{position:relative}.note-popover .popover-content,.note-editor .note-toolbar{margin:0;padding:0 0 5px 5px}.note-popover .popover-content>.note-btn-group,.note-editor .note-toolbar>.note-btn-group{margin-top:5px;margin-left:0;margin-right:5px}.note-popover .popover-content .note-btn-group .note-table,.note-editor .note-toolbar .note-btn-group .note-table{min-width:0;padding:5px}.note-popover .popover-content .note-btn-group .note-table .note-dimension-picker,.note-editor .note-toolbar .note-btn-group .note-table .note-dimension-picker{font-size:18px}.note-popover .popover-content .note-btn-group .note-table .note-dimension-picker .note-dimension-picker-mousecatcher,.note-editor .note-toolbar .note-btn-group .note-table .note-dimension-picker .note-dimension-picker-mousecatcher{position:absolute !important;z-index:3;width:10em;height:10em;cursor:pointer}.note-popover .popover-content .note-btn-group .note-table .note-dimension-picker .note-dimension-picker-unhighlighted,.note-editor .note-toolbar .note-btn-group .note-table .note-dimension-picker .note-dimension-picker-unhighlighted{position:relative !important;z-index:1;width:5em;height:5em;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIj4+Pjp6ekKlAqjAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKhmnaJzPAAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC") repeat}.note-popover .popover-content .note-btn-group .note-table .note-dimension-picker .note-dimension-picker-highlighted,.note-editor .note-toolbar .note-btn-group .note-table .note-dimension-picker .note-dimension-picker-highlighted{position:absolute !important;z-index:2;width:1em;height:1em;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIjd6vvD2f9LKLW+AAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKwNDEVT0AAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC") repeat}.note-popover .popover-content .note-style .dropdown-style blockquote,.note-popover .popover-content .note-style .dropdown-style pre,.note-editor .note-toolbar .note-style .dropdown-style blockquote,.note-editor .note-toolbar .note-style .dropdown-style pre{margin:0;padding:5px 10px}.note-popover .popover-content .note-style .dropdown-style h1,.note-popover .popover-content .note-style .dropdown-style h2,.note-popover .popover-content .note-style .dropdown-style h3,.note-popover .popover-content .note-style .dropdown-style h4,.note-popover .popover-content .note-style .dropdown-style h5,.note-popover .popover-content .note-style .dropdown-style h6,.note-popover .popover-content .note-style .dropdown-style p,.note-editor .note-toolbar .note-style .dropdown-style h1,.note-editor .note-toolbar .note-style .dropdown-style h2,.note-editor .note-toolbar .note-style .dropdown-style h3,.note-editor .note-toolbar .note-style .dropdown-style h4,.note-editor .note-toolbar .note-style .dropdown-style h5,.note-editor .note-toolbar .note-style .dropdown-style h6,.note-editor .note-toolbar .note-style .dropdown-style p{margin:0;padding:0}.note-popover .popover-content .note-color-all .note-dropdown-menu,.note-editor .note-toolbar .note-color-all .note-dropdown-menu{min-width:337px}.note-popover .popover-content .note-color .dropdown-toggle,.note-editor .note-toolbar .note-color .dropdown-toggle{width:20px;padding-left:5px}.note-popover .popover-content .note-color .note-dropdown-menu .note-palette,.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette{display:inline-block;margin:0;width:160px}.note-popover .popover-content .note-color .note-dropdown-menu .note-palette:first-child,.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette:first-child{margin:0 5px}.note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-palette-title,.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-palette-title{font-size:12px;margin:2px 7px;text-align:center;border-bottom:1px solid #eee}.note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-reset,.note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-select,.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-reset,.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-select{font-size:11px;margin:3px;padding:0 3px;cursor:pointer;width:100%;border-radius:5px}.note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-reset:hover,.note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-select:hover,.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-reset:hover,.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-select:hover{background:#eee}.note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-row,.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-row{height:20px}.note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-select-btn,.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-select-btn{display:none}.note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-holder-custom .note-color-btn,.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-holder-custom .note-color-btn{border:1px solid #eee}.note-popover .popover-content .note-para .note-dropdown-menu,.note-editor .note-toolbar .note-para .note-dropdown-menu{min-width:228px;padding:5px}.note-popover .popover-content .note-para .note-dropdown-menu>div+div,.note-editor .note-toolbar .note-para .note-dropdown-menu>div+div{margin-left:5px}.note-popover .popover-content .note-dropdown-menu,.note-editor .note-toolbar .note-dropdown-menu{min-width:160px}.note-popover .popover-content .note-dropdown-menu.right,.note-editor .note-toolbar .note-dropdown-menu.right{right:0;left:auto}.note-popover .popover-content .note-dropdown-menu.right::before,.note-editor .note-toolbar .note-dropdown-menu.right::before{right:9px;left:auto !important}.note-popover .popover-content .note-dropdown-menu.right::after,.note-editor .note-toolbar .note-dropdown-menu.right::after{right:10px;left:auto !important}.note-popover .popover-content .note-dropdown-menu.note-check a i,.note-editor .note-toolbar .note-dropdown-menu.note-check a i{color:#00bfff;visibility:hidden}.note-popover .popover-content .note-dropdown-menu.note-check a.checked i,.note-editor .note-toolbar .note-dropdown-menu.note-check a.checked i{visibility:visible}.note-popover .popover-content .note-fontsize-10,.note-editor .note-toolbar .note-fontsize-10{font-size:10px}.note-popover .popover-content .note-color-palette,.note-editor .note-toolbar .note-color-palette{line-height:1}.note-popover .popover-content .note-color-palette div .note-color-btn,.note-editor .note-toolbar .note-color-palette div .note-color-btn{width:20px;height:20px;padding:0;margin:0;border:0;border-radius:0}.note-popover .popover-content .note-color-palette div .note-color-btn:hover,.note-editor .note-toolbar .note-color-palette div .note-color-btn:hover{transform:scale(1.2);transition:all .2s}.note-modal .modal-dialog{outline:0;border-radius:5px;box-shadow:0 3px 9px rgba(0,0,0,.5)}.note-modal .form-group{margin-left:0;margin-right:0}.note-modal .note-modal-form{margin:0}.note-modal .note-image-dialog .note-dropzone{min-height:100px;font-size:30px;line-height:4;color:#d3d3d3;text-align:center;border:4px dashed #d3d3d3;margin-bottom:10px}@-moz-document url-prefix(){.note-modal .note-image-input{height:auto}}.note-placeholder{position:absolute;display:none;color:gray}.note-handle .note-control-selection{position:absolute;display:none;border:1px solid #000}.note-handle .note-control-selection>div{position:absolute}.note-handle .note-control-selection .note-control-selection-bg{width:100%;height:100%;background-color:#000;-webkit-opacity:.3;-khtml-opacity:.3;-moz-opacity:.3;opacity:.3;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(opacity=30);filter:alpha(opacity=30)}.note-handle .note-control-selection .note-control-handle,.note-handle .note-control-selection .note-control-sizing,.note-handle .note-control-selection .note-control-holder{width:7px;height:7px;border:1px solid #000}.note-handle .note-control-selection .note-control-sizing{background-color:#000}.note-handle .note-control-selection .note-control-nw{top:-5px;left:-5px;border-right:none;border-bottom:none}.note-handle .note-control-selection .note-control-ne{top:-5px;right:-5px;border-bottom:none;border-left:none}.note-handle .note-control-selection .note-control-sw{bottom:-5px;left:-5px;border-top:none;border-right:none}.note-handle .note-control-selection .note-control-se{right:-5px;bottom:-5px;cursor:se-resize}.note-handle .note-control-selection .note-control-se.note-control-holder{cursor:default;border-top:none;border-left:none}.note-handle .note-control-selection .note-control-selection-info{right:0;bottom:0;padding:5px;margin:5px;color:#fff;background-color:#000;font-size:12px;border-radius:5px;-webkit-opacity:.7;-khtml-opacity:.7;-moz-opacity:.7;opacity:.7;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70);filter:alpha(opacity=70)}.note-hint-popover{min-width:100px;padding:2px}.note-hint-popover .popover-content{padding:3px;max-height:150px;overflow:auto}.note-hint-popover .popover-content .note-hint-group .note-hint-item{display:block !important;padding:3px}.note-hint-popover .popover-content .note-hint-group .note-hint-item.active,.note-hint-popover .popover-content .note-hint-group .note-hint-item:hover{display:block;clear:both;font-weight:400;line-height:1.4;color:#fff;white-space:nowrap;text-decoration:none;background-color:#428bca;outline:0;cursor:pointer}.note-toolbar{background:#8080801d}.note-btn-group .note-btn{border-color:#00000032;padding:.28rem .65rem;font-size:13px}
|
admin/lib/summernote/summernote-bs4.js
ADDED
@@ -0,0 +1,10234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
*
|
3 |
+
* Super simple wysiwyg editor v0.8.18
|
4 |
+
* https://summernote.org
|
5 |
+
*
|
6 |
+
*
|
7 |
+
* Copyright 2013- Alan Hong. and other contributors
|
8 |
+
* summernote may be freely distributed under the MIT license.
|
9 |
+
*
|
10 |
+
* Date: 2020-05-20T18:09Z
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
14 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
15 |
+
module.exports = factory(require("jquery"));
|
16 |
+
else if(typeof define === 'function' && define.amd)
|
17 |
+
define(["jquery"], factory);
|
18 |
+
else {
|
19 |
+
var a = typeof exports === 'object' ? factory(require("jquery")) : factory(root["jQuery"]);
|
20 |
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
21 |
+
}
|
22 |
+
})(window, function(__WEBPACK_EXTERNAL_MODULE__0__) {
|
23 |
+
return /******/ (function(modules) { // webpackBootstrap
|
24 |
+
/******/ // The module cache
|
25 |
+
/******/ var installedModules = {};
|
26 |
+
/******/
|
27 |
+
/******/ // The require function
|
28 |
+
/******/ function __webpack_require__(moduleId) {
|
29 |
+
/******/
|
30 |
+
/******/ // Check if module is in cache
|
31 |
+
/******/ if(installedModules[moduleId]) {
|
32 |
+
/******/ return installedModules[moduleId].exports;
|
33 |
+
/******/ }
|
34 |
+
/******/ // Create a new module (and put it into the cache)
|
35 |
+
/******/ var module = installedModules[moduleId] = {
|
36 |
+
/******/ i: moduleId,
|
37 |
+
/******/ l: false,
|
38 |
+
/******/ exports: {}
|
39 |
+
/******/ };
|
40 |
+
/******/
|
41 |
+
/******/ // Execute the module function
|
42 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
43 |
+
/******/
|
44 |
+
/******/ // Flag the module as loaded
|
45 |
+
/******/ module.l = true;
|
46 |
+
/******/
|
47 |
+
/******/ // Return the exports of the module
|
48 |
+
/******/ return module.exports;
|
49 |
+
/******/ }
|
50 |
+
/******/
|
51 |
+
/******/
|
52 |
+
/******/ // expose the modules object (__webpack_modules__)
|
53 |
+
/******/ __webpack_require__.m = modules;
|
54 |
+
/******/
|
55 |
+
/******/ // expose the module cache
|
56 |
+
/******/ __webpack_require__.c = installedModules;
|
57 |
+
/******/
|
58 |
+
/******/ // define getter function for harmony exports
|
59 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
60 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
61 |
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
62 |
+
/******/ }
|
63 |
+
/******/ };
|
64 |
+
/******/
|
65 |
+
/******/ // define __esModule on exports
|
66 |
+
/******/ __webpack_require__.r = function(exports) {
|
67 |
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
68 |
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
69 |
+
/******/ }
|
70 |
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
71 |
+
/******/ };
|
72 |
+
/******/
|
73 |
+
/******/ // create a fake namespace object
|
74 |
+
/******/ // mode & 1: value is a module id, require it
|
75 |
+
/******/ // mode & 2: merge all properties of value into the ns
|
76 |
+
/******/ // mode & 4: return value when already ns object
|
77 |
+
/******/ // mode & 8|1: behave like require
|
78 |
+
/******/ __webpack_require__.t = function(value, mode) {
|
79 |
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
80 |
+
/******/ if(mode & 8) return value;
|
81 |
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
82 |
+
/******/ var ns = Object.create(null);
|
83 |
+
/******/ __webpack_require__.r(ns);
|
84 |
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
85 |
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
86 |
+
/******/ return ns;
|
87 |
+
/******/ };
|
88 |
+
/******/
|
89 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
90 |
+
/******/ __webpack_require__.n = function(module) {
|
91 |
+
/******/ var getter = module && module.__esModule ?
|
92 |
+
/******/ function getDefault() { return module['default']; } :
|
93 |
+
/******/ function getModuleExports() { return module; };
|
94 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
95 |
+
/******/ return getter;
|
96 |
+
/******/ };
|
97 |
+
/******/
|
98 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
99 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
100 |
+
/******/
|
101 |
+
/******/ // __webpack_public_path__
|
102 |
+
/******/ __webpack_require__.p = "";
|
103 |
+
/******/
|
104 |
+
/******/
|
105 |
+
/******/ // Load entry module and return exports
|
106 |
+
/******/ return __webpack_require__(__webpack_require__.s = 53);
|
107 |
+
/******/ })
|
108 |
+
/************************************************************************/
|
109 |
+
/******/ ({
|
110 |
+
|
111 |
+
/***/ 0:
|
112 |
+
/***/ (function(module, exports) {
|
113 |
+
|
114 |
+
module.exports = __WEBPACK_EXTERNAL_MODULE__0__;
|
115 |
+
|
116 |
+
/***/ }),
|
117 |
+
|
118 |
+
/***/ 1:
|
119 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
120 |
+
|
121 |
+
"use strict";
|
122 |
+
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
123 |
+
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(jquery__WEBPACK_IMPORTED_MODULE_0__);
|
124 |
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
125 |
+
|
126 |
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
127 |
+
|
128 |
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
129 |
+
|
130 |
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
131 |
+
|
132 |
+
|
133 |
+
|
134 |
+
var Renderer = /*#__PURE__*/function () {
|
135 |
+
function Renderer(markup, children, options, callback) {
|
136 |
+
_classCallCheck(this, Renderer);
|
137 |
+
|
138 |
+
this.markup = markup;
|
139 |
+
this.children = children;
|
140 |
+
this.options = options;
|
141 |
+
this.callback = callback;
|
142 |
+
}
|
143 |
+
|
144 |
+
_createClass(Renderer, [{
|
145 |
+
key: "render",
|
146 |
+
value: function render($parent) {
|
147 |
+
var $node = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this.markup);
|
148 |
+
|
149 |
+
if (this.options && this.options.contents) {
|
150 |
+
$node.html(this.options.contents);
|
151 |
+
}
|
152 |
+
|
153 |
+
if (this.options && this.options.className) {
|
154 |
+
$node.addClass(this.options.className);
|
155 |
+
}
|
156 |
+
|
157 |
+
if (this.options && this.options.data) {
|
158 |
+
jquery__WEBPACK_IMPORTED_MODULE_0___default.a.each(this.options.data, function (k, v) {
|
159 |
+
$node.attr('data-' + k, v);
|
160 |
+
});
|
161 |
+
}
|
162 |
+
|
163 |
+
if (this.options && this.options.click) {
|
164 |
+
$node.on('click', this.options.click);
|
165 |
+
}
|
166 |
+
|
167 |
+
if (this.children) {
|
168 |
+
var $container = $node.find('.note-children-container');
|
169 |
+
this.children.forEach(function (child) {
|
170 |
+
child.render($container.length ? $container : $node);
|
171 |
+
});
|
172 |
+
}
|
173 |
+
|
174 |
+
if (this.callback) {
|
175 |
+
this.callback($node, this.options);
|
176 |
+
}
|
177 |
+
|
178 |
+
if (this.options && this.options.callback) {
|
179 |
+
this.options.callback($node);
|
180 |
+
}
|
181 |
+
|
182 |
+
if ($parent) {
|
183 |
+
$parent.append($node);
|
184 |
+
}
|
185 |
+
|
186 |
+
return $node;
|
187 |
+
}
|
188 |
+
}]);
|
189 |
+
|
190 |
+
return Renderer;
|
191 |
+
}();
|
192 |
+
|
193 |
+
/* harmony default export */ __webpack_exports__["a"] = ({
|
194 |
+
create: function create(markup, callback) {
|
195 |
+
return function () {
|
196 |
+
var options = _typeof(arguments[1]) === 'object' ? arguments[1] : arguments[0];
|
197 |
+
var children = Array.isArray(arguments[0]) ? arguments[0] : [];
|
198 |
+
|
199 |
+
if (options && options.children) {
|
200 |
+
children = options.children;
|
201 |
+
}
|
202 |
+
|
203 |
+
return new Renderer(markup, children, options, callback);
|
204 |
+
};
|
205 |
+
}
|
206 |
+
});
|
207 |
+
|
208 |
+
/***/ }),
|
209 |
+
|
210 |
+
/***/ 2:
|
211 |
+
/***/ (function(module, exports) {
|
212 |
+
|
213 |
+
/* WEBPACK VAR INJECTION */(function(__webpack_amd_options__) {/* globals __webpack_amd_options__ */
|
214 |
+
module.exports = __webpack_amd_options__;
|
215 |
+
|
216 |
+
/* WEBPACK VAR INJECTION */}.call(this, {}))
|
217 |
+
|
218 |
+
/***/ }),
|
219 |
+
|
220 |
+
/***/ 3:
|
221 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
222 |
+
|
223 |
+
"use strict";
|
224 |
+
|
225 |
+
// EXTERNAL MODULE: external {"root":"jQuery","commonjs2":"jquery","commonjs":"jquery","amd":"jquery"}
|
226 |
+
var external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_ = __webpack_require__(0);
|
227 |
+
var external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default = /*#__PURE__*/__webpack_require__.n(external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_);
|
228 |
+
|
229 |
+
// CONCATENATED MODULE: ./src/js/base/summernote-en-US.js
|
230 |
+
|
231 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.summernote = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.summernote || {
|
232 |
+
lang: {}
|
233 |
+
};
|
234 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.extend(external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.summernote.lang, {
|
235 |
+
'en-US': {
|
236 |
+
font: {
|
237 |
+
bold: 'Bold',
|
238 |
+
italic: 'Italic',
|
239 |
+
underline: 'Underline',
|
240 |
+
clear: 'Remove Font Style',
|
241 |
+
height: 'Line Height',
|
242 |
+
name: 'Font Family',
|
243 |
+
strikethrough: 'Strikethrough',
|
244 |
+
subscript: 'Subscript',
|
245 |
+
superscript: 'Superscript',
|
246 |
+
size: 'Font Size',
|
247 |
+
sizeunit: 'Font Size Unit'
|
248 |
+
},
|
249 |
+
image: {
|
250 |
+
image: 'Picture',
|
251 |
+
insert: 'Insert Image',
|
252 |
+
resizeFull: 'Resize full',
|
253 |
+
resizeHalf: 'Resize half',
|
254 |
+
resizeQuarter: 'Resize quarter',
|
255 |
+
resizeNone: 'Original size',
|
256 |
+
floatLeft: 'Float Left',
|
257 |
+
floatRight: 'Float Right',
|
258 |
+
floatNone: 'Remove float',
|
259 |
+
shapeRounded: 'Shape: Rounded',
|
260 |
+
shapeCircle: 'Shape: Circle',
|
261 |
+
shapeThumbnail: 'Shape: Thumbnail',
|
262 |
+
shapeNone: 'Shape: None',
|
263 |
+
dragImageHere: 'Drag image or text here',
|
264 |
+
dropImage: 'Drop image or Text',
|
265 |
+
selectFromFiles: 'Select from files',
|
266 |
+
maximumFileSize: 'Maximum file size',
|
267 |
+
maximumFileSizeError: 'Maximum file size exceeded.',
|
268 |
+
url: 'Image URL',
|
269 |
+
remove: 'Remove Image',
|
270 |
+
original: 'Original'
|
271 |
+
},
|
272 |
+
video: {
|
273 |
+
video: 'Video',
|
274 |
+
videoLink: 'Video Link',
|
275 |
+
insert: 'Insert Video',
|
276 |
+
url: 'Video URL',
|
277 |
+
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion or Youku)'
|
278 |
+
},
|
279 |
+
link: {
|
280 |
+
link: 'Link',
|
281 |
+
insert: 'Insert Link',
|
282 |
+
unlink: 'Unlink',
|
283 |
+
edit: 'Edit',
|
284 |
+
textToDisplay: 'Text to display',
|
285 |
+
url: 'To what URL should this link go?',
|
286 |
+
openInNewWindow: 'Open in new window',
|
287 |
+
useProtocol: 'Use default protocol'
|
288 |
+
},
|
289 |
+
table: {
|
290 |
+
table: 'Table',
|
291 |
+
addRowAbove: 'Add row above',
|
292 |
+
addRowBelow: 'Add row below',
|
293 |
+
addColLeft: 'Add column left',
|
294 |
+
addColRight: 'Add column right',
|
295 |
+
delRow: 'Delete row',
|
296 |
+
delCol: 'Delete column',
|
297 |
+
delTable: 'Delete table'
|
298 |
+
},
|
299 |
+
hr: {
|
300 |
+
insert: 'Insert Horizontal Rule'
|
301 |
+
},
|
302 |
+
style: {
|
303 |
+
style: 'Style',
|
304 |
+
p: 'Normal',
|
305 |
+
blockquote: 'Quote',
|
306 |
+
pre: 'Code',
|
307 |
+
h1: 'Header 1',
|
308 |
+
h2: 'Header 2',
|
309 |
+
h3: 'Header 3',
|
310 |
+
h4: 'Header 4',
|
311 |
+
h5: 'Header 5',
|
312 |
+
h6: 'Header 6'
|
313 |
+
},
|
314 |
+
lists: {
|
315 |
+
unordered: 'Unordered list',
|
316 |
+
ordered: 'Ordered list'
|
317 |
+
},
|
318 |
+
options: {
|
319 |
+
help: 'Help',
|
320 |
+
fullscreen: 'Full Screen',
|
321 |
+
codeview: 'Code View'
|
322 |
+
},
|
323 |
+
paragraph: {
|
324 |
+
paragraph: 'Paragraph',
|
325 |
+
outdent: 'Outdent',
|
326 |
+
indent: 'Indent',
|
327 |
+
left: 'Align left',
|
328 |
+
center: 'Align center',
|
329 |
+
right: 'Align right',
|
330 |
+
justify: 'Justify full'
|
331 |
+
},
|
332 |
+
color: {
|
333 |
+
recent: 'Recent Color',
|
334 |
+
more: 'More Color',
|
335 |
+
background: 'Background Color',
|
336 |
+
foreground: 'Text Color',
|
337 |
+
transparent: 'Transparent',
|
338 |
+
setTransparent: 'Set transparent',
|
339 |
+
reset: 'Reset',
|
340 |
+
resetToDefault: 'Reset to default',
|
341 |
+
cpSelect: 'Select'
|
342 |
+
},
|
343 |
+
shortcut: {
|
344 |
+
shortcuts: 'Keyboard shortcuts',
|
345 |
+
close: 'Close',
|
346 |
+
textFormatting: 'Text formatting',
|
347 |
+
action: 'Action',
|
348 |
+
paragraphFormatting: 'Paragraph formatting',
|
349 |
+
documentStyle: 'Document Style',
|
350 |
+
extraKeys: 'Extra keys'
|
351 |
+
},
|
352 |
+
help: {
|
353 |
+
'escape': 'Escape',
|
354 |
+
'insertParagraph': 'Insert Paragraph',
|
355 |
+
'undo': 'Undo the last command',
|
356 |
+
'redo': 'Redo the last command',
|
357 |
+
'tab': 'Tab',
|
358 |
+
'untab': 'Untab',
|
359 |
+
'bold': 'Set a bold style',
|
360 |
+
'italic': 'Set a italic style',
|
361 |
+
'underline': 'Set a underline style',
|
362 |
+
'strikethrough': 'Set a strikethrough style',
|
363 |
+
'removeFormat': 'Clean a style',
|
364 |
+
'justifyLeft': 'Set left align',
|
365 |
+
'justifyCenter': 'Set center align',
|
366 |
+
'justifyRight': 'Set right align',
|
367 |
+
'justifyFull': 'Set full align',
|
368 |
+
'insertUnorderedList': 'Toggle unordered list',
|
369 |
+
'insertOrderedList': 'Toggle ordered list',
|
370 |
+
'outdent': 'Outdent on current paragraph',
|
371 |
+
'indent': 'Indent on current paragraph',
|
372 |
+
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
|
373 |
+
'formatH1': 'Change current block\'s format as H1',
|
374 |
+
'formatH2': 'Change current block\'s format as H2',
|
375 |
+
'formatH3': 'Change current block\'s format as H3',
|
376 |
+
'formatH4': 'Change current block\'s format as H4',
|
377 |
+
'formatH5': 'Change current block\'s format as H5',
|
378 |
+
'formatH6': 'Change current block\'s format as H6',
|
379 |
+
'insertHorizontalRule': 'Insert horizontal rule',
|
380 |
+
'linkDialog.show': 'Show Link Dialog'
|
381 |
+
},
|
382 |
+
history: {
|
383 |
+
undo: 'Undo',
|
384 |
+
redo: 'Redo'
|
385 |
+
},
|
386 |
+
specialChar: {
|
387 |
+
specialChar: 'SPECIAL CHARACTERS',
|
388 |
+
select: 'Select Special characters'
|
389 |
+
},
|
390 |
+
output: {
|
391 |
+
noSelection: 'No Selection Made!'
|
392 |
+
}
|
393 |
+
}
|
394 |
+
});
|
395 |
+
// CONCATENATED MODULE: ./src/js/base/core/env.js
|
396 |
+
|
397 |
+
var isSupportAmd = typeof define === 'function' && __webpack_require__(2); // eslint-disable-line
|
398 |
+
|
399 |
+
/**
|
400 |
+
* returns whether font is installed or not.
|
401 |
+
*
|
402 |
+
* @param {String} fontName
|
403 |
+
* @return {Boolean}
|
404 |
+
*/
|
405 |
+
|
406 |
+
var genericFontFamilies = ['sans-serif', 'serif', 'monospace', 'cursive', 'fantasy'];
|
407 |
+
|
408 |
+
function validFontName(fontName) {
|
409 |
+
return external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.inArray(fontName.toLowerCase(), genericFontFamilies) === -1 ? "'".concat(fontName, "'") : fontName;
|
410 |
+
}
|
411 |
+
|
412 |
+
function env_isFontInstalled(fontName) {
|
413 |
+
var testFontName = fontName === 'Comic Sans MS' ? 'Courier New' : 'Comic Sans MS';
|
414 |
+
var testText = 'mmmmmmmmmmwwwww';
|
415 |
+
var testSize = '200px';
|
416 |
+
var canvas = document.createElement('canvas');
|
417 |
+
var context = canvas.getContext('2d');
|
418 |
+
context.font = testSize + " '" + testFontName + "'";
|
419 |
+
var originalWidth = context.measureText(testText).width;
|
420 |
+
context.font = testSize + ' ' + validFontName(fontName) + ', "' + testFontName + '"';
|
421 |
+
var width = context.measureText(testText).width;
|
422 |
+
return originalWidth !== width;
|
423 |
+
}
|
424 |
+
|
425 |
+
var userAgent = navigator.userAgent;
|
426 |
+
var isMSIE = /MSIE|Trident/i.test(userAgent);
|
427 |
+
var browserVersion;
|
428 |
+
|
429 |
+
if (isMSIE) {
|
430 |
+
var matches = /MSIE (\d+[.]\d+)/.exec(userAgent);
|
431 |
+
|
432 |
+
if (matches) {
|
433 |
+
browserVersion = parseFloat(matches[1]);
|
434 |
+
}
|
435 |
+
|
436 |
+
matches = /Trident\/.*rv:([0-9]{1,}[.0-9]{0,})/.exec(userAgent);
|
437 |
+
|
438 |
+
if (matches) {
|
439 |
+
browserVersion = parseFloat(matches[1]);
|
440 |
+
}
|
441 |
+
}
|
442 |
+
|
443 |
+
var isEdge = /Edge\/\d+/.test(userAgent);
|
444 |
+
var isSupportTouch = 'ontouchstart' in window || navigator.MaxTouchPoints > 0 || navigator.msMaxTouchPoints > 0; // [workaround] IE doesn't have input events for contentEditable
|
445 |
+
// - see: https://goo.gl/4bfIvA
|
446 |
+
|
447 |
+
var inputEventName = isMSIE ? 'DOMCharacterDataModified DOMSubtreeModified DOMNodeInserted' : 'input';
|
448 |
+
/**
|
449 |
+
* @class core.env
|
450 |
+
*
|
451 |
+
* Object which check platform and agent
|
452 |
+
*
|
453 |
+
* @singleton
|
454 |
+
* @alternateClassName env
|
455 |
+
*/
|
456 |
+
|
457 |
+
/* harmony default export */ var env = ({
|
458 |
+
isMac: navigator.appVersion.indexOf('Mac') > -1,
|
459 |
+
isMSIE: isMSIE,
|
460 |
+
isEdge: isEdge,
|
461 |
+
isFF: !isEdge && /firefox/i.test(userAgent),
|
462 |
+
isPhantom: /PhantomJS/i.test(userAgent),
|
463 |
+
isWebkit: !isEdge && /webkit/i.test(userAgent),
|
464 |
+
isChrome: !isEdge && /chrome/i.test(userAgent),
|
465 |
+
isSafari: !isEdge && /safari/i.test(userAgent) && !/chrome/i.test(userAgent),
|
466 |
+
browserVersion: browserVersion,
|
467 |
+
jqueryVersion: parseFloat(external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.fn.jquery),
|
468 |
+
isSupportAmd: isSupportAmd,
|
469 |
+
isSupportTouch: isSupportTouch,
|
470 |
+
isFontInstalled: env_isFontInstalled,
|
471 |
+
isW3CRangeSupport: !!document.createRange,
|
472 |
+
inputEventName: inputEventName,
|
473 |
+
genericFontFamilies: genericFontFamilies,
|
474 |
+
validFontName: validFontName
|
475 |
+
});
|
476 |
+
// CONCATENATED MODULE: ./src/js/base/core/func.js
|
477 |
+
|
478 |
+
/**
|
479 |
+
* @class core.func
|
480 |
+
*
|
481 |
+
* func utils (for high-order func's arg)
|
482 |
+
*
|
483 |
+
* @singleton
|
484 |
+
* @alternateClassName func
|
485 |
+
*/
|
486 |
+
|
487 |
+
function eq(itemA) {
|
488 |
+
return function (itemB) {
|
489 |
+
return itemA === itemB;
|
490 |
+
};
|
491 |
+
}
|
492 |
+
|
493 |
+
function eq2(itemA, itemB) {
|
494 |
+
return itemA === itemB;
|
495 |
+
}
|
496 |
+
|
497 |
+
function peq2(propName) {
|
498 |
+
return function (itemA, itemB) {
|
499 |
+
return itemA[propName] === itemB[propName];
|
500 |
+
};
|
501 |
+
}
|
502 |
+
|
503 |
+
function ok() {
|
504 |
+
return true;
|
505 |
+
}
|
506 |
+
|
507 |
+
function fail() {
|
508 |
+
return false;
|
509 |
+
}
|
510 |
+
|
511 |
+
function not(f) {
|
512 |
+
return function () {
|
513 |
+
return !f.apply(f, arguments);
|
514 |
+
};
|
515 |
+
}
|
516 |
+
|
517 |
+
function and(fA, fB) {
|
518 |
+
return function (item) {
|
519 |
+
return fA(item) && fB(item);
|
520 |
+
};
|
521 |
+
}
|
522 |
+
|
523 |
+
function func_self(a) {
|
524 |
+
return a;
|
525 |
+
}
|
526 |
+
|
527 |
+
function func_invoke(obj, method) {
|
528 |
+
return function () {
|
529 |
+
return obj[method].apply(obj, arguments);
|
530 |
+
};
|
531 |
+
}
|
532 |
+
|
533 |
+
var idCounter = 0;
|
534 |
+
/**
|
535 |
+
* reset globally-unique id
|
536 |
+
*
|
537 |
+
*/
|
538 |
+
|
539 |
+
function resetUniqueId() {
|
540 |
+
idCounter = 0;
|
541 |
+
}
|
542 |
+
/**
|
543 |
+
* generate a globally-unique id
|
544 |
+
*
|
545 |
+
* @param {String} [prefix]
|
546 |
+
*/
|
547 |
+
|
548 |
+
|
549 |
+
function uniqueId(prefix) {
|
550 |
+
var id = ++idCounter + '';
|
551 |
+
return prefix ? prefix + id : id;
|
552 |
+
}
|
553 |
+
/**
|
554 |
+
* returns bnd (bounds) from rect
|
555 |
+
*
|
556 |
+
* - IE Compatibility Issue: http://goo.gl/sRLOAo
|
557 |
+
* - Scroll Issue: http://goo.gl/sNjUc
|
558 |
+
*
|
559 |
+
* @param {Rect} rect
|
560 |
+
* @return {Object} bounds
|
561 |
+
* @return {Number} bounds.top
|
562 |
+
* @return {Number} bounds.left
|
563 |
+
* @return {Number} bounds.width
|
564 |
+
* @return {Number} bounds.height
|
565 |
+
*/
|
566 |
+
|
567 |
+
|
568 |
+
function rect2bnd(rect) {
|
569 |
+
var $document = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(document);
|
570 |
+
return {
|
571 |
+
top: rect.top + $document.scrollTop(),
|
572 |
+
left: rect.left + $document.scrollLeft(),
|
573 |
+
width: rect.right - rect.left,
|
574 |
+
height: rect.bottom - rect.top
|
575 |
+
};
|
576 |
+
}
|
577 |
+
/**
|
578 |
+
* returns a copy of the object where the keys have become the values and the values the keys.
|
579 |
+
* @param {Object} obj
|
580 |
+
* @return {Object}
|
581 |
+
*/
|
582 |
+
|
583 |
+
|
584 |
+
function invertObject(obj) {
|
585 |
+
var inverted = {};
|
586 |
+
|
587 |
+
for (var key in obj) {
|
588 |
+
if (Object.prototype.hasOwnProperty.call(obj, key)) {
|
589 |
+
inverted[obj[key]] = key;
|
590 |
+
}
|
591 |
+
}
|
592 |
+
|
593 |
+
return inverted;
|
594 |
+
}
|
595 |
+
/**
|
596 |
+
* @param {String} namespace
|
597 |
+
* @param {String} [prefix]
|
598 |
+
* @return {String}
|
599 |
+
*/
|
600 |
+
|
601 |
+
|
602 |
+
function namespaceToCamel(namespace, prefix) {
|
603 |
+
prefix = prefix || '';
|
604 |
+
return prefix + namespace.split('.').map(function (name) {
|
605 |
+
return name.substring(0, 1).toUpperCase() + name.substring(1);
|
606 |
+
}).join('');
|
607 |
+
}
|
608 |
+
/**
|
609 |
+
* Returns a function, that, as long as it continues to be invoked, will not
|
610 |
+
* be triggered. The function will be called after it stops being called for
|
611 |
+
* N milliseconds. If `immediate` is passed, trigger the function on the
|
612 |
+
* leading edge, instead of the trailing.
|
613 |
+
* @param {Function} func
|
614 |
+
* @param {Number} wait
|
615 |
+
* @param {Boolean} immediate
|
616 |
+
* @return {Function}
|
617 |
+
*/
|
618 |
+
|
619 |
+
|
620 |
+
function debounce(func, wait, immediate) {
|
621 |
+
var timeout;
|
622 |
+
return function () {
|
623 |
+
var context = this;
|
624 |
+
var args = arguments;
|
625 |
+
|
626 |
+
var later = function later() {
|
627 |
+
timeout = null;
|
628 |
+
|
629 |
+
if (!immediate) {
|
630 |
+
func.apply(context, args);
|
631 |
+
}
|
632 |
+
};
|
633 |
+
|
634 |
+
var callNow = immediate && !timeout;
|
635 |
+
clearTimeout(timeout);
|
636 |
+
timeout = setTimeout(later, wait);
|
637 |
+
|
638 |
+
if (callNow) {
|
639 |
+
func.apply(context, args);
|
640 |
+
}
|
641 |
+
};
|
642 |
+
}
|
643 |
+
/**
|
644 |
+
*
|
645 |
+
* @param {String} url
|
646 |
+
* @return {Boolean}
|
647 |
+
*/
|
648 |
+
|
649 |
+
|
650 |
+
function isValidUrl(url) {
|
651 |
+
var expression = /[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/gi;
|
652 |
+
return expression.test(url);
|
653 |
+
}
|
654 |
+
|
655 |
+
/* harmony default export */ var func = ({
|
656 |
+
eq: eq,
|
657 |
+
eq2: eq2,
|
658 |
+
peq2: peq2,
|
659 |
+
ok: ok,
|
660 |
+
fail: fail,
|
661 |
+
self: func_self,
|
662 |
+
not: not,
|
663 |
+
and: and,
|
664 |
+
invoke: func_invoke,
|
665 |
+
resetUniqueId: resetUniqueId,
|
666 |
+
uniqueId: uniqueId,
|
667 |
+
rect2bnd: rect2bnd,
|
668 |
+
invertObject: invertObject,
|
669 |
+
namespaceToCamel: namespaceToCamel,
|
670 |
+
debounce: debounce,
|
671 |
+
isValidUrl: isValidUrl
|
672 |
+
});
|
673 |
+
// CONCATENATED MODULE: ./src/js/base/core/lists.js
|
674 |
+
|
675 |
+
/**
|
676 |
+
* returns the first item of an array.
|
677 |
+
*
|
678 |
+
* @param {Array} array
|
679 |
+
*/
|
680 |
+
|
681 |
+
function lists_head(array) {
|
682 |
+
return array[0];
|
683 |
+
}
|
684 |
+
/**
|
685 |
+
* returns the last item of an array.
|
686 |
+
*
|
687 |
+
* @param {Array} array
|
688 |
+
*/
|
689 |
+
|
690 |
+
|
691 |
+
function lists_last(array) {
|
692 |
+
return array[array.length - 1];
|
693 |
+
}
|
694 |
+
/**
|
695 |
+
* returns everything but the last entry of the array.
|
696 |
+
*
|
697 |
+
* @param {Array} array
|
698 |
+
*/
|
699 |
+
|
700 |
+
|
701 |
+
function initial(array) {
|
702 |
+
return array.slice(0, array.length - 1);
|
703 |
+
}
|
704 |
+
/**
|
705 |
+
* returns the rest of the items in an array.
|
706 |
+
*
|
707 |
+
* @param {Array} array
|
708 |
+
*/
|
709 |
+
|
710 |
+
|
711 |
+
function tail(array) {
|
712 |
+
return array.slice(1);
|
713 |
+
}
|
714 |
+
/**
|
715 |
+
* returns item of array
|
716 |
+
*/
|
717 |
+
|
718 |
+
|
719 |
+
function find(array, pred) {
|
720 |
+
for (var idx = 0, len = array.length; idx < len; idx++) {
|
721 |
+
var item = array[idx];
|
722 |
+
|
723 |
+
if (pred(item)) {
|
724 |
+
return item;
|
725 |
+
}
|
726 |
+
}
|
727 |
+
}
|
728 |
+
/**
|
729 |
+
* returns true if all of the values in the array pass the predicate truth test.
|
730 |
+
*/
|
731 |
+
|
732 |
+
|
733 |
+
function lists_all(array, pred) {
|
734 |
+
for (var idx = 0, len = array.length; idx < len; idx++) {
|
735 |
+
if (!pred(array[idx])) {
|
736 |
+
return false;
|
737 |
+
}
|
738 |
+
}
|
739 |
+
|
740 |
+
return true;
|
741 |
+
}
|
742 |
+
/**
|
743 |
+
* returns true if the value is present in the list.
|
744 |
+
*/
|
745 |
+
|
746 |
+
|
747 |
+
function contains(array, item) {
|
748 |
+
if (array && array.length && item) {
|
749 |
+
if (array.indexOf) {
|
750 |
+
return array.indexOf(item) !== -1;
|
751 |
+
} else if (array.contains) {
|
752 |
+
// `DOMTokenList` doesn't implement `.indexOf`, but it implements `.contains`
|
753 |
+
return array.contains(item);
|
754 |
+
}
|
755 |
+
}
|
756 |
+
|
757 |
+
return false;
|
758 |
+
}
|
759 |
+
/**
|
760 |
+
* get sum from a list
|
761 |
+
*
|
762 |
+
* @param {Array} array - array
|
763 |
+
* @param {Function} fn - iterator
|
764 |
+
*/
|
765 |
+
|
766 |
+
|
767 |
+
function sum(array, fn) {
|
768 |
+
fn = fn || func.self;
|
769 |
+
return array.reduce(function (memo, v) {
|
770 |
+
return memo + fn(v);
|
771 |
+
}, 0);
|
772 |
+
}
|
773 |
+
/**
|
774 |
+
* returns a copy of the collection with array type.
|
775 |
+
* @param {Collection} collection - collection eg) node.childNodes, ...
|
776 |
+
*/
|
777 |
+
|
778 |
+
|
779 |
+
function from(collection) {
|
780 |
+
var result = [];
|
781 |
+
var length = collection.length;
|
782 |
+
var idx = -1;
|
783 |
+
|
784 |
+
while (++idx < length) {
|
785 |
+
result[idx] = collection[idx];
|
786 |
+
}
|
787 |
+
|
788 |
+
return result;
|
789 |
+
}
|
790 |
+
/**
|
791 |
+
* returns whether list is empty or not
|
792 |
+
*/
|
793 |
+
|
794 |
+
|
795 |
+
function lists_isEmpty(array) {
|
796 |
+
return !array || !array.length;
|
797 |
+
}
|
798 |
+
/**
|
799 |
+
* cluster elements by predicate function.
|
800 |
+
*
|
801 |
+
* @param {Array} array - array
|
802 |
+
* @param {Function} fn - predicate function for cluster rule
|
803 |
+
* @param {Array[]}
|
804 |
+
*/
|
805 |
+
|
806 |
+
|
807 |
+
function clusterBy(array, fn) {
|
808 |
+
if (!array.length) {
|
809 |
+
return [];
|
810 |
+
}
|
811 |
+
|
812 |
+
var aTail = tail(array);
|
813 |
+
return aTail.reduce(function (memo, v) {
|
814 |
+
var aLast = lists_last(memo);
|
815 |
+
|
816 |
+
if (fn(lists_last(aLast), v)) {
|
817 |
+
aLast[aLast.length] = v;
|
818 |
+
} else {
|
819 |
+
memo[memo.length] = [v];
|
820 |
+
}
|
821 |
+
|
822 |
+
return memo;
|
823 |
+
}, [[lists_head(array)]]);
|
824 |
+
}
|
825 |
+
/**
|
826 |
+
* returns a copy of the array with all false values removed
|
827 |
+
*
|
828 |
+
* @param {Array} array - array
|
829 |
+
* @param {Function} fn - predicate function for cluster rule
|
830 |
+
*/
|
831 |
+
|
832 |
+
|
833 |
+
function compact(array) {
|
834 |
+
var aResult = [];
|
835 |
+
|
836 |
+
for (var idx = 0, len = array.length; idx < len; idx++) {
|
837 |
+
if (array[idx]) {
|
838 |
+
aResult.push(array[idx]);
|
839 |
+
}
|
840 |
+
}
|
841 |
+
|
842 |
+
return aResult;
|
843 |
+
}
|
844 |
+
/**
|
845 |
+
* produces a duplicate-free version of the array
|
846 |
+
*
|
847 |
+
* @param {Array} array
|
848 |
+
*/
|
849 |
+
|
850 |
+
|
851 |
+
function unique(array) {
|
852 |
+
var results = [];
|
853 |
+
|
854 |
+
for (var idx = 0, len = array.length; idx < len; idx++) {
|
855 |
+
if (!contains(results, array[idx])) {
|
856 |
+
results.push(array[idx]);
|
857 |
+
}
|
858 |
+
}
|
859 |
+
|
860 |
+
return results;
|
861 |
+
}
|
862 |
+
/**
|
863 |
+
* returns next item.
|
864 |
+
* @param {Array} array
|
865 |
+
*/
|
866 |
+
|
867 |
+
|
868 |
+
function lists_next(array, item) {
|
869 |
+
if (array && array.length && item) {
|
870 |
+
var idx = array.indexOf(item);
|
871 |
+
return idx === -1 ? null : array[idx + 1];
|
872 |
+
}
|
873 |
+
|
874 |
+
return null;
|
875 |
+
}
|
876 |
+
/**
|
877 |
+
* returns prev item.
|
878 |
+
* @param {Array} array
|
879 |
+
*/
|
880 |
+
|
881 |
+
|
882 |
+
function prev(array, item) {
|
883 |
+
if (array && array.length && item) {
|
884 |
+
var idx = array.indexOf(item);
|
885 |
+
return idx === -1 ? null : array[idx - 1];
|
886 |
+
}
|
887 |
+
|
888 |
+
return null;
|
889 |
+
}
|
890 |
+
/**
|
891 |
+
* @class core.list
|
892 |
+
*
|
893 |
+
* list utils
|
894 |
+
*
|
895 |
+
* @singleton
|
896 |
+
* @alternateClassName list
|
897 |
+
*/
|
898 |
+
|
899 |
+
|
900 |
+
/* harmony default export */ var lists = ({
|
901 |
+
head: lists_head,
|
902 |
+
last: lists_last,
|
903 |
+
initial: initial,
|
904 |
+
tail: tail,
|
905 |
+
prev: prev,
|
906 |
+
next: lists_next,
|
907 |
+
find: find,
|
908 |
+
contains: contains,
|
909 |
+
all: lists_all,
|
910 |
+
sum: sum,
|
911 |
+
from: from,
|
912 |
+
isEmpty: lists_isEmpty,
|
913 |
+
clusterBy: clusterBy,
|
914 |
+
compact: compact,
|
915 |
+
unique: unique
|
916 |
+
});
|
917 |
+
// CONCATENATED MODULE: ./src/js/base/core/dom.js
|
918 |
+
|
919 |
+
|
920 |
+
|
921 |
+
|
922 |
+
var NBSP_CHAR = String.fromCharCode(160);
|
923 |
+
var ZERO_WIDTH_NBSP_CHAR = "\uFEFF";
|
924 |
+
/**
|
925 |
+
* @method isEditable
|
926 |
+
*
|
927 |
+
* returns whether node is `note-editable` or not.
|
928 |
+
*
|
929 |
+
* @param {Node} node
|
930 |
+
* @return {Boolean}
|
931 |
+
*/
|
932 |
+
|
933 |
+
function isEditable(node) {
|
934 |
+
return node && external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(node).hasClass('note-editable');
|
935 |
+
}
|
936 |
+
/**
|
937 |
+
* @method isControlSizing
|
938 |
+
*
|
939 |
+
* returns whether node is `note-control-sizing` or not.
|
940 |
+
*
|
941 |
+
* @param {Node} node
|
942 |
+
* @return {Boolean}
|
943 |
+
*/
|
944 |
+
|
945 |
+
|
946 |
+
function isControlSizing(node) {
|
947 |
+
return node && external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(node).hasClass('note-control-sizing');
|
948 |
+
}
|
949 |
+
/**
|
950 |
+
* @method makePredByNodeName
|
951 |
+
*
|
952 |
+
* returns predicate which judge whether nodeName is same
|
953 |
+
*
|
954 |
+
* @param {String} nodeName
|
955 |
+
* @return {Function}
|
956 |
+
*/
|
957 |
+
|
958 |
+
|
959 |
+
function makePredByNodeName(nodeName) {
|
960 |
+
nodeName = nodeName.toUpperCase();
|
961 |
+
return function (node) {
|
962 |
+
return node && node.nodeName.toUpperCase() === nodeName;
|
963 |
+
};
|
964 |
+
}
|
965 |
+
/**
|
966 |
+
* @method isText
|
967 |
+
*
|
968 |
+
*
|
969 |
+
*
|
970 |
+
* @param {Node} node
|
971 |
+
* @return {Boolean} true if node's type is text(3)
|
972 |
+
*/
|
973 |
+
|
974 |
+
|
975 |
+
function isText(node) {
|
976 |
+
return node && node.nodeType === 3;
|
977 |
+
}
|
978 |
+
/**
|
979 |
+
* @method isElement
|
980 |
+
*
|
981 |
+
*
|
982 |
+
*
|
983 |
+
* @param {Node} node
|
984 |
+
* @return {Boolean} true if node's type is element(1)
|
985 |
+
*/
|
986 |
+
|
987 |
+
|
988 |
+
function isElement(node) {
|
989 |
+
return node && node.nodeType === 1;
|
990 |
+
}
|
991 |
+
/**
|
992 |
+
* ex) br, col, embed, hr, img, input, ...
|
993 |
+
* @see http://www.w3.org/html/wg/drafts/html/master/syntax.html#void-elements
|
994 |
+
*/
|
995 |
+
|
996 |
+
|
997 |
+
function isVoid(node) {
|
998 |
+
return node && /^BR|^IMG|^HR|^IFRAME|^BUTTON|^INPUT|^AUDIO|^VIDEO|^EMBED/.test(node.nodeName.toUpperCase());
|
999 |
+
}
|
1000 |
+
|
1001 |
+
function isPara(node) {
|
1002 |
+
if (isEditable(node)) {
|
1003 |
+
return false;
|
1004 |
+
} // Chrome(v31.0), FF(v25.0.1) use DIV for paragraph
|
1005 |
+
|
1006 |
+
|
1007 |
+
return node && /^DIV|^P|^LI|^H[1-7]/.test(node.nodeName.toUpperCase());
|
1008 |
+
}
|
1009 |
+
|
1010 |
+
function isHeading(node) {
|
1011 |
+
return node && /^H[1-7]/.test(node.nodeName.toUpperCase());
|
1012 |
+
}
|
1013 |
+
|
1014 |
+
var isPre = makePredByNodeName('PRE');
|
1015 |
+
var isLi = makePredByNodeName('LI');
|
1016 |
+
|
1017 |
+
function isPurePara(node) {
|
1018 |
+
return isPara(node) && !isLi(node);
|
1019 |
+
}
|
1020 |
+
|
1021 |
+
var isTable = makePredByNodeName('TABLE');
|
1022 |
+
var isData = makePredByNodeName('DATA');
|
1023 |
+
|
1024 |
+
function dom_isInline(node) {
|
1025 |
+
return !isBodyContainer(node) && !isList(node) && !isHr(node) && !isPara(node) && !isTable(node) && !isBlockquote(node) && !isData(node);
|
1026 |
+
}
|
1027 |
+
|
1028 |
+
function isList(node) {
|
1029 |
+
return node && /^UL|^OL/.test(node.nodeName.toUpperCase());
|
1030 |
+
}
|
1031 |
+
|
1032 |
+
var isHr = makePredByNodeName('HR');
|
1033 |
+
|
1034 |
+
function dom_isCell(node) {
|
1035 |
+
return node && /^TD|^TH/.test(node.nodeName.toUpperCase());
|
1036 |
+
}
|
1037 |
+
|
1038 |
+
var isBlockquote = makePredByNodeName('BLOCKQUOTE');
|
1039 |
+
|
1040 |
+
function isBodyContainer(node) {
|
1041 |
+
return dom_isCell(node) || isBlockquote(node) || isEditable(node);
|
1042 |
+
}
|
1043 |
+
|
1044 |
+
var isAnchor = makePredByNodeName('A');
|
1045 |
+
|
1046 |
+
function isParaInline(node) {
|
1047 |
+
return dom_isInline(node) && !!dom_ancestor(node, isPara);
|
1048 |
+
}
|
1049 |
+
|
1050 |
+
function isBodyInline(node) {
|
1051 |
+
return dom_isInline(node) && !dom_ancestor(node, isPara);
|
1052 |
+
}
|
1053 |
+
|
1054 |
+
var isBody = makePredByNodeName('BODY');
|
1055 |
+
/**
|
1056 |
+
* returns whether nodeB is closest sibling of nodeA
|
1057 |
+
*
|
1058 |
+
* @param {Node} nodeA
|
1059 |
+
* @param {Node} nodeB
|
1060 |
+
* @return {Boolean}
|
1061 |
+
*/
|
1062 |
+
|
1063 |
+
function isClosestSibling(nodeA, nodeB) {
|
1064 |
+
return nodeA.nextSibling === nodeB || nodeA.previousSibling === nodeB;
|
1065 |
+
}
|
1066 |
+
/**
|
1067 |
+
* returns array of closest siblings with node
|
1068 |
+
*
|
1069 |
+
* @param {Node} node
|
1070 |
+
* @param {function} [pred] - predicate function
|
1071 |
+
* @return {Node[]}
|
1072 |
+
*/
|
1073 |
+
|
1074 |
+
|
1075 |
+
function withClosestSiblings(node, pred) {
|
1076 |
+
pred = pred || func.ok;
|
1077 |
+
var siblings = [];
|
1078 |
+
|
1079 |
+
if (node.previousSibling && pred(node.previousSibling)) {
|
1080 |
+
siblings.push(node.previousSibling);
|
1081 |
+
}
|
1082 |
+
|
1083 |
+
siblings.push(node);
|
1084 |
+
|
1085 |
+
if (node.nextSibling && pred(node.nextSibling)) {
|
1086 |
+
siblings.push(node.nextSibling);
|
1087 |
+
}
|
1088 |
+
|
1089 |
+
return siblings;
|
1090 |
+
}
|
1091 |
+
/**
|
1092 |
+
* blank HTML for cursor position
|
1093 |
+
* - [workaround] old IE only works with
|
1094 |
+
* - [workaround] IE11 and other browser works with bogus br
|
1095 |
+
*/
|
1096 |
+
|
1097 |
+
|
1098 |
+
var blankHTML = env.isMSIE && env.browserVersion < 11 ? ' ' : '<br>';
|
1099 |
+
/**
|
1100 |
+
* @method nodeLength
|
1101 |
+
*
|
1102 |
+
* returns #text's text size or element's childNodes size
|
1103 |
+
*
|
1104 |
+
* @param {Node} node
|
1105 |
+
*/
|
1106 |
+
|
1107 |
+
function nodeLength(node) {
|
1108 |
+
if (isText(node)) {
|
1109 |
+
return node.nodeValue.length;
|
1110 |
+
}
|
1111 |
+
|
1112 |
+
if (node) {
|
1113 |
+
return node.childNodes.length;
|
1114 |
+
}
|
1115 |
+
|
1116 |
+
return 0;
|
1117 |
+
}
|
1118 |
+
/**
|
1119 |
+
* returns whether deepest child node is empty or not.
|
1120 |
+
*
|
1121 |
+
* @param {Node} node
|
1122 |
+
* @return {Boolean}
|
1123 |
+
*/
|
1124 |
+
|
1125 |
+
|
1126 |
+
function deepestChildIsEmpty(node) {
|
1127 |
+
do {
|
1128 |
+
if (node.firstElementChild === null || node.firstElementChild.innerHTML === '') break;
|
1129 |
+
} while (node = node.firstElementChild);
|
1130 |
+
|
1131 |
+
return dom_isEmpty(node);
|
1132 |
+
}
|
1133 |
+
/**
|
1134 |
+
* returns whether node is empty or not.
|
1135 |
+
*
|
1136 |
+
* @param {Node} node
|
1137 |
+
* @return {Boolean}
|
1138 |
+
*/
|
1139 |
+
|
1140 |
+
|
1141 |
+
function dom_isEmpty(node) {
|
1142 |
+
var len = nodeLength(node);
|
1143 |
+
|
1144 |
+
if (len === 0) {
|
1145 |
+
return true;
|
1146 |
+
} else if (!isText(node) && len === 1 && node.innerHTML === blankHTML) {
|
1147 |
+
// ex) <p><br></p>, <span><br></span>
|
1148 |
+
return true;
|
1149 |
+
} else if (lists.all(node.childNodes, isText) && node.innerHTML === '') {
|
1150 |
+
// ex) <p></p>, <span></span>
|
1151 |
+
return true;
|
1152 |
+
}
|
1153 |
+
|
1154 |
+
return false;
|
1155 |
+
}
|
1156 |
+
/**
|
1157 |
+
* padding blankHTML if node is empty (for cursor position)
|
1158 |
+
*/
|
1159 |
+
|
1160 |
+
|
1161 |
+
function paddingBlankHTML(node) {
|
1162 |
+
if (!isVoid(node) && !nodeLength(node)) {
|
1163 |
+
node.innerHTML = blankHTML;
|
1164 |
+
}
|
1165 |
+
}
|
1166 |
+
/**
|
1167 |
+
* find nearest ancestor predicate hit
|
1168 |
+
*
|
1169 |
+
* @param {Node} node
|
1170 |
+
* @param {Function} pred - predicate function
|
1171 |
+
*/
|
1172 |
+
|
1173 |
+
|
1174 |
+
function dom_ancestor(node, pred) {
|
1175 |
+
while (node) {
|
1176 |
+
if (pred(node)) {
|
1177 |
+
return node;
|
1178 |
+
}
|
1179 |
+
|
1180 |
+
if (isEditable(node)) {
|
1181 |
+
break;
|
1182 |
+
}
|
1183 |
+
|
1184 |
+
node = node.parentNode;
|
1185 |
+
}
|
1186 |
+
|
1187 |
+
return null;
|
1188 |
+
}
|
1189 |
+
/**
|
1190 |
+
* find nearest ancestor only single child blood line and predicate hit
|
1191 |
+
*
|
1192 |
+
* @param {Node} node
|
1193 |
+
* @param {Function} pred - predicate function
|
1194 |
+
*/
|
1195 |
+
|
1196 |
+
|
1197 |
+
function singleChildAncestor(node, pred) {
|
1198 |
+
node = node.parentNode;
|
1199 |
+
|
1200 |
+
while (node) {
|
1201 |
+
if (nodeLength(node) !== 1) {
|
1202 |
+
break;
|
1203 |
+
}
|
1204 |
+
|
1205 |
+
if (pred(node)) {
|
1206 |
+
return node;
|
1207 |
+
}
|
1208 |
+
|
1209 |
+
if (isEditable(node)) {
|
1210 |
+
break;
|
1211 |
+
}
|
1212 |
+
|
1213 |
+
node = node.parentNode;
|
1214 |
+
}
|
1215 |
+
|
1216 |
+
return null;
|
1217 |
+
}
|
1218 |
+
/**
|
1219 |
+
* returns new array of ancestor nodes (until predicate hit).
|
1220 |
+
*
|
1221 |
+
* @param {Node} node
|
1222 |
+
* @param {Function} [optional] pred - predicate function
|
1223 |
+
*/
|
1224 |
+
|
1225 |
+
|
1226 |
+
function listAncestor(node, pred) {
|
1227 |
+
pred = pred || func.fail;
|
1228 |
+
var ancestors = [];
|
1229 |
+
dom_ancestor(node, function (el) {
|
1230 |
+
if (!isEditable(el)) {
|
1231 |
+
ancestors.push(el);
|
1232 |
+
}
|
1233 |
+
|
1234 |
+
return pred(el);
|
1235 |
+
});
|
1236 |
+
return ancestors;
|
1237 |
+
}
|
1238 |
+
/**
|
1239 |
+
* find farthest ancestor predicate hit
|
1240 |
+
*/
|
1241 |
+
|
1242 |
+
|
1243 |
+
function lastAncestor(node, pred) {
|
1244 |
+
var ancestors = listAncestor(node);
|
1245 |
+
return lists.last(ancestors.filter(pred));
|
1246 |
+
}
|
1247 |
+
/**
|
1248 |
+
* returns common ancestor node between two nodes.
|
1249 |
+
*
|
1250 |
+
* @param {Node} nodeA
|
1251 |
+
* @param {Node} nodeB
|
1252 |
+
*/
|
1253 |
+
|
1254 |
+
|
1255 |
+
function dom_commonAncestor(nodeA, nodeB) {
|
1256 |
+
var ancestors = listAncestor(nodeA);
|
1257 |
+
|
1258 |
+
for (var n = nodeB; n; n = n.parentNode) {
|
1259 |
+
if (ancestors.indexOf(n) > -1) return n;
|
1260 |
+
}
|
1261 |
+
|
1262 |
+
return null; // difference document area
|
1263 |
+
}
|
1264 |
+
/**
|
1265 |
+
* listing all previous siblings (until predicate hit).
|
1266 |
+
*
|
1267 |
+
* @param {Node} node
|
1268 |
+
* @param {Function} [optional] pred - predicate function
|
1269 |
+
*/
|
1270 |
+
|
1271 |
+
|
1272 |
+
function listPrev(node, pred) {
|
1273 |
+
pred = pred || func.fail;
|
1274 |
+
var nodes = [];
|
1275 |
+
|
1276 |
+
while (node) {
|
1277 |
+
if (pred(node)) {
|
1278 |
+
break;
|
1279 |
+
}
|
1280 |
+
|
1281 |
+
nodes.push(node);
|
1282 |
+
node = node.previousSibling;
|
1283 |
+
}
|
1284 |
+
|
1285 |
+
return nodes;
|
1286 |
+
}
|
1287 |
+
/**
|
1288 |
+
* listing next siblings (until predicate hit).
|
1289 |
+
*
|
1290 |
+
* @param {Node} node
|
1291 |
+
* @param {Function} [pred] - predicate function
|
1292 |
+
*/
|
1293 |
+
|
1294 |
+
|
1295 |
+
function listNext(node, pred) {
|
1296 |
+
pred = pred || func.fail;
|
1297 |
+
var nodes = [];
|
1298 |
+
|
1299 |
+
while (node) {
|
1300 |
+
if (pred(node)) {
|
1301 |
+
break;
|
1302 |
+
}
|
1303 |
+
|
1304 |
+
nodes.push(node);
|
1305 |
+
node = node.nextSibling;
|
1306 |
+
}
|
1307 |
+
|
1308 |
+
return nodes;
|
1309 |
+
}
|
1310 |
+
/**
|
1311 |
+
* listing descendant nodes
|
1312 |
+
*
|
1313 |
+
* @param {Node} node
|
1314 |
+
* @param {Function} [pred] - predicate function
|
1315 |
+
*/
|
1316 |
+
|
1317 |
+
|
1318 |
+
function listDescendant(node, pred) {
|
1319 |
+
var descendants = [];
|
1320 |
+
pred = pred || func.ok; // start DFS(depth first search) with node
|
1321 |
+
|
1322 |
+
(function fnWalk(current) {
|
1323 |
+
if (node !== current && pred(current)) {
|
1324 |
+
descendants.push(current);
|
1325 |
+
}
|
1326 |
+
|
1327 |
+
for (var idx = 0, len = current.childNodes.length; idx < len; idx++) {
|
1328 |
+
fnWalk(current.childNodes[idx]);
|
1329 |
+
}
|
1330 |
+
})(node);
|
1331 |
+
|
1332 |
+
return descendants;
|
1333 |
+
}
|
1334 |
+
/**
|
1335 |
+
* wrap node with new tag.
|
1336 |
+
*
|
1337 |
+
* @param {Node} node
|
1338 |
+
* @param {Node} tagName of wrapper
|
1339 |
+
* @return {Node} - wrapper
|
1340 |
+
*/
|
1341 |
+
|
1342 |
+
|
1343 |
+
function wrap(node, wrapperName) {
|
1344 |
+
var parent = node.parentNode;
|
1345 |
+
var wrapper = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()('<' + wrapperName + '>')[0];
|
1346 |
+
parent.insertBefore(wrapper, node);
|
1347 |
+
wrapper.appendChild(node);
|
1348 |
+
return wrapper;
|
1349 |
+
}
|
1350 |
+
/**
|
1351 |
+
* insert node after preceding
|
1352 |
+
*
|
1353 |
+
* @param {Node} node
|
1354 |
+
* @param {Node} preceding - predicate function
|
1355 |
+
*/
|
1356 |
+
|
1357 |
+
|
1358 |
+
function insertAfter(node, preceding) {
|
1359 |
+
var next = preceding.nextSibling;
|
1360 |
+
var parent = preceding.parentNode;
|
1361 |
+
|
1362 |
+
if (next) {
|
1363 |
+
parent.insertBefore(node, next);
|
1364 |
+
} else {
|
1365 |
+
parent.appendChild(node);
|
1366 |
+
}
|
1367 |
+
|
1368 |
+
return node;
|
1369 |
+
}
|
1370 |
+
/**
|
1371 |
+
* append elements.
|
1372 |
+
*
|
1373 |
+
* @param {Node} node
|
1374 |
+
* @param {Collection} aChild
|
1375 |
+
*/
|
1376 |
+
|
1377 |
+
|
1378 |
+
function appendChildNodes(node, aChild) {
|
1379 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.each(aChild, function (idx, child) {
|
1380 |
+
node.appendChild(child);
|
1381 |
+
});
|
1382 |
+
return node;
|
1383 |
+
}
|
1384 |
+
/**
|
1385 |
+
* returns whether boundaryPoint is left edge or not.
|
1386 |
+
*
|
1387 |
+
* @param {BoundaryPoint} point
|
1388 |
+
* @return {Boolean}
|
1389 |
+
*/
|
1390 |
+
|
1391 |
+
|
1392 |
+
function isLeftEdgePoint(point) {
|
1393 |
+
return point.offset === 0;
|
1394 |
+
}
|
1395 |
+
/**
|
1396 |
+
* returns whether boundaryPoint is right edge or not.
|
1397 |
+
*
|
1398 |
+
* @param {BoundaryPoint} point
|
1399 |
+
* @return {Boolean}
|
1400 |
+
*/
|
1401 |
+
|
1402 |
+
|
1403 |
+
function isRightEdgePoint(point) {
|
1404 |
+
return point.offset === nodeLength(point.node);
|
1405 |
+
}
|
1406 |
+
/**
|
1407 |
+
* returns whether boundaryPoint is edge or not.
|
1408 |
+
*
|
1409 |
+
* @param {BoundaryPoint} point
|
1410 |
+
* @return {Boolean}
|
1411 |
+
*/
|
1412 |
+
|
1413 |
+
|
1414 |
+
function isEdgePoint(point) {
|
1415 |
+
return isLeftEdgePoint(point) || isRightEdgePoint(point);
|
1416 |
+
}
|
1417 |
+
/**
|
1418 |
+
* returns whether node is left edge of ancestor or not.
|
1419 |
+
*
|
1420 |
+
* @param {Node} node
|
1421 |
+
* @param {Node} ancestor
|
1422 |
+
* @return {Boolean}
|
1423 |
+
*/
|
1424 |
+
|
1425 |
+
|
1426 |
+
function dom_isLeftEdgeOf(node, ancestor) {
|
1427 |
+
while (node && node !== ancestor) {
|
1428 |
+
if (dom_position(node) !== 0) {
|
1429 |
+
return false;
|
1430 |
+
}
|
1431 |
+
|
1432 |
+
node = node.parentNode;
|
1433 |
+
}
|
1434 |
+
|
1435 |
+
return true;
|
1436 |
+
}
|
1437 |
+
/**
|
1438 |
+
* returns whether node is right edge of ancestor or not.
|
1439 |
+
*
|
1440 |
+
* @param {Node} node
|
1441 |
+
* @param {Node} ancestor
|
1442 |
+
* @return {Boolean}
|
1443 |
+
*/
|
1444 |
+
|
1445 |
+
|
1446 |
+
function isRightEdgeOf(node, ancestor) {
|
1447 |
+
if (!ancestor) {
|
1448 |
+
return false;
|
1449 |
+
}
|
1450 |
+
|
1451 |
+
while (node && node !== ancestor) {
|
1452 |
+
if (dom_position(node) !== nodeLength(node.parentNode) - 1) {
|
1453 |
+
return false;
|
1454 |
+
}
|
1455 |
+
|
1456 |
+
node = node.parentNode;
|
1457 |
+
}
|
1458 |
+
|
1459 |
+
return true;
|
1460 |
+
}
|
1461 |
+
/**
|
1462 |
+
* returns whether point is left edge of ancestor or not.
|
1463 |
+
* @param {BoundaryPoint} point
|
1464 |
+
* @param {Node} ancestor
|
1465 |
+
* @return {Boolean}
|
1466 |
+
*/
|
1467 |
+
|
1468 |
+
|
1469 |
+
function isLeftEdgePointOf(point, ancestor) {
|
1470 |
+
return isLeftEdgePoint(point) && dom_isLeftEdgeOf(point.node, ancestor);
|
1471 |
+
}
|
1472 |
+
/**
|
1473 |
+
* returns whether point is right edge of ancestor or not.
|
1474 |
+
* @param {BoundaryPoint} point
|
1475 |
+
* @param {Node} ancestor
|
1476 |
+
* @return {Boolean}
|
1477 |
+
*/
|
1478 |
+
|
1479 |
+
|
1480 |
+
function isRightEdgePointOf(point, ancestor) {
|
1481 |
+
return isRightEdgePoint(point) && isRightEdgeOf(point.node, ancestor);
|
1482 |
+
}
|
1483 |
+
/**
|
1484 |
+
* returns offset from parent.
|
1485 |
+
*
|
1486 |
+
* @param {Node} node
|
1487 |
+
*/
|
1488 |
+
|
1489 |
+
|
1490 |
+
function dom_position(node) {
|
1491 |
+
var offset = 0;
|
1492 |
+
|
1493 |
+
while (node = node.previousSibling) {
|
1494 |
+
offset += 1;
|
1495 |
+
}
|
1496 |
+
|
1497 |
+
return offset;
|
1498 |
+
}
|
1499 |
+
|
1500 |
+
function hasChildren(node) {
|
1501 |
+
return !!(node && node.childNodes && node.childNodes.length);
|
1502 |
+
}
|
1503 |
+
/**
|
1504 |
+
* returns previous boundaryPoint
|
1505 |
+
*
|
1506 |
+
* @param {BoundaryPoint} point
|
1507 |
+
* @param {Boolean} isSkipInnerOffset
|
1508 |
+
* @return {BoundaryPoint}
|
1509 |
+
*/
|
1510 |
+
|
1511 |
+
|
1512 |
+
function dom_prevPoint(point, isSkipInnerOffset) {
|
1513 |
+
var node;
|
1514 |
+
var offset;
|
1515 |
+
|
1516 |
+
if (point.offset === 0) {
|
1517 |
+
if (isEditable(point.node)) {
|
1518 |
+
return null;
|
1519 |
+
}
|
1520 |
+
|
1521 |
+
node = point.node.parentNode;
|
1522 |
+
offset = dom_position(point.node);
|
1523 |
+
} else if (hasChildren(point.node)) {
|
1524 |
+
node = point.node.childNodes[point.offset - 1];
|
1525 |
+
offset = nodeLength(node);
|
1526 |
+
} else {
|
1527 |
+
node = point.node;
|
1528 |
+
offset = isSkipInnerOffset ? 0 : point.offset - 1;
|
1529 |
+
}
|
1530 |
+
|
1531 |
+
return {
|
1532 |
+
node: node,
|
1533 |
+
offset: offset
|
1534 |
+
};
|
1535 |
+
}
|
1536 |
+
/**
|
1537 |
+
* returns next boundaryPoint
|
1538 |
+
*
|
1539 |
+
* @param {BoundaryPoint} point
|
1540 |
+
* @param {Boolean} isSkipInnerOffset
|
1541 |
+
* @return {BoundaryPoint}
|
1542 |
+
*/
|
1543 |
+
|
1544 |
+
|
1545 |
+
function dom_nextPoint(point, isSkipInnerOffset) {
|
1546 |
+
var node, offset;
|
1547 |
+
|
1548 |
+
if (nodeLength(point.node) === point.offset) {
|
1549 |
+
if (isEditable(point.node)) {
|
1550 |
+
return null;
|
1551 |
+
}
|
1552 |
+
|
1553 |
+
var nextTextNode = getNextTextNode(point.node);
|
1554 |
+
|
1555 |
+
if (nextTextNode) {
|
1556 |
+
node = nextTextNode;
|
1557 |
+
offset = 0;
|
1558 |
+
} else {
|
1559 |
+
node = point.node.parentNode;
|
1560 |
+
offset = dom_position(point.node) + 1;
|
1561 |
+
}
|
1562 |
+
} else if (hasChildren(point.node)) {
|
1563 |
+
node = point.node.childNodes[point.offset];
|
1564 |
+
offset = 0;
|
1565 |
+
} else {
|
1566 |
+
node = point.node;
|
1567 |
+
offset = isSkipInnerOffset ? nodeLength(point.node) : point.offset + 1;
|
1568 |
+
}
|
1569 |
+
|
1570 |
+
return {
|
1571 |
+
node: node,
|
1572 |
+
offset: offset
|
1573 |
+
};
|
1574 |
+
}
|
1575 |
+
/**
|
1576 |
+
* returns next boundaryPoint with empty node
|
1577 |
+
*
|
1578 |
+
* @param {BoundaryPoint} point
|
1579 |
+
* @param {Boolean} isSkipInnerOffset
|
1580 |
+
* @return {BoundaryPoint}
|
1581 |
+
*/
|
1582 |
+
|
1583 |
+
|
1584 |
+
function nextPointWithEmptyNode(point, isSkipInnerOffset) {
|
1585 |
+
var node, offset; // if node is empty string node, return current node's sibling.
|
1586 |
+
|
1587 |
+
if (dom_isEmpty(point.node)) {
|
1588 |
+
node = point.node.nextSibling;
|
1589 |
+
offset = 0;
|
1590 |
+
return {
|
1591 |
+
node: node,
|
1592 |
+
offset: offset
|
1593 |
+
};
|
1594 |
+
}
|
1595 |
+
|
1596 |
+
if (nodeLength(point.node) === point.offset) {
|
1597 |
+
if (isEditable(point.node)) {
|
1598 |
+
return null;
|
1599 |
+
}
|
1600 |
+
|
1601 |
+
var nextTextNode = getNextTextNode(point.node);
|
1602 |
+
|
1603 |
+
if (nextTextNode) {
|
1604 |
+
node = nextTextNode;
|
1605 |
+
offset = 0;
|
1606 |
+
} else {
|
1607 |
+
node = point.node.parentNode;
|
1608 |
+
offset = dom_position(point.node) + 1;
|
1609 |
+
} // if next node is editable, return current node's sibling node.
|
1610 |
+
|
1611 |
+
|
1612 |
+
if (isEditable(node)) {
|
1613 |
+
node = point.node.nextSibling;
|
1614 |
+
offset = 0;
|
1615 |
+
}
|
1616 |
+
} else if (hasChildren(point.node)) {
|
1617 |
+
node = point.node.childNodes[point.offset];
|
1618 |
+
offset = 0;
|
1619 |
+
|
1620 |
+
if (dom_isEmpty(node)) {
|
1621 |
+
return null;
|
1622 |
+
}
|
1623 |
+
} else {
|
1624 |
+
node = point.node;
|
1625 |
+
offset = isSkipInnerOffset ? nodeLength(point.node) : point.offset + 1;
|
1626 |
+
|
1627 |
+
if (dom_isEmpty(node)) {
|
1628 |
+
return null;
|
1629 |
+
}
|
1630 |
+
}
|
1631 |
+
|
1632 |
+
return {
|
1633 |
+
node: node,
|
1634 |
+
offset: offset
|
1635 |
+
};
|
1636 |
+
}
|
1637 |
+
/*
|
1638 |
+
* returns the next Text node index or 0 if not found.
|
1639 |
+
*/
|
1640 |
+
|
1641 |
+
|
1642 |
+
function getNextTextNode(actual) {
|
1643 |
+
if (!actual.nextSibling) return undefined;
|
1644 |
+
if (actual.parent !== actual.nextSibling.parent) return undefined;
|
1645 |
+
if (isText(actual.nextSibling)) return actual.nextSibling;
|
1646 |
+
return getNextTextNode(actual.nextSibling);
|
1647 |
+
}
|
1648 |
+
/**
|
1649 |
+
* returns whether pointA and pointB is same or not.
|
1650 |
+
*
|
1651 |
+
* @param {BoundaryPoint} pointA
|
1652 |
+
* @param {BoundaryPoint} pointB
|
1653 |
+
* @return {Boolean}
|
1654 |
+
*/
|
1655 |
+
|
1656 |
+
|
1657 |
+
function isSamePoint(pointA, pointB) {
|
1658 |
+
return pointA.node === pointB.node && pointA.offset === pointB.offset;
|
1659 |
+
}
|
1660 |
+
/**
|
1661 |
+
* returns whether point is visible (can set cursor) or not.
|
1662 |
+
*
|
1663 |
+
* @param {BoundaryPoint} point
|
1664 |
+
* @return {Boolean}
|
1665 |
+
*/
|
1666 |
+
|
1667 |
+
|
1668 |
+
function isVisiblePoint(point) {
|
1669 |
+
if (isText(point.node) || !hasChildren(point.node) || dom_isEmpty(point.node)) {
|
1670 |
+
return true;
|
1671 |
+
}
|
1672 |
+
|
1673 |
+
var leftNode = point.node.childNodes[point.offset - 1];
|
1674 |
+
var rightNode = point.node.childNodes[point.offset];
|
1675 |
+
|
1676 |
+
if ((!leftNode || isVoid(leftNode)) && (!rightNode || isVoid(rightNode))) {
|
1677 |
+
return true;
|
1678 |
+
}
|
1679 |
+
|
1680 |
+
return false;
|
1681 |
+
}
|
1682 |
+
/**
|
1683 |
+
* @method prevPointUtil
|
1684 |
+
*
|
1685 |
+
* @param {BoundaryPoint} point
|
1686 |
+
* @param {Function} pred
|
1687 |
+
* @return {BoundaryPoint}
|
1688 |
+
*/
|
1689 |
+
|
1690 |
+
|
1691 |
+
function prevPointUntil(point, pred) {
|
1692 |
+
while (point) {
|
1693 |
+
if (pred(point)) {
|
1694 |
+
return point;
|
1695 |
+
}
|
1696 |
+
|
1697 |
+
point = dom_prevPoint(point);
|
1698 |
+
}
|
1699 |
+
|
1700 |
+
return null;
|
1701 |
+
}
|
1702 |
+
/**
|
1703 |
+
* @method nextPointUntil
|
1704 |
+
*
|
1705 |
+
* @param {BoundaryPoint} point
|
1706 |
+
* @param {Function} pred
|
1707 |
+
* @return {BoundaryPoint}
|
1708 |
+
*/
|
1709 |
+
|
1710 |
+
|
1711 |
+
function nextPointUntil(point, pred) {
|
1712 |
+
while (point) {
|
1713 |
+
if (pred(point)) {
|
1714 |
+
return point;
|
1715 |
+
}
|
1716 |
+
|
1717 |
+
point = dom_nextPoint(point);
|
1718 |
+
}
|
1719 |
+
|
1720 |
+
return null;
|
1721 |
+
}
|
1722 |
+
/**
|
1723 |
+
* returns whether point has character or not.
|
1724 |
+
*
|
1725 |
+
* @param {Point} point
|
1726 |
+
* @return {Boolean}
|
1727 |
+
*/
|
1728 |
+
|
1729 |
+
|
1730 |
+
function isCharPoint(point) {
|
1731 |
+
if (!isText(point.node)) {
|
1732 |
+
return false;
|
1733 |
+
}
|
1734 |
+
|
1735 |
+
var ch = point.node.nodeValue.charAt(point.offset - 1);
|
1736 |
+
return ch && ch !== ' ' && ch !== NBSP_CHAR;
|
1737 |
+
}
|
1738 |
+
/**
|
1739 |
+
* returns whether point has space or not.
|
1740 |
+
*
|
1741 |
+
* @param {Point} point
|
1742 |
+
* @return {Boolean}
|
1743 |
+
*/
|
1744 |
+
|
1745 |
+
|
1746 |
+
function isSpacePoint(point) {
|
1747 |
+
if (!isText(point.node)) {
|
1748 |
+
return false;
|
1749 |
+
}
|
1750 |
+
|
1751 |
+
var ch = point.node.nodeValue.charAt(point.offset - 1);
|
1752 |
+
return ch === ' ' || ch === NBSP_CHAR;
|
1753 |
+
}
|
1754 |
+
/**
|
1755 |
+
* @method walkPoint
|
1756 |
+
*
|
1757 |
+
* @param {BoundaryPoint} startPoint
|
1758 |
+
* @param {BoundaryPoint} endPoint
|
1759 |
+
* @param {Function} handler
|
1760 |
+
* @param {Boolean} isSkipInnerOffset
|
1761 |
+
*/
|
1762 |
+
|
1763 |
+
|
1764 |
+
function walkPoint(startPoint, endPoint, handler, isSkipInnerOffset) {
|
1765 |
+
var point = startPoint;
|
1766 |
+
|
1767 |
+
while (point) {
|
1768 |
+
handler(point);
|
1769 |
+
|
1770 |
+
if (isSamePoint(point, endPoint)) {
|
1771 |
+
break;
|
1772 |
+
}
|
1773 |
+
|
1774 |
+
var isSkipOffset = isSkipInnerOffset && startPoint.node !== point.node && endPoint.node !== point.node;
|
1775 |
+
point = nextPointWithEmptyNode(point, isSkipOffset);
|
1776 |
+
}
|
1777 |
+
}
|
1778 |
+
/**
|
1779 |
+
* @method makeOffsetPath
|
1780 |
+
*
|
1781 |
+
* return offsetPath(array of offset) from ancestor
|
1782 |
+
*
|
1783 |
+
* @param {Node} ancestor - ancestor node
|
1784 |
+
* @param {Node} node
|
1785 |
+
*/
|
1786 |
+
|
1787 |
+
|
1788 |
+
function makeOffsetPath(ancestor, node) {
|
1789 |
+
var ancestors = listAncestor(node, func.eq(ancestor));
|
1790 |
+
return ancestors.map(dom_position).reverse();
|
1791 |
+
}
|
1792 |
+
/**
|
1793 |
+
* @method fromOffsetPath
|
1794 |
+
*
|
1795 |
+
* return element from offsetPath(array of offset)
|
1796 |
+
*
|
1797 |
+
* @param {Node} ancestor - ancestor node
|
1798 |
+
* @param {array} offsets - offsetPath
|
1799 |
+
*/
|
1800 |
+
|
1801 |
+
|
1802 |
+
function fromOffsetPath(ancestor, offsets) {
|
1803 |
+
var current = ancestor;
|
1804 |
+
|
1805 |
+
for (var i = 0, len = offsets.length; i < len; i++) {
|
1806 |
+
if (current.childNodes.length <= offsets[i]) {
|
1807 |
+
current = current.childNodes[current.childNodes.length - 1];
|
1808 |
+
} else {
|
1809 |
+
current = current.childNodes[offsets[i]];
|
1810 |
+
}
|
1811 |
+
}
|
1812 |
+
|
1813 |
+
return current;
|
1814 |
+
}
|
1815 |
+
/**
|
1816 |
+
* @method splitNode
|
1817 |
+
*
|
1818 |
+
* split element or #text
|
1819 |
+
*
|
1820 |
+
* @param {BoundaryPoint} point
|
1821 |
+
* @param {Object} [options]
|
1822 |
+
* @param {Boolean} [options.isSkipPaddingBlankHTML] - default: false
|
1823 |
+
* @param {Boolean} [options.isNotSplitEdgePoint] - default: false
|
1824 |
+
* @param {Boolean} [options.isDiscardEmptySplits] - default: false
|
1825 |
+
* @return {Node} right node of boundaryPoint
|
1826 |
+
*/
|
1827 |
+
|
1828 |
+
|
1829 |
+
function splitNode(point, options) {
|
1830 |
+
var isSkipPaddingBlankHTML = options && options.isSkipPaddingBlankHTML;
|
1831 |
+
var isNotSplitEdgePoint = options && options.isNotSplitEdgePoint;
|
1832 |
+
var isDiscardEmptySplits = options && options.isDiscardEmptySplits;
|
1833 |
+
|
1834 |
+
if (isDiscardEmptySplits) {
|
1835 |
+
isSkipPaddingBlankHTML = true;
|
1836 |
+
} // edge case
|
1837 |
+
|
1838 |
+
|
1839 |
+
if (isEdgePoint(point) && (isText(point.node) || isNotSplitEdgePoint)) {
|
1840 |
+
if (isLeftEdgePoint(point)) {
|
1841 |
+
return point.node;
|
1842 |
+
} else if (isRightEdgePoint(point)) {
|
1843 |
+
return point.node.nextSibling;
|
1844 |
+
}
|
1845 |
+
} // split #text
|
1846 |
+
|
1847 |
+
|
1848 |
+
if (isText(point.node)) {
|
1849 |
+
return point.node.splitText(point.offset);
|
1850 |
+
} else {
|
1851 |
+
var childNode = point.node.childNodes[point.offset];
|
1852 |
+
var clone = insertAfter(point.node.cloneNode(false), point.node);
|
1853 |
+
appendChildNodes(clone, listNext(childNode));
|
1854 |
+
|
1855 |
+
if (!isSkipPaddingBlankHTML) {
|
1856 |
+
paddingBlankHTML(point.node);
|
1857 |
+
paddingBlankHTML(clone);
|
1858 |
+
}
|
1859 |
+
|
1860 |
+
if (isDiscardEmptySplits) {
|
1861 |
+
if (dom_isEmpty(point.node)) {
|
1862 |
+
remove(point.node);
|
1863 |
+
}
|
1864 |
+
|
1865 |
+
if (dom_isEmpty(clone)) {
|
1866 |
+
remove(clone);
|
1867 |
+
return point.node.nextSibling;
|
1868 |
+
}
|
1869 |
+
}
|
1870 |
+
|
1871 |
+
return clone;
|
1872 |
+
}
|
1873 |
+
}
|
1874 |
+
/**
|
1875 |
+
* @method splitTree
|
1876 |
+
*
|
1877 |
+
* split tree by point
|
1878 |
+
*
|
1879 |
+
* @param {Node} root - split root
|
1880 |
+
* @param {BoundaryPoint} point
|
1881 |
+
* @param {Object} [options]
|
1882 |
+
* @param {Boolean} [options.isSkipPaddingBlankHTML] - default: false
|
1883 |
+
* @param {Boolean} [options.isNotSplitEdgePoint] - default: false
|
1884 |
+
* @return {Node} right node of boundaryPoint
|
1885 |
+
*/
|
1886 |
+
|
1887 |
+
|
1888 |
+
function splitTree(root, point, options) {
|
1889 |
+
// ex) [#text, <span>, <p>]
|
1890 |
+
var ancestors = listAncestor(point.node, func.eq(root));
|
1891 |
+
|
1892 |
+
if (!ancestors.length) {
|
1893 |
+
return null;
|
1894 |
+
} else if (ancestors.length === 1) {
|
1895 |
+
return splitNode(point, options);
|
1896 |
+
}
|
1897 |
+
|
1898 |
+
return ancestors.reduce(function (node, parent) {
|
1899 |
+
if (node === point.node) {
|
1900 |
+
node = splitNode(point, options);
|
1901 |
+
}
|
1902 |
+
|
1903 |
+
return splitNode({
|
1904 |
+
node: parent,
|
1905 |
+
offset: node ? dom_position(node) : nodeLength(parent)
|
1906 |
+
}, options);
|
1907 |
+
});
|
1908 |
+
}
|
1909 |
+
/**
|
1910 |
+
* split point
|
1911 |
+
*
|
1912 |
+
* @param {Point} point
|
1913 |
+
* @param {Boolean} isInline
|
1914 |
+
* @return {Object}
|
1915 |
+
*/
|
1916 |
+
|
1917 |
+
|
1918 |
+
function splitPoint(point, isInline) {
|
1919 |
+
// find splitRoot, container
|
1920 |
+
// - inline: splitRoot is a child of paragraph
|
1921 |
+
// - block: splitRoot is a child of bodyContainer
|
1922 |
+
var pred = isInline ? isPara : isBodyContainer;
|
1923 |
+
var ancestors = listAncestor(point.node, pred);
|
1924 |
+
var topAncestor = lists.last(ancestors) || point.node;
|
1925 |
+
var splitRoot, container;
|
1926 |
+
|
1927 |
+
if (pred(topAncestor)) {
|
1928 |
+
splitRoot = ancestors[ancestors.length - 2];
|
1929 |
+
container = topAncestor;
|
1930 |
+
} else {
|
1931 |
+
splitRoot = topAncestor;
|
1932 |
+
container = splitRoot.parentNode;
|
1933 |
+
} // if splitRoot is exists, split with splitTree
|
1934 |
+
|
1935 |
+
|
1936 |
+
var pivot = splitRoot && splitTree(splitRoot, point, {
|
1937 |
+
isSkipPaddingBlankHTML: isInline,
|
1938 |
+
isNotSplitEdgePoint: isInline
|
1939 |
+
}); // if container is point.node, find pivot with point.offset
|
1940 |
+
|
1941 |
+
if (!pivot && container === point.node) {
|
1942 |
+
pivot = point.node.childNodes[point.offset];
|
1943 |
+
}
|
1944 |
+
|
1945 |
+
return {
|
1946 |
+
rightNode: pivot,
|
1947 |
+
container: container
|
1948 |
+
};
|
1949 |
+
}
|
1950 |
+
|
1951 |
+
function dom_create(nodeName) {
|
1952 |
+
return document.createElement(nodeName);
|
1953 |
+
}
|
1954 |
+
|
1955 |
+
function createText(text) {
|
1956 |
+
return document.createTextNode(text);
|
1957 |
+
}
|
1958 |
+
/**
|
1959 |
+
* @method remove
|
1960 |
+
*
|
1961 |
+
* remove node, (isRemoveChild: remove child or not)
|
1962 |
+
*
|
1963 |
+
* @param {Node} node
|
1964 |
+
* @param {Boolean} isRemoveChild
|
1965 |
+
*/
|
1966 |
+
|
1967 |
+
|
1968 |
+
function remove(node, isRemoveChild) {
|
1969 |
+
if (!node || !node.parentNode) {
|
1970 |
+
return;
|
1971 |
+
}
|
1972 |
+
|
1973 |
+
if (node.removeNode) {
|
1974 |
+
return node.removeNode(isRemoveChild);
|
1975 |
+
}
|
1976 |
+
|
1977 |
+
var parent = node.parentNode;
|
1978 |
+
|
1979 |
+
if (!isRemoveChild) {
|
1980 |
+
var nodes = [];
|
1981 |
+
|
1982 |
+
for (var i = 0, len = node.childNodes.length; i < len; i++) {
|
1983 |
+
nodes.push(node.childNodes[i]);
|
1984 |
+
}
|
1985 |
+
|
1986 |
+
for (var _i = 0, _len = nodes.length; _i < _len; _i++) {
|
1987 |
+
parent.insertBefore(nodes[_i], node);
|
1988 |
+
}
|
1989 |
+
}
|
1990 |
+
|
1991 |
+
parent.removeChild(node);
|
1992 |
+
}
|
1993 |
+
/**
|
1994 |
+
* @method removeWhile
|
1995 |
+
*
|
1996 |
+
* @param {Node} node
|
1997 |
+
* @param {Function} pred
|
1998 |
+
*/
|
1999 |
+
|
2000 |
+
|
2001 |
+
function removeWhile(node, pred) {
|
2002 |
+
while (node) {
|
2003 |
+
if (isEditable(node) || !pred(node)) {
|
2004 |
+
break;
|
2005 |
+
}
|
2006 |
+
|
2007 |
+
var parent = node.parentNode;
|
2008 |
+
remove(node);
|
2009 |
+
node = parent;
|
2010 |
+
}
|
2011 |
+
}
|
2012 |
+
/**
|
2013 |
+
* @method replace
|
2014 |
+
*
|
2015 |
+
* replace node with provided nodeName
|
2016 |
+
*
|
2017 |
+
* @param {Node} node
|
2018 |
+
* @param {String} nodeName
|
2019 |
+
* @return {Node} - new node
|
2020 |
+
*/
|
2021 |
+
|
2022 |
+
|
2023 |
+
function dom_replace(node, nodeName) {
|
2024 |
+
if (node.nodeName.toUpperCase() === nodeName.toUpperCase()) {
|
2025 |
+
return node;
|
2026 |
+
}
|
2027 |
+
|
2028 |
+
var newNode = dom_create(nodeName);
|
2029 |
+
|
2030 |
+
if (node.style.cssText) {
|
2031 |
+
newNode.style.cssText = node.style.cssText;
|
2032 |
+
}
|
2033 |
+
|
2034 |
+
appendChildNodes(newNode, lists.from(node.childNodes));
|
2035 |
+
insertAfter(newNode, node);
|
2036 |
+
remove(node);
|
2037 |
+
return newNode;
|
2038 |
+
}
|
2039 |
+
|
2040 |
+
var isTextarea = makePredByNodeName('TEXTAREA');
|
2041 |
+
/**
|
2042 |
+
* @param {jQuery} $node
|
2043 |
+
* @param {Boolean} [stripLinebreaks] - default: false
|
2044 |
+
*/
|
2045 |
+
|
2046 |
+
function dom_value($node, stripLinebreaks) {
|
2047 |
+
var val = isTextarea($node[0]) ? $node.val() : $node.html();
|
2048 |
+
|
2049 |
+
if (stripLinebreaks) {
|
2050 |
+
return val.replace(/[\n\r]/g, '');
|
2051 |
+
}
|
2052 |
+
|
2053 |
+
return val;
|
2054 |
+
}
|
2055 |
+
/**
|
2056 |
+
* @method html
|
2057 |
+
*
|
2058 |
+
* get the HTML contents of node
|
2059 |
+
*
|
2060 |
+
* @param {jQuery} $node
|
2061 |
+
* @param {Boolean} [isNewlineOnBlock]
|
2062 |
+
*/
|
2063 |
+
|
2064 |
+
|
2065 |
+
function dom_html($node, isNewlineOnBlock) {
|
2066 |
+
var markup = dom_value($node);
|
2067 |
+
|
2068 |
+
if (isNewlineOnBlock) {
|
2069 |
+
var regexTag = /<(\/?)(\b(?!!)[^>\s]*)(.*?)(\s*\/?>)/g;
|
2070 |
+
markup = markup.replace(regexTag, function (match, endSlash, name) {
|
2071 |
+
name = name.toUpperCase();
|
2072 |
+
var isEndOfInlineContainer = /^DIV|^TD|^TH|^P|^LI|^H[1-7]/.test(name) && !!endSlash;
|
2073 |
+
var isBlockNode = /^BLOCKQUOTE|^TABLE|^TBODY|^TR|^HR|^UL|^OL/.test(name);
|
2074 |
+
return match + (isEndOfInlineContainer || isBlockNode ? '\n' : '');
|
2075 |
+
});
|
2076 |
+
markup = markup.trim();
|
2077 |
+
}
|
2078 |
+
|
2079 |
+
return markup;
|
2080 |
+
}
|
2081 |
+
|
2082 |
+
function posFromPlaceholder(placeholder) {
|
2083 |
+
var $placeholder = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(placeholder);
|
2084 |
+
var pos = $placeholder.offset();
|
2085 |
+
var height = $placeholder.outerHeight(true); // include margin
|
2086 |
+
|
2087 |
+
return {
|
2088 |
+
left: pos.left,
|
2089 |
+
top: pos.top + height
|
2090 |
+
};
|
2091 |
+
}
|
2092 |
+
|
2093 |
+
function attachEvents($node, events) {
|
2094 |
+
Object.keys(events).forEach(function (key) {
|
2095 |
+
$node.on(key, events[key]);
|
2096 |
+
});
|
2097 |
+
}
|
2098 |
+
|
2099 |
+
function detachEvents($node, events) {
|
2100 |
+
Object.keys(events).forEach(function (key) {
|
2101 |
+
$node.off(key, events[key]);
|
2102 |
+
});
|
2103 |
+
}
|
2104 |
+
/**
|
2105 |
+
* @method isCustomStyleTag
|
2106 |
+
*
|
2107 |
+
* assert if a node contains a "note-styletag" class,
|
2108 |
+
* which implies that's a custom-made style tag node
|
2109 |
+
*
|
2110 |
+
* @param {Node} an HTML DOM node
|
2111 |
+
*/
|
2112 |
+
|
2113 |
+
|
2114 |
+
function isCustomStyleTag(node) {
|
2115 |
+
return node && !isText(node) && lists.contains(node.classList, 'note-styletag');
|
2116 |
+
}
|
2117 |
+
|
2118 |
+
/* harmony default export */ var dom = ({
|
2119 |
+
/** @property {String} NBSP_CHAR */
|
2120 |
+
NBSP_CHAR: NBSP_CHAR,
|
2121 |
+
|
2122 |
+
/** @property {String} ZERO_WIDTH_NBSP_CHAR */
|
2123 |
+
ZERO_WIDTH_NBSP_CHAR: ZERO_WIDTH_NBSP_CHAR,
|
2124 |
+
|
2125 |
+
/** @property {String} blank */
|
2126 |
+
blank: blankHTML,
|
2127 |
+
|
2128 |
+
/** @property {String} emptyPara */
|
2129 |
+
emptyPara: "<p>".concat(blankHTML, "</p>"),
|
2130 |
+
makePredByNodeName: makePredByNodeName,
|
2131 |
+
isEditable: isEditable,
|
2132 |
+
isControlSizing: isControlSizing,
|
2133 |
+
isText: isText,
|
2134 |
+
isElement: isElement,
|
2135 |
+
isVoid: isVoid,
|
2136 |
+
isPara: isPara,
|
2137 |
+
isPurePara: isPurePara,
|
2138 |
+
isHeading: isHeading,
|
2139 |
+
isInline: dom_isInline,
|
2140 |
+
isBlock: func.not(dom_isInline),
|
2141 |
+
isBodyInline: isBodyInline,
|
2142 |
+
isBody: isBody,
|
2143 |
+
isParaInline: isParaInline,
|
2144 |
+
isPre: isPre,
|
2145 |
+
isList: isList,
|
2146 |
+
isTable: isTable,
|
2147 |
+
isData: isData,
|
2148 |
+
isCell: dom_isCell,
|
2149 |
+
isBlockquote: isBlockquote,
|
2150 |
+
isBodyContainer: isBodyContainer,
|
2151 |
+
isAnchor: isAnchor,
|
2152 |
+
isDiv: makePredByNodeName('DIV'),
|
2153 |
+
isLi: isLi,
|
2154 |
+
isBR: makePredByNodeName('BR'),
|
2155 |
+
isSpan: makePredByNodeName('SPAN'),
|
2156 |
+
isB: makePredByNodeName('B'),
|
2157 |
+
isU: makePredByNodeName('U'),
|
2158 |
+
isS: makePredByNodeName('S'),
|
2159 |
+
isI: makePredByNodeName('I'),
|
2160 |
+
isImg: makePredByNodeName('IMG'),
|
2161 |
+
isTextarea: isTextarea,
|
2162 |
+
deepestChildIsEmpty: deepestChildIsEmpty,
|
2163 |
+
isEmpty: dom_isEmpty,
|
2164 |
+
isEmptyAnchor: func.and(isAnchor, dom_isEmpty),
|
2165 |
+
isClosestSibling: isClosestSibling,
|
2166 |
+
withClosestSiblings: withClosestSiblings,
|
2167 |
+
nodeLength: nodeLength,
|
2168 |
+
isLeftEdgePoint: isLeftEdgePoint,
|
2169 |
+
isRightEdgePoint: isRightEdgePoint,
|
2170 |
+
isEdgePoint: isEdgePoint,
|
2171 |
+
isLeftEdgeOf: dom_isLeftEdgeOf,
|
2172 |
+
isRightEdgeOf: isRightEdgeOf,
|
2173 |
+
isLeftEdgePointOf: isLeftEdgePointOf,
|
2174 |
+
isRightEdgePointOf: isRightEdgePointOf,
|
2175 |
+
prevPoint: dom_prevPoint,
|
2176 |
+
nextPoint: dom_nextPoint,
|
2177 |
+
nextPointWithEmptyNode: nextPointWithEmptyNode,
|
2178 |
+
isSamePoint: isSamePoint,
|
2179 |
+
isVisiblePoint: isVisiblePoint,
|
2180 |
+
prevPointUntil: prevPointUntil,
|
2181 |
+
nextPointUntil: nextPointUntil,
|
2182 |
+
isCharPoint: isCharPoint,
|
2183 |
+
isSpacePoint: isSpacePoint,
|
2184 |
+
walkPoint: walkPoint,
|
2185 |
+
ancestor: dom_ancestor,
|
2186 |
+
singleChildAncestor: singleChildAncestor,
|
2187 |
+
listAncestor: listAncestor,
|
2188 |
+
lastAncestor: lastAncestor,
|
2189 |
+
listNext: listNext,
|
2190 |
+
listPrev: listPrev,
|
2191 |
+
listDescendant: listDescendant,
|
2192 |
+
commonAncestor: dom_commonAncestor,
|
2193 |
+
wrap: wrap,
|
2194 |
+
insertAfter: insertAfter,
|
2195 |
+
appendChildNodes: appendChildNodes,
|
2196 |
+
position: dom_position,
|
2197 |
+
hasChildren: hasChildren,
|
2198 |
+
makeOffsetPath: makeOffsetPath,
|
2199 |
+
fromOffsetPath: fromOffsetPath,
|
2200 |
+
splitTree: splitTree,
|
2201 |
+
splitPoint: splitPoint,
|
2202 |
+
create: dom_create,
|
2203 |
+
createText: createText,
|
2204 |
+
remove: remove,
|
2205 |
+
removeWhile: removeWhile,
|
2206 |
+
replace: dom_replace,
|
2207 |
+
html: dom_html,
|
2208 |
+
value: dom_value,
|
2209 |
+
posFromPlaceholder: posFromPlaceholder,
|
2210 |
+
attachEvents: attachEvents,
|
2211 |
+
detachEvents: detachEvents,
|
2212 |
+
isCustomStyleTag: isCustomStyleTag
|
2213 |
+
});
|
2214 |
+
// CONCATENATED MODULE: ./src/js/base/Context.js
|
2215 |
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
2216 |
+
|
2217 |
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
2218 |
+
|
2219 |
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
2220 |
+
|
2221 |
+
|
2222 |
+
|
2223 |
+
|
2224 |
+
|
2225 |
+
|
2226 |
+
var Context_Context = /*#__PURE__*/function () {
|
2227 |
+
/**
|
2228 |
+
* @param {jQuery} $note
|
2229 |
+
* @param {Object} options
|
2230 |
+
*/
|
2231 |
+
function Context($note, options) {
|
2232 |
+
_classCallCheck(this, Context);
|
2233 |
+
|
2234 |
+
this.$note = $note;
|
2235 |
+
this.memos = {};
|
2236 |
+
this.modules = {};
|
2237 |
+
this.layoutInfo = {};
|
2238 |
+
this.options = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.extend(true, {}, options); // init ui with options
|
2239 |
+
|
2240 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.summernote.ui = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.summernote.ui_template(this.options);
|
2241 |
+
this.ui = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.summernote.ui;
|
2242 |
+
this.initialize();
|
2243 |
+
}
|
2244 |
+
/**
|
2245 |
+
* create layout and initialize modules and other resources
|
2246 |
+
*/
|
2247 |
+
|
2248 |
+
|
2249 |
+
_createClass(Context, [{
|
2250 |
+
key: "initialize",
|
2251 |
+
value: function initialize() {
|
2252 |
+
this.layoutInfo = this.ui.createLayout(this.$note);
|
2253 |
+
|
2254 |
+
this._initialize();
|
2255 |
+
|
2256 |
+
this.$note.hide();
|
2257 |
+
return this;
|
2258 |
+
}
|
2259 |
+
/**
|
2260 |
+
* destroy modules and other resources and remove layout
|
2261 |
+
*/
|
2262 |
+
|
2263 |
+
}, {
|
2264 |
+
key: "destroy",
|
2265 |
+
value: function destroy() {
|
2266 |
+
this._destroy();
|
2267 |
+
|
2268 |
+
this.$note.removeData('summernote');
|
2269 |
+
this.ui.removeLayout(this.$note, this.layoutInfo);
|
2270 |
+
}
|
2271 |
+
/**
|
2272 |
+
* destory modules and other resources and initialize it again
|
2273 |
+
*/
|
2274 |
+
|
2275 |
+
}, {
|
2276 |
+
key: "reset",
|
2277 |
+
value: function reset() {
|
2278 |
+
var disabled = this.isDisabled();
|
2279 |
+
this.code(dom.emptyPara);
|
2280 |
+
|
2281 |
+
this._destroy();
|
2282 |
+
|
2283 |
+
this._initialize();
|
2284 |
+
|
2285 |
+
if (disabled) {
|
2286 |
+
this.disable();
|
2287 |
+
}
|
2288 |
+
}
|
2289 |
+
}, {
|
2290 |
+
key: "_initialize",
|
2291 |
+
value: function _initialize() {
|
2292 |
+
var _this = this;
|
2293 |
+
|
2294 |
+
// set own id
|
2295 |
+
this.options.id = func.uniqueId(external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.now()); // set default container for tooltips, popovers, and dialogs
|
2296 |
+
|
2297 |
+
this.options.container = this.options.container || this.layoutInfo.editor; // add optional buttons
|
2298 |
+
|
2299 |
+
var buttons = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.extend({}, this.options.buttons);
|
2300 |
+
Object.keys(buttons).forEach(function (key) {
|
2301 |
+
_this.memo('button.' + key, buttons[key]);
|
2302 |
+
});
|
2303 |
+
var modules = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.extend({}, this.options.modules, external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.summernote.plugins || {}); // add and initialize modules
|
2304 |
+
|
2305 |
+
Object.keys(modules).forEach(function (key) {
|
2306 |
+
_this.module(key, modules[key], true);
|
2307 |
+
});
|
2308 |
+
Object.keys(this.modules).forEach(function (key) {
|
2309 |
+
_this.initializeModule(key);
|
2310 |
+
});
|
2311 |
+
}
|
2312 |
+
}, {
|
2313 |
+
key: "_destroy",
|
2314 |
+
value: function _destroy() {
|
2315 |
+
var _this2 = this;
|
2316 |
+
|
2317 |
+
// destroy modules with reversed order
|
2318 |
+
Object.keys(this.modules).reverse().forEach(function (key) {
|
2319 |
+
_this2.removeModule(key);
|
2320 |
+
});
|
2321 |
+
Object.keys(this.memos).forEach(function (key) {
|
2322 |
+
_this2.removeMemo(key);
|
2323 |
+
}); // trigger custom onDestroy callback
|
2324 |
+
|
2325 |
+
this.triggerEvent('destroy', this);
|
2326 |
+
}
|
2327 |
+
}, {
|
2328 |
+
key: "code",
|
2329 |
+
value: function code(html) {
|
2330 |
+
var isActivated = this.invoke('codeview.isActivated');
|
2331 |
+
|
2332 |
+
if (html === undefined) {
|
2333 |
+
this.invoke('codeview.sync');
|
2334 |
+
return isActivated ? this.layoutInfo.codable.val() : this.layoutInfo.editable.html();
|
2335 |
+
} else {
|
2336 |
+
if (isActivated) {
|
2337 |
+
this.invoke('codeview.sync', html);
|
2338 |
+
} else {
|
2339 |
+
this.layoutInfo.editable.html(html);
|
2340 |
+
}
|
2341 |
+
|
2342 |
+
this.$note.val(html);
|
2343 |
+
this.triggerEvent('change', html, this.layoutInfo.editable);
|
2344 |
+
}
|
2345 |
+
}
|
2346 |
+
}, {
|
2347 |
+
key: "isDisabled",
|
2348 |
+
value: function isDisabled() {
|
2349 |
+
return this.layoutInfo.editable.attr('contenteditable') === 'false';
|
2350 |
+
}
|
2351 |
+
}, {
|
2352 |
+
key: "enable",
|
2353 |
+
value: function enable() {
|
2354 |
+
this.layoutInfo.editable.attr('contenteditable', true);
|
2355 |
+
this.invoke('toolbar.activate', true);
|
2356 |
+
this.triggerEvent('disable', false);
|
2357 |
+
this.options.editing = true;
|
2358 |
+
}
|
2359 |
+
}, {
|
2360 |
+
key: "disable",
|
2361 |
+
value: function disable() {
|
2362 |
+
// close codeview if codeview is opend
|
2363 |
+
if (this.invoke('codeview.isActivated')) {
|
2364 |
+
this.invoke('codeview.deactivate');
|
2365 |
+
}
|
2366 |
+
|
2367 |
+
this.layoutInfo.editable.attr('contenteditable', false);
|
2368 |
+
this.options.editing = false;
|
2369 |
+
this.invoke('toolbar.deactivate', true);
|
2370 |
+
this.triggerEvent('disable', true);
|
2371 |
+
}
|
2372 |
+
}, {
|
2373 |
+
key: "triggerEvent",
|
2374 |
+
value: function triggerEvent() {
|
2375 |
+
var namespace = lists.head(arguments);
|
2376 |
+
var args = lists.tail(lists.from(arguments));
|
2377 |
+
var callback = this.options.callbacks[func.namespaceToCamel(namespace, 'on')];
|
2378 |
+
|
2379 |
+
if (callback) {
|
2380 |
+
callback.apply(this.$note[0], args);
|
2381 |
+
}
|
2382 |
+
|
2383 |
+
this.$note.trigger('summernote.' + namespace, args);
|
2384 |
+
}
|
2385 |
+
}, {
|
2386 |
+
key: "initializeModule",
|
2387 |
+
value: function initializeModule(key) {
|
2388 |
+
var module = this.modules[key];
|
2389 |
+
module.shouldInitialize = module.shouldInitialize || func.ok;
|
2390 |
+
|
2391 |
+
if (!module.shouldInitialize()) {
|
2392 |
+
return;
|
2393 |
+
} // initialize module
|
2394 |
+
|
2395 |
+
|
2396 |
+
if (module.initialize) {
|
2397 |
+
module.initialize();
|
2398 |
+
} // attach events
|
2399 |
+
|
2400 |
+
|
2401 |
+
if (module.events) {
|
2402 |
+
dom.attachEvents(this.$note, module.events);
|
2403 |
+
}
|
2404 |
+
}
|
2405 |
+
}, {
|
2406 |
+
key: "module",
|
2407 |
+
value: function module(key, ModuleClass, withoutIntialize) {
|
2408 |
+
if (arguments.length === 1) {
|
2409 |
+
return this.modules[key];
|
2410 |
+
}
|
2411 |
+
|
2412 |
+
this.modules[key] = new ModuleClass(this);
|
2413 |
+
|
2414 |
+
if (!withoutIntialize) {
|
2415 |
+
this.initializeModule(key);
|
2416 |
+
}
|
2417 |
+
}
|
2418 |
+
}, {
|
2419 |
+
key: "removeModule",
|
2420 |
+
value: function removeModule(key) {
|
2421 |
+
var module = this.modules[key];
|
2422 |
+
|
2423 |
+
if (module.shouldInitialize()) {
|
2424 |
+
if (module.events) {
|
2425 |
+
dom.detachEvents(this.$note, module.events);
|
2426 |
+
}
|
2427 |
+
|
2428 |
+
if (module.destroy) {
|
2429 |
+
module.destroy();
|
2430 |
+
}
|
2431 |
+
}
|
2432 |
+
|
2433 |
+
delete this.modules[key];
|
2434 |
+
}
|
2435 |
+
}, {
|
2436 |
+
key: "memo",
|
2437 |
+
value: function memo(key, obj) {
|
2438 |
+
if (arguments.length === 1) {
|
2439 |
+
return this.memos[key];
|
2440 |
+
}
|
2441 |
+
|
2442 |
+
this.memos[key] = obj;
|
2443 |
+
}
|
2444 |
+
}, {
|
2445 |
+
key: "removeMemo",
|
2446 |
+
value: function removeMemo(key) {
|
2447 |
+
if (this.memos[key] && this.memos[key].destroy) {
|
2448 |
+
this.memos[key].destroy();
|
2449 |
+
}
|
2450 |
+
|
2451 |
+
delete this.memos[key];
|
2452 |
+
}
|
2453 |
+
/**
|
2454 |
+
* Some buttons need to change their visual style immediately once they get pressed
|
2455 |
+
*/
|
2456 |
+
|
2457 |
+
}, {
|
2458 |
+
key: "createInvokeHandlerAndUpdateState",
|
2459 |
+
value: function createInvokeHandlerAndUpdateState(namespace, value) {
|
2460 |
+
var _this3 = this;
|
2461 |
+
|
2462 |
+
return function (event) {
|
2463 |
+
_this3.createInvokeHandler(namespace, value)(event);
|
2464 |
+
|
2465 |
+
_this3.invoke('buttons.updateCurrentStyle');
|
2466 |
+
};
|
2467 |
+
}
|
2468 |
+
}, {
|
2469 |
+
key: "createInvokeHandler",
|
2470 |
+
value: function createInvokeHandler(namespace, value) {
|
2471 |
+
var _this4 = this;
|
2472 |
+
|
2473 |
+
return function (event) {
|
2474 |
+
event.preventDefault();
|
2475 |
+
var $target = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(event.target);
|
2476 |
+
|
2477 |
+
_this4.invoke(namespace, value || $target.closest('[data-value]').data('value'), $target);
|
2478 |
+
};
|
2479 |
+
}
|
2480 |
+
}, {
|
2481 |
+
key: "invoke",
|
2482 |
+
value: function invoke() {
|
2483 |
+
var namespace = lists.head(arguments);
|
2484 |
+
var args = lists.tail(lists.from(arguments));
|
2485 |
+
var splits = namespace.split('.');
|
2486 |
+
var hasSeparator = splits.length > 1;
|
2487 |
+
var moduleName = hasSeparator && lists.head(splits);
|
2488 |
+
var methodName = hasSeparator ? lists.last(splits) : lists.head(splits);
|
2489 |
+
var module = this.modules[moduleName || 'editor'];
|
2490 |
+
|
2491 |
+
if (!moduleName && this[methodName]) {
|
2492 |
+
return this[methodName].apply(this, args);
|
2493 |
+
} else if (module && module[methodName] && module.shouldInitialize()) {
|
2494 |
+
return module[methodName].apply(module, args);
|
2495 |
+
}
|
2496 |
+
}
|
2497 |
+
}]);
|
2498 |
+
|
2499 |
+
return Context;
|
2500 |
+
}();
|
2501 |
+
|
2502 |
+
|
2503 |
+
// CONCATENATED MODULE: ./src/js/summernote.js
|
2504 |
+
|
2505 |
+
|
2506 |
+
|
2507 |
+
|
2508 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.fn.extend({
|
2509 |
+
/**
|
2510 |
+
* Summernote API
|
2511 |
+
*
|
2512 |
+
* @param {Object|String}
|
2513 |
+
* @return {this}
|
2514 |
+
*/
|
2515 |
+
summernote: function summernote() {
|
2516 |
+
var type = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.type(lists.head(arguments));
|
2517 |
+
var isExternalAPICalled = type === 'string';
|
2518 |
+
var hasInitOptions = type === 'object';
|
2519 |
+
var options = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.extend({}, external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.summernote.options, hasInitOptions ? lists.head(arguments) : {}); // Update options
|
2520 |
+
|
2521 |
+
options.langInfo = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.extend(true, {}, external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.summernote.lang['en-US'], external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.summernote.lang[options.lang]);
|
2522 |
+
options.icons = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.extend(true, {}, external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.summernote.options.icons, options.icons);
|
2523 |
+
options.tooltip = options.tooltip === 'auto' ? !env.isSupportTouch : options.tooltip;
|
2524 |
+
this.each(function (idx, note) {
|
2525 |
+
var $note = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(note);
|
2526 |
+
|
2527 |
+
if (!$note.data('summernote')) {
|
2528 |
+
var context = new Context_Context($note, options);
|
2529 |
+
$note.data('summernote', context);
|
2530 |
+
$note.data('summernote').triggerEvent('init', context.layoutInfo);
|
2531 |
+
}
|
2532 |
+
});
|
2533 |
+
var $note = this.first();
|
2534 |
+
|
2535 |
+
if ($note.length) {
|
2536 |
+
var context = $note.data('summernote');
|
2537 |
+
|
2538 |
+
if (isExternalAPICalled) {
|
2539 |
+
return context.invoke.apply(context, lists.from(arguments));
|
2540 |
+
} else if (options.focus) {
|
2541 |
+
context.invoke('editor.focus');
|
2542 |
+
}
|
2543 |
+
}
|
2544 |
+
|
2545 |
+
return this;
|
2546 |
+
}
|
2547 |
+
});
|
2548 |
+
// CONCATENATED MODULE: ./src/js/base/core/range.js
|
2549 |
+
function range_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
2550 |
+
|
2551 |
+
function range_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
2552 |
+
|
2553 |
+
function range_createClass(Constructor, protoProps, staticProps) { if (protoProps) range_defineProperties(Constructor.prototype, protoProps); if (staticProps) range_defineProperties(Constructor, staticProps); return Constructor; }
|
2554 |
+
|
2555 |
+
|
2556 |
+
|
2557 |
+
|
2558 |
+
|
2559 |
+
|
2560 |
+
/**
|
2561 |
+
* return boundaryPoint from TextRange, inspired by Andy Na's HuskyRange.js
|
2562 |
+
*
|
2563 |
+
* @param {TextRange} textRange
|
2564 |
+
* @param {Boolean} isStart
|
2565 |
+
* @return {BoundaryPoint}
|
2566 |
+
*
|
2567 |
+
* @see http://msdn.microsoft.com/en-us/library/ie/ms535872(v=vs.85).aspx
|
2568 |
+
*/
|
2569 |
+
|
2570 |
+
function textRangeToPoint(textRange, isStart) {
|
2571 |
+
var container = textRange.parentElement();
|
2572 |
+
var offset;
|
2573 |
+
var tester = document.body.createTextRange();
|
2574 |
+
var prevContainer;
|
2575 |
+
var childNodes = lists.from(container.childNodes);
|
2576 |
+
|
2577 |
+
for (offset = 0; offset < childNodes.length; offset++) {
|
2578 |
+
if (dom.isText(childNodes[offset])) {
|
2579 |
+
continue;
|
2580 |
+
}
|
2581 |
+
|
2582 |
+
tester.moveToElementText(childNodes[offset]);
|
2583 |
+
|
2584 |
+
if (tester.compareEndPoints('StartToStart', textRange) >= 0) {
|
2585 |
+
break;
|
2586 |
+
}
|
2587 |
+
|
2588 |
+
prevContainer = childNodes[offset];
|
2589 |
+
}
|
2590 |
+
|
2591 |
+
if (offset !== 0 && dom.isText(childNodes[offset - 1])) {
|
2592 |
+
var textRangeStart = document.body.createTextRange();
|
2593 |
+
var curTextNode = null;
|
2594 |
+
textRangeStart.moveToElementText(prevContainer || container);
|
2595 |
+
textRangeStart.collapse(!prevContainer);
|
2596 |
+
curTextNode = prevContainer ? prevContainer.nextSibling : container.firstChild;
|
2597 |
+
var pointTester = textRange.duplicate();
|
2598 |
+
pointTester.setEndPoint('StartToStart', textRangeStart);
|
2599 |
+
var textCount = pointTester.text.replace(/[\r\n]/g, '').length;
|
2600 |
+
|
2601 |
+
while (textCount > curTextNode.nodeValue.length && curTextNode.nextSibling) {
|
2602 |
+
textCount -= curTextNode.nodeValue.length;
|
2603 |
+
curTextNode = curTextNode.nextSibling;
|
2604 |
+
} // [workaround] enforce IE to re-reference curTextNode, hack
|
2605 |
+
|
2606 |
+
|
2607 |
+
var dummy = curTextNode.nodeValue; // eslint-disable-line
|
2608 |
+
|
2609 |
+
if (isStart && curTextNode.nextSibling && dom.isText(curTextNode.nextSibling) && textCount === curTextNode.nodeValue.length) {
|
2610 |
+
textCount -= curTextNode.nodeValue.length;
|
2611 |
+
curTextNode = curTextNode.nextSibling;
|
2612 |
+
}
|
2613 |
+
|
2614 |
+
container = curTextNode;
|
2615 |
+
offset = textCount;
|
2616 |
+
}
|
2617 |
+
|
2618 |
+
return {
|
2619 |
+
cont: container,
|
2620 |
+
offset: offset
|
2621 |
+
};
|
2622 |
+
}
|
2623 |
+
/**
|
2624 |
+
* return TextRange from boundary point (inspired by google closure-library)
|
2625 |
+
* @param {BoundaryPoint} point
|
2626 |
+
* @return {TextRange}
|
2627 |
+
*/
|
2628 |
+
|
2629 |
+
|
2630 |
+
function pointToTextRange(point) {
|
2631 |
+
var textRangeInfo = function textRangeInfo(container, offset) {
|
2632 |
+
var node, isCollapseToStart;
|
2633 |
+
|
2634 |
+
if (dom.isText(container)) {
|
2635 |
+
var prevTextNodes = dom.listPrev(container, func.not(dom.isText));
|
2636 |
+
var prevContainer = lists.last(prevTextNodes).previousSibling;
|
2637 |
+
node = prevContainer || container.parentNode;
|
2638 |
+
offset += lists.sum(lists.tail(prevTextNodes), dom.nodeLength);
|
2639 |
+
isCollapseToStart = !prevContainer;
|
2640 |
+
} else {
|
2641 |
+
node = container.childNodes[offset] || container;
|
2642 |
+
|
2643 |
+
if (dom.isText(node)) {
|
2644 |
+
return textRangeInfo(node, 0);
|
2645 |
+
}
|
2646 |
+
|
2647 |
+
offset = 0;
|
2648 |
+
isCollapseToStart = false;
|
2649 |
+
}
|
2650 |
+
|
2651 |
+
return {
|
2652 |
+
node: node,
|
2653 |
+
collapseToStart: isCollapseToStart,
|
2654 |
+
offset: offset
|
2655 |
+
};
|
2656 |
+
};
|
2657 |
+
|
2658 |
+
var textRange = document.body.createTextRange();
|
2659 |
+
var info = textRangeInfo(point.node, point.offset);
|
2660 |
+
textRange.moveToElementText(info.node);
|
2661 |
+
textRange.collapse(info.collapseToStart);
|
2662 |
+
textRange.moveStart('character', info.offset);
|
2663 |
+
return textRange;
|
2664 |
+
}
|
2665 |
+
/**
|
2666 |
+
* Wrapped Range
|
2667 |
+
*
|
2668 |
+
* @constructor
|
2669 |
+
* @param {Node} sc - start container
|
2670 |
+
* @param {Number} so - start offset
|
2671 |
+
* @param {Node} ec - end container
|
2672 |
+
* @param {Number} eo - end offset
|
2673 |
+
*/
|
2674 |
+
|
2675 |
+
|
2676 |
+
var range_WrappedRange = /*#__PURE__*/function () {
|
2677 |
+
function WrappedRange(sc, so, ec, eo) {
|
2678 |
+
range_classCallCheck(this, WrappedRange);
|
2679 |
+
|
2680 |
+
this.sc = sc;
|
2681 |
+
this.so = so;
|
2682 |
+
this.ec = ec;
|
2683 |
+
this.eo = eo; // isOnEditable: judge whether range is on editable or not
|
2684 |
+
|
2685 |
+
this.isOnEditable = this.makeIsOn(dom.isEditable); // isOnList: judge whether range is on list node or not
|
2686 |
+
|
2687 |
+
this.isOnList = this.makeIsOn(dom.isList); // isOnAnchor: judge whether range is on anchor node or not
|
2688 |
+
|
2689 |
+
this.isOnAnchor = this.makeIsOn(dom.isAnchor); // isOnCell: judge whether range is on cell node or not
|
2690 |
+
|
2691 |
+
this.isOnCell = this.makeIsOn(dom.isCell); // isOnData: judge whether range is on data node or not
|
2692 |
+
|
2693 |
+
this.isOnData = this.makeIsOn(dom.isData);
|
2694 |
+
} // nativeRange: get nativeRange from sc, so, ec, eo
|
2695 |
+
|
2696 |
+
|
2697 |
+
range_createClass(WrappedRange, [{
|
2698 |
+
key: "nativeRange",
|
2699 |
+
value: function nativeRange() {
|
2700 |
+
if (env.isW3CRangeSupport) {
|
2701 |
+
var w3cRange = document.createRange();
|
2702 |
+
w3cRange.setStart(this.sc, this.so);
|
2703 |
+
w3cRange.setEnd(this.ec, this.eo);
|
2704 |
+
return w3cRange;
|
2705 |
+
} else {
|
2706 |
+
var textRange = pointToTextRange({
|
2707 |
+
node: this.sc,
|
2708 |
+
offset: this.so
|
2709 |
+
});
|
2710 |
+
textRange.setEndPoint('EndToEnd', pointToTextRange({
|
2711 |
+
node: this.ec,
|
2712 |
+
offset: this.eo
|
2713 |
+
}));
|
2714 |
+
return textRange;
|
2715 |
+
}
|
2716 |
+
}
|
2717 |
+
}, {
|
2718 |
+
key: "getPoints",
|
2719 |
+
value: function getPoints() {
|
2720 |
+
return {
|
2721 |
+
sc: this.sc,
|
2722 |
+
so: this.so,
|
2723 |
+
ec: this.ec,
|
2724 |
+
eo: this.eo
|
2725 |
+
};
|
2726 |
+
}
|
2727 |
+
}, {
|
2728 |
+
key: "getStartPoint",
|
2729 |
+
value: function getStartPoint() {
|
2730 |
+
return {
|
2731 |
+
node: this.sc,
|
2732 |
+
offset: this.so
|
2733 |
+
};
|
2734 |
+
}
|
2735 |
+
}, {
|
2736 |
+
key: "getEndPoint",
|
2737 |
+
value: function getEndPoint() {
|
2738 |
+
return {
|
2739 |
+
node: this.ec,
|
2740 |
+
offset: this.eo
|
2741 |
+
};
|
2742 |
+
}
|
2743 |
+
/**
|
2744 |
+
* select update visible range
|
2745 |
+
*/
|
2746 |
+
|
2747 |
+
}, {
|
2748 |
+
key: "select",
|
2749 |
+
value: function select() {
|
2750 |
+
var nativeRng = this.nativeRange();
|
2751 |
+
|
2752 |
+
if (env.isW3CRangeSupport) {
|
2753 |
+
var selection = document.getSelection();
|
2754 |
+
|
2755 |
+
if (selection.rangeCount > 0) {
|
2756 |
+
selection.removeAllRanges();
|
2757 |
+
}
|
2758 |
+
|
2759 |
+
selection.addRange(nativeRng);
|
2760 |
+
} else {
|
2761 |
+
nativeRng.select();
|
2762 |
+
}
|
2763 |
+
|
2764 |
+
return this;
|
2765 |
+
}
|
2766 |
+
/**
|
2767 |
+
* Moves the scrollbar to start container(sc) of current range
|
2768 |
+
*
|
2769 |
+
* @return {WrappedRange}
|
2770 |
+
*/
|
2771 |
+
|
2772 |
+
}, {
|
2773 |
+
key: "scrollIntoView",
|
2774 |
+
value: function scrollIntoView(container) {
|
2775 |
+
var height = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(container).height();
|
2776 |
+
|
2777 |
+
if (container.scrollTop + height < this.sc.offsetTop) {
|
2778 |
+
container.scrollTop += Math.abs(container.scrollTop + height - this.sc.offsetTop);
|
2779 |
+
}
|
2780 |
+
|
2781 |
+
return this;
|
2782 |
+
}
|
2783 |
+
/**
|
2784 |
+
* @return {WrappedRange}
|
2785 |
+
*/
|
2786 |
+
|
2787 |
+
}, {
|
2788 |
+
key: "normalize",
|
2789 |
+
value: function normalize() {
|
2790 |
+
/**
|
2791 |
+
* @param {BoundaryPoint} point
|
2792 |
+
* @param {Boolean} isLeftToRight - true: prefer to choose right node
|
2793 |
+
* - false: prefer to choose left node
|
2794 |
+
* @return {BoundaryPoint}
|
2795 |
+
*/
|
2796 |
+
var getVisiblePoint = function getVisiblePoint(point, isLeftToRight) {
|
2797 |
+
if (!point) {
|
2798 |
+
return point;
|
2799 |
+
} // Just use the given point [XXX:Adhoc]
|
2800 |
+
// - case 01. if the point is on the middle of the node
|
2801 |
+
// - case 02. if the point is on the right edge and prefer to choose left node
|
2802 |
+
// - case 03. if the point is on the left edge and prefer to choose right node
|
2803 |
+
// - case 04. if the point is on the right edge and prefer to choose right node but the node is void
|
2804 |
+
// - case 05. if the point is on the left edge and prefer to choose left node but the node is void
|
2805 |
+
// - case 06. if the point is on the block node and there is no children
|
2806 |
+
|
2807 |
+
|
2808 |
+
if (dom.isVisiblePoint(point)) {
|
2809 |
+
if (!dom.isEdgePoint(point) || dom.isRightEdgePoint(point) && !isLeftToRight || dom.isLeftEdgePoint(point) && isLeftToRight || dom.isRightEdgePoint(point) && isLeftToRight && dom.isVoid(point.node.nextSibling) || dom.isLeftEdgePoint(point) && !isLeftToRight && dom.isVoid(point.node.previousSibling) || dom.isBlock(point.node) && dom.isEmpty(point.node)) {
|
2810 |
+
return point;
|
2811 |
+
}
|
2812 |
+
} // point on block's edge
|
2813 |
+
|
2814 |
+
|
2815 |
+
var block = dom.ancestor(point.node, dom.isBlock);
|
2816 |
+
var hasRightNode = false;
|
2817 |
+
|
2818 |
+
if (!hasRightNode) {
|
2819 |
+
var prevPoint = dom.prevPoint(point) || {
|
2820 |
+
node: null
|
2821 |
+
};
|
2822 |
+
hasRightNode = (dom.isLeftEdgePointOf(point, block) || dom.isVoid(prevPoint.node)) && !isLeftToRight;
|
2823 |
+
}
|
2824 |
+
|
2825 |
+
var hasLeftNode = false;
|
2826 |
+
|
2827 |
+
if (!hasLeftNode) {
|
2828 |
+
var _nextPoint = dom.nextPoint(point) || {
|
2829 |
+
node: null
|
2830 |
+
};
|
2831 |
+
|
2832 |
+
hasLeftNode = (dom.isRightEdgePointOf(point, block) || dom.isVoid(_nextPoint.node)) && isLeftToRight;
|
2833 |
+
}
|
2834 |
+
|
2835 |
+
if (hasRightNode || hasLeftNode) {
|
2836 |
+
// returns point already on visible point
|
2837 |
+
if (dom.isVisiblePoint(point)) {
|
2838 |
+
return point;
|
2839 |
+
} // reverse direction
|
2840 |
+
|
2841 |
+
|
2842 |
+
isLeftToRight = !isLeftToRight;
|
2843 |
+
}
|
2844 |
+
|
2845 |
+
var nextPoint = isLeftToRight ? dom.nextPointUntil(dom.nextPoint(point), dom.isVisiblePoint) : dom.prevPointUntil(dom.prevPoint(point), dom.isVisiblePoint);
|
2846 |
+
return nextPoint || point;
|
2847 |
+
};
|
2848 |
+
|
2849 |
+
var endPoint = getVisiblePoint(this.getEndPoint(), false);
|
2850 |
+
var startPoint = this.isCollapsed() ? endPoint : getVisiblePoint(this.getStartPoint(), true);
|
2851 |
+
return new WrappedRange(startPoint.node, startPoint.offset, endPoint.node, endPoint.offset);
|
2852 |
+
}
|
2853 |
+
/**
|
2854 |
+
* returns matched nodes on range
|
2855 |
+
*
|
2856 |
+
* @param {Function} [pred] - predicate function
|
2857 |
+
* @param {Object} [options]
|
2858 |
+
* @param {Boolean} [options.includeAncestor]
|
2859 |
+
* @param {Boolean} [options.fullyContains]
|
2860 |
+
* @return {Node[]}
|
2861 |
+
*/
|
2862 |
+
|
2863 |
+
}, {
|
2864 |
+
key: "nodes",
|
2865 |
+
value: function nodes(pred, options) {
|
2866 |
+
pred = pred || func.ok;
|
2867 |
+
var includeAncestor = options && options.includeAncestor;
|
2868 |
+
var fullyContains = options && options.fullyContains; // TODO compare points and sort
|
2869 |
+
|
2870 |
+
var startPoint = this.getStartPoint();
|
2871 |
+
var endPoint = this.getEndPoint();
|
2872 |
+
var nodes = [];
|
2873 |
+
var leftEdgeNodes = [];
|
2874 |
+
dom.walkPoint(startPoint, endPoint, function (point) {
|
2875 |
+
if (dom.isEditable(point.node)) {
|
2876 |
+
return;
|
2877 |
+
}
|
2878 |
+
|
2879 |
+
var node;
|
2880 |
+
|
2881 |
+
if (fullyContains) {
|
2882 |
+
if (dom.isLeftEdgePoint(point)) {
|
2883 |
+
leftEdgeNodes.push(point.node);
|
2884 |
+
}
|
2885 |
+
|
2886 |
+
if (dom.isRightEdgePoint(point) && lists.contains(leftEdgeNodes, point.node)) {
|
2887 |
+
node = point.node;
|
2888 |
+
}
|
2889 |
+
} else if (includeAncestor) {
|
2890 |
+
node = dom.ancestor(point.node, pred);
|
2891 |
+
} else {
|
2892 |
+
node = point.node;
|
2893 |
+
}
|
2894 |
+
|
2895 |
+
if (node && pred(node)) {
|
2896 |
+
nodes.push(node);
|
2897 |
+
}
|
2898 |
+
}, true);
|
2899 |
+
return lists.unique(nodes);
|
2900 |
+
}
|
2901 |
+
/**
|
2902 |
+
* returns commonAncestor of range
|
2903 |
+
* @return {Element} - commonAncestor
|
2904 |
+
*/
|
2905 |
+
|
2906 |
+
}, {
|
2907 |
+
key: "commonAncestor",
|
2908 |
+
value: function commonAncestor() {
|
2909 |
+
return dom.commonAncestor(this.sc, this.ec);
|
2910 |
+
}
|
2911 |
+
/**
|
2912 |
+
* returns expanded range by pred
|
2913 |
+
*
|
2914 |
+
* @param {Function} pred - predicate function
|
2915 |
+
* @return {WrappedRange}
|
2916 |
+
*/
|
2917 |
+
|
2918 |
+
}, {
|
2919 |
+
key: "expand",
|
2920 |
+
value: function expand(pred) {
|
2921 |
+
var startAncestor = dom.ancestor(this.sc, pred);
|
2922 |
+
var endAncestor = dom.ancestor(this.ec, pred);
|
2923 |
+
|
2924 |
+
if (!startAncestor && !endAncestor) {
|
2925 |
+
return new WrappedRange(this.sc, this.so, this.ec, this.eo);
|
2926 |
+
}
|
2927 |
+
|
2928 |
+
var boundaryPoints = this.getPoints();
|
2929 |
+
|
2930 |
+
if (startAncestor) {
|
2931 |
+
boundaryPoints.sc = startAncestor;
|
2932 |
+
boundaryPoints.so = 0;
|
2933 |
+
}
|
2934 |
+
|
2935 |
+
if (endAncestor) {
|
2936 |
+
boundaryPoints.ec = endAncestor;
|
2937 |
+
boundaryPoints.eo = dom.nodeLength(endAncestor);
|
2938 |
+
}
|
2939 |
+
|
2940 |
+
return new WrappedRange(boundaryPoints.sc, boundaryPoints.so, boundaryPoints.ec, boundaryPoints.eo);
|
2941 |
+
}
|
2942 |
+
/**
|
2943 |
+
* @param {Boolean} isCollapseToStart
|
2944 |
+
* @return {WrappedRange}
|
2945 |
+
*/
|
2946 |
+
|
2947 |
+
}, {
|
2948 |
+
key: "collapse",
|
2949 |
+
value: function collapse(isCollapseToStart) {
|
2950 |
+
if (isCollapseToStart) {
|
2951 |
+
return new WrappedRange(this.sc, this.so, this.sc, this.so);
|
2952 |
+
} else {
|
2953 |
+
return new WrappedRange(this.ec, this.eo, this.ec, this.eo);
|
2954 |
+
}
|
2955 |
+
}
|
2956 |
+
/**
|
2957 |
+
* splitText on range
|
2958 |
+
*/
|
2959 |
+
|
2960 |
+
}, {
|
2961 |
+
key: "splitText",
|
2962 |
+
value: function splitText() {
|
2963 |
+
var isSameContainer = this.sc === this.ec;
|
2964 |
+
var boundaryPoints = this.getPoints();
|
2965 |
+
|
2966 |
+
if (dom.isText(this.ec) && !dom.isEdgePoint(this.getEndPoint())) {
|
2967 |
+
this.ec.splitText(this.eo);
|
2968 |
+
}
|
2969 |
+
|
2970 |
+
if (dom.isText(this.sc) && !dom.isEdgePoint(this.getStartPoint())) {
|
2971 |
+
boundaryPoints.sc = this.sc.splitText(this.so);
|
2972 |
+
boundaryPoints.so = 0;
|
2973 |
+
|
2974 |
+
if (isSameContainer) {
|
2975 |
+
boundaryPoints.ec = boundaryPoints.sc;
|
2976 |
+
boundaryPoints.eo = this.eo - this.so;
|
2977 |
+
}
|
2978 |
+
}
|
2979 |
+
|
2980 |
+
return new WrappedRange(boundaryPoints.sc, boundaryPoints.so, boundaryPoints.ec, boundaryPoints.eo);
|
2981 |
+
}
|
2982 |
+
/**
|
2983 |
+
* delete contents on range
|
2984 |
+
* @return {WrappedRange}
|
2985 |
+
*/
|
2986 |
+
|
2987 |
+
}, {
|
2988 |
+
key: "deleteContents",
|
2989 |
+
value: function deleteContents() {
|
2990 |
+
if (this.isCollapsed()) {
|
2991 |
+
return this;
|
2992 |
+
}
|
2993 |
+
|
2994 |
+
var rng = this.splitText();
|
2995 |
+
var nodes = rng.nodes(null, {
|
2996 |
+
fullyContains: true
|
2997 |
+
}); // find new cursor point
|
2998 |
+
|
2999 |
+
var point = dom.prevPointUntil(rng.getStartPoint(), function (point) {
|
3000 |
+
return !lists.contains(nodes, point.node);
|
3001 |
+
});
|
3002 |
+
var emptyParents = [];
|
3003 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.each(nodes, function (idx, node) {
|
3004 |
+
// find empty parents
|
3005 |
+
var parent = node.parentNode;
|
3006 |
+
|
3007 |
+
if (point.node !== parent && dom.nodeLength(parent) === 1) {
|
3008 |
+
emptyParents.push(parent);
|
3009 |
+
}
|
3010 |
+
|
3011 |
+
dom.remove(node, false);
|
3012 |
+
}); // remove empty parents
|
3013 |
+
|
3014 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.each(emptyParents, function (idx, node) {
|
3015 |
+
dom.remove(node, false);
|
3016 |
+
});
|
3017 |
+
return new WrappedRange(point.node, point.offset, point.node, point.offset).normalize();
|
3018 |
+
}
|
3019 |
+
/**
|
3020 |
+
* makeIsOn: return isOn(pred) function
|
3021 |
+
*/
|
3022 |
+
|
3023 |
+
}, {
|
3024 |
+
key: "makeIsOn",
|
3025 |
+
value: function makeIsOn(pred) {
|
3026 |
+
return function () {
|
3027 |
+
var ancestor = dom.ancestor(this.sc, pred);
|
3028 |
+
return !!ancestor && ancestor === dom.ancestor(this.ec, pred);
|
3029 |
+
};
|
3030 |
+
}
|
3031 |
+
/**
|
3032 |
+
* @param {Function} pred
|
3033 |
+
* @return {Boolean}
|
3034 |
+
*/
|
3035 |
+
|
3036 |
+
}, {
|
3037 |
+
key: "isLeftEdgeOf",
|
3038 |
+
value: function isLeftEdgeOf(pred) {
|
3039 |
+
if (!dom.isLeftEdgePoint(this.getStartPoint())) {
|
3040 |
+
return false;
|
3041 |
+
}
|
3042 |
+
|
3043 |
+
var node = dom.ancestor(this.sc, pred);
|
3044 |
+
return node && dom.isLeftEdgeOf(this.sc, node);
|
3045 |
+
}
|
3046 |
+
/**
|
3047 |
+
* returns whether range was collapsed or not
|
3048 |
+
*/
|
3049 |
+
|
3050 |
+
}, {
|
3051 |
+
key: "isCollapsed",
|
3052 |
+
value: function isCollapsed() {
|
3053 |
+
return this.sc === this.ec && this.so === this.eo;
|
3054 |
+
}
|
3055 |
+
/**
|
3056 |
+
* wrap inline nodes which children of body with paragraph
|
3057 |
+
*
|
3058 |
+
* @return {WrappedRange}
|
3059 |
+
*/
|
3060 |
+
|
3061 |
+
}, {
|
3062 |
+
key: "wrapBodyInlineWithPara",
|
3063 |
+
value: function wrapBodyInlineWithPara() {
|
3064 |
+
if (dom.isBodyContainer(this.sc) && dom.isEmpty(this.sc)) {
|
3065 |
+
this.sc.innerHTML = dom.emptyPara;
|
3066 |
+
return new WrappedRange(this.sc.firstChild, 0, this.sc.firstChild, 0);
|
3067 |
+
}
|
3068 |
+
/**
|
3069 |
+
* [workaround] firefox often create range on not visible point. so normalize here.
|
3070 |
+
* - firefox: |<p>text</p>|
|
3071 |
+
* - chrome: <p>|text|</p>
|
3072 |
+
*/
|
3073 |
+
|
3074 |
+
|
3075 |
+
var rng = this.normalize();
|
3076 |
+
|
3077 |
+
if (dom.isParaInline(this.sc) || dom.isPara(this.sc)) {
|
3078 |
+
return rng;
|
3079 |
+
} // find inline top ancestor
|
3080 |
+
|
3081 |
+
|
3082 |
+
var topAncestor;
|
3083 |
+
|
3084 |
+
if (dom.isInline(rng.sc)) {
|
3085 |
+
var ancestors = dom.listAncestor(rng.sc, func.not(dom.isInline));
|
3086 |
+
topAncestor = lists.last(ancestors);
|
3087 |
+
|
3088 |
+
if (!dom.isInline(topAncestor)) {
|
3089 |
+
topAncestor = ancestors[ancestors.length - 2] || rng.sc.childNodes[rng.so];
|
3090 |
+
}
|
3091 |
+
} else {
|
3092 |
+
topAncestor = rng.sc.childNodes[rng.so > 0 ? rng.so - 1 : 0];
|
3093 |
+
}
|
3094 |
+
|
3095 |
+
if (topAncestor) {
|
3096 |
+
// siblings not in paragraph
|
3097 |
+
var inlineSiblings = dom.listPrev(topAncestor, dom.isParaInline).reverse();
|
3098 |
+
inlineSiblings = inlineSiblings.concat(dom.listNext(topAncestor.nextSibling, dom.isParaInline)); // wrap with paragraph
|
3099 |
+
|
3100 |
+
if (inlineSiblings.length) {
|
3101 |
+
var para = dom.wrap(lists.head(inlineSiblings), 'p');
|
3102 |
+
dom.appendChildNodes(para, lists.tail(inlineSiblings));
|
3103 |
+
}
|
3104 |
+
}
|
3105 |
+
|
3106 |
+
return this.normalize();
|
3107 |
+
}
|
3108 |
+
/**
|
3109 |
+
* insert node at current cursor
|
3110 |
+
*
|
3111 |
+
* @param {Node} node
|
3112 |
+
* @return {Node}
|
3113 |
+
*/
|
3114 |
+
|
3115 |
+
}, {
|
3116 |
+
key: "insertNode",
|
3117 |
+
value: function insertNode(node) {
|
3118 |
+
var rng = this;
|
3119 |
+
|
3120 |
+
if (dom.isText(node) || dom.isInline(node)) {
|
3121 |
+
rng = this.wrapBodyInlineWithPara().deleteContents();
|
3122 |
+
}
|
3123 |
+
|
3124 |
+
var info = dom.splitPoint(rng.getStartPoint(), dom.isInline(node));
|
3125 |
+
|
3126 |
+
if (info.rightNode) {
|
3127 |
+
info.rightNode.parentNode.insertBefore(node, info.rightNode);
|
3128 |
+
|
3129 |
+
if (dom.isEmpty(info.rightNode) && dom.isPara(node)) {
|
3130 |
+
info.rightNode.parentNode.removeChild(info.rightNode);
|
3131 |
+
}
|
3132 |
+
} else {
|
3133 |
+
info.container.appendChild(node);
|
3134 |
+
}
|
3135 |
+
|
3136 |
+
return node;
|
3137 |
+
}
|
3138 |
+
/**
|
3139 |
+
* insert html at current cursor
|
3140 |
+
*/
|
3141 |
+
|
3142 |
+
}, {
|
3143 |
+
key: "pasteHTML",
|
3144 |
+
value: function pasteHTML(markup) {
|
3145 |
+
markup = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.trim(markup);
|
3146 |
+
var contentsContainer = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()('<div></div>').html(markup)[0];
|
3147 |
+
var childNodes = lists.from(contentsContainer.childNodes); // const rng = this.wrapBodyInlineWithPara().deleteContents();
|
3148 |
+
|
3149 |
+
var rng = this;
|
3150 |
+
var reversed = false;
|
3151 |
+
|
3152 |
+
if (rng.so >= 0) {
|
3153 |
+
childNodes = childNodes.reverse();
|
3154 |
+
reversed = true;
|
3155 |
+
}
|
3156 |
+
|
3157 |
+
childNodes = childNodes.map(function (childNode) {
|
3158 |
+
return rng.insertNode(childNode);
|
3159 |
+
});
|
3160 |
+
|
3161 |
+
if (reversed) {
|
3162 |
+
childNodes = childNodes.reverse();
|
3163 |
+
}
|
3164 |
+
|
3165 |
+
return childNodes;
|
3166 |
+
}
|
3167 |
+
/**
|
3168 |
+
* returns text in range
|
3169 |
+
*
|
3170 |
+
* @return {String}
|
3171 |
+
*/
|
3172 |
+
|
3173 |
+
}, {
|
3174 |
+
key: "toString",
|
3175 |
+
value: function toString() {
|
3176 |
+
var nativeRng = this.nativeRange();
|
3177 |
+
return env.isW3CRangeSupport ? nativeRng.toString() : nativeRng.text;
|
3178 |
+
}
|
3179 |
+
/**
|
3180 |
+
* returns range for word before cursor
|
3181 |
+
*
|
3182 |
+
* @param {Boolean} [findAfter] - find after cursor, default: false
|
3183 |
+
* @return {WrappedRange}
|
3184 |
+
*/
|
3185 |
+
|
3186 |
+
}, {
|
3187 |
+
key: "getWordRange",
|
3188 |
+
value: function getWordRange(findAfter) {
|
3189 |
+
var endPoint = this.getEndPoint();
|
3190 |
+
|
3191 |
+
if (!dom.isCharPoint(endPoint)) {
|
3192 |
+
return this;
|
3193 |
+
}
|
3194 |
+
|
3195 |
+
var startPoint = dom.prevPointUntil(endPoint, function (point) {
|
3196 |
+
return !dom.isCharPoint(point);
|
3197 |
+
});
|
3198 |
+
|
3199 |
+
if (findAfter) {
|
3200 |
+
endPoint = dom.nextPointUntil(endPoint, function (point) {
|
3201 |
+
return !dom.isCharPoint(point);
|
3202 |
+
});
|
3203 |
+
}
|
3204 |
+
|
3205 |
+
return new WrappedRange(startPoint.node, startPoint.offset, endPoint.node, endPoint.offset);
|
3206 |
+
}
|
3207 |
+
/**
|
3208 |
+
* returns range for words before cursor
|
3209 |
+
*
|
3210 |
+
* @param {Boolean} [findAfter] - find after cursor, default: false
|
3211 |
+
* @return {WrappedRange}
|
3212 |
+
*/
|
3213 |
+
|
3214 |
+
}, {
|
3215 |
+
key: "getWordsRange",
|
3216 |
+
value: function getWordsRange(findAfter) {
|
3217 |
+
var endPoint = this.getEndPoint();
|
3218 |
+
|
3219 |
+
var isNotTextPoint = function isNotTextPoint(point) {
|
3220 |
+
return !dom.isCharPoint(point) && !dom.isSpacePoint(point);
|
3221 |
+
};
|
3222 |
+
|
3223 |
+
if (isNotTextPoint(endPoint)) {
|
3224 |
+
return this;
|
3225 |
+
}
|
3226 |
+
|
3227 |
+
var startPoint = dom.prevPointUntil(endPoint, isNotTextPoint);
|
3228 |
+
|
3229 |
+
if (findAfter) {
|
3230 |
+
endPoint = dom.nextPointUntil(endPoint, isNotTextPoint);
|
3231 |
+
}
|
3232 |
+
|
3233 |
+
return new WrappedRange(startPoint.node, startPoint.offset, endPoint.node, endPoint.offset);
|
3234 |
+
}
|
3235 |
+
/**
|
3236 |
+
* returns range for words before cursor that match with a Regex
|
3237 |
+
*
|
3238 |
+
* example:
|
3239 |
+
* range: 'hi @Peter Pan'
|
3240 |
+
* regex: '/@[a-z ]+/i'
|
3241 |
+
* return range: '@Peter Pan'
|
3242 |
+
*
|
3243 |
+
* @param {RegExp} [regex]
|
3244 |
+
* @return {WrappedRange|null}
|
3245 |
+
*/
|
3246 |
+
|
3247 |
+
}, {
|
3248 |
+
key: "getWordsMatchRange",
|
3249 |
+
value: function getWordsMatchRange(regex) {
|
3250 |
+
var endPoint = this.getEndPoint();
|
3251 |
+
var startPoint = dom.prevPointUntil(endPoint, function (point) {
|
3252 |
+
if (!dom.isCharPoint(point) && !dom.isSpacePoint(point)) {
|
3253 |
+
return true;
|
3254 |
+
}
|
3255 |
+
|
3256 |
+
var rng = new WrappedRange(point.node, point.offset, endPoint.node, endPoint.offset);
|
3257 |
+
var result = regex.exec(rng.toString());
|
3258 |
+
return result && result.index === 0;
|
3259 |
+
});
|
3260 |
+
var rng = new WrappedRange(startPoint.node, startPoint.offset, endPoint.node, endPoint.offset);
|
3261 |
+
var text = rng.toString();
|
3262 |
+
var result = regex.exec(text);
|
3263 |
+
|
3264 |
+
if (result && result[0].length === text.length) {
|
3265 |
+
return rng;
|
3266 |
+
} else {
|
3267 |
+
return null;
|
3268 |
+
}
|
3269 |
+
}
|
3270 |
+
/**
|
3271 |
+
* create offsetPath bookmark
|
3272 |
+
*
|
3273 |
+
* @param {Node} editable
|
3274 |
+
*/
|
3275 |
+
|
3276 |
+
}, {
|
3277 |
+
key: "bookmark",
|
3278 |
+
value: function bookmark(editable) {
|
3279 |
+
return {
|
3280 |
+
s: {
|
3281 |
+
path: dom.makeOffsetPath(editable, this.sc),
|
3282 |
+
offset: this.so
|
3283 |
+
},
|
3284 |
+
e: {
|
3285 |
+
path: dom.makeOffsetPath(editable, this.ec),
|
3286 |
+
offset: this.eo
|
3287 |
+
}
|
3288 |
+
};
|
3289 |
+
}
|
3290 |
+
/**
|
3291 |
+
* create offsetPath bookmark base on paragraph
|
3292 |
+
*
|
3293 |
+
* @param {Node[]} paras
|
3294 |
+
*/
|
3295 |
+
|
3296 |
+
}, {
|
3297 |
+
key: "paraBookmark",
|
3298 |
+
value: function paraBookmark(paras) {
|
3299 |
+
return {
|
3300 |
+
s: {
|
3301 |
+
path: lists.tail(dom.makeOffsetPath(lists.head(paras), this.sc)),
|
3302 |
+
offset: this.so
|
3303 |
+
},
|
3304 |
+
e: {
|
3305 |
+
path: lists.tail(dom.makeOffsetPath(lists.last(paras), this.ec)),
|
3306 |
+
offset: this.eo
|
3307 |
+
}
|
3308 |
+
};
|
3309 |
+
}
|
3310 |
+
/**
|
3311 |
+
* getClientRects
|
3312 |
+
* @return {Rect[]}
|
3313 |
+
*/
|
3314 |
+
|
3315 |
+
}, {
|
3316 |
+
key: "getClientRects",
|
3317 |
+
value: function getClientRects() {
|
3318 |
+
var nativeRng = this.nativeRange();
|
3319 |
+
return nativeRng.getClientRects();
|
3320 |
+
}
|
3321 |
+
}]);
|
3322 |
+
|
3323 |
+
return WrappedRange;
|
3324 |
+
}();
|
3325 |
+
/**
|
3326 |
+
* Data structure
|
3327 |
+
* * BoundaryPoint: a point of dom tree
|
3328 |
+
* * BoundaryPoints: two boundaryPoints corresponding to the start and the end of the Range
|
3329 |
+
*
|
3330 |
+
* See to http://www.w3.org/TR/DOM-Level-2-Traversal-Range/ranges.html#Level-2-Range-Position
|
3331 |
+
*/
|
3332 |
+
|
3333 |
+
|
3334 |
+
/* harmony default export */ var range = ({
|
3335 |
+
/**
|
3336 |
+
* create Range Object From arguments or Browser Selection
|
3337 |
+
*
|
3338 |
+
* @param {Node} sc - start container
|
3339 |
+
* @param {Number} so - start offset
|
3340 |
+
* @param {Node} ec - end container
|
3341 |
+
* @param {Number} eo - end offset
|
3342 |
+
* @return {WrappedRange}
|
3343 |
+
*/
|
3344 |
+
create: function create(sc, so, ec, eo) {
|
3345 |
+
if (arguments.length === 4) {
|
3346 |
+
return new range_WrappedRange(sc, so, ec, eo);
|
3347 |
+
} else if (arguments.length === 2) {
|
3348 |
+
// collapsed
|
3349 |
+
ec = sc;
|
3350 |
+
eo = so;
|
3351 |
+
return new range_WrappedRange(sc, so, ec, eo);
|
3352 |
+
} else {
|
3353 |
+
var wrappedRange = this.createFromSelection();
|
3354 |
+
|
3355 |
+
if (!wrappedRange && arguments.length === 1) {
|
3356 |
+
var bodyElement = arguments[0];
|
3357 |
+
|
3358 |
+
if (dom.isEditable(bodyElement)) {
|
3359 |
+
bodyElement = bodyElement.lastChild;
|
3360 |
+
}
|
3361 |
+
|
3362 |
+
return this.createFromBodyElement(bodyElement, dom.emptyPara === arguments[0].innerHTML);
|
3363 |
+
}
|
3364 |
+
|
3365 |
+
return wrappedRange;
|
3366 |
+
}
|
3367 |
+
},
|
3368 |
+
createFromBodyElement: function createFromBodyElement(bodyElement) {
|
3369 |
+
var isCollapseToStart = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
3370 |
+
var wrappedRange = this.createFromNode(bodyElement);
|
3371 |
+
return wrappedRange.collapse(isCollapseToStart);
|
3372 |
+
},
|
3373 |
+
createFromSelection: function createFromSelection() {
|
3374 |
+
var sc, so, ec, eo;
|
3375 |
+
|
3376 |
+
if (env.isW3CRangeSupport) {
|
3377 |
+
var selection = document.getSelection();
|
3378 |
+
|
3379 |
+
if (!selection || selection.rangeCount === 0) {
|
3380 |
+
return null;
|
3381 |
+
} else if (dom.isBody(selection.anchorNode)) {
|
3382 |
+
// Firefox: returns entire body as range on initialization.
|
3383 |
+
// We won't never need it.
|
3384 |
+
return null;
|
3385 |
+
}
|
3386 |
+
|
3387 |
+
var nativeRng = selection.getRangeAt(0);
|
3388 |
+
sc = nativeRng.startContainer;
|
3389 |
+
so = nativeRng.startOffset;
|
3390 |
+
ec = nativeRng.endContainer;
|
3391 |
+
eo = nativeRng.endOffset;
|
3392 |
+
} else {
|
3393 |
+
// IE8: TextRange
|
3394 |
+
var textRange = document.selection.createRange();
|
3395 |
+
var textRangeEnd = textRange.duplicate();
|
3396 |
+
textRangeEnd.collapse(false);
|
3397 |
+
var textRangeStart = textRange;
|
3398 |
+
textRangeStart.collapse(true);
|
3399 |
+
var startPoint = textRangeToPoint(textRangeStart, true);
|
3400 |
+
var endPoint = textRangeToPoint(textRangeEnd, false); // same visible point case: range was collapsed.
|
3401 |
+
|
3402 |
+
if (dom.isText(startPoint.node) && dom.isLeftEdgePoint(startPoint) && dom.isTextNode(endPoint.node) && dom.isRightEdgePoint(endPoint) && endPoint.node.nextSibling === startPoint.node) {
|
3403 |
+
startPoint = endPoint;
|
3404 |
+
}
|
3405 |
+
|
3406 |
+
sc = startPoint.cont;
|
3407 |
+
so = startPoint.offset;
|
3408 |
+
ec = endPoint.cont;
|
3409 |
+
eo = endPoint.offset;
|
3410 |
+
}
|
3411 |
+
|
3412 |
+
return new range_WrappedRange(sc, so, ec, eo);
|
3413 |
+
},
|
3414 |
+
|
3415 |
+
/**
|
3416 |
+
* @method
|
3417 |
+
*
|
3418 |
+
* create WrappedRange from node
|
3419 |
+
*
|
3420 |
+
* @param {Node} node
|
3421 |
+
* @return {WrappedRange}
|
3422 |
+
*/
|
3423 |
+
createFromNode: function createFromNode(node) {
|
3424 |
+
var sc = node;
|
3425 |
+
var so = 0;
|
3426 |
+
var ec = node;
|
3427 |
+
var eo = dom.nodeLength(ec); // browsers can't target a picture or void node
|
3428 |
+
|
3429 |
+
if (dom.isVoid(sc)) {
|
3430 |
+
so = dom.listPrev(sc).length - 1;
|
3431 |
+
sc = sc.parentNode;
|
3432 |
+
}
|
3433 |
+
|
3434 |
+
if (dom.isBR(ec)) {
|
3435 |
+
eo = dom.listPrev(ec).length - 1;
|
3436 |
+
ec = ec.parentNode;
|
3437 |
+
} else if (dom.isVoid(ec)) {
|
3438 |
+
eo = dom.listPrev(ec).length;
|
3439 |
+
ec = ec.parentNode;
|
3440 |
+
}
|
3441 |
+
|
3442 |
+
return this.create(sc, so, ec, eo);
|
3443 |
+
},
|
3444 |
+
|
3445 |
+
/**
|
3446 |
+
* create WrappedRange from node after position
|
3447 |
+
*
|
3448 |
+
* @param {Node} node
|
3449 |
+
* @return {WrappedRange}
|
3450 |
+
*/
|
3451 |
+
createFromNodeBefore: function createFromNodeBefore(node) {
|
3452 |
+
return this.createFromNode(node).collapse(true);
|
3453 |
+
},
|
3454 |
+
|
3455 |
+
/**
|
3456 |
+
* create WrappedRange from node after position
|
3457 |
+
*
|
3458 |
+
* @param {Node} node
|
3459 |
+
* @return {WrappedRange}
|
3460 |
+
*/
|
3461 |
+
createFromNodeAfter: function createFromNodeAfter(node) {
|
3462 |
+
return this.createFromNode(node).collapse();
|
3463 |
+
},
|
3464 |
+
|
3465 |
+
/**
|
3466 |
+
* @method
|
3467 |
+
*
|
3468 |
+
* create WrappedRange from bookmark
|
3469 |
+
*
|
3470 |
+
* @param {Node} editable
|
3471 |
+
* @param {Object} bookmark
|
3472 |
+
* @return {WrappedRange}
|
3473 |
+
*/
|
3474 |
+
createFromBookmark: function createFromBookmark(editable, bookmark) {
|
3475 |
+
var sc = dom.fromOffsetPath(editable, bookmark.s.path);
|
3476 |
+
var so = bookmark.s.offset;
|
3477 |
+
var ec = dom.fromOffsetPath(editable, bookmark.e.path);
|
3478 |
+
var eo = bookmark.e.offset;
|
3479 |
+
return new range_WrappedRange(sc, so, ec, eo);
|
3480 |
+
},
|
3481 |
+
|
3482 |
+
/**
|
3483 |
+
* @method
|
3484 |
+
*
|
3485 |
+
* create WrappedRange from paraBookmark
|
3486 |
+
*
|
3487 |
+
* @param {Object} bookmark
|
3488 |
+
* @param {Node[]} paras
|
3489 |
+
* @return {WrappedRange}
|
3490 |
+
*/
|
3491 |
+
createFromParaBookmark: function createFromParaBookmark(bookmark, paras) {
|
3492 |
+
var so = bookmark.s.offset;
|
3493 |
+
var eo = bookmark.e.offset;
|
3494 |
+
var sc = dom.fromOffsetPath(lists.head(paras), bookmark.s.path);
|
3495 |
+
var ec = dom.fromOffsetPath(lists.last(paras), bookmark.e.path);
|
3496 |
+
return new range_WrappedRange(sc, so, ec, eo);
|
3497 |
+
}
|
3498 |
+
});
|
3499 |
+
// CONCATENATED MODULE: ./src/js/base/core/key.js
|
3500 |
+
|
3501 |
+
|
3502 |
+
var KEY_MAP = {
|
3503 |
+
'BACKSPACE': 8,
|
3504 |
+
'TAB': 9,
|
3505 |
+
'ENTER': 13,
|
3506 |
+
'ESCAPE': 27,
|
3507 |
+
'SPACE': 32,
|
3508 |
+
'DELETE': 46,
|
3509 |
+
// Arrow
|
3510 |
+
'LEFT': 37,
|
3511 |
+
'UP': 38,
|
3512 |
+
'RIGHT': 39,
|
3513 |
+
'DOWN': 40,
|
3514 |
+
// Number: 0-9
|
3515 |
+
'NUM0': 48,
|
3516 |
+
'NUM1': 49,
|
3517 |
+
'NUM2': 50,
|
3518 |
+
'NUM3': 51,
|
3519 |
+
'NUM4': 52,
|
3520 |
+
'NUM5': 53,
|
3521 |
+
'NUM6': 54,
|
3522 |
+
'NUM7': 55,
|
3523 |
+
'NUM8': 56,
|
3524 |
+
// Alphabet: a-z
|
3525 |
+
'B': 66,
|
3526 |
+
'E': 69,
|
3527 |
+
'I': 73,
|
3528 |
+
'J': 74,
|
3529 |
+
'K': 75,
|
3530 |
+
'L': 76,
|
3531 |
+
'R': 82,
|
3532 |
+
'S': 83,
|
3533 |
+
'U': 85,
|
3534 |
+
'V': 86,
|
3535 |
+
'Y': 89,
|
3536 |
+
'Z': 90,
|
3537 |
+
'SLASH': 191,
|
3538 |
+
'LEFTBRACKET': 219,
|
3539 |
+
'BACKSLASH': 220,
|
3540 |
+
'RIGHTBRACKET': 221,
|
3541 |
+
// Navigation
|
3542 |
+
'HOME': 36,
|
3543 |
+
'END': 35,
|
3544 |
+
'PAGEUP': 33,
|
3545 |
+
'PAGEDOWN': 34
|
3546 |
+
};
|
3547 |
+
/**
|
3548 |
+
* @class core.key
|
3549 |
+
*
|
3550 |
+
* Object for keycodes.
|
3551 |
+
*
|
3552 |
+
* @singleton
|
3553 |
+
* @alternateClassName key
|
3554 |
+
*/
|
3555 |
+
|
3556 |
+
/* harmony default export */ var core_key = ({
|
3557 |
+
/**
|
3558 |
+
* @method isEdit
|
3559 |
+
*
|
3560 |
+
* @param {Number} keyCode
|
3561 |
+
* @return {Boolean}
|
3562 |
+
*/
|
3563 |
+
isEdit: function isEdit(keyCode) {
|
3564 |
+
return lists.contains([KEY_MAP.BACKSPACE, KEY_MAP.TAB, KEY_MAP.ENTER, KEY_MAP.SPACE, KEY_MAP.DELETE], keyCode);
|
3565 |
+
},
|
3566 |
+
|
3567 |
+
/**
|
3568 |
+
* @method isMove
|
3569 |
+
*
|
3570 |
+
* @param {Number} keyCode
|
3571 |
+
* @return {Boolean}
|
3572 |
+
*/
|
3573 |
+
isMove: function isMove(keyCode) {
|
3574 |
+
return lists.contains([KEY_MAP.LEFT, KEY_MAP.UP, KEY_MAP.RIGHT, KEY_MAP.DOWN], keyCode);
|
3575 |
+
},
|
3576 |
+
|
3577 |
+
/**
|
3578 |
+
* @method isNavigation
|
3579 |
+
*
|
3580 |
+
* @param {Number} keyCode
|
3581 |
+
* @return {Boolean}
|
3582 |
+
*/
|
3583 |
+
isNavigation: function isNavigation(keyCode) {
|
3584 |
+
return lists.contains([KEY_MAP.HOME, KEY_MAP.END, KEY_MAP.PAGEUP, KEY_MAP.PAGEDOWN], keyCode);
|
3585 |
+
},
|
3586 |
+
|
3587 |
+
/**
|
3588 |
+
* @property {Object} nameFromCode
|
3589 |
+
* @property {String} nameFromCode.8 "BACKSPACE"
|
3590 |
+
*/
|
3591 |
+
nameFromCode: func.invertObject(KEY_MAP),
|
3592 |
+
code: KEY_MAP
|
3593 |
+
});
|
3594 |
+
// CONCATENATED MODULE: ./src/js/base/core/async.js
|
3595 |
+
|
3596 |
+
/**
|
3597 |
+
* @method readFileAsDataURL
|
3598 |
+
*
|
3599 |
+
* read contents of file as representing URL
|
3600 |
+
*
|
3601 |
+
* @param {File} file
|
3602 |
+
* @return {Promise} - then: dataUrl
|
3603 |
+
*/
|
3604 |
+
|
3605 |
+
function readFileAsDataURL(file) {
|
3606 |
+
return external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.Deferred(function (deferred) {
|
3607 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.extend(new FileReader(), {
|
3608 |
+
onload: function onload(e) {
|
3609 |
+
var dataURL = e.target.result;
|
3610 |
+
deferred.resolve(dataURL);
|
3611 |
+
},
|
3612 |
+
onerror: function onerror(err) {
|
3613 |
+
deferred.reject(err);
|
3614 |
+
}
|
3615 |
+
}).readAsDataURL(file);
|
3616 |
+
}).promise();
|
3617 |
+
}
|
3618 |
+
/**
|
3619 |
+
* @method createImage
|
3620 |
+
*
|
3621 |
+
* create `<image>` from url string
|
3622 |
+
*
|
3623 |
+
* @param {String} url
|
3624 |
+
* @return {Promise} - then: $image
|
3625 |
+
*/
|
3626 |
+
|
3627 |
+
function createImage(url) {
|
3628 |
+
return external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.Deferred(function (deferred) {
|
3629 |
+
var $img = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()('<img>');
|
3630 |
+
$img.one('load', function () {
|
3631 |
+
$img.off('error abort');
|
3632 |
+
deferred.resolve($img);
|
3633 |
+
}).one('error abort', function () {
|
3634 |
+
$img.off('load').detach();
|
3635 |
+
deferred.reject($img);
|
3636 |
+
}).css({
|
3637 |
+
display: 'none'
|
3638 |
+
}).appendTo(document.body).attr('src', url);
|
3639 |
+
}).promise();
|
3640 |
+
}
|
3641 |
+
// CONCATENATED MODULE: ./src/js/base/editing/History.js
|
3642 |
+
function History_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
3643 |
+
|
3644 |
+
function History_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
3645 |
+
|
3646 |
+
function History_createClass(Constructor, protoProps, staticProps) { if (protoProps) History_defineProperties(Constructor.prototype, protoProps); if (staticProps) History_defineProperties(Constructor, staticProps); return Constructor; }
|
3647 |
+
|
3648 |
+
|
3649 |
+
|
3650 |
+
var History_History = /*#__PURE__*/function () {
|
3651 |
+
function History(context) {
|
3652 |
+
History_classCallCheck(this, History);
|
3653 |
+
|
3654 |
+
this.stack = [];
|
3655 |
+
this.stackOffset = -1;
|
3656 |
+
this.context = context;
|
3657 |
+
this.$editable = context.layoutInfo.editable;
|
3658 |
+
this.editable = this.$editable[0];
|
3659 |
+
}
|
3660 |
+
|
3661 |
+
History_createClass(History, [{
|
3662 |
+
key: "makeSnapshot",
|
3663 |
+
value: function makeSnapshot() {
|
3664 |
+
var rng = range.create(this.editable);
|
3665 |
+
var emptyBookmark = {
|
3666 |
+
s: {
|
3667 |
+
path: [],
|
3668 |
+
offset: 0
|
3669 |
+
},
|
3670 |
+
e: {
|
3671 |
+
path: [],
|
3672 |
+
offset: 0
|
3673 |
+
}
|
3674 |
+
};
|
3675 |
+
return {
|
3676 |
+
contents: this.$editable.html(),
|
3677 |
+
bookmark: rng && rng.isOnEditable() ? rng.bookmark(this.editable) : emptyBookmark
|
3678 |
+
};
|
3679 |
+
}
|
3680 |
+
}, {
|
3681 |
+
key: "applySnapshot",
|
3682 |
+
value: function applySnapshot(snapshot) {
|
3683 |
+
if (snapshot.contents !== null) {
|
3684 |
+
this.$editable.html(snapshot.contents);
|
3685 |
+
}
|
3686 |
+
|
3687 |
+
if (snapshot.bookmark !== null) {
|
3688 |
+
range.createFromBookmark(this.editable, snapshot.bookmark).select();
|
3689 |
+
}
|
3690 |
+
}
|
3691 |
+
/**
|
3692 |
+
* @method rewind
|
3693 |
+
* Rewinds the history stack back to the first snapshot taken.
|
3694 |
+
* Leaves the stack intact, so that "Redo" can still be used.
|
3695 |
+
*/
|
3696 |
+
|
3697 |
+
}, {
|
3698 |
+
key: "rewind",
|
3699 |
+
value: function rewind() {
|
3700 |
+
// Create snap shot if not yet recorded
|
3701 |
+
if (this.$editable.html() !== this.stack[this.stackOffset].contents) {
|
3702 |
+
this.recordUndo();
|
3703 |
+
} // Return to the first available snapshot.
|
3704 |
+
|
3705 |
+
|
3706 |
+
this.stackOffset = 0; // Apply that snapshot.
|
3707 |
+
|
3708 |
+
this.applySnapshot(this.stack[this.stackOffset]);
|
3709 |
+
}
|
3710 |
+
/**
|
3711 |
+
* @method commit
|
3712 |
+
* Resets history stack, but keeps current editor's content.
|
3713 |
+
*/
|
3714 |
+
|
3715 |
+
}, {
|
3716 |
+
key: "commit",
|
3717 |
+
value: function commit() {
|
3718 |
+
// Clear the stack.
|
3719 |
+
this.stack = []; // Restore stackOffset to its original value.
|
3720 |
+
|
3721 |
+
this.stackOffset = -1; // Record our first snapshot (of nothing).
|
3722 |
+
|
3723 |
+
this.recordUndo();
|
3724 |
+
}
|
3725 |
+
/**
|
3726 |
+
* @method reset
|
3727 |
+
* Resets the history stack completely; reverting to an empty editor.
|
3728 |
+
*/
|
3729 |
+
|
3730 |
+
}, {
|
3731 |
+
key: "reset",
|
3732 |
+
value: function reset() {
|
3733 |
+
// Clear the stack.
|
3734 |
+
this.stack = []; // Restore stackOffset to its original value.
|
3735 |
+
|
3736 |
+
this.stackOffset = -1; // Clear the editable area.
|
3737 |
+
|
3738 |
+
this.$editable.html(''); // Record our first snapshot (of nothing).
|
3739 |
+
|
3740 |
+
this.recordUndo();
|
3741 |
+
}
|
3742 |
+
/**
|
3743 |
+
* undo
|
3744 |
+
*/
|
3745 |
+
|
3746 |
+
}, {
|
3747 |
+
key: "undo",
|
3748 |
+
value: function undo() {
|
3749 |
+
// Create snap shot if not yet recorded
|
3750 |
+
if (this.$editable.html() !== this.stack[this.stackOffset].contents) {
|
3751 |
+
this.recordUndo();
|
3752 |
+
}
|
3753 |
+
|
3754 |
+
if (this.stackOffset > 0) {
|
3755 |
+
this.stackOffset--;
|
3756 |
+
this.applySnapshot(this.stack[this.stackOffset]);
|
3757 |
+
}
|
3758 |
+
}
|
3759 |
+
/**
|
3760 |
+
* redo
|
3761 |
+
*/
|
3762 |
+
|
3763 |
+
}, {
|
3764 |
+
key: "redo",
|
3765 |
+
value: function redo() {
|
3766 |
+
if (this.stack.length - 1 > this.stackOffset) {
|
3767 |
+
this.stackOffset++;
|
3768 |
+
this.applySnapshot(this.stack[this.stackOffset]);
|
3769 |
+
}
|
3770 |
+
}
|
3771 |
+
/**
|
3772 |
+
* recorded undo
|
3773 |
+
*/
|
3774 |
+
|
3775 |
+
}, {
|
3776 |
+
key: "recordUndo",
|
3777 |
+
value: function recordUndo() {
|
3778 |
+
this.stackOffset++; // Wash out stack after stackOffset
|
3779 |
+
|
3780 |
+
if (this.stack.length > this.stackOffset) {
|
3781 |
+
this.stack = this.stack.slice(0, this.stackOffset);
|
3782 |
+
} // Create new snapshot and push it to the end
|
3783 |
+
|
3784 |
+
|
3785 |
+
this.stack.push(this.makeSnapshot()); // If the stack size reachs to the limit, then slice it
|
3786 |
+
|
3787 |
+
if (this.stack.length > this.context.options.historyLimit) {
|
3788 |
+
this.stack.shift();
|
3789 |
+
this.stackOffset -= 1;
|
3790 |
+
}
|
3791 |
+
}
|
3792 |
+
}]);
|
3793 |
+
|
3794 |
+
return History;
|
3795 |
+
}();
|
3796 |
+
|
3797 |
+
|
3798 |
+
// CONCATENATED MODULE: ./src/js/base/editing/Style.js
|
3799 |
+
function Style_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
3800 |
+
|
3801 |
+
function Style_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
3802 |
+
|
3803 |
+
function Style_createClass(Constructor, protoProps, staticProps) { if (protoProps) Style_defineProperties(Constructor.prototype, protoProps); if (staticProps) Style_defineProperties(Constructor, staticProps); return Constructor; }
|
3804 |
+
|
3805 |
+
|
3806 |
+
|
3807 |
+
|
3808 |
+
|
3809 |
+
|
3810 |
+
|
3811 |
+
var Style_Style = /*#__PURE__*/function () {
|
3812 |
+
function Style() {
|
3813 |
+
Style_classCallCheck(this, Style);
|
3814 |
+
}
|
3815 |
+
|
3816 |
+
Style_createClass(Style, [{
|
3817 |
+
key: "jQueryCSS",
|
3818 |
+
|
3819 |
+
/**
|
3820 |
+
* @method jQueryCSS
|
3821 |
+
*
|
3822 |
+
* [workaround] for old jQuery
|
3823 |
+
* passing an array of style properties to .css()
|
3824 |
+
* will result in an object of property-value pairs.
|
3825 |
+
* (compability with version < 1.9)
|
3826 |
+
*
|
3827 |
+
* @private
|
3828 |
+
* @param {jQuery} $obj
|
3829 |
+
* @param {Array} propertyNames - An array of one or more CSS properties.
|
3830 |
+
* @return {Object}
|
3831 |
+
*/
|
3832 |
+
value: function jQueryCSS($obj, propertyNames) {
|
3833 |
+
if (env.jqueryVersion < 1.9) {
|
3834 |
+
var result = {};
|
3835 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.each(propertyNames, function (idx, propertyName) {
|
3836 |
+
result[propertyName] = $obj.css(propertyName);
|
3837 |
+
});
|
3838 |
+
return result;
|
3839 |
+
}
|
3840 |
+
|
3841 |
+
return $obj.css(propertyNames);
|
3842 |
+
}
|
3843 |
+
/**
|
3844 |
+
* returns style object from node
|
3845 |
+
*
|
3846 |
+
* @param {jQuery} $node
|
3847 |
+
* @return {Object}
|
3848 |
+
*/
|
3849 |
+
|
3850 |
+
}, {
|
3851 |
+
key: "fromNode",
|
3852 |
+
value: function fromNode($node) {
|
3853 |
+
var properties = ['font-family', 'font-size', 'text-align', 'list-style-type', 'line-height'];
|
3854 |
+
var styleInfo = this.jQueryCSS($node, properties) || {};
|
3855 |
+
var fontSize = $node[0].style.fontSize || styleInfo['font-size'];
|
3856 |
+
styleInfo['font-size'] = parseInt(fontSize, 10);
|
3857 |
+
styleInfo['font-size-unit'] = fontSize.match(/[a-z%]+$/);
|
3858 |
+
return styleInfo;
|
3859 |
+
}
|
3860 |
+
/**
|
3861 |
+
* paragraph level style
|
3862 |
+
*
|
3863 |
+
* @param {WrappedRange} rng
|
3864 |
+
* @param {Object} styleInfo
|
3865 |
+
*/
|
3866 |
+
|
3867 |
+
}, {
|
3868 |
+
key: "stylePara",
|
3869 |
+
value: function stylePara(rng, styleInfo) {
|
3870 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.each(rng.nodes(dom.isPara, {
|
3871 |
+
includeAncestor: true
|
3872 |
+
}), function (idx, para) {
|
3873 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(para).css(styleInfo);
|
3874 |
+
});
|
3875 |
+
}
|
3876 |
+
/**
|
3877 |
+
* insert and returns styleNodes on range.
|
3878 |
+
*
|
3879 |
+
* @param {WrappedRange} rng
|
3880 |
+
* @param {Object} [options] - options for styleNodes
|
3881 |
+
* @param {String} [options.nodeName] - default: `SPAN`
|
3882 |
+
* @param {Boolean} [options.expandClosestSibling] - default: `false`
|
3883 |
+
* @param {Boolean} [options.onlyPartialContains] - default: `false`
|
3884 |
+
* @return {Node[]}
|
3885 |
+
*/
|
3886 |
+
|
3887 |
+
}, {
|
3888 |
+
key: "styleNodes",
|
3889 |
+
value: function styleNodes(rng, options) {
|
3890 |
+
rng = rng.splitText();
|
3891 |
+
var nodeName = options && options.nodeName || 'SPAN';
|
3892 |
+
var expandClosestSibling = !!(options && options.expandClosestSibling);
|
3893 |
+
var onlyPartialContains = !!(options && options.onlyPartialContains);
|
3894 |
+
|
3895 |
+
if (rng.isCollapsed()) {
|
3896 |
+
return [rng.insertNode(dom.create(nodeName))];
|
3897 |
+
}
|
3898 |
+
|
3899 |
+
var pred = dom.makePredByNodeName(nodeName);
|
3900 |
+
var nodes = rng.nodes(dom.isText, {
|
3901 |
+
fullyContains: true
|
3902 |
+
}).map(function (text) {
|
3903 |
+
return dom.singleChildAncestor(text, pred) || dom.wrap(text, nodeName);
|
3904 |
+
});
|
3905 |
+
|
3906 |
+
if (expandClosestSibling) {
|
3907 |
+
if (onlyPartialContains) {
|
3908 |
+
var nodesInRange = rng.nodes(); // compose with partial contains predication
|
3909 |
+
|
3910 |
+
pred = func.and(pred, function (node) {
|
3911 |
+
return lists.contains(nodesInRange, node);
|
3912 |
+
});
|
3913 |
+
}
|
3914 |
+
|
3915 |
+
return nodes.map(function (node) {
|
3916 |
+
var siblings = dom.withClosestSiblings(node, pred);
|
3917 |
+
var head = lists.head(siblings);
|
3918 |
+
var tails = lists.tail(siblings);
|
3919 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.each(tails, function (idx, elem) {
|
3920 |
+
dom.appendChildNodes(head, elem.childNodes);
|
3921 |
+
dom.remove(elem);
|
3922 |
+
});
|
3923 |
+
return lists.head(siblings);
|
3924 |
+
});
|
3925 |
+
} else {
|
3926 |
+
return nodes;
|
3927 |
+
}
|
3928 |
+
}
|
3929 |
+
/**
|
3930 |
+
* get current style on cursor
|
3931 |
+
*
|
3932 |
+
* @param {WrappedRange} rng
|
3933 |
+
* @return {Object} - object contains style properties.
|
3934 |
+
*/
|
3935 |
+
|
3936 |
+
}, {
|
3937 |
+
key: "current",
|
3938 |
+
value: function current(rng) {
|
3939 |
+
var $cont = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(!dom.isElement(rng.sc) ? rng.sc.parentNode : rng.sc);
|
3940 |
+
var styleInfo = this.fromNode($cont); // document.queryCommandState for toggle state
|
3941 |
+
// [workaround] prevent Firefox nsresult: "0x80004005 (NS_ERROR_FAILURE)"
|
3942 |
+
|
3943 |
+
try {
|
3944 |
+
styleInfo = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.extend(styleInfo, {
|
3945 |
+
'font-bold': document.queryCommandState('bold') ? 'bold' : 'normal',
|
3946 |
+
'font-italic': document.queryCommandState('italic') ? 'italic' : 'normal',
|
3947 |
+
'font-underline': document.queryCommandState('underline') ? 'underline' : 'normal',
|
3948 |
+
'font-subscript': document.queryCommandState('subscript') ? 'subscript' : 'normal',
|
3949 |
+
'font-superscript': document.queryCommandState('superscript') ? 'superscript' : 'normal',
|
3950 |
+
'font-strikethrough': document.queryCommandState('strikethrough') ? 'strikethrough' : 'normal',
|
3951 |
+
'font-family': document.queryCommandValue('fontname') || styleInfo['font-family']
|
3952 |
+
});
|
3953 |
+
} catch (e) {} // eslint-disable-next-line
|
3954 |
+
// list-style-type to list-style(unordered, ordered)
|
3955 |
+
|
3956 |
+
|
3957 |
+
if (!rng.isOnList()) {
|
3958 |
+
styleInfo['list-style'] = 'none';
|
3959 |
+
} else {
|
3960 |
+
var orderedTypes = ['circle', 'disc', 'disc-leading-zero', 'square'];
|
3961 |
+
var isUnordered = orderedTypes.indexOf(styleInfo['list-style-type']) > -1;
|
3962 |
+
styleInfo['list-style'] = isUnordered ? 'unordered' : 'ordered';
|
3963 |
+
}
|
3964 |
+
|
3965 |
+
var para = dom.ancestor(rng.sc, dom.isPara);
|
3966 |
+
|
3967 |
+
if (para && para.style['line-height']) {
|
3968 |
+
styleInfo['line-height'] = para.style.lineHeight;
|
3969 |
+
} else {
|
3970 |
+
var lineHeight = parseInt(styleInfo['line-height'], 10) / parseInt(styleInfo['font-size'], 10);
|
3971 |
+
styleInfo['line-height'] = lineHeight.toFixed(1);
|
3972 |
+
}
|
3973 |
+
|
3974 |
+
styleInfo.anchor = rng.isOnAnchor() && dom.ancestor(rng.sc, dom.isAnchor);
|
3975 |
+
styleInfo.ancestors = dom.listAncestor(rng.sc, dom.isEditable);
|
3976 |
+
styleInfo.range = rng;
|
3977 |
+
return styleInfo;
|
3978 |
+
}
|
3979 |
+
}]);
|
3980 |
+
|
3981 |
+
return Style;
|
3982 |
+
}();
|
3983 |
+
|
3984 |
+
|
3985 |
+
// CONCATENATED MODULE: ./src/js/base/editing/Bullet.js
|
3986 |
+
function Bullet_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
3987 |
+
|
3988 |
+
function Bullet_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
3989 |
+
|
3990 |
+
function Bullet_createClass(Constructor, protoProps, staticProps) { if (protoProps) Bullet_defineProperties(Constructor.prototype, protoProps); if (staticProps) Bullet_defineProperties(Constructor, staticProps); return Constructor; }
|
3991 |
+
|
3992 |
+
|
3993 |
+
|
3994 |
+
|
3995 |
+
|
3996 |
+
|
3997 |
+
|
3998 |
+
var Bullet_Bullet = /*#__PURE__*/function () {
|
3999 |
+
function Bullet() {
|
4000 |
+
Bullet_classCallCheck(this, Bullet);
|
4001 |
+
}
|
4002 |
+
|
4003 |
+
Bullet_createClass(Bullet, [{
|
4004 |
+
key: "insertOrderedList",
|
4005 |
+
|
4006 |
+
/**
|
4007 |
+
* toggle ordered list
|
4008 |
+
*/
|
4009 |
+
value: function insertOrderedList(editable) {
|
4010 |
+
this.toggleList('OL', editable);
|
4011 |
+
}
|
4012 |
+
/**
|
4013 |
+
* toggle unordered list
|
4014 |
+
*/
|
4015 |
+
|
4016 |
+
}, {
|
4017 |
+
key: "insertUnorderedList",
|
4018 |
+
value: function insertUnorderedList(editable) {
|
4019 |
+
this.toggleList('UL', editable);
|
4020 |
+
}
|
4021 |
+
/**
|
4022 |
+
* indent
|
4023 |
+
*/
|
4024 |
+
|
4025 |
+
}, {
|
4026 |
+
key: "indent",
|
4027 |
+
value: function indent(editable) {
|
4028 |
+
var _this = this;
|
4029 |
+
|
4030 |
+
var rng = range.create(editable).wrapBodyInlineWithPara();
|
4031 |
+
var paras = rng.nodes(dom.isPara, {
|
4032 |
+
includeAncestor: true
|
4033 |
+
});
|
4034 |
+
var clustereds = lists.clusterBy(paras, func.peq2('parentNode'));
|
4035 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.each(clustereds, function (idx, paras) {
|
4036 |
+
var head = lists.head(paras);
|
4037 |
+
|
4038 |
+
if (dom.isLi(head)) {
|
4039 |
+
var previousList = _this.findList(head.previousSibling);
|
4040 |
+
|
4041 |
+
if (previousList) {
|
4042 |
+
paras.map(function (para) {
|
4043 |
+
return previousList.appendChild(para);
|
4044 |
+
});
|
4045 |
+
} else {
|
4046 |
+
_this.wrapList(paras, head.parentNode.nodeName);
|
4047 |
+
|
4048 |
+
paras.map(function (para) {
|
4049 |
+
return para.parentNode;
|
4050 |
+
}).map(function (para) {
|
4051 |
+
return _this.appendToPrevious(para);
|
4052 |
+
});
|
4053 |
+
}
|
4054 |
+
} else {
|
4055 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.each(paras, function (idx, para) {
|
4056 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(para).css('marginLeft', function (idx, val) {
|
4057 |
+
return (parseInt(val, 10) || 0) + 25;
|
4058 |
+
});
|
4059 |
+
});
|
4060 |
+
}
|
4061 |
+
});
|
4062 |
+
rng.select();
|
4063 |
+
}
|
4064 |
+
/**
|
4065 |
+
* outdent
|
4066 |
+
*/
|
4067 |
+
|
4068 |
+
}, {
|
4069 |
+
key: "outdent",
|
4070 |
+
value: function outdent(editable) {
|
4071 |
+
var _this2 = this;
|
4072 |
+
|
4073 |
+
var rng = range.create(editable).wrapBodyInlineWithPara();
|
4074 |
+
var paras = rng.nodes(dom.isPara, {
|
4075 |
+
includeAncestor: true
|
4076 |
+
});
|
4077 |
+
var clustereds = lists.clusterBy(paras, func.peq2('parentNode'));
|
4078 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.each(clustereds, function (idx, paras) {
|
4079 |
+
var head = lists.head(paras);
|
4080 |
+
|
4081 |
+
if (dom.isLi(head)) {
|
4082 |
+
_this2.releaseList([paras]);
|
4083 |
+
} else {
|
4084 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.each(paras, function (idx, para) {
|
4085 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(para).css('marginLeft', function (idx, val) {
|
4086 |
+
val = parseInt(val, 10) || 0;
|
4087 |
+
return val > 25 ? val - 25 : '';
|
4088 |
+
});
|
4089 |
+
});
|
4090 |
+
}
|
4091 |
+
});
|
4092 |
+
rng.select();
|
4093 |
+
}
|
4094 |
+
/**
|
4095 |
+
* toggle list
|
4096 |
+
*
|
4097 |
+
* @param {String} listName - OL or UL
|
4098 |
+
*/
|
4099 |
+
|
4100 |
+
}, {
|
4101 |
+
key: "toggleList",
|
4102 |
+
value: function toggleList(listName, editable) {
|
4103 |
+
var _this3 = this;
|
4104 |
+
|
4105 |
+
var rng = range.create(editable).wrapBodyInlineWithPara();
|
4106 |
+
var paras = rng.nodes(dom.isPara, {
|
4107 |
+
includeAncestor: true
|
4108 |
+
});
|
4109 |
+
var bookmark = rng.paraBookmark(paras);
|
4110 |
+
var clustereds = lists.clusterBy(paras, func.peq2('parentNode')); // paragraph to list
|
4111 |
+
|
4112 |
+
if (lists.find(paras, dom.isPurePara)) {
|
4113 |
+
var wrappedParas = [];
|
4114 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.each(clustereds, function (idx, paras) {
|
4115 |
+
wrappedParas = wrappedParas.concat(_this3.wrapList(paras, listName));
|
4116 |
+
});
|
4117 |
+
paras = wrappedParas; // list to paragraph or change list style
|
4118 |
+
} else {
|
4119 |
+
var diffLists = rng.nodes(dom.isList, {
|
4120 |
+
includeAncestor: true
|
4121 |
+
}).filter(function (listNode) {
|
4122 |
+
return !external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.nodeName(listNode, listName);
|
4123 |
+
});
|
4124 |
+
|
4125 |
+
if (diffLists.length) {
|
4126 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.each(diffLists, function (idx, listNode) {
|
4127 |
+
dom.replace(listNode, listName);
|
4128 |
+
});
|
4129 |
+
} else {
|
4130 |
+
paras = this.releaseList(clustereds, true);
|
4131 |
+
}
|
4132 |
+
}
|
4133 |
+
|
4134 |
+
range.createFromParaBookmark(bookmark, paras).select();
|
4135 |
+
}
|
4136 |
+
/**
|
4137 |
+
* @param {Node[]} paras
|
4138 |
+
* @param {String} listName
|
4139 |
+
* @return {Node[]}
|
4140 |
+
*/
|
4141 |
+
|
4142 |
+
}, {
|
4143 |
+
key: "wrapList",
|
4144 |
+
value: function wrapList(paras, listName) {
|
4145 |
+
var head = lists.head(paras);
|
4146 |
+
var last = lists.last(paras);
|
4147 |
+
var prevList = dom.isList(head.previousSibling) && head.previousSibling;
|
4148 |
+
var nextList = dom.isList(last.nextSibling) && last.nextSibling;
|
4149 |
+
var listNode = prevList || dom.insertAfter(dom.create(listName || 'UL'), last); // P to LI
|
4150 |
+
|
4151 |
+
paras = paras.map(function (para) {
|
4152 |
+
return dom.isPurePara(para) ? dom.replace(para, 'LI') : para;
|
4153 |
+
}); // append to list(<ul>, <ol>)
|
4154 |
+
|
4155 |
+
dom.appendChildNodes(listNode, paras);
|
4156 |
+
|
4157 |
+
if (nextList) {
|
4158 |
+
dom.appendChildNodes(listNode, lists.from(nextList.childNodes));
|
4159 |
+
dom.remove(nextList);
|
4160 |
+
}
|
4161 |
+
|
4162 |
+
return paras;
|
4163 |
+
}
|
4164 |
+
/**
|
4165 |
+
* @method releaseList
|
4166 |
+
*
|
4167 |
+
* @param {Array[]} clustereds
|
4168 |
+
* @param {Boolean} isEscapseToBody
|
4169 |
+
* @return {Node[]}
|
4170 |
+
*/
|
4171 |
+
|
4172 |
+
}, {
|
4173 |
+
key: "releaseList",
|
4174 |
+
value: function releaseList(clustereds, isEscapseToBody) {
|
4175 |
+
var _this4 = this;
|
4176 |
+
|
4177 |
+
var releasedParas = [];
|
4178 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.each(clustereds, function (idx, paras) {
|
4179 |
+
var head = lists.head(paras);
|
4180 |
+
var last = lists.last(paras);
|
4181 |
+
var headList = isEscapseToBody ? dom.lastAncestor(head, dom.isList) : head.parentNode;
|
4182 |
+
var parentItem = headList.parentNode;
|
4183 |
+
|
4184 |
+
if (headList.parentNode.nodeName === 'LI') {
|
4185 |
+
paras.map(function (para) {
|
4186 |
+
var newList = _this4.findNextSiblings(para);
|
4187 |
+
|
4188 |
+
if (parentItem.nextSibling) {
|
4189 |
+
parentItem.parentNode.insertBefore(para, parentItem.nextSibling);
|
4190 |
+
} else {
|
4191 |
+
parentItem.parentNode.appendChild(para);
|
4192 |
+
}
|
4193 |
+
|
4194 |
+
if (newList.length) {
|
4195 |
+
_this4.wrapList(newList, headList.nodeName);
|
4196 |
+
|
4197 |
+
para.appendChild(newList[0].parentNode);
|
4198 |
+
}
|
4199 |
+
});
|
4200 |
+
|
4201 |
+
if (headList.children.length === 0) {
|
4202 |
+
parentItem.removeChild(headList);
|
4203 |
+
}
|
4204 |
+
|
4205 |
+
if (parentItem.childNodes.length === 0) {
|
4206 |
+
parentItem.parentNode.removeChild(parentItem);
|
4207 |
+
}
|
4208 |
+
} else {
|
4209 |
+
var lastList = headList.childNodes.length > 1 ? dom.splitTree(headList, {
|
4210 |
+
node: last.parentNode,
|
4211 |
+
offset: dom.position(last) + 1
|
4212 |
+
}, {
|
4213 |
+
isSkipPaddingBlankHTML: true
|
4214 |
+
}) : null;
|
4215 |
+
var middleList = dom.splitTree(headList, {
|
4216 |
+
node: head.parentNode,
|
4217 |
+
offset: dom.position(head)
|
4218 |
+
}, {
|
4219 |
+
isSkipPaddingBlankHTML: true
|
4220 |
+
});
|
4221 |
+
paras = isEscapseToBody ? dom.listDescendant(middleList, dom.isLi) : lists.from(middleList.childNodes).filter(dom.isLi); // LI to P
|
4222 |
+
|
4223 |
+
if (isEscapseToBody || !dom.isList(headList.parentNode)) {
|
4224 |
+
paras = paras.map(function (para) {
|
4225 |
+
return dom.replace(para, 'P');
|
4226 |
+
});
|
4227 |
+
}
|
4228 |
+
|
4229 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.each(lists.from(paras).reverse(), function (idx, para) {
|
4230 |
+
dom.insertAfter(para, headList);
|
4231 |
+
}); // remove empty lists
|
4232 |
+
|
4233 |
+
var rootLists = lists.compact([headList, middleList, lastList]);
|
4234 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.each(rootLists, function (idx, rootList) {
|
4235 |
+
var listNodes = [rootList].concat(dom.listDescendant(rootList, dom.isList));
|
4236 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.each(listNodes.reverse(), function (idx, listNode) {
|
4237 |
+
if (!dom.nodeLength(listNode)) {
|
4238 |
+
dom.remove(listNode, true);
|
4239 |
+
}
|
4240 |
+
});
|
4241 |
+
});
|
4242 |
+
}
|
4243 |
+
|
4244 |
+
releasedParas = releasedParas.concat(paras);
|
4245 |
+
});
|
4246 |
+
return releasedParas;
|
4247 |
+
}
|
4248 |
+
/**
|
4249 |
+
* @method appendToPrevious
|
4250 |
+
*
|
4251 |
+
* Appends list to previous list item, if
|
4252 |
+
* none exist it wraps the list in a new list item.
|
4253 |
+
*
|
4254 |
+
* @param {HTMLNode} ListItem
|
4255 |
+
* @return {HTMLNode}
|
4256 |
+
*/
|
4257 |
+
|
4258 |
+
}, {
|
4259 |
+
key: "appendToPrevious",
|
4260 |
+
value: function appendToPrevious(node) {
|
4261 |
+
return node.previousSibling ? dom.appendChildNodes(node.previousSibling, [node]) : this.wrapList([node], 'LI');
|
4262 |
+
}
|
4263 |
+
/**
|
4264 |
+
* @method findList
|
4265 |
+
*
|
4266 |
+
* Finds an existing list in list item
|
4267 |
+
*
|
4268 |
+
* @param {HTMLNode} ListItem
|
4269 |
+
* @return {Array[]}
|
4270 |
+
*/
|
4271 |
+
|
4272 |
+
}, {
|
4273 |
+
key: "findList",
|
4274 |
+
value: function findList(node) {
|
4275 |
+
return node ? lists.find(node.children, function (child) {
|
4276 |
+
return ['OL', 'UL'].indexOf(child.nodeName) > -1;
|
4277 |
+
}) : null;
|
4278 |
+
}
|
4279 |
+
/**
|
4280 |
+
* @method findNextSiblings
|
4281 |
+
*
|
4282 |
+
* Finds all list item siblings that follow it
|
4283 |
+
*
|
4284 |
+
* @param {HTMLNode} ListItem
|
4285 |
+
* @return {HTMLNode}
|
4286 |
+
*/
|
4287 |
+
|
4288 |
+
}, {
|
4289 |
+
key: "findNextSiblings",
|
4290 |
+
value: function findNextSiblings(node) {
|
4291 |
+
var siblings = [];
|
4292 |
+
|
4293 |
+
while (node.nextSibling) {
|
4294 |
+
siblings.push(node.nextSibling);
|
4295 |
+
node = node.nextSibling;
|
4296 |
+
}
|
4297 |
+
|
4298 |
+
return siblings;
|
4299 |
+
}
|
4300 |
+
}]);
|
4301 |
+
|
4302 |
+
return Bullet;
|
4303 |
+
}();
|
4304 |
+
|
4305 |
+
|
4306 |
+
// CONCATENATED MODULE: ./src/js/base/editing/Typing.js
|
4307 |
+
function Typing_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
4308 |
+
|
4309 |
+
function Typing_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
4310 |
+
|
4311 |
+
function Typing_createClass(Constructor, protoProps, staticProps) { if (protoProps) Typing_defineProperties(Constructor.prototype, protoProps); if (staticProps) Typing_defineProperties(Constructor, staticProps); return Constructor; }
|
4312 |
+
|
4313 |
+
|
4314 |
+
|
4315 |
+
|
4316 |
+
|
4317 |
+
/**
|
4318 |
+
* @class editing.Typing
|
4319 |
+
*
|
4320 |
+
* Typing
|
4321 |
+
*
|
4322 |
+
*/
|
4323 |
+
|
4324 |
+
var Typing_Typing = /*#__PURE__*/function () {
|
4325 |
+
function Typing(context) {
|
4326 |
+
Typing_classCallCheck(this, Typing);
|
4327 |
+
|
4328 |
+
// a Bullet instance to toggle lists off
|
4329 |
+
this.bullet = new Bullet_Bullet();
|
4330 |
+
this.options = context.options;
|
4331 |
+
}
|
4332 |
+
/**
|
4333 |
+
* insert tab
|
4334 |
+
*
|
4335 |
+
* @param {WrappedRange} rng
|
4336 |
+
* @param {Number} tabsize
|
4337 |
+
*/
|
4338 |
+
|
4339 |
+
|
4340 |
+
Typing_createClass(Typing, [{
|
4341 |
+
key: "insertTab",
|
4342 |
+
value: function insertTab(rng, tabsize) {
|
4343 |
+
var tab = dom.createText(new Array(tabsize + 1).join(dom.NBSP_CHAR));
|
4344 |
+
rng = rng.deleteContents();
|
4345 |
+
rng.insertNode(tab, true);
|
4346 |
+
rng = range.create(tab, tabsize);
|
4347 |
+
rng.select();
|
4348 |
+
}
|
4349 |
+
/**
|
4350 |
+
* insert paragraph
|
4351 |
+
*
|
4352 |
+
* @param {jQuery} $editable
|
4353 |
+
* @param {WrappedRange} rng Can be used in unit tests to "mock" the range
|
4354 |
+
*
|
4355 |
+
* blockquoteBreakingLevel
|
4356 |
+
* 0 - No break, the new paragraph remains inside the quote
|
4357 |
+
* 1 - Break the first blockquote in the ancestors list
|
4358 |
+
* 2 - Break all blockquotes, so that the new paragraph is not quoted (this is the default)
|
4359 |
+
*/
|
4360 |
+
|
4361 |
+
}, {
|
4362 |
+
key: "insertParagraph",
|
4363 |
+
value: function insertParagraph(editable, rng) {
|
4364 |
+
rng = rng || range.create(editable); // deleteContents on range.
|
4365 |
+
|
4366 |
+
rng = rng.deleteContents(); // Wrap range if it needs to be wrapped by paragraph
|
4367 |
+
|
4368 |
+
rng = rng.wrapBodyInlineWithPara(); // finding paragraph
|
4369 |
+
|
4370 |
+
var splitRoot = dom.ancestor(rng.sc, dom.isPara);
|
4371 |
+
var nextPara; // on paragraph: split paragraph
|
4372 |
+
|
4373 |
+
if (splitRoot) {
|
4374 |
+
// if it is an empty line with li
|
4375 |
+
if (dom.isLi(splitRoot) && (dom.isEmpty(splitRoot) || dom.deepestChildIsEmpty(splitRoot))) {
|
4376 |
+
// toggle UL/OL and escape
|
4377 |
+
this.bullet.toggleList(splitRoot.parentNode.nodeName);
|
4378 |
+
return;
|
4379 |
+
} else {
|
4380 |
+
var blockquote = null;
|
4381 |
+
|
4382 |
+
if (this.options.blockquoteBreakingLevel === 1) {
|
4383 |
+
blockquote = dom.ancestor(splitRoot, dom.isBlockquote);
|
4384 |
+
} else if (this.options.blockquoteBreakingLevel === 2) {
|
4385 |
+
blockquote = dom.lastAncestor(splitRoot, dom.isBlockquote);
|
4386 |
+
}
|
4387 |
+
|
4388 |
+
if (blockquote) {
|
4389 |
+
// We're inside a blockquote and options ask us to break it
|
4390 |
+
nextPara = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(dom.emptyPara)[0]; // If the split is right before a <br>, remove it so that there's no "empty line"
|
4391 |
+
// after the split in the new blockquote created
|
4392 |
+
|
4393 |
+
if (dom.isRightEdgePoint(rng.getStartPoint()) && dom.isBR(rng.sc.nextSibling)) {
|
4394 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(rng.sc.nextSibling).remove();
|
4395 |
+
}
|
4396 |
+
|
4397 |
+
var split = dom.splitTree(blockquote, rng.getStartPoint(), {
|
4398 |
+
isDiscardEmptySplits: true
|
4399 |
+
});
|
4400 |
+
|
4401 |
+
if (split) {
|
4402 |
+
split.parentNode.insertBefore(nextPara, split);
|
4403 |
+
} else {
|
4404 |
+
dom.insertAfter(nextPara, blockquote); // There's no split if we were at the end of the blockquote
|
4405 |
+
}
|
4406 |
+
} else {
|
4407 |
+
nextPara = dom.splitTree(splitRoot, rng.getStartPoint()); // not a blockquote, just insert the paragraph
|
4408 |
+
|
4409 |
+
var emptyAnchors = dom.listDescendant(splitRoot, dom.isEmptyAnchor);
|
4410 |
+
emptyAnchors = emptyAnchors.concat(dom.listDescendant(nextPara, dom.isEmptyAnchor));
|
4411 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.each(emptyAnchors, function (idx, anchor) {
|
4412 |
+
dom.remove(anchor);
|
4413 |
+
}); // replace empty heading, pre or custom-made styleTag with P tag
|
4414 |
+
|
4415 |
+
if ((dom.isHeading(nextPara) || dom.isPre(nextPara) || dom.isCustomStyleTag(nextPara)) && dom.isEmpty(nextPara)) {
|
4416 |
+
nextPara = dom.replace(nextPara, 'p');
|
4417 |
+
}
|
4418 |
+
}
|
4419 |
+
} // no paragraph: insert empty paragraph
|
4420 |
+
|
4421 |
+
} else {
|
4422 |
+
var next = rng.sc.childNodes[rng.so];
|
4423 |
+
nextPara = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(dom.emptyPara)[0];
|
4424 |
+
|
4425 |
+
if (next) {
|
4426 |
+
rng.sc.insertBefore(nextPara, next);
|
4427 |
+
} else {
|
4428 |
+
rng.sc.appendChild(nextPara);
|
4429 |
+
}
|
4430 |
+
}
|
4431 |
+
|
4432 |
+
range.create(nextPara, 0).normalize().select().scrollIntoView(editable);
|
4433 |
+
}
|
4434 |
+
}]);
|
4435 |
+
|
4436 |
+
return Typing;
|
4437 |
+
}();
|
4438 |
+
|
4439 |
+
|
4440 |
+
// CONCATENATED MODULE: ./src/js/base/editing/Table.js
|
4441 |
+
function Table_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
4442 |
+
|
4443 |
+
function Table_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
4444 |
+
|
4445 |
+
function Table_createClass(Constructor, protoProps, staticProps) { if (protoProps) Table_defineProperties(Constructor.prototype, protoProps); if (staticProps) Table_defineProperties(Constructor, staticProps); return Constructor; }
|
4446 |
+
|
4447 |
+
|
4448 |
+
|
4449 |
+
|
4450 |
+
|
4451 |
+
/**
|
4452 |
+
* @class Create a virtual table to create what actions to do in change.
|
4453 |
+
* @param {object} startPoint Cell selected to apply change.
|
4454 |
+
* @param {enum} where Where change will be applied Row or Col. Use enum: TableResultAction.where
|
4455 |
+
* @param {enum} action Action to be applied. Use enum: TableResultAction.requestAction
|
4456 |
+
* @param {object} domTable Dom element of table to make changes.
|
4457 |
+
*/
|
4458 |
+
|
4459 |
+
var TableResultAction = function TableResultAction(startPoint, where, action, domTable) {
|
4460 |
+
var _startPoint = {
|
4461 |
+
'colPos': 0,
|
4462 |
+
'rowPos': 0
|
4463 |
+
};
|
4464 |
+
var _virtualTable = [];
|
4465 |
+
var _actionCellList = []; /// ///////////////////////////////////////////
|
4466 |
+
// Private functions
|
4467 |
+
/// ///////////////////////////////////////////
|
4468 |
+
|
4469 |
+
/**
|
4470 |
+
* Set the startPoint of action.
|
4471 |
+
*/
|
4472 |
+
|
4473 |
+
function setStartPoint() {
|
4474 |
+
if (!startPoint || !startPoint.tagName || startPoint.tagName.toLowerCase() !== 'td' && startPoint.tagName.toLowerCase() !== 'th') {
|
4475 |
+
// Impossible to identify start Cell point
|
4476 |
+
return;
|
4477 |
+
}
|
4478 |
+
|
4479 |
+
_startPoint.colPos = startPoint.cellIndex;
|
4480 |
+
|
4481 |
+
if (!startPoint.parentElement || !startPoint.parentElement.tagName || startPoint.parentElement.tagName.toLowerCase() !== 'tr') {
|
4482 |
+
// Impossible to identify start Row point
|
4483 |
+
return;
|
4484 |
+
}
|
4485 |
+
|
4486 |
+
_startPoint.rowPos = startPoint.parentElement.rowIndex;
|
4487 |
+
}
|
4488 |
+
/**
|
4489 |
+
* Define virtual table position info object.
|
4490 |
+
*
|
4491 |
+
* @param {int} rowIndex Index position in line of virtual table.
|
4492 |
+
* @param {int} cellIndex Index position in column of virtual table.
|
4493 |
+
* @param {object} baseRow Row affected by this position.
|
4494 |
+
* @param {object} baseCell Cell affected by this position.
|
4495 |
+
* @param {bool} isSpan Inform if it is an span cell/row.
|
4496 |
+
*/
|
4497 |
+
|
4498 |
+
|
4499 |
+
function setVirtualTablePosition(rowIndex, cellIndex, baseRow, baseCell, isRowSpan, isColSpan, isVirtualCell) {
|
4500 |
+
var objPosition = {
|
4501 |
+
'baseRow': baseRow,
|
4502 |
+
'baseCell': baseCell,
|
4503 |
+
'isRowSpan': isRowSpan,
|
4504 |
+
'isColSpan': isColSpan,
|
4505 |
+
'isVirtual': isVirtualCell
|
4506 |
+
};
|
4507 |
+
|
4508 |
+
if (!_virtualTable[rowIndex]) {
|
4509 |
+
_virtualTable[rowIndex] = [];
|
4510 |
+
}
|
4511 |
+
|
4512 |
+
_virtualTable[rowIndex][cellIndex] = objPosition;
|
4513 |
+
}
|
4514 |
+
/**
|
4515 |
+
* Create action cell object.
|
4516 |
+
*
|
4517 |
+
* @param {object} virtualTableCellObj Object of specific position on virtual table.
|
4518 |
+
* @param {enum} resultAction Action to be applied in that item.
|
4519 |
+
*/
|
4520 |
+
|
4521 |
+
|
4522 |
+
function getActionCell(virtualTableCellObj, resultAction, virtualRowPosition, virtualColPosition) {
|
4523 |
+
return {
|
4524 |
+
'baseCell': virtualTableCellObj.baseCell,
|
4525 |
+
'action': resultAction,
|
4526 |
+
'virtualTable': {
|
4527 |
+
'rowIndex': virtualRowPosition,
|
4528 |
+
'cellIndex': virtualColPosition
|
4529 |
+
}
|
4530 |
+
};
|
4531 |
+
}
|
4532 |
+
/**
|
4533 |
+
* Recover free index of row to append Cell.
|
4534 |
+
*
|
4535 |
+
* @param {int} rowIndex Index of row to find free space.
|
4536 |
+
* @param {int} cellIndex Index of cell to find free space in table.
|
4537 |
+
*/
|
4538 |
+
|
4539 |
+
|
4540 |
+
function recoverCellIndex(rowIndex, cellIndex) {
|
4541 |
+
if (!_virtualTable[rowIndex]) {
|
4542 |
+
return cellIndex;
|
4543 |
+
}
|
4544 |
+
|
4545 |
+
if (!_virtualTable[rowIndex][cellIndex]) {
|
4546 |
+
return cellIndex;
|
4547 |
+
}
|
4548 |
+
|
4549 |
+
var newCellIndex = cellIndex;
|
4550 |
+
|
4551 |
+
while (_virtualTable[rowIndex][newCellIndex]) {
|
4552 |
+
newCellIndex++;
|
4553 |
+
|
4554 |
+
if (!_virtualTable[rowIndex][newCellIndex]) {
|
4555 |
+
return newCellIndex;
|
4556 |
+
}
|
4557 |
+
}
|
4558 |
+
}
|
4559 |
+
/**
|
4560 |
+
* Recover info about row and cell and add information to virtual table.
|
4561 |
+
*
|
4562 |
+
* @param {object} row Row to recover information.
|
4563 |
+
* @param {object} cell Cell to recover information.
|
4564 |
+
*/
|
4565 |
+
|
4566 |
+
|
4567 |
+
function addCellInfoToVirtual(row, cell) {
|
4568 |
+
var cellIndex = recoverCellIndex(row.rowIndex, cell.cellIndex);
|
4569 |
+
var cellHasColspan = cell.colSpan > 1;
|
4570 |
+
var cellHasRowspan = cell.rowSpan > 1;
|
4571 |
+
var isThisSelectedCell = row.rowIndex === _startPoint.rowPos && cell.cellIndex === _startPoint.colPos;
|
4572 |
+
setVirtualTablePosition(row.rowIndex, cellIndex, row, cell, cellHasRowspan, cellHasColspan, false); // Add span rows to virtual Table.
|
4573 |
+
|
4574 |
+
var rowspanNumber = cell.attributes.rowSpan ? parseInt(cell.attributes.rowSpan.value, 10) : 0;
|
4575 |
+
|
4576 |
+
if (rowspanNumber > 1) {
|
4577 |
+
for (var rp = 1; rp < rowspanNumber; rp++) {
|
4578 |
+
var rowspanIndex = row.rowIndex + rp;
|
4579 |
+
adjustStartPoint(rowspanIndex, cellIndex, cell, isThisSelectedCell);
|
4580 |
+
setVirtualTablePosition(rowspanIndex, cellIndex, row, cell, true, cellHasColspan, true);
|
4581 |
+
}
|
4582 |
+
} // Add span cols to virtual table.
|
4583 |
+
|
4584 |
+
|
4585 |
+
var colspanNumber = cell.attributes.colSpan ? parseInt(cell.attributes.colSpan.value, 10) : 0;
|
4586 |
+
|
4587 |
+
if (colspanNumber > 1) {
|
4588 |
+
for (var cp = 1; cp < colspanNumber; cp++) {
|
4589 |
+
var cellspanIndex = recoverCellIndex(row.rowIndex, cellIndex + cp);
|
4590 |
+
adjustStartPoint(row.rowIndex, cellspanIndex, cell, isThisSelectedCell);
|
4591 |
+
setVirtualTablePosition(row.rowIndex, cellspanIndex, row, cell, cellHasRowspan, true, true);
|
4592 |
+
}
|
4593 |
+
}
|
4594 |
+
}
|
4595 |
+
/**
|
4596 |
+
* Process validation and adjust of start point if needed
|
4597 |
+
*
|
4598 |
+
* @param {int} rowIndex
|
4599 |
+
* @param {int} cellIndex
|
4600 |
+
* @param {object} cell
|
4601 |
+
* @param {bool} isSelectedCell
|
4602 |
+
*/
|
4603 |
+
|
4604 |
+
|
4605 |
+
function adjustStartPoint(rowIndex, cellIndex, cell, isSelectedCell) {
|
4606 |
+
if (rowIndex === _startPoint.rowPos && _startPoint.colPos >= cell.cellIndex && cell.cellIndex <= cellIndex && !isSelectedCell) {
|
4607 |
+
_startPoint.colPos++;
|
4608 |
+
}
|
4609 |
+
}
|
4610 |
+
/**
|
4611 |
+
* Create virtual table of cells with all cells, including span cells.
|
4612 |
+
*/
|
4613 |
+
|
4614 |
+
|
4615 |
+
function createVirtualTable() {
|
4616 |
+
var rows = domTable.rows;
|
4617 |
+
|
4618 |
+
for (var rowIndex = 0; rowIndex < rows.length; rowIndex++) {
|
4619 |
+
var cells = rows[rowIndex].cells;
|
4620 |
+
|
4621 |
+
for (var cellIndex = 0; cellIndex < cells.length; cellIndex++) {
|
4622 |
+
addCellInfoToVirtual(rows[rowIndex], cells[cellIndex]);
|
4623 |
+
}
|
4624 |
+
}
|
4625 |
+
}
|
4626 |
+
/**
|
4627 |
+
* Get action to be applied on the cell.
|
4628 |
+
*
|
4629 |
+
* @param {object} cell virtual table cell to apply action
|
4630 |
+
*/
|
4631 |
+
|
4632 |
+
|
4633 |
+
function getDeleteResultActionToCell(cell) {
|
4634 |
+
switch (where) {
|
4635 |
+
case TableResultAction.where.Column:
|
4636 |
+
if (cell.isColSpan) {
|
4637 |
+
return TableResultAction.resultAction.SubtractSpanCount;
|
4638 |
+
}
|
4639 |
+
|
4640 |
+
break;
|
4641 |
+
|
4642 |
+
case TableResultAction.where.Row:
|
4643 |
+
if (!cell.isVirtual && cell.isRowSpan) {
|
4644 |
+
return TableResultAction.resultAction.AddCell;
|
4645 |
+
} else if (cell.isRowSpan) {
|
4646 |
+
return TableResultAction.resultAction.SubtractSpanCount;
|
4647 |
+
}
|
4648 |
+
|
4649 |
+
break;
|
4650 |
+
}
|
4651 |
+
|
4652 |
+
return TableResultAction.resultAction.RemoveCell;
|
4653 |
+
}
|
4654 |
+
/**
|
4655 |
+
* Get action to be applied on the cell.
|
4656 |
+
*
|
4657 |
+
* @param {object} cell virtual table cell to apply action
|
4658 |
+
*/
|
4659 |
+
|
4660 |
+
|
4661 |
+
function getAddResultActionToCell(cell) {
|
4662 |
+
switch (where) {
|
4663 |
+
case TableResultAction.where.Column:
|
4664 |
+
if (cell.isColSpan) {
|
4665 |
+
return TableResultAction.resultAction.SumSpanCount;
|
4666 |
+
} else if (cell.isRowSpan && cell.isVirtual) {
|
4667 |
+
return TableResultAction.resultAction.Ignore;
|
4668 |
+
}
|
4669 |
+
|
4670 |
+
break;
|
4671 |
+
|
4672 |
+
case TableResultAction.where.Row:
|
4673 |
+
if (cell.isRowSpan) {
|
4674 |
+
return TableResultAction.resultAction.SumSpanCount;
|
4675 |
+
} else if (cell.isColSpan && cell.isVirtual) {
|
4676 |
+
return TableResultAction.resultAction.Ignore;
|
4677 |
+
}
|
4678 |
+
|
4679 |
+
break;
|
4680 |
+
}
|
4681 |
+
|
4682 |
+
return TableResultAction.resultAction.AddCell;
|
4683 |
+
}
|
4684 |
+
|
4685 |
+
function init() {
|
4686 |
+
setStartPoint();
|
4687 |
+
createVirtualTable();
|
4688 |
+
} /// ///////////////////////////////////////////
|
4689 |
+
// Public functions
|
4690 |
+
/// ///////////////////////////////////////////
|
4691 |
+
|
4692 |
+
/**
|
4693 |
+
* Recover array os what to do in table.
|
4694 |
+
*/
|
4695 |
+
|
4696 |
+
|
4697 |
+
this.getActionList = function () {
|
4698 |
+
var fixedRow = where === TableResultAction.where.Row ? _startPoint.rowPos : -1;
|
4699 |
+
var fixedCol = where === TableResultAction.where.Column ? _startPoint.colPos : -1;
|
4700 |
+
var actualPosition = 0;
|
4701 |
+
var canContinue = true;
|
4702 |
+
|
4703 |
+
while (canContinue) {
|
4704 |
+
var rowPosition = fixedRow >= 0 ? fixedRow : actualPosition;
|
4705 |
+
var colPosition = fixedCol >= 0 ? fixedCol : actualPosition;
|
4706 |
+
var row = _virtualTable[rowPosition];
|
4707 |
+
|
4708 |
+
if (!row) {
|
4709 |
+
canContinue = false;
|
4710 |
+
return _actionCellList;
|
4711 |
+
}
|
4712 |
+
|
4713 |
+
var cell = row[colPosition];
|
4714 |
+
|
4715 |
+
if (!cell) {
|
4716 |
+
canContinue = false;
|
4717 |
+
return _actionCellList;
|
4718 |
+
} // Define action to be applied in this cell
|
4719 |
+
|
4720 |
+
|
4721 |
+
var resultAction = TableResultAction.resultAction.Ignore;
|
4722 |
+
|
4723 |
+
switch (action) {
|
4724 |
+
case TableResultAction.requestAction.Add:
|
4725 |
+
resultAction = getAddResultActionToCell(cell);
|
4726 |
+
break;
|
4727 |
+
|
4728 |
+
case TableResultAction.requestAction.Delete:
|
4729 |
+
resultAction = getDeleteResultActionToCell(cell);
|
4730 |
+
break;
|
4731 |
+
}
|
4732 |
+
|
4733 |
+
_actionCellList.push(getActionCell(cell, resultAction, rowPosition, colPosition));
|
4734 |
+
|
4735 |
+
actualPosition++;
|
4736 |
+
}
|
4737 |
+
|
4738 |
+
return _actionCellList;
|
4739 |
+
};
|
4740 |
+
|
4741 |
+
init();
|
4742 |
+
};
|
4743 |
+
/**
|
4744 |
+
*
|
4745 |
+
* Where action occours enum.
|
4746 |
+
*/
|
4747 |
+
|
4748 |
+
|
4749 |
+
TableResultAction.where = {
|
4750 |
+
'Row': 0,
|
4751 |
+
'Column': 1
|
4752 |
+
};
|
4753 |
+
/**
|
4754 |
+
*
|
4755 |
+
* Requested action to apply enum.
|
4756 |
+
*/
|
4757 |
+
|
4758 |
+
TableResultAction.requestAction = {
|
4759 |
+
'Add': 0,
|
4760 |
+
'Delete': 1
|
4761 |
+
};
|
4762 |
+
/**
|
4763 |
+
*
|
4764 |
+
* Result action to be executed enum.
|
4765 |
+
*/
|
4766 |
+
|
4767 |
+
TableResultAction.resultAction = {
|
4768 |
+
'Ignore': 0,
|
4769 |
+
'SubtractSpanCount': 1,
|
4770 |
+
'RemoveCell': 2,
|
4771 |
+
'AddCell': 3,
|
4772 |
+
'SumSpanCount': 4
|
4773 |
+
};
|
4774 |
+
/**
|
4775 |
+
*
|
4776 |
+
* @class editing.Table
|
4777 |
+
*
|
4778 |
+
* Table
|
4779 |
+
*
|
4780 |
+
*/
|
4781 |
+
|
4782 |
+
var Table_Table = /*#__PURE__*/function () {
|
4783 |
+
function Table() {
|
4784 |
+
Table_classCallCheck(this, Table);
|
4785 |
+
}
|
4786 |
+
|
4787 |
+
Table_createClass(Table, [{
|
4788 |
+
key: "tab",
|
4789 |
+
|
4790 |
+
/**
|
4791 |
+
* handle tab key
|
4792 |
+
*
|
4793 |
+
* @param {WrappedRange} rng
|
4794 |
+
* @param {Boolean} isShift
|
4795 |
+
*/
|
4796 |
+
value: function tab(rng, isShift) {
|
4797 |
+
var cell = dom.ancestor(rng.commonAncestor(), dom.isCell);
|
4798 |
+
var table = dom.ancestor(cell, dom.isTable);
|
4799 |
+
var cells = dom.listDescendant(table, dom.isCell);
|
4800 |
+
var nextCell = lists[isShift ? 'prev' : 'next'](cells, cell);
|
4801 |
+
|
4802 |
+
if (nextCell) {
|
4803 |
+
range.create(nextCell, 0).select();
|
4804 |
+
}
|
4805 |
+
}
|
4806 |
+
/**
|
4807 |
+
* Add a new row
|
4808 |
+
*
|
4809 |
+
* @param {WrappedRange} rng
|
4810 |
+
* @param {String} position (top/bottom)
|
4811 |
+
* @return {Node}
|
4812 |
+
*/
|
4813 |
+
|
4814 |
+
}, {
|
4815 |
+
key: "addRow",
|
4816 |
+
value: function addRow(rng, position) {
|
4817 |
+
var cell = dom.ancestor(rng.commonAncestor(), dom.isCell);
|
4818 |
+
var currentTr = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(cell).closest('tr');
|
4819 |
+
var trAttributes = this.recoverAttributes(currentTr);
|
4820 |
+
var html = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()('<tr' + trAttributes + '></tr>');
|
4821 |
+
var vTable = new TableResultAction(cell, TableResultAction.where.Row, TableResultAction.requestAction.Add, external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(currentTr).closest('table')[0]);
|
4822 |
+
var actions = vTable.getActionList();
|
4823 |
+
|
4824 |
+
for (var idCell = 0; idCell < actions.length; idCell++) {
|
4825 |
+
var currentCell = actions[idCell];
|
4826 |
+
var tdAttributes = this.recoverAttributes(currentCell.baseCell);
|
4827 |
+
|
4828 |
+
switch (currentCell.action) {
|
4829 |
+
case TableResultAction.resultAction.AddCell:
|
4830 |
+
html.append('<td' + tdAttributes + '>' + dom.blank + '</td>');
|
4831 |
+
break;
|
4832 |
+
|
4833 |
+
case TableResultAction.resultAction.SumSpanCount:
|
4834 |
+
{
|
4835 |
+
if (position === 'top') {
|
4836 |
+
var baseCellTr = currentCell.baseCell.parent;
|
4837 |
+
var isTopFromRowSpan = (!baseCellTr ? 0 : currentCell.baseCell.closest('tr').rowIndex) <= currentTr[0].rowIndex;
|
4838 |
+
|
4839 |
+
if (isTopFromRowSpan) {
|
4840 |
+
var newTd = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()('<div></div>').append(external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()('<td' + tdAttributes + '>' + dom.blank + '</td>').removeAttr('rowspan')).html();
|
4841 |
+
html.append(newTd);
|
4842 |
+
break;
|
4843 |
+
}
|
4844 |
+
}
|
4845 |
+
|
4846 |
+
var rowspanNumber = parseInt(currentCell.baseCell.rowSpan, 10);
|
4847 |
+
rowspanNumber++;
|
4848 |
+
currentCell.baseCell.setAttribute('rowSpan', rowspanNumber);
|
4849 |
+
}
|
4850 |
+
break;
|
4851 |
+
}
|
4852 |
+
}
|
4853 |
+
|
4854 |
+
if (position === 'top') {
|
4855 |
+
currentTr.before(html);
|
4856 |
+
} else {
|
4857 |
+
var cellHasRowspan = cell.rowSpan > 1;
|
4858 |
+
|
4859 |
+
if (cellHasRowspan) {
|
4860 |
+
var lastTrIndex = currentTr[0].rowIndex + (cell.rowSpan - 2);
|
4861 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(currentTr).parent().find('tr')[lastTrIndex]).after(external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(html));
|
4862 |
+
return;
|
4863 |
+
}
|
4864 |
+
|
4865 |
+
currentTr.after(html);
|
4866 |
+
}
|
4867 |
+
}
|
4868 |
+
/**
|
4869 |
+
* Add a new col
|
4870 |
+
*
|
4871 |
+
* @param {WrappedRange} rng
|
4872 |
+
* @param {String} position (left/right)
|
4873 |
+
* @return {Node}
|
4874 |
+
*/
|
4875 |
+
|
4876 |
+
}, {
|
4877 |
+
key: "addCol",
|
4878 |
+
value: function addCol(rng, position) {
|
4879 |
+
var cell = dom.ancestor(rng.commonAncestor(), dom.isCell);
|
4880 |
+
var row = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(cell).closest('tr');
|
4881 |
+
var rowsGroup = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(row).siblings();
|
4882 |
+
rowsGroup.push(row);
|
4883 |
+
var vTable = new TableResultAction(cell, TableResultAction.where.Column, TableResultAction.requestAction.Add, external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(row).closest('table')[0]);
|
4884 |
+
var actions = vTable.getActionList();
|
4885 |
+
|
4886 |
+
for (var actionIndex = 0; actionIndex < actions.length; actionIndex++) {
|
4887 |
+
var currentCell = actions[actionIndex];
|
4888 |
+
var tdAttributes = this.recoverAttributes(currentCell.baseCell);
|
4889 |
+
|
4890 |
+
switch (currentCell.action) {
|
4891 |
+
case TableResultAction.resultAction.AddCell:
|
4892 |
+
if (position === 'right') {
|
4893 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(currentCell.baseCell).after('<td' + tdAttributes + '>' + dom.blank + '</td>');
|
4894 |
+
} else {
|
4895 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(currentCell.baseCell).before('<td' + tdAttributes + '>' + dom.blank + '</td>');
|
4896 |
+
}
|
4897 |
+
|
4898 |
+
break;
|
4899 |
+
|
4900 |
+
case TableResultAction.resultAction.SumSpanCount:
|
4901 |
+
if (position === 'right') {
|
4902 |
+
var colspanNumber = parseInt(currentCell.baseCell.colSpan, 10);
|
4903 |
+
colspanNumber++;
|
4904 |
+
currentCell.baseCell.setAttribute('colSpan', colspanNumber);
|
4905 |
+
} else {
|
4906 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(currentCell.baseCell).before('<td' + tdAttributes + '>' + dom.blank + '</td>');
|
4907 |
+
}
|
4908 |
+
|
4909 |
+
break;
|
4910 |
+
}
|
4911 |
+
}
|
4912 |
+
}
|
4913 |
+
/*
|
4914 |
+
* Copy attributes from element.
|
4915 |
+
*
|
4916 |
+
* @param {object} Element to recover attributes.
|
4917 |
+
* @return {string} Copied string elements.
|
4918 |
+
*/
|
4919 |
+
|
4920 |
+
}, {
|
4921 |
+
key: "recoverAttributes",
|
4922 |
+
value: function recoverAttributes(el) {
|
4923 |
+
var resultStr = '';
|
4924 |
+
|
4925 |
+
if (!el) {
|
4926 |
+
return resultStr;
|
4927 |
+
}
|
4928 |
+
|
4929 |
+
var attrList = el.attributes || [];
|
4930 |
+
|
4931 |
+
for (var i = 0; i < attrList.length; i++) {
|
4932 |
+
if (attrList[i].name.toLowerCase() === 'id') {
|
4933 |
+
continue;
|
4934 |
+
}
|
4935 |
+
|
4936 |
+
if (attrList[i].specified) {
|
4937 |
+
resultStr += ' ' + attrList[i].name + '=\'' + attrList[i].value + '\'';
|
4938 |
+
}
|
4939 |
+
}
|
4940 |
+
|
4941 |
+
return resultStr;
|
4942 |
+
}
|
4943 |
+
/**
|
4944 |
+
* Delete current row
|
4945 |
+
*
|
4946 |
+
* @param {WrappedRange} rng
|
4947 |
+
* @return {Node}
|
4948 |
+
*/
|
4949 |
+
|
4950 |
+
}, {
|
4951 |
+
key: "deleteRow",
|
4952 |
+
value: function deleteRow(rng) {
|
4953 |
+
var cell = dom.ancestor(rng.commonAncestor(), dom.isCell);
|
4954 |
+
var row = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(cell).closest('tr');
|
4955 |
+
var cellPos = row.children('td, th').index(external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(cell));
|
4956 |
+
var rowPos = row[0].rowIndex;
|
4957 |
+
var vTable = new TableResultAction(cell, TableResultAction.where.Row, TableResultAction.requestAction.Delete, external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(row).closest('table')[0]);
|
4958 |
+
var actions = vTable.getActionList();
|
4959 |
+
|
4960 |
+
for (var actionIndex = 0; actionIndex < actions.length; actionIndex++) {
|
4961 |
+
if (!actions[actionIndex]) {
|
4962 |
+
continue;
|
4963 |
+
}
|
4964 |
+
|
4965 |
+
var baseCell = actions[actionIndex].baseCell;
|
4966 |
+
var virtualPosition = actions[actionIndex].virtualTable;
|
4967 |
+
var hasRowspan = baseCell.rowSpan && baseCell.rowSpan > 1;
|
4968 |
+
var rowspanNumber = hasRowspan ? parseInt(baseCell.rowSpan, 10) : 0;
|
4969 |
+
|
4970 |
+
switch (actions[actionIndex].action) {
|
4971 |
+
case TableResultAction.resultAction.Ignore:
|
4972 |
+
continue;
|
4973 |
+
|
4974 |
+
case TableResultAction.resultAction.AddCell:
|
4975 |
+
{
|
4976 |
+
var nextRow = row.next('tr')[0];
|
4977 |
+
|
4978 |
+
if (!nextRow) {
|
4979 |
+
continue;
|
4980 |
+
}
|
4981 |
+
|
4982 |
+
var cloneRow = row[0].cells[cellPos];
|
4983 |
+
|
4984 |
+
if (hasRowspan) {
|
4985 |
+
if (rowspanNumber > 2) {
|
4986 |
+
rowspanNumber--;
|
4987 |
+
nextRow.insertBefore(cloneRow, nextRow.cells[cellPos]);
|
4988 |
+
nextRow.cells[cellPos].setAttribute('rowSpan', rowspanNumber);
|
4989 |
+
nextRow.cells[cellPos].innerHTML = '';
|
4990 |
+
} else if (rowspanNumber === 2) {
|
4991 |
+
nextRow.insertBefore(cloneRow, nextRow.cells[cellPos]);
|
4992 |
+
nextRow.cells[cellPos].removeAttribute('rowSpan');
|
4993 |
+
nextRow.cells[cellPos].innerHTML = '';
|
4994 |
+
}
|
4995 |
+
}
|
4996 |
+
}
|
4997 |
+
continue;
|
4998 |
+
|
4999 |
+
case TableResultAction.resultAction.SubtractSpanCount:
|
5000 |
+
if (hasRowspan) {
|
5001 |
+
if (rowspanNumber > 2) {
|
5002 |
+
rowspanNumber--;
|
5003 |
+
baseCell.setAttribute('rowSpan', rowspanNumber);
|
5004 |
+
|
5005 |
+
if (virtualPosition.rowIndex !== rowPos && baseCell.cellIndex === cellPos) {
|
5006 |
+
baseCell.innerHTML = '';
|
5007 |
+
}
|
5008 |
+
} else if (rowspanNumber === 2) {
|
5009 |
+
baseCell.removeAttribute('rowSpan');
|
5010 |
+
|
5011 |
+
if (virtualPosition.rowIndex !== rowPos && baseCell.cellIndex === cellPos) {
|
5012 |
+
baseCell.innerHTML = '';
|
5013 |
+
}
|
5014 |
+
}
|
5015 |
+
}
|
5016 |
+
|
5017 |
+
continue;
|
5018 |
+
|
5019 |
+
case TableResultAction.resultAction.RemoveCell:
|
5020 |
+
// Do not need remove cell because row will be deleted.
|
5021 |
+
continue;
|
5022 |
+
}
|
5023 |
+
}
|
5024 |
+
|
5025 |
+
row.remove();
|
5026 |
+
}
|
5027 |
+
/**
|
5028 |
+
* Delete current col
|
5029 |
+
*
|
5030 |
+
* @param {WrappedRange} rng
|
5031 |
+
* @return {Node}
|
5032 |
+
*/
|
5033 |
+
|
5034 |
+
}, {
|
5035 |
+
key: "deleteCol",
|
5036 |
+
value: function deleteCol(rng) {
|
5037 |
+
var cell = dom.ancestor(rng.commonAncestor(), dom.isCell);
|
5038 |
+
var row = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(cell).closest('tr');
|
5039 |
+
var cellPos = row.children('td, th').index(external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(cell));
|
5040 |
+
var vTable = new TableResultAction(cell, TableResultAction.where.Column, TableResultAction.requestAction.Delete, external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(row).closest('table')[0]);
|
5041 |
+
var actions = vTable.getActionList();
|
5042 |
+
|
5043 |
+
for (var actionIndex = 0; actionIndex < actions.length; actionIndex++) {
|
5044 |
+
if (!actions[actionIndex]) {
|
5045 |
+
continue;
|
5046 |
+
}
|
5047 |
+
|
5048 |
+
switch (actions[actionIndex].action) {
|
5049 |
+
case TableResultAction.resultAction.Ignore:
|
5050 |
+
continue;
|
5051 |
+
|
5052 |
+
case TableResultAction.resultAction.SubtractSpanCount:
|
5053 |
+
{
|
5054 |
+
var baseCell = actions[actionIndex].baseCell;
|
5055 |
+
var hasColspan = baseCell.colSpan && baseCell.colSpan > 1;
|
5056 |
+
|
5057 |
+
if (hasColspan) {
|
5058 |
+
var colspanNumber = baseCell.colSpan ? parseInt(baseCell.colSpan, 10) : 0;
|
5059 |
+
|
5060 |
+
if (colspanNumber > 2) {
|
5061 |
+
colspanNumber--;
|
5062 |
+
baseCell.setAttribute('colSpan', colspanNumber);
|
5063 |
+
|
5064 |
+
if (baseCell.cellIndex === cellPos) {
|
5065 |
+
baseCell.innerHTML = '';
|
5066 |
+
}
|
5067 |
+
} else if (colspanNumber === 2) {
|
5068 |
+
baseCell.removeAttribute('colSpan');
|
5069 |
+
|
5070 |
+
if (baseCell.cellIndex === cellPos) {
|
5071 |
+
baseCell.innerHTML = '';
|
5072 |
+
}
|
5073 |
+
}
|
5074 |
+
}
|
5075 |
+
}
|
5076 |
+
continue;
|
5077 |
+
|
5078 |
+
case TableResultAction.resultAction.RemoveCell:
|
5079 |
+
dom.remove(actions[actionIndex].baseCell, true);
|
5080 |
+
continue;
|
5081 |
+
}
|
5082 |
+
}
|
5083 |
+
}
|
5084 |
+
/**
|
5085 |
+
* create empty table element
|
5086 |
+
*
|
5087 |
+
* @param {Number} rowCount
|
5088 |
+
* @param {Number} colCount
|
5089 |
+
* @return {Node}
|
5090 |
+
*/
|
5091 |
+
|
5092 |
+
}, {
|
5093 |
+
key: "createTable",
|
5094 |
+
value: function createTable(colCount, rowCount, options) {
|
5095 |
+
var tds = [];
|
5096 |
+
var tdHTML;
|
5097 |
+
|
5098 |
+
for (var idxCol = 0; idxCol < colCount; idxCol++) {
|
5099 |
+
tds.push('<td>' + dom.blank + '</td>');
|
5100 |
+
}
|
5101 |
+
|
5102 |
+
tdHTML = tds.join('');
|
5103 |
+
var trs = [];
|
5104 |
+
var trHTML;
|
5105 |
+
|
5106 |
+
for (var idxRow = 0; idxRow < rowCount; idxRow++) {
|
5107 |
+
trs.push('<tr>' + tdHTML + '</tr>');
|
5108 |
+
}
|
5109 |
+
|
5110 |
+
trHTML = trs.join('');
|
5111 |
+
var $table = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()('<table>' + trHTML + '</table>');
|
5112 |
+
|
5113 |
+
if (options && options.tableClassName) {
|
5114 |
+
$table.addClass(options.tableClassName);
|
5115 |
+
}
|
5116 |
+
|
5117 |
+
return $table[0];
|
5118 |
+
}
|
5119 |
+
/**
|
5120 |
+
* Delete current table
|
5121 |
+
*
|
5122 |
+
* @param {WrappedRange} rng
|
5123 |
+
* @return {Node}
|
5124 |
+
*/
|
5125 |
+
|
5126 |
+
}, {
|
5127 |
+
key: "deleteTable",
|
5128 |
+
value: function deleteTable(rng) {
|
5129 |
+
var cell = dom.ancestor(rng.commonAncestor(), dom.isCell);
|
5130 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(cell).closest('table').remove();
|
5131 |
+
}
|
5132 |
+
}]);
|
5133 |
+
|
5134 |
+
return Table;
|
5135 |
+
}();
|
5136 |
+
|
5137 |
+
|
5138 |
+
// CONCATENATED MODULE: ./src/js/base/module/Editor.js
|
5139 |
+
function Editor_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
5140 |
+
|
5141 |
+
function Editor_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
5142 |
+
|
5143 |
+
function Editor_createClass(Constructor, protoProps, staticProps) { if (protoProps) Editor_defineProperties(Constructor.prototype, protoProps); if (staticProps) Editor_defineProperties(Constructor, staticProps); return Constructor; }
|
5144 |
+
|
5145 |
+
|
5146 |
+
|
5147 |
+
|
5148 |
+
|
5149 |
+
|
5150 |
+
|
5151 |
+
|
5152 |
+
|
5153 |
+
|
5154 |
+
|
5155 |
+
|
5156 |
+
|
5157 |
+
|
5158 |
+
var KEY_BOGUS = 'bogus';
|
5159 |
+
/**
|
5160 |
+
* @class Editor
|
5161 |
+
*/
|
5162 |
+
|
5163 |
+
var Editor_Editor = /*#__PURE__*/function () {
|
5164 |
+
function Editor(context) {
|
5165 |
+
var _this = this;
|
5166 |
+
|
5167 |
+
Editor_classCallCheck(this, Editor);
|
5168 |
+
|
5169 |
+
this.context = context;
|
5170 |
+
this.$note = context.layoutInfo.note;
|
5171 |
+
this.$editor = context.layoutInfo.editor;
|
5172 |
+
this.$editable = context.layoutInfo.editable;
|
5173 |
+
this.options = context.options;
|
5174 |
+
this.lang = this.options.langInfo;
|
5175 |
+
this.editable = this.$editable[0];
|
5176 |
+
this.lastRange = null;
|
5177 |
+
this.snapshot = null;
|
5178 |
+
this.style = new Style_Style();
|
5179 |
+
this.table = new Table_Table();
|
5180 |
+
this.typing = new Typing_Typing(context);
|
5181 |
+
this.bullet = new Bullet_Bullet();
|
5182 |
+
this.history = new History_History(context);
|
5183 |
+
this.context.memo('help.escape', this.lang.help.escape);
|
5184 |
+
this.context.memo('help.undo', this.lang.help.undo);
|
5185 |
+
this.context.memo('help.redo', this.lang.help.redo);
|
5186 |
+
this.context.memo('help.tab', this.lang.help.tab);
|
5187 |
+
this.context.memo('help.untab', this.lang.help.untab);
|
5188 |
+
this.context.memo('help.insertParagraph', this.lang.help.insertParagraph);
|
5189 |
+
this.context.memo('help.insertOrderedList', this.lang.help.insertOrderedList);
|
5190 |
+
this.context.memo('help.insertUnorderedList', this.lang.help.insertUnorderedList);
|
5191 |
+
this.context.memo('help.indent', this.lang.help.indent);
|
5192 |
+
this.context.memo('help.outdent', this.lang.help.outdent);
|
5193 |
+
this.context.memo('help.formatPara', this.lang.help.formatPara);
|
5194 |
+
this.context.memo('help.insertHorizontalRule', this.lang.help.insertHorizontalRule);
|
5195 |
+
this.context.memo('help.fontName', this.lang.help.fontName); // native commands(with execCommand), generate function for execCommand
|
5196 |
+
|
5197 |
+
var commands = ['bold', 'italic', 'underline', 'strikethrough', 'superscript', 'subscript', 'justifyLeft', 'justifyCenter', 'justifyRight', 'justifyFull', 'formatBlock', 'removeFormat', 'backColor'];
|
5198 |
+
|
5199 |
+
for (var idx = 0, len = commands.length; idx < len; idx++) {
|
5200 |
+
this[commands[idx]] = function (sCmd) {
|
5201 |
+
return function (value) {
|
5202 |
+
_this.beforeCommand();
|
5203 |
+
|
5204 |
+
document.execCommand(sCmd, false, value);
|
5205 |
+
|
5206 |
+
_this.afterCommand(true);
|
5207 |
+
};
|
5208 |
+
}(commands[idx]);
|
5209 |
+
|
5210 |
+
this.context.memo('help.' + commands[idx], this.lang.help[commands[idx]]);
|
5211 |
+
}
|
5212 |
+
|
5213 |
+
this.fontName = this.wrapCommand(function (value) {
|
5214 |
+
return _this.fontStyling('font-family', env.validFontName(value));
|
5215 |
+
});
|
5216 |
+
this.fontSize = this.wrapCommand(function (value) {
|
5217 |
+
var unit = _this.currentStyle()['font-size-unit'];
|
5218 |
+
|
5219 |
+
return _this.fontStyling('font-size', value + unit);
|
5220 |
+
});
|
5221 |
+
this.fontSizeUnit = this.wrapCommand(function (value) {
|
5222 |
+
var size = _this.currentStyle()['font-size'];
|
5223 |
+
|
5224 |
+
return _this.fontStyling('font-size', size + value);
|
5225 |
+
});
|
5226 |
+
|
5227 |
+
for (var _idx = 1; _idx <= 6; _idx++) {
|
5228 |
+
this['formatH' + _idx] = function (idx) {
|
5229 |
+
return function () {
|
5230 |
+
_this.formatBlock('H' + idx);
|
5231 |
+
};
|
5232 |
+
}(_idx);
|
5233 |
+
|
5234 |
+
this.context.memo('help.formatH' + _idx, this.lang.help['formatH' + _idx]);
|
5235 |
+
}
|
5236 |
+
|
5237 |
+
this.insertParagraph = this.wrapCommand(function () {
|
5238 |
+
_this.typing.insertParagraph(_this.editable);
|
5239 |
+
});
|
5240 |
+
this.insertOrderedList = this.wrapCommand(function () {
|
5241 |
+
_this.bullet.insertOrderedList(_this.editable);
|
5242 |
+
});
|
5243 |
+
this.insertUnorderedList = this.wrapCommand(function () {
|
5244 |
+
_this.bullet.insertUnorderedList(_this.editable);
|
5245 |
+
});
|
5246 |
+
this.indent = this.wrapCommand(function () {
|
5247 |
+
_this.bullet.indent(_this.editable);
|
5248 |
+
});
|
5249 |
+
this.outdent = this.wrapCommand(function () {
|
5250 |
+
_this.bullet.outdent(_this.editable);
|
5251 |
+
});
|
5252 |
+
/**
|
5253 |
+
* insertNode
|
5254 |
+
* insert node
|
5255 |
+
* @param {Node} node
|
5256 |
+
*/
|
5257 |
+
|
5258 |
+
this.insertNode = this.wrapCommand(function (node) {
|
5259 |
+
if (_this.isLimited(external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(node).text().length)) {
|
5260 |
+
return;
|
5261 |
+
}
|
5262 |
+
|
5263 |
+
var rng = _this.getLastRange();
|
5264 |
+
|
5265 |
+
rng.insertNode(node);
|
5266 |
+
|
5267 |
+
_this.setLastRange(range.createFromNodeAfter(node).select());
|
5268 |
+
});
|
5269 |
+
/**
|
5270 |
+
* insert text
|
5271 |
+
* @param {String} text
|
5272 |
+
*/
|
5273 |
+
|
5274 |
+
this.insertText = this.wrapCommand(function (text) {
|
5275 |
+
if (_this.isLimited(text.length)) {
|
5276 |
+
return;
|
5277 |
+
}
|
5278 |
+
|
5279 |
+
var rng = _this.getLastRange();
|
5280 |
+
|
5281 |
+
var textNode = rng.insertNode(dom.createText(text));
|
5282 |
+
|
5283 |
+
_this.setLastRange(range.create(textNode, dom.nodeLength(textNode)).select());
|
5284 |
+
});
|
5285 |
+
/**
|
5286 |
+
* paste HTML
|
5287 |
+
* @param {String} markup
|
5288 |
+
*/
|
5289 |
+
|
5290 |
+
this.pasteHTML = this.wrapCommand(function (markup) {
|
5291 |
+
if (_this.isLimited(markup.length)) {
|
5292 |
+
return;
|
5293 |
+
}
|
5294 |
+
|
5295 |
+
markup = _this.context.invoke('codeview.purify', markup);
|
5296 |
+
|
5297 |
+
var contents = _this.getLastRange().pasteHTML(markup);
|
5298 |
+
|
5299 |
+
_this.setLastRange(range.createFromNodeAfter(lists.last(contents)).select());
|
5300 |
+
});
|
5301 |
+
/**
|
5302 |
+
* formatBlock
|
5303 |
+
*
|
5304 |
+
* @param {String} tagName
|
5305 |
+
*/
|
5306 |
+
|
5307 |
+
this.formatBlock = this.wrapCommand(function (tagName, $target) {
|
5308 |
+
var onApplyCustomStyle = _this.options.callbacks.onApplyCustomStyle;
|
5309 |
+
|
5310 |
+
if (onApplyCustomStyle) {
|
5311 |
+
onApplyCustomStyle.call(_this, $target, _this.context, _this.onFormatBlock);
|
5312 |
+
} else {
|
5313 |
+
_this.onFormatBlock(tagName, $target);
|
5314 |
+
}
|
5315 |
+
});
|
5316 |
+
/**
|
5317 |
+
* insert horizontal rule
|
5318 |
+
*/
|
5319 |
+
|
5320 |
+
this.insertHorizontalRule = this.wrapCommand(function () {
|
5321 |
+
var hrNode = _this.getLastRange().insertNode(dom.create('HR'));
|
5322 |
+
|
5323 |
+
if (hrNode.nextSibling) {
|
5324 |
+
_this.setLastRange(range.create(hrNode.nextSibling, 0).normalize().select());
|
5325 |
+
}
|
5326 |
+
});
|
5327 |
+
/**
|
5328 |
+
* lineHeight
|
5329 |
+
* @param {String} value
|
5330 |
+
*/
|
5331 |
+
|
5332 |
+
this.lineHeight = this.wrapCommand(function (value) {
|
5333 |
+
_this.style.stylePara(_this.getLastRange(), {
|
5334 |
+
lineHeight: value
|
5335 |
+
});
|
5336 |
+
});
|
5337 |
+
/**
|
5338 |
+
* create link (command)
|
5339 |
+
*
|
5340 |
+
* @param {Object} linkInfo
|
5341 |
+
*/
|
5342 |
+
|
5343 |
+
this.createLink = this.wrapCommand(function (linkInfo) {
|
5344 |
+
var linkUrl = linkInfo.url;
|
5345 |
+
var linkText = linkInfo.text;
|
5346 |
+
var isNewWindow = linkInfo.isNewWindow;
|
5347 |
+
var checkProtocol = linkInfo.checkProtocol;
|
5348 |
+
|
5349 |
+
var rng = linkInfo.range || _this.getLastRange();
|
5350 |
+
|
5351 |
+
var additionalTextLength = linkText.length - rng.toString().length;
|
5352 |
+
|
5353 |
+
if (additionalTextLength > 0 && _this.isLimited(additionalTextLength)) {
|
5354 |
+
return;
|
5355 |
+
}
|
5356 |
+
|
5357 |
+
var isTextChanged = rng.toString() !== linkText; // handle spaced urls from input
|
5358 |
+
|
5359 |
+
if (typeof linkUrl === 'string') {
|
5360 |
+
linkUrl = linkUrl.trim();
|
5361 |
+
}
|
5362 |
+
|
5363 |
+
if (_this.options.onCreateLink) {
|
5364 |
+
linkUrl = _this.options.onCreateLink(linkUrl);
|
5365 |
+
} else if (checkProtocol) {
|
5366 |
+
// if url doesn't have any protocol and not even a relative or a label, use http:// as default
|
5367 |
+
linkUrl = /^([A-Za-z][A-Za-z0-9+-.]*\:|#|\/)/.test(linkUrl) ? linkUrl : _this.options.defaultProtocol + linkUrl;
|
5368 |
+
}
|
5369 |
+
|
5370 |
+
var anchors = [];
|
5371 |
+
|
5372 |
+
if (isTextChanged) {
|
5373 |
+
rng = rng.deleteContents();
|
5374 |
+
var anchor = rng.insertNode(external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()('<A>' + linkText + '</A>')[0]);
|
5375 |
+
anchors.push(anchor);
|
5376 |
+
} else {
|
5377 |
+
anchors = _this.style.styleNodes(rng, {
|
5378 |
+
nodeName: 'A',
|
5379 |
+
expandClosestSibling: true,
|
5380 |
+
onlyPartialContains: true
|
5381 |
+
});
|
5382 |
+
}
|
5383 |
+
|
5384 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.each(anchors, function (idx, anchor) {
|
5385 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(anchor).attr('href', linkUrl);
|
5386 |
+
|
5387 |
+
if (isNewWindow) {
|
5388 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(anchor).attr('target', '_blank');
|
5389 |
+
} else {
|
5390 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(anchor).removeAttr('target');
|
5391 |
+
}
|
5392 |
+
});
|
5393 |
+
|
5394 |
+
_this.setLastRange(_this.createRangeFromList(anchors).select());
|
5395 |
+
});
|
5396 |
+
/**
|
5397 |
+
* setting color
|
5398 |
+
*
|
5399 |
+
* @param {Object} sObjColor color code
|
5400 |
+
* @param {String} sObjColor.foreColor foreground color
|
5401 |
+
* @param {String} sObjColor.backColor background color
|
5402 |
+
*/
|
5403 |
+
|
5404 |
+
this.color = this.wrapCommand(function (colorInfo) {
|
5405 |
+
var foreColor = colorInfo.foreColor;
|
5406 |
+
var backColor = colorInfo.backColor;
|
5407 |
+
|
5408 |
+
if (foreColor) {
|
5409 |
+
document.execCommand('foreColor', false, foreColor);
|
5410 |
+
}
|
5411 |
+
|
5412 |
+
if (backColor) {
|
5413 |
+
document.execCommand('backColor', false, backColor);
|
5414 |
+
}
|
5415 |
+
});
|
5416 |
+
/**
|
5417 |
+
* Set foreground color
|
5418 |
+
*
|
5419 |
+
* @param {String} colorCode foreground color code
|
5420 |
+
*/
|
5421 |
+
|
5422 |
+
this.foreColor = this.wrapCommand(function (colorInfo) {
|
5423 |
+
document.execCommand('foreColor', false, colorInfo);
|
5424 |
+
});
|
5425 |
+
/**
|
5426 |
+
* insert Table
|
5427 |
+
*
|
5428 |
+
* @param {String} dimension of table (ex : "5x5")
|
5429 |
+
*/
|
5430 |
+
|
5431 |
+
this.insertTable = this.wrapCommand(function (dim) {
|
5432 |
+
var dimension = dim.split('x');
|
5433 |
+
|
5434 |
+
var rng = _this.getLastRange().deleteContents();
|
5435 |
+
|
5436 |
+
rng.insertNode(_this.table.createTable(dimension[0], dimension[1], _this.options));
|
5437 |
+
});
|
5438 |
+
/**
|
5439 |
+
* remove media object and Figure Elements if media object is img with Figure.
|
5440 |
+
*/
|
5441 |
+
|
5442 |
+
this.removeMedia = this.wrapCommand(function () {
|
5443 |
+
var $target = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(_this.restoreTarget()).parent();
|
5444 |
+
|
5445 |
+
if ($target.closest('figure').length) {
|
5446 |
+
$target.closest('figure').remove();
|
5447 |
+
} else {
|
5448 |
+
$target = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(_this.restoreTarget()).detach();
|
5449 |
+
}
|
5450 |
+
|
5451 |
+
_this.context.triggerEvent('media.delete', $target, _this.$editable);
|
5452 |
+
});
|
5453 |
+
/**
|
5454 |
+
* float me
|
5455 |
+
*
|
5456 |
+
* @param {String} value
|
5457 |
+
*/
|
5458 |
+
|
5459 |
+
this.floatMe = this.wrapCommand(function (value) {
|
5460 |
+
var $target = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(_this.restoreTarget());
|
5461 |
+
$target.toggleClass('note-float-left', value === 'left');
|
5462 |
+
$target.toggleClass('note-float-right', value === 'right');
|
5463 |
+
$target.css('float', value === 'none' ? '' : value);
|
5464 |
+
});
|
5465 |
+
/**
|
5466 |
+
* resize overlay element
|
5467 |
+
* @param {String} value
|
5468 |
+
*/
|
5469 |
+
|
5470 |
+
this.resize = this.wrapCommand(function (value) {
|
5471 |
+
var $target = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(_this.restoreTarget());
|
5472 |
+
value = parseFloat(value);
|
5473 |
+
|
5474 |
+
if (value === 0) {
|
5475 |
+
$target.css('width', '');
|
5476 |
+
} else {
|
5477 |
+
$target.css({
|
5478 |
+
width: value * 100 + '%',
|
5479 |
+
height: ''
|
5480 |
+
});
|
5481 |
+
}
|
5482 |
+
});
|
5483 |
+
}
|
5484 |
+
|
5485 |
+
Editor_createClass(Editor, [{
|
5486 |
+
key: "initialize",
|
5487 |
+
value: function initialize() {
|
5488 |
+
var _this2 = this;
|
5489 |
+
|
5490 |
+
// bind custom events
|
5491 |
+
this.$editable.on('keydown', function (event) {
|
5492 |
+
if (event.keyCode === core_key.code.ENTER) {
|
5493 |
+
_this2.context.triggerEvent('enter', event);
|
5494 |
+
}
|
5495 |
+
|
5496 |
+
_this2.context.triggerEvent('keydown', event); // keep a snapshot to limit text on input event
|
5497 |
+
|
5498 |
+
|
5499 |
+
_this2.snapshot = _this2.history.makeSnapshot();
|
5500 |
+
_this2.hasKeyShortCut = false;
|
5501 |
+
|
5502 |
+
if (!event.isDefaultPrevented()) {
|
5503 |
+
if (_this2.options.shortcuts) {
|
5504 |
+
_this2.hasKeyShortCut = _this2.handleKeyMap(event);
|
5505 |
+
} else {
|
5506 |
+
_this2.preventDefaultEditableShortCuts(event);
|
5507 |
+
}
|
5508 |
+
}
|
5509 |
+
|
5510 |
+
if (_this2.isLimited(1, event)) {
|
5511 |
+
var lastRange = _this2.getLastRange();
|
5512 |
+
|
5513 |
+
if (lastRange.eo - lastRange.so === 0) {
|
5514 |
+
return false;
|
5515 |
+
}
|
5516 |
+
}
|
5517 |
+
|
5518 |
+
_this2.setLastRange(); // record undo in the key event except keyMap.
|
5519 |
+
|
5520 |
+
|
5521 |
+
if (_this2.options.recordEveryKeystroke) {
|
5522 |
+
if (_this2.hasKeyShortCut === false) {
|
5523 |
+
_this2.history.recordUndo();
|
5524 |
+
}
|
5525 |
+
}
|
5526 |
+
}).on('keyup', function (event) {
|
5527 |
+
_this2.setLastRange();
|
5528 |
+
|
5529 |
+
_this2.context.triggerEvent('keyup', event);
|
5530 |
+
}).on('focus', function (event) {
|
5531 |
+
_this2.setLastRange();
|
5532 |
+
|
5533 |
+
_this2.context.triggerEvent('focus', event);
|
5534 |
+
}).on('blur', function (event) {
|
5535 |
+
_this2.context.triggerEvent('blur', event);
|
5536 |
+
}).on('mousedown', function (event) {
|
5537 |
+
_this2.context.triggerEvent('mousedown', event);
|
5538 |
+
}).on('mouseup', function (event) {
|
5539 |
+
_this2.setLastRange();
|
5540 |
+
|
5541 |
+
_this2.history.recordUndo();
|
5542 |
+
|
5543 |
+
_this2.context.triggerEvent('mouseup', event);
|
5544 |
+
}).on('scroll', function (event) {
|
5545 |
+
_this2.context.triggerEvent('scroll', event);
|
5546 |
+
}).on('paste', function (event) {
|
5547 |
+
_this2.setLastRange();
|
5548 |
+
|
5549 |
+
_this2.context.triggerEvent('paste', event);
|
5550 |
+
}).on('input', function () {
|
5551 |
+
// To limit composition characters (e.g. Korean)
|
5552 |
+
if (_this2.isLimited(0) && _this2.snapshot) {
|
5553 |
+
_this2.history.applySnapshot(_this2.snapshot);
|
5554 |
+
}
|
5555 |
+
});
|
5556 |
+
this.$editable.attr('spellcheck', this.options.spellCheck);
|
5557 |
+
this.$editable.attr('autocorrect', this.options.spellCheck);
|
5558 |
+
|
5559 |
+
if (this.options.disableGrammar) {
|
5560 |
+
this.$editable.attr('data-gramm', false);
|
5561 |
+
} // init content before set event
|
5562 |
+
|
5563 |
+
|
5564 |
+
this.$editable.html(dom.html(this.$note) || dom.emptyPara);
|
5565 |
+
this.$editable.on(env.inputEventName, func.debounce(function () {
|
5566 |
+
_this2.context.triggerEvent('change', _this2.$editable.html(), _this2.$editable);
|
5567 |
+
}, 10));
|
5568 |
+
this.$editable.on('focusin', function (event) {
|
5569 |
+
_this2.context.triggerEvent('focusin', event);
|
5570 |
+
}).on('focusout', function (event) {
|
5571 |
+
_this2.context.triggerEvent('focusout', event);
|
5572 |
+
});
|
5573 |
+
|
5574 |
+
if (this.options.airMode) {
|
5575 |
+
if (this.options.overrideContextMenu) {
|
5576 |
+
this.$editor.on('contextmenu', function (event) {
|
5577 |
+
_this2.context.triggerEvent('contextmenu', event);
|
5578 |
+
|
5579 |
+
return false;
|
5580 |
+
});
|
5581 |
+
}
|
5582 |
+
} else {
|
5583 |
+
if (this.options.width) {
|
5584 |
+
this.$editor.outerWidth(this.options.width);
|
5585 |
+
}
|
5586 |
+
|
5587 |
+
if (this.options.height) {
|
5588 |
+
this.$editable.outerHeight(this.options.height);
|
5589 |
+
}
|
5590 |
+
|
5591 |
+
if (this.options.maxHeight) {
|
5592 |
+
this.$editable.css('max-height', this.options.maxHeight);
|
5593 |
+
}
|
5594 |
+
|
5595 |
+
if (this.options.minHeight) {
|
5596 |
+
this.$editable.css('min-height', this.options.minHeight);
|
5597 |
+
}
|
5598 |
+
}
|
5599 |
+
|
5600 |
+
this.history.recordUndo();
|
5601 |
+
this.setLastRange();
|
5602 |
+
}
|
5603 |
+
}, {
|
5604 |
+
key: "destroy",
|
5605 |
+
value: function destroy() {
|
5606 |
+
this.$editable.off();
|
5607 |
+
}
|
5608 |
+
}, {
|
5609 |
+
key: "handleKeyMap",
|
5610 |
+
value: function handleKeyMap(event) {
|
5611 |
+
var keyMap = this.options.keyMap[env.isMac ? 'mac' : 'pc'];
|
5612 |
+
var keys = [];
|
5613 |
+
|
5614 |
+
if (event.metaKey) {
|
5615 |
+
keys.push('CMD');
|
5616 |
+
}
|
5617 |
+
|
5618 |
+
if (event.ctrlKey && !event.altKey) {
|
5619 |
+
keys.push('CTRL');
|
5620 |
+
}
|
5621 |
+
|
5622 |
+
if (event.shiftKey) {
|
5623 |
+
keys.push('SHIFT');
|
5624 |
+
}
|
5625 |
+
|
5626 |
+
var keyName = core_key.nameFromCode[event.keyCode];
|
5627 |
+
|
5628 |
+
if (keyName) {
|
5629 |
+
keys.push(keyName);
|
5630 |
+
}
|
5631 |
+
|
5632 |
+
var eventName = keyMap[keys.join('+')];
|
5633 |
+
|
5634 |
+
if (keyName === 'TAB' && !this.options.tabDisable) {
|
5635 |
+
this.afterCommand();
|
5636 |
+
} else if (eventName) {
|
5637 |
+
if (this.context.invoke(eventName) !== false) {
|
5638 |
+
event.preventDefault(); // if keyMap action was invoked
|
5639 |
+
|
5640 |
+
return true;
|
5641 |
+
}
|
5642 |
+
} else if (core_key.isEdit(event.keyCode)) {
|
5643 |
+
this.afterCommand();
|
5644 |
+
}
|
5645 |
+
|
5646 |
+
return false;
|
5647 |
+
}
|
5648 |
+
}, {
|
5649 |
+
key: "preventDefaultEditableShortCuts",
|
5650 |
+
value: function preventDefaultEditableShortCuts(event) {
|
5651 |
+
// B(Bold, 66) / I(Italic, 73) / U(Underline, 85)
|
5652 |
+
if ((event.ctrlKey || event.metaKey) && lists.contains([66, 73, 85], event.keyCode)) {
|
5653 |
+
event.preventDefault();
|
5654 |
+
}
|
5655 |
+
}
|
5656 |
+
}, {
|
5657 |
+
key: "isLimited",
|
5658 |
+
value: function isLimited(pad, event) {
|
5659 |
+
pad = pad || 0;
|
5660 |
+
|
5661 |
+
if (typeof event !== 'undefined') {
|
5662 |
+
if (core_key.isMove(event.keyCode) || core_key.isNavigation(event.keyCode) || event.ctrlKey || event.metaKey || lists.contains([core_key.code.BACKSPACE, core_key.code.DELETE], event.keyCode)) {
|
5663 |
+
return false;
|
5664 |
+
}
|
5665 |
+
}
|
5666 |
+
|
5667 |
+
if (this.options.maxTextLength > 0) {
|
5668 |
+
if (this.$editable.text().length + pad > this.options.maxTextLength) {
|
5669 |
+
return true;
|
5670 |
+
}
|
5671 |
+
}
|
5672 |
+
|
5673 |
+
return false;
|
5674 |
+
}
|
5675 |
+
/**
|
5676 |
+
* create range
|
5677 |
+
* @return {WrappedRange}
|
5678 |
+
*/
|
5679 |
+
|
5680 |
+
}, {
|
5681 |
+
key: "createRange",
|
5682 |
+
value: function createRange() {
|
5683 |
+
this.focus();
|
5684 |
+
this.setLastRange();
|
5685 |
+
return this.getLastRange();
|
5686 |
+
}
|
5687 |
+
/**
|
5688 |
+
* create a new range from the list of elements
|
5689 |
+
*
|
5690 |
+
* @param {list} dom element list
|
5691 |
+
* @return {WrappedRange}
|
5692 |
+
*/
|
5693 |
+
|
5694 |
+
}, {
|
5695 |
+
key: "createRangeFromList",
|
5696 |
+
value: function createRangeFromList(lst) {
|
5697 |
+
var startRange = range.createFromNodeBefore(lists.head(lst));
|
5698 |
+
var startPoint = startRange.getStartPoint();
|
5699 |
+
var endRange = range.createFromNodeAfter(lists.last(lst));
|
5700 |
+
var endPoint = endRange.getEndPoint();
|
5701 |
+
return range.create(startPoint.node, startPoint.offset, endPoint.node, endPoint.offset);
|
5702 |
+
}
|
5703 |
+
/**
|
5704 |
+
* set the last range
|
5705 |
+
*
|
5706 |
+
* if given rng is exist, set rng as the last range
|
5707 |
+
* or create a new range at the end of the document
|
5708 |
+
*
|
5709 |
+
* @param {WrappedRange} rng
|
5710 |
+
*/
|
5711 |
+
|
5712 |
+
}, {
|
5713 |
+
key: "setLastRange",
|
5714 |
+
value: function setLastRange(rng) {
|
5715 |
+
if (rng) {
|
5716 |
+
this.lastRange = rng;
|
5717 |
+
} else {
|
5718 |
+
this.lastRange = range.create(this.editable);
|
5719 |
+
|
5720 |
+
if (external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(this.lastRange.sc).closest('.note-editable').length === 0) {
|
5721 |
+
this.lastRange = range.createFromBodyElement(this.editable);
|
5722 |
+
}
|
5723 |
+
}
|
5724 |
+
}
|
5725 |
+
/**
|
5726 |
+
* get the last range
|
5727 |
+
*
|
5728 |
+
* if there is a saved last range, return it
|
5729 |
+
* or create a new range and return it
|
5730 |
+
*
|
5731 |
+
* @return {WrappedRange}
|
5732 |
+
*/
|
5733 |
+
|
5734 |
+
}, {
|
5735 |
+
key: "getLastRange",
|
5736 |
+
value: function getLastRange() {
|
5737 |
+
if (!this.lastRange) {
|
5738 |
+
this.setLastRange();
|
5739 |
+
}
|
5740 |
+
|
5741 |
+
return this.lastRange;
|
5742 |
+
}
|
5743 |
+
/**
|
5744 |
+
* saveRange
|
5745 |
+
*
|
5746 |
+
* save current range
|
5747 |
+
*
|
5748 |
+
* @param {Boolean} [thenCollapse=false]
|
5749 |
+
*/
|
5750 |
+
|
5751 |
+
}, {
|
5752 |
+
key: "saveRange",
|
5753 |
+
value: function saveRange(thenCollapse) {
|
5754 |
+
if (thenCollapse) {
|
5755 |
+
this.getLastRange().collapse().select();
|
5756 |
+
}
|
5757 |
+
}
|
5758 |
+
/**
|
5759 |
+
* restoreRange
|
5760 |
+
*
|
5761 |
+
* restore lately range
|
5762 |
+
*/
|
5763 |
+
|
5764 |
+
}, {
|
5765 |
+
key: "restoreRange",
|
5766 |
+
value: function restoreRange() {
|
5767 |
+
if (this.lastRange) {
|
5768 |
+
this.lastRange.select();
|
5769 |
+
this.focus();
|
5770 |
+
}
|
5771 |
+
}
|
5772 |
+
}, {
|
5773 |
+
key: "saveTarget",
|
5774 |
+
value: function saveTarget(node) {
|
5775 |
+
this.$editable.data('target', node);
|
5776 |
+
}
|
5777 |
+
}, {
|
5778 |
+
key: "clearTarget",
|
5779 |
+
value: function clearTarget() {
|
5780 |
+
this.$editable.removeData('target');
|
5781 |
+
}
|
5782 |
+
}, {
|
5783 |
+
key: "restoreTarget",
|
5784 |
+
value: function restoreTarget() {
|
5785 |
+
return this.$editable.data('target');
|
5786 |
+
}
|
5787 |
+
/**
|
5788 |
+
* currentStyle
|
5789 |
+
*
|
5790 |
+
* current style
|
5791 |
+
* @return {Object|Boolean} unfocus
|
5792 |
+
*/
|
5793 |
+
|
5794 |
+
}, {
|
5795 |
+
key: "currentStyle",
|
5796 |
+
value: function currentStyle() {
|
5797 |
+
var rng = range.create();
|
5798 |
+
|
5799 |
+
if (rng) {
|
5800 |
+
rng = rng.normalize();
|
5801 |
+
}
|
5802 |
+
|
5803 |
+
return rng ? this.style.current(rng) : this.style.fromNode(this.$editable);
|
5804 |
+
}
|
5805 |
+
/**
|
5806 |
+
* style from node
|
5807 |
+
*
|
5808 |
+
* @param {jQuery} $node
|
5809 |
+
* @return {Object}
|
5810 |
+
*/
|
5811 |
+
|
5812 |
+
}, {
|
5813 |
+
key: "styleFromNode",
|
5814 |
+
value: function styleFromNode($node) {
|
5815 |
+
return this.style.fromNode($node);
|
5816 |
+
}
|
5817 |
+
/**
|
5818 |
+
* undo
|
5819 |
+
*/
|
5820 |
+
|
5821 |
+
}, {
|
5822 |
+
key: "undo",
|
5823 |
+
value: function undo() {
|
5824 |
+
this.context.triggerEvent('before.command', this.$editable.html());
|
5825 |
+
this.history.undo();
|
5826 |
+
this.context.triggerEvent('change', this.$editable.html(), this.$editable);
|
5827 |
+
}
|
5828 |
+
/*
|
5829 |
+
* commit
|
5830 |
+
*/
|
5831 |
+
|
5832 |
+
}, {
|
5833 |
+
key: "commit",
|
5834 |
+
value: function commit() {
|
5835 |
+
this.context.triggerEvent('before.command', this.$editable.html());
|
5836 |
+
this.history.commit();
|
5837 |
+
this.context.triggerEvent('change', this.$editable.html(), this.$editable);
|
5838 |
+
}
|
5839 |
+
/**
|
5840 |
+
* redo
|
5841 |
+
*/
|
5842 |
+
|
5843 |
+
}, {
|
5844 |
+
key: "redo",
|
5845 |
+
value: function redo() {
|
5846 |
+
this.context.triggerEvent('before.command', this.$editable.html());
|
5847 |
+
this.history.redo();
|
5848 |
+
this.context.triggerEvent('change', this.$editable.html(), this.$editable);
|
5849 |
+
}
|
5850 |
+
/**
|
5851 |
+
* before command
|
5852 |
+
*/
|
5853 |
+
|
5854 |
+
}, {
|
5855 |
+
key: "beforeCommand",
|
5856 |
+
value: function beforeCommand() {
|
5857 |
+
this.context.triggerEvent('before.command', this.$editable.html()); // Set styleWithCSS before run a command
|
5858 |
+
|
5859 |
+
document.execCommand('styleWithCSS', false, this.options.styleWithCSS); // keep focus on editable before command execution
|
5860 |
+
|
5861 |
+
this.focus();
|
5862 |
+
}
|
5863 |
+
/**
|
5864 |
+
* after command
|
5865 |
+
* @param {Boolean} isPreventTrigger
|
5866 |
+
*/
|
5867 |
+
|
5868 |
+
}, {
|
5869 |
+
key: "afterCommand",
|
5870 |
+
value: function afterCommand(isPreventTrigger) {
|
5871 |
+
this.normalizeContent();
|
5872 |
+
this.history.recordUndo();
|
5873 |
+
|
5874 |
+
if (!isPreventTrigger) {
|
5875 |
+
this.context.triggerEvent('change', this.$editable.html(), this.$editable);
|
5876 |
+
}
|
5877 |
+
}
|
5878 |
+
/**
|
5879 |
+
* handle tab key
|
5880 |
+
*/
|
5881 |
+
|
5882 |
+
}, {
|
5883 |
+
key: "tab",
|
5884 |
+
value: function tab() {
|
5885 |
+
var rng = this.getLastRange();
|
5886 |
+
|
5887 |
+
if (rng.isCollapsed() && rng.isOnCell()) {
|
5888 |
+
this.table.tab(rng);
|
5889 |
+
} else {
|
5890 |
+
if (this.options.tabSize === 0) {
|
5891 |
+
return false;
|
5892 |
+
}
|
5893 |
+
|
5894 |
+
if (!this.isLimited(this.options.tabSize)) {
|
5895 |
+
this.beforeCommand();
|
5896 |
+
this.typing.insertTab(rng, this.options.tabSize);
|
5897 |
+
this.afterCommand();
|
5898 |
+
}
|
5899 |
+
}
|
5900 |
+
}
|
5901 |
+
/**
|
5902 |
+
* handle shift+tab key
|
5903 |
+
*/
|
5904 |
+
|
5905 |
+
}, {
|
5906 |
+
key: "untab",
|
5907 |
+
value: function untab() {
|
5908 |
+
var rng = this.getLastRange();
|
5909 |
+
|
5910 |
+
if (rng.isCollapsed() && rng.isOnCell()) {
|
5911 |
+
this.table.tab(rng, true);
|
5912 |
+
} else {
|
5913 |
+
if (this.options.tabSize === 0) {
|
5914 |
+
return false;
|
5915 |
+
}
|
5916 |
+
}
|
5917 |
+
}
|
5918 |
+
/**
|
5919 |
+
* run given function between beforeCommand and afterCommand
|
5920 |
+
*/
|
5921 |
+
|
5922 |
+
}, {
|
5923 |
+
key: "wrapCommand",
|
5924 |
+
value: function wrapCommand(fn) {
|
5925 |
+
return function () {
|
5926 |
+
this.beforeCommand();
|
5927 |
+
fn.apply(this, arguments);
|
5928 |
+
this.afterCommand();
|
5929 |
+
};
|
5930 |
+
}
|
5931 |
+
/**
|
5932 |
+
* insert image
|
5933 |
+
*
|
5934 |
+
* @param {String} src
|
5935 |
+
* @param {String|Function} param
|
5936 |
+
* @return {Promise}
|
5937 |
+
*/
|
5938 |
+
|
5939 |
+
}, {
|
5940 |
+
key: "insertImage",
|
5941 |
+
value: function insertImage(src, param) {
|
5942 |
+
var _this3 = this;
|
5943 |
+
|
5944 |
+
return createImage(src, param).then(function ($image) {
|
5945 |
+
_this3.beforeCommand();
|
5946 |
+
|
5947 |
+
if (typeof param === 'function') {
|
5948 |
+
param($image);
|
5949 |
+
} else {
|
5950 |
+
if (typeof param === 'string') {
|
5951 |
+
$image.attr('data-filename', param);
|
5952 |
+
}
|
5953 |
+
|
5954 |
+
$image.css('width', Math.min(_this3.$editable.width(), $image.width()));
|
5955 |
+
}
|
5956 |
+
|
5957 |
+
$image.show();
|
5958 |
+
|
5959 |
+
_this3.getLastRange().insertNode($image[0]);
|
5960 |
+
|
5961 |
+
_this3.setLastRange(range.createFromNodeAfter($image[0]).select());
|
5962 |
+
|
5963 |
+
_this3.afterCommand();
|
5964 |
+
}).fail(function (e) {
|
5965 |
+
_this3.context.triggerEvent('image.upload.error', e);
|
5966 |
+
});
|
5967 |
+
}
|
5968 |
+
/**
|
5969 |
+
* insertImages
|
5970 |
+
* @param {File[]} files
|
5971 |
+
*/
|
5972 |
+
|
5973 |
+
}, {
|
5974 |
+
key: "insertImagesAsDataURL",
|
5975 |
+
value: function insertImagesAsDataURL(files) {
|
5976 |
+
var _this4 = this;
|
5977 |
+
|
5978 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.each(files, function (idx, file) {
|
5979 |
+
var filename = file.name;
|
5980 |
+
|
5981 |
+
if (_this4.options.maximumImageFileSize && _this4.options.maximumImageFileSize < file.size) {
|
5982 |
+
_this4.context.triggerEvent('image.upload.error', _this4.lang.image.maximumFileSizeError);
|
5983 |
+
} else {
|
5984 |
+
readFileAsDataURL(file).then(function (dataURL) {
|
5985 |
+
return _this4.insertImage(dataURL, filename);
|
5986 |
+
}).fail(function () {
|
5987 |
+
_this4.context.triggerEvent('image.upload.error');
|
5988 |
+
});
|
5989 |
+
}
|
5990 |
+
});
|
5991 |
+
}
|
5992 |
+
/**
|
5993 |
+
* insertImagesOrCallback
|
5994 |
+
* @param {File[]} files
|
5995 |
+
*/
|
5996 |
+
|
5997 |
+
}, {
|
5998 |
+
key: "insertImagesOrCallback",
|
5999 |
+
value: function insertImagesOrCallback(files) {
|
6000 |
+
var callbacks = this.options.callbacks; // If onImageUpload set,
|
6001 |
+
|
6002 |
+
if (callbacks.onImageUpload) {
|
6003 |
+
this.context.triggerEvent('image.upload', files); // else insert Image as dataURL
|
6004 |
+
} else {
|
6005 |
+
this.insertImagesAsDataURL(files);
|
6006 |
+
}
|
6007 |
+
}
|
6008 |
+
/**
|
6009 |
+
* return selected plain text
|
6010 |
+
* @return {String} text
|
6011 |
+
*/
|
6012 |
+
|
6013 |
+
}, {
|
6014 |
+
key: "getSelectedText",
|
6015 |
+
value: function getSelectedText() {
|
6016 |
+
var rng = this.getLastRange(); // if range on anchor, expand range with anchor
|
6017 |
+
|
6018 |
+
if (rng.isOnAnchor()) {
|
6019 |
+
rng = range.createFromNode(dom.ancestor(rng.sc, dom.isAnchor));
|
6020 |
+
}
|
6021 |
+
|
6022 |
+
return rng.toString();
|
6023 |
+
}
|
6024 |
+
}, {
|
6025 |
+
key: "onFormatBlock",
|
6026 |
+
value: function onFormatBlock(tagName, $target) {
|
6027 |
+
// [workaround] for MSIE, IE need `<`
|
6028 |
+
document.execCommand('FormatBlock', false, env.isMSIE ? '<' + tagName + '>' : tagName); // support custom class
|
6029 |
+
|
6030 |
+
if ($target && $target.length) {
|
6031 |
+
// find the exact element has given tagName
|
6032 |
+
if ($target[0].tagName.toUpperCase() !== tagName.toUpperCase()) {
|
6033 |
+
$target = $target.find(tagName);
|
6034 |
+
}
|
6035 |
+
|
6036 |
+
if ($target && $target.length) {
|
6037 |
+
var className = $target[0].className || '';
|
6038 |
+
|
6039 |
+
if (className) {
|
6040 |
+
var currentRange = this.createRange();
|
6041 |
+
var $parent = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()([currentRange.sc, currentRange.ec]).closest(tagName);
|
6042 |
+
$parent.addClass(className);
|
6043 |
+
}
|
6044 |
+
}
|
6045 |
+
}
|
6046 |
+
}
|
6047 |
+
}, {
|
6048 |
+
key: "formatPara",
|
6049 |
+
value: function formatPara() {
|
6050 |
+
this.formatBlock('P');
|
6051 |
+
}
|
6052 |
+
}, {
|
6053 |
+
key: "fontStyling",
|
6054 |
+
value: function fontStyling(target, value) {
|
6055 |
+
var rng = this.getLastRange();
|
6056 |
+
|
6057 |
+
if (rng !== '') {
|
6058 |
+
var spans = this.style.styleNodes(rng);
|
6059 |
+
this.$editor.find('.note-status-output').html('');
|
6060 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(spans).css(target, value); // [workaround] added styled bogus span for style
|
6061 |
+
// - also bogus character needed for cursor position
|
6062 |
+
|
6063 |
+
if (rng.isCollapsed()) {
|
6064 |
+
var firstSpan = lists.head(spans);
|
6065 |
+
|
6066 |
+
if (firstSpan && !dom.nodeLength(firstSpan)) {
|
6067 |
+
firstSpan.innerHTML = dom.ZERO_WIDTH_NBSP_CHAR;
|
6068 |
+
range.createFromNode(firstSpan.firstChild).select();
|
6069 |
+
this.setLastRange();
|
6070 |
+
this.$editable.data(KEY_BOGUS, firstSpan);
|
6071 |
+
}
|
6072 |
+
} else {
|
6073 |
+
this.setLastRange(this.createRangeFromList(spans).select());
|
6074 |
+
}
|
6075 |
+
} else {
|
6076 |
+
var noteStatusOutput = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.now();
|
6077 |
+
this.$editor.find('.note-status-output').html('<div id="note-status-output-' + noteStatusOutput + '" class="alert alert-info">' + this.lang.output.noSelection + '</div>');
|
6078 |
+
setTimeout(function () {
|
6079 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()('#note-status-output-' + noteStatusOutput).remove();
|
6080 |
+
}, 5000);
|
6081 |
+
}
|
6082 |
+
}
|
6083 |
+
/**
|
6084 |
+
* unlink
|
6085 |
+
*
|
6086 |
+
* @type command
|
6087 |
+
*/
|
6088 |
+
|
6089 |
+
}, {
|
6090 |
+
key: "unlink",
|
6091 |
+
value: function unlink() {
|
6092 |
+
var rng = this.getLastRange();
|
6093 |
+
|
6094 |
+
if (rng.isOnAnchor()) {
|
6095 |
+
var anchor = dom.ancestor(rng.sc, dom.isAnchor);
|
6096 |
+
rng = range.createFromNode(anchor);
|
6097 |
+
rng.select();
|
6098 |
+
this.setLastRange();
|
6099 |
+
this.beforeCommand();
|
6100 |
+
document.execCommand('unlink');
|
6101 |
+
this.afterCommand();
|
6102 |
+
}
|
6103 |
+
}
|
6104 |
+
/**
|
6105 |
+
* returns link info
|
6106 |
+
*
|
6107 |
+
* @return {Object}
|
6108 |
+
* @return {WrappedRange} return.range
|
6109 |
+
* @return {String} return.text
|
6110 |
+
* @return {Boolean} [return.isNewWindow=true]
|
6111 |
+
* @return {String} [return.url=""]
|
6112 |
+
*/
|
6113 |
+
|
6114 |
+
}, {
|
6115 |
+
key: "getLinkInfo",
|
6116 |
+
value: function getLinkInfo() {
|
6117 |
+
var rng = this.getLastRange().expand(dom.isAnchor); // Get the first anchor on range(for edit).
|
6118 |
+
|
6119 |
+
var $anchor = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(lists.head(rng.nodes(dom.isAnchor)));
|
6120 |
+
var linkInfo = {
|
6121 |
+
range: rng,
|
6122 |
+
text: rng.toString(),
|
6123 |
+
url: $anchor.length ? $anchor.attr('href') : ''
|
6124 |
+
}; // When anchor exists,
|
6125 |
+
|
6126 |
+
if ($anchor.length) {
|
6127 |
+
// Set isNewWindow by checking its target.
|
6128 |
+
linkInfo.isNewWindow = $anchor.attr('target') === '_blank';
|
6129 |
+
}
|
6130 |
+
|
6131 |
+
return linkInfo;
|
6132 |
+
}
|
6133 |
+
}, {
|
6134 |
+
key: "addRow",
|
6135 |
+
value: function addRow(position) {
|
6136 |
+
var rng = this.getLastRange(this.$editable);
|
6137 |
+
|
6138 |
+
if (rng.isCollapsed() && rng.isOnCell()) {
|
6139 |
+
this.beforeCommand();
|
6140 |
+
this.table.addRow(rng, position);
|
6141 |
+
this.afterCommand();
|
6142 |
+
}
|
6143 |
+
}
|
6144 |
+
}, {
|
6145 |
+
key: "addCol",
|
6146 |
+
value: function addCol(position) {
|
6147 |
+
var rng = this.getLastRange(this.$editable);
|
6148 |
+
|
6149 |
+
if (rng.isCollapsed() && rng.isOnCell()) {
|
6150 |
+
this.beforeCommand();
|
6151 |
+
this.table.addCol(rng, position);
|
6152 |
+
this.afterCommand();
|
6153 |
+
}
|
6154 |
+
}
|
6155 |
+
}, {
|
6156 |
+
key: "deleteRow",
|
6157 |
+
value: function deleteRow() {
|
6158 |
+
var rng = this.getLastRange(this.$editable);
|
6159 |
+
|
6160 |
+
if (rng.isCollapsed() && rng.isOnCell()) {
|
6161 |
+
this.beforeCommand();
|
6162 |
+
this.table.deleteRow(rng);
|
6163 |
+
this.afterCommand();
|
6164 |
+
}
|
6165 |
+
}
|
6166 |
+
}, {
|
6167 |
+
key: "deleteCol",
|
6168 |
+
value: function deleteCol() {
|
6169 |
+
var rng = this.getLastRange(this.$editable);
|
6170 |
+
|
6171 |
+
if (rng.isCollapsed() && rng.isOnCell()) {
|
6172 |
+
this.beforeCommand();
|
6173 |
+
this.table.deleteCol(rng);
|
6174 |
+
this.afterCommand();
|
6175 |
+
}
|
6176 |
+
}
|
6177 |
+
}, {
|
6178 |
+
key: "deleteTable",
|
6179 |
+
value: function deleteTable() {
|
6180 |
+
var rng = this.getLastRange(this.$editable);
|
6181 |
+
|
6182 |
+
if (rng.isCollapsed() && rng.isOnCell()) {
|
6183 |
+
this.beforeCommand();
|
6184 |
+
this.table.deleteTable(rng);
|
6185 |
+
this.afterCommand();
|
6186 |
+
}
|
6187 |
+
}
|
6188 |
+
/**
|
6189 |
+
* @param {Position} pos
|
6190 |
+
* @param {jQuery} $target - target element
|
6191 |
+
* @param {Boolean} [bKeepRatio] - keep ratio
|
6192 |
+
*/
|
6193 |
+
|
6194 |
+
}, {
|
6195 |
+
key: "resizeTo",
|
6196 |
+
value: function resizeTo(pos, $target, bKeepRatio) {
|
6197 |
+
var imageSize;
|
6198 |
+
|
6199 |
+
if (bKeepRatio) {
|
6200 |
+
var newRatio = pos.y / pos.x;
|
6201 |
+
var ratio = $target.data('ratio');
|
6202 |
+
imageSize = {
|
6203 |
+
width: ratio > newRatio ? pos.x : pos.y / ratio,
|
6204 |
+
height: ratio > newRatio ? pos.x * ratio : pos.y
|
6205 |
+
};
|
6206 |
+
} else {
|
6207 |
+
imageSize = {
|
6208 |
+
width: pos.x,
|
6209 |
+
height: pos.y
|
6210 |
+
};
|
6211 |
+
}
|
6212 |
+
|
6213 |
+
$target.css(imageSize);
|
6214 |
+
}
|
6215 |
+
/**
|
6216 |
+
* returns whether editable area has focus or not.
|
6217 |
+
*/
|
6218 |
+
|
6219 |
+
}, {
|
6220 |
+
key: "hasFocus",
|
6221 |
+
value: function hasFocus() {
|
6222 |
+
return this.$editable.is(':focus');
|
6223 |
+
}
|
6224 |
+
/**
|
6225 |
+
* set focus
|
6226 |
+
*/
|
6227 |
+
|
6228 |
+
}, {
|
6229 |
+
key: "focus",
|
6230 |
+
value: function focus() {
|
6231 |
+
// [workaround] Screen will move when page is scolled in IE.
|
6232 |
+
// - do focus when not focused
|
6233 |
+
if (!this.hasFocus()) {
|
6234 |
+
this.$editable.focus();
|
6235 |
+
}
|
6236 |
+
}
|
6237 |
+
/**
|
6238 |
+
* returns whether contents is empty or not.
|
6239 |
+
* @return {Boolean}
|
6240 |
+
*/
|
6241 |
+
|
6242 |
+
}, {
|
6243 |
+
key: "isEmpty",
|
6244 |
+
value: function isEmpty() {
|
6245 |
+
return dom.isEmpty(this.$editable[0]) || dom.emptyPara === this.$editable.html();
|
6246 |
+
}
|
6247 |
+
/**
|
6248 |
+
* Removes all contents and restores the editable instance to an _emptyPara_.
|
6249 |
+
*/
|
6250 |
+
|
6251 |
+
}, {
|
6252 |
+
key: "empty",
|
6253 |
+
value: function empty() {
|
6254 |
+
this.context.invoke('code', dom.emptyPara);
|
6255 |
+
}
|
6256 |
+
/**
|
6257 |
+
* normalize content
|
6258 |
+
*/
|
6259 |
+
|
6260 |
+
}, {
|
6261 |
+
key: "normalizeContent",
|
6262 |
+
value: function normalizeContent() {
|
6263 |
+
this.$editable[0].normalize();
|
6264 |
+
}
|
6265 |
+
}]);
|
6266 |
+
|
6267 |
+
return Editor;
|
6268 |
+
}();
|
6269 |
+
|
6270 |
+
|
6271 |
+
// CONCATENATED MODULE: ./src/js/base/module/Clipboard.js
|
6272 |
+
function Clipboard_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
6273 |
+
|
6274 |
+
function Clipboard_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
6275 |
+
|
6276 |
+
function Clipboard_createClass(Constructor, protoProps, staticProps) { if (protoProps) Clipboard_defineProperties(Constructor.prototype, protoProps); if (staticProps) Clipboard_defineProperties(Constructor, staticProps); return Constructor; }
|
6277 |
+
|
6278 |
+
|
6279 |
+
|
6280 |
+
var Clipboard_Clipboard = /*#__PURE__*/function () {
|
6281 |
+
function Clipboard(context) {
|
6282 |
+
Clipboard_classCallCheck(this, Clipboard);
|
6283 |
+
|
6284 |
+
this.context = context;
|
6285 |
+
this.$editable = context.layoutInfo.editable;
|
6286 |
+
}
|
6287 |
+
|
6288 |
+
Clipboard_createClass(Clipboard, [{
|
6289 |
+
key: "initialize",
|
6290 |
+
value: function initialize() {
|
6291 |
+
this.$editable.on('paste', this.pasteByEvent.bind(this));
|
6292 |
+
}
|
6293 |
+
/**
|
6294 |
+
* paste by clipboard event
|
6295 |
+
*
|
6296 |
+
* @param {Event} event
|
6297 |
+
*/
|
6298 |
+
|
6299 |
+
}, {
|
6300 |
+
key: "pasteByEvent",
|
6301 |
+
value: function pasteByEvent(event) {
|
6302 |
+
var _this = this;
|
6303 |
+
|
6304 |
+
var clipboardData = event.originalEvent.clipboardData;
|
6305 |
+
|
6306 |
+
if (clipboardData && clipboardData.items && clipboardData.items.length) {
|
6307 |
+
var item = clipboardData.items.length > 1 ? clipboardData.items[1] : lists.head(clipboardData.items);
|
6308 |
+
|
6309 |
+
if (item.kind === 'file' && item.type.indexOf('image/') !== -1) {
|
6310 |
+
// paste img file
|
6311 |
+
this.context.invoke('editor.insertImagesOrCallback', [item.getAsFile()]);
|
6312 |
+
event.preventDefault();
|
6313 |
+
} else if (item.kind === 'string') {
|
6314 |
+
// paste text with maxTextLength check
|
6315 |
+
if (this.context.invoke('editor.isLimited', clipboardData.getData('Text').length)) {
|
6316 |
+
event.preventDefault();
|
6317 |
+
}
|
6318 |
+
}
|
6319 |
+
} else if (window.clipboardData) {
|
6320 |
+
// for IE
|
6321 |
+
var text = window.clipboardData.getData('text');
|
6322 |
+
|
6323 |
+
if (this.context.invoke('editor.isLimited', text.length)) {
|
6324 |
+
event.preventDefault();
|
6325 |
+
}
|
6326 |
+
} // Call editor.afterCommand after proceeding default event handler
|
6327 |
+
|
6328 |
+
|
6329 |
+
setTimeout(function () {
|
6330 |
+
_this.context.invoke('editor.afterCommand');
|
6331 |
+
}, 10);
|
6332 |
+
}
|
6333 |
+
}]);
|
6334 |
+
|
6335 |
+
return Clipboard;
|
6336 |
+
}();
|
6337 |
+
|
6338 |
+
|
6339 |
+
// CONCATENATED MODULE: ./src/js/base/module/Dropzone.js
|
6340 |
+
function Dropzone_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
6341 |
+
|
6342 |
+
function Dropzone_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
6343 |
+
|
6344 |
+
function Dropzone_createClass(Constructor, protoProps, staticProps) { if (protoProps) Dropzone_defineProperties(Constructor.prototype, protoProps); if (staticProps) Dropzone_defineProperties(Constructor, staticProps); return Constructor; }
|
6345 |
+
|
6346 |
+
|
6347 |
+
|
6348 |
+
var Dropzone_Dropzone = /*#__PURE__*/function () {
|
6349 |
+
function Dropzone(context) {
|
6350 |
+
Dropzone_classCallCheck(this, Dropzone);
|
6351 |
+
|
6352 |
+
this.context = context;
|
6353 |
+
this.$eventListener = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(document);
|
6354 |
+
this.$editor = context.layoutInfo.editor;
|
6355 |
+
this.$editable = context.layoutInfo.editable;
|
6356 |
+
this.options = context.options;
|
6357 |
+
this.lang = this.options.langInfo;
|
6358 |
+
this.documentEventHandlers = {};
|
6359 |
+
this.$dropzone = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(['<div class="note-dropzone">', '<div class="note-dropzone-message"></div>', '</div>'].join('')).prependTo(this.$editor);
|
6360 |
+
}
|
6361 |
+
/**
|
6362 |
+
* attach Drag and Drop Events
|
6363 |
+
*/
|
6364 |
+
|
6365 |
+
|
6366 |
+
Dropzone_createClass(Dropzone, [{
|
6367 |
+
key: "initialize",
|
6368 |
+
value: function initialize() {
|
6369 |
+
if (this.options.disableDragAndDrop) {
|
6370 |
+
// prevent default drop event
|
6371 |
+
this.documentEventHandlers.onDrop = function (e) {
|
6372 |
+
e.preventDefault();
|
6373 |
+
}; // do not consider outside of dropzone
|
6374 |
+
|
6375 |
+
|
6376 |
+
this.$eventListener = this.$dropzone;
|
6377 |
+
this.$eventListener.on('drop', this.documentEventHandlers.onDrop);
|
6378 |
+
} else {
|
6379 |
+
this.attachDragAndDropEvent();
|
6380 |
+
}
|
6381 |
+
}
|
6382 |
+
/**
|
6383 |
+
* attach Drag and Drop Events
|
6384 |
+
*/
|
6385 |
+
|
6386 |
+
}, {
|
6387 |
+
key: "attachDragAndDropEvent",
|
6388 |
+
value: function attachDragAndDropEvent() {
|
6389 |
+
var _this = this;
|
6390 |
+
|
6391 |
+
var collection = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()();
|
6392 |
+
var $dropzoneMessage = this.$dropzone.find('.note-dropzone-message');
|
6393 |
+
|
6394 |
+
this.documentEventHandlers.onDragenter = function (e) {
|
6395 |
+
var isCodeview = _this.context.invoke('codeview.isActivated');
|
6396 |
+
|
6397 |
+
var hasEditorSize = _this.$editor.width() > 0 && _this.$editor.height() > 0;
|
6398 |
+
|
6399 |
+
if (!isCodeview && !collection.length && hasEditorSize) {
|
6400 |
+
_this.$editor.addClass('dragover');
|
6401 |
+
|
6402 |
+
_this.$dropzone.width(_this.$editor.width());
|
6403 |
+
|
6404 |
+
_this.$dropzone.height(_this.$editor.height());
|
6405 |
+
|
6406 |
+
$dropzoneMessage.text(_this.lang.image.dragImageHere);
|
6407 |
+
}
|
6408 |
+
|
6409 |
+
collection = collection.add(e.target);
|
6410 |
+
};
|
6411 |
+
|
6412 |
+
this.documentEventHandlers.onDragleave = function (e) {
|
6413 |
+
collection = collection.not(e.target); // If nodeName is BODY, then just make it over (fix for IE)
|
6414 |
+
|
6415 |
+
if (!collection.length || e.target.nodeName === 'BODY') {
|
6416 |
+
collection = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()();
|
6417 |
+
|
6418 |
+
_this.$editor.removeClass('dragover');
|
6419 |
+
}
|
6420 |
+
};
|
6421 |
+
|
6422 |
+
this.documentEventHandlers.onDrop = function () {
|
6423 |
+
collection = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()();
|
6424 |
+
|
6425 |
+
_this.$editor.removeClass('dragover');
|
6426 |
+
}; // show dropzone on dragenter when dragging a object to document
|
6427 |
+
// -but only if the editor is visible, i.e. has a positive width and height
|
6428 |
+
|
6429 |
+
|
6430 |
+
this.$eventListener.on('dragenter', this.documentEventHandlers.onDragenter).on('dragleave', this.documentEventHandlers.onDragleave).on('drop', this.documentEventHandlers.onDrop); // change dropzone's message on hover.
|
6431 |
+
|
6432 |
+
this.$dropzone.on('dragenter', function () {
|
6433 |
+
_this.$dropzone.addClass('hover');
|
6434 |
+
|
6435 |
+
$dropzoneMessage.text(_this.lang.image.dropImage);
|
6436 |
+
}).on('dragleave', function () {
|
6437 |
+
_this.$dropzone.removeClass('hover');
|
6438 |
+
|
6439 |
+
$dropzoneMessage.text(_this.lang.image.dragImageHere);
|
6440 |
+
}); // attach dropImage
|
6441 |
+
|
6442 |
+
this.$dropzone.on('drop', function (event) {
|
6443 |
+
var dataTransfer = event.originalEvent.dataTransfer; // stop the browser from opening the dropped content
|
6444 |
+
|
6445 |
+
event.preventDefault();
|
6446 |
+
|
6447 |
+
if (dataTransfer && dataTransfer.files && dataTransfer.files.length) {
|
6448 |
+
_this.$editable.focus();
|
6449 |
+
|
6450 |
+
_this.context.invoke('editor.insertImagesOrCallback', dataTransfer.files);
|
6451 |
+
} else {
|
6452 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.each(dataTransfer.types, function (idx, type) {
|
6453 |
+
// skip moz-specific types
|
6454 |
+
if (type.toLowerCase().indexOf('_moz_') > -1) {
|
6455 |
+
return;
|
6456 |
+
}
|
6457 |
+
|
6458 |
+
var content = dataTransfer.getData(type);
|
6459 |
+
|
6460 |
+
if (type.toLowerCase().indexOf('text') > -1) {
|
6461 |
+
_this.context.invoke('editor.pasteHTML', content);
|
6462 |
+
} else {
|
6463 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(content).each(function (idx, item) {
|
6464 |
+
_this.context.invoke('editor.insertNode', item);
|
6465 |
+
});
|
6466 |
+
}
|
6467 |
+
});
|
6468 |
+
}
|
6469 |
+
}).on('dragover', false); // prevent default dragover event
|
6470 |
+
}
|
6471 |
+
}, {
|
6472 |
+
key: "destroy",
|
6473 |
+
value: function destroy() {
|
6474 |
+
var _this2 = this;
|
6475 |
+
|
6476 |
+
Object.keys(this.documentEventHandlers).forEach(function (key) {
|
6477 |
+
_this2.$eventListener.off(key.substr(2).toLowerCase(), _this2.documentEventHandlers[key]);
|
6478 |
+
});
|
6479 |
+
this.documentEventHandlers = {};
|
6480 |
+
}
|
6481 |
+
}]);
|
6482 |
+
|
6483 |
+
return Dropzone;
|
6484 |
+
}();
|
6485 |
+
|
6486 |
+
|
6487 |
+
// CONCATENATED MODULE: ./src/js/base/module/Codeview.js
|
6488 |
+
function _createForOfIteratorHelper(o) { if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (o = _unsupportedIterableToArray(o))) { var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var it, normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
6489 |
+
|
6490 |
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(n); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
6491 |
+
|
6492 |
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
6493 |
+
|
6494 |
+
function Codeview_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
6495 |
+
|
6496 |
+
function Codeview_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
6497 |
+
|
6498 |
+
function Codeview_createClass(Constructor, protoProps, staticProps) { if (protoProps) Codeview_defineProperties(Constructor.prototype, protoProps); if (staticProps) Codeview_defineProperties(Constructor, staticProps); return Constructor; }
|
6499 |
+
|
6500 |
+
|
6501 |
+
|
6502 |
+
/**
|
6503 |
+
* @class Codeview
|
6504 |
+
*/
|
6505 |
+
|
6506 |
+
var Codeview_CodeView = /*#__PURE__*/function () {
|
6507 |
+
function CodeView(context) {
|
6508 |
+
Codeview_classCallCheck(this, CodeView);
|
6509 |
+
|
6510 |
+
this.context = context;
|
6511 |
+
this.$editor = context.layoutInfo.editor;
|
6512 |
+
this.$editable = context.layoutInfo.editable;
|
6513 |
+
this.$codable = context.layoutInfo.codable;
|
6514 |
+
this.options = context.options;
|
6515 |
+
this.CodeMirrorConstructor = window.CodeMirror;
|
6516 |
+
|
6517 |
+
if (this.options.codemirror.CodeMirrorConstructor) {
|
6518 |
+
this.CodeMirrorConstructor = this.options.codemirror.CodeMirrorConstructor;
|
6519 |
+
}
|
6520 |
+
}
|
6521 |
+
|
6522 |
+
Codeview_createClass(CodeView, [{
|
6523 |
+
key: "sync",
|
6524 |
+
value: function sync(html) {
|
6525 |
+
var isCodeview = this.isActivated();
|
6526 |
+
var CodeMirror = this.CodeMirrorConstructor;
|
6527 |
+
|
6528 |
+
if (isCodeview) {
|
6529 |
+
if (html) {
|
6530 |
+
if (CodeMirror) {
|
6531 |
+
this.$codable.data('cmEditor').getDoc().setValue(html);
|
6532 |
+
} else {
|
6533 |
+
this.$codable.val(html);
|
6534 |
+
}
|
6535 |
+
} else {
|
6536 |
+
if (CodeMirror) {
|
6537 |
+
this.$codable.data('cmEditor').save();
|
6538 |
+
}
|
6539 |
+
}
|
6540 |
+
}
|
6541 |
+
}
|
6542 |
+
}, {
|
6543 |
+
key: "initialize",
|
6544 |
+
value: function initialize() {
|
6545 |
+
var _this = this;
|
6546 |
+
|
6547 |
+
this.$codable.on('keyup', function (event) {
|
6548 |
+
if (event.keyCode === core_key.code.ESCAPE) {
|
6549 |
+
_this.deactivate();
|
6550 |
+
}
|
6551 |
+
});
|
6552 |
+
}
|
6553 |
+
/**
|
6554 |
+
* @return {Boolean}
|
6555 |
+
*/
|
6556 |
+
|
6557 |
+
}, {
|
6558 |
+
key: "isActivated",
|
6559 |
+
value: function isActivated() {
|
6560 |
+
return this.$editor.hasClass('codeview');
|
6561 |
+
}
|
6562 |
+
/**
|
6563 |
+
* toggle codeview
|
6564 |
+
*/
|
6565 |
+
|
6566 |
+
}, {
|
6567 |
+
key: "toggle",
|
6568 |
+
value: function toggle() {
|
6569 |
+
if (this.isActivated()) {
|
6570 |
+
this.deactivate();
|
6571 |
+
} else {
|
6572 |
+
this.activate();
|
6573 |
+
}
|
6574 |
+
|
6575 |
+
this.context.triggerEvent('codeview.toggled');
|
6576 |
+
}
|
6577 |
+
/**
|
6578 |
+
* purify input value
|
6579 |
+
* @param value
|
6580 |
+
* @returns {*}
|
6581 |
+
*/
|
6582 |
+
|
6583 |
+
}, {
|
6584 |
+
key: "purify",
|
6585 |
+
value: function purify(value) {
|
6586 |
+
if (this.options.codeviewFilter) {
|
6587 |
+
// filter code view regex
|
6588 |
+
value = value.replace(this.options.codeviewFilterRegex, ''); // allow specific iframe tag
|
6589 |
+
|
6590 |
+
if (this.options.codeviewIframeFilter) {
|
6591 |
+
var whitelist = this.options.codeviewIframeWhitelistSrc.concat(this.options.codeviewIframeWhitelistSrcBase);
|
6592 |
+
value = value.replace(/(<iframe.*?>.*?(?:<\/iframe>)?)/gi, function (tag) {
|
6593 |
+
// remove if src attribute is duplicated
|
6594 |
+
if (/<.+src(?==?('|"|\s)?)[\s\S]+src(?=('|"|\s)?)[^>]*?>/i.test(tag)) {
|
6595 |
+
return '';
|
6596 |
+
}
|
6597 |
+
|
6598 |
+
var _iterator = _createForOfIteratorHelper(whitelist),
|
6599 |
+
_step;
|
6600 |
+
|
6601 |
+
try {
|
6602 |
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
6603 |
+
var src = _step.value;
|
6604 |
+
|
6605 |
+
// pass if src is trusted
|
6606 |
+
if (new RegExp('src="(https?:)?\/\/' + src.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&') + '\/(.+)"').test(tag)) {
|
6607 |
+
return tag;
|
6608 |
+
}
|
6609 |
+
}
|
6610 |
+
} catch (err) {
|
6611 |
+
_iterator.e(err);
|
6612 |
+
} finally {
|
6613 |
+
_iterator.f();
|
6614 |
+
}
|
6615 |
+
|
6616 |
+
return '';
|
6617 |
+
});
|
6618 |
+
}
|
6619 |
+
}
|
6620 |
+
|
6621 |
+
return value;
|
6622 |
+
}
|
6623 |
+
/**
|
6624 |
+
* activate code view
|
6625 |
+
*/
|
6626 |
+
|
6627 |
+
}, {
|
6628 |
+
key: "activate",
|
6629 |
+
value: function activate() {
|
6630 |
+
var _this2 = this;
|
6631 |
+
|
6632 |
+
var CodeMirror = this.CodeMirrorConstructor;
|
6633 |
+
this.$codable.val(dom.html(this.$editable, this.options.prettifyHtml));
|
6634 |
+
this.$codable.height(this.$editable.height());
|
6635 |
+
this.context.invoke('toolbar.updateCodeview', true);
|
6636 |
+
this.context.invoke('airPopover.updateCodeview', true);
|
6637 |
+
this.$editor.addClass('codeview');
|
6638 |
+
this.$codable.focus(); // activate CodeMirror as codable
|
6639 |
+
|
6640 |
+
if (CodeMirror) {
|
6641 |
+
var cmEditor = CodeMirror.fromTextArea(this.$codable[0], this.options.codemirror); // CodeMirror TernServer
|
6642 |
+
|
6643 |
+
if (this.options.codemirror.tern) {
|
6644 |
+
var server = new CodeMirror.TernServer(this.options.codemirror.tern);
|
6645 |
+
cmEditor.ternServer = server;
|
6646 |
+
cmEditor.on('cursorActivity', function (cm) {
|
6647 |
+
server.updateArgHints(cm);
|
6648 |
+
});
|
6649 |
+
}
|
6650 |
+
|
6651 |
+
cmEditor.on('blur', function (event) {
|
6652 |
+
_this2.context.triggerEvent('blur.codeview', cmEditor.getValue(), event);
|
6653 |
+
});
|
6654 |
+
cmEditor.on('change', function () {
|
6655 |
+
_this2.context.triggerEvent('change.codeview', cmEditor.getValue(), cmEditor);
|
6656 |
+
}); // CodeMirror hasn't Padding.
|
6657 |
+
|
6658 |
+
cmEditor.setSize(null, this.$editable.outerHeight());
|
6659 |
+
this.$codable.data('cmEditor', cmEditor);
|
6660 |
+
} else {
|
6661 |
+
this.$codable.on('blur', function (event) {
|
6662 |
+
_this2.context.triggerEvent('blur.codeview', _this2.$codable.val(), event);
|
6663 |
+
});
|
6664 |
+
this.$codable.on('input', function () {
|
6665 |
+
_this2.context.triggerEvent('change.codeview', _this2.$codable.val(), _this2.$codable);
|
6666 |
+
});
|
6667 |
+
}
|
6668 |
+
}
|
6669 |
+
/**
|
6670 |
+
* deactivate code view
|
6671 |
+
*/
|
6672 |
+
|
6673 |
+
}, {
|
6674 |
+
key: "deactivate",
|
6675 |
+
value: function deactivate() {
|
6676 |
+
var CodeMirror = this.CodeMirrorConstructor; // deactivate CodeMirror as codable
|
6677 |
+
|
6678 |
+
if (CodeMirror) {
|
6679 |
+
var cmEditor = this.$codable.data('cmEditor');
|
6680 |
+
this.$codable.val(cmEditor.getValue());
|
6681 |
+
cmEditor.toTextArea();
|
6682 |
+
}
|
6683 |
+
|
6684 |
+
var value = this.purify(dom.value(this.$codable, this.options.prettifyHtml) || dom.emptyPara);
|
6685 |
+
var isChange = this.$editable.html() !== value;
|
6686 |
+
this.$editable.html(value);
|
6687 |
+
this.$editable.height(this.options.height ? this.$codable.height() : 'auto');
|
6688 |
+
this.$editor.removeClass('codeview');
|
6689 |
+
|
6690 |
+
if (isChange) {
|
6691 |
+
this.context.triggerEvent('change', this.$editable.html(), this.$editable);
|
6692 |
+
}
|
6693 |
+
|
6694 |
+
this.$editable.focus();
|
6695 |
+
this.context.invoke('toolbar.updateCodeview', false);
|
6696 |
+
this.context.invoke('airPopover.updateCodeview', false);
|
6697 |
+
}
|
6698 |
+
}, {
|
6699 |
+
key: "destroy",
|
6700 |
+
value: function destroy() {
|
6701 |
+
if (this.isActivated()) {
|
6702 |
+
this.deactivate();
|
6703 |
+
}
|
6704 |
+
}
|
6705 |
+
}]);
|
6706 |
+
|
6707 |
+
return CodeView;
|
6708 |
+
}();
|
6709 |
+
|
6710 |
+
|
6711 |
+
// CONCATENATED MODULE: ./src/js/base/module/Statusbar.js
|
6712 |
+
function Statusbar_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
6713 |
+
|
6714 |
+
function Statusbar_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
6715 |
+
|
6716 |
+
function Statusbar_createClass(Constructor, protoProps, staticProps) { if (protoProps) Statusbar_defineProperties(Constructor.prototype, protoProps); if (staticProps) Statusbar_defineProperties(Constructor, staticProps); return Constructor; }
|
6717 |
+
|
6718 |
+
|
6719 |
+
var EDITABLE_PADDING = 24;
|
6720 |
+
|
6721 |
+
var Statusbar_Statusbar = /*#__PURE__*/function () {
|
6722 |
+
function Statusbar(context) {
|
6723 |
+
Statusbar_classCallCheck(this, Statusbar);
|
6724 |
+
|
6725 |
+
this.$document = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(document);
|
6726 |
+
this.$statusbar = context.layoutInfo.statusbar;
|
6727 |
+
this.$editable = context.layoutInfo.editable;
|
6728 |
+
this.options = context.options;
|
6729 |
+
}
|
6730 |
+
|
6731 |
+
Statusbar_createClass(Statusbar, [{
|
6732 |
+
key: "initialize",
|
6733 |
+
value: function initialize() {
|
6734 |
+
var _this = this;
|
6735 |
+
|
6736 |
+
if (this.options.airMode || this.options.disableResizeEditor) {
|
6737 |
+
this.destroy();
|
6738 |
+
return;
|
6739 |
+
}
|
6740 |
+
|
6741 |
+
this.$statusbar.on('mousedown', function (event) {
|
6742 |
+
event.preventDefault();
|
6743 |
+
event.stopPropagation();
|
6744 |
+
|
6745 |
+
var editableTop = _this.$editable.offset().top - _this.$document.scrollTop();
|
6746 |
+
|
6747 |
+
var onMouseMove = function onMouseMove(event) {
|
6748 |
+
var height = event.clientY - (editableTop + EDITABLE_PADDING);
|
6749 |
+
height = _this.options.minheight > 0 ? Math.max(height, _this.options.minheight) : height;
|
6750 |
+
height = _this.options.maxHeight > 0 ? Math.min(height, _this.options.maxHeight) : height;
|
6751 |
+
|
6752 |
+
_this.$editable.height(height);
|
6753 |
+
};
|
6754 |
+
|
6755 |
+
_this.$document.on('mousemove', onMouseMove).one('mouseup', function () {
|
6756 |
+
_this.$document.off('mousemove', onMouseMove);
|
6757 |
+
});
|
6758 |
+
});
|
6759 |
+
}
|
6760 |
+
}, {
|
6761 |
+
key: "destroy",
|
6762 |
+
value: function destroy() {
|
6763 |
+
this.$statusbar.off();
|
6764 |
+
this.$statusbar.addClass('locked');
|
6765 |
+
}
|
6766 |
+
}]);
|
6767 |
+
|
6768 |
+
return Statusbar;
|
6769 |
+
}();
|
6770 |
+
|
6771 |
+
|
6772 |
+
// CONCATENATED MODULE: ./src/js/base/module/Fullscreen.js
|
6773 |
+
function Fullscreen_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
6774 |
+
|
6775 |
+
function Fullscreen_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
6776 |
+
|
6777 |
+
function Fullscreen_createClass(Constructor, protoProps, staticProps) { if (protoProps) Fullscreen_defineProperties(Constructor.prototype, protoProps); if (staticProps) Fullscreen_defineProperties(Constructor, staticProps); return Constructor; }
|
6778 |
+
|
6779 |
+
|
6780 |
+
|
6781 |
+
var Fullscreen_Fullscreen = /*#__PURE__*/function () {
|
6782 |
+
function Fullscreen(context) {
|
6783 |
+
var _this = this;
|
6784 |
+
|
6785 |
+
Fullscreen_classCallCheck(this, Fullscreen);
|
6786 |
+
|
6787 |
+
this.context = context;
|
6788 |
+
this.$editor = context.layoutInfo.editor;
|
6789 |
+
this.$toolbar = context.layoutInfo.toolbar;
|
6790 |
+
this.$editable = context.layoutInfo.editable;
|
6791 |
+
this.$codable = context.layoutInfo.codable;
|
6792 |
+
this.$window = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(window);
|
6793 |
+
this.$scrollbar = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()('html, body');
|
6794 |
+
|
6795 |
+
this.onResize = function () {
|
6796 |
+
_this.resizeTo({
|
6797 |
+
h: _this.$window.height() - _this.$toolbar.outerHeight()
|
6798 |
+
});
|
6799 |
+
};
|
6800 |
+
}
|
6801 |
+
|
6802 |
+
Fullscreen_createClass(Fullscreen, [{
|
6803 |
+
key: "resizeTo",
|
6804 |
+
value: function resizeTo(size) {
|
6805 |
+
this.$editable.css('height', size.h);
|
6806 |
+
this.$codable.css('height', size.h);
|
6807 |
+
|
6808 |
+
if (this.$codable.data('cmeditor')) {
|
6809 |
+
this.$codable.data('cmeditor').setsize(null, size.h);
|
6810 |
+
}
|
6811 |
+
}
|
6812 |
+
/**
|
6813 |
+
* toggle fullscreen
|
6814 |
+
*/
|
6815 |
+
|
6816 |
+
}, {
|
6817 |
+
key: "toggle",
|
6818 |
+
value: function toggle() {
|
6819 |
+
this.$editor.toggleClass('fullscreen');
|
6820 |
+
|
6821 |
+
if (this.isFullscreen()) {
|
6822 |
+
this.$editable.data('orgHeight', this.$editable.css('height'));
|
6823 |
+
this.$editable.data('orgMaxHeight', this.$editable.css('maxHeight'));
|
6824 |
+
this.$editable.css('maxHeight', '');
|
6825 |
+
this.$window.on('resize', this.onResize).trigger('resize');
|
6826 |
+
this.$scrollbar.css('overflow', 'hidden');
|
6827 |
+
} else {
|
6828 |
+
this.$window.off('resize', this.onResize);
|
6829 |
+
this.resizeTo({
|
6830 |
+
h: this.$editable.data('orgHeight')
|
6831 |
+
});
|
6832 |
+
this.$editable.css('maxHeight', this.$editable.css('orgMaxHeight'));
|
6833 |
+
this.$scrollbar.css('overflow', 'visible');
|
6834 |
+
}
|
6835 |
+
|
6836 |
+
this.context.invoke('toolbar.updateFullscreen', this.isFullscreen());
|
6837 |
+
}
|
6838 |
+
}, {
|
6839 |
+
key: "isFullscreen",
|
6840 |
+
value: function isFullscreen() {
|
6841 |
+
return this.$editor.hasClass('fullscreen');
|
6842 |
+
}
|
6843 |
+
}]);
|
6844 |
+
|
6845 |
+
return Fullscreen;
|
6846 |
+
}();
|
6847 |
+
|
6848 |
+
|
6849 |
+
// CONCATENATED MODULE: ./src/js/base/module/Handle.js
|
6850 |
+
function Handle_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
6851 |
+
|
6852 |
+
function Handle_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
6853 |
+
|
6854 |
+
function Handle_createClass(Constructor, protoProps, staticProps) { if (protoProps) Handle_defineProperties(Constructor.prototype, protoProps); if (staticProps) Handle_defineProperties(Constructor, staticProps); return Constructor; }
|
6855 |
+
|
6856 |
+
|
6857 |
+
|
6858 |
+
|
6859 |
+
var Handle_Handle = /*#__PURE__*/function () {
|
6860 |
+
function Handle(context) {
|
6861 |
+
var _this = this;
|
6862 |
+
|
6863 |
+
Handle_classCallCheck(this, Handle);
|
6864 |
+
|
6865 |
+
this.context = context;
|
6866 |
+
this.$document = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(document);
|
6867 |
+
this.$editingArea = context.layoutInfo.editingArea;
|
6868 |
+
this.options = context.options;
|
6869 |
+
this.lang = this.options.langInfo;
|
6870 |
+
this.events = {
|
6871 |
+
'summernote.mousedown': function summernoteMousedown(we, e) {
|
6872 |
+
if (_this.update(e.target, e)) {
|
6873 |
+
e.preventDefault();
|
6874 |
+
}
|
6875 |
+
},
|
6876 |
+
'summernote.keyup summernote.scroll summernote.change summernote.dialog.shown': function summernoteKeyupSummernoteScrollSummernoteChangeSummernoteDialogShown() {
|
6877 |
+
_this.update();
|
6878 |
+
},
|
6879 |
+
'summernote.disable summernote.blur': function summernoteDisableSummernoteBlur() {
|
6880 |
+
_this.hide();
|
6881 |
+
},
|
6882 |
+
'summernote.codeview.toggled': function summernoteCodeviewToggled() {
|
6883 |
+
_this.update();
|
6884 |
+
}
|
6885 |
+
};
|
6886 |
+
}
|
6887 |
+
|
6888 |
+
Handle_createClass(Handle, [{
|
6889 |
+
key: "initialize",
|
6890 |
+
value: function initialize() {
|
6891 |
+
var _this2 = this;
|
6892 |
+
|
6893 |
+
this.$handle = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(['<div class="note-handle">', '<div class="note-control-selection">', '<div class="note-control-selection-bg"></div>', '<div class="note-control-holder note-control-nw"></div>', '<div class="note-control-holder note-control-ne"></div>', '<div class="note-control-holder note-control-sw"></div>', '<div class="', this.options.disableResizeImage ? 'note-control-holder' : 'note-control-sizing', ' note-control-se"></div>', this.options.disableResizeImage ? '' : '<div class="note-control-selection-info"></div>', '</div>', '</div>'].join('')).prependTo(this.$editingArea);
|
6894 |
+
this.$handle.on('mousedown', function (event) {
|
6895 |
+
if (dom.isControlSizing(event.target)) {
|
6896 |
+
event.preventDefault();
|
6897 |
+
event.stopPropagation();
|
6898 |
+
|
6899 |
+
var $target = _this2.$handle.find('.note-control-selection').data('target');
|
6900 |
+
|
6901 |
+
var posStart = $target.offset();
|
6902 |
+
|
6903 |
+
var scrollTop = _this2.$document.scrollTop();
|
6904 |
+
|
6905 |
+
var onMouseMove = function onMouseMove(event) {
|
6906 |
+
_this2.context.invoke('editor.resizeTo', {
|
6907 |
+
x: event.clientX - posStart.left,
|
6908 |
+
y: event.clientY - (posStart.top - scrollTop)
|
6909 |
+
}, $target, !event.shiftKey);
|
6910 |
+
|
6911 |
+
_this2.update($target[0], event);
|
6912 |
+
};
|
6913 |
+
|
6914 |
+
_this2.$document.on('mousemove', onMouseMove).one('mouseup', function (e) {
|
6915 |
+
e.preventDefault();
|
6916 |
+
|
6917 |
+
_this2.$document.off('mousemove', onMouseMove);
|
6918 |
+
|
6919 |
+
_this2.context.invoke('editor.afterCommand');
|
6920 |
+
});
|
6921 |
+
|
6922 |
+
if (!$target.data('ratio')) {
|
6923 |
+
// original ratio.
|
6924 |
+
$target.data('ratio', $target.height() / $target.width());
|
6925 |
+
}
|
6926 |
+
}
|
6927 |
+
}); // Listen for scrolling on the handle overlay.
|
6928 |
+
|
6929 |
+
this.$handle.on('wheel', function (e) {
|
6930 |
+
e.preventDefault();
|
6931 |
+
|
6932 |
+
_this2.update();
|
6933 |
+
});
|
6934 |
+
}
|
6935 |
+
}, {
|
6936 |
+
key: "destroy",
|
6937 |
+
value: function destroy() {
|
6938 |
+
this.$handle.remove();
|
6939 |
+
}
|
6940 |
+
}, {
|
6941 |
+
key: "update",
|
6942 |
+
value: function update(target, event) {
|
6943 |
+
if (this.context.isDisabled()) {
|
6944 |
+
return false;
|
6945 |
+
}
|
6946 |
+
|
6947 |
+
var isImage = dom.isImg(target);
|
6948 |
+
var $selection = this.$handle.find('.note-control-selection');
|
6949 |
+
this.context.invoke('imagePopover.update', target, event);
|
6950 |
+
|
6951 |
+
if (isImage) {
|
6952 |
+
var $image = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(target);
|
6953 |
+
var position = $image.position();
|
6954 |
+
var pos = {
|
6955 |
+
left: position.left + parseInt($image.css('marginLeft'), 10),
|
6956 |
+
top: position.top + parseInt($image.css('marginTop'), 10)
|
6957 |
+
}; // exclude margin
|
6958 |
+
|
6959 |
+
var imageSize = {
|
6960 |
+
w: $image.outerWidth(false),
|
6961 |
+
h: $image.outerHeight(false)
|
6962 |
+
};
|
6963 |
+
$selection.css({
|
6964 |
+
display: 'block',
|
6965 |
+
left: pos.left,
|
6966 |
+
top: pos.top,
|
6967 |
+
width: imageSize.w,
|
6968 |
+
height: imageSize.h
|
6969 |
+
}).data('target', $image); // save current image element.
|
6970 |
+
|
6971 |
+
var origImageObj = new Image();
|
6972 |
+
origImageObj.src = $image.attr('src');
|
6973 |
+
var sizingText = imageSize.w + 'x' + imageSize.h + ' (' + this.lang.image.original + ': ' + origImageObj.width + 'x' + origImageObj.height + ')';
|
6974 |
+
$selection.find('.note-control-selection-info').text(sizingText);
|
6975 |
+
this.context.invoke('editor.saveTarget', target);
|
6976 |
+
} else {
|
6977 |
+
this.hide();
|
6978 |
+
}
|
6979 |
+
|
6980 |
+
return isImage;
|
6981 |
+
}
|
6982 |
+
/**
|
6983 |
+
* hide
|
6984 |
+
*
|
6985 |
+
* @param {jQuery} $handle
|
6986 |
+
*/
|
6987 |
+
|
6988 |
+
}, {
|
6989 |
+
key: "hide",
|
6990 |
+
value: function hide() {
|
6991 |
+
this.context.invoke('editor.clearTarget');
|
6992 |
+
this.$handle.children().hide();
|
6993 |
+
}
|
6994 |
+
}]);
|
6995 |
+
|
6996 |
+
return Handle;
|
6997 |
+
}();
|
6998 |
+
|
6999 |
+
|
7000 |
+
// CONCATENATED MODULE: ./src/js/base/module/AutoLink.js
|
7001 |
+
function AutoLink_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
7002 |
+
|
7003 |
+
function AutoLink_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
7004 |
+
|
7005 |
+
function AutoLink_createClass(Constructor, protoProps, staticProps) { if (protoProps) AutoLink_defineProperties(Constructor.prototype, protoProps); if (staticProps) AutoLink_defineProperties(Constructor, staticProps); return Constructor; }
|
7006 |
+
|
7007 |
+
|
7008 |
+
|
7009 |
+
|
7010 |
+
var defaultScheme = 'http://';
|
7011 |
+
var linkPattern = /^([A-Za-z][A-Za-z0-9+-.]*\:[\/]{2}|tel:|mailto:[A-Z0-9._%+-]+@)?(www\.)?(.+)$/i;
|
7012 |
+
|
7013 |
+
var AutoLink_AutoLink = /*#__PURE__*/function () {
|
7014 |
+
function AutoLink(context) {
|
7015 |
+
var _this = this;
|
7016 |
+
|
7017 |
+
AutoLink_classCallCheck(this, AutoLink);
|
7018 |
+
|
7019 |
+
this.context = context;
|
7020 |
+
this.options = context.options;
|
7021 |
+
this.events = {
|
7022 |
+
'summernote.keyup': function summernoteKeyup(we, e) {
|
7023 |
+
if (!e.isDefaultPrevented()) {
|
7024 |
+
_this.handleKeyup(e);
|
7025 |
+
}
|
7026 |
+
},
|
7027 |
+
'summernote.keydown': function summernoteKeydown(we, e) {
|
7028 |
+
_this.handleKeydown(e);
|
7029 |
+
}
|
7030 |
+
};
|
7031 |
+
}
|
7032 |
+
|
7033 |
+
AutoLink_createClass(AutoLink, [{
|
7034 |
+
key: "initialize",
|
7035 |
+
value: function initialize() {
|
7036 |
+
this.lastWordRange = null;
|
7037 |
+
}
|
7038 |
+
}, {
|
7039 |
+
key: "destroy",
|
7040 |
+
value: function destroy() {
|
7041 |
+
this.lastWordRange = null;
|
7042 |
+
}
|
7043 |
+
}, {
|
7044 |
+
key: "replace",
|
7045 |
+
value: function replace() {
|
7046 |
+
if (!this.lastWordRange) {
|
7047 |
+
return;
|
7048 |
+
}
|
7049 |
+
|
7050 |
+
var keyword = this.lastWordRange.toString();
|
7051 |
+
var match = keyword.match(linkPattern);
|
7052 |
+
|
7053 |
+
if (match && (match[1] || match[2])) {
|
7054 |
+
var link = match[1] ? keyword : defaultScheme + keyword;
|
7055 |
+
var urlText = this.options.showDomainOnlyForAutolink ? keyword.replace(/^(?:https?:\/\/)?(?:tel?:?)?(?:mailto?:?)?(?:www\.)?/i, '').split('/')[0] : keyword;
|
7056 |
+
var node = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()('<a />').html(urlText).attr('href', link)[0];
|
7057 |
+
|
7058 |
+
if (this.context.options.linkTargetBlank) {
|
7059 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(node).attr('target', '_blank');
|
7060 |
+
}
|
7061 |
+
|
7062 |
+
this.lastWordRange.insertNode(node);
|
7063 |
+
this.lastWordRange = null;
|
7064 |
+
this.context.invoke('editor.focus');
|
7065 |
+
}
|
7066 |
+
}
|
7067 |
+
}, {
|
7068 |
+
key: "handleKeydown",
|
7069 |
+
value: function handleKeydown(e) {
|
7070 |
+
if (lists.contains([core_key.code.ENTER, core_key.code.SPACE], e.keyCode)) {
|
7071 |
+
var wordRange = this.context.invoke('editor.createRange').getWordRange();
|
7072 |
+
this.lastWordRange = wordRange;
|
7073 |
+
}
|
7074 |
+
}
|
7075 |
+
}, {
|
7076 |
+
key: "handleKeyup",
|
7077 |
+
value: function handleKeyup(e) {
|
7078 |
+
if (lists.contains([core_key.code.ENTER, core_key.code.SPACE], e.keyCode)) {
|
7079 |
+
this.replace();
|
7080 |
+
}
|
7081 |
+
}
|
7082 |
+
}]);
|
7083 |
+
|
7084 |
+
return AutoLink;
|
7085 |
+
}();
|
7086 |
+
|
7087 |
+
|
7088 |
+
// CONCATENATED MODULE: ./src/js/base/module/AutoSync.js
|
7089 |
+
function AutoSync_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
7090 |
+
|
7091 |
+
function AutoSync_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
7092 |
+
|
7093 |
+
function AutoSync_createClass(Constructor, protoProps, staticProps) { if (protoProps) AutoSync_defineProperties(Constructor.prototype, protoProps); if (staticProps) AutoSync_defineProperties(Constructor, staticProps); return Constructor; }
|
7094 |
+
|
7095 |
+
|
7096 |
+
/**
|
7097 |
+
* textarea auto sync.
|
7098 |
+
*/
|
7099 |
+
|
7100 |
+
var AutoSync_AutoSync = /*#__PURE__*/function () {
|
7101 |
+
function AutoSync(context) {
|
7102 |
+
var _this = this;
|
7103 |
+
|
7104 |
+
AutoSync_classCallCheck(this, AutoSync);
|
7105 |
+
|
7106 |
+
this.$note = context.layoutInfo.note;
|
7107 |
+
this.events = {
|
7108 |
+
'summernote.change': function summernoteChange() {
|
7109 |
+
_this.$note.val(context.invoke('code'));
|
7110 |
+
}
|
7111 |
+
};
|
7112 |
+
}
|
7113 |
+
|
7114 |
+
AutoSync_createClass(AutoSync, [{
|
7115 |
+
key: "shouldInitialize",
|
7116 |
+
value: function shouldInitialize() {
|
7117 |
+
return dom.isTextarea(this.$note[0]);
|
7118 |
+
}
|
7119 |
+
}]);
|
7120 |
+
|
7121 |
+
return AutoSync;
|
7122 |
+
}();
|
7123 |
+
|
7124 |
+
|
7125 |
+
// CONCATENATED MODULE: ./src/js/base/module/AutoReplace.js
|
7126 |
+
function AutoReplace_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
7127 |
+
|
7128 |
+
function AutoReplace_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
7129 |
+
|
7130 |
+
function AutoReplace_createClass(Constructor, protoProps, staticProps) { if (protoProps) AutoReplace_defineProperties(Constructor.prototype, protoProps); if (staticProps) AutoReplace_defineProperties(Constructor, staticProps); return Constructor; }
|
7131 |
+
|
7132 |
+
|
7133 |
+
|
7134 |
+
|
7135 |
+
|
7136 |
+
var AutoReplace_AutoReplace = /*#__PURE__*/function () {
|
7137 |
+
function AutoReplace(context) {
|
7138 |
+
var _this = this;
|
7139 |
+
|
7140 |
+
AutoReplace_classCallCheck(this, AutoReplace);
|
7141 |
+
|
7142 |
+
this.context = context;
|
7143 |
+
this.options = context.options.replace || {};
|
7144 |
+
this.keys = [core_key.code.ENTER, core_key.code.SPACE, core_key.code.PERIOD, core_key.code.COMMA, core_key.code.SEMICOLON, core_key.code.SLASH];
|
7145 |
+
this.previousKeydownCode = null;
|
7146 |
+
this.events = {
|
7147 |
+
'summernote.keyup': function summernoteKeyup(we, e) {
|
7148 |
+
if (!e.isDefaultPrevented()) {
|
7149 |
+
_this.handleKeyup(e);
|
7150 |
+
}
|
7151 |
+
},
|
7152 |
+
'summernote.keydown': function summernoteKeydown(we, e) {
|
7153 |
+
_this.handleKeydown(e);
|
7154 |
+
}
|
7155 |
+
};
|
7156 |
+
}
|
7157 |
+
|
7158 |
+
AutoReplace_createClass(AutoReplace, [{
|
7159 |
+
key: "shouldInitialize",
|
7160 |
+
value: function shouldInitialize() {
|
7161 |
+
return !!this.options.match;
|
7162 |
+
}
|
7163 |
+
}, {
|
7164 |
+
key: "initialize",
|
7165 |
+
value: function initialize() {
|
7166 |
+
this.lastWord = null;
|
7167 |
+
}
|
7168 |
+
}, {
|
7169 |
+
key: "destroy",
|
7170 |
+
value: function destroy() {
|
7171 |
+
this.lastWord = null;
|
7172 |
+
}
|
7173 |
+
}, {
|
7174 |
+
key: "replace",
|
7175 |
+
value: function replace() {
|
7176 |
+
if (!this.lastWord) {
|
7177 |
+
return;
|
7178 |
+
}
|
7179 |
+
|
7180 |
+
var self = this;
|
7181 |
+
var keyword = this.lastWord.toString();
|
7182 |
+
this.options.match(keyword, function (match) {
|
7183 |
+
if (match) {
|
7184 |
+
var node = '';
|
7185 |
+
|
7186 |
+
if (typeof match === 'string') {
|
7187 |
+
node = dom.createText(match);
|
7188 |
+
} else if (match instanceof jQuery) {
|
7189 |
+
node = match[0];
|
7190 |
+
} else if (match instanceof Node) {
|
7191 |
+
node = match;
|
7192 |
+
}
|
7193 |
+
|
7194 |
+
if (!node) return;
|
7195 |
+
self.lastWord.insertNode(node);
|
7196 |
+
self.lastWord = null;
|
7197 |
+
self.context.invoke('editor.focus');
|
7198 |
+
}
|
7199 |
+
});
|
7200 |
+
}
|
7201 |
+
}, {
|
7202 |
+
key: "handleKeydown",
|
7203 |
+
value: function handleKeydown(e) {
|
7204 |
+
// this forces it to remember the last whole word, even if multiple termination keys are pressed
|
7205 |
+
// before the previous key is let go.
|
7206 |
+
if (this.previousKeydownCode && lists.contains(this.keys, this.previousKeydownCode)) {
|
7207 |
+
this.previousKeydownCode = e.keyCode;
|
7208 |
+
return;
|
7209 |
+
}
|
7210 |
+
|
7211 |
+
if (lists.contains(this.keys, e.keyCode)) {
|
7212 |
+
var wordRange = this.context.invoke('editor.createRange').getWordRange();
|
7213 |
+
this.lastWord = wordRange;
|
7214 |
+
}
|
7215 |
+
|
7216 |
+
this.previousKeydownCode = e.keyCode;
|
7217 |
+
}
|
7218 |
+
}, {
|
7219 |
+
key: "handleKeyup",
|
7220 |
+
value: function handleKeyup(e) {
|
7221 |
+
if (lists.contains(this.keys, e.keyCode)) {
|
7222 |
+
this.replace();
|
7223 |
+
}
|
7224 |
+
}
|
7225 |
+
}]);
|
7226 |
+
|
7227 |
+
return AutoReplace;
|
7228 |
+
}();
|
7229 |
+
|
7230 |
+
|
7231 |
+
// CONCATENATED MODULE: ./src/js/base/module/Placeholder.js
|
7232 |
+
function Placeholder_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
7233 |
+
|
7234 |
+
function Placeholder_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
7235 |
+
|
7236 |
+
function Placeholder_createClass(Constructor, protoProps, staticProps) { if (protoProps) Placeholder_defineProperties(Constructor.prototype, protoProps); if (staticProps) Placeholder_defineProperties(Constructor, staticProps); return Constructor; }
|
7237 |
+
|
7238 |
+
|
7239 |
+
|
7240 |
+
var Placeholder_Placeholder = /*#__PURE__*/function () {
|
7241 |
+
function Placeholder(context) {
|
7242 |
+
var _this = this;
|
7243 |
+
|
7244 |
+
Placeholder_classCallCheck(this, Placeholder);
|
7245 |
+
|
7246 |
+
this.context = context;
|
7247 |
+
this.$editingArea = context.layoutInfo.editingArea;
|
7248 |
+
this.options = context.options;
|
7249 |
+
|
7250 |
+
if (this.options.inheritPlaceholder === true) {
|
7251 |
+
// get placeholder value from the original element
|
7252 |
+
this.options.placeholder = this.context.$note.attr('placeholder') || this.options.placeholder;
|
7253 |
+
}
|
7254 |
+
|
7255 |
+
this.events = {
|
7256 |
+
'summernote.init summernote.change': function summernoteInitSummernoteChange() {
|
7257 |
+
_this.update();
|
7258 |
+
},
|
7259 |
+
'summernote.codeview.toggled': function summernoteCodeviewToggled() {
|
7260 |
+
_this.update();
|
7261 |
+
}
|
7262 |
+
};
|
7263 |
+
}
|
7264 |
+
|
7265 |
+
Placeholder_createClass(Placeholder, [{
|
7266 |
+
key: "shouldInitialize",
|
7267 |
+
value: function shouldInitialize() {
|
7268 |
+
return !!this.options.placeholder;
|
7269 |
+
}
|
7270 |
+
}, {
|
7271 |
+
key: "initialize",
|
7272 |
+
value: function initialize() {
|
7273 |
+
var _this2 = this;
|
7274 |
+
|
7275 |
+
this.$placeholder = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()('<div class="note-placeholder">');
|
7276 |
+
this.$placeholder.on('click', function () {
|
7277 |
+
_this2.context.invoke('focus');
|
7278 |
+
}).html(this.options.placeholder).prependTo(this.$editingArea);
|
7279 |
+
this.update();
|
7280 |
+
}
|
7281 |
+
}, {
|
7282 |
+
key: "destroy",
|
7283 |
+
value: function destroy() {
|
7284 |
+
this.$placeholder.remove();
|
7285 |
+
}
|
7286 |
+
}, {
|
7287 |
+
key: "update",
|
7288 |
+
value: function update() {
|
7289 |
+
var isShow = !this.context.invoke('codeview.isActivated') && this.context.invoke('editor.isEmpty');
|
7290 |
+
this.$placeholder.toggle(isShow);
|
7291 |
+
}
|
7292 |
+
}]);
|
7293 |
+
|
7294 |
+
return Placeholder;
|
7295 |
+
}();
|
7296 |
+
|
7297 |
+
|
7298 |
+
// CONCATENATED MODULE: ./src/js/base/module/Buttons.js
|
7299 |
+
function Buttons_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
7300 |
+
|
7301 |
+
function Buttons_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
7302 |
+
|
7303 |
+
function Buttons_createClass(Constructor, protoProps, staticProps) { if (protoProps) Buttons_defineProperties(Constructor.prototype, protoProps); if (staticProps) Buttons_defineProperties(Constructor, staticProps); return Constructor; }
|
7304 |
+
|
7305 |
+
|
7306 |
+
|
7307 |
+
|
7308 |
+
|
7309 |
+
|
7310 |
+
var Buttons_Buttons = /*#__PURE__*/function () {
|
7311 |
+
function Buttons(context) {
|
7312 |
+
Buttons_classCallCheck(this, Buttons);
|
7313 |
+
|
7314 |
+
this.ui = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.summernote.ui;
|
7315 |
+
this.context = context;
|
7316 |
+
this.$toolbar = context.layoutInfo.toolbar;
|
7317 |
+
this.options = context.options;
|
7318 |
+
this.lang = this.options.langInfo;
|
7319 |
+
this.invertedKeyMap = func.invertObject(this.options.keyMap[env.isMac ? 'mac' : 'pc']);
|
7320 |
+
}
|
7321 |
+
|
7322 |
+
Buttons_createClass(Buttons, [{
|
7323 |
+
key: "representShortcut",
|
7324 |
+
value: function representShortcut(editorMethod) {
|
7325 |
+
var shortcut = this.invertedKeyMap[editorMethod];
|
7326 |
+
|
7327 |
+
if (!this.options.shortcuts || !shortcut) {
|
7328 |
+
return '';
|
7329 |
+
}
|
7330 |
+
|
7331 |
+
if (env.isMac) {
|
7332 |
+
shortcut = shortcut.replace('CMD', '⌘').replace('SHIFT', '⇧');
|
7333 |
+
}
|
7334 |
+
|
7335 |
+
shortcut = shortcut.replace('BACKSLASH', '\\').replace('SLASH', '/').replace('LEFTBRACKET', '[').replace('RIGHTBRACKET', ']');
|
7336 |
+
return ' (' + shortcut + ')';
|
7337 |
+
}
|
7338 |
+
}, {
|
7339 |
+
key: "button",
|
7340 |
+
value: function button(o) {
|
7341 |
+
if (!this.options.tooltip && o.tooltip) {
|
7342 |
+
delete o.tooltip;
|
7343 |
+
}
|
7344 |
+
|
7345 |
+
o.container = this.options.container;
|
7346 |
+
return this.ui.button(o);
|
7347 |
+
}
|
7348 |
+
}, {
|
7349 |
+
key: "initialize",
|
7350 |
+
value: function initialize() {
|
7351 |
+
this.addToolbarButtons();
|
7352 |
+
this.addImagePopoverButtons();
|
7353 |
+
this.addLinkPopoverButtons();
|
7354 |
+
this.addTablePopoverButtons();
|
7355 |
+
this.fontInstalledMap = {};
|
7356 |
+
}
|
7357 |
+
}, {
|
7358 |
+
key: "destroy",
|
7359 |
+
value: function destroy() {
|
7360 |
+
delete this.fontInstalledMap;
|
7361 |
+
}
|
7362 |
+
}, {
|
7363 |
+
key: "isFontInstalled",
|
7364 |
+
value: function isFontInstalled(name) {
|
7365 |
+
if (!Object.prototype.hasOwnProperty.call(this.fontInstalledMap, name)) {
|
7366 |
+
this.fontInstalledMap[name] = env.isFontInstalled(name) || lists.contains(this.options.fontNamesIgnoreCheck, name);
|
7367 |
+
}
|
7368 |
+
|
7369 |
+
return this.fontInstalledMap[name];
|
7370 |
+
}
|
7371 |
+
}, {
|
7372 |
+
key: "isFontDeservedToAdd",
|
7373 |
+
value: function isFontDeservedToAdd(name) {
|
7374 |
+
name = name.toLowerCase();
|
7375 |
+
return name !== '' && this.isFontInstalled(name) && env.genericFontFamilies.indexOf(name) === -1;
|
7376 |
+
}
|
7377 |
+
}, {
|
7378 |
+
key: "colorPalette",
|
7379 |
+
value: function colorPalette(className, tooltip, backColor, foreColor) {
|
7380 |
+
var _this = this;
|
7381 |
+
|
7382 |
+
return this.ui.buttonGroup({
|
7383 |
+
className: 'note-color ' + className,
|
7384 |
+
children: [this.button({
|
7385 |
+
className: 'note-current-color-button',
|
7386 |
+
contents: this.ui.icon(this.options.icons.font + ' note-recent-color'),
|
7387 |
+
tooltip: tooltip,
|
7388 |
+
click: function click(e) {
|
7389 |
+
var $button = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(e.currentTarget);
|
7390 |
+
|
7391 |
+
if (backColor && foreColor) {
|
7392 |
+
_this.context.invoke('editor.color', {
|
7393 |
+
backColor: $button.attr('data-backColor'),
|
7394 |
+
foreColor: $button.attr('data-foreColor')
|
7395 |
+
});
|
7396 |
+
} else if (backColor) {
|
7397 |
+
_this.context.invoke('editor.color', {
|
7398 |
+
backColor: $button.attr('data-backColor')
|
7399 |
+
});
|
7400 |
+
} else if (foreColor) {
|
7401 |
+
_this.context.invoke('editor.color', {
|
7402 |
+
foreColor: $button.attr('data-foreColor')
|
7403 |
+
});
|
7404 |
+
}
|
7405 |
+
},
|
7406 |
+
callback: function callback($button) {
|
7407 |
+
var $recentColor = $button.find('.note-recent-color');
|
7408 |
+
|
7409 |
+
if (backColor) {
|
7410 |
+
$recentColor.css('background-color', _this.options.colorButton.backColor);
|
7411 |
+
$button.attr('data-backColor', _this.options.colorButton.backColor);
|
7412 |
+
}
|
7413 |
+
|
7414 |
+
if (foreColor) {
|
7415 |
+
$recentColor.css('color', _this.options.colorButton.foreColor);
|
7416 |
+
$button.attr('data-foreColor', _this.options.colorButton.foreColor);
|
7417 |
+
} else {
|
7418 |
+
$recentColor.css('color', 'transparent');
|
7419 |
+
}
|
7420 |
+
}
|
7421 |
+
}), this.button({
|
7422 |
+
className: 'dropdown-toggle',
|
7423 |
+
contents: this.ui.dropdownButtonContents('', this.options),
|
7424 |
+
tooltip: this.lang.color.more,
|
7425 |
+
data: {
|
7426 |
+
toggle: 'dropdown'
|
7427 |
+
}
|
7428 |
+
}), this.ui.dropdown({
|
7429 |
+
items: (backColor ? ['<div class="note-palette">', '<div class="note-palette-title">' + this.lang.color.background + '</div>', '<div>', '<button type="button" class="note-color-reset btn btn-light btn-default" data-event="backColor" data-value="transparent">', this.lang.color.transparent, '</button>', '</div>', '<div class="note-holder" data-event="backColor"><!-- back colors --></div>', '<div>', '<button type="button" class="note-color-select btn btn-light btn-default" data-event="openPalette" data-value="backColorPicker">', this.lang.color.cpSelect, '</button>', '<input type="color" id="backColorPicker" class="note-btn note-color-select-btn" value="' + this.options.colorButton.backColor + '" data-event="backColorPalette">', '</div>', '<div class="note-holder-custom" id="backColorPalette" data-event="backColor"></div>', '</div>'].join('') : '') + (foreColor ? ['<div class="note-palette">', '<div class="note-palette-title">' + this.lang.color.foreground + '</div>', '<div>', '<button type="button" class="note-color-reset btn btn-light btn-default" data-event="removeFormat" data-value="foreColor">', this.lang.color.resetToDefault, '</button>', '</div>', '<div class="note-holder" data-event="foreColor"><!-- fore colors --></div>', '<div>', '<button type="button" class="note-color-select btn btn-light btn-default" data-event="openPalette" data-value="foreColorPicker">', this.lang.color.cpSelect, '</button>', '<input type="color" id="foreColorPicker" class="note-btn note-color-select-btn" value="' + this.options.colorButton.foreColor + '" data-event="foreColorPalette">', '</div>', // Fix missing Div, Commented to find easily if it's wrong
|
7430 |
+
'<div class="note-holder-custom" id="foreColorPalette" data-event="foreColor"></div>', '</div>'].join('') : ''),
|
7431 |
+
callback: function callback($dropdown) {
|
7432 |
+
$dropdown.find('.note-holder').each(function (idx, item) {
|
7433 |
+
var $holder = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(item);
|
7434 |
+
$holder.append(_this.ui.palette({
|
7435 |
+
colors: _this.options.colors,
|
7436 |
+
colorsName: _this.options.colorsName,
|
7437 |
+
eventName: $holder.data('event'),
|
7438 |
+
container: _this.options.container,
|
7439 |
+
tooltip: _this.options.tooltip
|
7440 |
+
}).render());
|
7441 |
+
});
|
7442 |
+
/* TODO: do we have to record recent custom colors within cookies? */
|
7443 |
+
|
7444 |
+
var customColors = [['#FFFFFF', '#FFFFFF', '#FFFFFF', '#FFFFFF', '#FFFFFF', '#FFFFFF', '#FFFFFF', '#FFFFFF']];
|
7445 |
+
$dropdown.find('.note-holder-custom').each(function (idx, item) {
|
7446 |
+
var $holder = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(item);
|
7447 |
+
$holder.append(_this.ui.palette({
|
7448 |
+
colors: customColors,
|
7449 |
+
colorsName: customColors,
|
7450 |
+
eventName: $holder.data('event'),
|
7451 |
+
container: _this.options.container,
|
7452 |
+
tooltip: _this.options.tooltip
|
7453 |
+
}).render());
|
7454 |
+
});
|
7455 |
+
$dropdown.find('input[type=color]').each(function (idx, item) {
|
7456 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(item).change(function () {
|
7457 |
+
var $chip = $dropdown.find('#' + external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(this).data('event')).find('.note-color-btn').first();
|
7458 |
+
var color = this.value.toUpperCase();
|
7459 |
+
$chip.css('background-color', color).attr('aria-label', color).attr('data-value', color).attr('data-original-title', color);
|
7460 |
+
$chip.click();
|
7461 |
+
});
|
7462 |
+
});
|
7463 |
+
},
|
7464 |
+
click: function click(event) {
|
7465 |
+
event.stopPropagation();
|
7466 |
+
var $parent = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()('.' + className).find('.note-dropdown-menu');
|
7467 |
+
var $button = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(event.target);
|
7468 |
+
var eventName = $button.data('event');
|
7469 |
+
var value = $button.attr('data-value');
|
7470 |
+
|
7471 |
+
if (eventName === 'openPalette') {
|
7472 |
+
var $picker = $parent.find('#' + value);
|
7473 |
+
var $palette = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()($parent.find('#' + $picker.data('event')).find('.note-color-row')[0]); // Shift palette chips
|
7474 |
+
|
7475 |
+
var $chip = $palette.find('.note-color-btn').last().detach(); // Set chip attributes
|
7476 |
+
|
7477 |
+
var color = $picker.val();
|
7478 |
+
$chip.css('background-color', color).attr('aria-label', color).attr('data-value', color).attr('data-original-title', color);
|
7479 |
+
$palette.prepend($chip);
|
7480 |
+
$picker.click();
|
7481 |
+
} else {
|
7482 |
+
if (lists.contains(['backColor', 'foreColor'], eventName)) {
|
7483 |
+
var key = eventName === 'backColor' ? 'background-color' : 'color';
|
7484 |
+
var $color = $button.closest('.note-color').find('.note-recent-color');
|
7485 |
+
var $currentButton = $button.closest('.note-color').find('.note-current-color-button');
|
7486 |
+
$color.css(key, value);
|
7487 |
+
$currentButton.attr('data-' + eventName, value);
|
7488 |
+
}
|
7489 |
+
|
7490 |
+
_this.context.invoke('editor.' + eventName, value);
|
7491 |
+
}
|
7492 |
+
}
|
7493 |
+
})]
|
7494 |
+
}).render();
|
7495 |
+
}
|
7496 |
+
}, {
|
7497 |
+
key: "addToolbarButtons",
|
7498 |
+
value: function addToolbarButtons() {
|
7499 |
+
var _this2 = this;
|
7500 |
+
|
7501 |
+
this.context.memo('button.style', function () {
|
7502 |
+
return _this2.ui.buttonGroup([_this2.button({
|
7503 |
+
className: 'dropdown-toggle',
|
7504 |
+
contents: _this2.ui.dropdownButtonContents(_this2.ui.icon(_this2.options.icons.magic), _this2.options),
|
7505 |
+
tooltip: _this2.lang.style.style,
|
7506 |
+
data: {
|
7507 |
+
toggle: 'dropdown'
|
7508 |
+
}
|
7509 |
+
}), _this2.ui.dropdown({
|
7510 |
+
className: 'dropdown-style',
|
7511 |
+
items: _this2.options.styleTags,
|
7512 |
+
title: _this2.lang.style.style,
|
7513 |
+
template: function template(item) {
|
7514 |
+
// TBD: need to be simplified
|
7515 |
+
if (typeof item === 'string') {
|
7516 |
+
item = {
|
7517 |
+
tag: item,
|
7518 |
+
title: Object.prototype.hasOwnProperty.call(_this2.lang.style, item) ? _this2.lang.style[item] : item
|
7519 |
+
};
|
7520 |
+
}
|
7521 |
+
|
7522 |
+
var tag = item.tag;
|
7523 |
+
var title = item.title;
|
7524 |
+
var style = item.style ? ' style="' + item.style + '" ' : '';
|
7525 |
+
var className = item.className ? ' class="' + item.className + '"' : '';
|
7526 |
+
return '<' + tag + style + className + '>' + title + '</' + tag + '>';
|
7527 |
+
},
|
7528 |
+
click: _this2.context.createInvokeHandler('editor.formatBlock')
|
7529 |
+
})]).render();
|
7530 |
+
});
|
7531 |
+
|
7532 |
+
var _loop = function _loop(styleIdx, styleLen) {
|
7533 |
+
var item = _this2.options.styleTags[styleIdx];
|
7534 |
+
|
7535 |
+
_this2.context.memo('button.style.' + item, function () {
|
7536 |
+
return _this2.button({
|
7537 |
+
className: 'note-btn-style-' + item,
|
7538 |
+
contents: '<div data-value="' + item + '">' + item.toUpperCase() + '</div>',
|
7539 |
+
tooltip: _this2.lang.style[item],
|
7540 |
+
click: _this2.context.createInvokeHandler('editor.formatBlock')
|
7541 |
+
}).render();
|
7542 |
+
});
|
7543 |
+
};
|
7544 |
+
|
7545 |
+
for (var styleIdx = 0, styleLen = this.options.styleTags.length; styleIdx < styleLen; styleIdx++) {
|
7546 |
+
_loop(styleIdx, styleLen);
|
7547 |
+
}
|
7548 |
+
|
7549 |
+
this.context.memo('button.bold', function () {
|
7550 |
+
return _this2.button({
|
7551 |
+
className: 'note-btn-bold',
|
7552 |
+
contents: _this2.ui.icon(_this2.options.icons.bold),
|
7553 |
+
tooltip: _this2.lang.font.bold + _this2.representShortcut('bold'),
|
7554 |
+
click: _this2.context.createInvokeHandlerAndUpdateState('editor.bold')
|
7555 |
+
}).render();
|
7556 |
+
});
|
7557 |
+
this.context.memo('button.italic', function () {
|
7558 |
+
return _this2.button({
|
7559 |
+
className: 'note-btn-italic',
|
7560 |
+
contents: _this2.ui.icon(_this2.options.icons.italic),
|
7561 |
+
tooltip: _this2.lang.font.italic + _this2.representShortcut('italic'),
|
7562 |
+
click: _this2.context.createInvokeHandlerAndUpdateState('editor.italic')
|
7563 |
+
}).render();
|
7564 |
+
});
|
7565 |
+
this.context.memo('button.underline', function () {
|
7566 |
+
return _this2.button({
|
7567 |
+
className: 'note-btn-underline',
|
7568 |
+
contents: _this2.ui.icon(_this2.options.icons.underline),
|
7569 |
+
tooltip: _this2.lang.font.underline + _this2.representShortcut('underline'),
|
7570 |
+
click: _this2.context.createInvokeHandlerAndUpdateState('editor.underline')
|
7571 |
+
}).render();
|
7572 |
+
});
|
7573 |
+
this.context.memo('button.clear', function () {
|
7574 |
+
return _this2.button({
|
7575 |
+
contents: _this2.ui.icon(_this2.options.icons.eraser),
|
7576 |
+
tooltip: _this2.lang.font.clear + _this2.representShortcut('removeFormat'),
|
7577 |
+
click: _this2.context.createInvokeHandler('editor.removeFormat')
|
7578 |
+
}).render();
|
7579 |
+
});
|
7580 |
+
this.context.memo('button.strikethrough', function () {
|
7581 |
+
return _this2.button({
|
7582 |
+
className: 'note-btn-strikethrough',
|
7583 |
+
contents: _this2.ui.icon(_this2.options.icons.strikethrough),
|
7584 |
+
tooltip: _this2.lang.font.strikethrough + _this2.representShortcut('strikethrough'),
|
7585 |
+
click: _this2.context.createInvokeHandlerAndUpdateState('editor.strikethrough')
|
7586 |
+
}).render();
|
7587 |
+
});
|
7588 |
+
this.context.memo('button.superscript', function () {
|
7589 |
+
return _this2.button({
|
7590 |
+
className: 'note-btn-superscript',
|
7591 |
+
contents: _this2.ui.icon(_this2.options.icons.superscript),
|
7592 |
+
tooltip: _this2.lang.font.superscript,
|
7593 |
+
click: _this2.context.createInvokeHandlerAndUpdateState('editor.superscript')
|
7594 |
+
}).render();
|
7595 |
+
});
|
7596 |
+
this.context.memo('button.subscript', function () {
|
7597 |
+
return _this2.button({
|
7598 |
+
className: 'note-btn-subscript',
|
7599 |
+
contents: _this2.ui.icon(_this2.options.icons.subscript),
|
7600 |
+
tooltip: _this2.lang.font.subscript,
|
7601 |
+
click: _this2.context.createInvokeHandlerAndUpdateState('editor.subscript')
|
7602 |
+
}).render();
|
7603 |
+
});
|
7604 |
+
this.context.memo('button.fontname', function () {
|
7605 |
+
var styleInfo = _this2.context.invoke('editor.currentStyle');
|
7606 |
+
|
7607 |
+
if (_this2.options.addDefaultFonts) {
|
7608 |
+
// Add 'default' fonts into the fontnames array if not exist
|
7609 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.each(styleInfo['font-family'].split(','), function (idx, fontname) {
|
7610 |
+
fontname = fontname.trim().replace(/['"]+/g, '');
|
7611 |
+
|
7612 |
+
if (_this2.isFontDeservedToAdd(fontname)) {
|
7613 |
+
if (_this2.options.fontNames.indexOf(fontname) === -1) {
|
7614 |
+
_this2.options.fontNames.push(fontname);
|
7615 |
+
}
|
7616 |
+
}
|
7617 |
+
});
|
7618 |
+
}
|
7619 |
+
|
7620 |
+
return _this2.ui.buttonGroup([_this2.button({
|
7621 |
+
className: 'dropdown-toggle',
|
7622 |
+
contents: _this2.ui.dropdownButtonContents('<span class="note-current-fontname"></span>', _this2.options),
|
7623 |
+
tooltip: _this2.lang.font.name,
|
7624 |
+
data: {
|
7625 |
+
toggle: 'dropdown'
|
7626 |
+
}
|
7627 |
+
}), _this2.ui.dropdownCheck({
|
7628 |
+
className: 'dropdown-fontname',
|
7629 |
+
checkClassName: _this2.options.icons.menuCheck,
|
7630 |
+
items: _this2.options.fontNames.filter(_this2.isFontInstalled.bind(_this2)),
|
7631 |
+
title: _this2.lang.font.name,
|
7632 |
+
template: function template(item) {
|
7633 |
+
return '<span style="font-family: ' + env.validFontName(item) + '">' + item + '</span>';
|
7634 |
+
},
|
7635 |
+
click: _this2.context.createInvokeHandlerAndUpdateState('editor.fontName')
|
7636 |
+
})]).render();
|
7637 |
+
});
|
7638 |
+
this.context.memo('button.fontsize', function () {
|
7639 |
+
return _this2.ui.buttonGroup([_this2.button({
|
7640 |
+
className: 'dropdown-toggle',
|
7641 |
+
contents: _this2.ui.dropdownButtonContents('<span class="note-current-fontsize"></span>', _this2.options),
|
7642 |
+
tooltip: _this2.lang.font.size,
|
7643 |
+
data: {
|
7644 |
+
toggle: 'dropdown'
|
7645 |
+
}
|
7646 |
+
}), _this2.ui.dropdownCheck({
|
7647 |
+
className: 'dropdown-fontsize',
|
7648 |
+
checkClassName: _this2.options.icons.menuCheck,
|
7649 |
+
items: _this2.options.fontSizes,
|
7650 |
+
title: _this2.lang.font.size,
|
7651 |
+
click: _this2.context.createInvokeHandlerAndUpdateState('editor.fontSize')
|
7652 |
+
})]).render();
|
7653 |
+
});
|
7654 |
+
this.context.memo('button.fontsizeunit', function () {
|
7655 |
+
return _this2.ui.buttonGroup([_this2.button({
|
7656 |
+
className: 'dropdown-toggle',
|
7657 |
+
contents: _this2.ui.dropdownButtonContents('<span class="note-current-fontsizeunit"></span>', _this2.options),
|
7658 |
+
tooltip: _this2.lang.font.sizeunit,
|
7659 |
+
data: {
|
7660 |
+
toggle: 'dropdown'
|
7661 |
+
}
|
7662 |
+
}), _this2.ui.dropdownCheck({
|
7663 |
+
className: 'dropdown-fontsizeunit',
|
7664 |
+
checkClassName: _this2.options.icons.menuCheck,
|
7665 |
+
items: _this2.options.fontSizeUnits,
|
7666 |
+
title: _this2.lang.font.sizeunit,
|
7667 |
+
click: _this2.context.createInvokeHandlerAndUpdateState('editor.fontSizeUnit')
|
7668 |
+
})]).render();
|
7669 |
+
});
|
7670 |
+
this.context.memo('button.color', function () {
|
7671 |
+
return _this2.colorPalette('note-color-all', _this2.lang.color.recent, true, true);
|
7672 |
+
});
|
7673 |
+
this.context.memo('button.forecolor', function () {
|
7674 |
+
return _this2.colorPalette('note-color-fore', _this2.lang.color.foreground, false, true);
|
7675 |
+
});
|
7676 |
+
this.context.memo('button.backcolor', function () {
|
7677 |
+
return _this2.colorPalette('note-color-back', _this2.lang.color.background, true, false);
|
7678 |
+
});
|
7679 |
+
this.context.memo('button.ul', function () {
|
7680 |
+
return _this2.button({
|
7681 |
+
contents: _this2.ui.icon(_this2.options.icons.unorderedlist),
|
7682 |
+
tooltip: _this2.lang.lists.unordered + _this2.representShortcut('insertUnorderedList'),
|
7683 |
+
click: _this2.context.createInvokeHandler('editor.insertUnorderedList')
|
7684 |
+
}).render();
|
7685 |
+
});
|
7686 |
+
this.context.memo('button.ol', function () {
|
7687 |
+
return _this2.button({
|
7688 |
+
contents: _this2.ui.icon(_this2.options.icons.orderedlist),
|
7689 |
+
tooltip: _this2.lang.lists.ordered + _this2.representShortcut('insertOrderedList'),
|
7690 |
+
click: _this2.context.createInvokeHandler('editor.insertOrderedList')
|
7691 |
+
}).render();
|
7692 |
+
});
|
7693 |
+
var justifyLeft = this.button({
|
7694 |
+
contents: this.ui.icon(this.options.icons.alignLeft),
|
7695 |
+
tooltip: this.lang.paragraph.left + this.representShortcut('justifyLeft'),
|
7696 |
+
click: this.context.createInvokeHandler('editor.justifyLeft')
|
7697 |
+
});
|
7698 |
+
var justifyCenter = this.button({
|
7699 |
+
contents: this.ui.icon(this.options.icons.alignCenter),
|
7700 |
+
tooltip: this.lang.paragraph.center + this.representShortcut('justifyCenter'),
|
7701 |
+
click: this.context.createInvokeHandler('editor.justifyCenter')
|
7702 |
+
});
|
7703 |
+
var justifyRight = this.button({
|
7704 |
+
contents: this.ui.icon(this.options.icons.alignRight),
|
7705 |
+
tooltip: this.lang.paragraph.right + this.representShortcut('justifyRight'),
|
7706 |
+
click: this.context.createInvokeHandler('editor.justifyRight')
|
7707 |
+
});
|
7708 |
+
var justifyFull = this.button({
|
7709 |
+
contents: this.ui.icon(this.options.icons.alignJustify),
|
7710 |
+
tooltip: this.lang.paragraph.justify + this.representShortcut('justifyFull'),
|
7711 |
+
click: this.context.createInvokeHandler('editor.justifyFull')
|
7712 |
+
});
|
7713 |
+
var outdent = this.button({
|
7714 |
+
contents: this.ui.icon(this.options.icons.outdent),
|
7715 |
+
tooltip: this.lang.paragraph.outdent + this.representShortcut('outdent'),
|
7716 |
+
click: this.context.createInvokeHandler('editor.outdent')
|
7717 |
+
});
|
7718 |
+
var indent = this.button({
|
7719 |
+
contents: this.ui.icon(this.options.icons.indent),
|
7720 |
+
tooltip: this.lang.paragraph.indent + this.representShortcut('indent'),
|
7721 |
+
click: this.context.createInvokeHandler('editor.indent')
|
7722 |
+
});
|
7723 |
+
this.context.memo('button.justifyLeft', func.invoke(justifyLeft, 'render'));
|
7724 |
+
this.context.memo('button.justifyCenter', func.invoke(justifyCenter, 'render'));
|
7725 |
+
this.context.memo('button.justifyRight', func.invoke(justifyRight, 'render'));
|
7726 |
+
this.context.memo('button.justifyFull', func.invoke(justifyFull, 'render'));
|
7727 |
+
this.context.memo('button.outdent', func.invoke(outdent, 'render'));
|
7728 |
+
this.context.memo('button.indent', func.invoke(indent, 'render'));
|
7729 |
+
this.context.memo('button.paragraph', function () {
|
7730 |
+
return _this2.ui.buttonGroup([_this2.button({
|
7731 |
+
className: 'dropdown-toggle',
|
7732 |
+
contents: _this2.ui.dropdownButtonContents(_this2.ui.icon(_this2.options.icons.alignLeft), _this2.options),
|
7733 |
+
tooltip: _this2.lang.paragraph.paragraph,
|
7734 |
+
data: {
|
7735 |
+
toggle: 'dropdown'
|
7736 |
+
}
|
7737 |
+
}), _this2.ui.dropdown([_this2.ui.buttonGroup({
|
7738 |
+
className: 'note-align',
|
7739 |
+
children: [justifyLeft, justifyCenter, justifyRight, justifyFull]
|
7740 |
+
}), _this2.ui.buttonGroup({
|
7741 |
+
className: 'note-list',
|
7742 |
+
children: [outdent, indent]
|
7743 |
+
})])]).render();
|
7744 |
+
});
|
7745 |
+
this.context.memo('button.height', function () {
|
7746 |
+
return _this2.ui.buttonGroup([_this2.button({
|
7747 |
+
className: 'dropdown-toggle',
|
7748 |
+
contents: _this2.ui.dropdownButtonContents(_this2.ui.icon(_this2.options.icons.textHeight), _this2.options),
|
7749 |
+
tooltip: _this2.lang.font.height,
|
7750 |
+
data: {
|
7751 |
+
toggle: 'dropdown'
|
7752 |
+
}
|
7753 |
+
}), _this2.ui.dropdownCheck({
|
7754 |
+
items: _this2.options.lineHeights,
|
7755 |
+
checkClassName: _this2.options.icons.menuCheck,
|
7756 |
+
className: 'dropdown-line-height',
|
7757 |
+
title: _this2.lang.font.height,
|
7758 |
+
click: _this2.context.createInvokeHandler('editor.lineHeight')
|
7759 |
+
})]).render();
|
7760 |
+
});
|
7761 |
+
this.context.memo('button.table', function () {
|
7762 |
+
return _this2.ui.buttonGroup([_this2.button({
|
7763 |
+
className: 'dropdown-toggle',
|
7764 |
+
contents: _this2.ui.dropdownButtonContents(_this2.ui.icon(_this2.options.icons.table), _this2.options),
|
7765 |
+
tooltip: _this2.lang.table.table,
|
7766 |
+
data: {
|
7767 |
+
toggle: 'dropdown'
|
7768 |
+
}
|
7769 |
+
}), _this2.ui.dropdown({
|
7770 |
+
title: _this2.lang.table.table,
|
7771 |
+
className: 'note-table',
|
7772 |
+
items: ['<div class="note-dimension-picker">', '<div class="note-dimension-picker-mousecatcher" data-event="insertTable" data-value="1x1"></div>', '<div class="note-dimension-picker-highlighted"></div>', '<div class="note-dimension-picker-unhighlighted"></div>', '</div>', '<div class="note-dimension-display">1 x 1</div>'].join('')
|
7773 |
+
})], {
|
7774 |
+
callback: function callback($node) {
|
7775 |
+
var $catcher = $node.find('.note-dimension-picker-mousecatcher');
|
7776 |
+
$catcher.css({
|
7777 |
+
width: _this2.options.insertTableMaxSize.col + 'em',
|
7778 |
+
height: _this2.options.insertTableMaxSize.row + 'em'
|
7779 |
+
}).mousedown(_this2.context.createInvokeHandler('editor.insertTable')).on('mousemove', _this2.tableMoveHandler.bind(_this2));
|
7780 |
+
}
|
7781 |
+
}).render();
|
7782 |
+
});
|
7783 |
+
this.context.memo('button.link', function () {
|
7784 |
+
return _this2.button({
|
7785 |
+
contents: _this2.ui.icon(_this2.options.icons.link),
|
7786 |
+
tooltip: _this2.lang.link.link + _this2.representShortcut('linkDialog.show'),
|
7787 |
+
click: _this2.context.createInvokeHandler('linkDialog.show')
|
7788 |
+
}).render();
|
7789 |
+
});
|
7790 |
+
this.context.memo('button.picture', function () {
|
7791 |
+
return _this2.button({
|
7792 |
+
contents: _this2.ui.icon(_this2.options.icons.picture),
|
7793 |
+
tooltip: _this2.lang.image.image,
|
7794 |
+
click: _this2.context.createInvokeHandler('imageDialog.show')
|
7795 |
+
}).render();
|
7796 |
+
});
|
7797 |
+
this.context.memo('button.video', function () {
|
7798 |
+
return _this2.button({
|
7799 |
+
contents: _this2.ui.icon(_this2.options.icons.video),
|
7800 |
+
tooltip: _this2.lang.video.video,
|
7801 |
+
click: _this2.context.createInvokeHandler('videoDialog.show')
|
7802 |
+
}).render();
|
7803 |
+
});
|
7804 |
+
this.context.memo('button.hr', function () {
|
7805 |
+
return _this2.button({
|
7806 |
+
contents: _this2.ui.icon(_this2.options.icons.minus),
|
7807 |
+
tooltip: _this2.lang.hr.insert + _this2.representShortcut('insertHorizontalRule'),
|
7808 |
+
click: _this2.context.createInvokeHandler('editor.insertHorizontalRule')
|
7809 |
+
}).render();
|
7810 |
+
});
|
7811 |
+
this.context.memo('button.fullscreen', function () {
|
7812 |
+
return _this2.button({
|
7813 |
+
className: 'btn-fullscreen note-codeview-keep',
|
7814 |
+
contents: _this2.ui.icon(_this2.options.icons.arrowsAlt),
|
7815 |
+
tooltip: _this2.lang.options.fullscreen,
|
7816 |
+
click: _this2.context.createInvokeHandler('fullscreen.toggle')
|
7817 |
+
}).render();
|
7818 |
+
});
|
7819 |
+
this.context.memo('button.codeview', function () {
|
7820 |
+
return _this2.button({
|
7821 |
+
className: 'btn-codeview note-codeview-keep',
|
7822 |
+
contents: _this2.ui.icon(_this2.options.icons.code),
|
7823 |
+
tooltip: _this2.lang.options.codeview,
|
7824 |
+
click: _this2.context.createInvokeHandler('codeview.toggle')
|
7825 |
+
}).render();
|
7826 |
+
});
|
7827 |
+
this.context.memo('button.redo', function () {
|
7828 |
+
return _this2.button({
|
7829 |
+
contents: _this2.ui.icon(_this2.options.icons.redo),
|
7830 |
+
tooltip: _this2.lang.history.redo + _this2.representShortcut('redo'),
|
7831 |
+
click: _this2.context.createInvokeHandler('editor.redo')
|
7832 |
+
}).render();
|
7833 |
+
});
|
7834 |
+
this.context.memo('button.undo', function () {
|
7835 |
+
return _this2.button({
|
7836 |
+
contents: _this2.ui.icon(_this2.options.icons.undo),
|
7837 |
+
tooltip: _this2.lang.history.undo + _this2.representShortcut('undo'),
|
7838 |
+
click: _this2.context.createInvokeHandler('editor.undo')
|
7839 |
+
}).render();
|
7840 |
+
});
|
7841 |
+
this.context.memo('button.help', function () {
|
7842 |
+
return _this2.button({
|
7843 |
+
contents: _this2.ui.icon(_this2.options.icons.question),
|
7844 |
+
tooltip: _this2.lang.options.help,
|
7845 |
+
click: _this2.context.createInvokeHandler('helpDialog.show')
|
7846 |
+
}).render();
|
7847 |
+
});
|
7848 |
+
}
|
7849 |
+
/**
|
7850 |
+
* image: [
|
7851 |
+
* ['imageResize', ['resizeFull', 'resizeHalf', 'resizeQuarter', 'resizeNone']],
|
7852 |
+
* ['float', ['floatLeft', 'floatRight', 'floatNone']],
|
7853 |
+
* ['remove', ['removeMedia']],
|
7854 |
+
* ],
|
7855 |
+
*/
|
7856 |
+
|
7857 |
+
}, {
|
7858 |
+
key: "addImagePopoverButtons",
|
7859 |
+
value: function addImagePopoverButtons() {
|
7860 |
+
var _this3 = this;
|
7861 |
+
|
7862 |
+
// Image Size Buttons
|
7863 |
+
this.context.memo('button.resizeFull', function () {
|
7864 |
+
return _this3.button({
|
7865 |
+
contents: '<span class="note-fontsize-10">100%</span>',
|
7866 |
+
tooltip: _this3.lang.image.resizeFull,
|
7867 |
+
click: _this3.context.createInvokeHandler('editor.resize', '1')
|
7868 |
+
}).render();
|
7869 |
+
});
|
7870 |
+
this.context.memo('button.resizeHalf', function () {
|
7871 |
+
return _this3.button({
|
7872 |
+
contents: '<span class="note-fontsize-10">50%</span>',
|
7873 |
+
tooltip: _this3.lang.image.resizeHalf,
|
7874 |
+
click: _this3.context.createInvokeHandler('editor.resize', '0.5')
|
7875 |
+
}).render();
|
7876 |
+
});
|
7877 |
+
this.context.memo('button.resizeQuarter', function () {
|
7878 |
+
return _this3.button({
|
7879 |
+
contents: '<span class="note-fontsize-10">25%</span>',
|
7880 |
+
tooltip: _this3.lang.image.resizeQuarter,
|
7881 |
+
click: _this3.context.createInvokeHandler('editor.resize', '0.25')
|
7882 |
+
}).render();
|
7883 |
+
});
|
7884 |
+
this.context.memo('button.resizeNone', function () {
|
7885 |
+
return _this3.button({
|
7886 |
+
contents: _this3.ui.icon(_this3.options.icons.rollback),
|
7887 |
+
tooltip: _this3.lang.image.resizeNone,
|
7888 |
+
click: _this3.context.createInvokeHandler('editor.resize', '0')
|
7889 |
+
}).render();
|
7890 |
+
}); // Float Buttons
|
7891 |
+
|
7892 |
+
this.context.memo('button.floatLeft', function () {
|
7893 |
+
return _this3.button({
|
7894 |
+
contents: _this3.ui.icon(_this3.options.icons.floatLeft),
|
7895 |
+
tooltip: _this3.lang.image.floatLeft,
|
7896 |
+
click: _this3.context.createInvokeHandler('editor.floatMe', 'left')
|
7897 |
+
}).render();
|
7898 |
+
});
|
7899 |
+
this.context.memo('button.floatRight', function () {
|
7900 |
+
return _this3.button({
|
7901 |
+
contents: _this3.ui.icon(_this3.options.icons.floatRight),
|
7902 |
+
tooltip: _this3.lang.image.floatRight,
|
7903 |
+
click: _this3.context.createInvokeHandler('editor.floatMe', 'right')
|
7904 |
+
}).render();
|
7905 |
+
});
|
7906 |
+
this.context.memo('button.floatNone', function () {
|
7907 |
+
return _this3.button({
|
7908 |
+
contents: _this3.ui.icon(_this3.options.icons.rollback),
|
7909 |
+
tooltip: _this3.lang.image.floatNone,
|
7910 |
+
click: _this3.context.createInvokeHandler('editor.floatMe', 'none')
|
7911 |
+
}).render();
|
7912 |
+
}); // Remove Buttons
|
7913 |
+
|
7914 |
+
this.context.memo('button.removeMedia', function () {
|
7915 |
+
return _this3.button({
|
7916 |
+
contents: _this3.ui.icon(_this3.options.icons.trash),
|
7917 |
+
tooltip: _this3.lang.image.remove,
|
7918 |
+
click: _this3.context.createInvokeHandler('editor.removeMedia')
|
7919 |
+
}).render();
|
7920 |
+
});
|
7921 |
+
}
|
7922 |
+
}, {
|
7923 |
+
key: "addLinkPopoverButtons",
|
7924 |
+
value: function addLinkPopoverButtons() {
|
7925 |
+
var _this4 = this;
|
7926 |
+
|
7927 |
+
this.context.memo('button.linkDialogShow', function () {
|
7928 |
+
return _this4.button({
|
7929 |
+
contents: _this4.ui.icon(_this4.options.icons.link),
|
7930 |
+
tooltip: _this4.lang.link.edit,
|
7931 |
+
click: _this4.context.createInvokeHandler('linkDialog.show')
|
7932 |
+
}).render();
|
7933 |
+
});
|
7934 |
+
this.context.memo('button.unlink', function () {
|
7935 |
+
return _this4.button({
|
7936 |
+
contents: _this4.ui.icon(_this4.options.icons.unlink),
|
7937 |
+
tooltip: _this4.lang.link.unlink,
|
7938 |
+
click: _this4.context.createInvokeHandler('editor.unlink')
|
7939 |
+
}).render();
|
7940 |
+
});
|
7941 |
+
}
|
7942 |
+
/**
|
7943 |
+
* table : [
|
7944 |
+
* ['add', ['addRowDown', 'addRowUp', 'addColLeft', 'addColRight']],
|
7945 |
+
* ['delete', ['deleteRow', 'deleteCol', 'deleteTable']]
|
7946 |
+
* ],
|
7947 |
+
*/
|
7948 |
+
|
7949 |
+
}, {
|
7950 |
+
key: "addTablePopoverButtons",
|
7951 |
+
value: function addTablePopoverButtons() {
|
7952 |
+
var _this5 = this;
|
7953 |
+
|
7954 |
+
this.context.memo('button.addRowUp', function () {
|
7955 |
+
return _this5.button({
|
7956 |
+
className: 'btn-md',
|
7957 |
+
contents: _this5.ui.icon(_this5.options.icons.rowAbove),
|
7958 |
+
tooltip: _this5.lang.table.addRowAbove,
|
7959 |
+
click: _this5.context.createInvokeHandler('editor.addRow', 'top')
|
7960 |
+
}).render();
|
7961 |
+
});
|
7962 |
+
this.context.memo('button.addRowDown', function () {
|
7963 |
+
return _this5.button({
|
7964 |
+
className: 'btn-md',
|
7965 |
+
contents: _this5.ui.icon(_this5.options.icons.rowBelow),
|
7966 |
+
tooltip: _this5.lang.table.addRowBelow,
|
7967 |
+
click: _this5.context.createInvokeHandler('editor.addRow', 'bottom')
|
7968 |
+
}).render();
|
7969 |
+
});
|
7970 |
+
this.context.memo('button.addColLeft', function () {
|
7971 |
+
return _this5.button({
|
7972 |
+
className: 'btn-md',
|
7973 |
+
contents: _this5.ui.icon(_this5.options.icons.colBefore),
|
7974 |
+
tooltip: _this5.lang.table.addColLeft,
|
7975 |
+
click: _this5.context.createInvokeHandler('editor.addCol', 'left')
|
7976 |
+
}).render();
|
7977 |
+
});
|
7978 |
+
this.context.memo('button.addColRight', function () {
|
7979 |
+
return _this5.button({
|
7980 |
+
className: 'btn-md',
|
7981 |
+
contents: _this5.ui.icon(_this5.options.icons.colAfter),
|
7982 |
+
tooltip: _this5.lang.table.addColRight,
|
7983 |
+
click: _this5.context.createInvokeHandler('editor.addCol', 'right')
|
7984 |
+
}).render();
|
7985 |
+
});
|
7986 |
+
this.context.memo('button.deleteRow', function () {
|
7987 |
+
return _this5.button({
|
7988 |
+
className: 'btn-md',
|
7989 |
+
contents: _this5.ui.icon(_this5.options.icons.rowRemove),
|
7990 |
+
tooltip: _this5.lang.table.delRow,
|
7991 |
+
click: _this5.context.createInvokeHandler('editor.deleteRow')
|
7992 |
+
}).render();
|
7993 |
+
});
|
7994 |
+
this.context.memo('button.deleteCol', function () {
|
7995 |
+
return _this5.button({
|
7996 |
+
className: 'btn-md',
|
7997 |
+
contents: _this5.ui.icon(_this5.options.icons.colRemove),
|
7998 |
+
tooltip: _this5.lang.table.delCol,
|
7999 |
+
click: _this5.context.createInvokeHandler('editor.deleteCol')
|
8000 |
+
}).render();
|
8001 |
+
});
|
8002 |
+
this.context.memo('button.deleteTable', function () {
|
8003 |
+
return _this5.button({
|
8004 |
+
className: 'btn-md',
|
8005 |
+
contents: _this5.ui.icon(_this5.options.icons.trash),
|
8006 |
+
tooltip: _this5.lang.table.delTable,
|
8007 |
+
click: _this5.context.createInvokeHandler('editor.deleteTable')
|
8008 |
+
}).render();
|
8009 |
+
});
|
8010 |
+
}
|
8011 |
+
}, {
|
8012 |
+
key: "build",
|
8013 |
+
value: function build($container, groups) {
|
8014 |
+
for (var groupIdx = 0, groupLen = groups.length; groupIdx < groupLen; groupIdx++) {
|
8015 |
+
var group = groups[groupIdx];
|
8016 |
+
var groupName = Array.isArray(group) ? group[0] : group;
|
8017 |
+
var buttons = Array.isArray(group) ? group.length === 1 ? [group[0]] : group[1] : [group];
|
8018 |
+
var $group = this.ui.buttonGroup({
|
8019 |
+
className: 'note-' + groupName
|
8020 |
+
}).render();
|
8021 |
+
|
8022 |
+
for (var idx = 0, len = buttons.length; idx < len; idx++) {
|
8023 |
+
var btn = this.context.memo('button.' + buttons[idx]);
|
8024 |
+
|
8025 |
+
if (btn) {
|
8026 |
+
$group.append(typeof btn === 'function' ? btn(this.context) : btn);
|
8027 |
+
}
|
8028 |
+
}
|
8029 |
+
|
8030 |
+
$group.appendTo($container);
|
8031 |
+
}
|
8032 |
+
}
|
8033 |
+
/**
|
8034 |
+
* @param {jQuery} [$container]
|
8035 |
+
*/
|
8036 |
+
|
8037 |
+
}, {
|
8038 |
+
key: "updateCurrentStyle",
|
8039 |
+
value: function updateCurrentStyle($container) {
|
8040 |
+
var _this6 = this;
|
8041 |
+
|
8042 |
+
var $cont = $container || this.$toolbar;
|
8043 |
+
var styleInfo = this.context.invoke('editor.currentStyle');
|
8044 |
+
this.updateBtnStates($cont, {
|
8045 |
+
'.note-btn-bold': function noteBtnBold() {
|
8046 |
+
return styleInfo['font-bold'] === 'bold';
|
8047 |
+
},
|
8048 |
+
'.note-btn-italic': function noteBtnItalic() {
|
8049 |
+
return styleInfo['font-italic'] === 'italic';
|
8050 |
+
},
|
8051 |
+
'.note-btn-underline': function noteBtnUnderline() {
|
8052 |
+
return styleInfo['font-underline'] === 'underline';
|
8053 |
+
},
|
8054 |
+
'.note-btn-subscript': function noteBtnSubscript() {
|
8055 |
+
return styleInfo['font-subscript'] === 'subscript';
|
8056 |
+
},
|
8057 |
+
'.note-btn-superscript': function noteBtnSuperscript() {
|
8058 |
+
return styleInfo['font-superscript'] === 'superscript';
|
8059 |
+
},
|
8060 |
+
'.note-btn-strikethrough': function noteBtnStrikethrough() {
|
8061 |
+
return styleInfo['font-strikethrough'] === 'strikethrough';
|
8062 |
+
}
|
8063 |
+
});
|
8064 |
+
|
8065 |
+
if (styleInfo['font-family']) {
|
8066 |
+
var fontNames = styleInfo['font-family'].split(',').map(function (name) {
|
8067 |
+
return name.replace(/[\'\"]/g, '').replace(/\s+$/, '').replace(/^\s+/, '');
|
8068 |
+
});
|
8069 |
+
var fontName = lists.find(fontNames, this.isFontInstalled.bind(this));
|
8070 |
+
$cont.find('.dropdown-fontname a').each(function (idx, item) {
|
8071 |
+
var $item = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(item); // always compare string to avoid creating another func.
|
8072 |
+
|
8073 |
+
var isChecked = $item.data('value') + '' === fontName + '';
|
8074 |
+
$item.toggleClass('checked', isChecked);
|
8075 |
+
});
|
8076 |
+
$cont.find('.note-current-fontname').text(fontName).css('font-family', fontName);
|
8077 |
+
}
|
8078 |
+
|
8079 |
+
if (styleInfo['font-size']) {
|
8080 |
+
var fontSize = styleInfo['font-size'];
|
8081 |
+
$cont.find('.dropdown-fontsize a').each(function (idx, item) {
|
8082 |
+
var $item = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(item); // always compare with string to avoid creating another func.
|
8083 |
+
|
8084 |
+
var isChecked = $item.data('value') + '' === fontSize + '';
|
8085 |
+
$item.toggleClass('checked', isChecked);
|
8086 |
+
});
|
8087 |
+
$cont.find('.note-current-fontsize').text(fontSize);
|
8088 |
+
var fontSizeUnit = styleInfo['font-size-unit'];
|
8089 |
+
$cont.find('.dropdown-fontsizeunit a').each(function (idx, item) {
|
8090 |
+
var $item = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(item);
|
8091 |
+
var isChecked = $item.data('value') + '' === fontSizeUnit + '';
|
8092 |
+
$item.toggleClass('checked', isChecked);
|
8093 |
+
});
|
8094 |
+
$cont.find('.note-current-fontsizeunit').text(fontSizeUnit);
|
8095 |
+
}
|
8096 |
+
|
8097 |
+
if (styleInfo['line-height']) {
|
8098 |
+
var lineHeight = styleInfo['line-height'];
|
8099 |
+
$cont.find('.dropdown-line-height li a').each(function (idx, item) {
|
8100 |
+
// always compare with string to avoid creating another func.
|
8101 |
+
var isChecked = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(item).data('value') + '' === lineHeight + '';
|
8102 |
+
_this6.className = isChecked ? 'checked' : '';
|
8103 |
+
});
|
8104 |
+
}
|
8105 |
+
}
|
8106 |
+
}, {
|
8107 |
+
key: "updateBtnStates",
|
8108 |
+
value: function updateBtnStates($container, infos) {
|
8109 |
+
var _this7 = this;
|
8110 |
+
|
8111 |
+
external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.each(infos, function (selector, pred) {
|
8112 |
+
_this7.ui.toggleBtnActive($container.find(selector), pred());
|
8113 |
+
});
|
8114 |
+
}
|
8115 |
+
}, {
|
8116 |
+
key: "tableMoveHandler",
|
8117 |
+
value: function tableMoveHandler(event) {
|
8118 |
+
var PX_PER_EM = 18;
|
8119 |
+
var $picker = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(event.target.parentNode); // target is mousecatcher
|
8120 |
+
|
8121 |
+
var $dimensionDisplay = $picker.next();
|
8122 |
+
var $catcher = $picker.find('.note-dimension-picker-mousecatcher');
|
8123 |
+
var $highlighted = $picker.find('.note-dimension-picker-highlighted');
|
8124 |
+
var $unhighlighted = $picker.find('.note-dimension-picker-unhighlighted');
|
8125 |
+
var posOffset; // HTML5 with jQuery - e.offsetX is undefined in Firefox
|
8126 |
+
|
8127 |
+
if (event.offsetX === undefined) {
|
8128 |
+
var posCatcher = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(event.target).offset();
|
8129 |
+
posOffset = {
|
8130 |
+
x: event.pageX - posCatcher.left,
|
8131 |
+
y: event.pageY - posCatcher.top
|
8132 |
+
};
|
8133 |
+
} else {
|
8134 |
+
posOffset = {
|
8135 |
+
x: event.offsetX,
|
8136 |
+
y: event.offsetY
|
8137 |
+
};
|
8138 |
+
}
|
8139 |
+
|
8140 |
+
var dim = {
|
8141 |
+
c: Math.ceil(posOffset.x / PX_PER_EM) || 1,
|
8142 |
+
r: Math.ceil(posOffset.y / PX_PER_EM) || 1
|
8143 |
+
};
|
8144 |
+
$highlighted.css({
|
8145 |
+
width: dim.c + 'em',
|
8146 |
+
height: dim.r + 'em'
|
8147 |
+
});
|
8148 |
+
$catcher.data('value', dim.c + 'x' + dim.r);
|
8149 |
+
|
8150 |
+
if (dim.c > 3 && dim.c < this.options.insertTableMaxSize.col) {
|
8151 |
+
$unhighlighted.css({
|
8152 |
+
width: dim.c + 1 + 'em'
|
8153 |
+
});
|
8154 |
+
}
|
8155 |
+
|
8156 |
+
if (dim.r > 3 && dim.r < this.options.insertTableMaxSize.row) {
|
8157 |
+
$unhighlighted.css({
|
8158 |
+
height: dim.r + 1 + 'em'
|
8159 |
+
});
|
8160 |
+
}
|
8161 |
+
|
8162 |
+
$dimensionDisplay.html(dim.c + ' x ' + dim.r);
|
8163 |
+
}
|
8164 |
+
}]);
|
8165 |
+
|
8166 |
+
return Buttons;
|
8167 |
+
}();
|
8168 |
+
|
8169 |
+
|
8170 |
+
// CONCATENATED MODULE: ./src/js/base/module/Toolbar.js
|
8171 |
+
function Toolbar_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
8172 |
+
|
8173 |
+
function Toolbar_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
8174 |
+
|
8175 |
+
function Toolbar_createClass(Constructor, protoProps, staticProps) { if (protoProps) Toolbar_defineProperties(Constructor.prototype, protoProps); if (staticProps) Toolbar_defineProperties(Constructor, staticProps); return Constructor; }
|
8176 |
+
|
8177 |
+
|
8178 |
+
|
8179 |
+
var Toolbar_Toolbar = /*#__PURE__*/function () {
|
8180 |
+
function Toolbar(context) {
|
8181 |
+
Toolbar_classCallCheck(this, Toolbar);
|
8182 |
+
|
8183 |
+
this.context = context;
|
8184 |
+
this.$window = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(window);
|
8185 |
+
this.$document = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(document);
|
8186 |
+
this.ui = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.summernote.ui;
|
8187 |
+
this.$note = context.layoutInfo.note;
|
8188 |
+
this.$editor = context.layoutInfo.editor;
|
8189 |
+
this.$toolbar = context.layoutInfo.toolbar;
|
8190 |
+
this.$editable = context.layoutInfo.editable;
|
8191 |
+
this.$statusbar = context.layoutInfo.statusbar;
|
8192 |
+
this.options = context.options;
|
8193 |
+
this.isFollowing = false;
|
8194 |
+
this.followScroll = this.followScroll.bind(this);
|
8195 |
+
}
|
8196 |
+
|
8197 |
+
Toolbar_createClass(Toolbar, [{
|
8198 |
+
key: "shouldInitialize",
|
8199 |
+
value: function shouldInitialize() {
|
8200 |
+
return !this.options.airMode;
|
8201 |
+
}
|
8202 |
+
}, {
|
8203 |
+
key: "initialize",
|
8204 |
+
value: function initialize() {
|
8205 |
+
var _this = this;
|
8206 |
+
|
8207 |
+
this.options.toolbar = this.options.toolbar || [];
|
8208 |
+
|
8209 |
+
if (!this.options.toolbar.length) {
|
8210 |
+
this.$toolbar.hide();
|
8211 |
+
} else {
|
8212 |
+
this.context.invoke('buttons.build', this.$toolbar, this.options.toolbar);
|
8213 |
+
}
|
8214 |
+
|
8215 |
+
if (this.options.toolbarContainer) {
|
8216 |
+
this.$toolbar.appendTo(this.options.toolbarContainer);
|
8217 |
+
}
|
8218 |
+
|
8219 |
+
this.changeContainer(false);
|
8220 |
+
this.$note.on('summernote.keyup summernote.mouseup summernote.change', function () {
|
8221 |
+
_this.context.invoke('buttons.updateCurrentStyle');
|
8222 |
+
});
|
8223 |
+
this.context.invoke('buttons.updateCurrentStyle');
|
8224 |
+
|
8225 |
+
if (this.options.followingToolbar) {
|
8226 |
+
this.$window.on('scroll resize', this.followScroll);
|
8227 |
+
}
|
8228 |
+
}
|
8229 |
+
}, {
|
8230 |
+
key: "destroy",
|
8231 |
+
value: function destroy() {
|
8232 |
+
this.$toolbar.children().remove();
|
8233 |
+
|
8234 |
+
if (this.options.followingToolbar) {
|
8235 |
+
this.$window.off('scroll resize', this.followScroll);
|
8236 |
+
}
|
8237 |
+
}
|
8238 |
+
}, {
|
8239 |
+
key: "followScroll",
|
8240 |
+
value: function followScroll() {
|
8241 |
+
if (this.$editor.hasClass('fullscreen')) {
|
8242 |
+
return false;
|
8243 |
+
}
|
8244 |
+
|
8245 |
+
var editorHeight = this.$editor.outerHeight();
|
8246 |
+
var editorWidth = this.$editor.width();
|
8247 |
+
var toolbarHeight = this.$toolbar.height();
|
8248 |
+
var statusbarHeight = this.$statusbar.height(); // check if the web app is currently using another static bar
|
8249 |
+
|
8250 |
+
var otherBarHeight = 0;
|
8251 |
+
|
8252 |
+
if (this.options.otherStaticBar) {
|
8253 |
+
otherBarHeight = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(this.options.otherStaticBar).outerHeight();
|
8254 |
+
}
|
8255 |
+
|
8256 |
+
var currentOffset = this.$document.scrollTop();
|
8257 |
+
var editorOffsetTop = this.$editor.offset().top;
|
8258 |
+
var editorOffsetBottom = editorOffsetTop + editorHeight;
|
8259 |
+
var activateOffset = editorOffsetTop - otherBarHeight;
|
8260 |
+
var deactivateOffsetBottom = editorOffsetBottom - otherBarHeight - toolbarHeight - statusbarHeight;
|
8261 |
+
|
8262 |
+
if (!this.isFollowing && currentOffset > activateOffset && currentOffset < deactivateOffsetBottom - toolbarHeight) {
|
8263 |
+
this.isFollowing = true;
|
8264 |
+
this.$editable.css({
|
8265 |
+
marginTop: this.$toolbar.outerHeight()
|
8266 |
+
});
|
8267 |
+
this.$toolbar.css({
|
8268 |
+
position: 'fixed',
|
8269 |
+
top: otherBarHeight,
|
8270 |
+
width: editorWidth,
|
8271 |
+
zIndex: 1000
|
8272 |
+
});
|
8273 |
+
} else if (this.isFollowing && (currentOffset < activateOffset || currentOffset > deactivateOffsetBottom)) {
|
8274 |
+
this.isFollowing = false;
|
8275 |
+
this.$toolbar.css({
|
8276 |
+
position: 'relative',
|
8277 |
+
top: 0,
|
8278 |
+
width: '100%',
|
8279 |
+
zIndex: 'auto'
|
8280 |
+
});
|
8281 |
+
this.$editable.css({
|
8282 |
+
marginTop: ''
|
8283 |
+
});
|
8284 |
+
}
|
8285 |
+
}
|
8286 |
+
}, {
|
8287 |
+
key: "changeContainer",
|
8288 |
+
value: function changeContainer(isFullscreen) {
|
8289 |
+
if (isFullscreen) {
|
8290 |
+
this.$toolbar.prependTo(this.$editor);
|
8291 |
+
} else {
|
8292 |
+
if (this.options.toolbarContainer) {
|
8293 |
+
this.$toolbar.appendTo(this.options.toolbarContainer);
|
8294 |
+
}
|
8295 |
+
}
|
8296 |
+
|
8297 |
+
if (this.options.followingToolbar) {
|
8298 |
+
this.followScroll();
|
8299 |
+
}
|
8300 |
+
}
|
8301 |
+
}, {
|
8302 |
+
key: "updateFullscreen",
|
8303 |
+
value: function updateFullscreen(isFullscreen) {
|
8304 |
+
this.ui.toggleBtnActive(this.$toolbar.find('.btn-fullscreen'), isFullscreen);
|
8305 |
+
this.changeContainer(isFullscreen);
|
8306 |
+
}
|
8307 |
+
}, {
|
8308 |
+
key: "updateCodeview",
|
8309 |
+
value: function updateCodeview(isCodeview) {
|
8310 |
+
this.ui.toggleBtnActive(this.$toolbar.find('.btn-codeview'), isCodeview);
|
8311 |
+
|
8312 |
+
if (isCodeview) {
|
8313 |
+
this.deactivate();
|
8314 |
+
} else {
|
8315 |
+
this.activate();
|
8316 |
+
}
|
8317 |
+
}
|
8318 |
+
}, {
|
8319 |
+
key: "activate",
|
8320 |
+
value: function activate(isIncludeCodeview) {
|
8321 |
+
var $btn = this.$toolbar.find('button');
|
8322 |
+
|
8323 |
+
if (!isIncludeCodeview) {
|
8324 |
+
$btn = $btn.not('.note-codeview-keep');
|
8325 |
+
}
|
8326 |
+
|
8327 |
+
this.ui.toggleBtn($btn, true);
|
8328 |
+
}
|
8329 |
+
}, {
|
8330 |
+
key: "deactivate",
|
8331 |
+
value: function deactivate(isIncludeCodeview) {
|
8332 |
+
var $btn = this.$toolbar.find('button');
|
8333 |
+
|
8334 |
+
if (!isIncludeCodeview) {
|
8335 |
+
$btn = $btn.not('.note-codeview-keep');
|
8336 |
+
}
|
8337 |
+
|
8338 |
+
this.ui.toggleBtn($btn, false);
|
8339 |
+
}
|
8340 |
+
}]);
|
8341 |
+
|
8342 |
+
return Toolbar;
|
8343 |
+
}();
|
8344 |
+
|
8345 |
+
|
8346 |
+
// CONCATENATED MODULE: ./src/js/base/module/LinkDialog.js
|
8347 |
+
function LinkDialog_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
8348 |
+
|
8349 |
+
function LinkDialog_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
8350 |
+
|
8351 |
+
function LinkDialog_createClass(Constructor, protoProps, staticProps) { if (protoProps) LinkDialog_defineProperties(Constructor.prototype, protoProps); if (staticProps) LinkDialog_defineProperties(Constructor, staticProps); return Constructor; }
|
8352 |
+
|
8353 |
+
|
8354 |
+
|
8355 |
+
|
8356 |
+
|
8357 |
+
|
8358 |
+
var LinkDialog_LinkDialog = /*#__PURE__*/function () {
|
8359 |
+
function LinkDialog(context) {
|
8360 |
+
LinkDialog_classCallCheck(this, LinkDialog);
|
8361 |
+
|
8362 |
+
this.context = context;
|
8363 |
+
this.ui = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.summernote.ui;
|
8364 |
+
this.$body = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(document.body);
|
8365 |
+
this.$editor = context.layoutInfo.editor;
|
8366 |
+
this.options = context.options;
|
8367 |
+
this.lang = this.options.langInfo;
|
8368 |
+
context.memo('help.linkDialog.show', this.options.langInfo.help['linkDialog.show']);
|
8369 |
+
}
|
8370 |
+
|
8371 |
+
LinkDialog_createClass(LinkDialog, [{
|
8372 |
+
key: "initialize",
|
8373 |
+
value: function initialize() {
|
8374 |
+
var $container = this.options.dialogsInBody ? this.$body : this.options.container;
|
8375 |
+
var body = ['<div class="form-group note-form-group">', "<label for=\"note-dialog-link-txt-".concat(this.options.id, "\" class=\"note-form-label\">").concat(this.lang.link.textToDisplay, "</label>"), "<input id=\"note-dialog-link-txt-".concat(this.options.id, "\" class=\"note-link-text form-control note-form-control note-input\" type=\"text\"/>"), '</div>', '<div class="form-group note-form-group">', "<label for=\"note-dialog-link-url-".concat(this.options.id, "\" class=\"note-form-label\">").concat(this.lang.link.url, "</label>"), "<input id=\"note-dialog-link-url-".concat(this.options.id, "\" class=\"note-link-url form-control note-form-control note-input\" type=\"text\" value=\"http://\"/>"), '</div>', !this.options.disableLinkTarget ? external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()('<div/>').append(this.ui.checkbox({
|
8376 |
+
className: 'sn-checkbox-open-in-new-window',
|
8377 |
+
text: this.lang.link.openInNewWindow,
|
8378 |
+
checked: true
|
8379 |
+
}).render()).html() : '', external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()('<div/>').append(this.ui.checkbox({
|
8380 |
+
className: 'sn-checkbox-use-protocol',
|
8381 |
+
text: this.lang.link.useProtocol,
|
8382 |
+
checked: true
|
8383 |
+
}).render()).html()].join('');
|
8384 |
+
var buttonClass = 'btn btn-primary note-btn note-btn-primary note-link-btn';
|
8385 |
+
var footer = "<input type=\"button\" href=\"#\" class=\"".concat(buttonClass, "\" value=\"").concat(this.lang.link.insert, "\" disabled>");
|
8386 |
+
this.$dialog = this.ui.dialog({
|
8387 |
+
className: 'link-dialog',
|
8388 |
+
title: this.lang.link.insert,
|
8389 |
+
fade: this.options.dialogsFade,
|
8390 |
+
body: body,
|
8391 |
+
footer: footer
|
8392 |
+
}).render().appendTo($container);
|
8393 |
+
}
|
8394 |
+
}, {
|
8395 |
+
key: "destroy",
|
8396 |
+
value: function destroy() {
|
8397 |
+
this.ui.hideDialog(this.$dialog);
|
8398 |
+
this.$dialog.remove();
|
8399 |
+
}
|
8400 |
+
}, {
|
8401 |
+
key: "bindEnterKey",
|
8402 |
+
value: function bindEnterKey($input, $btn) {
|
8403 |
+
$input.on('keypress', function (event) {
|
8404 |
+
if (event.keyCode === core_key.code.ENTER) {
|
8405 |
+
event.preventDefault();
|
8406 |
+
$btn.trigger('click');
|
8407 |
+
}
|
8408 |
+
});
|
8409 |
+
}
|
8410 |
+
/**
|
8411 |
+
* toggle update button
|
8412 |
+
*/
|
8413 |
+
|
8414 |
+
}, {
|
8415 |
+
key: "toggleLinkBtn",
|
8416 |
+
value: function toggleLinkBtn($linkBtn, $linkText, $linkUrl) {
|
8417 |
+
this.ui.toggleBtn($linkBtn, $linkText.val() && $linkUrl.val());
|
8418 |
+
}
|
8419 |
+
/**
|
8420 |
+
* Show link dialog and set event handlers on dialog controls.
|
8421 |
+
*
|
8422 |
+
* @param {Object} linkInfo
|
8423 |
+
* @return {Promise}
|
8424 |
+
*/
|
8425 |
+
|
8426 |
+
}, {
|
8427 |
+
key: "showLinkDialog",
|
8428 |
+
value: function showLinkDialog(linkInfo) {
|
8429 |
+
var _this = this;
|
8430 |
+
|
8431 |
+
return external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.Deferred(function (deferred) {
|
8432 |
+
var $linkText = _this.$dialog.find('.note-link-text');
|
8433 |
+
|
8434 |
+
var $linkUrl = _this.$dialog.find('.note-link-url');
|
8435 |
+
|
8436 |
+
var $linkBtn = _this.$dialog.find('.note-link-btn');
|
8437 |
+
|
8438 |
+
var $openInNewWindow = _this.$dialog.find('.sn-checkbox-open-in-new-window input[type=checkbox]');
|
8439 |
+
|
8440 |
+
var $useProtocol = _this.$dialog.find('.sn-checkbox-use-protocol input[type=checkbox]');
|
8441 |
+
|
8442 |
+
_this.ui.onDialogShown(_this.$dialog, function () {
|
8443 |
+
_this.context.triggerEvent('dialog.shown'); // If no url was given and given text is valid URL then copy that into URL Field
|
8444 |
+
|
8445 |
+
|
8446 |
+
if (!linkInfo.url && func.isValidUrl(linkInfo.text)) {
|
8447 |
+
linkInfo.url = linkInfo.text;
|
8448 |
+
}
|
8449 |
+
|
8450 |
+
$linkText.on('input paste propertychange', function () {
|
8451 |
+
// If linktext was modified by input events,
|
8452 |
+
// cloning text from linkUrl will be stopped.
|
8453 |
+
linkInfo.text = $linkText.val();
|
8454 |
+
|
8455 |
+
_this.toggleLinkBtn($linkBtn, $linkText, $linkUrl);
|
8456 |
+
}).val(linkInfo.text);
|
8457 |
+
$linkUrl.on('input paste propertychange', function () {
|
8458 |
+
// Display same text on `Text to display` as default
|
8459 |
+
// when linktext has no text
|
8460 |
+
if (!linkInfo.text) {
|
8461 |
+
$linkText.val($linkUrl.val());
|
8462 |
+
}
|
8463 |
+
|
8464 |
+
_this.toggleLinkBtn($linkBtn, $linkText, $linkUrl);
|
8465 |
+
}).val(linkInfo.url);
|
8466 |
+
|
8467 |
+
if (!env.isSupportTouch) {
|
8468 |
+
$linkUrl.trigger('focus');
|
8469 |
+
}
|
8470 |
+
|
8471 |
+
_this.toggleLinkBtn($linkBtn, $linkText, $linkUrl);
|
8472 |
+
|
8473 |
+
_this.bindEnterKey($linkUrl, $linkBtn);
|
8474 |
+
|
8475 |
+
_this.bindEnterKey($linkText, $linkBtn);
|
8476 |
+
|
8477 |
+
var isNewWindowChecked = linkInfo.isNewWindow !== undefined ? linkInfo.isNewWindow : _this.context.options.linkTargetBlank;
|
8478 |
+
$openInNewWindow.prop('checked', isNewWindowChecked);
|
8479 |
+
var useProtocolChecked = linkInfo.url ? false : _this.context.options.useProtocol;
|
8480 |
+
$useProtocol.prop('checked', useProtocolChecked);
|
8481 |
+
$linkBtn.one('click', function (event) {
|
8482 |
+
event.preventDefault();
|
8483 |
+
deferred.resolve({
|
8484 |
+
range: linkInfo.range,
|
8485 |
+
url: $linkUrl.val(),
|
8486 |
+
text: $linkText.val(),
|
8487 |
+
isNewWindow: $openInNewWindow.is(':checked'),
|
8488 |
+
checkProtocol: $useProtocol.is(':checked')
|
8489 |
+
});
|
8490 |
+
|
8491 |
+
_this.ui.hideDialog(_this.$dialog);
|
8492 |
+
});
|
8493 |
+
});
|
8494 |
+
|
8495 |
+
_this.ui.onDialogHidden(_this.$dialog, function () {
|
8496 |
+
// detach events
|
8497 |
+
$linkText.off();
|
8498 |
+
$linkUrl.off();
|
8499 |
+
$linkBtn.off();
|
8500 |
+
|
8501 |
+
if (deferred.state() === 'pending') {
|
8502 |
+
deferred.reject();
|
8503 |
+
}
|
8504 |
+
});
|
8505 |
+
|
8506 |
+
_this.ui.showDialog(_this.$dialog);
|
8507 |
+
}).promise();
|
8508 |
+
}
|
8509 |
+
/**
|
8510 |
+
* @param {Object} layoutInfo
|
8511 |
+
*/
|
8512 |
+
|
8513 |
+
}, {
|
8514 |
+
key: "show",
|
8515 |
+
value: function show() {
|
8516 |
+
var _this2 = this;
|
8517 |
+
|
8518 |
+
var linkInfo = this.context.invoke('editor.getLinkInfo');
|
8519 |
+
this.context.invoke('editor.saveRange');
|
8520 |
+
this.showLinkDialog(linkInfo).then(function (linkInfo) {
|
8521 |
+
_this2.context.invoke('editor.restoreRange');
|
8522 |
+
|
8523 |
+
_this2.context.invoke('editor.createLink', linkInfo);
|
8524 |
+
}).fail(function () {
|
8525 |
+
_this2.context.invoke('editor.restoreRange');
|
8526 |
+
});
|
8527 |
+
}
|
8528 |
+
}]);
|
8529 |
+
|
8530 |
+
return LinkDialog;
|
8531 |
+
}();
|
8532 |
+
|
8533 |
+
|
8534 |
+
// CONCATENATED MODULE: ./src/js/base/module/LinkPopover.js
|
8535 |
+
function LinkPopover_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
8536 |
+
|
8537 |
+
function LinkPopover_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
8538 |
+
|
8539 |
+
function LinkPopover_createClass(Constructor, protoProps, staticProps) { if (protoProps) LinkPopover_defineProperties(Constructor.prototype, protoProps); if (staticProps) LinkPopover_defineProperties(Constructor, staticProps); return Constructor; }
|
8540 |
+
|
8541 |
+
|
8542 |
+
|
8543 |
+
|
8544 |
+
|
8545 |
+
var LinkPopover_LinkPopover = /*#__PURE__*/function () {
|
8546 |
+
function LinkPopover(context) {
|
8547 |
+
var _this = this;
|
8548 |
+
|
8549 |
+
LinkPopover_classCallCheck(this, LinkPopover);
|
8550 |
+
|
8551 |
+
this.context = context;
|
8552 |
+
this.ui = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.summernote.ui;
|
8553 |
+
this.options = context.options;
|
8554 |
+
this.events = {
|
8555 |
+
'summernote.keyup summernote.mouseup summernote.change summernote.scroll': function summernoteKeyupSummernoteMouseupSummernoteChangeSummernoteScroll() {
|
8556 |
+
_this.update();
|
8557 |
+
},
|
8558 |
+
'summernote.disable summernote.dialog.shown summernote.blur': function summernoteDisableSummernoteDialogShownSummernoteBlur() {
|
8559 |
+
_this.hide();
|
8560 |
+
}
|
8561 |
+
};
|
8562 |
+
}
|
8563 |
+
|
8564 |
+
LinkPopover_createClass(LinkPopover, [{
|
8565 |
+
key: "shouldInitialize",
|
8566 |
+
value: function shouldInitialize() {
|
8567 |
+
return !lists.isEmpty(this.options.popover.link);
|
8568 |
+
}
|
8569 |
+
}, {
|
8570 |
+
key: "initialize",
|
8571 |
+
value: function initialize() {
|
8572 |
+
this.$popover = this.ui.popover({
|
8573 |
+
className: 'note-link-popover',
|
8574 |
+
callback: function callback($node) {
|
8575 |
+
var $content = $node.find('.popover-content,.note-popover-content');
|
8576 |
+
$content.prepend('<span><a target="_blank"></a> </span>');
|
8577 |
+
}
|
8578 |
+
}).render().appendTo(this.options.container);
|
8579 |
+
var $content = this.$popover.find('.popover-content,.note-popover-content');
|
8580 |
+
this.context.invoke('buttons.build', $content, this.options.popover.link);
|
8581 |
+
this.$popover.on('mousedown', function (e) {
|
8582 |
+
e.preventDefault();
|
8583 |
+
});
|
8584 |
+
}
|
8585 |
+
}, {
|
8586 |
+
key: "destroy",
|
8587 |
+
value: function destroy() {
|
8588 |
+
this.$popover.remove();
|
8589 |
+
}
|
8590 |
+
}, {
|
8591 |
+
key: "update",
|
8592 |
+
value: function update() {
|
8593 |
+
// Prevent focusing on editable when invoke('code') is executed
|
8594 |
+
if (!this.context.invoke('editor.hasFocus')) {
|
8595 |
+
this.hide();
|
8596 |
+
return;
|
8597 |
+
}
|
8598 |
+
|
8599 |
+
var rng = this.context.invoke('editor.getLastRange');
|
8600 |
+
|
8601 |
+
if (rng.isCollapsed() && rng.isOnAnchor()) {
|
8602 |
+
var anchor = dom.ancestor(rng.sc, dom.isAnchor);
|
8603 |
+
var href = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(anchor).attr('href');
|
8604 |
+
this.$popover.find('a').attr('href', href).text(href);
|
8605 |
+
var pos = dom.posFromPlaceholder(anchor);
|
8606 |
+
var containerOffset = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(this.options.container).offset();
|
8607 |
+
pos.top -= containerOffset.top;
|
8608 |
+
pos.left -= containerOffset.left;
|
8609 |
+
this.$popover.css({
|
8610 |
+
display: 'block',
|
8611 |
+
left: pos.left,
|
8612 |
+
top: pos.top
|
8613 |
+
});
|
8614 |
+
} else {
|
8615 |
+
this.hide();
|
8616 |
+
}
|
8617 |
+
}
|
8618 |
+
}, {
|
8619 |
+
key: "hide",
|
8620 |
+
value: function hide() {
|
8621 |
+
this.$popover.hide();
|
8622 |
+
}
|
8623 |
+
}]);
|
8624 |
+
|
8625 |
+
return LinkPopover;
|
8626 |
+
}();
|
8627 |
+
|
8628 |
+
|
8629 |
+
// CONCATENATED MODULE: ./src/js/base/module/ImageDialog.js
|
8630 |
+
function ImageDialog_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
8631 |
+
|
8632 |
+
function ImageDialog_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
8633 |
+
|
8634 |
+
function ImageDialog_createClass(Constructor, protoProps, staticProps) { if (protoProps) ImageDialog_defineProperties(Constructor.prototype, protoProps); if (staticProps) ImageDialog_defineProperties(Constructor, staticProps); return Constructor; }
|
8635 |
+
|
8636 |
+
|
8637 |
+
|
8638 |
+
|
8639 |
+
|
8640 |
+
var ImageDialog_ImageDialog = /*#__PURE__*/function () {
|
8641 |
+
function ImageDialog(context) {
|
8642 |
+
ImageDialog_classCallCheck(this, ImageDialog);
|
8643 |
+
|
8644 |
+
this.context = context;
|
8645 |
+
this.ui = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.summernote.ui;
|
8646 |
+
this.$body = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(document.body);
|
8647 |
+
this.$editor = context.layoutInfo.editor;
|
8648 |
+
this.options = context.options;
|
8649 |
+
this.lang = this.options.langInfo;
|
8650 |
+
}
|
8651 |
+
|
8652 |
+
ImageDialog_createClass(ImageDialog, [{
|
8653 |
+
key: "initialize",
|
8654 |
+
value: function initialize() {
|
8655 |
+
var imageLimitation = '';
|
8656 |
+
|
8657 |
+
if (this.options.maximumImageFileSize) {
|
8658 |
+
var unit = Math.floor(Math.log(this.options.maximumImageFileSize) / Math.log(1024));
|
8659 |
+
var readableSize = (this.options.maximumImageFileSize / Math.pow(1024, unit)).toFixed(2) * 1 + ' ' + ' KMGTP'[unit] + 'B';
|
8660 |
+
imageLimitation = "<small>".concat(this.lang.image.maximumFileSize + ' : ' + readableSize, "</small>");
|
8661 |
+
}
|
8662 |
+
|
8663 |
+
var $container = this.options.dialogsInBody ? this.$body : this.options.container;
|
8664 |
+
var body = ['<div class="form-group note-form-group note-group-select-from-files">', '<label for="note-dialog-image-file-' + this.options.id + '" class="note-form-label">' + this.lang.image.selectFromFiles + '</label>', '<input id="note-dialog-image-file-' + this.options.id + '" class="note-image-input form-control-file note-form-control note-input" ', ' type="file" name="files" accept="image/*" multiple="multiple"/>', imageLimitation, '</div>', '<div class="form-group note-group-image-url">', '<label for="note-dialog-image-url-' + this.options.id + '" class="note-form-label">' + this.lang.image.url + '</label>', '<input id="note-dialog-image-url-' + this.options.id + '" class="note-image-url form-control note-form-control note-input" type="text"/>', '</div>'].join('');
|
8665 |
+
var buttonClass = 'btn btn-primary note-btn note-btn-primary note-image-btn';
|
8666 |
+
var footer = "<input type=\"button\" href=\"#\" class=\"".concat(buttonClass, "\" value=\"").concat(this.lang.image.insert, "\" disabled>");
|
8667 |
+
this.$dialog = this.ui.dialog({
|
8668 |
+
title: this.lang.image.insert,
|
8669 |
+
fade: this.options.dialogsFade,
|
8670 |
+
body: body,
|
8671 |
+
footer: footer
|
8672 |
+
}).render().appendTo($container);
|
8673 |
+
}
|
8674 |
+
}, {
|
8675 |
+
key: "destroy",
|
8676 |
+
value: function destroy() {
|
8677 |
+
this.ui.hideDialog(this.$dialog);
|
8678 |
+
this.$dialog.remove();
|
8679 |
+
}
|
8680 |
+
}, {
|
8681 |
+
key: "bindEnterKey",
|
8682 |
+
value: function bindEnterKey($input, $btn) {
|
8683 |
+
$input.on('keypress', function (event) {
|
8684 |
+
if (event.keyCode === core_key.code.ENTER) {
|
8685 |
+
event.preventDefault();
|
8686 |
+
$btn.trigger('click');
|
8687 |
+
}
|
8688 |
+
});
|
8689 |
+
}
|
8690 |
+
}, {
|
8691 |
+
key: "show",
|
8692 |
+
value: function show() {
|
8693 |
+
var _this = this;
|
8694 |
+
|
8695 |
+
this.context.invoke('editor.saveRange');
|
8696 |
+
this.showImageDialog().then(function (data) {
|
8697 |
+
// [workaround] hide dialog before restore range for IE range focus
|
8698 |
+
_this.ui.hideDialog(_this.$dialog);
|
8699 |
+
|
8700 |
+
_this.context.invoke('editor.restoreRange');
|
8701 |
+
|
8702 |
+
if (typeof data === 'string') {
|
8703 |
+
// image url
|
8704 |
+
// If onImageLinkInsert set,
|
8705 |
+
if (_this.options.callbacks.onImageLinkInsert) {
|
8706 |
+
_this.context.triggerEvent('image.link.insert', data);
|
8707 |
+
} else {
|
8708 |
+
_this.context.invoke('editor.insertImage', data);
|
8709 |
+
}
|
8710 |
+
} else {
|
8711 |
+
// array of files
|
8712 |
+
_this.context.invoke('editor.insertImagesOrCallback', data);
|
8713 |
+
}
|
8714 |
+
}).fail(function () {
|
8715 |
+
_this.context.invoke('editor.restoreRange');
|
8716 |
+
});
|
8717 |
+
}
|
8718 |
+
/**
|
8719 |
+
* show image dialog
|
8720 |
+
*
|
8721 |
+
* @param {jQuery} $dialog
|
8722 |
+
* @return {Promise}
|
8723 |
+
*/
|
8724 |
+
|
8725 |
+
}, {
|
8726 |
+
key: "showImageDialog",
|
8727 |
+
value: function showImageDialog() {
|
8728 |
+
var _this2 = this;
|
8729 |
+
|
8730 |
+
return external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.Deferred(function (deferred) {
|
8731 |
+
var $imageInput = _this2.$dialog.find('.note-image-input');
|
8732 |
+
|
8733 |
+
var $imageUrl = _this2.$dialog.find('.note-image-url');
|
8734 |
+
|
8735 |
+
var $imageBtn = _this2.$dialog.find('.note-image-btn');
|
8736 |
+
|
8737 |
+
_this2.ui.onDialogShown(_this2.$dialog, function () {
|
8738 |
+
_this2.context.triggerEvent('dialog.shown'); // Cloning imageInput to clear element.
|
8739 |
+
|
8740 |
+
|
8741 |
+
$imageInput.replaceWith($imageInput.clone().on('change', function (event) {
|
8742 |
+
deferred.resolve(event.target.files || event.target.value);
|
8743 |
+
}).val(''));
|
8744 |
+
$imageUrl.on('input paste propertychange', function () {
|
8745 |
+
_this2.ui.toggleBtn($imageBtn, $imageUrl.val());
|
8746 |
+
}).val('');
|
8747 |
+
|
8748 |
+
if (!env.isSupportTouch) {
|
8749 |
+
$imageUrl.trigger('focus');
|
8750 |
+
}
|
8751 |
+
|
8752 |
+
$imageBtn.click(function (event) {
|
8753 |
+
event.preventDefault();
|
8754 |
+
deferred.resolve($imageUrl.val());
|
8755 |
+
});
|
8756 |
+
|
8757 |
+
_this2.bindEnterKey($imageUrl, $imageBtn);
|
8758 |
+
});
|
8759 |
+
|
8760 |
+
_this2.ui.onDialogHidden(_this2.$dialog, function () {
|
8761 |
+
$imageInput.off();
|
8762 |
+
$imageUrl.off();
|
8763 |
+
$imageBtn.off();
|
8764 |
+
|
8765 |
+
if (deferred.state() === 'pending') {
|
8766 |
+
deferred.reject();
|
8767 |
+
}
|
8768 |
+
});
|
8769 |
+
|
8770 |
+
_this2.ui.showDialog(_this2.$dialog);
|
8771 |
+
});
|
8772 |
+
}
|
8773 |
+
}]);
|
8774 |
+
|
8775 |
+
return ImageDialog;
|
8776 |
+
}();
|
8777 |
+
|
8778 |
+
|
8779 |
+
// CONCATENATED MODULE: ./src/js/base/module/ImagePopover.js
|
8780 |
+
function ImagePopover_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
8781 |
+
|
8782 |
+
function ImagePopover_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
8783 |
+
|
8784 |
+
function ImagePopover_createClass(Constructor, protoProps, staticProps) { if (protoProps) ImagePopover_defineProperties(Constructor.prototype, protoProps); if (staticProps) ImagePopover_defineProperties(Constructor, staticProps); return Constructor; }
|
8785 |
+
|
8786 |
+
|
8787 |
+
|
8788 |
+
|
8789 |
+
/**
|
8790 |
+
* Image popover module
|
8791 |
+
* mouse events that show/hide popover will be handled by Handle.js.
|
8792 |
+
* Handle.js will receive the events and invoke 'imagePopover.update'.
|
8793 |
+
*/
|
8794 |
+
|
8795 |
+
var ImagePopover_ImagePopover = /*#__PURE__*/function () {
|
8796 |
+
function ImagePopover(context) {
|
8797 |
+
var _this = this;
|
8798 |
+
|
8799 |
+
ImagePopover_classCallCheck(this, ImagePopover);
|
8800 |
+
|
8801 |
+
this.context = context;
|
8802 |
+
this.ui = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.summernote.ui;
|
8803 |
+
this.editable = context.layoutInfo.editable[0];
|
8804 |
+
this.options = context.options;
|
8805 |
+
this.events = {
|
8806 |
+
'summernote.disable summernote.blur': function summernoteDisableSummernoteBlur() {
|
8807 |
+
_this.hide();
|
8808 |
+
}
|
8809 |
+
};
|
8810 |
+
}
|
8811 |
+
|
8812 |
+
ImagePopover_createClass(ImagePopover, [{
|
8813 |
+
key: "shouldInitialize",
|
8814 |
+
value: function shouldInitialize() {
|
8815 |
+
return !lists.isEmpty(this.options.popover.image);
|
8816 |
+
}
|
8817 |
+
}, {
|
8818 |
+
key: "initialize",
|
8819 |
+
value: function initialize() {
|
8820 |
+
this.$popover = this.ui.popover({
|
8821 |
+
className: 'note-image-popover'
|
8822 |
+
}).render().appendTo(this.options.container);
|
8823 |
+
var $content = this.$popover.find('.popover-content,.note-popover-content');
|
8824 |
+
this.context.invoke('buttons.build', $content, this.options.popover.image);
|
8825 |
+
this.$popover.on('mousedown', function (e) {
|
8826 |
+
e.preventDefault();
|
8827 |
+
});
|
8828 |
+
}
|
8829 |
+
}, {
|
8830 |
+
key: "destroy",
|
8831 |
+
value: function destroy() {
|
8832 |
+
this.$popover.remove();
|
8833 |
+
}
|
8834 |
+
}, {
|
8835 |
+
key: "update",
|
8836 |
+
value: function update(target, event) {
|
8837 |
+
if (dom.isImg(target)) {
|
8838 |
+
var position = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(target).offset();
|
8839 |
+
var containerOffset = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(this.options.container).offset();
|
8840 |
+
var pos = {};
|
8841 |
+
|
8842 |
+
if (this.options.popatmouse) {
|
8843 |
+
pos.left = event.pageX - 20;
|
8844 |
+
pos.top = event.pageY;
|
8845 |
+
} else {
|
8846 |
+
pos = position;
|
8847 |
+
}
|
8848 |
+
|
8849 |
+
pos.top -= containerOffset.top;
|
8850 |
+
pos.left -= containerOffset.left;
|
8851 |
+
this.$popover.css({
|
8852 |
+
display: 'block',
|
8853 |
+
left: pos.left,
|
8854 |
+
top: pos.top
|
8855 |
+
});
|
8856 |
+
} else {
|
8857 |
+
this.hide();
|
8858 |
+
}
|
8859 |
+
}
|
8860 |
+
}, {
|
8861 |
+
key: "hide",
|
8862 |
+
value: function hide() {
|
8863 |
+
this.$popover.hide();
|
8864 |
+
}
|
8865 |
+
}]);
|
8866 |
+
|
8867 |
+
return ImagePopover;
|
8868 |
+
}();
|
8869 |
+
|
8870 |
+
|
8871 |
+
// CONCATENATED MODULE: ./src/js/base/module/TablePopover.js
|
8872 |
+
function TablePopover_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
8873 |
+
|
8874 |
+
function TablePopover_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
8875 |
+
|
8876 |
+
function TablePopover_createClass(Constructor, protoProps, staticProps) { if (protoProps) TablePopover_defineProperties(Constructor.prototype, protoProps); if (staticProps) TablePopover_defineProperties(Constructor, staticProps); return Constructor; }
|
8877 |
+
|
8878 |
+
|
8879 |
+
|
8880 |
+
|
8881 |
+
|
8882 |
+
|
8883 |
+
var TablePopover_TablePopover = /*#__PURE__*/function () {
|
8884 |
+
function TablePopover(context) {
|
8885 |
+
var _this = this;
|
8886 |
+
|
8887 |
+
TablePopover_classCallCheck(this, TablePopover);
|
8888 |
+
|
8889 |
+
this.context = context;
|
8890 |
+
this.ui = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.summernote.ui;
|
8891 |
+
this.options = context.options;
|
8892 |
+
this.events = {
|
8893 |
+
'summernote.mousedown': function summernoteMousedown(we, e) {
|
8894 |
+
_this.update(e.target);
|
8895 |
+
},
|
8896 |
+
'summernote.keyup summernote.scroll summernote.change': function summernoteKeyupSummernoteScrollSummernoteChange() {
|
8897 |
+
_this.update();
|
8898 |
+
},
|
8899 |
+
'summernote.disable summernote.blur': function summernoteDisableSummernoteBlur() {
|
8900 |
+
_this.hide();
|
8901 |
+
}
|
8902 |
+
};
|
8903 |
+
}
|
8904 |
+
|
8905 |
+
TablePopover_createClass(TablePopover, [{
|
8906 |
+
key: "shouldInitialize",
|
8907 |
+
value: function shouldInitialize() {
|
8908 |
+
return !lists.isEmpty(this.options.popover.table);
|
8909 |
+
}
|
8910 |
+
}, {
|
8911 |
+
key: "initialize",
|
8912 |
+
value: function initialize() {
|
8913 |
+
this.$popover = this.ui.popover({
|
8914 |
+
className: 'note-table-popover'
|
8915 |
+
}).render().appendTo(this.options.container);
|
8916 |
+
var $content = this.$popover.find('.popover-content,.note-popover-content');
|
8917 |
+
this.context.invoke('buttons.build', $content, this.options.popover.table); // [workaround] Disable Firefox's default table editor
|
8918 |
+
|
8919 |
+
if (env.isFF) {
|
8920 |
+
document.execCommand('enableInlineTableEditing', false, false);
|
8921 |
+
}
|
8922 |
+
|
8923 |
+
this.$popover.on('mousedown', function (e) {
|
8924 |
+
e.preventDefault();
|
8925 |
+
});
|
8926 |
+
}
|
8927 |
+
}, {
|
8928 |
+
key: "destroy",
|
8929 |
+
value: function destroy() {
|
8930 |
+
this.$popover.remove();
|
8931 |
+
}
|
8932 |
+
}, {
|
8933 |
+
key: "update",
|
8934 |
+
value: function update(target) {
|
8935 |
+
if (this.context.isDisabled()) {
|
8936 |
+
return false;
|
8937 |
+
}
|
8938 |
+
|
8939 |
+
var isCell = dom.isCell(target);
|
8940 |
+
|
8941 |
+
if (isCell) {
|
8942 |
+
var pos = dom.posFromPlaceholder(target);
|
8943 |
+
var containerOffset = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(this.options.container).offset();
|
8944 |
+
pos.top -= containerOffset.top;
|
8945 |
+
pos.left -= containerOffset.left;
|
8946 |
+
this.$popover.css({
|
8947 |
+
display: 'block',
|
8948 |
+
left: pos.left,
|
8949 |
+
top: pos.top
|
8950 |
+
});
|
8951 |
+
} else {
|
8952 |
+
this.hide();
|
8953 |
+
}
|
8954 |
+
|
8955 |
+
return isCell;
|
8956 |
+
}
|
8957 |
+
}, {
|
8958 |
+
key: "hide",
|
8959 |
+
value: function hide() {
|
8960 |
+
this.$popover.hide();
|
8961 |
+
}
|
8962 |
+
}]);
|
8963 |
+
|
8964 |
+
return TablePopover;
|
8965 |
+
}();
|
8966 |
+
|
8967 |
+
|
8968 |
+
// CONCATENATED MODULE: ./src/js/base/module/VideoDialog.js
|
8969 |
+
function VideoDialog_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
8970 |
+
|
8971 |
+
function VideoDialog_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
8972 |
+
|
8973 |
+
function VideoDialog_createClass(Constructor, protoProps, staticProps) { if (protoProps) VideoDialog_defineProperties(Constructor.prototype, protoProps); if (staticProps) VideoDialog_defineProperties(Constructor, staticProps); return Constructor; }
|
8974 |
+
|
8975 |
+
|
8976 |
+
|
8977 |
+
|
8978 |
+
|
8979 |
+
var VideoDialog_VideoDialog = /*#__PURE__*/function () {
|
8980 |
+
function VideoDialog(context) {
|
8981 |
+
VideoDialog_classCallCheck(this, VideoDialog);
|
8982 |
+
|
8983 |
+
this.context = context;
|
8984 |
+
this.ui = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.summernote.ui;
|
8985 |
+
this.$body = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(document.body);
|
8986 |
+
this.$editor = context.layoutInfo.editor;
|
8987 |
+
this.options = context.options;
|
8988 |
+
this.lang = this.options.langInfo;
|
8989 |
+
}
|
8990 |
+
|
8991 |
+
VideoDialog_createClass(VideoDialog, [{
|
8992 |
+
key: "initialize",
|
8993 |
+
value: function initialize() {
|
8994 |
+
var $container = this.options.dialogsInBody ? this.$body : this.options.container;
|
8995 |
+
var body = ['<div class="form-group note-form-group row-fluid">', "<label for=\"note-dialog-video-url-".concat(this.options.id, "\" class=\"note-form-label\">").concat(this.lang.video.url, " <small class=\"text-muted\">").concat(this.lang.video.providers, "</small></label>"), "<input id=\"note-dialog-video-url-".concat(this.options.id, "\" class=\"note-video-url form-control note-form-control note-input\" type=\"text\"/>"), '</div>'].join('');
|
8996 |
+
var buttonClass = 'btn btn-primary note-btn note-btn-primary note-video-btn';
|
8997 |
+
var footer = "<input type=\"button\" href=\"#\" class=\"".concat(buttonClass, "\" value=\"").concat(this.lang.video.insert, "\" disabled>");
|
8998 |
+
this.$dialog = this.ui.dialog({
|
8999 |
+
title: this.lang.video.insert,
|
9000 |
+
fade: this.options.dialogsFade,
|
9001 |
+
body: body,
|
9002 |
+
footer: footer
|
9003 |
+
}).render().appendTo($container);
|
9004 |
+
}
|
9005 |
+
}, {
|
9006 |
+
key: "destroy",
|
9007 |
+
value: function destroy() {
|
9008 |
+
this.ui.hideDialog(this.$dialog);
|
9009 |
+
this.$dialog.remove();
|
9010 |
+
}
|
9011 |
+
}, {
|
9012 |
+
key: "bindEnterKey",
|
9013 |
+
value: function bindEnterKey($input, $btn) {
|
9014 |
+
$input.on('keypress', function (event) {
|
9015 |
+
if (event.keyCode === core_key.code.ENTER) {
|
9016 |
+
event.preventDefault();
|
9017 |
+
$btn.trigger('click');
|
9018 |
+
}
|
9019 |
+
});
|
9020 |
+
}
|
9021 |
+
}, {
|
9022 |
+
key: "createVideoNode",
|
9023 |
+
value: function createVideoNode(url) {
|
9024 |
+
// video url patterns(youtube, instagram, vimeo, dailymotion, youku, mp4, ogg, webm)
|
9025 |
+
var ytRegExp = /\/\/(?:(?:www|m)\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))([\w|-]{11})(?:(?:[\?&]t=)(\S+))?$/;
|
9026 |
+
var ytRegExpForStart = /^(?:(\d+)h)?(?:(\d+)m)?(?:(\d+)s)?$/;
|
9027 |
+
var ytMatch = url.match(ytRegExp);
|
9028 |
+
var igRegExp = /(?:www\.|\/\/)instagram\.com\/p\/(.[a-zA-Z0-9_-]*)/;
|
9029 |
+
var igMatch = url.match(igRegExp);
|
9030 |
+
var vRegExp = /\/\/vine\.co\/v\/([a-zA-Z0-9]+)/;
|
9031 |
+
var vMatch = url.match(vRegExp);
|
9032 |
+
var vimRegExp = /\/\/(player\.)?vimeo\.com\/([a-z]*\/)*(\d+)[?]?.*/;
|
9033 |
+
var vimMatch = url.match(vimRegExp);
|
9034 |
+
var dmRegExp = /.+dailymotion.com\/(video|hub)\/([^_]+)[^#]*(#video=([^_&]+))?/;
|
9035 |
+
var dmMatch = url.match(dmRegExp);
|
9036 |
+
var youkuRegExp = /\/\/v\.youku\.com\/v_show\/id_(\w+)=*\.html/;
|
9037 |
+
var youkuMatch = url.match(youkuRegExp);
|
9038 |
+
var qqRegExp = /\/\/v\.qq\.com.*?vid=(.+)/;
|
9039 |
+
var qqMatch = url.match(qqRegExp);
|
9040 |
+
var qqRegExp2 = /\/\/v\.qq\.com\/x?\/?(page|cover).*?\/([^\/]+)\.html\??.*/;
|
9041 |
+
var qqMatch2 = url.match(qqRegExp2);
|
9042 |
+
var mp4RegExp = /^.+.(mp4|m4v)$/;
|
9043 |
+
var mp4Match = url.match(mp4RegExp);
|
9044 |
+
var oggRegExp = /^.+.(ogg|ogv)$/;
|
9045 |
+
var oggMatch = url.match(oggRegExp);
|
9046 |
+
var webmRegExp = /^.+.(webm)$/;
|
9047 |
+
var webmMatch = url.match(webmRegExp);
|
9048 |
+
var fbRegExp = /(?:www\.|\/\/)facebook\.com\/([^\/]+)\/videos\/([0-9]+)/;
|
9049 |
+
var fbMatch = url.match(fbRegExp);
|
9050 |
+
var $video;
|
9051 |
+
|
9052 |
+
if (ytMatch && ytMatch[1].length === 11) {
|
9053 |
+
var youtubeId = ytMatch[1];
|
9054 |
+
var start = 0;
|
9055 |
+
|
9056 |
+
if (typeof ytMatch[2] !== 'undefined') {
|
9057 |
+
var ytMatchForStart = ytMatch[2].match(ytRegExpForStart);
|
9058 |
+
|
9059 |
+
if (ytMatchForStart) {
|
9060 |
+
for (var n = [3600, 60, 1], i = 0, r = n.length; i < r; i++) {
|
9061 |
+
start += typeof ytMatchForStart[i + 1] !== 'undefined' ? n[i] * parseInt(ytMatchForStart[i + 1], 10) : 0;
|
9062 |
+
}
|
9063 |
+
}
|
9064 |
+
}
|
9065 |
+
|
9066 |
+
$video = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()('<iframe>').attr('frameborder', 0).attr('src', '//www.youtube.com/embed/' + youtubeId + (start > 0 ? '?start=' + start : '')).attr('width', '640').attr('height', '360');
|
9067 |
+
} else if (igMatch && igMatch[0].length) {
|
9068 |
+
$video = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()('<iframe>').attr('frameborder', 0).attr('src', 'https://instagram.com/p/' + igMatch[1] + '/embed/').attr('width', '612').attr('height', '710').attr('scrolling', 'no').attr('allowtransparency', 'true');
|
9069 |
+
} else if (vMatch && vMatch[0].length) {
|
9070 |
+
$video = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()('<iframe>').attr('frameborder', 0).attr('src', vMatch[0] + '/embed/simple').attr('width', '600').attr('height', '600').attr('class', 'vine-embed');
|
9071 |
+
} else if (vimMatch && vimMatch[3].length) {
|
9072 |
+
$video = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()('<iframe webkitallowfullscreen mozallowfullscreen allowfullscreen>').attr('frameborder', 0).attr('src', '//player.vimeo.com/video/' + vimMatch[3]).attr('width', '640').attr('height', '360');
|
9073 |
+
} else if (dmMatch && dmMatch[2].length) {
|
9074 |
+
$video = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()('<iframe>').attr('frameborder', 0).attr('src', '//www.dailymotion.com/embed/video/' + dmMatch[2]).attr('width', '640').attr('height', '360');
|
9075 |
+
} else if (youkuMatch && youkuMatch[1].length) {
|
9076 |
+
$video = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()('<iframe webkitallowfullscreen mozallowfullscreen allowfullscreen>').attr('frameborder', 0).attr('height', '498').attr('width', '510').attr('src', '//player.youku.com/embed/' + youkuMatch[1]);
|
9077 |
+
} else if (qqMatch && qqMatch[1].length || qqMatch2 && qqMatch2[2].length) {
|
9078 |
+
var vid = qqMatch && qqMatch[1].length ? qqMatch[1] : qqMatch2[2];
|
9079 |
+
$video = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()('<iframe webkitallowfullscreen mozallowfullscreen allowfullscreen>').attr('frameborder', 0).attr('height', '310').attr('width', '500').attr('src', 'https://v.qq.com/txp/iframe/player.html?vid=' + vid + '&auto=0');
|
9080 |
+
} else if (mp4Match || oggMatch || webmMatch) {
|
9081 |
+
$video = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()('<video controls>').attr('src', url).attr('width', '640').attr('height', '360');
|
9082 |
+
} else if (fbMatch && fbMatch[0].length) {
|
9083 |
+
$video = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()('<iframe>').attr('frameborder', 0).attr('src', 'https://www.facebook.com/plugins/video.php?href=' + encodeURIComponent(fbMatch[0]) + '&show_text=0&width=560').attr('width', '560').attr('height', '301').attr('scrolling', 'no').attr('allowtransparency', 'true');
|
9084 |
+
} else {
|
9085 |
+
// this is not a known video link. Now what, Cat? Now what?
|
9086 |
+
return false;
|
9087 |
+
}
|
9088 |
+
|
9089 |
+
$video.addClass('note-video-clip');
|
9090 |
+
return $video[0];
|
9091 |
+
}
|
9092 |
+
}, {
|
9093 |
+
key: "show",
|
9094 |
+
value: function show() {
|
9095 |
+
var _this = this;
|
9096 |
+
|
9097 |
+
var text = this.context.invoke('editor.getSelectedText');
|
9098 |
+
this.context.invoke('editor.saveRange');
|
9099 |
+
this.showVideoDialog(text).then(function (url) {
|
9100 |
+
// [workaround] hide dialog before restore range for IE range focus
|
9101 |
+
_this.ui.hideDialog(_this.$dialog);
|
9102 |
+
|
9103 |
+
_this.context.invoke('editor.restoreRange'); // build node
|
9104 |
+
|
9105 |
+
|
9106 |
+
var $node = _this.createVideoNode(url);
|
9107 |
+
|
9108 |
+
if ($node) {
|
9109 |
+
// insert video node
|
9110 |
+
_this.context.invoke('editor.insertNode', $node);
|
9111 |
+
}
|
9112 |
+
}).fail(function () {
|
9113 |
+
_this.context.invoke('editor.restoreRange');
|
9114 |
+
});
|
9115 |
+
}
|
9116 |
+
/**
|
9117 |
+
* show video dialog
|
9118 |
+
*
|
9119 |
+
* @param {jQuery} $dialog
|
9120 |
+
* @return {Promise}
|
9121 |
+
*/
|
9122 |
+
|
9123 |
+
}, {
|
9124 |
+
key: "showVideoDialog",
|
9125 |
+
value: function showVideoDialog()
|
9126 |
+
/* text */
|
9127 |
+
{
|
9128 |
+
var _this2 = this;
|
9129 |
+
|
9130 |
+
return external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.Deferred(function (deferred) {
|
9131 |
+
var $videoUrl = _this2.$dialog.find('.note-video-url');
|
9132 |
+
|
9133 |
+
var $videoBtn = _this2.$dialog.find('.note-video-btn');
|
9134 |
+
|
9135 |
+
_this2.ui.onDialogShown(_this2.$dialog, function () {
|
9136 |
+
_this2.context.triggerEvent('dialog.shown');
|
9137 |
+
|
9138 |
+
$videoUrl.on('input paste propertychange', function () {
|
9139 |
+
_this2.ui.toggleBtn($videoBtn, $videoUrl.val());
|
9140 |
+
});
|
9141 |
+
|
9142 |
+
if (!env.isSupportTouch) {
|
9143 |
+
$videoUrl.trigger('focus');
|
9144 |
+
}
|
9145 |
+
|
9146 |
+
$videoBtn.click(function (event) {
|
9147 |
+
event.preventDefault();
|
9148 |
+
deferred.resolve($videoUrl.val());
|
9149 |
+
});
|
9150 |
+
|
9151 |
+
_this2.bindEnterKey($videoUrl, $videoBtn);
|
9152 |
+
});
|
9153 |
+
|
9154 |
+
_this2.ui.onDialogHidden(_this2.$dialog, function () {
|
9155 |
+
$videoUrl.off();
|
9156 |
+
$videoBtn.off();
|
9157 |
+
|
9158 |
+
if (deferred.state() === 'pending') {
|
9159 |
+
deferred.reject();
|
9160 |
+
}
|
9161 |
+
});
|
9162 |
+
|
9163 |
+
_this2.ui.showDialog(_this2.$dialog);
|
9164 |
+
});
|
9165 |
+
}
|
9166 |
+
}]);
|
9167 |
+
|
9168 |
+
return VideoDialog;
|
9169 |
+
}();
|
9170 |
+
|
9171 |
+
|
9172 |
+
// CONCATENATED MODULE: ./src/js/base/module/HelpDialog.js
|
9173 |
+
function HelpDialog_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
9174 |
+
|
9175 |
+
function HelpDialog_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
9176 |
+
|
9177 |
+
function HelpDialog_createClass(Constructor, protoProps, staticProps) { if (protoProps) HelpDialog_defineProperties(Constructor.prototype, protoProps); if (staticProps) HelpDialog_defineProperties(Constructor, staticProps); return Constructor; }
|
9178 |
+
|
9179 |
+
|
9180 |
+
|
9181 |
+
|
9182 |
+
var HelpDialog_HelpDialog = /*#__PURE__*/function () {
|
9183 |
+
function HelpDialog(context) {
|
9184 |
+
HelpDialog_classCallCheck(this, HelpDialog);
|
9185 |
+
|
9186 |
+
this.context = context;
|
9187 |
+
this.ui = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a.summernote.ui;
|
9188 |
+
this.$body = external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default()(document.body);
|
9189 |
+
this.$editor = context.layoutInfo.editor;
|
9190 |
+
this.options = context.options;
|
9191 |
+
this.lang = this.options.langInfo;
|
9192 |
+
}
|
9193 |
+
|
9194 |
+
HelpDialog_createClass(HelpDialog, [{
|
9195 |
+
key: "initialize",
|
9196 |
+
value: function initialize() {
|
9197 |
+
var $container = this.options.dialogsInBody ? this.$body : this.options.container;
|
9198 |
+
var body = ['<p class="text-center">', '<a href="http://summernote.org/" target="_blank">Summernote 0.8.18</a> · ', '<a href="https://github.com/summernote/summernote" target="_
|