@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
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
function a(e) {
|
|
2
|
+
return new RegExp("^((" + e.join(")|(") + "))\\b");
|
|
3
|
+
}
|
|
4
|
+
var l = [
|
|
5
|
+
"Clamp",
|
|
6
|
+
"Constructor",
|
|
7
|
+
"EnforceRange",
|
|
8
|
+
"Exposed",
|
|
9
|
+
"ImplicitThis",
|
|
10
|
+
"Global",
|
|
11
|
+
"PrimaryGlobal",
|
|
12
|
+
"LegacyArrayClass",
|
|
13
|
+
"LegacyUnenumerableNamedProperties",
|
|
14
|
+
"LenientThis",
|
|
15
|
+
"NamedConstructor",
|
|
16
|
+
"NewObject",
|
|
17
|
+
"NoInterfaceObject",
|
|
18
|
+
"OverrideBuiltins",
|
|
19
|
+
"PutForwards",
|
|
20
|
+
"Replaceable",
|
|
21
|
+
"SameObject",
|
|
22
|
+
"TreatNonObjectAsNull",
|
|
23
|
+
"TreatNullAs",
|
|
24
|
+
"EmptyString",
|
|
25
|
+
"Unforgeable",
|
|
26
|
+
"Unscopeable"
|
|
27
|
+
], u = a(l), o = [
|
|
28
|
+
"unsigned",
|
|
29
|
+
"short",
|
|
30
|
+
"long",
|
|
31
|
+
// UnsignedIntegerType
|
|
32
|
+
"unrestricted",
|
|
33
|
+
"float",
|
|
34
|
+
"double",
|
|
35
|
+
// UnrestrictedFloatType
|
|
36
|
+
"boolean",
|
|
37
|
+
"byte",
|
|
38
|
+
"octet",
|
|
39
|
+
// Rest of PrimitiveType
|
|
40
|
+
"Promise",
|
|
41
|
+
// PromiseType
|
|
42
|
+
"ArrayBuffer",
|
|
43
|
+
"DataView",
|
|
44
|
+
"Int8Array",
|
|
45
|
+
"Int16Array",
|
|
46
|
+
"Int32Array",
|
|
47
|
+
"Uint8Array",
|
|
48
|
+
"Uint16Array",
|
|
49
|
+
"Uint32Array",
|
|
50
|
+
"Uint8ClampedArray",
|
|
51
|
+
"Float32Array",
|
|
52
|
+
"Float64Array",
|
|
53
|
+
// BufferRelatedType
|
|
54
|
+
"ByteString",
|
|
55
|
+
"DOMString",
|
|
56
|
+
"USVString",
|
|
57
|
+
"sequence",
|
|
58
|
+
"object",
|
|
59
|
+
"RegExp",
|
|
60
|
+
"Error",
|
|
61
|
+
"DOMException",
|
|
62
|
+
"FrozenArray",
|
|
63
|
+
// Rest of NonAnyType
|
|
64
|
+
"any",
|
|
65
|
+
// Rest of SingleType
|
|
66
|
+
"void"
|
|
67
|
+
// Rest of ReturnType
|
|
68
|
+
], m = a(o), c = [
|
|
69
|
+
"attribute",
|
|
70
|
+
"callback",
|
|
71
|
+
"const",
|
|
72
|
+
"deleter",
|
|
73
|
+
"dictionary",
|
|
74
|
+
"enum",
|
|
75
|
+
"getter",
|
|
76
|
+
"implements",
|
|
77
|
+
"inherit",
|
|
78
|
+
"interface",
|
|
79
|
+
"iterable",
|
|
80
|
+
"legacycaller",
|
|
81
|
+
"maplike",
|
|
82
|
+
"partial",
|
|
83
|
+
"required",
|
|
84
|
+
"serializer",
|
|
85
|
+
"setlike",
|
|
86
|
+
"setter",
|
|
87
|
+
"static",
|
|
88
|
+
"stringifier",
|
|
89
|
+
"typedef",
|
|
90
|
+
// ArgumentNameKeyword except
|
|
91
|
+
// "unrestricted"
|
|
92
|
+
"optional",
|
|
93
|
+
"readonly",
|
|
94
|
+
"or"
|
|
95
|
+
], s = a(c), f = [
|
|
96
|
+
"true",
|
|
97
|
+
"false",
|
|
98
|
+
// BooleanLiteral
|
|
99
|
+
"Infinity",
|
|
100
|
+
"NaN",
|
|
101
|
+
// FloatLiteral
|
|
102
|
+
"null"
|
|
103
|
+
// Rest of ConstValue
|
|
104
|
+
], y = a(f), d = ["callback", "dictionary", "enum", "interface"], p = a(d), b = ["typedef"], v = a(b), A = /^[:<=>?]/, g = /^-?([1-9][0-9]*|0[Xx][0-9A-Fa-f]+|0[0-7]*)/, h = /^-?(([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([Ee][+-]?[0-9]+)?|[0-9]+[Ee][+-]?[0-9]+)/, i = /^_?[A-Za-z][0-9A-Z_a-z-]*/, D = /^_?[A-Za-z][0-9A-Z_a-z-]*(?=\s*;)/, k = /^"[^"]*"/, E = /^\/\*.*?\*\//, C = /^\/\*.*/, w = /^.*?\*\//;
|
|
105
|
+
function N(e, r) {
|
|
106
|
+
if (e.eatSpace()) return null;
|
|
107
|
+
if (r.inComment)
|
|
108
|
+
return e.match(w) ? (r.inComment = !1, "comment") : (e.skipToEnd(), "comment");
|
|
109
|
+
if (e.match("//"))
|
|
110
|
+
return e.skipToEnd(), "comment";
|
|
111
|
+
if (e.match(E)) return "comment";
|
|
112
|
+
if (e.match(C))
|
|
113
|
+
return r.inComment = !0, "comment";
|
|
114
|
+
if (e.match(/^-?[0-9\.]/, !1) && (e.match(g) || e.match(h)))
|
|
115
|
+
return "number";
|
|
116
|
+
if (e.match(k)) return "string";
|
|
117
|
+
if (r.startDef && e.match(i)) return "def";
|
|
118
|
+
if (r.endDef && e.match(D))
|
|
119
|
+
return r.endDef = !1, "def";
|
|
120
|
+
if (e.match(s)) return "keyword";
|
|
121
|
+
if (e.match(m)) {
|
|
122
|
+
var t = r.lastToken, n = (e.match(/^\s*(.+?)\b/, !1) || [])[1];
|
|
123
|
+
return t === ":" || t === "implements" || n === "implements" || n === "=" ? "builtin" : "type";
|
|
124
|
+
}
|
|
125
|
+
return e.match(u) ? "builtin" : e.match(y) ? "atom" : e.match(i) ? "variable" : e.match(A) ? "operator" : (e.next(), null);
|
|
126
|
+
}
|
|
127
|
+
const S = {
|
|
128
|
+
name: "webidl",
|
|
129
|
+
startState: function() {
|
|
130
|
+
return {
|
|
131
|
+
// Is in multiline comment
|
|
132
|
+
inComment: !1,
|
|
133
|
+
// Last non-whitespace, matched token
|
|
134
|
+
lastToken: "",
|
|
135
|
+
// Next token is a definition
|
|
136
|
+
startDef: !1,
|
|
137
|
+
// Last token of the statement is a definition
|
|
138
|
+
endDef: !1
|
|
139
|
+
};
|
|
140
|
+
},
|
|
141
|
+
token: function(e, r) {
|
|
142
|
+
var t = N(e, r);
|
|
143
|
+
if (t) {
|
|
144
|
+
var n = e.current();
|
|
145
|
+
r.lastToken = n, t === "keyword" ? (r.startDef = p.test(n), r.endDef = r.endDef || v.test(n)) : r.startDef = !1;
|
|
146
|
+
}
|
|
147
|
+
return t;
|
|
148
|
+
},
|
|
149
|
+
languageData: {
|
|
150
|
+
autocomplete: l.concat(o).concat(c).concat(f)
|
|
151
|
+
}
|
|
152
|
+
};
|
|
153
|
+
export {
|
|
154
|
+
S as webIDL
|
|
155
|
+
};
|
|
@@ -0,0 +1,422 @@
|
|
|
1
|
+
var d = function() {
|
|
2
|
+
function e(w) {
|
|
3
|
+
return { type: w, style: "keyword" };
|
|
4
|
+
}
|
|
5
|
+
for (var n = e("operator"), t = { type: "atom", style: "atom" }, i = { type: "punctuation", style: null }, o = { type: "axis_specifier", style: "qualifier" }, l = {
|
|
6
|
+
",": i
|
|
7
|
+
}, p = [
|
|
8
|
+
"after",
|
|
9
|
+
"all",
|
|
10
|
+
"allowing",
|
|
11
|
+
"ancestor",
|
|
12
|
+
"ancestor-or-self",
|
|
13
|
+
"any",
|
|
14
|
+
"array",
|
|
15
|
+
"as",
|
|
16
|
+
"ascending",
|
|
17
|
+
"at",
|
|
18
|
+
"attribute",
|
|
19
|
+
"base-uri",
|
|
20
|
+
"before",
|
|
21
|
+
"boundary-space",
|
|
22
|
+
"by",
|
|
23
|
+
"case",
|
|
24
|
+
"cast",
|
|
25
|
+
"castable",
|
|
26
|
+
"catch",
|
|
27
|
+
"child",
|
|
28
|
+
"collation",
|
|
29
|
+
"comment",
|
|
30
|
+
"construction",
|
|
31
|
+
"contains",
|
|
32
|
+
"content",
|
|
33
|
+
"context",
|
|
34
|
+
"copy",
|
|
35
|
+
"copy-namespaces",
|
|
36
|
+
"count",
|
|
37
|
+
"decimal-format",
|
|
38
|
+
"declare",
|
|
39
|
+
"default",
|
|
40
|
+
"delete",
|
|
41
|
+
"descendant",
|
|
42
|
+
"descendant-or-self",
|
|
43
|
+
"descending",
|
|
44
|
+
"diacritics",
|
|
45
|
+
"different",
|
|
46
|
+
"distance",
|
|
47
|
+
"document",
|
|
48
|
+
"document-node",
|
|
49
|
+
"element",
|
|
50
|
+
"else",
|
|
51
|
+
"empty",
|
|
52
|
+
"empty-sequence",
|
|
53
|
+
"encoding",
|
|
54
|
+
"end",
|
|
55
|
+
"entire",
|
|
56
|
+
"every",
|
|
57
|
+
"exactly",
|
|
58
|
+
"except",
|
|
59
|
+
"external",
|
|
60
|
+
"first",
|
|
61
|
+
"following",
|
|
62
|
+
"following-sibling",
|
|
63
|
+
"for",
|
|
64
|
+
"from",
|
|
65
|
+
"ftand",
|
|
66
|
+
"ftnot",
|
|
67
|
+
"ft-option",
|
|
68
|
+
"ftor",
|
|
69
|
+
"function",
|
|
70
|
+
"fuzzy",
|
|
71
|
+
"greatest",
|
|
72
|
+
"group",
|
|
73
|
+
"if",
|
|
74
|
+
"import",
|
|
75
|
+
"in",
|
|
76
|
+
"inherit",
|
|
77
|
+
"insensitive",
|
|
78
|
+
"insert",
|
|
79
|
+
"instance",
|
|
80
|
+
"intersect",
|
|
81
|
+
"into",
|
|
82
|
+
"invoke",
|
|
83
|
+
"is",
|
|
84
|
+
"item",
|
|
85
|
+
"language",
|
|
86
|
+
"last",
|
|
87
|
+
"lax",
|
|
88
|
+
"least",
|
|
89
|
+
"let",
|
|
90
|
+
"levels",
|
|
91
|
+
"lowercase",
|
|
92
|
+
"map",
|
|
93
|
+
"modify",
|
|
94
|
+
"module",
|
|
95
|
+
"most",
|
|
96
|
+
"namespace",
|
|
97
|
+
"next",
|
|
98
|
+
"no",
|
|
99
|
+
"node",
|
|
100
|
+
"nodes",
|
|
101
|
+
"no-inherit",
|
|
102
|
+
"no-preserve",
|
|
103
|
+
"not",
|
|
104
|
+
"occurs",
|
|
105
|
+
"of",
|
|
106
|
+
"only",
|
|
107
|
+
"option",
|
|
108
|
+
"order",
|
|
109
|
+
"ordered",
|
|
110
|
+
"ordering",
|
|
111
|
+
"paragraph",
|
|
112
|
+
"paragraphs",
|
|
113
|
+
"parent",
|
|
114
|
+
"phrase",
|
|
115
|
+
"preceding",
|
|
116
|
+
"preceding-sibling",
|
|
117
|
+
"preserve",
|
|
118
|
+
"previous",
|
|
119
|
+
"processing-instruction",
|
|
120
|
+
"relationship",
|
|
121
|
+
"rename",
|
|
122
|
+
"replace",
|
|
123
|
+
"return",
|
|
124
|
+
"revalidation",
|
|
125
|
+
"same",
|
|
126
|
+
"satisfies",
|
|
127
|
+
"schema",
|
|
128
|
+
"schema-attribute",
|
|
129
|
+
"schema-element",
|
|
130
|
+
"score",
|
|
131
|
+
"self",
|
|
132
|
+
"sensitive",
|
|
133
|
+
"sentence",
|
|
134
|
+
"sentences",
|
|
135
|
+
"sequence",
|
|
136
|
+
"skip",
|
|
137
|
+
"sliding",
|
|
138
|
+
"some",
|
|
139
|
+
"stable",
|
|
140
|
+
"start",
|
|
141
|
+
"stemming",
|
|
142
|
+
"stop",
|
|
143
|
+
"strict",
|
|
144
|
+
"strip",
|
|
145
|
+
"switch",
|
|
146
|
+
"text",
|
|
147
|
+
"then",
|
|
148
|
+
"thesaurus",
|
|
149
|
+
"times",
|
|
150
|
+
"to",
|
|
151
|
+
"transform",
|
|
152
|
+
"treat",
|
|
153
|
+
"try",
|
|
154
|
+
"tumbling",
|
|
155
|
+
"type",
|
|
156
|
+
"typeswitch",
|
|
157
|
+
"union",
|
|
158
|
+
"unordered",
|
|
159
|
+
"update",
|
|
160
|
+
"updating",
|
|
161
|
+
"uppercase",
|
|
162
|
+
"using",
|
|
163
|
+
"validate",
|
|
164
|
+
"value",
|
|
165
|
+
"variable",
|
|
166
|
+
"version",
|
|
167
|
+
"weight",
|
|
168
|
+
"when",
|
|
169
|
+
"where",
|
|
170
|
+
"wildcards",
|
|
171
|
+
"window",
|
|
172
|
+
"with",
|
|
173
|
+
"without",
|
|
174
|
+
"word",
|
|
175
|
+
"words",
|
|
176
|
+
"xquery"
|
|
177
|
+
], r = 0, a = p.length; r < a; r++)
|
|
178
|
+
l[p[r]] = e(p[r]);
|
|
179
|
+
for (var g = [
|
|
180
|
+
"xs:anyAtomicType",
|
|
181
|
+
"xs:anySimpleType",
|
|
182
|
+
"xs:anyType",
|
|
183
|
+
"xs:anyURI",
|
|
184
|
+
"xs:base64Binary",
|
|
185
|
+
"xs:boolean",
|
|
186
|
+
"xs:byte",
|
|
187
|
+
"xs:date",
|
|
188
|
+
"xs:dateTime",
|
|
189
|
+
"xs:dateTimeStamp",
|
|
190
|
+
"xs:dayTimeDuration",
|
|
191
|
+
"xs:decimal",
|
|
192
|
+
"xs:double",
|
|
193
|
+
"xs:duration",
|
|
194
|
+
"xs:ENTITIES",
|
|
195
|
+
"xs:ENTITY",
|
|
196
|
+
"xs:float",
|
|
197
|
+
"xs:gDay",
|
|
198
|
+
"xs:gMonth",
|
|
199
|
+
"xs:gMonthDay",
|
|
200
|
+
"xs:gYear",
|
|
201
|
+
"xs:gYearMonth",
|
|
202
|
+
"xs:hexBinary",
|
|
203
|
+
"xs:ID",
|
|
204
|
+
"xs:IDREF",
|
|
205
|
+
"xs:IDREFS",
|
|
206
|
+
"xs:int",
|
|
207
|
+
"xs:integer",
|
|
208
|
+
"xs:item",
|
|
209
|
+
"xs:java",
|
|
210
|
+
"xs:language",
|
|
211
|
+
"xs:long",
|
|
212
|
+
"xs:Name",
|
|
213
|
+
"xs:NCName",
|
|
214
|
+
"xs:negativeInteger",
|
|
215
|
+
"xs:NMTOKEN",
|
|
216
|
+
"xs:NMTOKENS",
|
|
217
|
+
"xs:nonNegativeInteger",
|
|
218
|
+
"xs:nonPositiveInteger",
|
|
219
|
+
"xs:normalizedString",
|
|
220
|
+
"xs:NOTATION",
|
|
221
|
+
"xs:numeric",
|
|
222
|
+
"xs:positiveInteger",
|
|
223
|
+
"xs:precisionDecimal",
|
|
224
|
+
"xs:QName",
|
|
225
|
+
"xs:short",
|
|
226
|
+
"xs:string",
|
|
227
|
+
"xs:time",
|
|
228
|
+
"xs:token",
|
|
229
|
+
"xs:unsignedByte",
|
|
230
|
+
"xs:unsignedInt",
|
|
231
|
+
"xs:unsignedLong",
|
|
232
|
+
"xs:unsignedShort",
|
|
233
|
+
"xs:untyped",
|
|
234
|
+
"xs:untypedAtomic",
|
|
235
|
+
"xs:yearMonthDuration"
|
|
236
|
+
], r = 0, a = g.length; r < a; r++)
|
|
237
|
+
l[g[r]] = t;
|
|
238
|
+
for (var f = ["eq", "ne", "lt", "le", "gt", "ge", ":=", "=", ">", ">=", "<", "<=", ".", "|", "?", "and", "or", "div", "idiv", "mod", "*", "/", "+", "-"], r = 0, a = f.length; r < a; r++)
|
|
239
|
+
l[f[r]] = n;
|
|
240
|
+
for (var v = [
|
|
241
|
+
"self::",
|
|
242
|
+
"attribute::",
|
|
243
|
+
"child::",
|
|
244
|
+
"descendant::",
|
|
245
|
+
"descendant-or-self::",
|
|
246
|
+
"parent::",
|
|
247
|
+
"ancestor::",
|
|
248
|
+
"ancestor-or-self::",
|
|
249
|
+
"following::",
|
|
250
|
+
"preceding::",
|
|
251
|
+
"following-sibling::",
|
|
252
|
+
"preceding-sibling::"
|
|
253
|
+
], r = 0, a = v.length; r < a; r++)
|
|
254
|
+
l[v[r]] = o;
|
|
255
|
+
return l;
|
|
256
|
+
}();
|
|
257
|
+
function x(e, n, t) {
|
|
258
|
+
return n.tokenize = t, t(e, n);
|
|
259
|
+
}
|
|
260
|
+
function u(e, n) {
|
|
261
|
+
var t = e.next(), i = !1, o = _(e);
|
|
262
|
+
if (t == "<") {
|
|
263
|
+
if (e.match("!--", !0))
|
|
264
|
+
return x(e, n, N);
|
|
265
|
+
if (e.match("![CDATA", !1))
|
|
266
|
+
return n.tokenize = E, "tag";
|
|
267
|
+
if (e.match("?", !1))
|
|
268
|
+
return x(e, n, A);
|
|
269
|
+
var l = e.eat("/");
|
|
270
|
+
e.eatSpace();
|
|
271
|
+
for (var p = "", r; r = e.eat(/[^\s\u00a0=<>\"\'\/?]/); ) p += r;
|
|
272
|
+
return x(e, n, S(p, l));
|
|
273
|
+
} else {
|
|
274
|
+
if (t == "{")
|
|
275
|
+
return s(n, { type: "codeblock" }), null;
|
|
276
|
+
if (t == "}")
|
|
277
|
+
return c(n), null;
|
|
278
|
+
if (b(n))
|
|
279
|
+
return t == ">" ? "tag" : t == "/" && e.eat(">") ? (c(n), "tag") : "variable";
|
|
280
|
+
if (/\d/.test(t))
|
|
281
|
+
return e.match(/^\d*(?:\.\d*)?(?:E[+\-]?\d+)?/), "atom";
|
|
282
|
+
if (t === "(" && e.eat(":"))
|
|
283
|
+
return s(n, { type: "comment" }), x(e, n, z);
|
|
284
|
+
if (!o && (t === '"' || t === "'"))
|
|
285
|
+
return m(e, n, t);
|
|
286
|
+
if (t === "$")
|
|
287
|
+
return x(e, n, T);
|
|
288
|
+
if (t === ":" && e.eat("="))
|
|
289
|
+
return "keyword";
|
|
290
|
+
if (t === "(")
|
|
291
|
+
return s(n, { type: "paren" }), null;
|
|
292
|
+
if (t === ")")
|
|
293
|
+
return c(n), null;
|
|
294
|
+
if (t === "[")
|
|
295
|
+
return s(n, { type: "bracket" }), null;
|
|
296
|
+
if (t === "]")
|
|
297
|
+
return c(n), null;
|
|
298
|
+
var a = d.propertyIsEnumerable(t) && d[t];
|
|
299
|
+
if (o && t === '"') for (; e.next() !== '"'; )
|
|
300
|
+
;
|
|
301
|
+
if (o && t === "'") for (; e.next() !== "'"; )
|
|
302
|
+
;
|
|
303
|
+
a || e.eatWhile(/[\w\$_-]/);
|
|
304
|
+
var g = e.eat(":");
|
|
305
|
+
!e.eat(":") && g && e.eatWhile(/[\w\$_-]/), e.match(/^[ \t]*\(/, !1) && (i = !0);
|
|
306
|
+
var f = e.current();
|
|
307
|
+
return a = d.propertyIsEnumerable(f) && d[f], i && !a && (a = { type: "function_call", style: "def" }), D(n) ? (c(n), "variable") : ((f == "element" || f == "attribute" || a.type == "axis_specifier") && s(n, { type: "xmlconstructor" }), a ? a.style : "variable");
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
function z(e, n) {
|
|
311
|
+
for (var t = !1, i = !1, o = 0, l; l = e.next(); ) {
|
|
312
|
+
if (l == ")" && t)
|
|
313
|
+
if (o > 0)
|
|
314
|
+
o--;
|
|
315
|
+
else {
|
|
316
|
+
c(n);
|
|
317
|
+
break;
|
|
318
|
+
}
|
|
319
|
+
else l == ":" && i && o++;
|
|
320
|
+
t = l == ":", i = l == "(";
|
|
321
|
+
}
|
|
322
|
+
return "comment";
|
|
323
|
+
}
|
|
324
|
+
function I(e, n) {
|
|
325
|
+
return function(t, i) {
|
|
326
|
+
for (var o; o = t.next(); )
|
|
327
|
+
if (o == e) {
|
|
328
|
+
c(i), n && (i.tokenize = n);
|
|
329
|
+
break;
|
|
330
|
+
} else if (t.match("{", !1) && h(i))
|
|
331
|
+
return s(i, { type: "codeblock" }), i.tokenize = u, "string";
|
|
332
|
+
return "string";
|
|
333
|
+
};
|
|
334
|
+
}
|
|
335
|
+
function m(e, n, t, i) {
|
|
336
|
+
let o = I(t, i);
|
|
337
|
+
return s(n, { type: "string", name: t, tokenize: o }), x(e, n, o);
|
|
338
|
+
}
|
|
339
|
+
function T(e, n) {
|
|
340
|
+
var t = /[\w\$_-]/;
|
|
341
|
+
if (e.eat('"')) {
|
|
342
|
+
for (; e.next() !== '"'; )
|
|
343
|
+
;
|
|
344
|
+
e.eat(":");
|
|
345
|
+
} else
|
|
346
|
+
e.eatWhile(t), e.match(":=", !1) || e.eat(":");
|
|
347
|
+
return e.eatWhile(t), n.tokenize = u, "variable";
|
|
348
|
+
}
|
|
349
|
+
function S(e, n) {
|
|
350
|
+
return function(t, i) {
|
|
351
|
+
if (t.eatSpace(), n && t.eat(">"))
|
|
352
|
+
return c(i), i.tokenize = u, "tag";
|
|
353
|
+
if (t.eat("/") || s(i, { type: "tag", name: e, tokenize: u }), t.eat(">"))
|
|
354
|
+
i.tokenize = u;
|
|
355
|
+
else
|
|
356
|
+
return i.tokenize = y, "tag";
|
|
357
|
+
return "tag";
|
|
358
|
+
};
|
|
359
|
+
}
|
|
360
|
+
function y(e, n) {
|
|
361
|
+
var t = e.next();
|
|
362
|
+
return t == "/" && e.eat(">") ? (h(n) && c(n), b(n) && c(n), "tag") : t == ">" ? (h(n) && c(n), "tag") : t == "=" ? null : t == '"' || t == "'" ? m(e, n, t, y) : (h(n) || s(n, { type: "attribute", tokenize: y }), e.eat(/[a-zA-Z_:]/), e.eatWhile(/[-a-zA-Z0-9_:.]/), e.eatSpace(), (e.match(">", !1) || e.match("/", !1)) && (c(n), n.tokenize = u), "attribute");
|
|
363
|
+
}
|
|
364
|
+
function N(e, n) {
|
|
365
|
+
for (var t; t = e.next(); )
|
|
366
|
+
if (t == "-" && e.match("->", !0))
|
|
367
|
+
return n.tokenize = u, "comment";
|
|
368
|
+
}
|
|
369
|
+
function E(e, n) {
|
|
370
|
+
for (var t; t = e.next(); )
|
|
371
|
+
if (t == "]" && e.match("]", !0))
|
|
372
|
+
return n.tokenize = u, "comment";
|
|
373
|
+
}
|
|
374
|
+
function A(e, n) {
|
|
375
|
+
for (var t; t = e.next(); )
|
|
376
|
+
if (t == "?" && e.match(">", !0))
|
|
377
|
+
return n.tokenize = u, "processingInstruction";
|
|
378
|
+
}
|
|
379
|
+
function b(e) {
|
|
380
|
+
return k(e, "tag");
|
|
381
|
+
}
|
|
382
|
+
function h(e) {
|
|
383
|
+
return k(e, "attribute");
|
|
384
|
+
}
|
|
385
|
+
function D(e) {
|
|
386
|
+
return k(e, "xmlconstructor");
|
|
387
|
+
}
|
|
388
|
+
function _(e) {
|
|
389
|
+
return e.current() === '"' ? e.match(/^[^\"]+\"\:/, !1) : e.current() === "'" ? e.match(/^[^\"]+\'\:/, !1) : !1;
|
|
390
|
+
}
|
|
391
|
+
function k(e, n) {
|
|
392
|
+
return e.stack.length && e.stack[e.stack.length - 1].type == n;
|
|
393
|
+
}
|
|
394
|
+
function s(e, n) {
|
|
395
|
+
e.stack.push(n);
|
|
396
|
+
}
|
|
397
|
+
function c(e) {
|
|
398
|
+
e.stack.pop();
|
|
399
|
+
var n = e.stack.length && e.stack[e.stack.length - 1].tokenize;
|
|
400
|
+
e.tokenize = n || u;
|
|
401
|
+
}
|
|
402
|
+
const C = {
|
|
403
|
+
name: "xquery",
|
|
404
|
+
startState: function() {
|
|
405
|
+
return {
|
|
406
|
+
tokenize: u,
|
|
407
|
+
cc: [],
|
|
408
|
+
stack: []
|
|
409
|
+
};
|
|
410
|
+
},
|
|
411
|
+
token: function(e, n) {
|
|
412
|
+
if (e.eatSpace()) return null;
|
|
413
|
+
var t = n.tokenize(e, n);
|
|
414
|
+
return t;
|
|
415
|
+
},
|
|
416
|
+
languageData: {
|
|
417
|
+
commentTokens: { block: { open: "(:", close: ":)" } }
|
|
418
|
+
}
|
|
419
|
+
};
|
|
420
|
+
export {
|
|
421
|
+
C as xQuery
|
|
422
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var d=function(){function e(w){return{type:w,style:"keyword"}}for(var n=e("operator"),t={type:"atom",style:"atom"},i={type:"punctuation",style:null},o={type:"axis_specifier",style:"qualifier"},l={",":i},p=["after","all","allowing","ancestor","ancestor-or-self","any","array","as","ascending","at","attribute","base-uri","before","boundary-space","by","case","cast","castable","catch","child","collation","comment","construction","contains","content","context","copy","copy-namespaces","count","decimal-format","declare","default","delete","descendant","descendant-or-self","descending","diacritics","different","distance","document","document-node","element","else","empty","empty-sequence","encoding","end","entire","every","exactly","except","external","first","following","following-sibling","for","from","ftand","ftnot","ft-option","ftor","function","fuzzy","greatest","group","if","import","in","inherit","insensitive","insert","instance","intersect","into","invoke","is","item","language","last","lax","least","let","levels","lowercase","map","modify","module","most","namespace","next","no","node","nodes","no-inherit","no-preserve","not","occurs","of","only","option","order","ordered","ordering","paragraph","paragraphs","parent","phrase","preceding","preceding-sibling","preserve","previous","processing-instruction","relationship","rename","replace","return","revalidation","same","satisfies","schema","schema-attribute","schema-element","score","self","sensitive","sentence","sentences","sequence","skip","sliding","some","stable","start","stemming","stop","strict","strip","switch","text","then","thesaurus","times","to","transform","treat","try","tumbling","type","typeswitch","union","unordered","update","updating","uppercase","using","validate","value","variable","version","weight","when","where","wildcards","window","with","without","word","words","xquery"],r=0,a=p.length;r<a;r++)l[p[r]]=e(p[r]);for(var x=["xs:anyAtomicType","xs:anySimpleType","xs:anyType","xs:anyURI","xs:base64Binary","xs:boolean","xs:byte","xs:date","xs:dateTime","xs:dateTimeStamp","xs:dayTimeDuration","xs:decimal","xs:double","xs:duration","xs:ENTITIES","xs:ENTITY","xs:float","xs:gDay","xs:gMonth","xs:gMonthDay","xs:gYear","xs:gYearMonth","xs:hexBinary","xs:ID","xs:IDREF","xs:IDREFS","xs:int","xs:integer","xs:item","xs:java","xs:language","xs:long","xs:Name","xs:NCName","xs:negativeInteger","xs:NMTOKEN","xs:NMTOKENS","xs:nonNegativeInteger","xs:nonPositiveInteger","xs:normalizedString","xs:NOTATION","xs:numeric","xs:positiveInteger","xs:precisionDecimal","xs:QName","xs:short","xs:string","xs:time","xs:token","xs:unsignedByte","xs:unsignedInt","xs:unsignedLong","xs:unsignedShort","xs:untyped","xs:untypedAtomic","xs:yearMonthDuration"],r=0,a=x.length;r<a;r++)l[x[r]]=t;for(var f=["eq","ne","lt","le","gt","ge",":=","=",">",">=","<","<=",".","|","?","and","or","div","idiv","mod","*","/","+","-"],r=0,a=f.length;r<a;r++)l[f[r]]=n;for(var v=["self::","attribute::","child::","descendant::","descendant-or-self::","parent::","ancestor::","ancestor-or-self::","following::","preceding::","following-sibling::","preceding-sibling::"],r=0,a=v.length;r<a;r++)l[v[r]]=o;return l}();function g(e,n,t){return n.tokenize=t,t(e,n)}function u(e,n){var t=e.next(),i=!1,o=_(e);if(t=="<"){if(e.match("!--",!0))return g(e,n,N);if(e.match("![CDATA",!1))return n.tokenize=E,"tag";if(e.match("?",!1))return g(e,n,A);var l=e.eat("/");e.eatSpace();for(var p="",r;r=e.eat(/[^\s\u00a0=<>\"\'\/?]/);)p+=r;return g(e,n,T(p,l))}else{if(t=="{")return s(n,{type:"codeblock"}),null;if(t=="}")return c(n),null;if(b(n))return t==">"?"tag":t=="/"&&e.eat(">")?(c(n),"tag"):"variable";if(/\d/.test(t))return e.match(/^\d*(?:\.\d*)?(?:E[+\-]?\d+)?/),"atom";if(t==="("&&e.eat(":"))return s(n,{type:"comment"}),g(e,n,z);if(!o&&(t==='"'||t==="'"))return m(e,n,t);if(t==="$")return g(e,n,S);if(t===":"&&e.eat("="))return"keyword";if(t==="(")return s(n,{type:"paren"}),null;if(t===")")return c(n),null;if(t==="[")return s(n,{type:"bracket"}),null;if(t==="]")return c(n),null;var a=d.propertyIsEnumerable(t)&&d[t];if(o&&t==='"')for(;e.next()!=='"';);if(o&&t==="'")for(;e.next()!=="'";);a||e.eatWhile(/[\w\$_-]/);var x=e.eat(":");!e.eat(":")&&x&&e.eatWhile(/[\w\$_-]/),e.match(/^[ \t]*\(/,!1)&&(i=!0);var f=e.current();return a=d.propertyIsEnumerable(f)&&d[f],i&&!a&&(a={type:"function_call",style:"def"}),D(n)?(c(n),"variable"):((f=="element"||f=="attribute"||a.type=="axis_specifier")&&s(n,{type:"xmlconstructor"}),a?a.style:"variable")}}function z(e,n){for(var t=!1,i=!1,o=0,l;l=e.next();){if(l==")"&&t)if(o>0)o--;else{c(n);break}else l==":"&&i&&o++;t=l==":",i=l=="("}return"comment"}function I(e,n){return function(t,i){for(var o;o=t.next();)if(o==e){c(i),n&&(i.tokenize=n);break}else if(t.match("{",!1)&&h(i))return s(i,{type:"codeblock"}),i.tokenize=u,"string";return"string"}}function m(e,n,t,i){let o=I(t,i);return s(n,{type:"string",name:t,tokenize:o}),g(e,n,o)}function S(e,n){var t=/[\w\$_-]/;if(e.eat('"')){for(;e.next()!=='"';);e.eat(":")}else e.eatWhile(t),e.match(":=",!1)||e.eat(":");return e.eatWhile(t),n.tokenize=u,"variable"}function T(e,n){return function(t,i){if(t.eatSpace(),n&&t.eat(">"))return c(i),i.tokenize=u,"tag";if(t.eat("/")||s(i,{type:"tag",name:e,tokenize:u}),t.eat(">"))i.tokenize=u;else return i.tokenize=y,"tag";return"tag"}}function y(e,n){var t=e.next();return t=="/"&&e.eat(">")?(h(n)&&c(n),b(n)&&c(n),"tag"):t==">"?(h(n)&&c(n),"tag"):t=="="?null:t=='"'||t=="'"?m(e,n,t,y):(h(n)||s(n,{type:"attribute",tokenize:y}),e.eat(/[a-zA-Z_:]/),e.eatWhile(/[-a-zA-Z0-9_:.]/),e.eatSpace(),(e.match(">",!1)||e.match("/",!1))&&(c(n),n.tokenize=u),"attribute")}function N(e,n){for(var t;t=e.next();)if(t=="-"&&e.match("->",!0))return n.tokenize=u,"comment"}function E(e,n){for(var t;t=e.next();)if(t=="]"&&e.match("]",!0))return n.tokenize=u,"comment"}function A(e,n){for(var t;t=e.next();)if(t=="?"&&e.match(">",!0))return n.tokenize=u,"processingInstruction"}function b(e){return k(e,"tag")}function h(e){return k(e,"attribute")}function D(e){return k(e,"xmlconstructor")}function _(e){return e.current()==='"'?e.match(/^[^\"]+\"\:/,!1):e.current()==="'"?e.match(/^[^\"]+\'\:/,!1):!1}function k(e,n){return e.stack.length&&e.stack[e.stack.length-1].type==n}function s(e,n){e.stack.push(n)}function c(e){e.stack.pop();var n=e.stack.length&&e.stack[e.stack.length-1].tokenize;e.tokenize=n||u}const C={name:"xquery",startState:function(){return{tokenize:u,cc:[],stack:[]}},token:function(e,n){if(e.eatSpace())return null;var t=n.tokenize(e,n);return t},languageData:{commentTokens:{block:{open:"(:",close:":)"}}}};exports.xQuery=C;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
function t(e) {
|
|
2
|
+
for (var n = {}, r = e.split(" "), o = 0; o < r.length; ++o) n[r[o]] = !0;
|
|
3
|
+
return n;
|
|
4
|
+
}
|
|
5
|
+
var a = t("Assert BackQuote D Defun Deriv For ForEach FromFile FromString Function Integrate InverseTaylor Limit LocalSymbols Macro MacroRule MacroRulePattern NIntegrate Rule RulePattern Subst TD TExplicitSum TSum Taylor Taylor1 Taylor2 Taylor3 ToFile ToStdout ToString TraceRule Until While"), f = "(?:(?:\\.\\d+|\\d+\\.\\d*|\\d+)(?:[eE][+-]?\\d+)?)", u = "(?:[a-zA-Z\\$'][a-zA-Z0-9\\$']*)", p = new RegExp(f), d = new RegExp(u), k = new RegExp(u + "?_" + u), s = new RegExp(u + "\\s*\\(");
|
|
6
|
+
function l(e, n) {
|
|
7
|
+
var r;
|
|
8
|
+
if (r = e.next(), r === '"')
|
|
9
|
+
return n.tokenize = v, n.tokenize(e, n);
|
|
10
|
+
if (r === "/") {
|
|
11
|
+
if (e.eat("*"))
|
|
12
|
+
return n.tokenize = h, n.tokenize(e, n);
|
|
13
|
+
if (e.eat("/"))
|
|
14
|
+
return e.skipToEnd(), "comment";
|
|
15
|
+
}
|
|
16
|
+
e.backUp(1);
|
|
17
|
+
var o = e.match(/^(\w+)\s*\(/, !1);
|
|
18
|
+
o !== null && a.hasOwnProperty(o[1]) && n.scopes.push("bodied");
|
|
19
|
+
var i = c(n);
|
|
20
|
+
if (i === "bodied" && r === "[" && n.scopes.pop(), (r === "[" || r === "{" || r === "(") && n.scopes.push(r), i = c(n), (i === "[" && r === "]" || i === "{" && r === "}" || i === "(" && r === ")") && n.scopes.pop(), r === ";")
|
|
21
|
+
for (; i === "bodied"; )
|
|
22
|
+
n.scopes.pop(), i = c(n);
|
|
23
|
+
return e.match(/\d+ *#/, !0, !1) ? "qualifier" : e.match(p, !0, !1) ? "number" : e.match(k, !0, !1) ? "variableName.special" : e.match(/(?:\[|\]|{|}|\(|\))/, !0, !1) ? "bracket" : e.match(s, !0, !1) ? (e.backUp(1), "variableName.function") : e.match(d, !0, !1) ? "variable" : e.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%|#)/, !0, !1) ? "operator" : "error";
|
|
24
|
+
}
|
|
25
|
+
function v(e, n) {
|
|
26
|
+
for (var r, o = !1, i = !1; (r = e.next()) != null; ) {
|
|
27
|
+
if (r === '"' && !i) {
|
|
28
|
+
o = !0;
|
|
29
|
+
break;
|
|
30
|
+
}
|
|
31
|
+
i = !i && r === "\\";
|
|
32
|
+
}
|
|
33
|
+
return o && !i && (n.tokenize = l), "string";
|
|
34
|
+
}
|
|
35
|
+
function h(e, n) {
|
|
36
|
+
for (var r, o; (o = e.next()) != null; ) {
|
|
37
|
+
if (r === "*" && o === "/") {
|
|
38
|
+
n.tokenize = l;
|
|
39
|
+
break;
|
|
40
|
+
}
|
|
41
|
+
r = o;
|
|
42
|
+
}
|
|
43
|
+
return "comment";
|
|
44
|
+
}
|
|
45
|
+
function c(e) {
|
|
46
|
+
var n = null;
|
|
47
|
+
return e.scopes.length > 0 && (n = e.scopes[e.scopes.length - 1]), n;
|
|
48
|
+
}
|
|
49
|
+
const b = {
|
|
50
|
+
name: "yacas",
|
|
51
|
+
startState: function() {
|
|
52
|
+
return {
|
|
53
|
+
tokenize: l,
|
|
54
|
+
scopes: []
|
|
55
|
+
};
|
|
56
|
+
},
|
|
57
|
+
token: function(e, n) {
|
|
58
|
+
return e.eatSpace() ? null : n.tokenize(e, n);
|
|
59
|
+
},
|
|
60
|
+
indent: function(e, n, r) {
|
|
61
|
+
if (e.tokenize !== l && e.tokenize !== null)
|
|
62
|
+
return null;
|
|
63
|
+
var o = 0;
|
|
64
|
+
return (n === "]" || n === "];" || n === "}" || n === "};" || n === ");") && (o = -1), (e.scopes.length + o) * r.unit;
|
|
65
|
+
},
|
|
66
|
+
languageData: {
|
|
67
|
+
electricInput: /[{}\[\]()\;]/,
|
|
68
|
+
commentTokens: { line: "//", block: { open: "/*", close: "*/" } }
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
export {
|
|
72
|
+
b as yacas
|
|
73
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function c(e){for(var n={},r=e.split(" "),o=0;o<r.length;++o)n[r[o]]=!0;return n}var a=c("Assert BackQuote D Defun Deriv For ForEach FromFile FromString Function Integrate InverseTaylor Limit LocalSymbols Macro MacroRule MacroRulePattern NIntegrate Rule RulePattern Subst TD TExplicitSum TSum Taylor Taylor1 Taylor2 Taylor3 ToFile ToStdout ToString TraceRule Until While"),f="(?:(?:\\.\\d+|\\d+\\.\\d*|\\d+)(?:[eE][+-]?\\d+)?)",u="(?:[a-zA-Z\\$'][a-zA-Z0-9\\$']*)",p=new RegExp(f),d=new RegExp(u),s=new RegExp(u+"?_"+u),k=new RegExp(u+"\\s*\\(");function l(e,n){var r;if(r=e.next(),r==='"')return n.tokenize=v,n.tokenize(e,n);if(r==="/"){if(e.eat("*"))return n.tokenize=h,n.tokenize(e,n);if(e.eat("/"))return e.skipToEnd(),"comment"}e.backUp(1);var o=e.match(/^(\w+)\s*\(/,!1);o!==null&&a.hasOwnProperty(o[1])&&n.scopes.push("bodied");var i=t(n);if(i==="bodied"&&r==="["&&n.scopes.pop(),(r==="["||r==="{"||r==="(")&&n.scopes.push(r),i=t(n),(i==="["&&r==="]"||i==="{"&&r==="}"||i==="("&&r===")")&&n.scopes.pop(),r===";")for(;i==="bodied";)n.scopes.pop(),i=t(n);return e.match(/\d+ *#/,!0,!1)?"qualifier":e.match(p,!0,!1)?"number":e.match(s,!0,!1)?"variableName.special":e.match(/(?:\[|\]|{|}|\(|\))/,!0,!1)?"bracket":e.match(k,!0,!1)?(e.backUp(1),"variableName.function"):e.match(d,!0,!1)?"variable":e.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%|#)/,!0,!1)?"operator":"error"}function v(e,n){for(var r,o=!1,i=!1;(r=e.next())!=null;){if(r==='"'&&!i){o=!0;break}i=!i&&r==="\\"}return o&&!i&&(n.tokenize=l),"string"}function h(e,n){for(var r,o;(o=e.next())!=null;){if(r==="*"&&o==="/"){n.tokenize=l;break}r=o}return"comment"}function t(e){var n=null;return e.scopes.length>0&&(n=e.scopes[e.scopes.length-1]),n}const b={name:"yacas",startState:function(){return{tokenize:l,scopes:[]}},token:function(e,n){return e.eatSpace()?null:n.tokenize(e,n)},indent:function(e,n,r){if(e.tokenize!==l&&e.tokenize!==null)return null;var o=0;return(n==="]"||n==="];"||n==="}"||n==="};"||n===");")&&(o=-1),(e.scopes.length+o)*r.unit},languageData:{electricInput:/[{}\[\]()\;]/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}};exports.yacas=b;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function o(t){var n,l;t?(n=/^(exx?|(ld|cp)([di]r?)?|[lp]ea|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|[de]i|halt|im|in([di]mr?|ir?|irx|2r?)|ot(dmr?|[id]rx|imr?)|out(0?|[di]r?|[di]2r?)|tst(io)?|slp)(\.([sl]?i)?[sl])?\b/i,l=/^(((call|j[pr]|rst|ret[in]?)(\.([sl]?i)?[sl])?)|(rs|st)mix)\b/i):(n=/^(exx?|(ld|cp|in)([di]r?)?|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|rst|[de]i|halt|im|ot[di]r|out[di]?)\b/i,l=/^(call|j[pr]|ret[in]?|b_?(call|jump))\b/i);var u=/^(af?|bc?|c|de?|e|hl?|l|i[xy]?|r|sp)\b/i,d=/^(n?[zc]|p[oe]?|m)\b/i,f=/^([hl][xy]|i[xy][hl]|slia|sll)\b/i,c=/^([\da-f]+h|[0-7]+o|[01]+b|\d+d?)\b/i;return{name:"z80",startState:function(){return{context:0}},token:function(e,i){if(e.column()||(i.context=0),e.eatSpace())return null;var r;if(e.eatWhile(/\w/))if(t&&e.eat(".")&&e.eatWhile(/\w/),r=e.current(),e.indentation()){if((i.context==1||i.context==4)&&u.test(r))return i.context=4,"variable";if(i.context==2&&d.test(r))return i.context=4,"variableName.special";if(n.test(r))return i.context=1,"keyword";if(l.test(r))return i.context=2,"keyword";if(i.context==4&&c.test(r))return"number";if(f.test(r))return"error"}else return e.match(c)?"number":null;else{if(e.eat(";"))return e.skipToEnd(),"comment";if(e.eat('"')){for(;(r=e.next())&&r!='"';)r=="\\"&&e.next();return"string"}else if(e.eat("'")){if(e.match(/\\?.'/))return"number"}else if(e.eat(".")||e.sol()&&e.eat("#")){if(i.context=5,e.eatWhile(/\w/))return"def"}else if(e.eat("$")){if(e.eatWhile(/[\da-f]/i))return"number"}else if(e.eat("%")){if(e.eatWhile(/[01]/))return"number"}else e.next()}return null}}}const a=o(!1);o(!0);exports.z80=a;
|