@tempots/beatui 0.30.2 → 0.31.0
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/dist/2019-BY_FFnZU.cjs +1 -0
- package/dist/{2019-Cd9nHhvg.js → 2019-C660mMK6.js} +9 -10
- package/dist/{2020-CyKJpuK6.js → 2020-C3P-aGet.js} +30 -31
- package/dist/2020-Cyyhc8pv.cjs +1 -0
- package/dist/{ar-Dz8Mg5la.js → ar-BUxQ3yNv.js} +30 -15
- package/dist/ar-DcFl4tkv.cjs +1 -0
- package/dist/auth/index.cjs.js +1 -1
- package/dist/auth/index.es.js +85 -84
- package/dist/beatui.css +32 -6
- package/dist/beatui.tailwind.css +32 -6
- package/dist/{de-ToWTQGEo.js → de-CKKQr2-K.js} +27 -12
- package/dist/de-DEUS3n0J.cjs +1 -0
- package/dist/{es-CruxS0Tz.js → es-C5VUn_X1.js} +27 -12
- package/dist/es-CIeoDpkc.cjs +1 -0
- package/dist/{fa-Cf0NZLWA.js → fa-Cs2LZsfr.js} +30 -15
- package/dist/fa-gXa9Xdjn.cjs +1 -0
- package/dist/fr-6SpJ-gVV.cjs +1 -0
- package/dist/{fr-YKXmqMGr.js → fr-Dlw8mKFp.js} +20 -5
- package/dist/{he-D8ZOduPw.js → he-Cm4NxsyE.js} +30 -15
- package/dist/he-D9cwxZOb.cjs +1 -0
- package/dist/hi-CNRHnMsQ.cjs +1 -0
- package/dist/{hi-CIamzVEf.js → hi-Cjz1aQX2.js} +30 -15
- package/dist/index-BI5w0jSz.js +2707 -0
- package/dist/index-Bv2gn_kV.cjs +4 -0
- package/dist/index-C-FUCwXi.js +14275 -0
- package/dist/index-CKyH3jwP.cjs +1 -0
- package/dist/index-CXY0yKJD.cjs +34 -0
- package/dist/{index-O9BwR_8P.cjs → index-CYY_JLSN.cjs} +1 -1
- package/dist/index-DKy2mZws.cjs +1 -0
- package/dist/{index-B2079wM-.js → index-DjShJtXp.js} +15 -15
- package/dist/index-DwyUOY3r.js +68 -0
- package/dist/{index-DDpjzV7E.js → index-Jd2O_Iux.js} +304 -307
- package/dist/{index-DFJed4ks.js → index-_Kh76-c2.js} +1 -1
- package/dist/index-klVI8k8O.cjs +8 -0
- package/dist/index.cjs.js +4 -4
- package/dist/index.es.js +1123 -1229
- package/dist/it-DvBJ31Ls.cjs +1 -0
- package/dist/{it-Bn7tG_KC.js → it-iuFeIEsO.js} +29 -14
- package/dist/{ja-i1ULXeiu.js → ja-D6Dd96v-.js} +25 -10
- package/dist/ja-FKJGj5My.cjs +1 -0
- package/dist/json-schema/index.cjs.js +1 -1
- package/dist/json-schema/index.es.js +1 -1
- package/dist/{ko-BpKDmtvY.js → ko-C8GOsfIU.js} +30 -15
- package/dist/ko-PqVOGPUi.cjs +1 -0
- package/dist/markdown/index.cjs.js +1 -2
- package/dist/markdown/index.es.js +4 -420
- package/dist/{modal-DvGSDVSv.js → modal-CuhK7DqK.js} +14 -13
- package/dist/modal-RQtwnFy9.cjs +1 -0
- package/dist/{nl-Cs4PDWCJ.js → nl-Ct2cyWWi.js} +31 -16
- package/dist/nl-DAhT0vfu.cjs +1 -0
- package/dist/notice-BnX2sRrK.cjs +2 -0
- package/dist/notice-Dz_BJg8D.js +1467 -0
- package/dist/{pl-BFLNf991.js → pl-DewgRE-k.js} +31 -16
- package/dist/pl-JgD0mCRa.cjs +1 -0
- package/dist/prosemirror/index.cjs.js +1 -0
- package/dist/prosemirror/index.es.js +6 -0
- package/dist/prosemirror.css +294 -0
- package/dist/pt-BkoMl_PC.cjs +1 -0
- package/dist/{pt-BRZeOkcE.js → pt-CNyp2zeW.js} +31 -16
- package/dist/ru-9OW0HQFS.cjs +1 -0
- package/dist/{ru-KI7Gowz-.js → ru-U6PdSzha.js} +35 -20
- package/dist/styles-url-CF_019NX.js +4 -0
- package/dist/styles-url-DhmSan6u.cjs +1 -0
- package/dist/toolbar-D7fDCmUn.cjs +1 -0
- package/dist/toolbar-DTh9Ouhs.js +118 -0
- package/dist/{tr-CYk8Fua5.js → tr-CQVvooxi.js} +28 -13
- package/dist/tr-DsOaoQqh.cjs +1 -0
- package/dist/translations-BDRano6u.cjs +1 -0
- package/dist/{translations-DdNHXAWr.js → translations-Cic51rHH.js} +1 -1
- package/dist/translations-D4PjDB1t.js +831 -0
- package/dist/translations-DDFTHcX3.cjs +1 -0
- package/dist/types/beatui-i18n/default.d.ts +14 -0
- package/dist/types/beatui-i18n/locales/en.d.ts +14 -0
- package/dist/types/beatui-i18n/translations.d.ts +14 -0
- package/dist/types/components/form/input/input-container.d.ts +3 -1
- package/dist/types/components/form/input/input-options.d.ts +6 -0
- package/dist/types/components/prosemirror/etoolbar-button.d.ts +11 -0
- package/dist/types/components/prosemirror/etoolbar-group.d.ts +4 -0
- package/dist/types/components/prosemirror/link-control.d.ts +12 -0
- package/dist/types/components/prosemirror/prosemirror-markdown-input.d.ts +76 -0
- package/dist/types/components/prosemirror/prosemirror-toolbar.d.ts +18 -0
- package/dist/types/components/prosemirror/utils.d.ts +12 -0
- package/dist/types/prosemirror/index.d.ts +2 -0
- package/dist/{ur-BIcZGLWt.js → ur-C3LypxEh.js} +30 -15
- package/dist/ur-C8v4y2tI.cjs +1 -0
- package/dist/utils-D8WljbbZ.cjs +1 -0
- package/dist/{utils-D1op9R8_.js → utils-DY9kZecl.js} +74 -73
- package/dist/vi-DzLo7qhK.cjs +1 -0
- package/dist/{vi-BeK62QeB.js → vi-M5ObJg3d.js} +19 -4
- package/dist/zh-BXk4IZBo.cjs +1 -0
- package/dist/{zh-Dt6yWDu2.js → zh-DGA8R46s.js} +32 -17
- package/package.json +20 -13
- package/dist/2019-Bl1mhxeM.cjs +0 -1
- package/dist/2020-BKqFJLj6.cjs +0 -1
- package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
- package/dist/_commonjsHelpers-DwGv2jUC.cjs +0 -1
- package/dist/apl-B2DGVGxc.js +0 -76
- package/dist/apl-M-DNMvvR.cjs +0 -1
- package/dist/ar-CbsALGhG.cjs +0 -1
- package/dist/asciiarmor-2LVJmxlE.js +0 -34
- package/dist/asciiarmor-BMx3XVjX.cjs +0 -1
- package/dist/asn1-OOsVM4yU.cjs +0 -1
- package/dist/asn1-jKiBa2Ya.js +0 -95
- package/dist/asterisk-B1QUaW1C.cjs +0 -1
- package/dist/asterisk-DS281yxp.js +0 -271
- package/dist/brainfuck-BjUlYKdF.cjs +0 -1
- package/dist/brainfuck-C_p9pTT8.js +0 -34
- package/dist/clike-BEMIzMUI.cjs +0 -1
- package/dist/clike-DGTaUp48.js +0 -620
- package/dist/clojure-Ap_IXD2I.cjs +0 -1
- package/dist/clojure-CCKyeQKf.js +0 -800
- package/dist/cmake-C4D5_VmS.cjs +0 -1
- package/dist/cmake-CuaCgAKt.js +0 -28
- package/dist/cobol-BlTKFDRj.js +0 -72
- package/dist/cobol-Du-cT2hr.cjs +0 -1
- package/dist/coffeescript-BVCvwO8I.js +0 -179
- package/dist/coffeescript-DDFAj2ea.cjs +0 -1
- package/dist/commonlisp-CXBBRCTx.cjs +0 -1
- package/dist/commonlisp-D_kxz07b.js +0 -75
- package/dist/crystal-D309uH6_.js +0 -217
- package/dist/crystal-DAFWRDbh.cjs +0 -1
- package/dist/css-BkF-NPzE.js +0 -1553
- package/dist/css-DzFJyRJ8.cjs +0 -1
- package/dist/cypher-BMq4Fwjl.js +0 -68
- package/dist/cypher-BN0-oCze.cjs +0 -1
- package/dist/d-BHsqGcfm.cjs +0 -1
- package/dist/d-BZcgY6La.js +0 -127
- package/dist/de-MO-u5hoD.cjs +0 -1
- package/dist/diff-CemTHKfk.cjs +0 -1
- package/dist/diff-Cg9d_RX2.js +0 -18
- package/dist/dockerfile-BBTH3voH.cjs +0 -1
- package/dist/dockerfile-DIy8NleC.js +0 -194
- package/dist/dtd-ChoVQPwv.cjs +0 -1
- package/dist/dtd-CtLokQ-U.js +0 -84
- package/dist/dylan-QYeExnWK.js +0 -234
- package/dist/dylan-apTQIgUA.cjs +0 -1
- package/dist/ebnf-DUPDuY4r.js +0 -78
- package/dist/ebnf-LYmLy17h.cjs +0 -1
- package/dist/ecl-C7WNQq7-.cjs +0 -1
- package/dist/ecl-CiXN-g_D.js +0 -121
- package/dist/eiffel-BJThA8RG.cjs +0 -1
- package/dist/eiffel-yQhjl4T1.js +0 -110
- package/dist/elm-CNT9vbN0.js +0 -108
- package/dist/elm-CcXP9T36.cjs +0 -1
- package/dist/erlang-B6mpcObI.cjs +0 -1
- package/dist/erlang-CFOYdy9e.js +0 -487
- package/dist/es-CqkWVfis.cjs +0 -1
- package/dist/fa-DR8j7v-l.cjs +0 -1
- package/dist/factor-B-tsx9yW.cjs +0 -1
- package/dist/factor-DDOC7X6P.js +0 -65
- package/dist/fcl-BzAKklXo.cjs +0 -1
- package/dist/fcl-CPC2WYrI.js +0 -103
- package/dist/forth-BmxRyE9S.js +0 -60
- package/dist/forth-CPAzyZ_n.cjs +0 -1
- package/dist/fortran-9bvPyrOW.js +0 -442
- package/dist/fortran-DHiTlGV1.cjs +0 -1
- package/dist/fr-ClK0mWTO.cjs +0 -1
- package/dist/gas-BiPtGF2E.cjs +0 -1
- package/dist/gas-cpmYfFX2.js +0 -183
- package/dist/gherkin-CJuwpceU.js +0 -34
- package/dist/gherkin-Djo7Y51D.cjs +0 -1
- package/dist/groovy-BMVITiCm.cjs +0 -1
- package/dist/groovy-DZeT_VM-.js +0 -146
- package/dist/haskell-Bvt3Qq1t.js +0 -375
- package/dist/haskell-CngODaW-.cjs +0 -1
- package/dist/haxe-70NVW1pR.js +0 -359
- package/dist/haxe-Dyk-piTh.cjs +0 -1
- package/dist/he-DeJMBRTP.cjs +0 -1
- package/dist/hi-C9Anq8Ae.cjs +0 -1
- package/dist/http-BkLifcnL.cjs +0 -1
- package/dist/http-D9LttvKF.js +0 -44
- package/dist/idl-B6TRFYjl.js +0 -947
- package/dist/idl-FmHDmsE-.cjs +0 -1
- package/dist/index-0dpJGQbC.js +0 -94
- package/dist/index-52kzSRNb.cjs +0 -1
- package/dist/index-5a6_6F3Z.cjs +0 -6
- package/dist/index-BGHGZg_7.js +0 -552
- package/dist/index-BMn-7Ble.js +0 -1307
- package/dist/index-BR0F2BVZ.cjs +0 -1
- package/dist/index-BlCmv2EJ.cjs +0 -1
- package/dist/index-BlamLFdS.js +0 -76
- package/dist/index-By8a3eg5.cjs +0 -1
- package/dist/index-C0sjoDdy.js +0 -309
- package/dist/index-C9RMQY3t.cjs +0 -1
- package/dist/index-CDBeAhhM.js +0 -289
- package/dist/index-CH2HgQJF.cjs +0 -1
- package/dist/index-CT9YDHSn.js +0 -74
- package/dist/index-CUZnWZnQ.cjs +0 -3
- package/dist/index-CVNvgkJN.js +0 -342
- package/dist/index-C_NT6gCL.cjs +0 -1
- package/dist/index-CafCsH0Z.cjs +0 -1
- package/dist/index-Cei6J0b_.cjs +0 -8
- package/dist/index-CmcOKNW2.js +0 -302
- package/dist/index-CvpdOKX2.js +0 -136
- package/dist/index-CxE1PN5L.cjs +0 -1
- package/dist/index-D2BpI4Zz.cjs +0 -2
- package/dist/index-D40RPDMJ.cjs +0 -1
- package/dist/index-D5iq4kyE.cjs +0 -1
- package/dist/index-DFzKuRY8.cjs +0 -1
- package/dist/index-DIO9qaw5.cjs +0 -1
- package/dist/index-DIR2rO5B.cjs +0 -1
- package/dist/index-DPnQDm6f.js +0 -138
- package/dist/index-DU0jpFGR.cjs +0 -1
- package/dist/index-DUvVsNDG.cjs +0 -13
- package/dist/index-DVZnPL32.js +0 -953
- package/dist/index-DiYfLAVQ.js +0 -554
- package/dist/index-DnIheaHS.js +0 -251
- package/dist/index-Dp2K8q6O.cjs +0 -7
- package/dist/index-DrlNzz-e.js +0 -59
- package/dist/index-Dx9UDsJi.cjs +0 -1
- package/dist/index-DxY-AOQA.js +0 -157
- package/dist/index-Mmd0YHPJ.js +0 -960
- package/dist/index-NyiYUSW3.js +0 -101
- package/dist/index-alBMysbQ.js +0 -1874
- package/dist/index-lEkIbMCl.js +0 -612
- package/dist/index-qwDdlmIi.js +0 -270
- package/dist/index-x3mhc_C_.cjs +0 -1
- package/dist/it-5n3LuTHe.cjs +0 -1
- package/dist/ja-Bdp4_B8-.cjs +0 -1
- package/dist/javascript-C2yteZeJ.js +0 -691
- package/dist/javascript-DngSGg_0.cjs +0 -1
- package/dist/jinja2-DnB6dQmV.js +0 -154
- package/dist/jinja2-wbVbDTNi.cjs +0 -1
- package/dist/julia-DA67Qw9E.cjs +0 -1
- package/dist/julia-DpvXAuO6.js +0 -241
- package/dist/ko-B5SwKB-j.cjs +0 -1
- package/dist/livescript-Bg3URadp.cjs +0 -1
- package/dist/livescript-CanGTf8u.js +0 -272
- package/dist/lua-CIsxjGwi.cjs +0 -1
- package/dist/lua-XplVlWi_.js +0 -217
- package/dist/mathematica-BG089QIc.cjs +0 -1
- package/dist/mathematica-jaRHnSxC.js +0 -35
- package/dist/mbox-BctzC1hL.js +0 -76
- package/dist/mbox-CySolFFZ.cjs +0 -1
- package/dist/milkdown/index.cjs.js +0 -1
- package/dist/milkdown/index.es.js +0 -4
- package/dist/milkdown-input-Bkgdi-Bv.cjs +0 -944
- package/dist/milkdown-input-CciSI_a5.js +0 -63967
- package/dist/milkdown-url-D99P-nA-.js +0 -4
- package/dist/milkdown-url-DqoUZH3u.cjs +0 -1
- package/dist/milkdown.css +0 -1914
- package/dist/mirc-BfqEffzk.cjs +0 -1
- package/dist/mirc-CFBPAOaF.js +0 -72
- package/dist/mllike-BSnXJBGA.js +0 -272
- package/dist/mllike-QUjwI6zq.cjs +0 -1
- package/dist/modal-CAKAT7wv.cjs +0 -1
- package/dist/modelica-B6Zhcb-M.cjs +0 -1
- package/dist/modelica-vUgVs--1.js +0 -93
- package/dist/mscgen-BToym4Bs.cjs +0 -1
- package/dist/mscgen-Cpl0NYLN.js +0 -104
- package/dist/mumps-CQoS1kWX.js +0 -25
- package/dist/mumps-wfyQdxSu.cjs +0 -1
- package/dist/nginx-CwqyBUfA.cjs +0 -1
- package/dist/nginx-zDPm3Z74.js +0 -89
- package/dist/nl-Cenl4nr6.cjs +0 -1
- package/dist/notice-DBME6bFw.cjs +0 -2
- package/dist/notice-DVEacWKt.js +0 -2275
- package/dist/nsis-DPj2fUaP.cjs +0 -1
- package/dist/nsis-fePjrhq7.js +0 -62
- package/dist/ntriples-CsNjv2QF.js +0 -79
- package/dist/ntriples-DgwJmozm.cjs +0 -1
- package/dist/octave-1pkKrgAA.cjs +0 -1
- package/dist/octave-C8PmmSRH.js +0 -143
- package/dist/oz-BXOZCt0U.cjs +0 -1
- package/dist/oz-Ce8aN8oE.js +0 -151
- package/dist/pascal-De0D6mP7.js +0 -77
- package/dist/pascal-DtY2LEkJ.cjs +0 -1
- package/dist/perl-B4bSCe1C.js +0 -915
- package/dist/perl-CVDWbEju.cjs +0 -1
- package/dist/pig-D24Z8EXi.js +0 -54
- package/dist/pig-DMByOrnr.cjs +0 -1
- package/dist/pl-7xYNCk-v.cjs +0 -1
- package/dist/powershell-BaoYaFvj.cjs +0 -1
- package/dist/powershell-DkYVfTzP.js +0 -249
- package/dist/preprocess-CvkqwVNt.cjs +0 -3
- package/dist/preprocess-D898zxsP.js +0 -2295
- package/dist/properties-DXHJZ3WE.cjs +0 -1
- package/dist/properties-Dn9wna3M.js +0 -26
- package/dist/protobuf-BKhXdfH6.cjs +0 -1
- package/dist/protobuf-BPIjwpzm.js +0 -49
- package/dist/pt-DOLL0Jpj.cjs +0 -1
- package/dist/pug-CwAQJzGR.js +0 -248
- package/dist/pug-kEfRDOiF.cjs +0 -1
- package/dist/puppet-8mAyuMbW.cjs +0 -1
- package/dist/puppet-nyd4dhjf.js +0 -45
- package/dist/python-BkR3uSy8.js +0 -313
- package/dist/python-D-iU6WXz.cjs +0 -1
- package/dist/q-BPQ45Nxu.cjs +0 -1
- package/dist/q-DXjKs-tC.js +0 -83
- package/dist/r-LKEuhEGI.js +0 -104
- package/dist/r-r2_EZsON.cjs +0 -1
- package/dist/rpm-IznJm2Xc.js +0 -57
- package/dist/rpm-YK81m3qU.cjs +0 -1
- package/dist/ru-DoS9XuqG.cjs +0 -1
- package/dist/ruby-CcYfvIk6.js +0 -228
- package/dist/ruby-Cn1sFkZF.cjs +0 -1
- package/dist/sas-7E8yHoCW.js +0 -105
- package/dist/sas-DAGcJy94.cjs +0 -1
- package/dist/scheme-B0ZrbojV.cjs +0 -1
- package/dist/scheme-DjibxsNh.js +0 -124
- package/dist/shell-BMYo43V6.cjs +0 -1
- package/dist/shell-C0C2sNA_.js +0 -182
- package/dist/sieve-Bwz7vjP5.js +0 -72
- package/dist/sieve-CIYW-b_H.cjs +0 -1
- package/dist/simple-mode-B0dvCdAA.js +0 -89
- package/dist/simple-mode-BIKNPBes.cjs +0 -1
- package/dist/smalltalk-Bhddl2pB.js +0 -48
- package/dist/smalltalk-CSslY-3i.cjs +0 -1
- package/dist/solr-A1kSnAwJ.cjs +0 -1
- package/dist/solr-BNlsLglM.js +0 -41
- package/dist/sparql-DnHMBLLY.cjs +0 -1
- package/dist/sparql-FarWu_Gb.js +0 -197
- package/dist/spreadsheet-B7_BK8hB.cjs +0 -1
- package/dist/spreadsheet-C-cy4P5N.js +0 -49
- package/dist/sql-9VmIWHrZ.cjs +0 -1
- package/dist/sql-CfG5lQ3l.js +0 -282
- package/dist/stex-B4wyjEnp.cjs +0 -1
- package/dist/stex-Du4h4KAU.js +0 -129
- package/dist/stylus-CAdqWld3.js +0 -250
- package/dist/stylus-D6GYOT3Z.cjs +0 -1
- package/dist/swift-DGw6Cgu8.cjs +0 -1
- package/dist/swift-DSxqR9R6.js +0 -230
- package/dist/tcl-ByLXbQFo.cjs +0 -1
- package/dist/tcl-xfoLljhY.js +0 -81
- package/dist/textile-D1AWE-pc.js +0 -295
- package/dist/textile-iryw-lTw.cjs +0 -1
- package/dist/tiddlywiki-5wqsXtSk.js +0 -155
- package/dist/tiddlywiki-D8IJz1k7.cjs +0 -1
- package/dist/tiki-C5p5KSQK.cjs +0 -1
- package/dist/tiki-__Kn3CeS.js +0 -181
- package/dist/toml-3ZsH_4Qa.cjs +0 -1
- package/dist/toml-BHiuTcfn.js +0 -49
- package/dist/tr-BVmoz40w.cjs +0 -1
- package/dist/translations-Dv56lQia.cjs +0 -1
- package/dist/troff-D-3QCOYN.cjs +0 -1
- package/dist/troff-D2UO-fKf.js +0 -35
- package/dist/ttcn-Bsa4sfRm.js +0 -123
- package/dist/ttcn-C2MXAqcM.cjs +0 -1
- package/dist/ttcn-cfg-BYqcMRxC.cjs +0 -1
- package/dist/ttcn-cfg-Bac_acMi.js +0 -88
- package/dist/turtle-DSJNatSv.cjs +0 -1
- package/dist/turtle-xwJUxoPV.js +0 -80
- package/dist/types/components/milkdown/milkdown-input.d.ts +0 -15
- package/dist/types/milkdown/index.d.ts +0 -1
- package/dist/ur-orNTOdMP.cjs +0 -1
- package/dist/utils-Dobqjl2y.cjs +0 -1
- package/dist/vb-c2kQGd6-.js +0 -74
- package/dist/vb-qzHzzvyB.cjs +0 -1
- package/dist/vbscript-1f_Dhg5H.js +0 -324
- package/dist/vbscript-CWm8v9tE.cjs +0 -1
- package/dist/velocity-D3_yAIp3.cjs +0 -1
- package/dist/velocity-DJd0pTTC.js +0 -96
- package/dist/verilog-BOhLNmQo.cjs +0 -1
- package/dist/verilog-CiS1jyi5.js +0 -262
- package/dist/vhdl-CMFbi8Im.cjs +0 -1
- package/dist/vhdl-T9HkrbI2.js +0 -106
- package/dist/vi-BWyUDP07.cjs +0 -1
- package/dist/webidl-CWb_flNk.cjs +0 -1
- package/dist/webidl-CjfDENEo.js +0 -155
- package/dist/xquery-BUQdORAS.js +0 -422
- package/dist/xquery-Cjw5fRnG.cjs +0 -1
- package/dist/yacas-C0absKBh.js +0 -73
- package/dist/yacas-urx_N5C8.cjs +0 -1
- package/dist/z80-CsG3CM6M.cjs +0 -1
- package/dist/z80-Pki2zAjW.js +0 -61
- package/dist/zh-RVJj1NQq.cjs +0 -1
- /package/dist/types/{components/milkdown/milkdown-url.d.ts → prosemirror/styles-url.d.ts} +0 -0
- /package/dist/types/{milkdown → prosemirror}/styles.d.ts +0 -0
package/dist/nsis-DPj2fUaP.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./simple-mode-BIKNPBes.cjs"),t=e.simpleMode({start:[{regex:/(?:[+-]?)(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\d+.?\d*)/,token:"number"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"},{regex:/'(?:[^\\']|\\.)*'?/,token:"string"},{regex:/`(?:[^\\`]|\\.)*`?/,token:"string"},{regex:/^\s*(?:\!(addincludedir|addplugindir|appendfile|assert|cd|define|delfile|echo|error|execute|finalize|getdllversion|gettlbversion|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|uninstfinalize|verbose|warning))\b/i,token:"keyword"},{regex:/^\s*(?:\!(if(?:n?def)?|ifmacron?def|macro))\b/i,token:"keyword",indent:!0},{regex:/^\s*(?:\!(else|endif|macroend))\b/i,token:"keyword",dedent:!0},{regex:/^\s*(?:Abort|AddBrandingImage|AddSize|AllowRootDirInstall|AllowSkipFiles|AutoCloseWindow|BGFont|BGGradient|BrandingText|BringToFront|Call|CallInstDLL|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|CRCCheck|CreateDirectory|CreateFont|CreateShortCut|Delete|DeleteINISec|DeleteINIStr|DeleteRegKey|DeleteRegValue|DetailPrint|DetailsButtonText|DirText|DirVar|DirVerify|EnableWindow|EnumRegKey|EnumRegValue|Exch|Exec|ExecShell|ExecShellWait|ExecWait|ExpandEnvStrings|File|FileBufSize|FileClose|FileErrorText|FileOpen|FileRead|FileReadByte|FileReadUTF16LE|FileReadWord|FileWriteUTF16LE|FileSeek|FileWrite|FileWriteByte|FileWriteWord|FindClose|FindFirst|FindNext|FindWindow|FlushINI|GetCurInstType|GetCurrentAddress|GetDlgItem|GetDLLVersion|GetDLLVersionLocal|GetErrorLevel|GetFileTime|GetFileTimeLocal|GetFullPathName|GetFunctionAddress|GetInstDirError|GetKnownFolderPath|GetLabelAddress|GetTempFileName|GetWinVer|Goto|HideWindow|Icon|IfAbort|IfErrors|IfFileExists|IfRebootFlag|IfRtlLanguage|IfShellVarContextAll|IfSilent|InitPluginsDir|InstallButtonText|InstallColors|InstallDir|InstallDirRegKey|InstProgressFlags|InstType|InstTypeGetText|InstTypeSetText|Int64Cmp|Int64CmpU|Int64Fmt|IntCmp|IntCmpU|IntFmt|IntOp|IntPtrCmp|IntPtrCmpU|IntPtrOp|IsWindow|LangString|LicenseBkColor|LicenseData|LicenseForceSelection|LicenseLangString|LicenseText|LoadAndSetImage|LoadLanguageFile|LockWindow|LogSet|LogText|ManifestDPIAware|ManifestLongPathAware|ManifestMaxVersionTested|ManifestSupportedOS|MessageBox|MiscButtonText|Name|Nop|OutFile|Page|PageCallbacks|PEAddResource|PEDllCharacteristics|PERemoveResource|PESubsysVer|Pop|Push|Quit|ReadEnvStr|ReadINIStr|ReadRegDWORD|ReadRegStr|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|RMDir|SearchPath|SectionGetFlags|SectionGetInstTypes|SectionGetSize|SectionGetText|SectionIn|SectionSetFlags|SectionSetInstTypes|SectionSetSize|SectionSetText|SendMessage|SetAutoClose|SetBrandingImage|SetCompress|SetCompressor|SetCompressorDictSize|SetCtlColors|SetCurInstType|SetDatablockOptimize|SetDateSave|SetDetailsPrint|SetDetailsView|SetErrorLevel|SetErrors|SetFileAttributes|SetFont|SetOutPath|SetOverwrite|SetRebootFlag|SetRegView|SetShellVarContext|SetSilent|ShowInstDetails|ShowUninstDetails|ShowWindow|SilentInstall|SilentUnInstall|Sleep|SpaceTexts|StrCmp|StrCmpS|StrCpy|StrLen|SubCaption|Target|Unicode|UninstallButtonText|UninstallCaption|UninstallIcon|UninstallSubCaption|UninstallText|UninstPage|UnRegDLL|Var|VIAddVersionKey|VIFileVersion|VIProductVersion|WindowIcon|WriteINIStr|WriteRegBin|WriteRegDWORD|WriteRegExpandStr|WriteRegMultiStr|WriteRegNone|WriteRegStr|WriteUninstaller|XPStyle)\b/i,token:"keyword"},{regex:/^\s*(?:Function|PageEx|Section(?:Group)?)\b/i,token:"keyword",indent:!0},{regex:/^\s*(?:(Function|PageEx|Section(?:Group)?)End)\b/i,token:"keyword",dedent:!0},{regex:/\b(?:ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_HIDDEN|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HIDDEN|HKCC|HKCR(32|64)?|HKCU(32|64)?|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM(32|64)?|HKPD|HKU|IDABORT|IDCANCEL|IDD_DIR|IDD_INST|IDD_INSTFILES|IDD_LICENSE|IDD_SELCOM|IDD_UNINST|IDD_VERIFY|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|MB_YESNOCANCEL|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SW_HIDE|SW_SHOWDEFAULT|SW_SHOWMAXIMIZED|SW_SHOWMINIMIZED|SW_SHOWNORMAL|SYSTEM|TEMPORARY)\b/i,token:"atom"},{regex:/\b(?:admin|all|amd64-unicode|auto|both|bottom|bzip2|components|current|custom|directory|false|force|hide|highest|ifdiff|ifnewer|instfiles|lastused|leave|left|license|listonly|lzma|nevershow|none|normal|notset|off|on|right|show|silent|silentlog|textonly|top|true|try|un\.components|un\.custom|un\.directory|un\.instfiles|un\.license|uninstConfirm|user|Win10|Win7|Win8|WinVista|x-86-(ansi|unicode)|zlib)\b/i,token:"builtin"},{regex:/\$\{(?:And(?:If(?:Not)?|Unless)|Break|Case(?:2|3|4|5|Else)?|Continue|Default|Do(?:Until|While)?|Else(?:If(?:Not)?|Unless)?|End(?:If|Select|Switch)|Exit(?:Do|For|While)|For(?:Each)?|If(?:Cmd|Not(?:Then)?|Then)?|Loop(?:Until|While)?|Or(?:If(?:Not)?|Unless)|Select|Switch|Unless|While)\}/i,token:"variable-2",indent:!0},{regex:/\$\{(?:BannerTrimPath|DirState|DriveSpace|Get(BaseName|Drives|ExeName|ExePath|FileAttributes|FileExt|FileName|FileVersion|Options|OptionsS|Parameters|Parent|Root|Size|Time)|Locate|RefreshShellIcons)\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:Memento(?:Section(?:Done|End|Restore|Save)?|UnselectedSection))\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:Config(?:Read|ReadS|Write|WriteS)|File(?:Join|ReadFromEnd|Recode)|Line(?:Find|Read|Sum)|Text(?:Compare|CompareS)|TrimNewLines)\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:(?:At(?:Least|Most)|Is)(?:ServicePack|Win(?:7|8|10|95|98|200(?:0|3|8(?:R2)?)|ME|NT4|Vista|XP))|Is(?:NT|Server))\}/i,token:"variable",dedent:!0},{regex:/\$\{(?:StrFilterS?|Version(?:Compare|Convert)|Word(?:AddS?|Find(?:(?:2|3)X)?S?|InsertS?|ReplaceS?))\}/i,token:"keyword",dedent:!0},{regex:/\$\{(?:RunningX64)\}/i,token:"variable",dedent:!0},{regex:/\$\{(?:Disable|Enable)X64FSRedirection\}/i,token:"keyword",dedent:!0},{regex:/(#|;).*/,token:"comment"},{regex:/\/\*/,token:"comment",next:"comment"},{regex:/[-+\/*=<>!]+/,token:"operator"},{regex:/\$\w[\w\.]*/,token:"variable"},{regex:/\${[\!\w\.:-]+}/,token:"variableName.constant"},{regex:/\$\([\!\w\.:-]+\)/,token:"atom"}],comment:[{regex:/.*?\*\//,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],languageData:{name:"nsis",indentOnInput:/^\s*((Function|PageEx|Section|Section(Group)?)End|(\!(endif|macroend))|\$\{(End(If|Unless|While)|Loop(Until)|Next)\})$/i,commentTokens:{line:"#",block:{open:"/*",close:"*/"}}}});exports.nsis=t;
|
package/dist/nsis-fePjrhq7.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { s as e } from "./simple-mode-B0dvCdAA.js";
|
|
2
|
-
const n = e({
|
|
3
|
-
start: [
|
|
4
|
-
// Numbers
|
|
5
|
-
{ regex: /(?:[+-]?)(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\d+.?\d*)/, token: "number" },
|
|
6
|
-
// Strings
|
|
7
|
-
{ regex: /"(?:[^\\"]|\\.)*"?/, token: "string" },
|
|
8
|
-
{ regex: /'(?:[^\\']|\\.)*'?/, token: "string" },
|
|
9
|
-
{ regex: /`(?:[^\\`]|\\.)*`?/, token: "string" },
|
|
10
|
-
// Compile Time Commands
|
|
11
|
-
{ regex: /^\s*(?:\!(addincludedir|addplugindir|appendfile|assert|cd|define|delfile|echo|error|execute|finalize|getdllversion|gettlbversion|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|uninstfinalize|verbose|warning))\b/i, token: "keyword" },
|
|
12
|
-
// Conditional Compilation
|
|
13
|
-
{ regex: /^\s*(?:\!(if(?:n?def)?|ifmacron?def|macro))\b/i, token: "keyword", indent: !0 },
|
|
14
|
-
{ regex: /^\s*(?:\!(else|endif|macroend))\b/i, token: "keyword", dedent: !0 },
|
|
15
|
-
// Runtime Commands
|
|
16
|
-
{ regex: /^\s*(?:Abort|AddBrandingImage|AddSize|AllowRootDirInstall|AllowSkipFiles|AutoCloseWindow|BGFont|BGGradient|BrandingText|BringToFront|Call|CallInstDLL|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|CRCCheck|CreateDirectory|CreateFont|CreateShortCut|Delete|DeleteINISec|DeleteINIStr|DeleteRegKey|DeleteRegValue|DetailPrint|DetailsButtonText|DirText|DirVar|DirVerify|EnableWindow|EnumRegKey|EnumRegValue|Exch|Exec|ExecShell|ExecShellWait|ExecWait|ExpandEnvStrings|File|FileBufSize|FileClose|FileErrorText|FileOpen|FileRead|FileReadByte|FileReadUTF16LE|FileReadWord|FileWriteUTF16LE|FileSeek|FileWrite|FileWriteByte|FileWriteWord|FindClose|FindFirst|FindNext|FindWindow|FlushINI|GetCurInstType|GetCurrentAddress|GetDlgItem|GetDLLVersion|GetDLLVersionLocal|GetErrorLevel|GetFileTime|GetFileTimeLocal|GetFullPathName|GetFunctionAddress|GetInstDirError|GetKnownFolderPath|GetLabelAddress|GetTempFileName|GetWinVer|Goto|HideWindow|Icon|IfAbort|IfErrors|IfFileExists|IfRebootFlag|IfRtlLanguage|IfShellVarContextAll|IfSilent|InitPluginsDir|InstallButtonText|InstallColors|InstallDir|InstallDirRegKey|InstProgressFlags|InstType|InstTypeGetText|InstTypeSetText|Int64Cmp|Int64CmpU|Int64Fmt|IntCmp|IntCmpU|IntFmt|IntOp|IntPtrCmp|IntPtrCmpU|IntPtrOp|IsWindow|LangString|LicenseBkColor|LicenseData|LicenseForceSelection|LicenseLangString|LicenseText|LoadAndSetImage|LoadLanguageFile|LockWindow|LogSet|LogText|ManifestDPIAware|ManifestLongPathAware|ManifestMaxVersionTested|ManifestSupportedOS|MessageBox|MiscButtonText|Name|Nop|OutFile|Page|PageCallbacks|PEAddResource|PEDllCharacteristics|PERemoveResource|PESubsysVer|Pop|Push|Quit|ReadEnvStr|ReadINIStr|ReadRegDWORD|ReadRegStr|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|RMDir|SearchPath|SectionGetFlags|SectionGetInstTypes|SectionGetSize|SectionGetText|SectionIn|SectionSetFlags|SectionSetInstTypes|SectionSetSize|SectionSetText|SendMessage|SetAutoClose|SetBrandingImage|SetCompress|SetCompressor|SetCompressorDictSize|SetCtlColors|SetCurInstType|SetDatablockOptimize|SetDateSave|SetDetailsPrint|SetDetailsView|SetErrorLevel|SetErrors|SetFileAttributes|SetFont|SetOutPath|SetOverwrite|SetRebootFlag|SetRegView|SetShellVarContext|SetSilent|ShowInstDetails|ShowUninstDetails|ShowWindow|SilentInstall|SilentUnInstall|Sleep|SpaceTexts|StrCmp|StrCmpS|StrCpy|StrLen|SubCaption|Target|Unicode|UninstallButtonText|UninstallCaption|UninstallIcon|UninstallSubCaption|UninstallText|UninstPage|UnRegDLL|Var|VIAddVersionKey|VIFileVersion|VIProductVersion|WindowIcon|WriteINIStr|WriteRegBin|WriteRegDWORD|WriteRegExpandStr|WriteRegMultiStr|WriteRegNone|WriteRegStr|WriteUninstaller|XPStyle)\b/i, token: "keyword" },
|
|
17
|
-
{ regex: /^\s*(?:Function|PageEx|Section(?:Group)?)\b/i, token: "keyword", indent: !0 },
|
|
18
|
-
{ regex: /^\s*(?:(Function|PageEx|Section(?:Group)?)End)\b/i, token: "keyword", dedent: !0 },
|
|
19
|
-
// Command Options
|
|
20
|
-
{ regex: /\b(?:ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_HIDDEN|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HIDDEN|HKCC|HKCR(32|64)?|HKCU(32|64)?|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM(32|64)?|HKPD|HKU|IDABORT|IDCANCEL|IDD_DIR|IDD_INST|IDD_INSTFILES|IDD_LICENSE|IDD_SELCOM|IDD_UNINST|IDD_VERIFY|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|MB_YESNOCANCEL|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SW_HIDE|SW_SHOWDEFAULT|SW_SHOWMAXIMIZED|SW_SHOWMINIMIZED|SW_SHOWNORMAL|SYSTEM|TEMPORARY)\b/i, token: "atom" },
|
|
21
|
-
{ regex: /\b(?:admin|all|amd64-unicode|auto|both|bottom|bzip2|components|current|custom|directory|false|force|hide|highest|ifdiff|ifnewer|instfiles|lastused|leave|left|license|listonly|lzma|nevershow|none|normal|notset|off|on|right|show|silent|silentlog|textonly|top|true|try|un\.components|un\.custom|un\.directory|un\.instfiles|un\.license|uninstConfirm|user|Win10|Win7|Win8|WinVista|x-86-(ansi|unicode)|zlib)\b/i, token: "builtin" },
|
|
22
|
-
// LogicLib.nsh
|
|
23
|
-
{ regex: /\$\{(?:And(?:If(?:Not)?|Unless)|Break|Case(?:2|3|4|5|Else)?|Continue|Default|Do(?:Until|While)?|Else(?:If(?:Not)?|Unless)?|End(?:If|Select|Switch)|Exit(?:Do|For|While)|For(?:Each)?|If(?:Cmd|Not(?:Then)?|Then)?|Loop(?:Until|While)?|Or(?:If(?:Not)?|Unless)|Select|Switch|Unless|While)\}/i, token: "variable-2", indent: !0 },
|
|
24
|
-
// FileFunc.nsh
|
|
25
|
-
{ regex: /\$\{(?:BannerTrimPath|DirState|DriveSpace|Get(BaseName|Drives|ExeName|ExePath|FileAttributes|FileExt|FileName|FileVersion|Options|OptionsS|Parameters|Parent|Root|Size|Time)|Locate|RefreshShellIcons)\}/i, token: "variable-2", dedent: !0 },
|
|
26
|
-
// Memento.nsh
|
|
27
|
-
{ regex: /\$\{(?:Memento(?:Section(?:Done|End|Restore|Save)?|UnselectedSection))\}/i, token: "variable-2", dedent: !0 },
|
|
28
|
-
// TextFunc.nsh
|
|
29
|
-
{ regex: /\$\{(?:Config(?:Read|ReadS|Write|WriteS)|File(?:Join|ReadFromEnd|Recode)|Line(?:Find|Read|Sum)|Text(?:Compare|CompareS)|TrimNewLines)\}/i, token: "variable-2", dedent: !0 },
|
|
30
|
-
// WinVer.nsh
|
|
31
|
-
{ regex: /\$\{(?:(?:At(?:Least|Most)|Is)(?:ServicePack|Win(?:7|8|10|95|98|200(?:0|3|8(?:R2)?)|ME|NT4|Vista|XP))|Is(?:NT|Server))\}/i, token: "variable", dedent: !0 },
|
|
32
|
-
// WordFunc.nsh
|
|
33
|
-
{ regex: /\$\{(?:StrFilterS?|Version(?:Compare|Convert)|Word(?:AddS?|Find(?:(?:2|3)X)?S?|InsertS?|ReplaceS?))\}/i, token: "keyword", dedent: !0 },
|
|
34
|
-
// x64.nsh
|
|
35
|
-
{ regex: /\$\{(?:RunningX64)\}/i, token: "variable", dedent: !0 },
|
|
36
|
-
{ regex: /\$\{(?:Disable|Enable)X64FSRedirection\}/i, token: "keyword", dedent: !0 },
|
|
37
|
-
// Line Comment
|
|
38
|
-
{ regex: /(#|;).*/, token: "comment" },
|
|
39
|
-
// Block Comment
|
|
40
|
-
{ regex: /\/\*/, token: "comment", next: "comment" },
|
|
41
|
-
// Operator
|
|
42
|
-
{ regex: /[-+\/*=<>!]+/, token: "operator" },
|
|
43
|
-
// Variable
|
|
44
|
-
{ regex: /\$\w[\w\.]*/, token: "variable" },
|
|
45
|
-
// Constant
|
|
46
|
-
{ regex: /\${[\!\w\.:-]+}/, token: "variableName.constant" },
|
|
47
|
-
// Language String
|
|
48
|
-
{ regex: /\$\([\!\w\.:-]+\)/, token: "atom" }
|
|
49
|
-
],
|
|
50
|
-
comment: [
|
|
51
|
-
{ regex: /.*?\*\//, token: "comment", next: "start" },
|
|
52
|
-
{ regex: /.*/, token: "comment" }
|
|
53
|
-
],
|
|
54
|
-
languageData: {
|
|
55
|
-
name: "nsis",
|
|
56
|
-
indentOnInput: /^\s*((Function|PageEx|Section|Section(Group)?)End|(\!(endif|macroend))|\$\{(End(If|Unless|While)|Loop(Until)|Next)\})$/i,
|
|
57
|
-
commentTokens: { line: "#", block: { open: "/*", close: "*/" } }
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
export {
|
|
61
|
-
n as nsis
|
|
62
|
-
};
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
var _ = {
|
|
2
|
-
PRE_SUBJECT: 0,
|
|
3
|
-
WRITING_SUB_URI: 1,
|
|
4
|
-
WRITING_BNODE_URI: 2,
|
|
5
|
-
PRE_PRED: 3,
|
|
6
|
-
WRITING_PRED_URI: 4,
|
|
7
|
-
PRE_OBJ: 5,
|
|
8
|
-
WRITING_OBJ_URI: 6,
|
|
9
|
-
WRITING_OBJ_BNODE: 7,
|
|
10
|
-
WRITING_OBJ_LITERAL: 8,
|
|
11
|
-
WRITING_LIT_LANG: 9,
|
|
12
|
-
WRITING_LIT_TYPE: 10,
|
|
13
|
-
POST_OBJ: 11,
|
|
14
|
-
ERROR: 12
|
|
15
|
-
};
|
|
16
|
-
function T(e, I) {
|
|
17
|
-
var R = e.location, i;
|
|
18
|
-
R == _.PRE_SUBJECT && I == "<" ? i = _.WRITING_SUB_URI : R == _.PRE_SUBJECT && I == "_" ? i = _.WRITING_BNODE_URI : R == _.PRE_PRED && I == "<" ? i = _.WRITING_PRED_URI : R == _.PRE_OBJ && I == "<" ? i = _.WRITING_OBJ_URI : R == _.PRE_OBJ && I == "_" ? i = _.WRITING_OBJ_BNODE : R == _.PRE_OBJ && I == '"' ? i = _.WRITING_OBJ_LITERAL : R == _.WRITING_SUB_URI && I == ">" || R == _.WRITING_BNODE_URI && I == " " ? i = _.PRE_PRED : R == _.WRITING_PRED_URI && I == ">" ? i = _.PRE_OBJ : R == _.WRITING_OBJ_URI && I == ">" || R == _.WRITING_OBJ_BNODE && I == " " || R == _.WRITING_OBJ_LITERAL && I == '"' || R == _.WRITING_LIT_LANG && I == " " || R == _.WRITING_LIT_TYPE && I == ">" ? i = _.POST_OBJ : R == _.WRITING_OBJ_LITERAL && I == "@" ? i = _.WRITING_LIT_LANG : R == _.WRITING_OBJ_LITERAL && I == "^" ? i = _.WRITING_LIT_TYPE : I == " " && (R == _.PRE_SUBJECT || R == _.PRE_PRED || R == _.PRE_OBJ || R == _.POST_OBJ) ? i = R : R == _.POST_OBJ && I == "." ? i = _.PRE_SUBJECT : i = _.ERROR, e.location = i;
|
|
19
|
-
}
|
|
20
|
-
const u = {
|
|
21
|
-
name: "ntriples",
|
|
22
|
-
startState: function() {
|
|
23
|
-
return {
|
|
24
|
-
location: _.PRE_SUBJECT,
|
|
25
|
-
uris: [],
|
|
26
|
-
anchors: [],
|
|
27
|
-
bnodes: [],
|
|
28
|
-
langs: [],
|
|
29
|
-
types: []
|
|
30
|
-
};
|
|
31
|
-
},
|
|
32
|
-
token: function(e, I) {
|
|
33
|
-
var R = e.next();
|
|
34
|
-
if (R == "<") {
|
|
35
|
-
T(I, R);
|
|
36
|
-
var i = "";
|
|
37
|
-
return e.eatWhile(function(n) {
|
|
38
|
-
return n != "#" && n != ">" ? (i += n, !0) : !1;
|
|
39
|
-
}), I.uris.push(i), e.match("#", !1) || (e.next(), T(I, ">")), "variable";
|
|
40
|
-
}
|
|
41
|
-
if (R == "#") {
|
|
42
|
-
var r = "";
|
|
43
|
-
return e.eatWhile(function(n) {
|
|
44
|
-
return n != ">" && n != " " ? (r += n, !0) : !1;
|
|
45
|
-
}), I.anchors.push(r), "url";
|
|
46
|
-
}
|
|
47
|
-
if (R == ">")
|
|
48
|
-
return T(I, ">"), "variable";
|
|
49
|
-
if (R == "_") {
|
|
50
|
-
T(I, R);
|
|
51
|
-
var f = "";
|
|
52
|
-
return e.eatWhile(function(n) {
|
|
53
|
-
return n != " " ? (f += n, !0) : !1;
|
|
54
|
-
}), I.bnodes.push(f), e.next(), T(I, " "), "builtin";
|
|
55
|
-
}
|
|
56
|
-
if (R == '"')
|
|
57
|
-
return T(I, R), e.eatWhile(function(n) {
|
|
58
|
-
return n != '"';
|
|
59
|
-
}), e.next(), e.peek() != "@" && e.peek() != "^" && T(I, '"'), "string";
|
|
60
|
-
if (R == "@") {
|
|
61
|
-
T(I, "@");
|
|
62
|
-
var E = "";
|
|
63
|
-
return e.eatWhile(function(n) {
|
|
64
|
-
return n != " " ? (E += n, !0) : !1;
|
|
65
|
-
}), I.langs.push(E), e.next(), T(I, " "), "string.special";
|
|
66
|
-
}
|
|
67
|
-
if (R == "^") {
|
|
68
|
-
e.next(), T(I, "^");
|
|
69
|
-
var l = "";
|
|
70
|
-
return e.eatWhile(function(n) {
|
|
71
|
-
return n != ">" ? (l += n, !0) : !1;
|
|
72
|
-
}), I.types.push(l), e.next(), T(I, ">"), "variable";
|
|
73
|
-
}
|
|
74
|
-
R == " " && T(I, R), R == "." && T(I, R);
|
|
75
|
-
}
|
|
76
|
-
};
|
|
77
|
-
export {
|
|
78
|
-
u as ntriples
|
|
79
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var _={PRE_SUBJECT:0,WRITING_SUB_URI:1,WRITING_BNODE_URI:2,PRE_PRED:3,WRITING_PRED_URI:4,PRE_OBJ:5,WRITING_OBJ_URI:6,WRITING_OBJ_BNODE:7,WRITING_OBJ_LITERAL:8,WRITING_LIT_LANG:9,WRITING_LIT_TYPE:10,POST_OBJ:11,ERROR:12};function r(i,e){var I=i.location,R;I==_.PRE_SUBJECT&&e=="<"?R=_.WRITING_SUB_URI:I==_.PRE_SUBJECT&&e=="_"?R=_.WRITING_BNODE_URI:I==_.PRE_PRED&&e=="<"?R=_.WRITING_PRED_URI:I==_.PRE_OBJ&&e=="<"?R=_.WRITING_OBJ_URI:I==_.PRE_OBJ&&e=="_"?R=_.WRITING_OBJ_BNODE:I==_.PRE_OBJ&&e=='"'?R=_.WRITING_OBJ_LITERAL:I==_.WRITING_SUB_URI&&e==">"||I==_.WRITING_BNODE_URI&&e==" "?R=_.PRE_PRED:I==_.WRITING_PRED_URI&&e==">"?R=_.PRE_OBJ:I==_.WRITING_OBJ_URI&&e==">"||I==_.WRITING_OBJ_BNODE&&e==" "||I==_.WRITING_OBJ_LITERAL&&e=='"'||I==_.WRITING_LIT_LANG&&e==" "||I==_.WRITING_LIT_TYPE&&e==">"?R=_.POST_OBJ:I==_.WRITING_OBJ_LITERAL&&e=="@"?R=_.WRITING_LIT_LANG:I==_.WRITING_OBJ_LITERAL&&e=="^"?R=_.WRITING_LIT_TYPE:e==" "&&(I==_.PRE_SUBJECT||I==_.PRE_PRED||I==_.PRE_OBJ||I==_.POST_OBJ)?R=I:I==_.POST_OBJ&&e=="."?R=_.PRE_SUBJECT:R=_.ERROR,i.location=R}const u={name:"ntriples",startState:function(){return{location:_.PRE_SUBJECT,uris:[],anchors:[],bnodes:[],langs:[],types:[]}},token:function(i,e){var I=i.next();if(I=="<"){r(e,I);var R="";return i.eatWhile(function(n){return n!="#"&&n!=">"?(R+=n,!0):!1}),e.uris.push(R),i.match("#",!1)||(i.next(),r(e,">")),"variable"}if(I=="#"){var T="";return i.eatWhile(function(n){return n!=">"&&n!=" "?(T+=n,!0):!1}),e.anchors.push(T),"url"}if(I==">")return r(e,">"),"variable";if(I=="_"){r(e,I);var f="";return i.eatWhile(function(n){return n!=" "?(f+=n,!0):!1}),e.bnodes.push(f),i.next(),r(e," "),"builtin"}if(I=='"')return r(e,I),i.eatWhile(function(n){return n!='"'}),i.next(),i.peek()!="@"&&i.peek()!="^"&&r(e,'"'),"string";if(I=="@"){r(e,"@");var l="";return i.eatWhile(function(n){return n!=" "?(l+=n,!0):!1}),e.langs.push(l),i.next(),r(e," "),"string.special"}if(I=="^"){i.next(),r(e,"^");var E="";return i.eatWhile(function(n){return n!=">"?(E+=n,!0):!1}),e.types.push(E),i.next(),r(e,">"),"variable"}I==" "&&r(e,I),I=="."&&r(e,I)}};exports.ntriples=u;
|
package/dist/octave-1pkKrgAA.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var u=new RegExp("^[\\+\\-\\*/&|\\^~<>!@'\\\\]"),f=new RegExp("^[\\(\\[\\{\\},:=;\\.]"),a=new RegExp("^((==)|(~=)|(<=)|(>=)|(<<)|(>>)|(\\.[\\+\\-\\*/\\^\\\\]))"),l=new RegExp("^((!=)|(\\+=)|(\\-=)|(\\*=)|(/=)|(&=)|(\\|=)|(\\^=))"),c=new RegExp("^((>>=)|(<<=))"),d=new RegExp("^[\\]\\)]"),p=new RegExp("^[_A-Za-z¡-][_A-Za-z0-9¡-]*"),s=t(["error","eval","function","abs","acos","atan","asin","cos","cosh","exp","log","prod","sum","log10","max","min","sign","sin","sinh","sqrt","tan","reshape","break","zeros","default","margin","round","ones","rand","syn","ceil","floor","size","clear","zeros","eye","mean","std","cov","det","eig","inv","norm","rank","trace","expm","logm","sqrtm","linspace","plot","title","xlabel","ylabel","legend","text","grid","meshgrid","mesh","num2str","fft","ifft","arrayfun","cellfun","input","fliplr","flipud","ismember"]),m=t(["return","case","switch","else","elseif","end","endif","endfunction","if","otherwise","do","for","while","try","catch","classdef","properties","events","methods","global","persistent","endfor","endwhile","printf","sprintf","disp","until","continue","pkg"]);function o(e,n){return!e.sol()&&e.peek()==="'"?(e.next(),n.tokenize=i,"operator"):(n.tokenize=i,i(e,n))}function h(e,n){return e.match(/^.*%}/)?(n.tokenize=i,"comment"):(e.skipToEnd(),"comment")}function i(e,n){if(e.eatSpace())return null;if(e.match("%{"))return n.tokenize=h,e.skipToEnd(),"comment";if(e.match(/^[%#]/))return e.skipToEnd(),"comment";if(e.match(/^[0-9\.+-]/,!1)){if(e.match(/^[+-]?0x[0-9a-fA-F]+[ij]?/))return e.tokenize=i,"number";if(e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?[ij]?/)||e.match(/^[+-]?\d+([EeDd][+-]?\d+)?[ij]?/))return"number"}if(e.match(t(["nan","NaN","inf","Inf"])))return"number";var r=e.match(/^"(?:[^"]|"")*("|$)/)||e.match(/^'(?:[^']|'')*('|$)/);return r?r[1]?"string":"error":e.match(m)?"keyword":e.match(s)?"builtin":e.match(p)?"variable":e.match(u)||e.match(a)?"operator":e.match(f)||e.match(l)||e.match(c)?null:e.match(d)?(n.tokenize=o,null):(e.next(),"error")}const g={name:"octave",startState:function(){return{tokenize:i}},token:function(e,n){var r=n.tokenize(e,n);return(r==="number"||r==="variable")&&(n.tokenize=o),r},languageData:{commentTokens:{line:"%"}}};exports.octave=g;
|
package/dist/octave-C8PmmSRH.js
DELETED
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
function t(e) {
|
|
2
|
-
return new RegExp("^((" + e.join(")|(") + "))\\b");
|
|
3
|
-
}
|
|
4
|
-
var f = new RegExp("^[\\+\\-\\*/&|\\^~<>!@'\\\\]"), u = new RegExp("^[\\(\\[\\{\\},:=;\\.]"), a = new RegExp("^((==)|(~=)|(<=)|(>=)|(<<)|(>>)|(\\.[\\+\\-\\*/\\^\\\\]))"), l = new RegExp("^((!=)|(\\+=)|(\\-=)|(\\*=)|(/=)|(&=)|(\\|=)|(\\^=))"), c = new RegExp("^((>>=)|(<<=))"), p = new RegExp("^[\\]\\)]"), d = new RegExp("^[_A-Za-z¡-][_A-Za-z0-9¡-]*"), s = t([
|
|
5
|
-
"error",
|
|
6
|
-
"eval",
|
|
7
|
-
"function",
|
|
8
|
-
"abs",
|
|
9
|
-
"acos",
|
|
10
|
-
"atan",
|
|
11
|
-
"asin",
|
|
12
|
-
"cos",
|
|
13
|
-
"cosh",
|
|
14
|
-
"exp",
|
|
15
|
-
"log",
|
|
16
|
-
"prod",
|
|
17
|
-
"sum",
|
|
18
|
-
"log10",
|
|
19
|
-
"max",
|
|
20
|
-
"min",
|
|
21
|
-
"sign",
|
|
22
|
-
"sin",
|
|
23
|
-
"sinh",
|
|
24
|
-
"sqrt",
|
|
25
|
-
"tan",
|
|
26
|
-
"reshape",
|
|
27
|
-
"break",
|
|
28
|
-
"zeros",
|
|
29
|
-
"default",
|
|
30
|
-
"margin",
|
|
31
|
-
"round",
|
|
32
|
-
"ones",
|
|
33
|
-
"rand",
|
|
34
|
-
"syn",
|
|
35
|
-
"ceil",
|
|
36
|
-
"floor",
|
|
37
|
-
"size",
|
|
38
|
-
"clear",
|
|
39
|
-
"zeros",
|
|
40
|
-
"eye",
|
|
41
|
-
"mean",
|
|
42
|
-
"std",
|
|
43
|
-
"cov",
|
|
44
|
-
"det",
|
|
45
|
-
"eig",
|
|
46
|
-
"inv",
|
|
47
|
-
"norm",
|
|
48
|
-
"rank",
|
|
49
|
-
"trace",
|
|
50
|
-
"expm",
|
|
51
|
-
"logm",
|
|
52
|
-
"sqrtm",
|
|
53
|
-
"linspace",
|
|
54
|
-
"plot",
|
|
55
|
-
"title",
|
|
56
|
-
"xlabel",
|
|
57
|
-
"ylabel",
|
|
58
|
-
"legend",
|
|
59
|
-
"text",
|
|
60
|
-
"grid",
|
|
61
|
-
"meshgrid",
|
|
62
|
-
"mesh",
|
|
63
|
-
"num2str",
|
|
64
|
-
"fft",
|
|
65
|
-
"ifft",
|
|
66
|
-
"arrayfun",
|
|
67
|
-
"cellfun",
|
|
68
|
-
"input",
|
|
69
|
-
"fliplr",
|
|
70
|
-
"flipud",
|
|
71
|
-
"ismember"
|
|
72
|
-
]), h = t([
|
|
73
|
-
"return",
|
|
74
|
-
"case",
|
|
75
|
-
"switch",
|
|
76
|
-
"else",
|
|
77
|
-
"elseif",
|
|
78
|
-
"end",
|
|
79
|
-
"endif",
|
|
80
|
-
"endfunction",
|
|
81
|
-
"if",
|
|
82
|
-
"otherwise",
|
|
83
|
-
"do",
|
|
84
|
-
"for",
|
|
85
|
-
"while",
|
|
86
|
-
"try",
|
|
87
|
-
"catch",
|
|
88
|
-
"classdef",
|
|
89
|
-
"properties",
|
|
90
|
-
"events",
|
|
91
|
-
"methods",
|
|
92
|
-
"global",
|
|
93
|
-
"persistent",
|
|
94
|
-
"endfor",
|
|
95
|
-
"endwhile",
|
|
96
|
-
"printf",
|
|
97
|
-
"sprintf",
|
|
98
|
-
"disp",
|
|
99
|
-
"until",
|
|
100
|
-
"continue",
|
|
101
|
-
"pkg"
|
|
102
|
-
]);
|
|
103
|
-
function o(e, n) {
|
|
104
|
-
return !e.sol() && e.peek() === "'" ? (e.next(), n.tokenize = i, "operator") : (n.tokenize = i, i(e, n));
|
|
105
|
-
}
|
|
106
|
-
function m(e, n) {
|
|
107
|
-
return e.match(/^.*%}/) ? (n.tokenize = i, "comment") : (e.skipToEnd(), "comment");
|
|
108
|
-
}
|
|
109
|
-
function i(e, n) {
|
|
110
|
-
if (e.eatSpace()) return null;
|
|
111
|
-
if (e.match("%{"))
|
|
112
|
-
return n.tokenize = m, e.skipToEnd(), "comment";
|
|
113
|
-
if (e.match(/^[%#]/))
|
|
114
|
-
return e.skipToEnd(), "comment";
|
|
115
|
-
if (e.match(/^[0-9\.+-]/, !1)) {
|
|
116
|
-
if (e.match(/^[+-]?0x[0-9a-fA-F]+[ij]?/))
|
|
117
|
-
return e.tokenize = i, "number";
|
|
118
|
-
if (e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?[ij]?/) || e.match(/^[+-]?\d+([EeDd][+-]?\d+)?[ij]?/))
|
|
119
|
-
return "number";
|
|
120
|
-
}
|
|
121
|
-
if (e.match(t(["nan", "NaN", "inf", "Inf"])))
|
|
122
|
-
return "number";
|
|
123
|
-
var r = e.match(/^"(?:[^"]|"")*("|$)/) || e.match(/^'(?:[^']|'')*('|$)/);
|
|
124
|
-
return r ? r[1] ? "string" : "error" : e.match(h) ? "keyword" : e.match(s) ? "builtin" : e.match(d) ? "variable" : e.match(f) || e.match(a) ? "operator" : e.match(u) || e.match(l) || e.match(c) ? null : e.match(p) ? (n.tokenize = o, null) : (e.next(), "error");
|
|
125
|
-
}
|
|
126
|
-
const g = {
|
|
127
|
-
name: "octave",
|
|
128
|
-
startState: function() {
|
|
129
|
-
return {
|
|
130
|
-
tokenize: i
|
|
131
|
-
};
|
|
132
|
-
},
|
|
133
|
-
token: function(e, n) {
|
|
134
|
-
var r = n.tokenize(e, n);
|
|
135
|
-
return (r === "number" || r === "variable") && (n.tokenize = o), r;
|
|
136
|
-
},
|
|
137
|
-
languageData: {
|
|
138
|
-
commentTokens: { line: "%" }
|
|
139
|
-
}
|
|
140
|
-
};
|
|
141
|
-
export {
|
|
142
|
-
g as octave
|
|
143
|
-
};
|
package/dist/oz-BXOZCt0U.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function o(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var s=/[\^@!\|<>#~\.\*\-\+\\/,=]/,k=/(<-)|(:=)|(=<)|(>=)|(<=)|(<:)|(>:)|(=:)|(\\=)|(\\=:)|(!!)|(==)|(::)/,p=/(:::)|(\.\.\.)|(=<:)|(>=:)/,f=["in","then","else","of","elseof","elsecase","elseif","catch","finally","with","require","prepare","import","export","define","do"],l=["end"],z=o(["true","false","nil","unit"]),g=o(["andthen","at","attr","declare","feat","from","lex","mod","div","mode","orelse","parser","prod","prop","scanner","self","syn","token"]),m=o(["local","proc","fun","case","class","if","cond","or","dis","choice","not","thread","try","raise","lock","for","suchthat","meth","functor"]),d=o(f),h=o(l);function i(e,n){if(e.eatSpace())return null;if(e.match(/[{}]/))return"bracket";if(e.match("[]"))return"keyword";if(e.match(p)||e.match(k))return"operator";if(e.match(z))return"atom";var t=e.match(m);if(t)return n.doInCurrentLine?n.doInCurrentLine=!1:n.currentIndent++,t[0]=="proc"||t[0]=="fun"?n.tokenize=y:t[0]=="class"?n.tokenize=v:t[0]=="meth"&&(n.tokenize=w),"keyword";if(e.match(d)||e.match(g))return"keyword";if(e.match(h))return n.currentIndent--,"keyword";var r=e.next();if(r=='"'||r=="'")return n.tokenize=b(r),n.tokenize(e,n);if(/[~\d]/.test(r)){if(r=="~")if(/^[0-9]/.test(e.peek())){if(e.next()=="0"&&e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/))return"number"}else return null;return r=="0"&&e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/)?"number":null}return r=="%"?(e.skipToEnd(),"comment"):r=="/"&&e.eat("*")?(n.tokenize=a,a(e,n)):s.test(r)?"operator":(e.eatWhile(/\w/),"variable")}function v(e,n){return e.eatSpace()?null:(e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)/),n.tokenize=i,"type")}function w(e,n){return e.eatSpace()?null:(e.match(/([a-zA-Z][A-Za-z0-9_]*)|(`.+`)/),n.tokenize=i,"def")}function y(e,n){return e.eatSpace()?null:!n.hasPassedFirstStage&&e.eat("{")?(n.hasPassedFirstStage=!0,"bracket"):n.hasPassedFirstStage?(e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)|\$/),n.hasPassedFirstStage=!1,n.tokenize=i,"def"):(n.tokenize=i,null)}function a(e,n){for(var t=!1,r;r=e.next();){if(r=="/"&&t){n.tokenize=i;break}t=r=="*"}return"comment"}function b(e){return function(n,t){for(var r=!1,u,c=!1;(u=n.next())!=null;){if(u==e&&!r){c=!0;break}r=!r&&u=="\\"}return(c||!r)&&(t.tokenize=i),"string"}}function x(){var e=f.concat(l);return new RegExp("[\\[\\]]|("+e.join("|")+")$")}const S={name:"oz",startState:function(){return{tokenize:i,currentIndent:0,doInCurrentLine:!1,hasPassedFirstStage:!1}},token:function(e,n){return e.sol()&&(n.doInCurrentLine=0),n.tokenize(e,n)},indent:function(e,n,t){var r=n.replace(/^\s+|\s+$/g,"");return r.match(h)||r.match(d)||r.match(/(\[])/)?t.unit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*t.unit},languageData:{indentOnInut:x(),commentTokens:{line:"%",block:{open:"/*",close:"*/"}}}};exports.oz=S;
|
package/dist/oz-Ce8aN8oE.js
DELETED
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
function o(e) {
|
|
2
|
-
return new RegExp("^((" + e.join(")|(") + "))\\b");
|
|
3
|
-
}
|
|
4
|
-
var k = /[\^@!\|<>#~\.\*\-\+\\/,=]/, s = /(<-)|(:=)|(=<)|(>=)|(<=)|(<:)|(>:)|(=:)|(\\=)|(\\=:)|(!!)|(==)|(::)/, p = /(:::)|(\.\.\.)|(=<:)|(>=:)/, f = [
|
|
5
|
-
"in",
|
|
6
|
-
"then",
|
|
7
|
-
"else",
|
|
8
|
-
"of",
|
|
9
|
-
"elseof",
|
|
10
|
-
"elsecase",
|
|
11
|
-
"elseif",
|
|
12
|
-
"catch",
|
|
13
|
-
"finally",
|
|
14
|
-
"with",
|
|
15
|
-
"require",
|
|
16
|
-
"prepare",
|
|
17
|
-
"import",
|
|
18
|
-
"export",
|
|
19
|
-
"define",
|
|
20
|
-
"do"
|
|
21
|
-
], l = ["end"], z = o(["true", "false", "nil", "unit"]), m = o([
|
|
22
|
-
"andthen",
|
|
23
|
-
"at",
|
|
24
|
-
"attr",
|
|
25
|
-
"declare",
|
|
26
|
-
"feat",
|
|
27
|
-
"from",
|
|
28
|
-
"lex",
|
|
29
|
-
"mod",
|
|
30
|
-
"div",
|
|
31
|
-
"mode",
|
|
32
|
-
"orelse",
|
|
33
|
-
"parser",
|
|
34
|
-
"prod",
|
|
35
|
-
"prop",
|
|
36
|
-
"scanner",
|
|
37
|
-
"self",
|
|
38
|
-
"syn",
|
|
39
|
-
"token"
|
|
40
|
-
]), v = o([
|
|
41
|
-
"local",
|
|
42
|
-
"proc",
|
|
43
|
-
"fun",
|
|
44
|
-
"case",
|
|
45
|
-
"class",
|
|
46
|
-
"if",
|
|
47
|
-
"cond",
|
|
48
|
-
"or",
|
|
49
|
-
"dis",
|
|
50
|
-
"choice",
|
|
51
|
-
"not",
|
|
52
|
-
"thread",
|
|
53
|
-
"try",
|
|
54
|
-
"raise",
|
|
55
|
-
"lock",
|
|
56
|
-
"for",
|
|
57
|
-
"suchthat",
|
|
58
|
-
"meth",
|
|
59
|
-
"functor"
|
|
60
|
-
]), d = o(f), h = o(l);
|
|
61
|
-
function i(e, n) {
|
|
62
|
-
if (e.eatSpace())
|
|
63
|
-
return null;
|
|
64
|
-
if (e.match(/[{}]/))
|
|
65
|
-
return "bracket";
|
|
66
|
-
if (e.match("[]"))
|
|
67
|
-
return "keyword";
|
|
68
|
-
if (e.match(p) || e.match(s))
|
|
69
|
-
return "operator";
|
|
70
|
-
if (e.match(z))
|
|
71
|
-
return "atom";
|
|
72
|
-
var t = e.match(v);
|
|
73
|
-
if (t)
|
|
74
|
-
return n.doInCurrentLine ? n.doInCurrentLine = !1 : n.currentIndent++, t[0] == "proc" || t[0] == "fun" ? n.tokenize = x : t[0] == "class" ? n.tokenize = g : t[0] == "meth" && (n.tokenize = w), "keyword";
|
|
75
|
-
if (e.match(d) || e.match(m))
|
|
76
|
-
return "keyword";
|
|
77
|
-
if (e.match(h))
|
|
78
|
-
return n.currentIndent--, "keyword";
|
|
79
|
-
var r = e.next();
|
|
80
|
-
if (r == '"' || r == "'")
|
|
81
|
-
return n.tokenize = y(r), n.tokenize(e, n);
|
|
82
|
-
if (/[~\d]/.test(r)) {
|
|
83
|
-
if (r == "~")
|
|
84
|
-
if (/^[0-9]/.test(e.peek())) {
|
|
85
|
-
if (e.next() == "0" && e.match(/^[xX][0-9a-fA-F]+/) || e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/))
|
|
86
|
-
return "number";
|
|
87
|
-
} else return null;
|
|
88
|
-
return r == "0" && e.match(/^[xX][0-9a-fA-F]+/) || e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/) ? "number" : null;
|
|
89
|
-
}
|
|
90
|
-
return r == "%" ? (e.skipToEnd(), "comment") : r == "/" && e.eat("*") ? (n.tokenize = a, a(e, n)) : k.test(r) ? "operator" : (e.eatWhile(/\w/), "variable");
|
|
91
|
-
}
|
|
92
|
-
function g(e, n) {
|
|
93
|
-
return e.eatSpace() ? null : (e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)/), n.tokenize = i, "type");
|
|
94
|
-
}
|
|
95
|
-
function w(e, n) {
|
|
96
|
-
return e.eatSpace() ? null : (e.match(/([a-zA-Z][A-Za-z0-9_]*)|(`.+`)/), n.tokenize = i, "def");
|
|
97
|
-
}
|
|
98
|
-
function x(e, n) {
|
|
99
|
-
return e.eatSpace() ? null : !n.hasPassedFirstStage && e.eat("{") ? (n.hasPassedFirstStage = !0, "bracket") : n.hasPassedFirstStage ? (e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)|\$/), n.hasPassedFirstStage = !1, n.tokenize = i, "def") : (n.tokenize = i, null);
|
|
100
|
-
}
|
|
101
|
-
function a(e, n) {
|
|
102
|
-
for (var t = !1, r; r = e.next(); ) {
|
|
103
|
-
if (r == "/" && t) {
|
|
104
|
-
n.tokenize = i;
|
|
105
|
-
break;
|
|
106
|
-
}
|
|
107
|
-
t = r == "*";
|
|
108
|
-
}
|
|
109
|
-
return "comment";
|
|
110
|
-
}
|
|
111
|
-
function y(e) {
|
|
112
|
-
return function(n, t) {
|
|
113
|
-
for (var r = !1, u, c = !1; (u = n.next()) != null; ) {
|
|
114
|
-
if (u == e && !r) {
|
|
115
|
-
c = !0;
|
|
116
|
-
break;
|
|
117
|
-
}
|
|
118
|
-
r = !r && u == "\\";
|
|
119
|
-
}
|
|
120
|
-
return (c || !r) && (t.tokenize = i), "string";
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
function b() {
|
|
124
|
-
var e = f.concat(l);
|
|
125
|
-
return new RegExp("[\\[\\]]|(" + e.join("|") + ")$");
|
|
126
|
-
}
|
|
127
|
-
const I = {
|
|
128
|
-
name: "oz",
|
|
129
|
-
startState: function() {
|
|
130
|
-
return {
|
|
131
|
-
tokenize: i,
|
|
132
|
-
currentIndent: 0,
|
|
133
|
-
doInCurrentLine: !1,
|
|
134
|
-
hasPassedFirstStage: !1
|
|
135
|
-
};
|
|
136
|
-
},
|
|
137
|
-
token: function(e, n) {
|
|
138
|
-
return e.sol() && (n.doInCurrentLine = 0), n.tokenize(e, n);
|
|
139
|
-
},
|
|
140
|
-
indent: function(e, n, t) {
|
|
141
|
-
var r = n.replace(/^\s+|\s+$/g, "");
|
|
142
|
-
return r.match(h) || r.match(d) || r.match(/(\[])/) ? t.unit * (e.currentIndent - 1) : e.currentIndent < 0 ? 0 : e.currentIndent * t.unit;
|
|
143
|
-
},
|
|
144
|
-
languageData: {
|
|
145
|
-
indentOnInut: b(),
|
|
146
|
-
commentTokens: { line: "%", block: { open: "/*", close: "*/" } }
|
|
147
|
-
}
|
|
148
|
-
};
|
|
149
|
-
export {
|
|
150
|
-
I as oz
|
|
151
|
-
};
|
package/dist/pascal-De0D6mP7.js
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
function c(r) {
|
|
2
|
-
for (var n = {}, e = r.split(" "), t = 0; t < e.length; ++t) n[e[t]] = !0;
|
|
3
|
-
return n;
|
|
4
|
-
}
|
|
5
|
-
var s = c(
|
|
6
|
-
"absolute and array asm begin case const constructor destructor div do downto else end file for function goto if implementation in inherited inline interface label mod nil not object of operator or packed procedure program record reintroduce repeat self set shl shr string then to type unit until uses var while with xor as class dispinterface except exports finalization finally initialization inline is library on out packed property raise resourcestring threadvar try absolute abstract alias assembler bitpacked break cdecl continue cppdecl cvar default deprecated dynamic enumerator experimental export external far far16 forward generic helper implements index interrupt iocheck local message name near nodefault noreturn nostackframe oldfpccall otherwise overload override pascal platform private protected public published read register reintroduce result safecall saveregisters softfloat specialize static stdcall stored strict unaligned unimplemented varargs virtual write"
|
|
7
|
-
), f = { null: !0 }, a = /[+\-*&%=<>!?|\/]/;
|
|
8
|
-
function d(r, n) {
|
|
9
|
-
var e = r.next();
|
|
10
|
-
if (e == "#" && n.startOfLine)
|
|
11
|
-
return r.skipToEnd(), "meta";
|
|
12
|
-
if (e == '"' || e == "'")
|
|
13
|
-
return n.tokenize = p(e), n.tokenize(r, n);
|
|
14
|
-
if (e == "(" && r.eat("*"))
|
|
15
|
-
return n.tokenize = l, l(r, n);
|
|
16
|
-
if (e == "{")
|
|
17
|
-
return n.tokenize = u, u(r, n);
|
|
18
|
-
if (/[\[\]\(\),;\:\.]/.test(e))
|
|
19
|
-
return null;
|
|
20
|
-
if (/\d/.test(e))
|
|
21
|
-
return r.eatWhile(/[\w\.]/), "number";
|
|
22
|
-
if (e == "/" && r.eat("/"))
|
|
23
|
-
return r.skipToEnd(), "comment";
|
|
24
|
-
if (a.test(e))
|
|
25
|
-
return r.eatWhile(a), "operator";
|
|
26
|
-
r.eatWhile(/[\w\$_]/);
|
|
27
|
-
var t = r.current().toLowerCase();
|
|
28
|
-
return s.propertyIsEnumerable(t) ? "keyword" : f.propertyIsEnumerable(t) ? "atom" : "variable";
|
|
29
|
-
}
|
|
30
|
-
function p(r) {
|
|
31
|
-
return function(n, e) {
|
|
32
|
-
for (var t = !1, i, o = !1; (i = n.next()) != null; ) {
|
|
33
|
-
if (i == r && !t) {
|
|
34
|
-
o = !0;
|
|
35
|
-
break;
|
|
36
|
-
}
|
|
37
|
-
t = !t && i == "\\";
|
|
38
|
-
}
|
|
39
|
-
return (o || !t) && (e.tokenize = null), "string";
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
function l(r, n) {
|
|
43
|
-
for (var e = !1, t; t = r.next(); ) {
|
|
44
|
-
if (t == ")" && e) {
|
|
45
|
-
n.tokenize = null;
|
|
46
|
-
break;
|
|
47
|
-
}
|
|
48
|
-
e = t == "*";
|
|
49
|
-
}
|
|
50
|
-
return "comment";
|
|
51
|
-
}
|
|
52
|
-
function u(r, n) {
|
|
53
|
-
for (var e; e = r.next(); )
|
|
54
|
-
if (e == "}") {
|
|
55
|
-
n.tokenize = null;
|
|
56
|
-
break;
|
|
57
|
-
}
|
|
58
|
-
return "comment";
|
|
59
|
-
}
|
|
60
|
-
const k = {
|
|
61
|
-
name: "pascal",
|
|
62
|
-
startState: function() {
|
|
63
|
-
return { tokenize: null };
|
|
64
|
-
},
|
|
65
|
-
token: function(r, n) {
|
|
66
|
-
if (r.eatSpace()) return null;
|
|
67
|
-
var e = (n.tokenize || d)(r, n);
|
|
68
|
-
return e == "comment" || e == "meta", e;
|
|
69
|
-
},
|
|
70
|
-
languageData: {
|
|
71
|
-
indentOnInput: /^\s*[{}]$/,
|
|
72
|
-
commentTokens: { block: { open: "(*", close: "*)" } }
|
|
73
|
-
}
|
|
74
|
-
};
|
|
75
|
-
export {
|
|
76
|
-
k as pascal
|
|
77
|
-
};
|
package/dist/pascal-DtY2LEkJ.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function c(r){for(var n={},e=r.split(" "),t=0;t<e.length;++t)n[e[t]]=!0;return n}var s=c("absolute and array asm begin case const constructor destructor div do downto else end file for function goto if implementation in inherited inline interface label mod nil not object of operator or packed procedure program record reintroduce repeat self set shl shr string then to type unit until uses var while with xor as class dispinterface except exports finalization finally initialization inline is library on out packed property raise resourcestring threadvar try absolute abstract alias assembler bitpacked break cdecl continue cppdecl cvar default deprecated dynamic enumerator experimental export external far far16 forward generic helper implements index interrupt iocheck local message name near nodefault noreturn nostackframe oldfpccall otherwise overload override pascal platform private protected public published read register reintroduce result safecall saveregisters softfloat specialize static stdcall stored strict unaligned unimplemented varargs virtual write"),f={null:!0},a=/[+\-*&%=<>!?|\/]/;function d(r,n){var e=r.next();if(e=="#"&&n.startOfLine)return r.skipToEnd(),"meta";if(e=='"'||e=="'")return n.tokenize=p(e),n.tokenize(r,n);if(e=="("&&r.eat("*"))return n.tokenize=l,l(r,n);if(e=="{")return n.tokenize=u,u(r,n);if(/[\[\]\(\),;\:\.]/.test(e))return null;if(/\d/.test(e))return r.eatWhile(/[\w\.]/),"number";if(e=="/"&&r.eat("/"))return r.skipToEnd(),"comment";if(a.test(e))return r.eatWhile(a),"operator";r.eatWhile(/[\w\$_]/);var t=r.current().toLowerCase();return s.propertyIsEnumerable(t)?"keyword":f.propertyIsEnumerable(t)?"atom":"variable"}function p(r){return function(n,e){for(var t=!1,i,o=!1;(i=n.next())!=null;){if(i==r&&!t){o=!0;break}t=!t&&i=="\\"}return(o||!t)&&(e.tokenize=null),"string"}}function l(r,n){for(var e=!1,t;t=r.next();){if(t==")"&&e){n.tokenize=null;break}e=t=="*"}return"comment"}function u(r,n){for(var e;e=r.next();)if(e=="}"){n.tokenize=null;break}return"comment"}const k={name:"pascal",startState:function(){return{tokenize:null}},token:function(r,n){if(r.eatSpace())return null;var e=(n.tokenize||d)(r,n);return e=="comment"||e=="meta",e},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{block:{open:"(*",close:"*)"}}}};exports.pascal=k;
|