@liascript/editor 1.1.0--0.10.21 → 1.1.0--0.10.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/Base.55ca6647.js +1 -0
- package/dist/Base.a5eb8e0c.js +1 -0
- package/dist/editor/ace.js +1 -1
- package/dist/editor/ext-code_lens.js +1 -1
- package/dist/editor/ext-emmet.js +1 -1
- package/dist/editor/ext-keybinding_menu.js +1 -1
- package/dist/editor/ext-language_tools.js +1 -1
- package/dist/editor/ext-modelist.js +1 -1
- package/dist/editor/ext-options.js +1 -1
- package/dist/editor/ext-prompt.js +1 -1
- package/dist/editor/ext-searchbox.js +1 -1
- package/dist/editor/ext-settings_menu.js +1 -1
- package/dist/editor/ext-static_highlight.js +1 -1
- package/dist/editor/keybinding-emacs.js +1 -1
- package/dist/editor/keybinding-vim.js +1 -1
- package/dist/editor/mode-aql.js +1 -1
- package/dist/editor/mode-bibtex.js +8 -0
- package/dist/editor/mode-coldfusion.js +1 -1
- package/dist/editor/mode-csound_document.js +1 -1
- package/dist/editor/mode-csound_orchestra.js +1 -1
- package/dist/editor/mode-css.js +1 -1
- package/dist/editor/mode-curly.js +1 -1
- package/dist/editor/mode-django.js +1 -1
- package/dist/editor/mode-ejs.js +1 -1
- package/dist/editor/mode-ftl.js +1 -1
- package/dist/editor/mode-gobstones.js +1 -1
- package/dist/editor/mode-haml.js +1 -1
- package/dist/editor/mode-handlebars.js +1 -1
- package/dist/editor/mode-html.js +1 -1
- package/dist/editor/mode-html_elixir.js +1 -1
- package/dist/editor/mode-html_ruby.js +1 -1
- package/dist/editor/mode-jade.js +1 -1
- package/dist/editor/mode-jexl.js +8 -0
- package/dist/editor/mode-jsp.js +1 -1
- package/dist/editor/mode-kotlin.js +1 -1
- package/dist/editor/mode-latte.js +1 -1
- package/dist/editor/mode-less.js +1 -1
- package/dist/editor/mode-liquid.js +1 -1
- package/dist/editor/mode-luapage.js +1 -1
- package/dist/editor/mode-markdown.js +1 -1
- package/dist/editor/mode-mask.js +1 -1
- package/dist/editor/mode-nsis.js +1 -1
- package/dist/editor/mode-nunjucks.js +1 -1
- package/dist/editor/mode-pgsql.js +1 -1
- package/dist/editor/mode-php.js +1 -1
- package/dist/editor/mode-php_laravel_blade.js +1 -1
- package/dist/editor/mode-razor.js +1 -1
- package/dist/editor/mode-rhtml.js +1 -1
- package/dist/editor/mode-robot.js +8 -0
- package/dist/editor/mode-rust.js +1 -1
- package/dist/editor/mode-sass.js +1 -1
- package/dist/editor/mode-scss.js +1 -1
- package/dist/editor/mode-slim.js +1 -1
- package/dist/editor/mode-smarty.js +1 -1
- package/dist/editor/mode-soy_template.js +1 -1
- package/dist/editor/mode-sql.js +1 -1
- package/dist/editor/mode-stylus.js +1 -1
- package/dist/editor/mode-svg.js +1 -1
- package/dist/editor/mode-twig.js +1 -1
- package/dist/editor/mode-velocity.js +1 -1
- package/dist/editor/mode-visualforce.js +1 -1
- package/dist/editor/mode-xml.js +1 -1
- package/dist/editor/mode-yaml.js +1 -1
- package/dist/editor/snippets/abc.js +1 -1
- package/dist/editor/snippets/actionscript.js +1 -1
- package/dist/editor/snippets/bibtex.js +8 -0
- package/dist/editor/snippets/c_cpp.js +1 -1
- package/dist/editor/snippets/clojure.js +1 -1
- package/dist/editor/snippets/coffee.js +1 -1
- package/dist/editor/snippets/csound_document.js +1 -1
- package/dist/editor/snippets/csound_orchestra.js +1 -1
- package/dist/editor/snippets/css.js +1 -1
- package/dist/editor/snippets/dart.js +1 -1
- package/dist/editor/snippets/diff.js +1 -1
- package/dist/editor/snippets/django.js +1 -1
- package/dist/editor/snippets/drools.js +1 -1
- package/dist/editor/snippets/edifact.js +1 -1
- package/dist/editor/snippets/erlang.js +1 -1
- package/dist/editor/snippets/fsl.js +1 -1
- package/dist/editor/snippets/gobstones.js +1 -1
- package/dist/editor/snippets/graphqlschema.js +1 -1
- package/dist/editor/snippets/haml.js +1 -1
- package/dist/editor/snippets/haskell.js +1 -1
- package/dist/editor/snippets/html.js +1 -1
- package/dist/editor/snippets/java.js +1 -1
- package/dist/editor/snippets/javascript.js +1 -1
- package/dist/editor/snippets/jexl.js +8 -0
- package/dist/editor/snippets/jsoniq.js +1 -1
- package/dist/editor/snippets/jsp.js +1 -1
- package/dist/editor/snippets/liquid.js +1 -1
- package/dist/editor/snippets/lsl.js +1 -1
- package/dist/editor/snippets/lua.js +1 -1
- package/dist/editor/snippets/makefile.js +1 -1
- package/dist/editor/snippets/markdown.js +1 -1
- package/dist/editor/snippets/maze.js +1 -1
- package/dist/editor/snippets/perl.js +1 -1
- package/dist/editor/snippets/php.js +1 -1
- package/dist/editor/snippets/python.js +1 -1
- package/dist/editor/snippets/r.js +1 -1
- package/dist/editor/snippets/razor.js +1 -1
- package/dist/editor/snippets/robot.js +8 -0
- package/dist/editor/snippets/rst.js +1 -1
- package/dist/editor/snippets/ruby.js +1 -1
- package/dist/editor/snippets/sh.js +1 -1
- package/dist/editor/snippets/snippets.js +1 -1
- package/dist/editor/snippets/sql.js +1 -1
- package/dist/editor/snippets/sqlserver.js +1 -1
- package/dist/editor/snippets/tcl.js +1 -1
- package/dist/editor/snippets/tex.js +1 -1
- package/dist/editor/snippets/textile.js +1 -1
- package/dist/editor/snippets/velocity.js +1 -1
- package/dist/editor/snippets/wollok.js +1 -1
- package/dist/editor/snippets/xquery.js +1 -1
- package/dist/editor/theme-ambiance.js +1 -1
- package/dist/editor/theme-chaos.js +1 -1
- package/dist/editor/theme-chrome.js +1 -1
- package/dist/editor/theme-cloud9_day.js +1 -1
- package/dist/editor/theme-cloud9_night.js +1 -1
- package/dist/editor/theme-cloud9_night_low_color.js +1 -1
- package/dist/editor/theme-clouds.js +1 -1
- package/dist/editor/theme-clouds_midnight.js +1 -1
- package/dist/editor/theme-cobalt.js +1 -1
- package/dist/editor/theme-crimson_editor.js +1 -1
- package/dist/editor/theme-dawn.js +1 -1
- package/dist/editor/theme-dracula.js +1 -1
- package/dist/editor/theme-dreamweaver.js +1 -1
- package/dist/editor/theme-eclipse.js +1 -1
- package/dist/editor/theme-github.js +1 -1
- package/dist/editor/theme-gob.js +1 -1
- package/dist/editor/theme-gruvbox.js +1 -1
- package/dist/editor/theme-gruvbox_dark_hard.js +8 -0
- package/dist/editor/theme-gruvbox_light_hard.js +8 -0
- package/dist/editor/theme-idle_fingers.js +1 -1
- package/dist/editor/theme-iplastic.js +1 -1
- package/dist/editor/theme-katzenmilch.js +1 -1
- package/dist/editor/theme-kr_theme.js +1 -1
- package/dist/editor/theme-kuroir.js +1 -1
- package/dist/editor/theme-merbivore.js +1 -1
- package/dist/editor/theme-merbivore_soft.js +1 -1
- package/dist/editor/theme-mono_industrial.js +1 -1
- package/dist/editor/theme-monokai.js +1 -1
- package/dist/editor/theme-nord_dark.js +1 -1
- package/dist/editor/theme-one_dark.js +1 -1
- package/dist/editor/theme-pastel_on_dark.js +1 -1
- package/dist/editor/theme-solarized_dark.js +1 -1
- package/dist/editor/theme-solarized_light.js +1 -1
- package/dist/editor/theme-sqlserver.js +1 -1
- package/dist/editor/theme-terminal.js +1 -1
- package/dist/editor/theme-textmate.js +1 -1
- package/dist/editor/theme-tomorrow.js +1 -1
- package/dist/editor/theme-tomorrow_night.js +1 -1
- package/dist/editor/theme-tomorrow_night_blue.js +1 -1
- package/dist/editor/theme-tomorrow_night_bright.js +1 -1
- package/dist/editor/theme-tomorrow_night_eighties.js +1 -1
- package/dist/editor/theme-twilight.js +1 -1
- package/dist/editor/theme-vibrant_ink.js +1 -1
- package/dist/editor/theme-xcode.js +1 -1
- package/dist/editor/worker-base.js +1 -1
- package/dist/editor/worker-coffee.js +1 -1
- package/dist/editor/worker-css.js +1 -1
- package/dist/editor/worker-html.js +1 -1
- package/dist/editor/worker-javascript.js +1 -1
- package/dist/editor/worker-json.js +1 -1
- package/dist/editor/worker-lua.js +1 -1
- package/dist/editor/worker-php.js +1 -1
- package/dist/editor/worker-xml.js +1 -1
- package/dist/editor/worker-xquery.js +1 -1
- package/dist/editor/worker-yaml.js +1 -0
- package/dist/index.0447d41b.js +1 -0
- package/dist/index.046db643.js +33 -0
- package/dist/index.21d0df5e.js +1 -0
- package/dist/index.2788d139.js +1 -0
- package/dist/index.2d4be0e5.js +1 -0
- package/dist/index.3b1b6bb2.js +1 -0
- package/dist/index.5926ee24.js +1 -0
- package/dist/index.61655063.js +1 -0
- package/dist/index.647ebf67.js +1 -0
- package/dist/index.6dcf9af7.js +1 -0
- package/dist/{index.ff9f18b2.js → index.7e3053fd.js} +1 -1
- package/dist/{index.a0549919.js → index.93e5add0.js} +1 -1
- package/dist/index.9415a6e4.css +1 -0
- package/dist/{index.e75b6acd.js → index.c8195391.js} +1 -1
- package/dist/index.da990239.js +32 -0
- package/dist/index.html +1 -1
- package/package.json +18 -13
- package/dist/Base.37196861.js +0 -1
- package/dist/Base.5d7e682d.js +0 -1
- package/dist/index.091c92e9.js +0 -1
- package/dist/index.3033e00c.js +0 -1
- package/dist/index.383e4a47.js +0 -1
- package/dist/index.49ab1337.js +0 -1
- package/dist/index.60a466f3.js +0 -1
- package/dist/index.7e06ca03.js +0 -1
- package/dist/index.7f10aabe.css +0 -1
- package/dist/index.a4213c46.js +0 -1
- package/dist/index.b0bdfb57.js +0 -16
- package/dist/index.b80d4c0c.css +0 -1
- package/dist/index.c7d04de3.js +0 -1
- package/dist/index.d8cbc6f3.js +0 -16
- package/dist/index.e95b2b35.js +0 -1
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ install via npm:
|
|
|
23
23
|
`npm i @liascript/editor`
|
|
24
24
|
|
|
25
25
|
> **Note:** The version information might look a bit different e.g.
|
|
26
|
-
> `1.1.0--0.10.
|
|
26
|
+
> `1.1.0--0.10.24`. The second version mirrors current version of LiaScript,
|
|
27
27
|
> while the first number is referring to the changes of the editor-branch.
|
|
28
28
|
|
|
29
29
|
## HowTo
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(){function e(e,t,n,o){Object.defineProperty(e,t,{get:n,set:o,enumerable:!0,configurable:!0})}var t=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}).parcelRequirea18f;t.register("bV6KY",(function(n,o){e(n.exports,"Connector",(function(){return c}));var r=t("3mpD3"),i=t("4JAgF"),u=t("9HoHC"),a=t("cDTRq"),l=t("kKjPA"),f=t("buw1Y"),c=function(){"use strict";function e(){(0,i.default)(this,e)}return(0,u.default)(e,[{key:"hasIndex",value:function(){return!1}},{key:"storage",value:function(){return new l.LiaStorage}},{key:"initSettings",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return f.Settings.init(e,t)}},{key:"setSettings",value:function(e){try{localStorage.setItem(f.Settings.PORT,JSON.stringify(e))}catch(e){console.warn("cannot write to localStorage")}}},{key:"getSettings",value:function(){var e="";try{e=localStorage.getItem(f.Settings.PORT)}catch(e){console.warn("cannot write to localStorage")}var t=null;if("string"==typeof e){try{t=JSON.parse(e)}catch(e){console.warn("getSettings =>",e)}t||(t=f.Settings.default),window.innerWidth<=768&&(t.table_of_contents=!1)}return t}},{key:"open",value:function(e,t,n){}},{key:"load",value:function(e){}},{key:"store",value:function(e){}},{key:"update",value:function(e,t){}},{key:"slide",value:function(e){}},{key:"getIndex",value:function(){}},{key:"deleteFromIndex",value:function(e){}},{key:"storeToIndex",value:function(e){}},{key:"restoreFromIndex",value:function(e,t){}},{key:"reset",value:function(e,t){this.initSettings(null,!0)}},{key:"getFromIndex",value:function(e){return(0,r.default)((function(){return(0,a.__generator)(this,(function(e){return[2,null]}))}))()}}]),e}()})),t.register("kKjPA",(function(n,o){e(n.exports,"LiaStorage",(function(){return a}));var r=t("4JAgF"),i=t("9HoHC"),u=t("dVhHy"),a=function(){"use strict";function e(){(0,r.default)(this,e)}return(0,i.default)(e,[{key:"getItems",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];"string"==typeof e&&(e=[e]);for(var t={},n=0;n<e.length;n++){var o=localStorage.getItem(e[n]);t[e[n]]=o?JSON.parse(o):o}return t}},{key:"setItems",value:function(e){this._setLocal(e)}},{key:"_setLocal",value:function(e){var t=!0,n=!1,o=void 0;if("object"==typeof e)try{for(var r,i=Object.entries(e)[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){var a=(0,u.default)(r.value,2),l=a[0],f=a[1];localStorage.setItem(l,JSON.stringify(f))}}catch(e){n=!0,o=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw o}}}}]),e}()}))}();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e,t,n,o){Object.defineProperty(e,t,{get:n,set:o,enumerable:!0,configurable:!0})}var t=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}).parcelRequirea18f;t.register("8kkhg",(function(n,o){e(n.exports,"Connector",(function(){return i}));var r=t("5MFHK"),s=t("dI6r2");class i{hasIndex(){return!1}storage(){return new r.LiaStorage}initSettings(e,t=!1){return s.Settings.init(e,t)}setSettings(e){try{localStorage.setItem(s.Settings.PORT,JSON.stringify(e))}catch(e){console.warn("cannot write to localStorage")}}getSettings(){let e="";try{e=localStorage.getItem(s.Settings.PORT)}catch(e){console.warn("cannot write to localStorage")}let t=null;if("string"==typeof e){try{t=JSON.parse(e)}catch(e){console.warn("getSettings =>",e)}t||(t=s.Settings.default),window.innerWidth<=768&&(t.table_of_contents=!1)}return t}open(e,t,n){}load(e){}store(e){}update(e,t){}slide(e){}getIndex(){}deleteFromIndex(e){}storeToIndex(e){}restoreFromIndex(e,t){}reset(e,t){this.initSettings(null,!0)}async getFromIndex(e){return null}constructor(){}}})),t.register("5MFHK",(function(t,n){e(t.exports,"LiaStorage",(function(){return o}));class o{getItems(e=[]){"string"==typeof e&&(e=[e]);let t={};for(let n=0;n<e.length;n++){let o=localStorage.getItem(e[n]);t[e[n]]=o?JSON.parse(o):o}return t}setItems(e){this._setLocal(e)}_setLocal(e){if("object"==typeof e)for(const[t,n]of Object.entries(e))localStorage.setItem(t,JSON.stringify(n))}constructor(){}}}));
|