@tempots/beatui 0.17.0 → 0.19.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/README.md +15 -34
- package/dist/2019-CfIF9XVA.cjs +1 -0
- package/dist/2019-D0n7sHsB.js +164 -0
- package/dist/2020-BkXWq9F8.js +192 -0
- package/dist/2020-D1ziwonq.cjs +1 -0
- package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
- package/dist/_commonjsHelpers-DwGv2jUC.cjs +1 -0
- package/dist/apl-B2DGVGxc.js +76 -0
- package/dist/apl-M-DNMvvR.cjs +1 -0
- package/dist/ar-BsUm-TCn.cjs +1 -0
- package/dist/{ar-D5jeVM2s.js → ar-CMndb3tf.js} +24 -18
- package/dist/ar-DYmDITuw.cjs +1 -0
- package/dist/asciiarmor-2LVJmxlE.js +34 -0
- package/dist/asciiarmor-BMx3XVjX.cjs +1 -0
- package/dist/asn1-OOsVM4yU.cjs +1 -0
- package/dist/asn1-jKiBa2Ya.js +95 -0
- package/dist/asterisk-B1QUaW1C.cjs +1 -0
- package/dist/asterisk-DS281yxp.js +271 -0
- package/dist/auth/index.cjs.js +1 -0
- package/dist/auth/index.es.js +1331 -0
- package/dist/beatui.css +1 -1
- package/dist/brainfuck-BjUlYKdF.cjs +1 -0
- package/dist/brainfuck-C_p9pTT8.js +34 -0
- package/dist/clike-BEMIzMUI.cjs +1 -0
- package/dist/clike-DGTaUp48.js +620 -0
- package/dist/clojure-Ap_IXD2I.cjs +1 -0
- package/dist/clojure-CCKyeQKf.js +800 -0
- package/dist/cmake-C4D5_VmS.cjs +1 -0
- package/dist/cmake-CuaCgAKt.js +28 -0
- package/dist/cobol-BlTKFDRj.js +72 -0
- package/dist/cobol-Du-cT2hr.cjs +1 -0
- package/dist/coffeescript-BVCvwO8I.js +179 -0
- package/dist/coffeescript-DDFAj2ea.cjs +1 -0
- package/dist/commonlisp-CXBBRCTx.cjs +1 -0
- package/dist/commonlisp-D_kxz07b.js +75 -0
- package/dist/crystal-D309uH6_.js +217 -0
- package/dist/crystal-DAFWRDbh.cjs +1 -0
- package/dist/css-BkF-NPzE.js +1553 -0
- package/dist/css-DzFJyRJ8.cjs +1 -0
- package/dist/cypher-BMq4Fwjl.js +68 -0
- package/dist/cypher-BN0-oCze.cjs +1 -0
- package/dist/d-BHsqGcfm.cjs +1 -0
- package/dist/d-BZcgY6La.js +127 -0
- package/dist/de-BUFLEyKr.cjs +1 -0
- package/dist/{de-QCsvvABM.js → de-Cgy7XJBg.js} +25 -19
- package/dist/de-ClQgQrXM.cjs +1 -0
- package/dist/diff-CemTHKfk.cjs +1 -0
- package/dist/diff-Cg9d_RX2.js +18 -0
- package/dist/dockerfile-BBTH3voH.cjs +1 -0
- package/dist/dockerfile-DIy8NleC.js +194 -0
- package/dist/dtd-ChoVQPwv.cjs +1 -0
- package/dist/dtd-CtLokQ-U.js +84 -0
- package/dist/dylan-QYeExnWK.js +234 -0
- package/dist/dylan-apTQIgUA.cjs +1 -0
- package/dist/ebnf-DUPDuY4r.js +78 -0
- package/dist/ebnf-LYmLy17h.cjs +1 -0
- package/dist/ecl-C7WNQq7-.cjs +1 -0
- package/dist/ecl-CiXN-g_D.js +121 -0
- package/dist/eiffel-BJThA8RG.cjs +1 -0
- package/dist/eiffel-yQhjl4T1.js +110 -0
- package/dist/elm-CNT9vbN0.js +108 -0
- package/dist/elm-CcXP9T36.cjs +1 -0
- package/dist/erlang-B6mpcObI.cjs +1 -0
- package/dist/erlang-CFOYdy9e.js +487 -0
- package/dist/es-BN5Mihv0.cjs +1 -0
- package/dist/es-BxBeTRCv.cjs +1 -0
- package/dist/{es-QPLFaGbp.js → es-j0qszDAW.js} +23 -17
- package/dist/fa-BUQvM0nj.cjs +1 -0
- package/dist/{fa-DQmCKW-7.js → fa-COUp2ofv.js} +24 -16
- package/dist/fa-DxPseW3g.cjs +1 -0
- package/dist/factor-B-tsx9yW.cjs +1 -0
- package/dist/factor-DDOC7X6P.js +65 -0
- package/dist/fcl-BzAKklXo.cjs +1 -0
- package/dist/fcl-CPC2WYrI.js +103 -0
- package/dist/forth-BmxRyE9S.js +60 -0
- package/dist/forth-CPAzyZ_n.cjs +1 -0
- package/dist/fortran-9bvPyrOW.js +442 -0
- package/dist/fortran-DHiTlGV1.cjs +1 -0
- package/dist/{fr-MvvOUdq6.js → fr-B5Ar6QcE.js} +26 -20
- package/dist/fr-Cdyopuz3.cjs +1 -0
- package/dist/fr-CwvsJDIZ.cjs +1 -0
- package/dist/gas-BiPtGF2E.cjs +1 -0
- package/dist/gas-cpmYfFX2.js +183 -0
- package/dist/gherkin-CJuwpceU.js +34 -0
- package/dist/gherkin-Djo7Y51D.cjs +1 -0
- package/dist/groovy-BMVITiCm.cjs +1 -0
- package/dist/groovy-DZeT_VM-.js +146 -0
- package/dist/haskell-Bvt3Qq1t.js +375 -0
- package/dist/haskell-CngODaW-.cjs +1 -0
- package/dist/haxe-70NVW1pR.js +359 -0
- package/dist/haxe-Dyk-piTh.cjs +1 -0
- package/dist/{he-BgUKFv6v.js → he-D5HTHvKh.js} +24 -18
- package/dist/he-DarDNPn0.cjs +1 -0
- package/dist/he-HZvvmFUB.cjs +1 -0
- package/dist/{hi-BJXdbCIZ.js → hi-Bcc7iEXp.js} +24 -18
- package/dist/hi-Cnr1RtgA.cjs +1 -0
- package/dist/hi-tATwsXJ6.cjs +1 -0
- package/dist/http-BkLifcnL.cjs +1 -0
- package/dist/http-D9LttvKF.js +44 -0
- package/dist/idl-B6TRFYjl.js +947 -0
- package/dist/idl-FmHDmsE-.cjs +1 -0
- package/dist/index-2DKUYRWr.js +226 -0
- package/dist/index-85k3bgcY.cjs +1 -0
- package/dist/index-B-d5blto.js +302 -0
- package/dist/index-B16dbwxM.cjs +1 -0
- package/dist/index-B2079wM-.js +921 -0
- package/dist/index-B66rNs5i.cjs +2 -0
- package/dist/index-BF4pXHo-.js +270 -0
- package/dist/index-BJfVmi_X.js +612 -0
- package/dist/index-BUKtbimR.cjs +6 -0
- package/dist/index-BYk56bqR.cjs +13 -0
- package/dist/index-BZHMnjr6.cjs +1 -0
- package/dist/index-Bg1QLlyj.js +552 -0
- package/dist/index-BguvTLHu.cjs +1 -0
- package/dist/index-BirEb-BA.js +8285 -0
- package/dist/index-By8a3eg5.cjs +1 -0
- package/dist/index-C4UzgyIA.cjs +1 -0
- package/dist/index-C9XAXTDx.cjs +1 -0
- package/dist/index-CFo2nnaI.js +342 -0
- package/dist/index-CHgx0rFt.js +76 -0
- package/dist/index-CIfx_bs7.cjs +7 -0
- package/dist/index-CKRuo2DB.js +960 -0
- package/dist/index-CRfUh74G.cjs +1 -0
- package/dist/index-CUs1c8a9.js +309 -0
- package/dist/index-CoBM7UvE.js +157 -0
- package/dist/index-Cohec4rB.cjs +1 -0
- package/dist/index-D-Rzl363.cjs +1 -0
- package/dist/index-D0-d-xdJ.js +953 -0
- package/dist/index-DC4nzG_w.js +554 -0
- package/dist/index-DD-MOsCa.js +59 -0
- package/dist/index-DD8_efWr.cjs +1 -0
- package/dist/index-DJ-avKHU.js +138 -0
- package/dist/index-DSvEBuy-.cjs +3 -0
- package/dist/index-DV7tB1MN.cjs +1 -0
- package/dist/index-DXFKCiah.cjs +8 -0
- package/dist/index-DYIv5X6N.js +289 -0
- package/dist/index-Dben4dbo.js +1874 -0
- package/dist/index-DgUJYXoy.cjs +1 -0
- package/dist/index-DjNMMz5-.cjs +1 -0
- package/dist/index-DxG_avr8.cjs +1 -0
- package/dist/index-FEy4Hwnx.cjs +1 -0
- package/dist/index-_OaxQJX1.js +74 -0
- package/dist/index-dV4F3c70.js +136 -0
- package/dist/index-dsitEt8M.cjs +1 -0
- package/dist/index-faGepKVA.js +94 -0
- package/dist/index-kk6qFeC5.cjs +1 -0
- package/dist/index-rWglN8IQ.js +1307 -0
- package/dist/index-tuwLQMCb.js +251 -0
- package/dist/index-ykojBEwT.js +101 -0
- package/dist/index.cjs.js +143 -0
- package/dist/index.es.js +4456 -7705
- package/dist/index.esm-8xolKogd.cjs +1 -0
- package/dist/index.esm-CSotgpVw.js +4959 -0
- package/dist/it-B7KeOLBm.cjs +1 -0
- package/dist/it-BmFag7j0.cjs +1 -0
- package/dist/{it-Bu7Sjs-g.js → it-CTCKFU5g.js} +24 -18
- package/dist/ja-0ldomgID.cjs +1 -0
- package/dist/{ja-DrXpNYfH.js → ja-BGoETTZv.js} +23 -15
- package/dist/ja-Dj-bAKLf.cjs +1 -0
- package/dist/javascript-C2yteZeJ.js +691 -0
- package/dist/javascript-DngSGg_0.cjs +1 -0
- package/dist/jinja2-DnB6dQmV.js +154 -0
- package/dist/jinja2-wbVbDTNi.cjs +1 -0
- package/dist/json-schema/index.cjs.js +1 -0
- package/dist/json-schema/index.es.js +37 -0
- package/dist/julia-DA67Qw9E.cjs +1 -0
- package/dist/julia-DpvXAuO6.js +241 -0
- package/dist/ko-BomUE-yQ.cjs +1 -0
- package/dist/ko-C4WEkArz.cjs +1 -0
- package/dist/{ko-BmkxLoBO.js → ko-xHeRs9LU.js} +22 -14
- package/dist/link-portal-Cr2l9f3k.js +9 -0
- package/dist/link-portal-_tiDFZqh.cjs +1 -0
- package/dist/livescript-Bg3URadp.cjs +1 -0
- package/dist/livescript-CanGTf8u.js +272 -0
- package/dist/lua-CIsxjGwi.cjs +1 -0
- package/dist/lua-XplVlWi_.js +217 -0
- package/dist/markdown/index.cjs.js +2 -0
- package/dist/markdown/index.es.js +422 -0
- package/dist/markdown.css +39 -0
- package/dist/mathematica-BG089QIc.cjs +1 -0
- package/dist/mathematica-jaRHnSxC.js +35 -0
- package/dist/mbox-BctzC1hL.js +76 -0
- package/dist/mbox-CySolFFZ.cjs +1 -0
- package/dist/milkdown/index.cjs.js +1 -0
- package/dist/milkdown/index.es.js +4 -0
- package/dist/milkdown-input-BbbZJGDl.js +62376 -0
- package/dist/milkdown-input-C-Muq7PQ.cjs +941 -0
- package/dist/milkdown-url-BKbqhNCO.js +4 -0
- package/dist/milkdown-url-BLgXPmZR.cjs +1 -0
- package/dist/milkdown.css +1903 -0
- package/dist/mirc-BfqEffzk.cjs +1 -0
- package/dist/mirc-CFBPAOaF.js +72 -0
- package/dist/mllike-BSnXJBGA.js +272 -0
- package/dist/mllike-QUjwI6zq.cjs +1 -0
- package/dist/modal-nbZW44XS.js +614 -0
- package/dist/modal-wbG_oGOr.cjs +1 -0
- package/dist/modelica-B6Zhcb-M.cjs +1 -0
- package/dist/modelica-vUgVs--1.js +93 -0
- package/dist/monaco/index.cjs.js +2 -0
- package/dist/monaco/index.es.js +269 -0
- package/dist/monaco.css +14 -0
- package/dist/mscgen-BToym4Bs.cjs +1 -0
- package/dist/mscgen-Cpl0NYLN.js +104 -0
- package/dist/mumps-CQoS1kWX.js +25 -0
- package/dist/mumps-wfyQdxSu.cjs +1 -0
- package/dist/nginx-CwqyBUfA.cjs +1 -0
- package/dist/nginx-zDPm3Z74.js +89 -0
- package/dist/nl-D-y231ZO.cjs +1 -0
- package/dist/nl-Dr-l6zUy.cjs +1 -0
- package/dist/{nl-DC5KbcZ1.js → nl-ey2Li7DF.js} +24 -18
- package/dist/notice-CIPcSfD5.js +2432 -0
- package/dist/notice-Cq02YHoN.cjs +1 -0
- package/dist/nsis-DPj2fUaP.cjs +1 -0
- package/dist/nsis-fePjrhq7.js +62 -0
- package/dist/ntriples-CsNjv2QF.js +79 -0
- package/dist/ntriples-DgwJmozm.cjs +1 -0
- package/dist/octave-1pkKrgAA.cjs +1 -0
- package/dist/octave-C8PmmSRH.js +143 -0
- package/dist/oz-BXOZCt0U.cjs +1 -0
- package/dist/oz-Ce8aN8oE.js +151 -0
- package/dist/pascal-De0D6mP7.js +77 -0
- package/dist/pascal-DtY2LEkJ.cjs +1 -0
- package/dist/perl-B4bSCe1C.js +915 -0
- package/dist/perl-CVDWbEju.cjs +1 -0
- package/dist/pig-D24Z8EXi.js +54 -0
- package/dist/pig-DMByOrnr.cjs +1 -0
- package/dist/pl-BK0i_yvq.cjs +1 -0
- package/dist/{pl-BJJ-Grej.js → pl-Bf0QaCGx.js} +27 -21
- package/dist/pl-G6e4Mybr.cjs +1 -0
- package/dist/powershell-BaoYaFvj.cjs +1 -0
- package/dist/powershell-DkYVfTzP.js +249 -0
- package/dist/preprocess-CvkqwVNt.cjs +3 -0
- package/dist/preprocess-D898zxsP.js +2295 -0
- package/dist/properties-DXHJZ3WE.cjs +1 -0
- package/dist/properties-Dn9wna3M.js +26 -0
- package/dist/protobuf-BKhXdfH6.cjs +1 -0
- package/dist/protobuf-BPIjwpzm.js +49 -0
- package/dist/pt-CD2Eqazl.cjs +1 -0
- package/dist/{pt-DH8tH7fr.js → pt-D-_KxA9g.js} +26 -20
- package/dist/pt-oBMmVYcu.cjs +1 -0
- package/dist/pug-CwAQJzGR.js +248 -0
- package/dist/pug-kEfRDOiF.cjs +1 -0
- package/dist/puppet-8mAyuMbW.cjs +1 -0
- package/dist/puppet-nyd4dhjf.js +45 -0
- package/dist/python-BkR3uSy8.js +313 -0
- package/dist/python-D-iU6WXz.cjs +1 -0
- package/dist/q-BPQ45Nxu.cjs +1 -0
- package/dist/q-DXjKs-tC.js +83 -0
- package/dist/r-LKEuhEGI.js +104 -0
- package/dist/r-r2_EZsON.cjs +1 -0
- package/dist/rpm-IznJm2Xc.js +57 -0
- package/dist/rpm-YK81m3qU.cjs +1 -0
- package/dist/ru-CKh2xgqC.cjs +1 -0
- package/dist/ru-CtxMmoa6.cjs +1 -0
- package/dist/{ru-DoNk8aVN.js → ru-Dzbl29K2.js} +29 -21
- package/dist/ruby-CcYfvIk6.js +228 -0
- package/dist/ruby-Cn1sFkZF.cjs +1 -0
- package/dist/sas-7E8yHoCW.js +105 -0
- package/dist/sas-DAGcJy94.cjs +1 -0
- package/dist/scheme-B0ZrbojV.cjs +1 -0
- package/dist/scheme-DjibxsNh.js +124 -0
- package/dist/shell-BMYo43V6.cjs +1 -0
- package/dist/shell-C0C2sNA_.js +182 -0
- package/dist/sieve-Bwz7vjP5.js +72 -0
- package/dist/sieve-CIYW-b_H.cjs +1 -0
- package/dist/simple-mode-B0dvCdAA.js +89 -0
- package/dist/simple-mode-BIKNPBes.cjs +1 -0
- package/dist/smalltalk-Bhddl2pB.js +48 -0
- package/dist/smalltalk-CSslY-3i.cjs +1 -0
- package/dist/solr-A1kSnAwJ.cjs +1 -0
- package/dist/solr-BNlsLglM.js +41 -0
- package/dist/sparql-DnHMBLLY.cjs +1 -0
- package/dist/sparql-FarWu_Gb.js +197 -0
- package/dist/spreadsheet-B7_BK8hB.cjs +1 -0
- package/dist/spreadsheet-C-cy4P5N.js +49 -0
- package/dist/sql-9VmIWHrZ.cjs +1 -0
- package/dist/sql-CfG5lQ3l.js +282 -0
- package/dist/stex-B4wyjEnp.cjs +1 -0
- package/dist/stex-Du4h4KAU.js +129 -0
- package/dist/styles-url-B-d6aezR.cjs +1 -0
- package/dist/styles-url-B4WGMvfi.js +4 -0
- package/dist/styles-url-CZUL_YRT.cjs +1 -0
- package/dist/styles-url-DpP5gepF.js +4 -0
- package/dist/stylus-CAdqWld3.js +250 -0
- package/dist/stylus-D6GYOT3Z.cjs +1 -0
- package/dist/swift-DGw6Cgu8.cjs +1 -0
- package/dist/swift-DSxqR9R6.js +230 -0
- package/dist/tcl-ByLXbQFo.cjs +1 -0
- package/dist/tcl-xfoLljhY.js +81 -0
- package/dist/textile-D1AWE-pc.js +295 -0
- package/dist/textile-iryw-lTw.cjs +1 -0
- package/dist/theme-CJVt8QIc.js +34 -0
- package/dist/theme-YS3sFklH.cjs +1 -0
- package/dist/tiddlywiki-5wqsXtSk.js +155 -0
- package/dist/tiddlywiki-D8IJz1k7.cjs +1 -0
- package/dist/tiki-C5p5KSQK.cjs +1 -0
- package/dist/tiki-__Kn3CeS.js +181 -0
- package/dist/timer-CcMCjYrq.cjs +1 -0
- package/dist/timer-CkgWORR9.js +42 -0
- package/dist/toml-3ZsH_4Qa.cjs +1 -0
- package/dist/toml-BHiuTcfn.js +49 -0
- package/dist/tr-BbpC5gzM.cjs +1 -0
- package/dist/tr-CgJ8uhZu.cjs +1 -0
- package/dist/{tr-BD5Li2rQ.js → tr-yMHT8n7z.js} +24 -18
- package/dist/translations-CXE8Z_Ac.cjs +1 -0
- package/dist/translations-DBtfTNnM.js +2005 -0
- package/dist/translations-DbN-OSLv.js +47 -0
- package/dist/translations-EQ1qPZ0_.cjs +2 -0
- package/dist/troff-D-3QCOYN.cjs +1 -0
- package/dist/troff-D2UO-fKf.js +35 -0
- package/dist/ttcn-Bsa4sfRm.js +123 -0
- package/dist/ttcn-C2MXAqcM.cjs +1 -0
- package/dist/ttcn-cfg-BYqcMRxC.cjs +1 -0
- package/dist/ttcn-cfg-Bac_acMi.js +88 -0
- package/dist/turtle-DSJNatSv.cjs +1 -0
- package/dist/turtle-xwJUxoPV.js +80 -0
- package/dist/types/auth/index.d.ts +1 -0
- package/dist/types/beatui-i18n/default.d.ts +8 -1
- package/dist/types/beatui-i18n/locales/en.d.ts +8 -1
- package/dist/types/beatui-i18n/translations.d.ts +8 -1
- package/dist/types/components/auth/auth-divider.d.ts +2 -2
- package/dist/types/components/auth/index.d.ts +8 -6
- package/dist/types/components/auth/password-strength-indicator.d.ts +4 -4
- package/dist/types/components/auth/reset-password-form.d.ts +2 -2
- package/dist/types/components/auth/signin-form.d.ts +2 -2
- package/dist/types/components/auth/signup-form.d.ts +2 -2
- package/dist/types/components/auth/social-login-button.d.ts +27 -27
- package/dist/types/components/auth/types.d.ts +11 -13
- package/dist/types/components/button/button.d.ts +1 -1
- package/dist/types/components/button/close-button.d.ts +15 -0
- package/dist/types/components/button/index.d.ts +1 -0
- package/dist/types/components/data/tag.d.ts +3 -2
- package/dist/types/components/form/control/control-factory.d.ts +24 -0
- package/dist/types/components/form/control/date-utils.d.ts +6 -0
- package/dist/types/components/form/control/index.d.ts +3 -22
- package/dist/types/components/form/control/list-control.d.ts +23 -14
- package/dist/types/components/form/controller/controller.d.ts +20 -1
- package/dist/types/components/form/controller/index.d.ts +2 -0
- package/dist/types/components/form/controller/union-controller.d.ts +53 -0
- package/dist/types/components/form/controller/utils.d.ts +4 -0
- package/dist/types/components/form/input/appearance-selector.d.ts +2 -1
- package/dist/types/components/form/input/base64-input.d.ts +10 -0
- package/dist/types/components/form/input/base64s-input.d.ts +12 -0
- package/dist/types/components/form/input/bigint-input.d.ts +9 -0
- package/dist/types/components/form/input/color-input.d.ts +8 -1
- package/dist/types/components/form/input/combobox-input.d.ts +16 -0
- package/dist/types/components/form/input/combobox-tags-input.d.ts +16 -0
- package/dist/types/components/form/input/dropdown-base.d.ts +19 -0
- package/dist/types/components/form/input/dropdown-input.d.ts +14 -0
- package/dist/types/components/form/input/duration-input.d.ts +3 -0
- package/dist/types/components/form/input/duration-mask.d.ts +12 -0
- package/dist/types/components/form/input/editable-text.d.ts +2 -1
- package/dist/types/components/form/input/file-input.d.ts +3 -4
- package/dist/types/components/form/input/files-input.d.ts +12 -0
- package/dist/types/components/form/input/index.d.ts +42 -2
- package/dist/types/components/form/input/input-container.d.ts +2 -3
- package/dist/types/components/form/input/input-options.d.ts +0 -13
- package/dist/types/components/form/input/input-wrapper.d.ts +1 -1
- package/dist/types/components/form/input/instant-input.d.ts +3 -0
- package/dist/types/components/form/input/lazy-native-select.d.ts +1 -1
- package/dist/types/components/form/input/list-input.d.ts +14 -0
- package/dist/types/components/form/input/mask-input.d.ts +94 -0
- package/dist/types/components/form/input/native-select.d.ts +4 -23
- package/dist/types/components/form/input/nullable-base64-input.d.ts +8 -0
- package/dist/types/components/form/input/nullable-bigint-input.d.ts +9 -0
- package/dist/types/components/form/input/nullable-duration-input.d.ts +3 -0
- package/dist/types/components/form/input/nullable-email-input.d.ts +2 -0
- package/dist/types/components/form/input/nullable-instant-input.d.ts +3 -0
- package/dist/types/components/form/input/nullable-mask-input.d.ts +5 -0
- package/dist/types/components/form/input/nullable-number-input.d.ts +9 -0
- package/dist/types/components/form/input/nullable-password-input.d.ts +2 -0
- package/dist/types/components/form/input/nullable-plain-date-input.d.ts +3 -0
- package/dist/types/components/form/input/nullable-plain-date-time-input.d.ts +3 -0
- package/dist/types/components/form/input/nullable-plain-month-day-input.d.ts +3 -0
- package/dist/types/components/form/input/nullable-plain-time-input.d.ts +3 -0
- package/dist/types/components/form/input/nullable-plain-year-month-input.d.ts +3 -0
- package/dist/types/components/form/input/nullable-rating-input.d.ts +14 -0
- package/dist/types/components/form/input/nullable-url-input.d.ts +2 -0
- package/dist/types/components/form/input/nullable-utils.d.ts +2 -0
- package/dist/types/components/form/input/nullable-uuid-input.d.ts +2 -0
- package/dist/types/components/form/input/nullable-zoned-date-time-input.d.ts +3 -0
- package/dist/types/components/form/input/option.d.ts +38 -0
- package/dist/types/components/form/input/plain-date-input.d.ts +3 -0
- package/dist/types/components/form/input/plain-date-time-input.d.ts +3 -0
- package/dist/types/components/form/input/plain-month-day-input.d.ts +3 -0
- package/dist/types/components/form/input/plain-time-input.d.ts +3 -0
- package/dist/types/components/form/input/plain-year-month-input.d.ts +3 -0
- package/dist/types/components/form/input/rating-input.d.ts +15 -0
- package/dist/types/components/form/input/segmented-input.d.ts +10 -0
- package/dist/types/components/form/input/select-tags-input.d.ts +20 -0
- package/dist/types/components/form/input/slider-input.d.ts +15 -0
- package/dist/types/components/form/input/tag-utils.d.ts +11 -0
- package/dist/types/components/form/input/url-input.d.ts +2 -0
- package/dist/types/components/form/input/uuid-input.d.ts +2 -0
- package/dist/types/components/form/input/zoned-date-time-input.d.ts +3 -0
- package/dist/types/components/form/schema/custom-validation.d.ts +1 -1
- package/dist/types/components/form/use-form.d.ts +11 -4
- package/dist/types/components/json-schema/ajv-utils.d.ts +121 -0
- package/dist/types/components/json-schema/cache-management.d.ts +148 -0
- package/dist/types/components/json-schema/containers/container-layouts.d.ts +66 -0
- package/dist/types/components/json-schema/controls/any-control.d.ts +10 -0
- package/dist/types/components/json-schema/controls/array-control.d.ts +10 -0
- package/dist/types/components/json-schema/controls/boolean-control.d.ts +10 -0
- package/dist/types/components/json-schema/controls/composition-controls.d.ts +24 -0
- package/dist/types/components/json-schema/controls/composition-shared.d.ts +34 -0
- package/dist/types/components/json-schema/controls/enum-const-controls.d.ts +17 -0
- package/dist/types/components/json-schema/controls/generic-control.d.ts +18 -0
- package/dist/types/components/json-schema/controls/null-control.d.ts +10 -0
- package/dist/types/components/json-schema/controls/number-controls.d.ts +17 -0
- package/dist/types/components/json-schema/controls/object-control.d.ts +12 -0
- package/dist/types/components/json-schema/controls/object-helpers.d.ts +31 -0
- package/dist/types/components/json-schema/controls/presence-toggle.d.ts +12 -0
- package/dist/types/components/json-schema/controls/schema-banners.d.ts +14 -0
- package/dist/types/components/json-schema/controls/schema-wrapper.d.ts +7 -0
- package/dist/types/components/json-schema/controls/shared-utils.d.ts +16 -0
- package/dist/types/components/json-schema/controls/string-control.d.ts +10 -0
- package/dist/types/components/json-schema/controls/type-utils.d.ts +27 -0
- package/dist/types/components/json-schema/controls/union-control.d.ts +10 -0
- package/dist/types/components/json-schema/controls.d.ts +11 -0
- package/dist/types/components/json-schema/discriminator/discriminator-utils.d.ts +57 -0
- package/dist/types/components/json-schema/index.d.ts +5 -0
- package/dist/types/components/json-schema/json-schema-form.d.ts +79 -0
- package/dist/types/components/json-schema/oneof-branch-detection.d.ts +35 -0
- package/dist/types/components/json-schema/ref-utils.d.ts +18 -0
- package/dist/types/components/json-schema/schema-context.d.ts +185 -0
- package/dist/types/components/json-schema/validation/async-validation.d.ts +113 -0
- package/dist/types/components/json-schema/validation/conditional-validation.d.ts +75 -0
- package/dist/types/components/json-schema/validation/cross-field-validation.d.ts +71 -0
- package/dist/types/components/json-schema/validation/error-aggregation.d.ts +84 -0
- package/dist/types/components/json-schema/validation/performance-optimization.d.ts +120 -0
- package/dist/types/components/json-schema/validator.d.ts +10 -0
- package/dist/types/components/json-schema/visibility/visibility-evaluation.d.ts +77 -0
- package/dist/types/components/json-schema/visibility/visibility-wrapper.d.ts +56 -0
- package/dist/types/components/json-schema/widgets/enhanced-widgets.d.ts +70 -0
- package/dist/types/components/json-schema/widgets/string-controls.d.ts +8 -0
- package/dist/types/components/json-schema/widgets/string-detection.d.ts +3 -0
- package/dist/types/components/json-schema/widgets/string-type.d.ts +62 -0
- package/dist/types/components/json-schema/widgets/utils.d.ts +45 -0
- package/dist/types/components/json-schema/widgets/widget-composition.d.ts +144 -0
- package/dist/types/components/json-schema/widgets/widget-customization.d.ts +120 -0
- package/dist/types/components/layout/index.d.ts +1 -0
- package/dist/types/components/layout/nine-slice-scroll-view.d.ts +21 -0
- package/dist/types/components/layout/scrollable-panel.d.ts +1 -1
- package/dist/types/components/milkdown/milkdown-input.d.ts +15 -0
- package/dist/types/components/milkdown/milkdown-url.d.ts +2 -0
- package/dist/types/components/misc/index.d.ts +3 -0
- package/dist/types/components/misc/link-portal.d.ts +11 -0
- package/dist/types/components/misc/notice.d.ts +15 -0
- package/dist/types/components/misc/style-portal.d.ts +10 -0
- package/dist/types/components/monaco/monaco-editor-input.d.ts +12 -0
- package/dist/types/components/navigation/flyout.d.ts +2 -2
- package/dist/types/components/navigation/index.d.ts +1 -0
- package/dist/types/components/navigation/menu.d.ts +7 -7
- package/dist/types/components/navigation/toolbar/index.d.ts +1 -0
- package/dist/types/components/navigation/toolbar/toolbar.d.ts +17 -0
- package/dist/types/components/overlay/drawer.d.ts +2 -2
- package/dist/types/components/overlay/modal.d.ts +3 -3
- package/dist/types/components/overlay/tooltip.d.ts +2 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/json-schema/index.d.ts +1 -0
- package/dist/types/markdown/extensions.d.ts +8 -0
- package/dist/types/markdown/index.d.ts +17 -0
- package/dist/types/markdown/styles-url.d.ts +2 -0
- package/dist/types/markdown/styles.d.ts +2 -0
- package/dist/types/milkdown/index.d.ts +1 -0
- package/dist/types/milkdown/styles.d.ts +2 -0
- package/dist/types/monaco/index.d.ts +3 -0
- package/dist/types/monaco/lazy-loader.d.ts +5 -0
- package/dist/types/monaco/styles-url.d.ts +2 -0
- package/dist/types/monaco/styles.d.ts +2 -0
- package/dist/types/monaco/types.d.ts +14 -0
- package/dist/types/styles/base-url.d.ts +2 -0
- package/dist/types/styles/base.d.ts +2 -0
- package/dist/types/temporal/index.d.ts +3 -0
- package/dist/types/temporal/runtime.d.ts +2 -0
- package/dist/types/temporal/types.d.ts +10 -0
- package/dist/types/temporal/with-temporal.d.ts +3 -0
- package/dist/types/tokens/colors.d.ts +12 -1
- package/dist/types/utils/focus-trap.d.ts +4 -4
- package/dist/{ur-CUvRCu9R.js → ur-CdQA0epV.js} +24 -18
- package/dist/ur-DvqAg9gW.cjs +1 -0
- package/dist/ur-kkik6-_r.cjs +1 -0
- package/dist/vb-c2kQGd6-.js +74 -0
- package/dist/vb-qzHzzvyB.cjs +1 -0
- package/dist/vbscript-1f_Dhg5H.js +324 -0
- package/dist/vbscript-CWm8v9tE.cjs +1 -0
- package/dist/velocity-D3_yAIp3.cjs +1 -0
- package/dist/velocity-DJd0pTTC.js +96 -0
- package/dist/verilog-BOhLNmQo.cjs +1 -0
- package/dist/verilog-CiS1jyi5.js +262 -0
- package/dist/vhdl-CMFbi8Im.cjs +1 -0
- package/dist/vhdl-T9HkrbI2.js +106 -0
- package/dist/vi-1xtFXJc0.cjs +1 -0
- package/dist/{vi-BXI6n5F3.js → vi-A8UmZU3L.js} +26 -20
- package/dist/vi-D5R3YcU0.cjs +1 -0
- package/dist/webidl-CWb_flNk.cjs +1 -0
- package/dist/webidl-CjfDENEo.js +155 -0
- package/dist/xquery-BUQdORAS.js +422 -0
- package/dist/xquery-Cjw5fRnG.cjs +1 -0
- package/dist/yacas-C0absKBh.js +73 -0
- package/dist/yacas-urx_N5C8.cjs +1 -0
- package/dist/z80-CsG3CM6M.cjs +1 -0
- package/dist/z80-Pki2zAjW.js +61 -0
- package/dist/zh-CCGXcj5r.cjs +1 -0
- package/dist/{zh-DyIbx84k.js → zh-D0nnvX8T.js} +23 -15
- package/dist/zh-DC_SsXdk.cjs +1 -0
- package/package.json +57 -8
- package/dist/index.umd.js +0 -100
- package/dist/types/components/form/control/combobox-control.d.ts +0 -11
- package/dist/types/components/form/control/control-input-wrapper.d.ts +0 -7
- package/dist/types/components/form/control/control-options.d.ts +0 -20
- package/dist/types/components/form/control/date-control.d.ts +0 -3
- package/dist/types/components/form/control/date-time-control.d.ts +0 -3
- package/dist/types/components/form/control/email-control.d.ts +0 -3
- package/dist/types/components/form/control/file-control.d.ts +0 -13
- package/dist/types/components/form/control/lazy-native-select-control.d.ts +0 -16
- package/dist/types/components/form/control/native-select-control.d.ts +0 -9
- package/dist/types/components/form/control/nullable-date-control.d.ts +0 -3
- package/dist/types/components/form/control/nullable-date-time-control.d.ts +0 -3
- package/dist/types/components/form/control/nullable-string-date-control.d.ts +0 -3
- package/dist/types/components/form/control/nullable-string-date-time-control.d.ts +0 -3
- package/dist/types/components/form/control/nullable-text-area-control.d.ts +0 -7
- package/dist/types/components/form/control/nullable-text-control.d.ts +0 -3
- package/dist/types/components/form/control/number-control.d.ts +0 -9
- package/dist/types/components/form/control/password-control.d.ts +0 -3
- package/dist/types/components/form/control/segmented-control.d.ts +0 -10
- package/dist/types/components/form/control/string-date-control.d.ts +0 -3
- package/dist/types/components/form/control/tags-control.d.ts +0 -3
- package/dist/types/components/form/control/text-area-control.d.ts +0 -7
- package/dist/types/components/form/control/text-control.d.ts +0 -8
- package/dist/types/components/form/input/combobox.d.ts +0 -39
|
@@ -30,7 +30,7 @@ export declare const interactiveColors: {
|
|
|
30
30
|
export declare function normalizeColorName(color: ThemeColorName): ThemeColorName;
|
|
31
31
|
export declare function getColorVarName(color: ThemeColorName, shade: ColorShade): `--color-${ThemeColorName}-${ColorShade}`;
|
|
32
32
|
export declare function getColorVar(color: ThemeColorName, shade: ColorShade): string;
|
|
33
|
-
export type BackgroundVariant = 'solid' | 'light' | 'lighter';
|
|
33
|
+
export type BackgroundVariant = 'solid' | 'soft' | 'light' | 'lighter';
|
|
34
34
|
export declare const backgroundConfig: {
|
|
35
35
|
readonly special: {
|
|
36
36
|
readonly inherit: {
|
|
@@ -61,6 +61,16 @@ export declare const backgroundConfig: {
|
|
|
61
61
|
readonly textColor: "var(--color-black)";
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
|
+
readonly soft: {
|
|
65
|
+
readonly light: {
|
|
66
|
+
readonly bgShade: 300;
|
|
67
|
+
readonly textColor: "var(--text-normal-light)";
|
|
68
|
+
};
|
|
69
|
+
readonly dark: {
|
|
70
|
+
readonly bgShade: 700;
|
|
71
|
+
readonly textColor: "var(--text-normal-dark)";
|
|
72
|
+
};
|
|
73
|
+
};
|
|
64
74
|
readonly light: {
|
|
65
75
|
readonly light: {
|
|
66
76
|
readonly bgShade: 200;
|
|
@@ -116,4 +126,5 @@ export declare const backgroundConfig: {
|
|
|
116
126
|
};
|
|
117
127
|
};
|
|
118
128
|
export declare function generateBackgroundUtilities(): string;
|
|
129
|
+
export declare function generateForegroundUtilities(): string;
|
|
119
130
|
export declare function generateColorVariables(): Record<string, string>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Renderable } from '@tempots/dom';
|
|
2
2
|
/**
|
|
3
3
|
* Focus trap options
|
|
4
4
|
*/
|
|
@@ -22,11 +22,11 @@ export interface FocusTrapOptions {
|
|
|
22
22
|
* Creates a focus trap within an element
|
|
23
23
|
* Returns a TNode that should be added to the container element
|
|
24
24
|
*/
|
|
25
|
-
export declare function FocusTrap(options?: FocusTrapOptions):
|
|
25
|
+
export declare function FocusTrap(options?: FocusTrapOptions): Renderable;
|
|
26
26
|
/**
|
|
27
27
|
* Hook for managing focus trap state
|
|
28
28
|
*/
|
|
29
29
|
export declare function useFocusTrap(options?: FocusTrapOptions): {
|
|
30
|
-
activate: () =>
|
|
31
|
-
deactivate: () =>
|
|
30
|
+
activate: () => Renderable;
|
|
31
|
+
deactivate: () => Renderable;
|
|
32
32
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
1
|
+
import { f as l } from "./translations-DBtfTNnM.js";
|
|
2
|
+
const s = {
|
|
3
3
|
loadingExtended: "لوڈ ہو رہا ہے، براہ کرم انتظار کریں",
|
|
4
4
|
loadingShort: "لوڈ ہو رہا ہے...",
|
|
5
5
|
locale: "زبان",
|
|
@@ -8,6 +8,8 @@ const d = {
|
|
|
8
8
|
failedToLoadIcon: "آئیکن لوڈ کرنے میں ناکام",
|
|
9
9
|
editLabel: "ترمیم",
|
|
10
10
|
selectOne: "ایک منتخب کریں",
|
|
11
|
+
selectMany: "متعدد منتخب کریں",
|
|
12
|
+
noResults: "کوئی نتیجہ نہیں",
|
|
11
13
|
passwordPlaceholderText: "خفیہ پاس ورڈ",
|
|
12
14
|
togglePasswordVisibility: "پاس ورڈ کی مرئیت تبدیل کریں",
|
|
13
15
|
toggleMenu: "مینو ٹوگل کریں",
|
|
@@ -18,6 +20,8 @@ const d = {
|
|
|
18
20
|
closeModal: "ماڈل بند کریں",
|
|
19
21
|
confirm: "تصدیق",
|
|
20
22
|
cancel: "منسوخ",
|
|
23
|
+
addLabel: "شامل کریں",
|
|
24
|
+
removeItem: "آئٹم ہٹائیں",
|
|
21
25
|
// languages
|
|
22
26
|
currentLocale: "اردو",
|
|
23
27
|
ar: "عربی",
|
|
@@ -41,6 +45,8 @@ const d = {
|
|
|
41
45
|
ur: "اردو",
|
|
42
46
|
// input
|
|
43
47
|
emailPlaceholderText: "اپنا ای میل داخل کریں",
|
|
48
|
+
incrementValue: "قدر اضافہ کریں",
|
|
49
|
+
decrementValue: "قدر کم کریں",
|
|
44
50
|
// drop zone
|
|
45
51
|
dropZoneInstructions: (e) => e ? "منتخب کرنے کے لیے کلک کریں یا فائلیں یہاں گھسیٹیں، یا فائل منتخب کرنے کے لیے Enter یا Space دبائیں" : "فائلیں یہاں گھسیٹیں",
|
|
46
52
|
// size
|
|
@@ -48,29 +54,29 @@ const d = {
|
|
|
48
54
|
// file input
|
|
49
55
|
removeFile: "فائل حذف کریں",
|
|
50
56
|
clearAllFiles: "تمام فائلیں صاف کریں",
|
|
57
|
+
// inputs reset
|
|
58
|
+
clearValue: "قدر صاف کریں",
|
|
51
59
|
unknownType: "نامعلوم قسم",
|
|
52
|
-
|
|
53
|
-
let
|
|
54
|
-
if (e
|
|
60
|
+
filesInputInstructions: (e, t, n) => {
|
|
61
|
+
let r = e == null || e > 1 ? "منتخب کرنے کے لیے کلک کریں یا فائلیں یہاں گھسیٹیں" : "منتخب کرنے کے لیے کلک کریں یا فائل یہاں گھسیٹیں";
|
|
62
|
+
if (e || t) {
|
|
55
63
|
const o = [];
|
|
56
|
-
if (
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
const i = s(t, {
|
|
60
|
-
units: r
|
|
64
|
+
if (e != null && e > 1 && o.push(`زیادہ سے زیادہ ${e} فائلیں`), t && n) {
|
|
65
|
+
const a = l(t, {
|
|
66
|
+
units: n
|
|
61
67
|
});
|
|
62
|
-
o.push(`ہر ایک زیادہ سے زیادہ ${
|
|
68
|
+
o.push(`ہر ایک زیادہ سے زیادہ ${a}`);
|
|
63
69
|
}
|
|
64
|
-
o.length > 0 && (
|
|
65
|
-
} else if (
|
|
66
|
-
const o =
|
|
67
|
-
units:
|
|
70
|
+
o.length > 0 && (r += ` (${o.join("، ")})`);
|
|
71
|
+
} else if (t && n) {
|
|
72
|
+
const o = l(t, {
|
|
73
|
+
units: n
|
|
68
74
|
});
|
|
69
|
-
|
|
75
|
+
r += ` (زیادہ سے زیادہ ${o})`;
|
|
70
76
|
}
|
|
71
|
-
return
|
|
77
|
+
return r;
|
|
72
78
|
}
|
|
73
79
|
};
|
|
74
80
|
export {
|
|
75
|
-
|
|
81
|
+
s as default
|
|
76
82
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t={signInTitle:"سائن ان",signInButton:"سائن ان",emailLabel:"ای میل",passwordLabel:"پاس ورڈ",rememberMeLabel:"مجھے یاد رکھیں",forgotPasswordLink:"پاس ورڈ بھول گئے؟",noAccountLink:"اکاؤنٹ نہیں ہے؟ سائن اپ کریں",signUpTitle:"سائن اپ",signUpButton:"سائن اپ",nameLabel:"نام",confirmPasswordLabel:"پاس ورڈ کی تصدیق کریں",acceptTermsLabel:"میں شرائط و ضوابط کو قبول کرتا ہوں",hasAccountLink:"پہلے سے اکاؤنٹ ہے؟ سائن ان کریں",resetPasswordTitle:"پاس ورڈ ری سیٹ کریں",resetPasswordButton:"پاس ورڈ ری سیٹ کریں",resetPasswordDescription:"اپنا پاس ورڈ ری سیٹ کرنے کے لیے اپنا ای میل درج کریں۔",backToSignInLink:"سائن ان پر واپس جائیں",continueWithProvider:e=>`${e} کے ساتھ جاری رکھیں`,passwordStrengthWeak:"کمزور",passwordStrengthFair:"ٹھیک",passwordStrengthGood:"اچھا",passwordStrengthStrong:"مضبوط",orDivider:"یا",error:"ایک خرابی ہوئی",required:"ضروری",authenticationTitle:"تصدیق"};exports.default=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./translations-EQ1qPZ0_.cjs"),c={loadingExtended:"لوڈ ہو رہا ہے، براہ کرم انتظار کریں",loadingShort:"لوڈ ہو رہا ہے...",locale:"زبان",iconDescription:"آئیکن",loadingIcon:"لوڈنگ آئیکن",failedToLoadIcon:"آئیکن لوڈ کرنے میں ناکام",editLabel:"ترمیم",selectOne:"ایک منتخب کریں",selectMany:"متعدد منتخب کریں",noResults:"کوئی نتیجہ نہیں",passwordPlaceholderText:"خفیہ پاس ورڈ",togglePasswordVisibility:"پاس ورڈ کی مرئیت تبدیل کریں",toggleMenu:"مینو ٹوگل کریں",toggleAside:"سائیڈ پینل ٹوگل کریں",mainNavigation:"بنیادی نیویگیشن",sidebar:"سائیڈ بار",closeDrawer:"دراز بند کریں",closeModal:"ماڈل بند کریں",confirm:"تصدیق",cancel:"منسوخ",addLabel:"شامل کریں",removeItem:"آئٹم ہٹائیں",currentLocale:"اردو",ar:"عربی",de:"جرمن",en:"انگریزی",es:"ہسپانوی",fr:"فرانسیسی",he:"عبرانی",hi:"ہندی",it:"اطالوی",ja:"جاپانی",ko:"کوریائی",nl:"ڈچ",pl:"پولش",pt:"پرتگالی",ru:"روسی",tr:"ترکی",vi:"ویتنامی",zh:"چینی",fa:"فارسی",ur:"اردو",emailPlaceholderText:"اپنا ای میل داخل کریں",incrementValue:"قدر اضافہ کریں",decrementValue:"قدر کم کریں",dropZoneInstructions:e=>e?"منتخب کرنے کے لیے کلک کریں یا فائلیں یہاں گھسیٹیں، یا فائل منتخب کرنے کے لیے Enter یا Space دبائیں":"فائلیں یہاں گھسیٹیں",fileSizeUnits:["بائٹس","KB","MB","GB","TB"],removeFile:"فائل حذف کریں",clearAllFiles:"تمام فائلیں صاف کریں",clearValue:"قدر صاف کریں",unknownType:"نامعلوم قسم",filesInputInstructions:(e,n,o)=>{let r=e==null||e>1?"منتخب کرنے کے لیے کلک کریں یا فائلیں یہاں گھسیٹیں":"منتخب کرنے کے لیے کلک کریں یا فائل یہاں گھسیٹیں";if(e||n){const t=[];if(e!=null&&e>1&&t.push(`زیادہ سے زیادہ ${e} فائلیں`),n&&o){const a=l.formatFileSize(n,{units:o});t.push(`ہر ایک زیادہ سے زیادہ ${a}`)}t.length>0&&(r+=` (${t.join("، ")})`)}else if(n&&o){const t=l.formatFileSize(n,{units:o});r+=` (زیادہ سے زیادہ ${t})`}return r}};exports.default=c;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
var u = "error";
|
|
2
|
+
function o(e) {
|
|
3
|
+
return new RegExp("^((" + e.join(")|(") + "))\\b", "i");
|
|
4
|
+
}
|
|
5
|
+
var b = new RegExp("^[\\+\\-\\*/%&\\\\|\\^~<>!]"), k = new RegExp("^[\\(\\)\\[\\]\\{\\}@,:`=;\\.]"), x = new RegExp("^((==)|(<>)|(<=)|(>=)|(<>)|(<<)|(>>)|(//)|(\\*\\*))"), m = new RegExp("^((\\+=)|(\\-=)|(\\*=)|(%=)|(/=)|(&=)|(\\|=)|(\\^=))"), I = new RegExp("^((//=)|(>>=)|(<<=)|(\\*\\*=))"), R = new RegExp("^[_A-Za-z][_A-Za-z0-9]*"), a = ["class", "module", "sub", "enum", "select", "while", "if", "function", "get", "set", "property", "try", "structure", "synclock", "using", "with"], f = ["else", "elseif", "case", "catch", "finally"], h = ["next", "loop"], s = ["and", "andalso", "or", "orelse", "xor", "in", "not", "is", "isnot", "like"], O = o(s), v = ["#const", "#else", "#elseif", "#end", "#if", "#region", "addhandler", "addressof", "alias", "as", "byref", "byval", "cbool", "cbyte", "cchar", "cdate", "cdbl", "cdec", "cint", "clng", "cobj", "compare", "const", "continue", "csbyte", "cshort", "csng", "cstr", "cuint", "culng", "cushort", "declare", "default", "delegate", "dim", "directcast", "each", "erase", "error", "event", "exit", "explicit", "false", "for", "friend", "gettype", "goto", "handles", "implements", "imports", "infer", "inherits", "interface", "isfalse", "istrue", "lib", "me", "mod", "mustinherit", "mustoverride", "my", "mybase", "myclass", "namespace", "narrowing", "new", "nothing", "notinheritable", "notoverridable", "of", "off", "on", "operator", "option", "optional", "out", "overloads", "overridable", "overrides", "paramarray", "partial", "private", "protected", "public", "raiseevent", "readonly", "redim", "removehandler", "resume", "return", "shadows", "shared", "static", "step", "stop", "strict", "then", "throw", "to", "true", "trycast", "typeof", "until", "until", "when", "widening", "withevents", "writeonly"], p = ["object", "boolean", "char", "string", "byte", "sbyte", "short", "ushort", "int16", "uint16", "integer", "uinteger", "int32", "uint32", "long", "ulong", "int64", "uint64", "decimal", "single", "double", "float", "date", "datetime", "intptr", "uintptr"], z = o(v), E = o(p), C = '"', S = o(a), g = o(f), y = o(h), w = o(["end"]), T = o(["do"]);
|
|
6
|
+
function l(e, n) {
|
|
7
|
+
n.currentIndent++;
|
|
8
|
+
}
|
|
9
|
+
function c(e, n) {
|
|
10
|
+
n.currentIndent--;
|
|
11
|
+
}
|
|
12
|
+
function d(e, n) {
|
|
13
|
+
if (e.eatSpace())
|
|
14
|
+
return null;
|
|
15
|
+
var i = e.peek();
|
|
16
|
+
if (i === "'")
|
|
17
|
+
return e.skipToEnd(), "comment";
|
|
18
|
+
if (e.match(/^((&H)|(&O))?[0-9\.a-f]/i, !1)) {
|
|
19
|
+
var r = !1;
|
|
20
|
+
if ((e.match(/^\d*\.\d+F?/i) || e.match(/^\d+\.\d*F?/) || e.match(/^\.\d+F?/)) && (r = !0), r)
|
|
21
|
+
return e.eat(/J/i), "number";
|
|
22
|
+
var t = !1;
|
|
23
|
+
if (e.match(/^&H[0-9a-f]+/i) || e.match(/^&O[0-7]+/i) ? t = !0 : e.match(/^[1-9]\d*F?/) ? (e.eat(/J/i), t = !0) : e.match(/^0(?![\dx])/i) && (t = !0), t)
|
|
24
|
+
return e.eat(/L/i), "number";
|
|
25
|
+
}
|
|
26
|
+
return e.match(C) ? (n.tokenize = F(e.current()), n.tokenize(e, n)) : e.match(I) || e.match(m) ? null : e.match(x) || e.match(b) || e.match(O) ? "operator" : e.match(k) ? null : e.match(T) ? (l(e, n), n.doInCurrentLine = !0, "keyword") : e.match(S) ? (n.doInCurrentLine ? n.doInCurrentLine = !1 : l(e, n), "keyword") : e.match(g) ? "keyword" : e.match(w) ? (c(e, n), c(e, n), "keyword") : e.match(y) ? (c(e, n), "keyword") : e.match(E) || e.match(z) ? "keyword" : e.match(R) ? "variable" : (e.next(), u);
|
|
27
|
+
}
|
|
28
|
+
function F(e) {
|
|
29
|
+
var n = e.length == 1, i = "string";
|
|
30
|
+
return function(r, t) {
|
|
31
|
+
for (; !r.eol(); ) {
|
|
32
|
+
if (r.eatWhile(/[^'"]/), r.match(e))
|
|
33
|
+
return t.tokenize = d, i;
|
|
34
|
+
r.eat(/['"]/);
|
|
35
|
+
}
|
|
36
|
+
return n && (t.tokenize = d), i;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function K(e, n) {
|
|
40
|
+
var i = n.tokenize(e, n), r = e.current();
|
|
41
|
+
if (r === ".")
|
|
42
|
+
return i = n.tokenize(e, n), i === "variable" ? "variable" : u;
|
|
43
|
+
var t = "[({".indexOf(r);
|
|
44
|
+
return t !== -1 && l(e, n), t = "])}".indexOf(r), t !== -1 && c(e, n) ? u : i;
|
|
45
|
+
}
|
|
46
|
+
const L = {
|
|
47
|
+
name: "vb",
|
|
48
|
+
startState: function() {
|
|
49
|
+
return {
|
|
50
|
+
tokenize: d,
|
|
51
|
+
lastToken: null,
|
|
52
|
+
currentIndent: 0,
|
|
53
|
+
nextLineIndent: 0,
|
|
54
|
+
doInCurrentLine: !1
|
|
55
|
+
};
|
|
56
|
+
},
|
|
57
|
+
token: function(e, n) {
|
|
58
|
+
e.sol() && (n.currentIndent += n.nextLineIndent, n.nextLineIndent = 0, n.doInCurrentLine = 0);
|
|
59
|
+
var i = K(e, n);
|
|
60
|
+
return n.lastToken = { style: i, content: e.current() }, i;
|
|
61
|
+
},
|
|
62
|
+
indent: function(e, n, i) {
|
|
63
|
+
var r = n.replace(/^\s+|\s+$/g, "");
|
|
64
|
+
return r.match(y) || r.match(w) || r.match(g) ? i.unit * (e.currentIndent - 1) : e.currentIndent < 0 ? 0 : e.currentIndent * i.unit;
|
|
65
|
+
},
|
|
66
|
+
languageData: {
|
|
67
|
+
closeBrackets: { brackets: ["(", "[", "{", '"'] },
|
|
68
|
+
commentTokens: { line: "'" },
|
|
69
|
+
autocomplete: a.concat(f).concat(h).concat(s).concat(v).concat(p)
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
export {
|
|
73
|
+
L as vb
|
|
74
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var u="error";function o(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var w=new RegExp("^[\\+\\-\\*/%&\\\\|\\^~<>!]"),k=new RegExp("^[\\(\\)\\[\\]\\{\\}@,:`=;\\.]"),m=new RegExp("^((==)|(<>)|(<=)|(>=)|(<>)|(<<)|(>>)|(//)|(\\*\\*))"),x=new RegExp("^((\\+=)|(\\-=)|(\\*=)|(%=)|(/=)|(&=)|(\\|=)|(\\^=))"),I=new RegExp("^((//=)|(>>=)|(<<=)|(\\*\\*=))"),O=new RegExp("^[_A-Za-z][_A-Za-z0-9]*"),a=["class","module","sub","enum","select","while","if","function","get","set","property","try","structure","synclock","using","with"],f=["else","elseif","case","catch","finally"],h=["next","loop"],s=["and","andalso","or","orelse","xor","in","not","is","isnot","like"],R=o(s),v=["#const","#else","#elseif","#end","#if","#region","addhandler","addressof","alias","as","byref","byval","cbool","cbyte","cchar","cdate","cdbl","cdec","cint","clng","cobj","compare","const","continue","csbyte","cshort","csng","cstr","cuint","culng","cushort","declare","default","delegate","dim","directcast","each","erase","error","event","exit","explicit","false","for","friend","gettype","goto","handles","implements","imports","infer","inherits","interface","isfalse","istrue","lib","me","mod","mustinherit","mustoverride","my","mybase","myclass","namespace","narrowing","new","nothing","notinheritable","notoverridable","of","off","on","operator","option","optional","out","overloads","overridable","overrides","paramarray","partial","private","protected","public","raiseevent","readonly","redim","removehandler","resume","return","shadows","shared","static","step","stop","strict","then","throw","to","true","trycast","typeof","until","until","when","widening","withevents","writeonly"],p=["object","boolean","char","string","byte","sbyte","short","ushort","int16","uint16","integer","uinteger","int32","uint32","long","ulong","int64","uint64","decimal","single","double","float","date","datetime","intptr","uintptr"],z=o(v),E=o(p),S='"',C=o(a),g=o(f),y=o(h),b=o(["end"]),T=o(["do"]);function l(e,n){n.currentIndent++}function c(e,n){n.currentIndent--}function d(e,n){if(e.eatSpace())return null;var i=e.peek();if(i==="'")return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.a-f]/i,!1)){var r=!1;if((e.match(/^\d*\.\d+F?/i)||e.match(/^\d+\.\d*F?/)||e.match(/^\.\d+F?/))&&(r=!0),r)return e.eat(/J/i),"number";var t=!1;if(e.match(/^&H[0-9a-f]+/i)||e.match(/^&O[0-7]+/i)?t=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),t=!0):e.match(/^0(?![\dx])/i)&&(t=!0),t)return e.eat(/L/i),"number"}return e.match(S)?(n.tokenize=F(e.current()),n.tokenize(e,n)):e.match(I)||e.match(x)?null:e.match(m)||e.match(w)||e.match(R)?"operator":e.match(k)?null:e.match(T)?(l(e,n),n.doInCurrentLine=!0,"keyword"):e.match(C)?(n.doInCurrentLine?n.doInCurrentLine=!1:l(e,n),"keyword"):e.match(g)?"keyword":e.match(b)?(c(e,n),c(e,n),"keyword"):e.match(y)?(c(e,n),"keyword"):e.match(E)||e.match(z)?"keyword":e.match(O)?"variable":(e.next(),u)}function F(e){var n=e.length==1,i="string";return function(r,t){for(;!r.eol();){if(r.eatWhile(/[^'"]/),r.match(e))return t.tokenize=d,i;r.eat(/['"]/)}return n&&(t.tokenize=d),i}}function K(e,n){var i=n.tokenize(e,n),r=e.current();if(r===".")return i=n.tokenize(e,n),i==="variable"?"variable":u;var t="[({".indexOf(r);return t!==-1&&l(e,n),t="])}".indexOf(r),t!==-1&&c(e,n)?u:i}const L={name:"vb",startState:function(){return{tokenize:d,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1}},token:function(e,n){e.sol()&&(n.currentIndent+=n.nextLineIndent,n.nextLineIndent=0,n.doInCurrentLine=0);var i=K(e,n);return n.lastToken={style:i,content:e.current()},i},indent:function(e,n,i){var r=n.replace(/^\s+|\s+$/g,"");return r.match(y)||r.match(b)||r.match(g)?i.unit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*i.unit},languageData:{closeBrackets:{brackets:["(","[","{",'"']},commentTokens:{line:"'"},autocomplete:a.concat(f).concat(h).concat(s).concat(v).concat(p)}};exports.vb=L;
|
|
@@ -0,0 +1,324 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
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;
|
|
@@ -0,0 +1 @@
|
|
|
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;
|