iobroker.vis-jsontemplate 4.0.1
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/LICENSE +21 -0
- package/README.md +536 -0
- package/admin/vis-jsontemplate.png +0 -0
- package/admin/words.js +6 -0
- package/io-package.json +115 -0
- package/package.json +72 -0
- package/widgets/eslint.config.mjs +27 -0
- package/widgets/package.json +14 -0
- package/widgets/vis-jsontemplate/css/agate.css +108 -0
- package/widgets/vis-jsontemplate/css/doc.css +163 -0
- package/widgets/vis-jsontemplate/css/style.css +4 -0
- package/widgets/vis-jsontemplate/dist/jsontemplate-dist.js +1344 -0
- package/widgets/vis-jsontemplate/dist/jsontemplate-dist.js.map +7 -0
- package/widgets/vis-jsontemplate/i18n/words.json +54 -0
- package/widgets/vis-jsontemplate/img/jsontemplate.png +0 -0
- package/widgets/vis-jsontemplate/js/bundle.js +2 -0
- package/widgets/vis-jsontemplate/js/ejs.js +1532 -0
- package/widgets/vis-jsontemplate/js/jsontemplate.js +346 -0
- package/widgets/vis-jsontemplate/js/mode-ejs.js +3025 -0
- package/widgets/vis-jsontemplate.html +19 -0
- package/widgets/vis2vis-jsontemplate/assets/JSONTemplateWidget-CgoV9KML.js +1563 -0
- package/widgets/vis2vis-jsontemplate/assets/_commonjsHelpers-DsqdWQfm.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/abap-DfmzwOny.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/abc-CwfNa2Co.js +32 -0
- package/widgets/vis2vis-jsontemplate/assets/actionscript-i2dYZlPV.js +158 -0
- package/widgets/vis2vis-jsontemplate/assets/ada-D8cv3bAk.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/alda-BnZCAn_Y.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/apache_conf-B2jcq9vM.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/apex-BnDrFY2n.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/applescript-Dtx6iIWt.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/aql-CR8jDz4P.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/asciidoc-CTtTEKKR.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/asl-CGDnhWkr.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/assembly_arm32-DmUGZg4l.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/assembly_x86-CgGhNn_8.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/astro-C6vYAtVy.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/autohotkey-DL7PtRJU.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/basic-DpGwy_JF.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/batchfile-CMUqBaJo.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/bibtex-CBKG4IBI.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/c9search-BzbdQPPO.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/c_cpp-D4DfiamA.js +132 -0
- package/widgets/vis2vis-jsontemplate/assets/cirru-UmvTEMH2.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/clojure-BvfuACp1.js +91 -0
- package/widgets/vis2vis-jsontemplate/assets/clue-q0X5feRk.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/cobol-CJDamiOp.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/coffee-DKyPKpfN.js +96 -0
- package/widgets/vis2vis-jsontemplate/assets/coldfusion-jQBfC77-.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/createSvgIcon-BzWa0w5J.js +7 -0
- package/widgets/vis2vis-jsontemplate/assets/crystal-Xmewh1AX.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/csharp-BX2hMNfl.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/csound_document-BYTAf4zh.js +11 -0
- package/widgets/vis2vis-jsontemplate/assets/csound_orchestra-Bkyfk74i.js +48 -0
- package/widgets/vis2vis-jsontemplate/assets/csound_score-DhKjTAqK.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/csp-BVgLU7jE.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/css-DZLpieJP.js +968 -0
- package/widgets/vis2vis-jsontemplate/assets/csv-D_5OW9bB.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/curly-D0Tb-q1n.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/cuttlefish-BB4QY2Rz.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/d-ZKWDuB0_.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/dart-BNJffOyh.js +84 -0
- package/widgets/vis2vis-jsontemplate/assets/defaultTheme-WWPLMFZt.js +16 -0
- package/widgets/vis2vis-jsontemplate/assets/diff-BEYejKtJ.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/django-DKKc_ed5.js +109 -0
- package/widgets/vis2vis-jsontemplate/assets/dockerfile-DZXH_6WL.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/dot-CSB_DfTc.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/drools-nRr1FiNd.js +20 -0
- package/widgets/vis2vis-jsontemplate/assets/edifact-BVKa_fHy.js +241 -0
- package/widgets/vis2vis-jsontemplate/assets/eiffel-uT8kjWRN.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/elixir-DtwfFhQ8.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/elm-D4pytUf9.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/erlang-DLPi5bw-.js +161 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-beautify-B7kCn5eA.js +3 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-code_lens-Cd0L1scq.js +23 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-command_bar-CACcXZrU.js +115 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-diff-Dv4WtRZc.js +151 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-elastic_tabstops_lite-VRqnv66z.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-emmet-CZ96P7gQ.js +14 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-error_marker-BkxAtjZn.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-hardwrap-DOx3BiAc.js +2 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-inline_autocomplete-9gt-h0ru.js +235 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-keybinding_menu-gzsgTxEE.js +64 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-linking-wSRE0KER.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-modelist-CKVsSg9k.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-options-BXmc73M0.js +64 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-prompt-Cj8XYZzP.js +178 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-rtl-Bwce-jN9.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-searchbox-BRgKKnhq.js +164 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-settings_menu-B3vu25Es.js +64 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-simple_tokenizer-MkPEmA4u.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-spellcheck-DAWtK7lF.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-static_highlight-BwPaHOba.js +41 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-statusbar-Dkmz7M2l.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-textarea-MRaqZ_vl.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-themelist-DSJRISt7.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-whitespace-CIw_x4la.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/flix-BnYChX6M.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/forth-C7qLFM9f.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/fortran-D7LyTru1.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/fsharp-BLTDJuay.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/fsl-CdTU_n9i.js +10 -0
- package/widgets/vis2vis-jsontemplate/assets/ftl-C9sNDcIo.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/gcode--LKSXs7E.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/gherkin-DF5zs6Z9.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/gitignore-DUetkVs4.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/glsl-COGwuk5H.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/gobstones-Br2Q_Ugk.js +1705 -0
- package/widgets/vis2vis-jsontemplate/assets/golang-CNkGUfhJ.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/graphqlschema-7tZ2HYRX.js +33 -0
- package/widgets/vis2vis-jsontemplate/assets/groovy-DLai4UlA.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/haml-Ddk-m970.js +21 -0
- package/widgets/vis2vis-jsontemplate/assets/handlebars-ChbQGB3d.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/haskell-DwAb6s6I.js +83 -0
- package/widgets/vis2vis-jsontemplate/assets/haskell_cabal-BETkhooQ.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/haxe-BAeGzG-s.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/hjson-Cn5g-vro.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/hostInit-BDi6DR-Y.js +2 -0
- package/widgets/vis2vis-jsontemplate/assets/html-Y77dZPwR.js +854 -0
- package/widgets/vis2vis-jsontemplate/assets/html_elixir-BZT1fAVA.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/html_ruby-ZJfpYv6X.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/index-1uf8j2YM.js +228 -0
- package/widgets/vis2vis-jsontemplate/assets/index-BiSoXv7x.js +9 -0
- package/widgets/vis2vis-jsontemplate/assets/index-DYmfCyJR.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/index-Dp6AGEHk.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/index-DxU1QEIH.js +24 -0
- package/widgets/vis2vis-jsontemplate/assets/index-s1k6Tdvt.js +934 -0
- package/widgets/vis2vis-jsontemplate/assets/ini-DOrp8VAL.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/io-B6WPW4S3.js +7 -0
- package/widgets/vis2vis-jsontemplate/assets/ion-BxjKPSGO.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/jack-DrJMuola.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/jade-CbhHZW3W.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/java-L1LAgMtF.js +241 -0
- package/widgets/vis2vis-jsontemplate/assets/javascript-DBBdZ2gE.js +196 -0
- package/widgets/vis2vis-jsontemplate/assets/jexl-Dnikqs0-.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/json-cePerCHg.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/json5-CEf7P4mW.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/jsoniq-CBTitV1b.js +62 -0
- package/widgets/vis2vis-jsontemplate/assets/jsp-GnrKeHhA.js +100 -0
- package/widgets/vis2vis-jsontemplate/assets/jssm-CNl_ppkL.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/jsx-Dcd392cc.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/jsx-runtime-BAfZVaXB.js +9 -0
- package/widgets/vis2vis-jsontemplate/assets/julia-C9h3gepL.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/keybinding-emacs-BaUjXW98.js +51 -0
- package/widgets/vis2vis-jsontemplate/assets/keybinding-sublime-YH75Ct6d.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/keybinding-vim-CaVW7c9r.js +65 -0
- package/widgets/vis2vis-jsontemplate/assets/keybinding-vscode-BDZTuICh.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/kotlin-fH8Pursa.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/latex-Br5EtP_p.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/latte-DHpZVVJ2.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/less-B35SVqSd.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/liquid-qyWKOevD.js +882 -0
- package/widgets/vis2vis-jsontemplate/assets/lisp-Bn4vKlba.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/livescript-DhxGkJ79.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/logiql-BFSlSEOg.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/logtalk-x5SPdOmO.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/lsl-CkX2tYha.js +1233 -0
- package/widgets/vis2vis-jsontemplate/assets/lua-B6tQSosf.js +22 -0
- package/widgets/vis2vis-jsontemplate/assets/luapage-BQOhc2op.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/lucene-B_Ui40TE.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/makefile-DCaIcxsE.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/markdown-Ds-l5XVV.js +89 -0
- package/widgets/vis2vis-jsontemplate/assets/mask-DzUgFl4f.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/matlab-DMmM5wsi.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/maze-Dtm3r2jA.js +10 -0
- package/widgets/vis2vis-jsontemplate/assets/mediawiki-DJkwyw9T.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mel-T4CX3Ax0.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mips-D0HfPNMe.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mixal-CHOHPvAw.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-abap-Cx2uGxmu.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-abc-DNxxXgCn.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-actionscript-Lqs4aUly.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-ada-DMVjprza.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-alda-C227mkWP.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-apache_conf-DUgycb9k.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-apex-WVQriCPM.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-applescript-BIn6R63y.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-aql-DO0Ecwp8.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-asciidoc-CrgKnY1x.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-asl-BYJnt3jo.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-assembly_arm32-CetKLDV4.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-assembly_x86-CubIXjg2.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-astro-Dr-YkJd2.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-autohotkey-CGdAUSVJ.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-basic-YPMOcp_T.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-batchfile-B-Zv3TtT.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-bibtex-TG2Wchr5.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-c9search-B7V8RiOe.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-c_cpp-ZsOtduiQ.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-cirru-CEOsriet.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-clojure-BXwnpilm.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-clue-BZbZE0ou.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-cobol-Dfq9SVVZ.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-coffee-xrjY_rju.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-coldfusion-OZwNZrIZ.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-crystal-BIG_YDiU.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-csharp-DBF-FKTE.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-csound_document-DLDvhrWv.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-csound_orchestra-Yrq2iOqw.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-csound_score-B80xm_9p.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-csp-D74FoMl0.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-css-C3msDUrB.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-csv-CdmtvoKD.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-curly-CCqoptjF.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-cuttlefish-B1PQW5qP.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-d-tHqFRuWz.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-dart-BUry-_Uq.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-diff-CXDWrh6N.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-django-l3su_Wch.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-dockerfile-D00fpghG.js +3 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-dot-CRgOy-4H.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-drools-CdNIEfYS.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-edifact-BJt5WRnI.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-eiffel-CjOQ59Mh.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-elixir-BBYnnLNP.js +17 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-elm-C4hPf63s.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-erlang-DTO4AJg8.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-flix-WJhDWOJK.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-forth-D5yqLhHX.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-fortran-FuOeWb1y.js +3 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-fsharp-DWB4FB5I.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-fsl-BbD49gQN.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-ftl-DCBaSrCS.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-gcode-DyycwyUB.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-gherkin-ClzVT6c8.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-gitignore-Cm81mNe0.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-glsl-BmnhJ7jD.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-gobstones-DsTc490f.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-golang-W5yNK8NQ.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-graphqlschema-C1W1BXTc.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-groovy-Dtz-6Z7P.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-haml-DzRoVgZi.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-handlebars-CmnS29SD.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-haskell-BoBVITB9.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-haskell_cabal-CKxlr3jF.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-haxe-E5rGLUJe.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-hjson-BeLPW_Cs.js +20 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-html-Dk56Z7Z_.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-html_elixir-COi9C8Yo.js +21 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-html_ruby-C2Pmjq37.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-ini-BtBiRyI-.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-io-BbkCkGZV.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-ion-CcLU5PF_.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-jack-CE-rcZti.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-jade-BwjId9Hq.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-java-CVwdagwT.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-javascript-Uyq4Qy-A.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-jexl-D6x9rXM4.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-json-DfI0el-U.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-json5-DfkyvMXq.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-jsoniq-DOLnf8m6.js +9 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-jsp-B5pQE_to.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-jssm-BIUeda1N.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-jsx-CpHuKZot.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-julia-CVO3urMQ.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-kotlin-GZHgeC2A.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-latex-DVUjduXc.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-latte-DC_69hWX.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-less-CSc_gwBA.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-liquid-QYoisl9P.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-lisp-DIPlJoHD.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-livescript-BiuZjE9L.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-logiql-r7GQoTD0.js +3 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-logtalk-BV-XKcB-.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-lsl-ByqelXin.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-lua-D4smnGmf.js +4 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-luapage-DEfuUOVr.js +8 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-lucene-B_rvFXb1.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-makefile-CkPrIwmp.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-markdown-BTLnpScr.js +7 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-mask-qkR1KcB4.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-matlab-CHyUpJ53.js +2 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-maze-eSasdKn2.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-mediawiki-T6AAK_tx.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-mel-CP7h_hli.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-mips-CeblmH_t.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-mixal-7NVNCscn.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-mushcode-B5DAQUWZ.js +3 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-mysql-deurkNTd.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-nasal-CQ9lZVT-.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-nginx-BksCWuoQ.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-nim-De0rRhWG.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-nix-Dl4ZMj6A.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-nsis-CbIaTlyP.js +3 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-nunjucks-BkQiW6bx.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-objectivec-V4CgVWvp.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-ocaml-B0OJypGp.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-odin-BuYsmItT.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-partiql-COxrAtTa.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-pascal-BXBvzrNQ.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-perl-CONjBhej.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-pgsql-XzNsFflv.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-php-DQuLmOUU.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-php_laravel_blade-Bblwdsl-.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-pig-C_t1Waqf.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-plain_text-CFhhAAmr.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-plsql-DgP7Cdl4.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-powershell-BGCPchLY.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-praat-6bojCYuv.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-prisma-CzIylCeU.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-prolog-C7MZwLMP.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-properties-Bnn9HTVN.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-protobuf-Dup4k2m0.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-prql-YLxZHTUj.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-puppet-qLcrfeOR.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-python-BZz04ov9.js +3 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-qml-DqZ3lPSS.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-r-e10wKfR-.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-raku-Dsga_hxk.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-razor-HQ3WO4ht.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-rdoc-DX5Wf-Fm.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-red-BT--KnCa.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-redshift-3AJ9eyaU.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-rhtml-DTeq1gof.js +8 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-robot-Cx7Ll-f_.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-rst-66KrgJvy.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-ruby-Bjton-Z6.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-rust-C_dVH8Xm.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-sac-CT3iemsq.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-sass-BkHxYZza.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-scad-DeOrShi9.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-scala-BVbB_f1z.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-scheme-B5C4oJuT.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-scrypt-PF2qJgu2.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-scss-DXZoSuRb.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-sh-D24LzE3p.js +3 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-sjs-BmDEcJsO.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-slim-Cl_LtZ3D.js +7 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-smarty-B7H45xSz.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-smithy-20d5kx_y.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-snippets-D8Hbyw7T.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-soy_template-D0sFgNSx.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-space-DSHFQGmQ.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-sparql-DHyU529t.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-sql-CVfIZpNN.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-sqlserver-BJxt32YN.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-stylus-0wnzE15x.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-svg-Dw3_4UiU.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-swift-CkQ9K8Zi.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-tcl-CZjLIvue.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-terraform-CoemOqbf.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-tex-DderkMrs.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-text-Cq8AEtu7.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-textile-cQ4nh_8l.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-toml-C7N8acrX.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-tsv-BW4F9Csx.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-tsx-DYTFAwD0.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-turtle-D1Gj0Td4.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-twig-BmRjVW7I.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-typescript-B4UIWQGF.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-vala-CQgsR3Iz.js +14 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-vbscript-BkEqgnMM.js +4 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-velocity-Bq3AJheK.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-verilog-Cs9gK34N.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-vhdl-B7El2bJx.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-visualforce-hTvPHkdm.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-vue-Bl9prrPT.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-wollok-D--hCjHs.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-xml-Ctgb3fQi.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-xquery-CARgpScm.js +9 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-yaml-anyfmPQH.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-zeek-C0daUwuH.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-zig-CTS8ECFM.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mushcode-BmgSkBy5.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mysql-3WOKxHIv.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/nasal-BgEGeagV.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/nginx-CRl0FtfM.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/nim-CuG1Iqzn.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/nix-1eqDJaJA.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/nsis-e4bU-iiA.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/nunjucks-BMaA-k2J.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/objectivec-CL_sencn.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/ocaml-BoV7EcQd.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/odin-BOFCi3x8.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/partiql-DoK4_fue.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/pascal-CocCapcg.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/perl-ixlOVPTq.js +348 -0
- package/widgets/vis2vis-jsontemplate/assets/pgsql-BravoAfx.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/php-Be-UnEia.js +384 -0
- package/widgets/vis2vis-jsontemplate/assets/php_laravel_blade-B93ny3oF.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/pig-D2exIm4c.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/plain_text-B8XuaXJO.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/plsql-D7a_3sch.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/powershell-1s7ZzFVb.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/praat-DUyb5Bk6.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/preload-helper-4fGslNWJ.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/prisma-mdDN7d2R.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/prolog-DqDHt9zx.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/properties-DZWGPhQI.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/protobuf-CXiyd_Mb.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/prql-IGFRnbNC.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/puppet-BtdJ4V45.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/python-U8q4K0Vt.js +159 -0
- package/widgets/vis2vis-jsontemplate/assets/qml-BWbXwHD7.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/r-CcxRgptb.js +122 -0
- package/widgets/vis2vis-jsontemplate/assets/raku-DVMDIfIU.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/razor-BbN5JHhl.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/rdoc-DciWg7B6.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/red-Ck9uqHNN.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/redshift-CAPRCA78.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/rhtml-CJbSFlVV.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/robot-BMbcQLsf.js +70 -0
- package/widgets/vis2vis-jsontemplate/assets/rst-Dcwn5Muz.js +23 -0
- package/widgets/vis2vis-jsontemplate/assets/ruby-CdOCDKFD.js +929 -0
- package/widgets/vis2vis-jsontemplate/assets/rust-CfkJXaem.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/sac-Cb2eIKD_.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/sass-iV1YOFQN.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/scad-CPs5wJAG.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/scala-DA1JuV2S.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/scheme-BFQyaXim.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/scrypt-CTtbT4Qh.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/scss-DWqyVAcU.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/sh-BHHjLho8.js +84 -0
- package/widgets/vis2vis-jsontemplate/assets/sjs-0z-JZE7a.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/slim-D60OEg6E.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/smarty-DsAF1IC8.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/smithy-WcmAd33S.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/snippets-CO92SWiA.js +10 -0
- package/widgets/vis2vis-jsontemplate/assets/soy_template-ChNi14w3.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/space-Czl6zHqh.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/sparql-Dt8_8yD1.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/sql-DXeZ8-B5.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/sqlserver-BgjEIbVF.js +70 -0
- package/widgets/vis2vis-jsontemplate/assets/stylus-DGub6yQ6.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/svg-BhLwQfQt.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/swift-C6jmn2lM.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/tcl-1m9QfSGo.js +93 -0
- package/widgets/vis2vis-jsontemplate/assets/terraform-C_A1grPI.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/tex-CnhL2AXi.js +191 -0
- package/widgets/vis2vis-jsontemplate/assets/text-BFTmH0YI.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/textile-DlCA5JQb.js +31 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-ambiance-QsY8qCgd.js +221 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-chaos-8iMnZQxF.js +160 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-cloud9_day-DQoca-VF.js +161 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-cloud9_night-DssalqUo.js +147 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-cloud9_night_low_color-CmQdrSgm.js +135 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-cloud_editor-D5Nbnfj-.js +220 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-cloud_editor_dark-fj58gio2.js +223 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-clouds-DrqFoPBZ.js +116 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-cobalt-_ffUuzsT.js +138 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-crimson_editor-CTFG4SkN.js +148 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-dawn-NpopD5_s.js +131 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-dracula-AuJ122rA.js +166 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-dreamweaver-Ce_xMjNm.js +181 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-eclipse-DDmYr769.js +118 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-github-ChbFyXoG.js +129 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-github_dark-DmOOvJg3.js +134 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-github_light_default-jezXjzZJ.js +165 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-gob-D4kuHx9p.js +134 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-gruvbox-C-iK1SXn.js +100 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-gruvbox_dark_hard-BcmKgsyJ.js +164 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-gruvbox_light_hard-DOcAP-lF.js +168 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-idle_fingers-Bwqiu7LM.js +117 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-iplastic-DbYdo16h.js +145 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-katzenmilch-BOYOV2ro.js +152 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-kr_theme-BlP9076h.js +128 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-kuroir-BlOX3HeP.js +79 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-merbivore-Bvz6URwN.js +114 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-merbivore_soft-D1HtoKW7.js +115 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-mono_industrial-Dg8N7vqY.js +130 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-nord_dark-zxguBIHl.js +112 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-one_dark-CJuVaTY9.js +165 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-pastel_on_dark-BWcTv7Gy.js +133 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-solarized_dark-Bs2LPFFX.js +105 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-solarized_light-CHLCOOLs.js +110 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-sqlserver-Bu0pTZZV.js +172 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-terminal-BNpfswc0.js +136 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-textmate-C4jlQA6W.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-tomorrow-CLBnQF3e.js +129 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-tomorrow_night-CwCiF1XX.js +129 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-tomorrow_night_blue-CE7iCYb0.js +126 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-tomorrow_night_bright-Bf9pHl9K.js +145 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-tomorrow_night_eighties-BW98rqfA.js +129 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-twilight-CYW0LbgP.js +131 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-vibrant_ink-D2R0WlUq.js +114 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-xcode-DmV08Rqt.js +107 -0
- package/widgets/vis2vis-jsontemplate/assets/toml-BppM0J9G.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/translations-RCQ_bOWv.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/tsv-QCUAN7tM.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/tsx-DlBDpjXp.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/turtle-Bhvju8e_.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/twig-Dz6fJaYS.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/typescript-Dlq5jwkb.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/useTheme-CUUL_k-V.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/vala-CCClIoiP.js +72 -0
- package/widgets/vis2vis-jsontemplate/assets/vbscript-BmjSniHm.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/velocity-Eetpg6IF.js +29 -0
- package/widgets/vis2vis-jsontemplate/assets/verilog-JLsQfqCE.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/vhdl-BDSCxoSn.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/virtualExposes-6ZILnKxp.js +2 -0
- package/widgets/vis2vis-jsontemplate/assets/vis2visjsonTemplateWidgets__loadShare___mf_0_mui_mf_1_icons_mf_2_material__loadShare__-DQFbdvr3.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/vis2visjsonTemplateWidgets__loadShare__react__loadShare__-DIw4pDHA.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/vis2visjsonTemplateWidgets__mf_v__runtimeInit__mf_v__-Bg5OEhrp.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/visualforce-Bfu1Ak61.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/vue-BGFTp4kK.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/wollok-BRp-wwGk.js +85 -0
- package/widgets/vis2vis-jsontemplate/assets/worker-base-BPnv-em4.js +7 -0
- package/widgets/vis2vis-jsontemplate/assets/worker-coffee-BGt0WG_T.js +121 -0
- package/widgets/vis2vis-jsontemplate/assets/worker-css-DUK_OUGr.js +24 -0
- package/widgets/vis2vis-jsontemplate/assets/worker-html-DnXGSuo3.js +28 -0
- package/widgets/vis2vis-jsontemplate/assets/worker-javascript-DKHkjovd.js +26 -0
- package/widgets/vis2vis-jsontemplate/assets/worker-json-BD5o_G43.js +9 -0
- package/widgets/vis2vis-jsontemplate/assets/worker-lua-RZJAMBtk.js +10 -0
- package/widgets/vis2vis-jsontemplate/assets/worker-php-D7_ufyP-.js +9 -0
- package/widgets/vis2vis-jsontemplate/assets/worker-xml-BwUcqzAQ.js +8 -0
- package/widgets/vis2vis-jsontemplate/assets/worker-xquery-Bdainhib.js +53 -0
- package/widgets/vis2vis-jsontemplate/assets/worker-yaml-BtpWJJU1.js +36 -0
- package/widgets/vis2vis-jsontemplate/assets/xml-BH-GvKPg.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/xquery-BfjQchp6.js +62 -0
- package/widgets/vis2vis-jsontemplate/assets/yaml-B4Fo_RhL.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/zeek-CcoNTi-1.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/zig-syO4L9BM.js +1 -0
- package/widgets/vis2vis-jsontemplate/customWidgets.js +2 -0
- package/widgets/vis2vis-jsontemplate/img/jsontemplate.png +0 -0
- package/widgets/vis2vis-jsontemplate/img/vis-widget-demo.png +0 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 oweitman <oweitman@gmx.de>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,536 @@
|
|
|
1
|
+
# JSONTemplate - Adapter to visualize JSON data and other data in Vis/Vis2
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/iobroker.vis-jsontemplate)
|
|
6
|
+
[](https://www.npmjs.com/package/iobroker.vis-jsontemplate)
|
|
7
|
+

|
|
8
|
+

|
|
9
|
+
|
|
10
|
+
[](https://nodei.co/npm/iobroker.vis-jsontemplate/)
|
|
11
|
+
|
|
12
|
+
**Tests:** 
|
|
13
|
+
|
|
14
|
+
## Overview
|
|
15
|
+
|
|
16
|
+
Adapter to visualize JSON data and other data in Vis/Vis2.
|
|
17
|
+
You can customize the output of the data with a template system.
|
|
18
|
+
In the templates you can include HTML, CSS and Javascript.
|
|
19
|
+
|
|
20
|
+
The jsontemplate widget was previously available in the rssfeed (for vis1) and
|
|
21
|
+
vis-2-widgets-ovarious adapters. The widgets will be removed from these
|
|
22
|
+
adapters in the near future.
|
|
23
|
+
|
|
24
|
+
## Installation
|
|
25
|
+
|
|
26
|
+
Install the adapter as normal from the stable repository.
|
|
27
|
+
If you want to test new features or bug fixes you can also install
|
|
28
|
+
the adapter from the beta repository. For Features and news,
|
|
29
|
+
please see the Test and Support thread for this adapter in the iobroker forum.
|
|
30
|
+
|
|
31
|
+
After Installation the adapter should then be displayed in the
|
|
32
|
+
adapter section in the iobroker. Sometimes it happens that the changes
|
|
33
|
+
are not visible, especially with web changes (widgets / configuration dialog),
|
|
34
|
+
the following command may have to be executed on the command line:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
iobroker upload jsontemplate
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
In the right area in the line of the adapter, an instance can be
|
|
41
|
+
added using the plus button
|
|
42
|
+
|
|
43
|
+
## Configuration
|
|
44
|
+
|
|
45
|
+
This adapter does not have a configuration dialog in the admin area.
|
|
46
|
+
|
|
47
|
+
## vis and widgets
|
|
48
|
+
|
|
49
|
+
The following widgets actually exists
|
|
50
|
+
|
|
51
|
+
- [`JSON Template`](#json-template) - you can define a custom template
|
|
52
|
+
to show any JSON-Data in vis.
|
|
53
|
+
|
|
54
|
+
### JSON Template
|
|
55
|
+
|
|
56
|
+
Using this widget, any data point with JSON data can be displayed as desired.
|
|
57
|
+
The display is done using a template format, which can be thought of as
|
|
58
|
+
a combined form of HTML code + JavaScript + CSS + special tags that control
|
|
59
|
+
the display of the JSON attributes.
|
|
60
|
+
JSONTemplate now supports async calls with await.
|
|
61
|
+
|
|
62
|
+
| Setting | description |
|
|
63
|
+
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
64
|
+
| json_template | The template can be used to determine the appearance of the JSON data. All valid HTML tags (including CSS attributes in style tags) can be used in the template. There are also special tags within which the JSON data is displayed and JavaScript instructions can be executed. |
|
|
65
|
+
| json_oid | Selection of the data point with the corresponding JSON data. |
|
|
66
|
+
| json_dpCount | Number of data points to be made available in the template. |
|
|
67
|
+
| json_dp | Datapoint ID to be made available. |
|
|
68
|
+
|
|
69
|
+
For details on the template system, see chapter Template based on examples
|
|
70
|
+
|
|
71
|
+
The JSON data is passed to the template with the prefix data. In addition,
|
|
72
|
+
the current widgetID is also available as a variable so that it can be
|
|
73
|
+
specified in individual CSS instructions.
|
|
74
|
+
|
|
75
|
+
#### Advanced use case
|
|
76
|
+
|
|
77
|
+
In the examples above, only the pure output was covered.
|
|
78
|
+
The template can now also be enriched with HTML tags to achieve
|
|
79
|
+
a specific layout. Here is an example:
|
|
80
|
+
|
|
81
|
+
```html
|
|
82
|
+
<h3>Output</h3>
|
|
83
|
+
<style>
|
|
84
|
+
.mycssclassproperty {
|
|
85
|
+
color: green;
|
|
86
|
+
}
|
|
87
|
+
.mycssclassdata {
|
|
88
|
+
color: red;
|
|
89
|
+
}
|
|
90
|
+
</style>
|
|
91
|
+
<% for (var prop in data.oneobject) { %>
|
|
92
|
+
<div>
|
|
93
|
+
<span class="mycssclassproperty"><%- "data.oneobject." + prop + " = " %></span>
|
|
94
|
+
<span class="mycssclassdata"><%- data.oneobject[prop] %></span>
|
|
95
|
+
</div>
|
|
96
|
+
<% } %>
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
**Result:**
|
|
100
|
+
|
|
101
|
+
```text
|
|
102
|
+
data.oneobject.attribute1 = 1
|
|
103
|
+
data.oneobject.attribute2 = 2
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
(In Markdown colors aren't visible)
|
|
107
|
+
|
|
108
|
+
#### Use case for async calls
|
|
109
|
+
|
|
110
|
+
**Block 1:**
|
|
111
|
+
|
|
112
|
+
call sendToAsync Function with await. This example calls a test function
|
|
113
|
+
in the admin adapter.
|
|
114
|
+
|
|
115
|
+
**Block 2:**
|
|
116
|
+
|
|
117
|
+
stringify the result and output to html
|
|
118
|
+
|
|
119
|
+
**Block 3:**
|
|
120
|
+
|
|
121
|
+
definition of the sendToAsync function
|
|
122
|
+
|
|
123
|
+
```ejs
|
|
124
|
+
<% req = await sendToAsync("admin.0","selectSendTo",{test:"test"}); %>
|
|
125
|
+
<%- JSON.stringify(req) %>
|
|
126
|
+
<% async function sendToAsync(instance, command, sendData) {
|
|
127
|
+
console.log(`sendToAsync ${command} ${sendData}`);
|
|
128
|
+
return new Promise((resolve, reject) => {
|
|
129
|
+
try {
|
|
130
|
+
vis.conn.sendTo(instance, command, sendData, function (receiveData) {
|
|
131
|
+
resolve(receiveData);
|
|
132
|
+
});
|
|
133
|
+
} catch (error) {
|
|
134
|
+
reject(error);
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
} %>
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
**Result:**
|
|
141
|
+
|
|
142
|
+
```text
|
|
143
|
+
[{"label":"Afghanistan","value":"AF"},{"label":"Åland Islands","value":"AX"},{"label":"Albania","value":"AL"}]
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
#### Use case for a database-supported task list
|
|
147
|
+
|
|
148
|
+
##### **Introduction**
|
|
149
|
+
|
|
150
|
+
This use case describes how to visualize and interactively modify
|
|
151
|
+
a to-do list from a MySQL database in `ioBroker`.
|
|
152
|
+
The focus is on implementing a simple
|
|
153
|
+
status change via a button click. This concept serves as
|
|
154
|
+
a **Proof of Concept (PoC)** and can be included in future documentation.
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
##### **Database Structure (MySQL)**
|
|
159
|
+
|
|
160
|
+
First, a MySQL database named `test` is created.
|
|
161
|
+
It contains a table `test` with the following fields:
|
|
162
|
+
|
|
163
|
+
- `id`: Unique ID for each entry
|
|
164
|
+
- `todo`: Title of the to-do entry
|
|
165
|
+
- `action`: Status of the entry (0 = in progress, 1 = completed)
|
|
166
|
+
|
|
167
|
+
###### **SQL Code for Table Creation**
|
|
168
|
+
|
|
169
|
+
<details>
|
|
170
|
+
<summary>Details</summary>
|
|
171
|
+
<pre><code>
|
|
172
|
+
|
|
173
|
+
```sql
|
|
174
|
+
|
|
175
|
+
CREATE TABLE `test` (
|
|
176
|
+
`id` int(11) NOT NULL,
|
|
177
|
+
`todo` varchar(100) NOT NULL,
|
|
178
|
+
`action` int(11) NOT NULL
|
|
179
|
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
180
|
+
|
|
181
|
+
INSERT INTO `test` (`id`, `todo`, `action`) VALUES
|
|
182
|
+
(1, 'Todo 1', 0),
|
|
183
|
+
(2, 'Todo 2', 1),
|
|
184
|
+
(3, 'Todo 3', 1),
|
|
185
|
+
(4, 'Todo 4', 0);
|
|
186
|
+
|
|
187
|
+
ALTER TABLE `test`
|
|
188
|
+
ADD PRIMARY KEY (`id`),
|
|
189
|
+
ADD UNIQUE KEY `id` (`id`),
|
|
190
|
+
ADD KEY `idx` (`id`);
|
|
191
|
+
|
|
192
|
+
ALTER TABLE `test`
|
|
193
|
+
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
|
|
194
|
+
COMMIT;
|
|
195
|
+
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
</code></pre>
|
|
199
|
+
|
|
200
|
+
</details>
|
|
201
|
+
|
|
202
|
+
---
|
|
203
|
+
|
|
204
|
+
##### **Integration into ioBroker**
|
|
205
|
+
|
|
206
|
+
###### **SQL Adapter**
|
|
207
|
+
|
|
208
|
+
To interact with the database, the `ioBroker.sql` adapter is required.
|
|
209
|
+
It is configured accordingly to connect to the MySQL database `test`.
|
|
210
|
+
Note that `ioBroker` automatically creates its own structures in the
|
|
211
|
+
database to store history data points.
|
|
212
|
+
|
|
213
|
+
###### **JSONTemplate Widget**
|
|
214
|
+
|
|
215
|
+
For visualization, we use the `JSONTemplate` widget.
|
|
216
|
+
|
|
217
|
+
##### **Integration into VIS**
|
|
218
|
+
|
|
219
|
+
We place the `JSONTemplate` widget and fill in the following fields:
|
|
220
|
+
|
|
221
|
+
###### **Template Code**
|
|
222
|
+
|
|
223
|
+
<details>
|
|
224
|
+
<summary>Details</summary>
|
|
225
|
+
<pre><code>
|
|
226
|
+
|
|
227
|
+
```html
|
|
228
|
+
<style>
|
|
229
|
+
.btn {
|
|
230
|
+
width: 100%;
|
|
231
|
+
}
|
|
232
|
+
</style>
|
|
233
|
+
<table>
|
|
234
|
+
<tr>
|
|
235
|
+
<th>ID</th>
|
|
236
|
+
<th>Todo</th>
|
|
237
|
+
<th>Action</th>
|
|
238
|
+
</tr>
|
|
239
|
+
<% let todos = await getTodo(); for (let i = 0; i < todos.length; i++) { let todo = todos[i]; %>
|
|
240
|
+
<tr>
|
|
241
|
+
<td><%- todo.id %></td>
|
|
242
|
+
<td><%- todo.todo %></td>
|
|
243
|
+
<td><%- getButton(todo.id, todo.action) %></td>
|
|
244
|
+
</tr>
|
|
245
|
+
<% } %>
|
|
246
|
+
</table>
|
|
247
|
+
|
|
248
|
+
<script>
|
|
249
|
+
window.vis-jsontemplate = { clicktodo: clicktodo };
|
|
250
|
+
|
|
251
|
+
function getButton(id, action) {
|
|
252
|
+
let text = action === 0 ? 'In Progress' : 'Completed';
|
|
253
|
+
return `<button class="btn" onclick="window.vis-jsontemplate.clicktodo(this)" data-id="${id}" data-action="${action}">${text}</button>`;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
function clicktodo(el) {
|
|
257
|
+
let id = el.dataset.id;
|
|
258
|
+
let action = el.dataset.action;
|
|
259
|
+
let nextAction = action == 0 ? 1 : 0;
|
|
260
|
+
setAction(id, nextAction);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
async function getTodo() {
|
|
264
|
+
let req = await sendToAsync('sql.0', 'query', 'SELECT * FROM test.test');
|
|
265
|
+
return req.result;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
async function setAction(id, action) {
|
|
269
|
+
await sendToAsync('sql.0', 'query', `UPDATE test.test SET action = ${action} WHERE id = ${id}`);
|
|
270
|
+
vis.setValue('local_trigger', Math.random());
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
async function sendToAsync(instance, command, sendData) {
|
|
274
|
+
return new Promise((resolve, reject) => {
|
|
275
|
+
try {
|
|
276
|
+
vis.conn.sendTo(instance, command, sendData, receiveData => resolve(receiveData));
|
|
277
|
+
} catch (error) {
|
|
278
|
+
reject(error);
|
|
279
|
+
}
|
|
280
|
+
});
|
|
281
|
+
}
|
|
282
|
+
</script>
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
</code></pre>
|
|
286
|
+
|
|
287
|
+
</details>
|
|
288
|
+
|
|
289
|
+
###### **Data Point for Refreshing Content**
|
|
290
|
+
|
|
291
|
+
To ensure updates are reflected after a status change,
|
|
292
|
+
we add the following local data point:
|
|
293
|
+
|
|
294
|
+
```text
|
|
295
|
+
local_trigger
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
This data point **does not need to be explicitly created**,
|
|
299
|
+
as `local_?` data points are processed internally within VIS (see `vis` documentation).
|
|
300
|
+
|
|
301
|
+
##### **Code Explanation**
|
|
302
|
+
|
|
303
|
+
###### **Template Structure**
|
|
304
|
+
|
|
305
|
+
| Line | Content |
|
|
306
|
+
| ----- | ---------------------------------------------------------------------- |
|
|
307
|
+
| 1-5 | CSS styles for button appearance |
|
|
308
|
+
| 6-11 | Table header with columns ID, Todo, Action |
|
|
309
|
+
| 12-16 | Fetching data from the MySQL database using `getTodo()` |
|
|
310
|
+
| 17-21 | Loop to display to-do entries with buttons |
|
|
311
|
+
| 23-28 | Global reference of the `clicktodo()` function |
|
|
312
|
+
| 30-37 | `getButton()` function to create a button with the current status |
|
|
313
|
+
| 38-44 | `clicktodo()` function to change the status via button click |
|
|
314
|
+
| 45-48 | `getTodo()` function to fetch data via the SQL adapter |
|
|
315
|
+
| 49-52 | `setAction()` function to update the database entry |
|
|
316
|
+
| 53-58 | `sendToAsync()` function to use `async/await` with `vis.conn.sendTo()` |
|
|
317
|
+
|
|
318
|
+
## Templatesystem
|
|
319
|
+
|
|
320
|
+
## Tags
|
|
321
|
+
|
|
322
|
+
The template system works with certain tags.
|
|
323
|
+
The tags used mean the following
|
|
324
|
+
|
|
325
|
+
| `tag` | description |
|
|
326
|
+
| ----- | ------------------------------------------------------------------- |
|
|
327
|
+
| <%= | The content of the contained expression / variable will be escaped. |
|
|
328
|
+
| <%- | The content of the contained expression / variable is unescaped. |
|
|
329
|
+
| <% | No output, is used for enclosed javascript instructions |
|
|
330
|
+
| %> | is generally a closing tag to complete one of the previous ones |
|
|
331
|
+
|
|
332
|
+
Everything that is outside of these tags is displayed exactly as it is or
|
|
333
|
+
if it is HTML interpreted as HTML.
|
|
334
|
+
Within the template you have 2 predefined variables available
|
|
335
|
+
|
|
336
|
+
### Example object
|
|
337
|
+
|
|
338
|
+
For all the following examples the following json is used.
|
|
339
|
+
|
|
340
|
+
```json
|
|
341
|
+
{
|
|
342
|
+
"onearray": ["one", "two"],
|
|
343
|
+
"oneobject": {
|
|
344
|
+
"attribute1": 1,
|
|
345
|
+
"attribute2": 2
|
|
346
|
+
},
|
|
347
|
+
"onenumber": 123,
|
|
348
|
+
"onetext": "onetwothree"
|
|
349
|
+
}
|
|
350
|
+
```
|
|
351
|
+
|
|
352
|
+
Attributes could be output as follows
|
|
353
|
+
|
|
354
|
+
**Template:**
|
|
355
|
+
|
|
356
|
+
```ejs
|
|
357
|
+
<%- data.onenumber %>
|
|
358
|
+
<%- data.onetext %>
|
|
359
|
+
```
|
|
360
|
+
|
|
361
|
+
**Result:**
|
|
362
|
+
|
|
363
|
+
```text
|
|
364
|
+
123 onetwothree
|
|
365
|
+
```
|
|
366
|
+
|
|
367
|
+
Arrays can be accessed via an index. The index always starts with 0. However,
|
|
368
|
+
there are also fake arrays where the index does not start with 0 or
|
|
369
|
+
even consists of text. Here the rules for objects apply.
|
|
370
|
+
In the example above, this would be
|
|
371
|
+
|
|
372
|
+
**Template:**
|
|
373
|
+
|
|
374
|
+
```ejs
|
|
375
|
+
<%- data.onearray[0] %>
|
|
376
|
+
<%- data.onearray[1] %>
|
|
377
|
+
```
|
|
378
|
+
|
|
379
|
+
**Result:**
|
|
380
|
+
|
|
381
|
+
```text
|
|
382
|
+
one two
|
|
383
|
+
```
|
|
384
|
+
|
|
385
|
+
If you try to output an array directly without an index,
|
|
386
|
+
the template outputs all elements separated by commas
|
|
387
|
+
|
|
388
|
+
**Template:**
|
|
389
|
+
|
|
390
|
+
```ejs
|
|
391
|
+
<%- data.onearray %>
|
|
392
|
+
```
|
|
393
|
+
|
|
394
|
+
**Result:**
|
|
395
|
+
|
|
396
|
+
```text
|
|
397
|
+
one,two
|
|
398
|
+
```
|
|
399
|
+
|
|
400
|
+
Arrays can also consist of a collection of objects.
|
|
401
|
+
The example here contains only a simple array.
|
|
402
|
+
An example of arrays with objects will be given later.
|
|
403
|
+
|
|
404
|
+
**Template:**
|
|
405
|
+
|
|
406
|
+
```ejs
|
|
407
|
+
<% for (var i = 0; i < data.onearray.length ; i++ ) { %>
|
|
408
|
+
<%- data.onearray[i] %>
|
|
409
|
+
<% } %>
|
|
410
|
+
```
|
|
411
|
+
|
|
412
|
+
**Result:**
|
|
413
|
+
|
|
414
|
+
```text
|
|
415
|
+
one two
|
|
416
|
+
```
|
|
417
|
+
|
|
418
|
+
**Objects** can contain individual attributes, arrays or objects again.
|
|
419
|
+
This means that JSON data can be nested to any depth.
|
|
420
|
+
|
|
421
|
+
Attributes of an object can be addressed using dot notation or bracket notation.
|
|
422
|
+
The dot notation only works if the attribute conforms to certain
|
|
423
|
+
naming conventions (first character must be a letter, rest numbers or letters or
|
|
424
|
+
underscore).
|
|
425
|
+
The bracket notation also works for attributes that do not conform to the
|
|
426
|
+
naming convention.
|
|
427
|
+
|
|
428
|
+
**Dot notation:**
|
|
429
|
+
|
|
430
|
+
**Template:**
|
|
431
|
+
|
|
432
|
+
```ejs
|
|
433
|
+
<%- data.oneobject.attribute1 %>
|
|
434
|
+
```
|
|
435
|
+
|
|
436
|
+
**Bracket notation:**
|
|
437
|
+
|
|
438
|
+
**Template:**
|
|
439
|
+
|
|
440
|
+
```ejs
|
|
441
|
+
<%- data.oneobject["attribute1"] %>
|
|
442
|
+
```
|
|
443
|
+
|
|
444
|
+
**Result for both examples:**
|
|
445
|
+
|
|
446
|
+
```text
|
|
447
|
+
1
|
|
448
|
+
```
|
|
449
|
+
|
|
450
|
+
Loop over the attributes of an object
|
|
451
|
+
|
|
452
|
+
**Template:**
|
|
453
|
+
|
|
454
|
+
```ejs
|
|
455
|
+
<% for (var prop in data.oneobject) { %>
|
|
456
|
+
<%- "data.oneobject." + prop + " = " + data.oneobject[prop] %>
|
|
457
|
+
<% } %>
|
|
458
|
+
```
|
|
459
|
+
|
|
460
|
+
**Result:**
|
|
461
|
+
|
|
462
|
+
```text
|
|
463
|
+
data.oneobject.attribute1 = 1
|
|
464
|
+
data.oneobject.attribute2 = 2
|
|
465
|
+
```
|
|
466
|
+
|
|
467
|
+
## Development and Debugging
|
|
468
|
+
|
|
469
|
+
### Vis1 Widgets
|
|
470
|
+
|
|
471
|
+
- Install dev-server
|
|
472
|
+
- Start dev-server with --noStart option
|
|
473
|
+
- On first start install additional adapter web and vis1
|
|
474
|
+
- start vscode launch configuration "vis-1 editor"
|
|
475
|
+
- if widgets are not available, upload adapter in expert mode on the adapter page
|
|
476
|
+
- now you can set breakpoints in vscode in the jsontemplate.js file
|
|
477
|
+
- if you change something in the js file the source must be compiled to
|
|
478
|
+
the dist folder with npm run build-vis1widgets command.
|
|
479
|
+
- the dev-server uploads the changed files to iobroker, but for vis1 you have
|
|
480
|
+
to execute the iob visdebug command to reload the widgets
|
|
481
|
+
- to translate additional entries in en.json use the translate-widgets-vis1 command
|
|
482
|
+
|
|
483
|
+
### Vis2 Widgets
|
|
484
|
+
|
|
485
|
+
- Install dev-server
|
|
486
|
+
- Open a new vscode window (2. instance)
|
|
487
|
+
- clone vis2 repository
|
|
488
|
+
- follow the instructions in the readme of the vis2 repository
|
|
489
|
+
in chapter Development and Debugging. you don't have to fork the repository.
|
|
490
|
+
we only need a running instance of the vis2 adapter
|
|
491
|
+
- start vis 2 with npm run start
|
|
492
|
+
- back in in the vscode instance of this adapter
|
|
493
|
+
- Start dev-server with --noStart option
|
|
494
|
+
- start vscode launch configuration "vis-2 editor"
|
|
495
|
+
- now you can set breakpoints in vscode in the jsontemplate.js file
|
|
496
|
+
- if you change something you don't have to do anything else,
|
|
497
|
+
because vite supports hot reload. sometimes it is useful to reload vis2 with F5
|
|
498
|
+
- to translate additional entries in en.json use the translate-widgets-vis2 command
|
|
499
|
+
|
|
500
|
+
## Todo
|
|
501
|
+
|
|
502
|
+
- tbd
|
|
503
|
+
|
|
504
|
+
## Changelog
|
|
505
|
+
|
|
506
|
+
<!--
|
|
507
|
+
Placeholder for the next version (at the beginning of the line):
|
|
508
|
+
### **WORK IN PROGRESS**
|
|
509
|
+
-->
|
|
510
|
+
### 4.0.1 (2025-08-28)
|
|
511
|
+
|
|
512
|
+
- move vis1 and vis2 widgets to vis-jsontemplate adapter
|
|
513
|
+
|
|
514
|
+
## License
|
|
515
|
+
|
|
516
|
+
MIT License
|
|
517
|
+
|
|
518
|
+
Copyright (c) 2021-2025 oweitman <oweitman@gmx.de>
|
|
519
|
+
|
|
520
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
521
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
522
|
+
in the Software without restriction, including without limitation the rights
|
|
523
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
524
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
525
|
+
furnished to do so, subject to the following conditions:
|
|
526
|
+
|
|
527
|
+
The above copyright notice and this permission notice shall be included in all
|
|
528
|
+
copies or substantial portions of the Software.
|
|
529
|
+
|
|
530
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
531
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
532
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
533
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
534
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
535
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
536
|
+
SOFTWARE.
|
|
Binary file
|
package/admin/words.js
ADDED
package/io-package.json
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
{
|
|
2
|
+
"common": {
|
|
3
|
+
"name": "vis-jsontemplate",
|
|
4
|
+
"version": "4.0.1",
|
|
5
|
+
"news": {
|
|
6
|
+
"4.0.1": {
|
|
7
|
+
"en": "move vis1 and vis2 widgets to vis-jsontemplate adapter",
|
|
8
|
+
"de": "vis1 und vis2 widgets zu vis-jsontemplate adapter verschieben",
|
|
9
|
+
"ru": "переместить виджеты vis1 и vis2 в адаптер vis-jsontemplate",
|
|
10
|
+
"pt": "mover widgets vis1 e vis2 para o adaptador vis-jsontemplate",
|
|
11
|
+
"nl": "vis1 en vis2 widgets verplaatsen naar vis-jsentemplaatadapter",
|
|
12
|
+
"fr": "déplacer les widgets vis1 et vis2 vers l'adaptateur vis-jsontemplate",
|
|
13
|
+
"it": "spostare i widget vis1 e vis2 per l'adattatore vis-jsontemplate",
|
|
14
|
+
"es": "mover vis1 y vis2 widgets al adaptador vis-jsontemplate",
|
|
15
|
+
"pl": "przesuń widżety vis1 i vis2 do adaptera vis- jsonszablon",
|
|
16
|
+
"uk": "перемістіть віджети vis1 і vis2 до адаптера vis-jsontemplate",
|
|
17
|
+
"zh-cn": "将粘度1和粘度2的部件移动到粘度调试器上"
|
|
18
|
+
},
|
|
19
|
+
"4.0.0": {
|
|
20
|
+
"en": "initial release",
|
|
21
|
+
"de": "Erstveröffentlichung",
|
|
22
|
+
"ru": "Начальная версия",
|
|
23
|
+
"pt": "lançamento inicial",
|
|
24
|
+
"nl": "Eerste uitgave",
|
|
25
|
+
"fr": "Première version",
|
|
26
|
+
"it": "Versione iniziale",
|
|
27
|
+
"es": "Versión inicial",
|
|
28
|
+
"pl": "Pierwsze wydanie",
|
|
29
|
+
"uk": "Початкова версія",
|
|
30
|
+
"zh-cn": "首次出版"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"titleLang": {
|
|
34
|
+
"en": "vis-jsontemplate",
|
|
35
|
+
"de": "vis-jsontemplate",
|
|
36
|
+
"ru": "vis-jsontemplate",
|
|
37
|
+
"pt": "vis-jsontemplate",
|
|
38
|
+
"nl": "vis-jsonsjabloon1",
|
|
39
|
+
"fr": "vis-jsontemplate",
|
|
40
|
+
"it": "vis-jsontemplate",
|
|
41
|
+
"es": "vis-jsontemplate",
|
|
42
|
+
"pl": "vis-jsontemplate",
|
|
43
|
+
"uk": "vis-jsontemplate",
|
|
44
|
+
"zh-cn": "vis-json模板1"
|
|
45
|
+
},
|
|
46
|
+
"desc": {
|
|
47
|
+
"en": "vis-jsontemplate",
|
|
48
|
+
"de": "vis-jsontemplate",
|
|
49
|
+
"ru": "vis-jsontemplate",
|
|
50
|
+
"pt": "vis-jsontemplate",
|
|
51
|
+
"nl": "vis-jsonsjabloon1",
|
|
52
|
+
"fr": "vis-jsontemplate",
|
|
53
|
+
"it": "vis-jsontemplate",
|
|
54
|
+
"es": "vis-jsontemplate",
|
|
55
|
+
"pl": "vis-jsontemplate",
|
|
56
|
+
"uk": "vis-jsontemplate",
|
|
57
|
+
"zh-cn": "vis-json模板1"
|
|
58
|
+
},
|
|
59
|
+
"authors": [
|
|
60
|
+
"oweitman <oweitman@gmx.de>"
|
|
61
|
+
],
|
|
62
|
+
"keywords": [
|
|
63
|
+
"jsontemplate",
|
|
64
|
+
"visualization",
|
|
65
|
+
"widgets",
|
|
66
|
+
"vis1",
|
|
67
|
+
"vis2"
|
|
68
|
+
],
|
|
69
|
+
"licenseInformation": {
|
|
70
|
+
"type": "free",
|
|
71
|
+
"license": "MIT"
|
|
72
|
+
},
|
|
73
|
+
"tier": 3,
|
|
74
|
+
"platform": "Javascript/Node.js",
|
|
75
|
+
"icon": "vis-jsontemplate.png",
|
|
76
|
+
"extIcon": "https://raw.githubusercontent.com/oweitman/ioBroker.vis-jsontemplate/main/admin/vis-jsontemplate.png",
|
|
77
|
+
"enabled": true,
|
|
78
|
+
"readme": "https://github.com/oweitman/ioBroker.vis-jsontemplate/blob/main/README.md",
|
|
79
|
+
"loglevel": "info",
|
|
80
|
+
"mode": "none",
|
|
81
|
+
"nogit": true,
|
|
82
|
+
"singleton": true,
|
|
83
|
+
"onlyWWW": true,
|
|
84
|
+
"adminUI": {
|
|
85
|
+
"config": "none"
|
|
86
|
+
},
|
|
87
|
+
"type": "visualization-widgets",
|
|
88
|
+
"connectionType": "cloud",
|
|
89
|
+
"dataSource": "poll",
|
|
90
|
+
"visWidgets": {
|
|
91
|
+
"vis2vis-jsonTemplateWidgets": {
|
|
92
|
+
"i18n": "component",
|
|
93
|
+
"name": "vis2vis-jsonTemplateWidgets",
|
|
94
|
+
"url": "vis2vis-jsontemplate/customWidgets.js",
|
|
95
|
+
"urlxx": "http://localhost:4173/customWidgets.js",
|
|
96
|
+
"bundlerType": "module",
|
|
97
|
+
"components": [
|
|
98
|
+
"JSONTemplateWidget"
|
|
99
|
+
]
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"restartAdapters": [
|
|
103
|
+
"vis",
|
|
104
|
+
"vis-2"
|
|
105
|
+
],
|
|
106
|
+
"dependencies": [
|
|
107
|
+
{
|
|
108
|
+
"js-controller": ">=5.0.19"
|
|
109
|
+
}
|
|
110
|
+
]
|
|
111
|
+
},
|
|
112
|
+
"native": {},
|
|
113
|
+
"objects": [],
|
|
114
|
+
"instanceObjects": []
|
|
115
|
+
}
|