From cd933c7b38529f143d482f3090c8f650a162e718 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 13 Aug 2019 17:21:32 -0300 Subject: [PATCH] simplificar javascript (ver descripcion) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * intercambiar jquery por zepto para reducir el tamaño de js y cargar la plataforma más rápido * eliminar plugins de JS que ya no vamos a usar como los tooltips de ayuda, que no son accesibles (estamos buscando reemplazo) * eliminar plugins de JS para cosas que vamos a reimplementar, como select2 y table dragging --- app/assets/javascripts/application.js | 24 +- app/assets/javascripts/drag.js | 42 ---- app/assets/javascripts/help.js | 5 - .../javascripts/porcentaje_de_financiacion.js | 32 --- app/assets/javascripts/rtl.js | 8 - app/assets/javascripts/select2.js | 6 - app/assets/javascripts/table_field.js | 71 ------ app/assets/stylesheets/application.scss | 4 - package.json | 16 +- yarn.lock | 230 ++++++++++++++---- 10 files changed, 186 insertions(+), 252 deletions(-) delete mode 100644 app/assets/javascripts/drag.js delete mode 100644 app/assets/javascripts/help.js delete mode 100644 app/assets/javascripts/porcentaje_de_financiacion.js delete mode 100644 app/assets/javascripts/rtl.js delete mode 100644 app/assets/javascripts/select2.js delete mode 100644 app/assets/javascripts/table_field.js diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index 611a77d..60346b9 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -1,26 +1,4 @@ -// This is a manifest file that'll be compiled into application.js, which will include all the files -// listed below. -// -// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, or any plugin's -// vendor/assets/javascripts directory can be referenced here using a relative path. -// -// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the -// compiled file. JavaScript code in this file should be added after the last require_* statement. -// -// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details -// about supported directives. -// //= require rails-ujs //= require turbolinks -//= require jquery/dist/jquery.js -//= require jquery.hotkeys/jquery.hotkeys -//= require popper.js/dist/umd/popper -//= require bootstrap/util -//= require bootstrap/alert -//= require bootstrap/tooltip -//= require bootstrap/dropdown -//= require bootstrap-markdown/js/bootstrap-markdown -//= require markdown-it/dist/markdown-it -//= require select2/dist/js/select2.full.min -//= require table-dragger/dist/table-dragger.min +//= require zepto/dist/zepto.min.js //= require_tree . diff --git a/app/assets/javascripts/drag.js b/app/assets/javascripts/drag.js deleted file mode 100644 index 9a1b605..0000000 --- a/app/assets/javascripts/drag.js +++ /dev/null @@ -1,42 +0,0 @@ -$(document).on('turbolinks:load', function() { - var table = document.querySelector('.table-draggable'); - - if (table == null) return; - - var were = $('.order.was').map(function() { return $(this).data('order') }); - - tableDragger(table, { - mode: 'row', - onlyBody: true, - dragHandler: '.handle' - }).on('drop', function(from, to, el, mode) { - // Al soltar, reordenamos toda la tabla - $('.post_order').val(function(i,v) { return were[i]; }); - // Mostramos el nuevo orden también - $('.order.is').text(function(i,v) { return were[i]; }); - // Solo mostramos el valor anterior si no coincide con el valor - // actual. Como lo mostramos entre comillas, usamos el atributo - // data-order del - $('.order.was').each(function() { - var el = $(this); - var is = el.parent().find('.order.is'); - - if (is.text() == el.data('order')) { - el.addClass('d-none'); - } else { - el.removeClass('d-none'); - } - }); - - // Muestra el panel - $('.reorder-posts-panel').addClass('d-block').removeClass('d-none'); - }); - - // Ocultar el panel de ayuda con botón - $('.reorder-posts-panel .close').click(function(e) { - e.preventDefault(); - $('.reorder-posts-panel') - .removeClass('d-block') - .addClass('d-none'); - }); -}); diff --git a/app/assets/javascripts/help.js b/app/assets/javascripts/help.js deleted file mode 100644 index 5a9e5f1..0000000 --- a/app/assets/javascripts/help.js +++ /dev/null @@ -1,5 +0,0 @@ -$(document).on('turbolinks:load', function() { - $('.alert').alert(); - $('[data-toggle="tooltip"]').tooltip({ placement: 'auto' }); - $('.dropdown-toggle').dropdown(); -}); diff --git a/app/assets/javascripts/porcentaje_de_financiacion.js b/app/assets/javascripts/porcentaje_de_financiacion.js deleted file mode 100644 index 4e2d0ac..0000000 --- a/app/assets/javascripts/porcentaje_de_financiacion.js +++ /dev/null @@ -1,32 +0,0 @@ -// XXX Esto solo está acá para cumplicar con objetivos de -// documentalmexicano.org - -$(document).on('turbolinks:load', function() { - var porcentajes = $('[id^=post_porcentaje_de_financiacion_]'); - - porcentajes.on('change', function() { - // Obtener todos los valores - var values = porcentajes.map(function(i, e) { - return (e.value.length > 0) ? parseInt(e.value) : 0; - }).toArray(); - - // Obtener la suma de los valores - var sum = values.reduce(function(i, e) { - return i + e; - }, 0); - - // Si superan el 100%, estan mal - if (sum > 100) { - porcentajes.addClass('is-invalid'); - } else { - porcentajes.removeClass('is-invalid'); - } - - var max = 100; - porcentajes.each(function(i, porcentaje) { - $(porcentaje).attr('max', max); - $(porcentaje).parent().find('.input-max').text(max); - max = max - porcentaje.value; - }); - }); -}); diff --git a/app/assets/javascripts/rtl.js b/app/assets/javascripts/rtl.js deleted file mode 100644 index 47e3801..0000000 --- a/app/assets/javascripts/rtl.js +++ /dev/null @@ -1,8 +0,0 @@ -$(document).on('turbolinks:load', function() { - $('#post_dir').change(function(e) { - var dir = $(this).val(); - var rid = (dir == 'rtl') ? 'ltr' : 'rtl'; - - $('.'+rid).removeClass(rid).addClass(dir); - }); -}); diff --git a/app/assets/javascripts/select2.js b/app/assets/javascripts/select2.js deleted file mode 100644 index 200e84c..0000000 --- a/app/assets/javascripts/select2.js +++ /dev/null @@ -1,6 +0,0 @@ -$(document).on('turbolinks:load', function() { - $('.select2').select2({ - theme: 'bootstrap', - width: '' - }); -}); diff --git a/app/assets/javascripts/table_field.js b/app/assets/javascripts/table_field.js deleted file mode 100644 index 13dc389..0000000 --- a/app/assets/javascripts/table_field.js +++ /dev/null @@ -1,71 +0,0 @@ -$(document).on('turbolinks:load', function() { - var removeGroup = function(e) { - e.preventDefault(); - var group = $(this).data('group') - $(this).parents('.field-group.'+group).remove(); - } - - var addGroup = function(e) { - // Permite agregar más filas a los campos nested? && array? - e.preventDefault(); - - var _this = $(this); - // Obtener el nombre del grupo para poder delimitar el campo de - // acción - var _own_group = _this.data('group') - // Sube hasta la raíz del grupo - var _groups = _this.parents('.field-groups.'+_own_group); - // En este elemento se van a agregar los nuevos - var _extra = _groups.children('.extra-groups'); - // El grupo a clonar es el primero, siempre con id 0 - var _group_orig = _groups - .children('.field-group') - .first(); - - // Deshabilita select2 - _group_orig.find('select.select2').select2('destroy'); - // Luego clona el grupo agregándole la clase 'extra' para poder - // mostrar el botón de borrado y lo agrega al final del grupo extra - var _group = _group_orig - .clone() - .addClass('extra') - .appendTo(_extra); - - // Encuentra todos los elementos con '[0]' en el nombre y les pone - // un ID generado a partir del tiempo Unix. De esta forma se crea - // un grupo que va a terminar en el mismo Hash de valores. - var _date = (new Date).getTime(); - // Filtramos por el grupo para ser mas especificas - _group.find('[name*="['+_own_group+'][0]"]').each(function(i, input) { - var _input = $(input); - var _name = _input.attr('name'); - var _regex = new RegExp('\\['+_own_group+'\\]\\[0\\]'); - _input.attr('name', _name.replace(_regex, '['+_own_group+']['+_date+']')); - if (['checkbox','radio'].includes(_input.attr('type'))) { - _input.prop('checked', false); - } else { - _input.val(''); - } - }); - - // Eliminar los campos extra - _group.find('.extra-groups').children().remove(); - - // Regenera el evento del botón de borrado - _group.find('.remove-group').click(removeGroup); - // Agregar el evento a los sub-botones - _group.find('.add-group').click(addGroup); - - // Regenera los select2 - var _select2 = _group.find('.select2'); - var _select2_opts = { theme: 'bootstrap', width: '' } - _select2.select2(_select2_opts); - _group_orig.find('.select2').select2(_select2_opts); - }; - - $('.add-group').click(addGroup); - - // Este evento permite remover las filas que ya existen en un post - // editado - $('.remove-group').click(removeGroup); -}); diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index 9e29ead..26b9795 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -5,11 +5,7 @@ $custom-file-text: ( ); @import "bootstrap"; -@import "bootstrap-markdown/css/bootstrap-markdown.min"; @import "font-awesome"; -@import "select2/dist/css/select2"; -@import "select2-theme-bootstrap4/dist/select2-bootstrap"; -@import "dragula-with-animation/dist/dragula"; @font-face { font-family: 'Saira'; diff --git a/package.json b/package.json index fb02118..90d59f4 100644 --- a/package.json +++ b/package.json @@ -2,16 +2,10 @@ "name": "sutty", "private": true, "dependencies": { - "bootstrap-markdown": "https://0xacab.org/itacate-kefir/bootstrap-markdown.git", - "jquery": "^3.3.1", - "jquery.hotkeys": "^0.1.0", - "markdown": "^0.5.0", - "markdown-it": "^8.4.0", - "marked": "^0.3.12", - "popper.js": "^1.12.9", - "select2": "4.0.5", - "select2-bootstrap-theme": "https://github.com/angel-vladov/select2-bootstrap-theme", - "select2-theme-bootstrap4": "^0.2.0-beta.2", - "table-dragger": "^1.0.2" + "codemirror": "^5.48.2", + "commonmark": "^0.29.0", + "table-dragger": "^1.0.2", + "tui-editor": "^1.4.5", + "zepto": "^1.2.0" } } diff --git a/yarn.lock b/yarn.lock index 694bf3f..8d0ada8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,13 +2,48 @@ # yarn lockfile v1 -abbrev@1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" +"@types/codemirror@0.0.71": + version "0.0.71" + resolved "https://registry.yarnpkg.com/@types/codemirror/-/codemirror-0.0.71.tgz#861f1bcb3100c0a064567c5400f2981cf4ae8ca7" + integrity sha512-b2oEEnno1LIGKMR7uBEsr40al1UijF1HEpRn0+Yf1xOLl24iQgB7DBpZVMM7y54G5wCNoclDrRO65E6KHPNO2w== + dependencies: + "@types/tern" "*" -almond@~0.3.1: - version "0.3.3" - resolved "https://registry.yarnpkg.com/almond/-/almond-0.3.3.tgz#a0e7c95ac7624d6417b4494b1e68bff693168a20" +"@types/estree@*": + version "0.0.39" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f" + integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== + +"@types/jquery@^3.3.29": + version "3.3.31" + resolved "https://registry.yarnpkg.com/@types/jquery/-/jquery-3.3.31.tgz#27c706e4bf488474e1cb54a71d8303f37c93451b" + integrity sha512-Lz4BAJihoFw5nRzKvg4nawXPzutkv7wmfQ5121avptaSIXlDNJCUuxZxX/G+9EVidZGuO0UBlk+YjKbwRKJigg== + dependencies: + "@types/sizzle" "*" + +"@types/linkify-it@*": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@types/linkify-it/-/linkify-it-2.1.0.tgz#ea3dd64c4805597311790b61e872cbd1ed2cd806" + integrity sha512-Q7DYAOi9O/+cLLhdaSvKdaumWyHbm7HAk/bFwwyTuU0arR5yyCeW5GOoqt4tJTpDRxhpx9Q8kQL6vMpuw9hDSw== + +"@types/markdown-it@0.0.7": + version "0.0.7" + resolved "https://registry.yarnpkg.com/@types/markdown-it/-/markdown-it-0.0.7.tgz#75070485a3d8ad11e7deb8287f4430be15bf4d39" + integrity sha512-WyL6pa76ollQFQNEaLVa41ZUUvDvPY+qAUmlsphnrpL6I9p1m868b26FyeoOmo7X3/Ta/S9WKXcEYXUSHnxoVQ== + dependencies: + "@types/linkify-it" "*" + +"@types/sizzle@*": + version "2.3.2" + resolved "https://registry.yarnpkg.com/@types/sizzle/-/sizzle-2.3.2.tgz#a811b8c18e2babab7d542b3365887ae2e4d9de47" + integrity sha512-7EJYyKTL7tFR8+gDbB6Wwz/arpGa0Mywk1TJbNzKzHtzbwVmY4HR9WqS5VV7dsBUKQmPNr192jHr/VpBluj/hg== + +"@types/tern@*": + version "0.23.3" + resolved "https://registry.yarnpkg.com/@types/tern/-/tern-0.23.3.tgz#4b54538f04a88c9ff79de1f6f94f575a7f339460" + integrity sha512-imDtS4TAoTcXk0g7u4kkWqedB3E4qpjXzCpD2LU5M5NAXHzCDsypyvXSaG7mM8DKYkCRa7tFp4tS/lp/Wo7Q3w== + dependencies: + "@types/estree" "*" argparse@^1.0.7: version "1.0.9" @@ -20,16 +55,36 @@ atoa@1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/atoa/-/atoa-1.0.0.tgz#0cc0e91a480e738f923ebc103676471779b34a49" -babel-runtime@^6.20.0: +babel-polyfill@^6.26.0: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-polyfill/-/babel-polyfill-6.26.0.tgz#379937abc67d7895970adc621f284cd966cf2153" + integrity sha1-N5k3q8Z9eJWXCtxiHyhM2WbPIVM= + dependencies: + babel-runtime "^6.26.0" + core-js "^2.5.0" + regenerator-runtime "^0.10.5" + +babel-runtime@^6.20.0, babel-runtime@^6.26.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" dependencies: core-js "^2.4.0" regenerator-runtime "^0.11.0" -"bootstrap-markdown@https://0xacab.org/itacate-kefir/bootstrap-markdown.git": - version "2.10.0" - resolved "https://0xacab.org/itacate-kefir/bootstrap-markdown.git#580184dc214ea2364fca0fdcb70e3c5e08bd5605" +codemirror@^5.33.0, codemirror@^5.48.2: + version "5.48.2" + resolved "https://registry.yarnpkg.com/codemirror/-/codemirror-5.48.2.tgz#a9dd3d426dea4cd59efd59cd98e20a9152a30922" + integrity sha512-i9VsmC8AfA5ji6EDIZ+aoSe4vt9FcwPLdHB1k1ItFbVyuOFRrcfvnoKqwZlC7EVA2UmTRiNEypE4Uo7YvzVY8Q== + +commonmark@^0.29.0: + version "0.29.0" + resolved "https://registry.yarnpkg.com/commonmark/-/commonmark-0.29.0.tgz#0f4b1d7bf9ae07b3b3a2d428ffd1d997b2ec7a7e" + integrity sha512-Wc3kvAIm0EK85pHsM95Fev31wEN6/zQpwd2qcLDL8psjHRoUFvUeGHevIJAdToWUuFoX8WI/gmeDauqy32xgJQ== + dependencies: + entities "~ 1.1.1" + mdurl "~ 1.0.1" + minimist "~ 1.2.0" + string.prototype.repeat "^0.2.0" contra@1.9.4: version "1.9.4" @@ -42,6 +97,11 @@ core-js@^2.4.0: version "2.5.5" resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.5.tgz#b14dde936c640c0579a6b50cabcc132dd6127e3b" +core-js@^2.5.0: + version "2.6.9" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.9.tgz#6b4b214620c834152e179323727fc19741b084f2" + integrity sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A== + crossvent@1.5.4: version "1.5.4" resolved "https://registry.yarnpkg.com/crossvent/-/crossvent-1.5.4.tgz#da2c4f8f40c94782517bf2beec1044148194ab92" @@ -69,17 +129,23 @@ dragula-with-animation@^3.7.2: contra "1.9.4" crossvent "1.5.4" +"entities@~ 1.1.1": + version "1.1.2" + resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.2.tgz#bdfa735299664dfafd34529ed4f8522a275fea56" + integrity sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w== + entities@~1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.1.tgz#6e5c2d0a5621b5dadaecef80b90edfb5cd7772f0" -jquery-mousewheel@~3.1.13: - version "3.1.13" - resolved "https://registry.yarnpkg.com/jquery-mousewheel/-/jquery-mousewheel-3.1.13.tgz#06f0335f16e353a695e7206bf50503cb523a6ee5" +"eve@git://github.com/adobe-webplatform/eve.git#eef80ed": + version "0.4.1" + resolved "git://github.com/adobe-webplatform/eve.git#eef80ed8d188423c2272746fb8ae5cc8dad84cb1" -jquery.hotkeys@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/jquery.hotkeys/-/jquery.hotkeys-0.1.0.tgz#a88f636494fe75de41e4b753a059e5a523b83273" +highlight.js@^9.12.0: + version "9.15.9" + resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.15.9.tgz#865257da1dbb4a58c4552d46c4b3854f77f0e6d5" + integrity sha512-M0zZvfLr5p0keDMCAhNBp03XJbKBxUx5AfyfufMdFMEP4N/Xj6dh0IqC75ys7BAzceR34NgcvXjupRVaHBPPVQ== jquery@^3.3.1: version "3.3.1" @@ -101,57 +167,65 @@ markdown-it@^8.4.0: mdurl "^1.0.1" uc.micro "^1.0.3" -markdown@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/markdown/-/markdown-0.5.0.tgz#28205b565a8ae7592de207463d6637dc182722b2" - dependencies: - nopt "~2.1.1" - -marked@^0.3.12: - version "0.3.12" - resolved "https://registry.yarnpkg.com/marked/-/marked-0.3.12.tgz#7cf25ff2252632f3fe2406bde258e94eee927519" - -mdurl@^1.0.1: +mdurl@^1.0.1, "mdurl@~ 1.0.1": version "1.0.1" resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-1.0.1.tgz#fe85b2ec75a59037f2adfec100fd6c601761152e" -nopt@~2.1.1: - version "2.1.2" - resolved "https://registry.yarnpkg.com/nopt/-/nopt-2.1.2.tgz#6cccd977b80132a07731d6e8ce58c2c8303cf9af" - dependencies: - abbrev "1" +"minimist@~ 1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" + integrity sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ= -popper.js@^1.12.9: - version "1.12.9" - resolved "https://registry.yarnpkg.com/popper.js/-/popper.js-1.12.9.tgz#0dfbc2dff96c451bb332edcfcfaaf566d331d5b3" +pako@1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.3.tgz#5f515b0c6722e1982920ae8005eacb0b7ca73ccf" + integrity sha1-X1FbDGci4ZgpIK6ABerLC3ynPM8= + +plantuml-encoder@^1.2.5: + version "1.2.6" + resolved "https://registry.yarnpkg.com/plantuml-encoder/-/plantuml-encoder-1.2.6.tgz#6ffeaa3bc096b04a61419e7028021a27e7b4c977" + integrity sha512-hdmvCL/CgzyAVFIAoPd1n/4HOkI+uiKcD+OZhK1K+z7J3dvW43VYgodb9zWaCNGu5MUIIlLtbK7cqBmV2xHKJQ== + dependencies: + pako "1.0.3" + utf8-bytes "0.0.1" + +"raphael@https://github.com/nhn/raphael.git#2.2.0-c": + version "2.2.0-c" + resolved "https://github.com/nhn/raphael.git#78a6ed3ec269f33b6457b0ec66f8c3d1f2ed70e0" + dependencies: + eve "git://github.com/adobe-webplatform/eve.git#eef80ed" + +regenerator-runtime@^0.10.5: + version "0.10.5" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz#336c3efc1220adcedda2c9fab67b5a7955a33658" + integrity sha1-M2w+/BIgrc7dosn6tntaeVWjNlg= regenerator-runtime@^0.11.0: version "0.11.1" resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" +resize-observer-polyfill@^1.5.0: + version "1.5.1" + resolved "https://registry.yarnpkg.com/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz#0e9020dd3d21024458d4ebd27e23e40269810464" + integrity sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg== + rx@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/rx/-/rx-4.1.0.tgz#a5f13ff79ef3b740fe30aa803fb09f98805d4782" -"select2-bootstrap-theme@https://github.com/angel-vladov/select2-bootstrap-theme": - version "0.1.0-beta.10" - resolved "https://github.com/angel-vladov/select2-bootstrap-theme#4fb604838e79150161fc636dbeb3b3022c034cda" - -select2-theme-bootstrap4@^0.2.0-beta.2: - version "0.2.0-beta.2" - resolved "https://registry.yarnpkg.com/select2-theme-bootstrap4/-/select2-theme-bootstrap4-0.2.0-beta.2.tgz#4295be07585939d6094b37ce65168d77be99c24b" - -select2@4.0.5: - version "4.0.5" - resolved "https://registry.yarnpkg.com/select2/-/select2-4.0.5.tgz#7aac50692561985b34d3b82ec55e226f8960d40a" - dependencies: - almond "~0.3.1" - jquery-mousewheel "~3.1.13" - sprintf-js@~1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" +"squire-rte@github:seonim-ryu/Squire#10a470c9dfd07cfb37b06dedc581526b061975e1": + version "1.9.0" + resolved "https://codeload.github.com/seonim-ryu/Squire/tar.gz/10a470c9dfd07cfb37b06dedc581526b061975e1" + +string.prototype.repeat@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/string.prototype.repeat/-/string.prototype.repeat-0.2.0.tgz#aba36de08dcee6a5a337d49b2ea1da1b28fc0ecf" + integrity sha1-q6Nt4I3O5qWjN9SbLqHaGyj8Ds8= + table-dragger@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/table-dragger/-/table-dragger-1.0.2.tgz#981f46c62fd2899b3fc5e644055ea72831949707" @@ -165,6 +239,62 @@ ticky@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/ticky/-/ticky-1.0.1.tgz#b7cfa71e768f1c9000c497b9151b30947c50e46d" +to-mark@^1.1.7: + version "1.1.7" + resolved "https://registry.yarnpkg.com/to-mark/-/to-mark-1.1.7.tgz#3e425a0a22a812c2d938e9ccfbf985f5856a1c79" + integrity sha512-TX/m+pH6LFhsuLYHZ4YeqZnHzbGAanWgPatgKzJWw8/NEV3AW2rwDlJh6EXeTmE8ezPT/e9sHI6kyiFHz32rLQ== + +tui-chart@^3.7.0: + version "3.7.0" + resolved "https://registry.yarnpkg.com/tui-chart/-/tui-chart-3.7.0.tgz#5cb98e7aac3e0430e901e8a22ea972f3fb5172ce" + integrity sha512-twrXxK1oqYvcvmPnULPjLdVRyvza3Ab8078HWR0UbTxuXnS8RIliRZY7FbUC1L8Ii9yvWeX3US4OGCSd0iBuJQ== + dependencies: + babel-polyfill "^6.26.0" + raphael "https://github.com/nhn/raphael.git#2.2.0-c" + tui-code-snippet "^1.5.0" + +tui-code-snippet@^1.5.0: + version "1.5.2" + resolved "https://registry.yarnpkg.com/tui-code-snippet/-/tui-code-snippet-1.5.2.tgz#f4b8f0f1ac996b0b5b621f77c9507af19a0de238" + integrity sha512-6UqTlQaaC1KLcmC0HAoq5dtl1G4Fib+R+NC7pmaV7kiIlZ7JqKhUmnOoGRcreAyzd81UTK/vCvhrw9QJskpCFQ== + +tui-color-picker@^2.2.1: + version "2.2.3" + resolved "https://registry.yarnpkg.com/tui-color-picker/-/tui-color-picker-2.2.3.tgz#81737e3507aa0790947c3c5cad0acada5caf883b" + integrity sha512-TI93kidjl9NMFIJV2RZvHtR093PdvJxNgwnC2L7mWe/SwFAv4rfVOSIYgkYR9hs7+cvUETGmBHvW2Kz60Nzd1g== + dependencies: + tui-code-snippet "^1.5.0" + +tui-editor@^1.4.5: + version "1.4.5" + resolved "https://registry.yarnpkg.com/tui-editor/-/tui-editor-1.4.5.tgz#8f21debcdff51f705d50373b6dd7b8aaaf3d70ff" + integrity sha512-CTZW2lHsq3ZhHBWA2GM5dpKTmYhhDoUyhh1MsiOQiFkj8gOhiI42Z9Q8VT0cmC5hXG0rhkQfRWQ8w0rGvrLvEg== + dependencies: + "@types/codemirror" "0.0.71" + "@types/jquery" "^3.3.29" + "@types/markdown-it" "0.0.7" + codemirror "^5.33.0" + highlight.js "^9.12.0" + jquery "^3.3.1" + markdown-it "^8.4.0" + plantuml-encoder "^1.2.5" + resize-observer-polyfill "^1.5.0" + squire-rte "github:seonim-ryu/Squire#10a470c9dfd07cfb37b06dedc581526b061975e1" + to-mark "^1.1.7" + tui-chart "^3.7.0" + tui-code-snippet "^1.5.0" + tui-color-picker "^2.2.1" + uc.micro@^1.0.1, uc.micro@^1.0.3: version "1.0.5" resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.5.tgz#0c65f15f815aa08b560a61ce8b4db7ffc3f45376" + +utf8-bytes@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/utf8-bytes/-/utf8-bytes-0.0.1.tgz#116b025448c9b500081cdfbf1f4d6c6c37d8837d" + integrity sha1-EWsCVEjJtQAIHN+/H01sbDfYg30= + +zepto@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/zepto/-/zepto-1.2.0.tgz#e127bd9e66fd846be5eab48c1394882f7c0e4f98" + integrity sha1-4Se9nmb9hGvl6rSME5SIL3wOT5g=