bedrock_sass 0.1.9 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -5
- data/assets/_vendor/ace/ace.js +21635 -0
- data/assets/_vendor/ace/ext-beautify.js +318 -0
- data/assets/_vendor/ace/ext-elastic_tabstops_lite.js +277 -0
- data/assets/_vendor/ace/ext-emmet.js +1226 -0
- data/assets/_vendor/ace/ext-error_marker.js +10 -0
- data/assets/_vendor/ace/ext-keybinding_menu.js +189 -0
- data/assets/_vendor/ace/ext-language_tools.js +1997 -0
- data/assets/_vendor/ace/ext-linking.js +65 -0
- data/assets/_vendor/ace/ext-modelist.js +228 -0
- data/assets/_vendor/ace/ext-options.js +750 -0
- data/assets/_vendor/ace/ext-rtl.js +110 -0
- data/assets/_vendor/ace/ext-searchbox.js +512 -0
- data/assets/_vendor/ace/ext-settings_menu.js +771 -0
- data/assets/_vendor/ace/ext-spellcheck.js +75 -0
- data/assets/_vendor/ace/ext-split.js +208 -0
- data/assets/_vendor/ace/ext-static_highlight.js +226 -0
- data/assets/_vendor/ace/ext-statusbar.js +57 -0
- data/assets/_vendor/ace/ext-textarea.js +567 -0
- data/assets/_vendor/ace/ext-themelist.js +67 -0
- data/assets/_vendor/ace/ext-whitespace.js +210 -0
- data/assets/_vendor/ace/keybinding-emacs.js +1165 -0
- data/assets/_vendor/ace/keybinding-vim.js +5673 -0
- data/assets/_vendor/ace/mode-abap.js +222 -0
- data/assets/_vendor/ace/mode-abc.js +267 -0
- data/assets/_vendor/ace/mode-actionscript.js +274 -0
- data/assets/_vendor/ace/mode-ada.js +138 -0
- data/assets/_vendor/ace/mode-apache_conf.js +363 -0
- data/assets/_vendor/ace/mode-applescript.js +279 -0
- data/assets/_vendor/ace/mode-asciidoc.js +349 -0
- data/assets/_vendor/ace/mode-asl.js +422 -0
- data/assets/_vendor/ace/mode-assembly_x86.js +193 -0
- data/assets/_vendor/ace/mode-autohotkey.js +243 -0
- data/assets/_vendor/ace/mode-batchfile.js +230 -0
- data/assets/_vendor/ace/mode-bro.js +334 -0
- data/assets/_vendor/ace/mode-c9search.js +294 -0
- data/assets/_vendor/ace/mode-c_cpp.js +502 -0
- data/assets/_vendor/ace/mode-cirru.js +211 -0
- data/assets/_vendor/ace/mode-clojure.js +314 -0
- data/assets/_vendor/ace/mode-cobol.js +102 -0
- data/assets/_vendor/ace/mode-coffee.js +400 -0
- data/assets/_vendor/ace/mode-coldfusion.js +2596 -0
- data/assets/_vendor/ace/mode-csharp.js +502 -0
- data/assets/_vendor/ace/mode-csound_document.js +3749 -0
- data/assets/_vendor/ace/mode-csound_orchestra.js +2687 -0
- data/assets/_vendor/ace/mode-csound_score.js +454 -0
- data/assets/_vendor/ace/mode-csp.js +60 -0
- data/assets/_vendor/ace/mode-css.js +723 -0
- data/assets/_vendor/ace/mode-curly.js +2564 -0
- data/assets/_vendor/ace/mode-d.js +520 -0
- data/assets/_vendor/ace/mode-dart.js +703 -0
- data/assets/_vendor/ace/mode-diff.js +146 -0
- data/assets/_vendor/ace/mode-django.js +2594 -0
- data/assets/_vendor/ace/mode-dockerfile.js +498 -0
- data/assets/_vendor/ace/mode-dot.js +418 -0
- data/assets/_vendor/ace/mode-drools.js +496 -0
- data/assets/_vendor/ace/mode-edifact.js +165 -0
- data/assets/_vendor/ace/mode-eiffel.js +136 -0
- data/assets/_vendor/ace/mode-ejs.js +3026 -0
- data/assets/_vendor/ace/mode-elixir.js +501 -0
- data/assets/_vendor/ace/mode-elm.js +307 -0
- data/assets/_vendor/ace/mode-erlang.js +1009 -0
- data/assets/_vendor/ace/mode-forth.js +297 -0
- data/assets/_vendor/ace/mode-fortran.js +431 -0
- data/assets/_vendor/ace/mode-fsharp.js +314 -0
- data/assets/_vendor/ace/mode-ftl.js +1192 -0
- data/assets/_vendor/ace/mode-gcode.js +94 -0
- data/assets/_vendor/ace/mode-gherkin.js +172 -0
- data/assets/_vendor/ace/mode-gitignore.js +60 -0
- data/assets/_vendor/ace/mode-glsl.js +579 -0
- data/assets/_vendor/ace/mode-gobstones.js +929 -0
- data/assets/_vendor/ace/mode-golang.js +414 -0
- data/assets/_vendor/ace/mode-graphqlschema.js +214 -0
- data/assets/_vendor/ace/mode-groovy.js +986 -0
- data/assets/_vendor/ace/mode-haml.js +1555 -0
- data/assets/_vendor/ace/mode-handlebars.js +2622 -0
- data/assets/_vendor/ace/mode-haskell.js +379 -0
- data/assets/_vendor/ace/mode-haskell_cabal.js +142 -0
- data/assets/_vendor/ace/mode-haxe.js +386 -0
- data/assets/_vendor/ace/mode-hjson.js +353 -0
- data/assets/_vendor/ace/mode-html.js +2509 -0
- data/assets/_vendor/ace/mode-html_elixir.js +3087 -0
- data/assets/_vendor/ace/mode-html_ruby.js +3043 -0
- data/assets/_vendor/ace/mode-ini.js +163 -0
- data/assets/_vendor/ace/mode-io.js +253 -0
- data/assets/_vendor/ace/mode-jack.js +347 -0
- data/assets/_vendor/ace/mode-jade.js +2126 -0
- data/assets/_vendor/ace/mode-java.js +975 -0
- data/assets/_vendor/ace/mode-javascript.js +797 -0
- data/assets/_vendor/ace/mode-json.js +327 -0
- data/assets/_vendor/ace/mode-jsoniq.js +4940 -0
- data/assets/_vendor/ace/mode-jsp.js +1430 -0
- data/assets/_vendor/ace/mode-jssm.js +325 -0
- data/assets/_vendor/ace/mode-jsx.js +412 -0
- data/assets/_vendor/ace/mode-julia.js +303 -0
- data/assets/_vendor/ace/mode-kotlin.js +795 -0
- data/assets/_vendor/ace/mode-latex.js +297 -0
- data/assets/_vendor/ace/mode-less.js +841 -0
- data/assets/_vendor/ace/mode-liquid.js +1193 -0
- data/assets/_vendor/ace/mode-lisp.js +112 -0
- data/assets/_vendor/ace/mode-livescript.js +280 -0
- data/assets/_vendor/ace/mode-logiql.js +317 -0
- data/assets/_vendor/ace/mode-lsl.js +343 -0
- data/assets/_vendor/ace/mode-lua.js +432 -0
- data/assets/_vendor/ace/mode-luapage.js +3007 -0
- data/assets/_vendor/ace/mode-lucene.js +87 -0
- data/assets/_vendor/ace/mode-makefile.js +410 -0
- data/assets/_vendor/ace/mode-markdown.js +3189 -0
- data/assets/_vendor/ace/mode-mask.js +1802 -0
- data/assets/_vendor/ace/mode-matlab.js +264 -0
- data/assets/_vendor/ace/mode-maze.js +291 -0
- data/assets/_vendor/ace/mode-mel.js +263 -0
- data/assets/_vendor/ace/mode-mixal.js +123 -0
- data/assets/_vendor/ace/mode-mushcode.js +681 -0
- data/assets/_vendor/ace/mode-mysql.js +168 -0
- data/assets/_vendor/ace/mode-nix.js +646 -0
- data/assets/_vendor/ace/mode-nsis.js +312 -0
- data/assets/_vendor/ace/mode-objectivec.js +739 -0
- data/assets/_vendor/ace/mode-ocaml.js +422 -0
- data/assets/_vendor/ace/mode-pascal.js +205 -0
- data/assets/_vendor/ace/mode-perl.js +380 -0
- data/assets/_vendor/ace/mode-pgsql.js +1508 -0
- data/assets/_vendor/ace/mode-php.js +13088 -0
- data/assets/_vendor/ace/mode-php_laravel_blade.js +13289 -0
- data/assets/_vendor/ace/mode-pig.js +310 -0
- data/assets/_vendor/ace/mode-plain_text.js +33 -0
- data/assets/_vendor/ace/mode-powershell.js +418 -0
- data/assets/_vendor/ace/mode-praat.js +478 -0
- data/assets/_vendor/ace/mode-prolog.js +371 -0
- data/assets/_vendor/ace/mode-properties.js +81 -0
- data/assets/_vendor/ace/mode-protobuf.js +592 -0
- data/assets/_vendor/ace/mode-puppet.js +370 -0
- data/assets/_vendor/ace/mode-python.js +273 -0
- data/assets/_vendor/ace/mode-r.js +310 -0
- data/assets/_vendor/ace/mode-razor.js +2869 -0
- data/assets/_vendor/ace/mode-rdoc.js +243 -0
- data/assets/_vendor/ace/mode-red.js +450 -0
- data/assets/_vendor/ace/mode-redshift.js +361 -0
- data/assets/_vendor/ace/mode-rhtml.js +2806 -0
- data/assets/_vendor/ace/mode-rst.js +257 -0
- data/assets/_vendor/ace/mode-ruby.js +497 -0
- data/assets/_vendor/ace/mode-rust.js +279 -0
- data/assets/_vendor/ace/mode-sass.js +441 -0
- data/assets/_vendor/ace/mode-scad.js +414 -0
- data/assets/_vendor/ace/mode-scala.js +982 -0
- data/assets/_vendor/ace/mode-scheme.js +232 -0
- data/assets/_vendor/ace/mode-scss.js +606 -0
- data/assets/_vendor/ace/mode-sh.js +447 -0
- data/assets/_vendor/ace/mode-sjs.js +1014 -0
- data/assets/_vendor/ace/mode-slim.js +4736 -0
- data/assets/_vendor/ace/mode-smarty.js +2635 -0
- data/assets/_vendor/ace/mode-snippets.js +207 -0
- data/assets/_vendor/ace/mode-soy_template.js +2847 -0
- data/assets/_vendor/ace/mode-space.js +168 -0
- data/assets/_vendor/ace/mode-sparql.js +320 -0
- data/assets/_vendor/ace/mode-sql.js +111 -0
- data/assets/_vendor/ace/mode-sqlserver.js +444 -0
- data/assets/_vendor/ace/mode-stylus.js +471 -0
- data/assets/_vendor/ace/mode-svg.js +1581 -0
- data/assets/_vendor/ace/mode-swift.js +390 -0
- data/assets/_vendor/ace/mode-tcl.js +383 -0
- data/assets/_vendor/ace/mode-terraform.js +398 -0
- data/assets/_vendor/ace/mode-tex.js +159 -0
- data/assets/_vendor/ace/mode-text.js +10 -0
- data/assets/_vendor/ace/mode-textile.js +150 -0
- data/assets/_vendor/ace/mode-toml.js +154 -0
- data/assets/_vendor/ace/mode-tsx.js +887 -0
- data/assets/_vendor/ace/mode-turtle.js +296 -0
- data/assets/_vendor/ace/mode-twig.js +2693 -0
- data/assets/_vendor/ace/mode-typescript.js +868 -0
- data/assets/_vendor/ace/mode-vala.js +676 -0
- data/assets/_vendor/ace/mode-vbscript.js +207 -0
- data/assets/_vendor/ace/mode-velocity.js +2790 -0
- data/assets/_vendor/ace/mode-verilog.js +119 -0
- data/assets/_vendor/ace/mode-vhdl.js +118 -0
- data/assets/_vendor/ace/mode-wollok.js +911 -0
- data/assets/_vendor/ace/mode-xml.js +677 -0
- data/assets/_vendor/ace/mode-xquery.js +4922 -0
- data/assets/_vendor/ace/mode-yaml.js +300 -0
- data/assets/_vendor/ace/snippets/abap.js +15 -0
- data/assets/_vendor/ace/snippets/abc.js +46 -0
- data/assets/_vendor/ace/snippets/actionscript.js +172 -0
- data/assets/_vendor/ace/snippets/ada.js +15 -0
- data/assets/_vendor/ace/snippets/apache_conf.js +15 -0
- data/assets/_vendor/ace/snippets/applescript.js +15 -0
- data/assets/_vendor/ace/snippets/asciidoc.js +15 -0
- data/assets/_vendor/ace/snippets/asl.js +14 -0
- data/assets/_vendor/ace/snippets/assembly_x86.js +15 -0
- data/assets/_vendor/ace/snippets/autohotkey.js +15 -0
- data/assets/_vendor/ace/snippets/batchfile.js +15 -0
- data/assets/_vendor/ace/snippets/bro.js +15 -0
- data/assets/_vendor/ace/snippets/c9search.js +15 -0
- data/assets/_vendor/ace/snippets/c_cpp.js +146 -0
- data/assets/_vendor/ace/snippets/cirru.js +15 -0
- data/assets/_vendor/ace/snippets/clojure.js +105 -0
- data/assets/_vendor/ace/snippets/cobol.js +15 -0
- data/assets/_vendor/ace/snippets/coffee.js +110 -0
- data/assets/_vendor/ace/snippets/coldfusion.js +15 -0
- data/assets/_vendor/ace/snippets/csharp.js +15 -0
- data/assets/_vendor/ace/snippets/csound_document.js +25 -0
- data/assets/_vendor/ace/snippets/csound_orchestra.js +62 -0
- data/assets/_vendor/ace/snippets/csound_score.js +15 -0
- data/assets/_vendor/ace/snippets/csp.js +15 -0
- data/assets/_vendor/ace/snippets/css.js +982 -0
- data/assets/_vendor/ace/snippets/curly.js +15 -0
- data/assets/_vendor/ace/snippets/d.js +15 -0
- data/assets/_vendor/ace/snippets/dart.js +98 -0
- data/assets/_vendor/ace/snippets/diff.js +26 -0
- data/assets/_vendor/ace/snippets/django.js +123 -0
- data/assets/_vendor/ace/snippets/dockerfile.js +15 -0
- data/assets/_vendor/ace/snippets/dot.js +15 -0
- data/assets/_vendor/ace/snippets/drools.js +34 -0
- data/assets/_vendor/ace/snippets/edifact.js +255 -0
- data/assets/_vendor/ace/snippets/eiffel.js +15 -0
- data/assets/_vendor/ace/snippets/ejs.js +15 -0
- data/assets/_vendor/ace/snippets/elixir.js +15 -0
- data/assets/_vendor/ace/snippets/elm.js +15 -0
- data/assets/_vendor/ace/snippets/erlang.js +175 -0
- data/assets/_vendor/ace/snippets/forth.js +15 -0
- data/assets/_vendor/ace/snippets/fortran.js +15 -0
- data/assets/_vendor/ace/snippets/fsharp.js +15 -0
- data/assets/_vendor/ace/snippets/ftl.js +15 -0
- data/assets/_vendor/ace/snippets/gcode.js +15 -0
- data/assets/_vendor/ace/snippets/gherkin.js +15 -0
- data/assets/_vendor/ace/snippets/gitignore.js +15 -0
- data/assets/_vendor/ace/snippets/glsl.js +15 -0
- data/assets/_vendor/ace/snippets/gobstones.js +49 -0
- data/assets/_vendor/ace/snippets/golang.js +15 -0
- data/assets/_vendor/ace/snippets/graphqlschema.js +47 -0
- data/assets/_vendor/ace/snippets/groovy.js +15 -0
- data/assets/_vendor/ace/snippets/haml.js +35 -0
- data/assets/_vendor/ace/snippets/handlebars.js +15 -0
- data/assets/_vendor/ace/snippets/haskell.js +97 -0
- data/assets/_vendor/ace/snippets/haskell_cabal.js +15 -0
- data/assets/_vendor/ace/snippets/haxe.js +15 -0
- data/assets/_vendor/ace/snippets/hjson.js +15 -0
- data/assets/_vendor/ace/snippets/html.js +870 -0
- data/assets/_vendor/ace/snippets/html_elixir.js +15 -0
- data/assets/_vendor/ace/snippets/html_ruby.js +15 -0
- data/assets/_vendor/ace/snippets/ini.js +15 -0
- data/assets/_vendor/ace/snippets/io.js +77 -0
- data/assets/_vendor/ace/snippets/jack.js +15 -0
- data/assets/_vendor/ace/snippets/jade.js +15 -0
- data/assets/_vendor/ace/snippets/java.js +255 -0
- data/assets/_vendor/ace/snippets/javascript.js +210 -0
- data/assets/_vendor/ace/snippets/json.js +15 -0
- data/assets/_vendor/ace/snippets/jsoniq.js +76 -0
- data/assets/_vendor/ace/snippets/jsp.js +114 -0
- data/assets/_vendor/ace/snippets/jssm.js +15 -0
- data/assets/_vendor/ace/snippets/jsx.js +15 -0
- data/assets/_vendor/ace/snippets/julia.js +15 -0
- data/assets/_vendor/ace/snippets/kotlin.js +15 -0
- data/assets/_vendor/ace/snippets/latex.js +15 -0
- data/assets/_vendor/ace/snippets/less.js +15 -0
- data/assets/_vendor/ace/snippets/liquid.js +15 -0
- data/assets/_vendor/ace/snippets/lisp.js +15 -0
- data/assets/_vendor/ace/snippets/livescript.js +15 -0
- data/assets/_vendor/ace/snippets/logiql.js +15 -0
- data/assets/_vendor/ace/snippets/lsl.js +1247 -0
- data/assets/_vendor/ace/snippets/lua.js +36 -0
- data/assets/_vendor/ace/snippets/luapage.js +15 -0
- data/assets/_vendor/ace/snippets/lucene.js +15 -0
- data/assets/_vendor/ace/snippets/makefile.js +19 -0
- data/assets/_vendor/ace/snippets/markdown.js +103 -0
- data/assets/_vendor/ace/snippets/mask.js +15 -0
- data/assets/_vendor/ace/snippets/matlab.js +15 -0
- data/assets/_vendor/ace/snippets/maze.js +24 -0
- data/assets/_vendor/ace/snippets/mel.js +15 -0
- data/assets/_vendor/ace/snippets/mixal.js +15 -0
- data/assets/_vendor/ace/snippets/mushcode.js +15 -0
- data/assets/_vendor/ace/snippets/mysql.js +15 -0
- data/assets/_vendor/ace/snippets/nix.js +15 -0
- data/assets/_vendor/ace/snippets/nsis.js +15 -0
- data/assets/_vendor/ace/snippets/objectivec.js +15 -0
- data/assets/_vendor/ace/snippets/ocaml.js +15 -0
- data/assets/_vendor/ace/snippets/pascal.js +15 -0
- data/assets/_vendor/ace/snippets/perl.js +362 -0
- data/assets/_vendor/ace/snippets/pgsql.js +15 -0
- data/assets/_vendor/ace/snippets/php.js +398 -0
- data/assets/_vendor/ace/snippets/php_laravel_blade.js +15 -0
- data/assets/_vendor/ace/snippets/pig.js +15 -0
- data/assets/_vendor/ace/snippets/plain_text.js +15 -0
- data/assets/_vendor/ace/snippets/powershell.js +15 -0
- data/assets/_vendor/ace/snippets/praat.js +15 -0
- data/assets/_vendor/ace/snippets/prolog.js +15 -0
- data/assets/_vendor/ace/snippets/properties.js +15 -0
- data/assets/_vendor/ace/snippets/protobuf.js +15 -0
- data/assets/_vendor/ace/snippets/puppet.js +15 -0
- data/assets/_vendor/ace/snippets/python.js +173 -0
- data/assets/_vendor/ace/snippets/r.js +136 -0
- data/assets/_vendor/ace/snippets/razor.js +18 -0
- data/assets/_vendor/ace/snippets/rdoc.js +15 -0
- data/assets/_vendor/ace/snippets/red.js +15 -0
- data/assets/_vendor/ace/snippets/redshift.js +15 -0
- data/assets/_vendor/ace/snippets/rhtml.js +15 -0
- data/assets/_vendor/ace/snippets/rst.js +37 -0
- data/assets/_vendor/ace/snippets/ruby.js +943 -0
- data/assets/_vendor/ace/snippets/rust.js +15 -0
- data/assets/_vendor/ace/snippets/sass.js +15 -0
- data/assets/_vendor/ace/snippets/scad.js +15 -0
- data/assets/_vendor/ace/snippets/scala.js +15 -0
- data/assets/_vendor/ace/snippets/scheme.js +15 -0
- data/assets/_vendor/ace/snippets/scss.js +15 -0
- data/assets/_vendor/ace/snippets/sh.js +98 -0
- data/assets/_vendor/ace/snippets/sjs.js +15 -0
- data/assets/_vendor/ace/snippets/slim.js +15 -0
- data/assets/_vendor/ace/snippets/smarty.js +15 -0
- data/assets/_vendor/ace/snippets/snippets.js +24 -0
- data/assets/_vendor/ace/snippets/soy_template.js +15 -0
- data/assets/_vendor/ace/snippets/space.js +15 -0
- data/assets/_vendor/ace/snippets/sparql.js +15 -0
- data/assets/_vendor/ace/snippets/sql.js +41 -0
- data/assets/_vendor/ace/snippets/sqlserver.js +84 -0
- data/assets/_vendor/ace/snippets/stylus.js +15 -0
- data/assets/_vendor/ace/snippets/svg.js +15 -0
- data/assets/_vendor/ace/snippets/swift.js +15 -0
- data/assets/_vendor/ace/snippets/tcl.js +107 -0
- data/assets/_vendor/ace/snippets/terraform.js +15 -0
- data/assets/_vendor/ace/snippets/tex.js +205 -0
- data/assets/_vendor/ace/snippets/text.js +15 -0
- data/assets/_vendor/ace/snippets/textile.js +45 -0
- data/assets/_vendor/ace/snippets/toml.js +15 -0
- data/assets/_vendor/ace/snippets/tsx.js +15 -0
- data/assets/_vendor/ace/snippets/turtle.js +15 -0
- data/assets/_vendor/ace/snippets/twig.js +15 -0
- data/assets/_vendor/ace/snippets/typescript.js +15 -0
- data/assets/_vendor/ace/snippets/vala.js +201 -0
- data/assets/_vendor/ace/snippets/vbscript.js +15 -0
- data/assets/_vendor/ace/snippets/velocity.js +44 -0
- data/assets/_vendor/ace/snippets/verilog.js +15 -0
- data/assets/_vendor/ace/snippets/vhdl.js +15 -0
- data/assets/_vendor/ace/snippets/wollok.js +99 -0
- data/assets/_vendor/ace/snippets/xml.js +15 -0
- data/assets/_vendor/ace/snippets/xquery.js +76 -0
- data/assets/_vendor/ace/snippets/yaml.js +15 -0
- data/assets/_vendor/ace/theme-ambiance.js +185 -0
- data/assets/_vendor/ace/theme-chaos.js +164 -0
- data/assets/_vendor/ace/theme-chrome.js +136 -0
- data/assets/_vendor/ace/theme-clouds.js +103 -0
- data/assets/_vendor/ace/theme-clouds_midnight.js +104 -0
- data/assets/_vendor/ace/theme-cobalt.js +121 -0
- data/assets/_vendor/ace/theme-crimson_editor.js +126 -0
- data/assets/_vendor/ace/theme-dawn.js +116 -0
- data/assets/_vendor/ace/theme-dracula.js +136 -0
- data/assets/_vendor/ace/theme-dreamweaver.js +149 -0
- data/assets/_vendor/ace/theme-eclipse.js +106 -0
- data/assets/_vendor/ace/theme-github.js +110 -0
- data/assets/_vendor/ace/theme-gob.js +120 -0
- data/assets/_vendor/ace/theme-gruvbox.js +90 -0
- data/assets/_vendor/ace/theme-idle_fingers.js +104 -0
- data/assets/_vendor/ace/theme-iplastic.js +129 -0
- data/assets/_vendor/ace/theme-katzenmilch.js +129 -0
- data/assets/_vendor/ace/theme-kr_theme.js +112 -0
- data/assets/_vendor/ace/theme-kuroir.js +69 -0
- data/assets/_vendor/ace/theme-merbivore.js +103 -0
- data/assets/_vendor/ace/theme-merbivore_soft.js +104 -0
- data/assets/_vendor/ace/theme-mono_industrial.js +115 -0
- data/assets/_vendor/ace/theme-monokai.js +113 -0
- data/assets/_vendor/ace/theme-pastel_on_dark.js +116 -0
- data/assets/_vendor/ace/theme-solarized_dark.js +96 -0
- data/assets/_vendor/ace/theme-solarized_light.js +99 -0
- data/assets/_vendor/ace/theme-sqlserver.js +146 -0
- data/assets/_vendor/ace/theme-terminal.js +122 -0
- data/assets/_vendor/ace/theme-textmate.js +138 -0
- data/assets/_vendor/ace/theme-tomorrow.js +116 -0
- data/assets/_vendor/ace/theme-tomorrow_night.js +116 -0
- data/assets/_vendor/ace/theme-tomorrow_night_blue.js +114 -0
- data/assets/_vendor/ace/theme-tomorrow_night_bright.js +129 -0
- data/assets/_vendor/ace/theme-tomorrow_night_eighties.js +116 -0
- data/assets/_vendor/ace/theme-twilight.js +117 -0
- data/assets/_vendor/ace/theme-vibrant_ink.js +102 -0
- data/assets/_vendor/ace/theme-xcode.js +96 -0
- data/assets/_vendor/ace/worker-coffee.js +2165 -0
- data/assets/_vendor/ace/worker-css.js +8764 -0
- data/assets/_vendor/ace/worker-html.js +11614 -0
- data/assets/_vendor/ace/worker-javascript.js +12491 -0
- data/assets/_vendor/ace/worker-json.js +2396 -0
- data/assets/_vendor/ace/worker-lua.js +3637 -0
- data/assets/_vendor/ace/worker-php.js +4313 -0
- data/assets/_vendor/ace/worker-xml.js +3899 -0
- data/assets/_vendor/ace/worker-xquery.js +70688 -0
- data/assets/_vendor/motion-ui/_settings.scss +1 -0
- data/assets/_vendor/motion-ui/effects/_fade.scss +1 -4
- data/assets/_vendor/motion-ui/effects/_hinge.scss +4 -3
- data/assets/_vendor/motion-ui/effects/_shake.scss +1 -1
- data/assets/_vendor/motion-ui/effects/_slide.scss +4 -3
- data/assets/_vendor/motion-ui/effects/_spin.scss +4 -3
- data/assets/_vendor/motion-ui/effects/_wiggle.scss +1 -1
- data/assets/_vendor/motion-ui/effects/_zoom.scss +2 -2
- data/assets/_vendor/motion-ui/motion-ui.scss +2 -0
- data/assets/_vendor/motion-ui/transitions/_fade.scss +6 -4
- data/assets/_vendor/motion-ui/transitions/_hinge.scss +3 -2
- data/assets/_vendor/motion-ui/transitions/_slide.scss +3 -2
- data/assets/_vendor/motion-ui/transitions/_spin.scss +2 -1
- data/assets/_vendor/motion-ui/transitions/_zoom.scss +6 -4
- data/assets/_vendor/motion-ui/util/_animation.scss +1 -1
- data/assets/_vendor/motion-ui/util/_args.scss +2 -2
- data/assets/_vendor/motion-ui/util/_function.scss +94 -0
- data/assets/_vendor/motion-ui/util/_keyframe.scss +5 -5
- data/assets/_vendor/motion-ui/util/_series.scss +20 -17
- data/assets/_vendor/motion-ui/util/_string.scss +36 -0
- data/assets/_vendor/tinymce/plugins/advlist/plugin.js +136 -404
- data/assets/_vendor/tinymce/plugins/advlist/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/anchor/plugin.js +103 -323
- data/assets/_vendor/tinymce/plugins/anchor/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/autolink/plugin.js +153 -377
- data/assets/_vendor/tinymce/plugins/autolink/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/autoresize/plugin.js +145 -427
- data/assets/_vendor/tinymce/plugins/autoresize/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/autosave/plugin.js +197 -579
- data/assets/_vendor/tinymce/plugins/autosave/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/bbcode/plugin.js +88 -251
- data/assets/_vendor/tinymce/plugins/bbcode/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/charmap/plugin.js +1243 -818
- data/assets/_vendor/tinymce/plugins/charmap/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/code/plugin.js +82 -326
- data/assets/_vendor/tinymce/plugins/code/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/codesample/plugin.js +829 -1444
- data/assets/_vendor/tinymce/plugins/codesample/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/colorpicker/plugin.js +111 -257
- data/assets/_vendor/tinymce/plugins/colorpicker/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/contextmenu/plugin.js +141 -469
- data/assets/_vendor/tinymce/plugins/contextmenu/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/directionality/plugin.js +57 -261
- data/assets/_vendor/tinymce/plugins/directionality/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/emoticons/plugin.js +78 -247
- data/assets/_vendor/tinymce/plugins/emoticons/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/fullpage/plugin.js +463 -906
- data/assets/_vendor/tinymce/plugins/fullpage/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/fullscreen/plugin.js +149 -427
- data/assets/_vendor/tinymce/plugins/fullscreen/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/help/plugin.js +634 -1434
- data/assets/_vendor/tinymce/plugins/help/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/hr/plugin.js +29 -185
- data/assets/_vendor/tinymce/plugins/hr/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/image/plugin.js +1147 -1508
- data/assets/_vendor/tinymce/plugins/image/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/imagetools/plugin.js +3319 -4079
- data/assets/_vendor/tinymce/plugins/imagetools/plugin.min.js +1 -2
- data/assets/_vendor/tinymce/plugins/importcss/plugin.js +230 -543
- data/assets/_vendor/tinymce/plugins/importcss/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/insertdatetime/plugin.js +151 -460
- data/assets/_vendor/tinymce/plugins/insertdatetime/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/legacyoutput/plugin.js +204 -379
- data/assets/_vendor/tinymce/plugins/legacyoutput/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/link/plugin.js +644 -1162
- data/assets/_vendor/tinymce/plugins/link/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/lists/plugin.js +1005 -1875
- data/assets/_vendor/tinymce/plugins/lists/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/media/plugin.js +1066 -1926
- data/assets/_vendor/tinymce/plugins/media/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/nonbreaking/plugin.js +70 -298
- data/assets/_vendor/tinymce/plugins/nonbreaking/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/noneditable/plugin.js +96 -294
- data/assets/_vendor/tinymce/plugins/noneditable/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/pagebreak/plugin.js +92 -337
- data/assets/_vendor/tinymce/plugins/pagebreak/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/paste/plugin.js +1363 -2801
- data/assets/_vendor/tinymce/plugins/paste/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/preview/plugin.js +106 -393
- data/assets/_vendor/tinymce/plugins/preview/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/print/plugin.js +29 -185
- data/assets/_vendor/tinymce/plugins/print/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/save/plugin.js +100 -350
- data/assets/_vendor/tinymce/plugins/save/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/searchreplace/plugin.js +491 -865
- data/assets/_vendor/tinymce/plugins/searchreplace/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/spellchecker/plugin.js +630 -1292
- data/assets/_vendor/tinymce/plugins/spellchecker/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/tabfocus/plugin.js +96 -391
- data/assets/_vendor/tinymce/plugins/tabfocus/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/table/plugin.js +9537 -14920
- data/assets/_vendor/tinymce/plugins/table/plugin.min.js +1 -5
- data/assets/_vendor/tinymce/plugins/template/plugin.js +309 -771
- data/assets/_vendor/tinymce/plugins/template/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/textcolor/plugin.js +319 -592
- data/assets/_vendor/tinymce/plugins/textcolor/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/textpattern/plugin.js +326 -674
- data/assets/_vendor/tinymce/plugins/textpattern/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/toc/plugin.js +199 -530
- data/assets/_vendor/tinymce/plugins/toc/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/visualblocks/plugin.js +112 -436
- data/assets/_vendor/tinymce/plugins/visualblocks/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/visualchars/plugin.js +428 -1248
- data/assets/_vendor/tinymce/plugins/visualchars/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/wordcount/plugin.js +307 -699
- data/assets/_vendor/tinymce/plugins/wordcount/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/skins/lightgray/content.inline.min.css +1 -1
- data/assets/_vendor/tinymce/skins/lightgray/content.min.css +1 -1
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.eot +0 -0
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.svg +1 -1
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.ttf +0 -0
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.woff +0 -0
- data/assets/_vendor/tinymce/skins/lightgray/skin.min.css +1 -1
- data/assets/_vendor/tinymce/skins/lightgray/skin.mobile.min.css +1 -1
- data/assets/_vendor/tinymce/themes/inlite/theme.js +9693 -18245
- data/assets/_vendor/tinymce/themes/inlite/theme.min.js +1 -5
- data/assets/_vendor/tinymce/themes/mobile/theme.js +12629 -22467
- data/assets/_vendor/tinymce/themes/mobile/theme.min.js +1 -8
- data/assets/_vendor/tinymce/themes/modern/theme.js +9510 -17780
- data/assets/_vendor/tinymce/themes/modern/theme.min.js +1 -5
- data/assets/_vendor/tinymce/tinymce.js +25087 -42606
- data/assets/_vendor/yoastseo/css/_icons.scss +7 -7
- data/assets/_vendor/yoastseo/css/_snippet-editor.scss +1 -1
- data/assets/bedrock/js/bedrock.js +1 -71697
- data/assets/bedrock/scss/_bedrock-components.scss +20 -0
- data/assets/bedrock/scss/_bedrock-settings.scss +12 -4
- data/assets/bedrock/scss/_foundation-settings.scss +4 -2
- data/assets/bedrock/scss/components/ace-editor.scss +21 -0
- data/assets/bedrock/scss/components/attachments-grid.scss +18 -15
- data/assets/bedrock/scss/components/date-picker.scss +146 -0
- data/assets/bedrock/scss/components/dropzone-upload.scss +7 -0
- data/assets/bedrock/scss/components/file-input.scss +7 -0
- data/assets/bedrock/scss/components/file-preview.scss +36 -0
- data/assets/bedrock/scss/components/frame-embed.scss +23 -0
- data/assets/bedrock/scss/components/global.scss +27 -0
- data/assets/bedrock/scss/components/helper-classes.scss +1 -0
- data/assets/bedrock/scss/components/icon-box.scss +38 -0
- data/assets/bedrock/scss/components/item-list.scss +66 -0
- data/assets/bedrock/scss/components/lists.scss +58 -0
- data/assets/bedrock/scss/components/off-canvas-menu.scss +27 -15
- data/assets/bedrock/scss/components/place-autocomplete.scss +90 -0
- data/assets/bedrock/scss/components/rrule-generator.scss +102 -0
- data/assets/bedrock/scss/components/rrule-reveal.scss +14 -0
- data/assets/bedrock/scss/components/select-box.scss +1 -0
- data/assets/bedrock/scss/components/seo-analysis.scss +5 -0
- data/assets/bedrock/scss/components/textarea.scss +14 -2
- data/assets/bedrock/scss/components/tiny-mce-editor.scss +5 -16
- data/lib/bedrock_sass.rb +5 -0
- data/lib/bedrock_sass/version.rb +1 -1
- data/lib/tasks/before_assets_precompile.rake +1 -0
- metadata +395 -4
- data/CODE_OF_CONDUCT.md +0 -74
@@ -0,0 +1,36 @@
|
|
1
|
+
/// Convert any string to a "safe" string that can be used anywhere in CSS (as class or keyframe name for example).
|
2
|
+
/// Unsupported characters are replaced by the given `$delimiter` ("-").
|
3
|
+
/// Several unsupported characters following each others are replaced by a single delimiter.
|
4
|
+
///
|
5
|
+
/// @param {*} $str - String to convert. If not a string, it will be converted to with `quote()`.
|
6
|
+
/// @param {String} $delimiter ['-'] - Character to use instead of unsupported characters.
|
7
|
+
/// @return {String} - Safe string usable everywhere in CSS.
|
8
|
+
@function -mui-string-safe(
|
9
|
+
$str,
|
10
|
+
$delimiter: '-'
|
11
|
+
) {
|
12
|
+
$str: quote($str);
|
13
|
+
$length: str_length($str);
|
14
|
+
$safe-chars: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_';
|
15
|
+
|
16
|
+
$ret: '';
|
17
|
+
$delimited: false;
|
18
|
+
|
19
|
+
@for $i from 1 through $length {
|
20
|
+
$c: str_slice($str, $i, $i);
|
21
|
+
|
22
|
+
@if (str_index($safe-chars, $c) != null) {
|
23
|
+
$ret: '#{$ret}#{$c}';
|
24
|
+
$delimited: false;
|
25
|
+
}
|
26
|
+
@else if (($delimited == false)
|
27
|
+
and (str_length($ret) > 0)
|
28
|
+
and ($i < $length))
|
29
|
+
{
|
30
|
+
$ret: '#{$ret}#{$delimiter}';
|
31
|
+
$delimited: true;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
@return $ret;
|
36
|
+
}
|
@@ -1,428 +1,160 @@
|
|
1
1
|
(function () {
|
2
|
+
var advlist = (function () {
|
3
|
+
'use strict';
|
2
4
|
|
3
|
-
var
|
5
|
+
var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
|
4
6
|
|
5
|
-
|
6
|
-
// The name is probably (hopefully) unique so minification removes for releases.
|
7
|
-
var register_3795 = function (id) {
|
8
|
-
var module = dem(id);
|
9
|
-
var fragments = id.split('.');
|
10
|
-
var target = Function('return this;')();
|
11
|
-
for (var i = 0; i < fragments.length - 1; ++i) {
|
12
|
-
if (target[fragments[i]] === undefined)
|
13
|
-
target[fragments[i]] = {};
|
14
|
-
target = target[fragments[i]];
|
15
|
-
}
|
16
|
-
target[fragments[fragments.length - 1]] = module;
|
17
|
-
};
|
18
|
-
|
19
|
-
var instantiate = function (id) {
|
20
|
-
var actual = defs[id];
|
21
|
-
var dependencies = actual.deps;
|
22
|
-
var definition = actual.defn;
|
23
|
-
var len = dependencies.length;
|
24
|
-
var instances = new Array(len);
|
25
|
-
for (var i = 0; i < len; ++i)
|
26
|
-
instances[i] = dem(dependencies[i]);
|
27
|
-
var defResult = definition.apply(null, instances);
|
28
|
-
if (defResult === undefined)
|
29
|
-
throw 'module [' + id + '] returned undefined';
|
30
|
-
actual.instance = defResult;
|
31
|
-
};
|
7
|
+
var global$1 = tinymce.util.Tools.resolve('tinymce.util.Tools');
|
32
8
|
|
33
|
-
var
|
34
|
-
|
35
|
-
|
36
|
-
else if (dependencies === undefined)
|
37
|
-
throw 'no dependencies for ' + id;
|
38
|
-
else if (definition === undefined)
|
39
|
-
throw 'no definition function for ' + id;
|
40
|
-
defs[id] = {
|
41
|
-
deps: dependencies,
|
42
|
-
defn: definition,
|
43
|
-
instance: undefined
|
9
|
+
var applyListFormat = function (editor, listName, styleValue) {
|
10
|
+
var cmd = listName === 'UL' ? 'InsertUnorderedList' : 'InsertOrderedList';
|
11
|
+
editor.execCommand(cmd, false, styleValue === false ? null : { 'list-style-type': styleValue });
|
44
12
|
};
|
45
|
-
};
|
46
|
-
|
47
|
-
var dem = function (id) {
|
48
|
-
var actual = defs[id];
|
49
|
-
if (actual === undefined)
|
50
|
-
throw 'module [' + id + '] was undefined';
|
51
|
-
else if (actual.instance === undefined)
|
52
|
-
instantiate(id);
|
53
|
-
return actual.instance;
|
54
|
-
};
|
55
|
-
|
56
|
-
var req = function (ids, callback) {
|
57
|
-
var len = ids.length;
|
58
|
-
var instances = new Array(len);
|
59
|
-
for (var i = 0; i < len; ++i)
|
60
|
-
instances[i] = dem(ids[i]);
|
61
|
-
callback.apply(null, instances);
|
62
|
-
};
|
63
|
-
|
64
|
-
var ephox = {};
|
65
|
-
|
66
|
-
ephox.bolt = {
|
67
|
-
module: {
|
68
|
-
api: {
|
69
|
-
define: def,
|
70
|
-
require: req,
|
71
|
-
demand: dem
|
72
|
-
}
|
73
|
-
}
|
74
|
-
};
|
75
|
-
|
76
|
-
var define = def;
|
77
|
-
var require = req;
|
78
|
-
var demand = dem;
|
79
|
-
// this helps with minification when using a lot of global references
|
80
|
-
var defineGlobal = function (id, ref) {
|
81
|
-
define(id, [], function () { return ref; });
|
82
|
-
};
|
83
|
-
/*jsc
|
84
|
-
["tinymce.plugins.advlist.Plugin","tinymce.core.PluginManager","tinymce.core.util.Tools","tinymce.plugins.advlist.api.Commands","tinymce.plugins.advlist.ui.Buttons","global!tinymce.util.Tools.resolve","tinymce.plugins.advlist.core.Actions","tinymce.plugins.advlist.api.Settings","tinymce.plugins.advlist.core.ListUtils","tinymce.plugins.advlist.ui.ListStyles"]
|
85
|
-
jsc*/
|
86
|
-
defineGlobal("global!tinymce.util.Tools.resolve", tinymce.util.Tools.resolve);
|
87
|
-
/**
|
88
|
-
* ResolveGlobal.js
|
89
|
-
*
|
90
|
-
* Released under LGPL License.
|
91
|
-
* Copyright (c) 1999-2017 Ephox Corp. All rights reserved
|
92
|
-
*
|
93
|
-
* License: http://www.tinymce.com/license
|
94
|
-
* Contributing: http://www.tinymce.com/contributing
|
95
|
-
*/
|
96
|
-
|
97
|
-
define(
|
98
|
-
'tinymce.core.PluginManager',
|
99
|
-
[
|
100
|
-
'global!tinymce.util.Tools.resolve'
|
101
|
-
],
|
102
|
-
function (resolve) {
|
103
|
-
return resolve('tinymce.PluginManager');
|
104
|
-
}
|
105
|
-
);
|
106
|
-
|
107
|
-
/**
|
108
|
-
* ResolveGlobal.js
|
109
|
-
*
|
110
|
-
* Released under LGPL License.
|
111
|
-
* Copyright (c) 1999-2017 Ephox Corp. All rights reserved
|
112
|
-
*
|
113
|
-
* License: http://www.tinymce.com/license
|
114
|
-
* Contributing: http://www.tinymce.com/contributing
|
115
|
-
*/
|
116
|
-
|
117
|
-
define(
|
118
|
-
'tinymce.core.util.Tools',
|
119
|
-
[
|
120
|
-
'global!tinymce.util.Tools.resolve'
|
121
|
-
],
|
122
|
-
function (resolve) {
|
123
|
-
return resolve('tinymce.util.Tools');
|
124
|
-
}
|
125
|
-
);
|
126
|
-
|
127
|
-
/**
|
128
|
-
* Actions.js
|
129
|
-
*
|
130
|
-
* Released under LGPL License.
|
131
|
-
* Copyright (c) 1999-2017 Ephox Corp. All rights reserved
|
132
|
-
*
|
133
|
-
* License: http://www.tinymce.com/license
|
134
|
-
* Contributing: http://www.tinymce.com/contributing
|
135
|
-
*/
|
136
|
-
|
137
|
-
define(
|
138
|
-
'tinymce.plugins.advlist.core.Actions',
|
139
|
-
[
|
140
|
-
],
|
141
|
-
function () {
|
142
|
-
var applyListFormat = function (editor, listName, styleValue) {
|
143
|
-
var cmd = listName === 'UL' ? 'InsertUnorderedList' : 'InsertOrderedList';
|
144
|
-
editor.execCommand(cmd, false, styleValue === false ? null : { 'list-style-type': styleValue });
|
145
|
-
};
|
146
|
-
|
147
|
-
return {
|
148
|
-
applyListFormat: applyListFormat
|
149
|
-
};
|
150
|
-
}
|
151
|
-
);
|
152
|
-
/**
|
153
|
-
* Commands.js
|
154
|
-
*
|
155
|
-
* Released under LGPL License.
|
156
|
-
* Copyright (c) 1999-2017 Ephox Corp. All rights reserved
|
157
|
-
*
|
158
|
-
* License: http://www.tinymce.com/license
|
159
|
-
* Contributing: http://www.tinymce.com/contributing
|
160
|
-
*/
|
13
|
+
var $_1wa7xb8ejm0ofy0b = { applyListFormat: applyListFormat };
|
161
14
|
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
});
|
172
|
-
|
173
|
-
editor.addCommand('ApplyOrderedListStyle', function (ui, value) {
|
174
|
-
Actions.applyListFormat(editor, 'OL', value['list-style-type']);
|
175
|
-
});
|
176
|
-
};
|
177
|
-
|
178
|
-
return {
|
179
|
-
register: register
|
180
|
-
};
|
181
|
-
}
|
182
|
-
);
|
183
|
-
|
184
|
-
|
185
|
-
/**
|
186
|
-
* Settings.js
|
187
|
-
*
|
188
|
-
* Released under LGPL License.
|
189
|
-
* Copyright (c) 1999-2017 Ephox Corp. All rights reserved
|
190
|
-
*
|
191
|
-
* License: http://www.tinymce.com/license
|
192
|
-
* Contributing: http://www.tinymce.com/contributing
|
193
|
-
*/
|
194
|
-
|
195
|
-
define(
|
196
|
-
'tinymce.plugins.advlist.api.Settings',
|
197
|
-
[
|
198
|
-
],
|
199
|
-
function () {
|
200
|
-
var getNumberStyles = function (editor) {
|
201
|
-
var styles = editor.getParam('advlist_number_styles', 'default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman');
|
202
|
-
return styles ? styles.split(/[ ,]/) : [];
|
203
|
-
};
|
204
|
-
|
205
|
-
var getBulletStyles = function (editor) {
|
206
|
-
var styles = editor.getParam('advlist_bullet_styles', 'default,circle,disc,square');
|
207
|
-
return styles ? styles.split(/[ ,]/) : [];
|
208
|
-
};
|
209
|
-
|
210
|
-
return {
|
211
|
-
getNumberStyles: getNumberStyles,
|
212
|
-
getBulletStyles: getBulletStyles
|
213
|
-
};
|
214
|
-
}
|
215
|
-
);
|
216
|
-
/**
|
217
|
-
* ListUtils.js
|
218
|
-
*
|
219
|
-
* Released under LGPL License.
|
220
|
-
* Copyright (c) 1999-2017 Ephox Corp. All rights reserved
|
221
|
-
*
|
222
|
-
* License: http://www.tinymce.com/license
|
223
|
-
* Contributing: http://www.tinymce.com/contributing
|
224
|
-
*/
|
15
|
+
var register = function (editor) {
|
16
|
+
editor.addCommand('ApplyUnorderedListStyle', function (ui, value) {
|
17
|
+
$_1wa7xb8ejm0ofy0b.applyListFormat(editor, 'UL', value['list-style-type']);
|
18
|
+
});
|
19
|
+
editor.addCommand('ApplyOrderedListStyle', function (ui, value) {
|
20
|
+
$_1wa7xb8ejm0ofy0b.applyListFormat(editor, 'OL', value['list-style-type']);
|
21
|
+
});
|
22
|
+
};
|
23
|
+
var $_deo70y8djm0ofy0a = { register: register };
|
225
24
|
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
function () {
|
231
|
-
var
|
232
|
-
|
233
|
-
|
25
|
+
var getNumberStyles = function (editor) {
|
26
|
+
var styles = editor.getParam('advlist_number_styles', 'default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman');
|
27
|
+
return styles ? styles.split(/[ ,]/) : [];
|
28
|
+
};
|
29
|
+
var getBulletStyles = function (editor) {
|
30
|
+
var styles = editor.getParam('advlist_bullet_styles', 'default,circle,disc,square');
|
31
|
+
return styles ? styles.split(/[ ,]/) : [];
|
32
|
+
};
|
33
|
+
var $_5vpf7p8gjm0ofy0p = {
|
34
|
+
getNumberStyles: getNumberStyles,
|
35
|
+
getBulletStyles: getBulletStyles
|
36
|
+
};
|
234
37
|
|
235
|
-
|
236
|
-
|
38
|
+
var isChildOfBody = function (editor, elm) {
|
39
|
+
return editor.$.contains(editor.getBody(), elm);
|
40
|
+
};
|
41
|
+
var isTableCellNode = function (node) {
|
42
|
+
return node && /^(TH|TD)$/.test(node.nodeName);
|
43
|
+
};
|
44
|
+
var isListNode = function (editor) {
|
45
|
+
return function (node) {
|
46
|
+
return node && /^(OL|UL|DL)$/.test(node.nodeName) && isChildOfBody(editor, node);
|
237
47
|
};
|
48
|
+
};
|
49
|
+
var getSelectedStyleType = function (editor) {
|
50
|
+
var listElm = editor.dom.getParent(editor.selection.getNode(), 'ol,ul');
|
51
|
+
return editor.dom.getStyle(listElm, 'listStyleType') || '';
|
52
|
+
};
|
53
|
+
var $_a5btxi8hjm0ofy0r = {
|
54
|
+
isTableCellNode: isTableCellNode,
|
55
|
+
isListNode: isListNode,
|
56
|
+
getSelectedStyleType: getSelectedStyleType
|
57
|
+
};
|
238
58
|
|
239
|
-
|
240
|
-
|
241
|
-
|
59
|
+
var styleValueToText = function (styleValue) {
|
60
|
+
return styleValue.replace(/\-/g, ' ').replace(/\b\w/g, function (chr) {
|
61
|
+
return chr.toUpperCase();
|
62
|
+
});
|
63
|
+
};
|
64
|
+
var toMenuItems = function (styles) {
|
65
|
+
return global$1.map(styles, function (styleValue) {
|
66
|
+
var text = styleValueToText(styleValue);
|
67
|
+
var data = styleValue === 'default' ? '' : styleValue;
|
68
|
+
return {
|
69
|
+
text: text,
|
70
|
+
data: data
|
242
71
|
};
|
243
|
-
};
|
244
|
-
|
245
|
-
|
246
|
-
var listElm = editor.dom.getParent(editor.selection.getNode(), 'ol,ul');
|
247
|
-
return editor.dom.getStyle(listElm, 'listStyleType') || '';
|
248
|
-
};
|
249
|
-
|
250
|
-
return {
|
251
|
-
isTableCellNode: isTableCellNode,
|
252
|
-
isListNode: isListNode,
|
253
|
-
getSelectedStyleType: getSelectedStyleType
|
254
|
-
};
|
255
|
-
}
|
256
|
-
);
|
257
|
-
/**
|
258
|
-
* ListStyles.js
|
259
|
-
*
|
260
|
-
* Released under LGPL License.
|
261
|
-
* Copyright (c) 1999-2017 Ephox Corp. All rights reserved
|
262
|
-
*
|
263
|
-
* License: http://www.tinymce.com/license
|
264
|
-
* Contributing: http://www.tinymce.com/contributing
|
265
|
-
*/
|
266
|
-
|
267
|
-
define(
|
268
|
-
'tinymce.plugins.advlist.ui.ListStyles',
|
269
|
-
[
|
270
|
-
'tinymce.core.util.Tools'
|
271
|
-
],
|
272
|
-
function (Tools) {
|
273
|
-
var styleValueToText = function (styleValue) {
|
274
|
-
return styleValue.replace(/\-/g, ' ').replace(/\b\w/g, function (chr) {
|
275
|
-
return chr.toUpperCase();
|
276
|
-
});
|
277
|
-
};
|
278
|
-
|
279
|
-
var toMenuItems = function (styles) {
|
280
|
-
return Tools.map(styles, function (styleValue) {
|
281
|
-
var text = styleValueToText(styleValue);
|
282
|
-
var data = styleValue === 'default' ? '' : styleValue;
|
283
|
-
|
284
|
-
return { text: text, data: data };
|
285
|
-
});
|
286
|
-
};
|
287
|
-
|
288
|
-
return {
|
289
|
-
toMenuItems: toMenuItems
|
290
|
-
};
|
291
|
-
}
|
292
|
-
);
|
293
|
-
/**
|
294
|
-
* Buttons.js
|
295
|
-
*
|
296
|
-
* Released under LGPL License.
|
297
|
-
* Copyright (c) 1999-2017 Ephox Corp. All rights reserved
|
298
|
-
*
|
299
|
-
* License: http://www.tinymce.com/license
|
300
|
-
* Contributing: http://www.tinymce.com/contributing
|
301
|
-
*/
|
302
|
-
|
303
|
-
define(
|
304
|
-
'tinymce.plugins.advlist.ui.Buttons',
|
305
|
-
[
|
306
|
-
'tinymce.core.util.Tools',
|
307
|
-
'tinymce.plugins.advlist.api.Settings',
|
308
|
-
'tinymce.plugins.advlist.core.Actions',
|
309
|
-
'tinymce.plugins.advlist.core.ListUtils',
|
310
|
-
'tinymce.plugins.advlist.ui.ListStyles'
|
311
|
-
],
|
312
|
-
function (Tools, Settings, Actions, ListUtils, ListStyles) {
|
313
|
-
var findIndex = function (list, predicate) {
|
314
|
-
for (var index = 0; index < list.length; index++) {
|
315
|
-
var element = list[index];
|
72
|
+
});
|
73
|
+
};
|
74
|
+
var $_eshxnq8ijm0ofy0s = { toMenuItems: toMenuItems };
|
316
75
|
|
317
|
-
|
318
|
-
|
319
|
-
|
76
|
+
var findIndex = function (list, predicate) {
|
77
|
+
for (var index = 0; index < list.length; index++) {
|
78
|
+
var element = list[index];
|
79
|
+
if (predicate(element)) {
|
80
|
+
return index;
|
320
81
|
}
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
ctrl.active(lists.length > 0 && lists[0].nodeName === listName);
|
333
|
-
});
|
334
|
-
};
|
335
|
-
};
|
336
|
-
|
337
|
-
var updateSelection = function (editor) {
|
338
|
-
return function (e) {
|
339
|
-
var listStyleType = ListUtils.getSelectedStyleType(editor);
|
340
|
-
e.control.items().each(function (ctrl) {
|
341
|
-
ctrl.active(ctrl.settings.data === listStyleType);
|
342
|
-
});
|
343
|
-
};
|
344
|
-
};
|
345
|
-
|
346
|
-
var addSplitButton = function (editor, id, tooltip, cmd, nodeName, styles) {
|
347
|
-
editor.addButton(id, {
|
348
|
-
active: false,
|
349
|
-
type: 'splitbutton',
|
350
|
-
tooltip: tooltip,
|
351
|
-
menu: ListStyles.toMenuItems(styles),
|
352
|
-
onPostRender: listState(editor, nodeName),
|
353
|
-
onshow: updateSelection(editor),
|
354
|
-
onselect: function (e) {
|
355
|
-
Actions.applyListFormat(editor, nodeName, e.control.settings.data);
|
356
|
-
},
|
357
|
-
onclick: function () {
|
358
|
-
editor.execCommand(cmd);
|
359
|
-
}
|
82
|
+
}
|
83
|
+
return -1;
|
84
|
+
};
|
85
|
+
var listState = function (editor, listName) {
|
86
|
+
return function (e) {
|
87
|
+
var ctrl = e.control;
|
88
|
+
editor.on('NodeChange', function (e) {
|
89
|
+
var tableCellIndex = findIndex(e.parents, $_a5btxi8hjm0ofy0r.isTableCellNode);
|
90
|
+
var parents = tableCellIndex !== -1 ? e.parents.slice(0, tableCellIndex) : e.parents;
|
91
|
+
var lists = global$1.grep(parents, $_a5btxi8hjm0ofy0r.isListNode(editor));
|
92
|
+
ctrl.active(lists.length > 0 && lists[0].nodeName === listName);
|
360
93
|
});
|
361
94
|
};
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
onPostRender: listState(editor, nodeName),
|
369
|
-
onclick: function () {
|
370
|
-
editor.execCommand(cmd);
|
371
|
-
}
|
95
|
+
};
|
96
|
+
var updateSelection = function (editor) {
|
97
|
+
return function (e) {
|
98
|
+
var listStyleType = $_a5btxi8hjm0ofy0r.getSelectedStyleType(editor);
|
99
|
+
e.control.items().each(function (ctrl) {
|
100
|
+
ctrl.active(ctrl.settings.data === listStyleType);
|
372
101
|
});
|
373
102
|
};
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
103
|
+
};
|
104
|
+
var addSplitButton = function (editor, id, tooltip, cmd, nodeName, styles) {
|
105
|
+
editor.addButton(id, {
|
106
|
+
active: false,
|
107
|
+
type: 'splitbutton',
|
108
|
+
tooltip: tooltip,
|
109
|
+
menu: $_eshxnq8ijm0ofy0s.toMenuItems(styles),
|
110
|
+
onPostRender: listState(editor, nodeName),
|
111
|
+
onshow: updateSelection(editor),
|
112
|
+
onselect: function (e) {
|
113
|
+
$_1wa7xb8ejm0ofy0b.applyListFormat(editor, nodeName, e.control.settings.data);
|
114
|
+
},
|
115
|
+
onclick: function () {
|
116
|
+
editor.execCommand(cmd);
|
380
117
|
}
|
381
|
-
};
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
118
|
+
});
|
119
|
+
};
|
120
|
+
var addButton = function (editor, id, tooltip, cmd, nodeName, styles) {
|
121
|
+
editor.addButton(id, {
|
122
|
+
active: false,
|
123
|
+
type: 'button',
|
124
|
+
tooltip: tooltip,
|
125
|
+
onPostRender: listState(editor, nodeName),
|
126
|
+
onclick: function () {
|
127
|
+
editor.execCommand(cmd);
|
128
|
+
}
|
129
|
+
});
|
130
|
+
};
|
131
|
+
var addControl = function (editor, id, tooltip, cmd, nodeName, styles) {
|
132
|
+
if (styles.length > 0) {
|
133
|
+
addSplitButton(editor, id, tooltip, cmd, nodeName, styles);
|
134
|
+
} else {
|
135
|
+
addButton(editor, id, tooltip, cmd, nodeName, styles);
|
136
|
+
}
|
137
|
+
};
|
138
|
+
var register$1 = function (editor) {
|
139
|
+
addControl(editor, 'numlist', 'Numbered list', 'InsertOrderedList', 'OL', $_5vpf7p8gjm0ofy0p.getNumberStyles(editor));
|
140
|
+
addControl(editor, 'bullist', 'Bullet list', 'InsertUnorderedList', 'UL', $_5vpf7p8gjm0ofy0p.getBulletStyles(editor));
|
141
|
+
};
|
142
|
+
var $_zf7p98fjm0ofy0c = { register: register$1 };
|
387
143
|
|
388
|
-
|
389
|
-
|
144
|
+
global.add('advlist', function (editor) {
|
145
|
+
var hasPlugin = function (editor, plugin) {
|
146
|
+
var plugins = editor.settings.plugins ? editor.settings.plugins : '';
|
147
|
+
return global$1.inArray(plugins.split(/[ ,]/), plugin) !== -1;
|
390
148
|
};
|
149
|
+
if (hasPlugin(editor, 'lists')) {
|
150
|
+
$_zf7p98fjm0ofy0c.register(editor);
|
151
|
+
$_deo70y8djm0ofy0a.register(editor);
|
152
|
+
}
|
153
|
+
});
|
154
|
+
function Plugin () {
|
391
155
|
}
|
392
|
-
);
|
393
|
-
/**
|
394
|
-
* Plugin.js
|
395
|
-
*
|
396
|
-
* Released under LGPL License.
|
397
|
-
* Copyright (c) 1999-2017 Ephox Corp. All rights reserved
|
398
|
-
*
|
399
|
-
* License: http://www.tinymce.com/license
|
400
|
-
* Contributing: http://www.tinymce.com/contributing
|
401
|
-
*/
|
402
|
-
|
403
|
-
define(
|
404
|
-
'tinymce.plugins.advlist.Plugin',
|
405
|
-
[
|
406
|
-
'tinymce.core.PluginManager',
|
407
|
-
'tinymce.core.util.Tools',
|
408
|
-
'tinymce.plugins.advlist.api.Commands',
|
409
|
-
'tinymce.plugins.advlist.ui.Buttons'
|
410
|
-
],
|
411
|
-
function (PluginManager, Tools, Commands, Buttons) {
|
412
|
-
PluginManager.add('advlist', function (editor) {
|
413
|
-
var hasPlugin = function (editor, plugin) {
|
414
|
-
var plugins = editor.settings.plugins ? editor.settings.plugins : '';
|
415
|
-
return Tools.inArray(plugins.split(/[ ,]/), plugin) !== -1;
|
416
|
-
};
|
417
156
|
|
418
|
-
|
419
|
-
Buttons.register(editor);
|
420
|
-
Commands.register(editor);
|
421
|
-
}
|
422
|
-
});
|
157
|
+
return Plugin;
|
423
158
|
|
424
|
-
|
425
|
-
}
|
426
|
-
);
|
427
|
-
dem('tinymce.plugins.advlist.Plugin')();
|
159
|
+
}());
|
428
160
|
})();
|