@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
|
@@ -1,324 +0,0 @@
|
|
|
1
|
-
function p(h) {
|
|
2
|
-
var v = "error";
|
|
3
|
-
function i(e) {
|
|
4
|
-
return new RegExp("^((" + e.join(")|(") + "))\\b", "i");
|
|
5
|
-
}
|
|
6
|
-
var y = new RegExp("^[\\+\\-\\*/&\\\\\\^<>=]"), g = new RegExp("^((<>)|(<=)|(>=))"), m = new RegExp("^[\\.,]"), w = new RegExp("^[\\(\\)]"), k = new RegExp("^[A-Za-z][_A-Za-z0-9]*"), x = ["class", "sub", "select", "while", "if", "function", "property", "with", "for"], C = ["else", "elseif", "case"], I = ["next", "loop", "wend"], O = i(["and", "or", "not", "xor", "is", "mod", "eqv", "imp"]), S = [
|
|
7
|
-
"dim",
|
|
8
|
-
"redim",
|
|
9
|
-
"then",
|
|
10
|
-
"until",
|
|
11
|
-
"randomize",
|
|
12
|
-
"byval",
|
|
13
|
-
"byref",
|
|
14
|
-
"new",
|
|
15
|
-
"property",
|
|
16
|
-
"exit",
|
|
17
|
-
"in",
|
|
18
|
-
"const",
|
|
19
|
-
"private",
|
|
20
|
-
"public",
|
|
21
|
-
"get",
|
|
22
|
-
"set",
|
|
23
|
-
"let",
|
|
24
|
-
"stop",
|
|
25
|
-
"on error resume next",
|
|
26
|
-
"on error goto 0",
|
|
27
|
-
"option explicit",
|
|
28
|
-
"call",
|
|
29
|
-
"me"
|
|
30
|
-
], D = ["true", "false", "nothing", "empty", "null"], R = [
|
|
31
|
-
"abs",
|
|
32
|
-
"array",
|
|
33
|
-
"asc",
|
|
34
|
-
"atn",
|
|
35
|
-
"cbool",
|
|
36
|
-
"cbyte",
|
|
37
|
-
"ccur",
|
|
38
|
-
"cdate",
|
|
39
|
-
"cdbl",
|
|
40
|
-
"chr",
|
|
41
|
-
"cint",
|
|
42
|
-
"clng",
|
|
43
|
-
"cos",
|
|
44
|
-
"csng",
|
|
45
|
-
"cstr",
|
|
46
|
-
"date",
|
|
47
|
-
"dateadd",
|
|
48
|
-
"datediff",
|
|
49
|
-
"datepart",
|
|
50
|
-
"dateserial",
|
|
51
|
-
"datevalue",
|
|
52
|
-
"day",
|
|
53
|
-
"escape",
|
|
54
|
-
"eval",
|
|
55
|
-
"execute",
|
|
56
|
-
"exp",
|
|
57
|
-
"filter",
|
|
58
|
-
"formatcurrency",
|
|
59
|
-
"formatdatetime",
|
|
60
|
-
"formatnumber",
|
|
61
|
-
"formatpercent",
|
|
62
|
-
"getlocale",
|
|
63
|
-
"getobject",
|
|
64
|
-
"getref",
|
|
65
|
-
"hex",
|
|
66
|
-
"hour",
|
|
67
|
-
"inputbox",
|
|
68
|
-
"instr",
|
|
69
|
-
"instrrev",
|
|
70
|
-
"int",
|
|
71
|
-
"fix",
|
|
72
|
-
"isarray",
|
|
73
|
-
"isdate",
|
|
74
|
-
"isempty",
|
|
75
|
-
"isnull",
|
|
76
|
-
"isnumeric",
|
|
77
|
-
"isobject",
|
|
78
|
-
"join",
|
|
79
|
-
"lbound",
|
|
80
|
-
"lcase",
|
|
81
|
-
"left",
|
|
82
|
-
"len",
|
|
83
|
-
"loadpicture",
|
|
84
|
-
"log",
|
|
85
|
-
"ltrim",
|
|
86
|
-
"rtrim",
|
|
87
|
-
"trim",
|
|
88
|
-
"maths",
|
|
89
|
-
"mid",
|
|
90
|
-
"minute",
|
|
91
|
-
"month",
|
|
92
|
-
"monthname",
|
|
93
|
-
"msgbox",
|
|
94
|
-
"now",
|
|
95
|
-
"oct",
|
|
96
|
-
"replace",
|
|
97
|
-
"rgb",
|
|
98
|
-
"right",
|
|
99
|
-
"rnd",
|
|
100
|
-
"round",
|
|
101
|
-
"scriptengine",
|
|
102
|
-
"scriptenginebuildversion",
|
|
103
|
-
"scriptenginemajorversion",
|
|
104
|
-
"scriptengineminorversion",
|
|
105
|
-
"second",
|
|
106
|
-
"setlocale",
|
|
107
|
-
"sgn",
|
|
108
|
-
"sin",
|
|
109
|
-
"space",
|
|
110
|
-
"split",
|
|
111
|
-
"sqr",
|
|
112
|
-
"strcomp",
|
|
113
|
-
"string",
|
|
114
|
-
"strreverse",
|
|
115
|
-
"tan",
|
|
116
|
-
"time",
|
|
117
|
-
"timer",
|
|
118
|
-
"timeserial",
|
|
119
|
-
"timevalue",
|
|
120
|
-
"typename",
|
|
121
|
-
"ubound",
|
|
122
|
-
"ucase",
|
|
123
|
-
"unescape",
|
|
124
|
-
"vartype",
|
|
125
|
-
"weekday",
|
|
126
|
-
"weekdayname",
|
|
127
|
-
"year"
|
|
128
|
-
], E = [
|
|
129
|
-
"vbBlack",
|
|
130
|
-
"vbRed",
|
|
131
|
-
"vbGreen",
|
|
132
|
-
"vbYellow",
|
|
133
|
-
"vbBlue",
|
|
134
|
-
"vbMagenta",
|
|
135
|
-
"vbCyan",
|
|
136
|
-
"vbWhite",
|
|
137
|
-
"vbBinaryCompare",
|
|
138
|
-
"vbTextCompare",
|
|
139
|
-
"vbSunday",
|
|
140
|
-
"vbMonday",
|
|
141
|
-
"vbTuesday",
|
|
142
|
-
"vbWednesday",
|
|
143
|
-
"vbThursday",
|
|
144
|
-
"vbFriday",
|
|
145
|
-
"vbSaturday",
|
|
146
|
-
"vbUseSystemDayOfWeek",
|
|
147
|
-
"vbFirstJan1",
|
|
148
|
-
"vbFirstFourDays",
|
|
149
|
-
"vbFirstFullWeek",
|
|
150
|
-
"vbGeneralDate",
|
|
151
|
-
"vbLongDate",
|
|
152
|
-
"vbShortDate",
|
|
153
|
-
"vbLongTime",
|
|
154
|
-
"vbShortTime",
|
|
155
|
-
"vbObjectError",
|
|
156
|
-
"vbOKOnly",
|
|
157
|
-
"vbOKCancel",
|
|
158
|
-
"vbAbortRetryIgnore",
|
|
159
|
-
"vbYesNoCancel",
|
|
160
|
-
"vbYesNo",
|
|
161
|
-
"vbRetryCancel",
|
|
162
|
-
"vbCritical",
|
|
163
|
-
"vbQuestion",
|
|
164
|
-
"vbExclamation",
|
|
165
|
-
"vbInformation",
|
|
166
|
-
"vbDefaultButton1",
|
|
167
|
-
"vbDefaultButton2",
|
|
168
|
-
"vbDefaultButton3",
|
|
169
|
-
"vbDefaultButton4",
|
|
170
|
-
"vbApplicationModal",
|
|
171
|
-
"vbSystemModal",
|
|
172
|
-
"vbOK",
|
|
173
|
-
"vbCancel",
|
|
174
|
-
"vbAbort",
|
|
175
|
-
"vbRetry",
|
|
176
|
-
"vbIgnore",
|
|
177
|
-
"vbYes",
|
|
178
|
-
"vbNo",
|
|
179
|
-
"vbCr",
|
|
180
|
-
"VbCrLf",
|
|
181
|
-
"vbFormFeed",
|
|
182
|
-
"vbLf",
|
|
183
|
-
"vbNewLine",
|
|
184
|
-
"vbNullChar",
|
|
185
|
-
"vbNullString",
|
|
186
|
-
"vbTab",
|
|
187
|
-
"vbVerticalTab",
|
|
188
|
-
"vbUseDefault",
|
|
189
|
-
"vbTrue",
|
|
190
|
-
"vbFalse",
|
|
191
|
-
"vbEmpty",
|
|
192
|
-
"vbNull",
|
|
193
|
-
"vbInteger",
|
|
194
|
-
"vbLong",
|
|
195
|
-
"vbSingle",
|
|
196
|
-
"vbDouble",
|
|
197
|
-
"vbCurrency",
|
|
198
|
-
"vbDate",
|
|
199
|
-
"vbString",
|
|
200
|
-
"vbObject",
|
|
201
|
-
"vbError",
|
|
202
|
-
"vbBoolean",
|
|
203
|
-
"vbVariant",
|
|
204
|
-
"vbDataObject",
|
|
205
|
-
"vbDecimal",
|
|
206
|
-
"vbByte",
|
|
207
|
-
"vbArray"
|
|
208
|
-
], a = ["WScript", "err", "debug", "RegExp"], L = ["description", "firstindex", "global", "helpcontext", "helpfile", "ignorecase", "length", "number", "pattern", "source", "value", "count"], T = ["clear", "execute", "raise", "replace", "test", "write", "writeline", "close", "open", "state", "eof", "update", "addnew", "end", "createobject", "quit"], j = ["server", "response", "request", "session", "application"], F = [
|
|
209
|
-
"buffer",
|
|
210
|
-
"cachecontrol",
|
|
211
|
-
"charset",
|
|
212
|
-
"contenttype",
|
|
213
|
-
"expires",
|
|
214
|
-
"expiresabsolute",
|
|
215
|
-
"isclientconnected",
|
|
216
|
-
"pics",
|
|
217
|
-
"status",
|
|
218
|
-
//response
|
|
219
|
-
"clientcertificate",
|
|
220
|
-
"cookies",
|
|
221
|
-
"form",
|
|
222
|
-
"querystring",
|
|
223
|
-
"servervariables",
|
|
224
|
-
"totalbytes",
|
|
225
|
-
//request
|
|
226
|
-
"contents",
|
|
227
|
-
"staticobjects",
|
|
228
|
-
//application
|
|
229
|
-
"codepage",
|
|
230
|
-
"lcid",
|
|
231
|
-
"sessionid",
|
|
232
|
-
"timeout",
|
|
233
|
-
//session
|
|
234
|
-
"scripttimeout"
|
|
235
|
-
], B = [
|
|
236
|
-
"addheader",
|
|
237
|
-
"appendtolog",
|
|
238
|
-
"binarywrite",
|
|
239
|
-
"end",
|
|
240
|
-
"flush",
|
|
241
|
-
"redirect",
|
|
242
|
-
//response
|
|
243
|
-
"binaryread",
|
|
244
|
-
//request
|
|
245
|
-
"remove",
|
|
246
|
-
"removeall",
|
|
247
|
-
"lock",
|
|
248
|
-
"unlock",
|
|
249
|
-
//application
|
|
250
|
-
"abandon",
|
|
251
|
-
//session
|
|
252
|
-
"getlasterror",
|
|
253
|
-
"htmlencode",
|
|
254
|
-
"mappath",
|
|
255
|
-
"transfer",
|
|
256
|
-
"urlencode"
|
|
257
|
-
], c = T.concat(L);
|
|
258
|
-
a = a.concat(E), h.isASP && (a = a.concat(j), c = c.concat(B, F));
|
|
259
|
-
var W = i(S), z = i(D), A = i(R), K = i(a), N = i(c), M = '"', q = i(x), b = i(C), d = i(I), s = i(["end"]), P = i(["do"]), V = i(["on error resume next", "exit"]), Y = i(["rem"]);
|
|
260
|
-
function f(e, n) {
|
|
261
|
-
n.currentIndent++;
|
|
262
|
-
}
|
|
263
|
-
function u(e, n) {
|
|
264
|
-
n.currentIndent--;
|
|
265
|
-
}
|
|
266
|
-
function l(e, n) {
|
|
267
|
-
if (e.eatSpace())
|
|
268
|
-
return null;
|
|
269
|
-
var r = e.peek();
|
|
270
|
-
if (r === "'" || e.match(Y))
|
|
271
|
-
return e.skipToEnd(), "comment";
|
|
272
|
-
if (e.match(/^((&H)|(&O))?[0-9\.]/i, !1) && !e.match(/^((&H)|(&O))?[0-9\.]+[a-z_]/i, !1)) {
|
|
273
|
-
var t = !1;
|
|
274
|
-
if ((e.match(/^\d*\.\d+/i) || e.match(/^\d+\.\d*/) || e.match(/^\.\d+/)) && (t = !0), t)
|
|
275
|
-
return e.eat(/J/i), "number";
|
|
276
|
-
var o = !1;
|
|
277
|
-
if (e.match(/^&H[0-9a-f]+/i) || e.match(/^&O[0-7]+/i) ? o = !0 : e.match(/^[1-9]\d*F?/) ? (e.eat(/J/i), o = !0) : e.match(/^0(?![\dx])/i) && (o = !0), o)
|
|
278
|
-
return e.eat(/L/i), "number";
|
|
279
|
-
}
|
|
280
|
-
return e.match(M) ? (n.tokenize = _(e.current()), n.tokenize(e, n)) : e.match(g) || e.match(y) || e.match(O) ? "operator" : e.match(m) ? null : e.match(w) ? "bracket" : e.match(V) ? (n.doInCurrentLine = !0, "keyword") : e.match(P) ? (f(e, n), n.doInCurrentLine = !0, "keyword") : e.match(q) ? (n.doInCurrentLine ? n.doInCurrentLine = !1 : f(e, n), "keyword") : e.match(b) ? "keyword" : e.match(s) ? (u(e, n), u(e, n), "keyword") : e.match(d) ? (n.doInCurrentLine ? n.doInCurrentLine = !1 : u(e, n), "keyword") : e.match(W) ? "keyword" : e.match(z) ? "atom" : e.match(N) ? "variableName.special" : e.match(A) || e.match(K) ? "builtin" : e.match(k) ? "variable" : (e.next(), v);
|
|
281
|
-
}
|
|
282
|
-
function _(e) {
|
|
283
|
-
var n = e.length == 1, r = "string";
|
|
284
|
-
return function(t, o) {
|
|
285
|
-
for (; !t.eol(); ) {
|
|
286
|
-
if (t.eatWhile(/[^'"]/), t.match(e))
|
|
287
|
-
return o.tokenize = l, r;
|
|
288
|
-
t.eat(/['"]/);
|
|
289
|
-
}
|
|
290
|
-
return n && (o.tokenize = l), r;
|
|
291
|
-
};
|
|
292
|
-
}
|
|
293
|
-
function H(e, n) {
|
|
294
|
-
var r = n.tokenize(e, n), t = e.current();
|
|
295
|
-
return t === "." ? (r = n.tokenize(e, n), t = e.current(), r && (r.substr(0, 8) === "variable" || r === "builtin" || r === "keyword") ? ((r === "builtin" || r === "keyword") && (r = "variable"), c.indexOf(t.substr(1)) > -1 && (r = "keyword"), r) : v) : r;
|
|
296
|
-
}
|
|
297
|
-
return {
|
|
298
|
-
name: "vbscript",
|
|
299
|
-
startState: function() {
|
|
300
|
-
return {
|
|
301
|
-
tokenize: l,
|
|
302
|
-
lastToken: null,
|
|
303
|
-
currentIndent: 0,
|
|
304
|
-
nextLineIndent: 0,
|
|
305
|
-
doInCurrentLine: !1,
|
|
306
|
-
ignoreKeyword: !1
|
|
307
|
-
};
|
|
308
|
-
},
|
|
309
|
-
token: function(e, n) {
|
|
310
|
-
e.sol() && (n.currentIndent += n.nextLineIndent, n.nextLineIndent = 0, n.doInCurrentLine = 0);
|
|
311
|
-
var r = H(e, n);
|
|
312
|
-
return n.lastToken = { style: r, content: e.current() }, r === null && (r = null), r;
|
|
313
|
-
},
|
|
314
|
-
indent: function(e, n, r) {
|
|
315
|
-
var t = n.replace(/^\s+|\s+$/g, "");
|
|
316
|
-
return t.match(d) || t.match(s) || t.match(b) ? r.unit * (e.currentIndent - 1) : e.currentIndent < 0 ? 0 : e.currentIndent * r.unit;
|
|
317
|
-
}
|
|
318
|
-
};
|
|
319
|
-
}
|
|
320
|
-
const J = p({});
|
|
321
|
-
p({ isASP: !0 });
|
|
322
|
-
export {
|
|
323
|
-
J as vbScript
|
|
324
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function p(y){var v="error";function i(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var h=new RegExp("^[\\+\\-\\*/&\\\\\\^<>=]"),g=new RegExp("^((<>)|(<=)|(>=))"),m=new RegExp("^[\\.,]"),w=new RegExp("^[\\(\\)]"),k=new RegExp("^[A-Za-z][_A-Za-z0-9]*"),x=["class","sub","select","while","if","function","property","with","for"],C=["else","elseif","case"],S=["next","loop","wend"],I=i(["and","or","not","xor","is","mod","eqv","imp"]),O=["dim","redim","then","until","randomize","byval","byref","new","property","exit","in","const","private","public","get","set","let","stop","on error resume next","on error goto 0","option explicit","call","me"],D=["true","false","nothing","empty","null"],R=["abs","array","asc","atn","cbool","cbyte","ccur","cdate","cdbl","chr","cint","clng","cos","csng","cstr","date","dateadd","datediff","datepart","dateserial","datevalue","day","escape","eval","execute","exp","filter","formatcurrency","formatdatetime","formatnumber","formatpercent","getlocale","getobject","getref","hex","hour","inputbox","instr","instrrev","int","fix","isarray","isdate","isempty","isnull","isnumeric","isobject","join","lbound","lcase","left","len","loadpicture","log","ltrim","rtrim","trim","maths","mid","minute","month","monthname","msgbox","now","oct","replace","rgb","right","rnd","round","scriptengine","scriptenginebuildversion","scriptenginemajorversion","scriptengineminorversion","second","setlocale","sgn","sin","space","split","sqr","strcomp","string","strreverse","tan","time","timer","timeserial","timevalue","typename","ubound","ucase","unescape","vartype","weekday","weekdayname","year"],T=["vbBlack","vbRed","vbGreen","vbYellow","vbBlue","vbMagenta","vbCyan","vbWhite","vbBinaryCompare","vbTextCompare","vbSunday","vbMonday","vbTuesday","vbWednesday","vbThursday","vbFriday","vbSaturday","vbUseSystemDayOfWeek","vbFirstJan1","vbFirstFourDays","vbFirstFullWeek","vbGeneralDate","vbLongDate","vbShortDate","vbLongTime","vbShortTime","vbObjectError","vbOKOnly","vbOKCancel","vbAbortRetryIgnore","vbYesNoCancel","vbYesNo","vbRetryCancel","vbCritical","vbQuestion","vbExclamation","vbInformation","vbDefaultButton1","vbDefaultButton2","vbDefaultButton3","vbDefaultButton4","vbApplicationModal","vbSystemModal","vbOK","vbCancel","vbAbort","vbRetry","vbIgnore","vbYes","vbNo","vbCr","VbCrLf","vbFormFeed","vbLf","vbNewLine","vbNullChar","vbNullString","vbTab","vbVerticalTab","vbUseDefault","vbTrue","vbFalse","vbEmpty","vbNull","vbInteger","vbLong","vbSingle","vbDouble","vbCurrency","vbDate","vbString","vbObject","vbError","vbBoolean","vbVariant","vbDataObject","vbDecimal","vbByte","vbArray"],a=["WScript","err","debug","RegExp"],j=["description","firstindex","global","helpcontext","helpfile","ignorecase","length","number","pattern","source","value","count"],E=["clear","execute","raise","replace","test","write","writeline","close","open","state","eof","update","addnew","end","createobject","quit"],L=["server","response","request","session","application"],F=["buffer","cachecontrol","charset","contenttype","expires","expiresabsolute","isclientconnected","pics","status","clientcertificate","cookies","form","querystring","servervariables","totalbytes","contents","staticobjects","codepage","lcid","sessionid","timeout","scripttimeout"],B=["addheader","appendtolog","binarywrite","end","flush","redirect","binaryread","remove","removeall","lock","unlock","abandon","getlasterror","htmlencode","mappath","transfer","urlencode"],c=E.concat(j);a=a.concat(T),y.isASP&&(a=a.concat(L),c=c.concat(B,F));var W=i(O),z=i(D),A=i(R),K=i(a),N=i(c),M='"',P=i(x),b=i(C),d=i(S),s=i(["end"]),q=i(["do"]),V=i(["on error resume next","exit"]),Y=i(["rem"]);function f(e,n){n.currentIndent++}function u(e,n){n.currentIndent--}function l(e,n){if(e.eatSpace())return null;var r=e.peek();if(r==="'"||e.match(Y))return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.]/i,!1)&&!e.match(/^((&H)|(&O))?[0-9\.]+[a-z_]/i,!1)){var t=!1;if((e.match(/^\d*\.\d+/i)||e.match(/^\d+\.\d*/)||e.match(/^\.\d+/))&&(t=!0),t)return e.eat(/J/i),"number";var o=!1;if(e.match(/^&H[0-9a-f]+/i)||e.match(/^&O[0-7]+/i)?o=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),o=!0):e.match(/^0(?![\dx])/i)&&(o=!0),o)return e.eat(/L/i),"number"}return e.match(M)?(n.tokenize=_(e.current()),n.tokenize(e,n)):e.match(g)||e.match(h)||e.match(I)?"operator":e.match(m)?null:e.match(w)?"bracket":e.match(V)?(n.doInCurrentLine=!0,"keyword"):e.match(q)?(f(e,n),n.doInCurrentLine=!0,"keyword"):e.match(P)?(n.doInCurrentLine?n.doInCurrentLine=!1:f(e,n),"keyword"):e.match(b)?"keyword":e.match(s)?(u(e,n),u(e,n),"keyword"):e.match(d)?(n.doInCurrentLine?n.doInCurrentLine=!1:u(e,n),"keyword"):e.match(W)?"keyword":e.match(z)?"atom":e.match(N)?"variableName.special":e.match(A)||e.match(K)?"builtin":e.match(k)?"variable":(e.next(),v)}function _(e){var n=e.length==1,r="string";return function(t,o){for(;!t.eol();){if(t.eatWhile(/[^'"]/),t.match(e))return o.tokenize=l,r;t.eat(/['"]/)}return n&&(o.tokenize=l),r}}function H(e,n){var r=n.tokenize(e,n),t=e.current();return t==="."?(r=n.tokenize(e,n),t=e.current(),r&&(r.substr(0,8)==="variable"||r==="builtin"||r==="keyword")?((r==="builtin"||r==="keyword")&&(r="variable"),c.indexOf(t.substr(1))>-1&&(r="keyword"),r):v):r}return{name:"vbscript",startState:function(){return{tokenize:l,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1,ignoreKeyword:!1}},token:function(e,n){e.sol()&&(n.currentIndent+=n.nextLineIndent,n.nextLineIndent=0,n.doInCurrentLine=0);var r=H(e,n);return n.lastToken={style:r,content:e.current()},r===null&&(r=null),r},indent:function(e,n,r){var t=n.replace(/^\s+|\s+$/g,"");return t.match(d)||t.match(s)||t.match(b)?r.unit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*r.unit}}}const J=p({});p({isASP:!0});exports.vbScript=J;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function u(n){for(var e={},i=n.split(" "),r=0;r<i.length;++r)e[i[r]]=!0;return e}var s=u("#end #else #break #stop #[[ #]] #{end} #{else} #{break} #{stop}"),a=u("#if #elseif #foreach #set #include #parse #macro #define #evaluate #{if} #{elseif} #{foreach} #{set} #{include} #{parse} #{macro} #{define} #{evaluate}"),c=u("$foreach.count $foreach.hasNext $foreach.first $foreach.last $foreach.topmost $foreach.parent.count $foreach.parent.hasNext $foreach.parent.first $foreach.parent.last $foreach.parent $velocityCount $!bodyContent $bodyContent"),k=/[+\-*&%=<>!?:\/|]/;function o(n,e,i){return e.tokenize=i,i(n,e)}function t(n,e){var i=e.beforeParams;e.beforeParams=!1;var r=n.next();if(r=="'"&&!e.inString&&e.inParams)return e.lastTokenWasBuiltin=!1,o(n,e,p(r));if(r=='"'){if(e.lastTokenWasBuiltin=!1,e.inString)return e.inString=!1,"string";if(e.inParams)return o(n,e,p(r))}else{if(/[\[\]{}\(\),;\.]/.test(r))return r=="("&&i?e.inParams=!0:r==")"&&(e.inParams=!1,e.lastTokenWasBuiltin=!0),null;if(/\d/.test(r))return e.lastTokenWasBuiltin=!1,n.eatWhile(/[\w\.]/),"number";if(r=="#"&&n.eat("*"))return e.lastTokenWasBuiltin=!1,o(n,e,h);if(r=="#"&&n.match(/ *\[ *\[/))return e.lastTokenWasBuiltin=!1,o(n,e,b);if(r=="#"&&n.eat("#"))return e.lastTokenWasBuiltin=!1,n.skipToEnd(),"comment";if(r=="$")return n.eat("!"),n.eatWhile(/[\w\d\$_\.{}-]/),c&&c.propertyIsEnumerable(n.current())?"keyword":(e.lastTokenWasBuiltin=!0,e.beforeParams=!0,"builtin");if(k.test(r))return e.lastTokenWasBuiltin=!1,n.eatWhile(k),"operator";n.eatWhile(/[\w\$_{}@]/);var l=n.current();return s&&s.propertyIsEnumerable(l)?"keyword":a&&a.propertyIsEnumerable(l)||n.current().match(/^#@?[a-z0-9_]+ *$/i)&&n.peek()=="("&&!(a&&a.propertyIsEnumerable(l.toLowerCase()))?(e.beforeParams=!0,e.lastTokenWasBuiltin=!1,"keyword"):e.inString?(e.lastTokenWasBuiltin=!1,"string"):n.pos>l.length&&n.string.charAt(n.pos-l.length-1)=="."&&e.lastTokenWasBuiltin?"builtin":(e.lastTokenWasBuiltin=!1,null)}}function p(n){return function(e,i){for(var r=!1,l,f=!1;(l=e.next())!=null;){if(l==n&&!r){f=!0;break}if(n=='"'&&e.peek()=="$"&&!r){i.inString=!0,f=!0;break}r=!r&&l=="\\"}return f&&(i.tokenize=t),"string"}}function h(n,e){for(var i=!1,r;r=n.next();){if(r=="#"&&i){e.tokenize=t;break}i=r=="*"}return"comment"}function b(n,e){for(var i=0,r;r=n.next();){if(r=="#"&&i==2){e.tokenize=t;break}r=="]"?i++:r!=" "&&(i=0)}return"meta"}const d={name:"velocity",startState:function(){return{tokenize:t,beforeParams:!1,inParams:!1,inString:!1,lastTokenWasBuiltin:!1}},token:function(n,e){return n.eatSpace()?null:e.tokenize(n,e)},languageData:{commentTokens:{line:"##",block:{open:"#*",close:"*#"}}}};exports.velocity=d;
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
function u(n) {
|
|
2
|
-
for (var e = {}, i = n.split(" "), r = 0; r < i.length; ++r) e[i[r]] = !0;
|
|
3
|
-
return e;
|
|
4
|
-
}
|
|
5
|
-
var s = u("#end #else #break #stop #[[ #]] #{end} #{else} #{break} #{stop}"), a = u("#if #elseif #foreach #set #include #parse #macro #define #evaluate #{if} #{elseif} #{foreach} #{set} #{include} #{parse} #{macro} #{define} #{evaluate}"), c = u("$foreach.count $foreach.hasNext $foreach.first $foreach.last $foreach.topmost $foreach.parent.count $foreach.parent.hasNext $foreach.parent.first $foreach.parent.last $foreach.parent $velocityCount $!bodyContent $bodyContent"), k = /[+\-*&%=<>!?:\/|]/;
|
|
6
|
-
function o(n, e, i) {
|
|
7
|
-
return e.tokenize = i, i(n, e);
|
|
8
|
-
}
|
|
9
|
-
function t(n, e) {
|
|
10
|
-
var i = e.beforeParams;
|
|
11
|
-
e.beforeParams = !1;
|
|
12
|
-
var r = n.next();
|
|
13
|
-
if (r == "'" && !e.inString && e.inParams)
|
|
14
|
-
return e.lastTokenWasBuiltin = !1, o(n, e, p(r));
|
|
15
|
-
if (r == '"') {
|
|
16
|
-
if (e.lastTokenWasBuiltin = !1, e.inString)
|
|
17
|
-
return e.inString = !1, "string";
|
|
18
|
-
if (e.inParams)
|
|
19
|
-
return o(n, e, p(r));
|
|
20
|
-
} else {
|
|
21
|
-
if (/[\[\]{}\(\),;\.]/.test(r))
|
|
22
|
-
return r == "(" && i ? e.inParams = !0 : r == ")" && (e.inParams = !1, e.lastTokenWasBuiltin = !0), null;
|
|
23
|
-
if (/\d/.test(r))
|
|
24
|
-
return e.lastTokenWasBuiltin = !1, n.eatWhile(/[\w\.]/), "number";
|
|
25
|
-
if (r == "#" && n.eat("*"))
|
|
26
|
-
return e.lastTokenWasBuiltin = !1, o(n, e, h);
|
|
27
|
-
if (r == "#" && n.match(/ *\[ *\[/))
|
|
28
|
-
return e.lastTokenWasBuiltin = !1, o(n, e, b);
|
|
29
|
-
if (r == "#" && n.eat("#"))
|
|
30
|
-
return e.lastTokenWasBuiltin = !1, n.skipToEnd(), "comment";
|
|
31
|
-
if (r == "$")
|
|
32
|
-
return n.eat("!"), n.eatWhile(/[\w\d\$_\.{}-]/), c && c.propertyIsEnumerable(n.current()) ? "keyword" : (e.lastTokenWasBuiltin = !0, e.beforeParams = !0, "builtin");
|
|
33
|
-
if (k.test(r))
|
|
34
|
-
return e.lastTokenWasBuiltin = !1, n.eatWhile(k), "operator";
|
|
35
|
-
n.eatWhile(/[\w\$_{}@]/);
|
|
36
|
-
var l = n.current();
|
|
37
|
-
return s && s.propertyIsEnumerable(l) ? "keyword" : a && a.propertyIsEnumerable(l) || n.current().match(/^#@?[a-z0-9_]+ *$/i) && n.peek() == "(" && !(a && a.propertyIsEnumerable(l.toLowerCase())) ? (e.beforeParams = !0, e.lastTokenWasBuiltin = !1, "keyword") : e.inString ? (e.lastTokenWasBuiltin = !1, "string") : n.pos > l.length && n.string.charAt(n.pos - l.length - 1) == "." && e.lastTokenWasBuiltin ? "builtin" : (e.lastTokenWasBuiltin = !1, null);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
function p(n) {
|
|
41
|
-
return function(e, i) {
|
|
42
|
-
for (var r = !1, l, f = !1; (l = e.next()) != null; ) {
|
|
43
|
-
if (l == n && !r) {
|
|
44
|
-
f = !0;
|
|
45
|
-
break;
|
|
46
|
-
}
|
|
47
|
-
if (n == '"' && e.peek() == "$" && !r) {
|
|
48
|
-
i.inString = !0, f = !0;
|
|
49
|
-
break;
|
|
50
|
-
}
|
|
51
|
-
r = !r && l == "\\";
|
|
52
|
-
}
|
|
53
|
-
return f && (i.tokenize = t), "string";
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
function h(n, e) {
|
|
57
|
-
for (var i = !1, r; r = n.next(); ) {
|
|
58
|
-
if (r == "#" && i) {
|
|
59
|
-
e.tokenize = t;
|
|
60
|
-
break;
|
|
61
|
-
}
|
|
62
|
-
i = r == "*";
|
|
63
|
-
}
|
|
64
|
-
return "comment";
|
|
65
|
-
}
|
|
66
|
-
function b(n, e) {
|
|
67
|
-
for (var i = 0, r; r = n.next(); ) {
|
|
68
|
-
if (r == "#" && i == 2) {
|
|
69
|
-
e.tokenize = t;
|
|
70
|
-
break;
|
|
71
|
-
}
|
|
72
|
-
r == "]" ? i++ : r != " " && (i = 0);
|
|
73
|
-
}
|
|
74
|
-
return "meta";
|
|
75
|
-
}
|
|
76
|
-
const W = {
|
|
77
|
-
name: "velocity",
|
|
78
|
-
startState: function() {
|
|
79
|
-
return {
|
|
80
|
-
tokenize: t,
|
|
81
|
-
beforeParams: !1,
|
|
82
|
-
inParams: !1,
|
|
83
|
-
inString: !1,
|
|
84
|
-
lastTokenWasBuiltin: !1
|
|
85
|
-
};
|
|
86
|
-
},
|
|
87
|
-
token: function(n, e) {
|
|
88
|
-
return n.eatSpace() ? null : e.tokenize(n, e);
|
|
89
|
-
},
|
|
90
|
-
languageData: {
|
|
91
|
-
commentTokens: { line: "##", block: { open: "#*", close: "*#" } }
|
|
92
|
-
}
|
|
93
|
-
};
|
|
94
|
-
export {
|
|
95
|
-
W as velocity
|
|
96
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function O(i){var o=i.statementIndentUnit,u=i.dontAlignCalls,c=i.noIndentKeywords||[],s=i.multiLineStrings,a=i.hooks||{};function g(e){for(var n={},t=e.split(" "),r=0;r<t.length;++r)n[t[r]]=!0;return n}var h=g("accept_on alias always always_comb always_ff always_latch and assert assign assume automatic before begin bind bins binsof bit break buf bufif0 bufif1 byte case casex casez cell chandle checker class clocking cmos config const constraint context continue cover covergroup coverpoint cross deassign default defparam design disable dist do edge else end endcase endchecker endclass endclocking endconfig endfunction endgenerate endgroup endinterface endmodule endpackage endprimitive endprogram endproperty endspecify endsequence endtable endtask enum event eventually expect export extends extern final first_match for force foreach forever fork forkjoin function generate genvar global highz0 highz1 if iff ifnone ignore_bins illegal_bins implements implies import incdir include initial inout input inside instance int integer interconnect interface intersect join join_any join_none large let liblist library local localparam logic longint macromodule matches medium modport module nand negedge nettype new nexttime nmos nor noshowcancelled not notif0 notif1 null or output package packed parameter pmos posedge primitive priority program property protected pull0 pull1 pulldown pullup pulsestyle_ondetect pulsestyle_onevent pure rand randc randcase randsequence rcmos real realtime ref reg reject_on release repeat restrict return rnmos rpmos rtran rtranif0 rtranif1 s_always s_eventually s_nexttime s_until s_until_with scalared sequence shortint shortreal showcancelled signed small soft solve specify specparam static string strong strong0 strong1 struct super supply0 supply1 sync_accept_on sync_reject_on table tagged task this throughout time timeprecision timeunit tran tranif0 tranif1 tri tri0 tri1 triand trior trireg type typedef union unique unique0 unsigned until until_with untyped use uwire var vectored virtual void wait wait_order wand weak weak0 weak1 while wildcard wire with within wor xnor xor"),w=/[\+\-\*\/!~&|^%=?:]/,y=/[\[\]{}()]/,b=/\d[0-9_]*/,I=/\d*\s*'s?d\s*\d[0-9_]*/i,A=/\d*\s*'s?b\s*[xz01][xz01_]*/i,T=/\d*\s*'s?o\s*[xz0-7][xz0-7_]*/i,M=/\d*\s*'s?h\s*[0-9a-fxz?][0-9a-fxz?_]*/i,j=/(\d[\d_]*(\.\d[\d_]*)?E-?[\d_]+)|(\d[\d_]*\.\d[\d_]*)/i,W=/^((\w+)|[)}\]])/,U=/[)}\]]/,d,v,K=g("case checker class clocking config function generate interface module package primitive program property specify sequence table task"),f={};for(var m in K)f[m]="end"+m;f.begin="end",f.casex="endcase",f.casez="endcase",f.do="while",f.fork="join;join_any;join_none",f.covergroup="endgroup";for(var V in c){var m=c[V];f[m]&&(f[m]=void 0)}var P=g("always always_comb always_ff always_latch assert assign assume else export for foreach forever if import initial repeat while");function _(e,n){var t=e.peek(),r;if(a[t]&&(r=a[t](e,n))!=!1||a.tokenBase&&(r=a.tokenBase(e,n))!=!1)return r;if(/[,;:\.]/.test(t))return d=e.next(),null;if(y.test(t))return d=e.next(),"bracket";if(t=="`")return e.next(),e.eatWhile(/[\w\$_]/)?"def":null;if(t=="$")return e.next(),e.eatWhile(/[\w\$_]/)?"meta":null;if(t=="#")return e.next(),e.eatWhile(/[\d_.]/),"def";if(t=='"')return e.next(),n.tokenize=R(t),n.tokenize(e,n);if(t=="/"){if(e.next(),e.eat("*"))return n.tokenize=B,B(e,n);if(e.eat("/"))return e.skipToEnd(),"comment";e.backUp(1)}if(e.match(j)||e.match(I)||e.match(A)||e.match(T)||e.match(M)||e.match(b)||e.match(j))return"number";if(e.eatWhile(w))return"meta";if(e.eatWhile(/[\w\$_]/)){var l=e.current();return h[l]?(f[l]&&(d="newblock"),P[l]&&(d="newstatement"),v=l,"keyword"):"variable"}return e.next(),null}function R(e){return function(n,t){for(var r=!1,l,k=!1;(l=n.next())!=null;){if(l==e&&!r){k=!0;break}r=!r&&l=="\\"}return(k||!(r||s))&&(t.tokenize=_),"string"}}function B(e,n){for(var t=!1,r;r=e.next();){if(r=="/"&&t){n.tokenize=_;break}t=r=="*"}return"comment"}function L(e,n,t,r,l){this.indented=e,this.column=n,this.type=t,this.align=r,this.prev=l}function p(e,n,t){var r=e.indented,l=new L(r,n,t,null,e.context);return e.context=l}function C(e){var n=e.context.type;return(n==")"||n=="]"||n=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}function N(e,n){if(e==n)return!0;var t=n.split(";");for(var r in t)if(e==t[r])return!0;return!1}function D(){var e=[];for(var n in f)if(f[n]){var t=f[n].split(";");for(var r in t)e.push(t[r])}var l=new RegExp("[{}()\\[\\]]|("+e.join("|")+")$");return l}return{name:"verilog",startState:function(e){var n={tokenize:null,context:new L(-e,0,"top",!1),indented:0,startOfLine:!0};return a.startState&&a.startState(n),n},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),a.token){var r=a.token(e,n);if(r!==void 0)return r}if(e.eatSpace())return null;d=null,v=null;var r=(n.tokenize||_)(e,n);if(r=="comment"||r=="meta"||r=="variable")return r;if(t.align==null&&(t.align=!0),d==t.type)C(n);else if(d==";"&&t.type=="statement"||t.type&&N(v,t.type))for(t=C(n);t&&t.type=="statement";)t=C(n);else if(d=="{")p(n,e.column(),"}");else if(d=="[")p(n,e.column(),"]");else if(d=="(")p(n,e.column(),")");else if(t&&t.type=="endcase"&&d==":")p(n,e.column(),"statement");else if(d=="newstatement")p(n,e.column(),"statement");else if(d=="newblock"&&!(v=="function"&&t&&(t.type=="statement"||t.type=="endgroup"))){if(!(v=="task"&&t&&t.type=="statement")){var l=f[v];p(n,e.column(),l)}}return n.startOfLine=!1,r},indent:function(e,n,t){if(e.tokenize!=_&&e.tokenize!=null)return null;if(a.indent){var r=a.indent(e);if(r>=0)return r}var l=e.context,k=n&&n.charAt(0);l.type=="statement"&&k=="}"&&(l=l.prev);var x=!1,$=n.match(W);return $&&(x=N($[0],l.type)),l.type=="statement"?l.indented+(k=="{"?0:o||t.unit):U.test(l.type)&&l.align&&!u?l.column+(x?0:1):l.type==")"&&!x?l.indented+(o||t.unit):l.indented+(x?0:t.unit)},languageData:{indentOnInput:D(),commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}}}const F=O({});var z={"|":"link",">":"property",$:"variable",$$:"variable","?$":"qualifier","?*":"qualifier","-":"contentSeparator","/":"property","/-":"property","@":"variableName.special","@-":"variableName.special","@++":"variableName.special","@+=":"variableName.special","@+=-":"variableName.special","@--":"variableName.special","@-=":"variableName.special","%+":"tag","%-":"tag","%":"tag",">>":"tag","<<":"tag","<>":"tag","#":"tag","^":"attribute","^^":"attribute","^!":"attribute","*":"variable","**":"variable","\\":"keyword",'"':"comment"},E={"/":"beh-hier",">":"beh-hier","-":"phys-hier","|":"pipe","?":"when","@":"stage","\\":"keyword"},S=3,q=/^([~!@#\$%\^&\*-\+=\?\/\\\|'"<>]+)([\d\w_]*)/,G=/^[! ] */,J=/^\/[\/\*]/;O({hooks:{electricInput:!1,token:function(i,o){var u=void 0,c;if(i.sol()&&!o.tlvInBlockComment){i.peek()=="\\"&&(u="def",i.skipToEnd(),i.string.match(/\\SV/)?o.tlvCodeActive=!1:i.string.match(/\\TLV/)&&(o.tlvCodeActive=!0)),o.tlvCodeActive&&i.pos==0&&o.indented==0&&(c=i.match(G,!1))&&(o.indented=c[0].length);var s=o.indented,a=s/S;if(a<=o.tlvIndentationStyle.length){var g=i.string.length==s,h=a*S;if(h<i.string.length){var w=i.string.slice(h),y=w[0];E[y]&&(c=w.match(q))&&z[c[1]]&&(s+=S,y=="\\"&&h>0||(o.tlvIndentationStyle[a]=E[y],a++))}if(!g)for(;o.tlvIndentationStyle.length>a;)o.tlvIndentationStyle.pop()}o.tlvNextIndent=s}if(o.tlvCodeActive){var c;if(u===void 0)if(o.tlvInBlockComment)i.match(/^.*?\*\//)?o.tlvInBlockComment=!1:i.skipToEnd(),u="comment";else if((c=i.match(J))&&!o.tlvInBlockComment)c[0]=="//"?i.skipToEnd():o.tlvInBlockComment=!0,u="comment";else if(c=i.match(q)){var b=c[1],I=c[2];z.hasOwnProperty(b)&&(I.length>0||i.eol())?u=z[b]:i.backUp(i.current().length-1)}else i.match(/^\t+/)?u="invalid":i.match(/^[\[\]{}\(\);\:]+/)?u="meta":(c=i.match(/^[mM]4([\+_])?[\w\d_]*/))?u=c[1]=="+"?"keyword.special":"keyword":i.match(/^ +/)?i.eol()&&(u="error"):i.match(/^[\w\d_]+/)?u="number":i.next()}else i.match(/^[mM]4([\w\d_]*)/)&&(u="keyword");return u},indent:function(i){return i.tlvCodeActive==!0?i.tlvNextIndent:-1},startState:function(i){i.tlvIndentationStyle=[],i.tlvCodeActive=!0,i.tlvNextIndent=-1,i.tlvInBlockComment=!1}}});exports.verilog=F;
|