@tempots/beatui 0.16.0 → 0.18.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-C0NjrG2i.js +164 -0
- package/dist/2019-JlqBnfO0.cjs +1 -0
- package/dist/2020-lqWvthL_.js +192 -0
- package/dist/2020-r3MHWrkK.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-DReA9eQ2.cjs +1 -0
- package/dist/ar-NCCPhOpI.js +38 -0
- package/dist/ar-VA2yE-1i.js +82 -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-BIj_wrpg.cjs +1 -0
- package/dist/de-BUFLEyKr.cjs +1 -0
- package/dist/de-BVK2MkCk.js +38 -0
- package/dist/de-C14QN5V1.js +82 -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-B5GqMkMg.js +82 -0
- package/dist/es-BQS8PL9j.js +38 -0
- package/dist/es-BxBeTRCv.cjs +1 -0
- package/dist/es-D1oMYUqV.cjs +1 -0
- package/dist/fa-BxlrmcQK.js +82 -0
- package/dist/fa-D5TvDNdj.cjs +1 -0
- package/dist/fa-DxPseW3g.cjs +1 -0
- package/dist/fa-T-tkJSJr.js +38 -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-BzFxzocR.js +82 -0
- package/dist/fr-CSRRhyCG.js +38 -0
- package/dist/fr-Cdyopuz3.cjs +1 -0
- package/dist/fr-DPGRV4C4.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-Bxdc4M08.js +38 -0
- package/dist/he-DarDNPn0.cjs +1 -0
- package/dist/he-DjHXtt_S.js +82 -0
- package/dist/he-XNDY7609.cjs +1 -0
- package/dist/hi-CJeFvTBe.js +38 -0
- package/dist/hi-Xlc0IeoY.js +82 -0
- package/dist/hi-eMrnBh0O.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-22y56f5G.js +270 -0
- package/dist/index-85k3bgcY.cjs +1 -0
- package/dist/index-9HEatb8C.js +612 -0
- package/dist/index-B16dbwxM.cjs +1 -0
- package/dist/index-B1w_-cUQ.js +136 -0
- package/dist/index-B2079wM-.js +921 -0
- package/dist/index-B66rNs5i.cjs +2 -0
- package/dist/index-B79joQIU.js +76 -0
- package/dist/index-BDr9qHd0.js +138 -0
- package/dist/index-BF_OOMtT.js +1307 -0
- package/dist/index-BGcCFDkp.js +74 -0
- package/dist/index-BKr-B2hh.js +1874 -0
- package/dist/index-BUKtbimR.cjs +6 -0
- package/dist/index-BWxeedWQ.js +59 -0
- package/dist/index-BYk56bqR.cjs +13 -0
- package/dist/index-BZHMnjr6.cjs +1 -0
- package/dist/index-BguvTLHu.cjs +1 -0
- package/dist/index-BmUA4_Ip.js +302 -0
- package/dist/index-By8a3eg5.cjs +1 -0
- package/dist/index-C0t8aD9u.js +94 -0
- package/dist/index-C3BW17zm.cjs +1 -0
- package/dist/index-C4UzgyIA.cjs +1 -0
- package/dist/index-CIfx_bs7.cjs +7 -0
- package/dist/index-COyS3EXB.js +289 -0
- package/dist/index-CRfUh74G.cjs +1 -0
- package/dist/index-CY_sj-qf.js +309 -0
- package/dist/index-CeYwt1r1.js +342 -0
- package/dist/index-Cohec4rB.cjs +1 -0
- package/dist/index-CpqyQcup.js +552 -0
- package/dist/index-D-Rzl363.cjs +1 -0
- package/dist/index-D48AYUAg.js +226 -0
- package/dist/index-DD8_efWr.cjs +1 -0
- package/dist/index-DIO06RsV.js +554 -0
- package/dist/index-DLJt9Ebe.cjs +8 -0
- package/dist/index-DSvEBuy-.cjs +3 -0
- package/dist/index-DV7tB1MN.cjs +1 -0
- package/dist/index-DgUJYXoy.cjs +1 -0
- package/dist/index-Dghyrng7.js +960 -0
- package/dist/index-DjNMMz5-.cjs +1 -0
- package/dist/index-DpHYZhFL.js +251 -0
- package/dist/index-DutbjaBQ.js +101 -0
- package/dist/index-DxG_avr8.cjs +1 -0
- package/dist/index-FEy4Hwnx.cjs +1 -0
- package/dist/index-d3p39HQv.js +157 -0
- package/dist/index-dsitEt8M.cjs +1 -0
- package/dist/index-kk6qFeC5.cjs +1 -0
- package/dist/index-tOao3Qu5.js +953 -0
- package/dist/index-xnxTfNd2.js +8283 -0
- package/dist/index.cjs.js +143 -0
- package/dist/index.es.js +4736 -7849
- package/dist/index.esm-8xolKogd.cjs +1 -0
- package/dist/index.esm-CSotgpVw.js +4959 -0
- package/dist/it-BmFag7j0.cjs +1 -0
- package/dist/it-CR0FAQEB.js +82 -0
- package/dist/it-DzUV0SmB.cjs +1 -0
- package/dist/it-Zmp0BhIj.js +38 -0
- package/dist/ja-DWjoA-hQ.js +38 -0
- package/dist/ja-Dj-bAKLf.cjs +1 -0
- package/dist/ja-WICb5O3K.js +83 -0
- package/dist/ja-f2fDsTUD.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-30evSGGW.js +82 -0
- package/dist/ko-BOlI-33h.js +38 -0
- package/dist/ko-BomUE-yQ.cjs +1 -0
- package/dist/ko-DvDEQ6FS.cjs +1 -0
- package/dist/link-portal-B-RvroWY.js +5 -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-C-Muq7PQ.cjs +941 -0
- package/dist/milkdown-input-DaN9l6E_.js +62376 -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-Ba2uXVSD.cjs +1 -0
- package/dist/modal-CeVJb-Ko.js +614 -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-DaCzsF01.js +83 -0
- package/dist/nl-Dr-l6zUy.cjs +1 -0
- package/dist/nl-hmXJvCw7.cjs +1 -0
- package/dist/nl-kQNcAdY1.js +38 -0
- package/dist/notice-BgnHRPMk.js +2432 -0
- package/dist/notice-t8qZIDvK.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-CKyPFvss.js +38 -0
- package/dist/pl-Cg5Kr9eZ.cjs +1 -0
- package/dist/pl-DlMR1sq8.js +83 -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-B7uWbJ1j.cjs +1 -0
- package/dist/pt-DBmUhaNI.js +38 -0
- package/dist/pt-lX3h34iM.js +82 -0
- 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-2aVFFaQ-.js +87 -0
- package/dist/ru-CrQR5RUx.cjs +1 -0
- package/dist/ru-CsJ_yT-7.js +38 -0
- package/dist/ru-CtxMmoa6.cjs +1 -0
- 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-Bn5ldVJs.js +38 -0
- package/dist/tr-CgJ8uhZu.cjs +1 -0
- package/dist/tr-DN9zPGaS.cjs +1 -0
- package/dist/tr-DgRS_mcj.js +82 -0
- package/dist/translations-CSUEQrNH.cjs +2 -0
- package/dist/translations-CVR1KQJ3.js +47 -0
- package/dist/translations-CxMNY8i7.js +2006 -0
- package/dist/translations-pfS-x8Ak.cjs +1 -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/auth-i18n/default.d.ts +25 -25
- package/dist/types/auth-i18n/locales/ar.d.ts +25 -25
- package/dist/types/auth-i18n/locales/de.d.ts +25 -25
- package/dist/types/auth-i18n/locales/en.d.ts +25 -25
- package/dist/types/auth-i18n/locales/es.d.ts +25 -25
- package/dist/types/auth-i18n/locales/fa.d.ts +25 -25
- package/dist/types/auth-i18n/locales/fr.d.ts +25 -25
- package/dist/types/auth-i18n/locales/he.d.ts +25 -25
- package/dist/types/auth-i18n/locales/hi.d.ts +25 -25
- package/dist/types/auth-i18n/locales/it.d.ts +25 -25
- package/dist/types/auth-i18n/locales/ja.d.ts +25 -25
- package/dist/types/auth-i18n/locales/ko.d.ts +25 -25
- package/dist/types/auth-i18n/locales/nl.d.ts +25 -25
- package/dist/types/auth-i18n/locales/pl.d.ts +25 -25
- package/dist/types/auth-i18n/locales/pt.d.ts +25 -25
- package/dist/types/auth-i18n/locales/ru.d.ts +25 -25
- package/dist/types/auth-i18n/locales/tr.d.ts +25 -25
- package/dist/types/auth-i18n/locales/ur.d.ts +25 -25
- package/dist/types/auth-i18n/locales/vi.d.ts +25 -25
- package/dist/types/auth-i18n/locales/zh.d.ts +25 -25
- package/dist/types/auth-i18n/translations.d.ts +26 -26
- package/dist/types/beatui-i18n/default.d.ts +52 -41
- package/dist/types/beatui-i18n/locales/en.d.ts +52 -41
- package/dist/types/beatui-i18n/translations.d.ts +53 -42
- 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 +46 -48
- package/dist/types/components/auth/utils.d.ts +0 -2
- 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/data/unstyled-drop-zone.d.ts +5 -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 -3
- 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/i18n/make-i18nprovider.d.ts +2 -3
- 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/i18n/translate.d.ts +2 -17
- 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 +13 -2
- package/dist/types/utils/focus-trap.d.ts +4 -4
- package/dist/types/utils/format-file-size.d.ts +6 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/ur-Bg9eX81v.js +38 -0
- package/dist/ur-BzgBZpdY.cjs +1 -0
- package/dist/ur-DvqAg9gW.cjs +1 -0
- package/dist/ur-fgmvVBHY.js +82 -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-D5R3YcU0.cjs +1 -0
- package/dist/vi-DZzB43iu.js +82 -0
- package/dist/vi-DhdsHHf_.js +38 -0
- package/dist/vi-DijXfJCL.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-BIykcEu9.js +38 -0
- package/dist/zh-BMcC2kwD.cjs +1 -0
- package/dist/zh-Bcz-uyJp.js +82 -0
- package/dist/zh-CCGXcj5r.cjs +1 -0
- package/package.json +56 -7
- package/dist/ar-C7sFBvd3.js +0 -49
- package/dist/ar-D9ef1rPL.js +0 -38
- package/dist/de-DvSVUCKi.js +0 -38
- package/dist/de-g1A7pWNb.js +0 -49
- package/dist/es-VVHXE2N_.js +0 -49
- package/dist/es-kZH0y7yE.js +0 -38
- package/dist/fa-CJNIz_z3.js +0 -49
- package/dist/fa-CZ1jHeSI.js +0 -38
- package/dist/fr-Bi9Ce2bU.js +0 -38
- package/dist/fr-CV72Obmu.js +0 -49
- package/dist/he-B7FDQHq5.js +0 -49
- package/dist/he-iAAKM-JS.js +0 -38
- package/dist/hi-BCajgsBt.js +0 -49
- package/dist/hi-BMfFIHn-.js +0 -38
- package/dist/index.umd.js +0 -100
- package/dist/it-BeJHf7Ur.js +0 -49
- package/dist/it-RYZ8E-C6.js +0 -38
- package/dist/ja-4x5hNiAy.js +0 -38
- package/dist/ja-D5YyTu5k.js +0 -50
- package/dist/ko-BFy6uytC.js +0 -38
- package/dist/ko-DNqvHWiZ.js +0 -49
- package/dist/nl-BRZt7kSA.js +0 -38
- package/dist/nl-Cdbu51NB.js +0 -50
- package/dist/pl-Bru8UPLn.js +0 -50
- package/dist/pl-DKbc4KpN.js +0 -38
- package/dist/pt-Bful1nYu.js +0 -38
- package/dist/pt-LCfmUFgc.js +0 -49
- package/dist/ru-9lG4xtda.js +0 -38
- package/dist/ru-D7gTuXxP.js +0 -50
- package/dist/tr-D3uQnNr4.js +0 -38
- package/dist/tr-DlFekEUg.js +0 -49
- 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 -11
- 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
- package/dist/ur-BThJLsvD.js +0 -38
- package/dist/ur-mIO25A6L.js +0 -49
- package/dist/vi-Cd6F8iSa.js +0 -38
- package/dist/vi-Dw_DDZWP.js +0 -49
- package/dist/zh-Boy-i2zO.js +0 -38
- package/dist/zh-Dojj6P4C.js +0 -49
|
@@ -0,0 +1,691 @@
|
|
|
1
|
+
function fr(x) {
|
|
2
|
+
var br = x.statementIndent, ur = x.jsonld, pr = x.json || ur, k = x.typescript, U = x.wordCharacters || /[\w$\xa1-\uffff]/, wr = function() {
|
|
3
|
+
function r(v) {
|
|
4
|
+
return { type: v, style: "keyword" };
|
|
5
|
+
}
|
|
6
|
+
var e = r("keyword a"), t = r("keyword b"), f = r("keyword c"), u = r("keyword d"), c = r("operator"), m = { type: "atom", style: "atom" };
|
|
7
|
+
return {
|
|
8
|
+
if: r("if"),
|
|
9
|
+
while: e,
|
|
10
|
+
with: e,
|
|
11
|
+
else: t,
|
|
12
|
+
do: t,
|
|
13
|
+
try: t,
|
|
14
|
+
finally: t,
|
|
15
|
+
return: u,
|
|
16
|
+
break: u,
|
|
17
|
+
continue: u,
|
|
18
|
+
new: r("new"),
|
|
19
|
+
delete: f,
|
|
20
|
+
void: f,
|
|
21
|
+
throw: f,
|
|
22
|
+
debugger: r("debugger"),
|
|
23
|
+
var: r("var"),
|
|
24
|
+
const: r("var"),
|
|
25
|
+
let: r("var"),
|
|
26
|
+
function: r("function"),
|
|
27
|
+
catch: r("catch"),
|
|
28
|
+
for: r("for"),
|
|
29
|
+
switch: r("switch"),
|
|
30
|
+
case: r("case"),
|
|
31
|
+
default: r("default"),
|
|
32
|
+
in: c,
|
|
33
|
+
typeof: c,
|
|
34
|
+
instanceof: c,
|
|
35
|
+
true: m,
|
|
36
|
+
false: m,
|
|
37
|
+
null: m,
|
|
38
|
+
undefined: m,
|
|
39
|
+
NaN: m,
|
|
40
|
+
Infinity: m,
|
|
41
|
+
this: r("this"),
|
|
42
|
+
class: r("class"),
|
|
43
|
+
super: r("atom"),
|
|
44
|
+
yield: f,
|
|
45
|
+
export: r("export"),
|
|
46
|
+
import: r("import"),
|
|
47
|
+
extends: f,
|
|
48
|
+
await: f
|
|
49
|
+
};
|
|
50
|
+
}(), hr = /[+\-*&%=<>!?|~^@]/, Or = /^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;
|
|
51
|
+
function qr(r) {
|
|
52
|
+
for (var e = !1, t, f = !1; (t = r.next()) != null; ) {
|
|
53
|
+
if (!e) {
|
|
54
|
+
if (t == "/" && !f) return;
|
|
55
|
+
t == "[" ? f = !0 : f && t == "]" && (f = !1);
|
|
56
|
+
}
|
|
57
|
+
e = !e && t == "\\";
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
var D, G;
|
|
61
|
+
function p(r, e, t) {
|
|
62
|
+
return D = r, G = t, e;
|
|
63
|
+
}
|
|
64
|
+
function S(r, e) {
|
|
65
|
+
var t = r.next();
|
|
66
|
+
if (t == '"' || t == "'")
|
|
67
|
+
return e.tokenize = Nr(t), e.tokenize(r, e);
|
|
68
|
+
if (t == "." && r.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))
|
|
69
|
+
return p("number", "number");
|
|
70
|
+
if (t == "." && r.match(".."))
|
|
71
|
+
return p("spread", "meta");
|
|
72
|
+
if (/[\[\]{}\(\),;\:\.]/.test(t))
|
|
73
|
+
return p(t);
|
|
74
|
+
if (t == "=" && r.eat(">"))
|
|
75
|
+
return p("=>", "operator");
|
|
76
|
+
if (t == "0" && r.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))
|
|
77
|
+
return p("number", "number");
|
|
78
|
+
if (/\d/.test(t))
|
|
79
|
+
return r.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/), p("number", "number");
|
|
80
|
+
if (t == "/")
|
|
81
|
+
return r.eat("*") ? (e.tokenize = H, H(r, e)) : r.eat("/") ? (r.skipToEnd(), p("comment", "comment")) : ce(r, e, 1) ? (qr(r), r.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/), p("regexp", "string.special")) : (r.eat("="), p("operator", "operator", r.current()));
|
|
82
|
+
if (t == "`")
|
|
83
|
+
return e.tokenize = L, L(r, e);
|
|
84
|
+
if (t == "#" && r.peek() == "!")
|
|
85
|
+
return r.skipToEnd(), p("meta", "meta");
|
|
86
|
+
if (t == "#" && r.eatWhile(U))
|
|
87
|
+
return p("variable", "property");
|
|
88
|
+
if (t == "<" && r.match("!--") || t == "-" && r.match("->") && !/\S/.test(r.string.slice(0, r.start)))
|
|
89
|
+
return r.skipToEnd(), p("comment", "comment");
|
|
90
|
+
if (hr.test(t))
|
|
91
|
+
return (t != ">" || !e.lexical || e.lexical.type != ">") && (r.eat("=") ? (t == "!" || t == "=") && r.eat("=") : /[<>*+\-|&?]/.test(t) && (r.eat(t), t == ">" && r.eat(t))), t == "?" && r.eat(".") ? p(".") : p("operator", "operator", r.current());
|
|
92
|
+
if (U.test(t)) {
|
|
93
|
+
r.eatWhile(U);
|
|
94
|
+
var f = r.current();
|
|
95
|
+
if (e.lastType != ".") {
|
|
96
|
+
if (wr.propertyIsEnumerable(f)) {
|
|
97
|
+
var u = wr[f];
|
|
98
|
+
return p(u.type, u.style, f);
|
|
99
|
+
}
|
|
100
|
+
if (f == "async" && r.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/, !1))
|
|
101
|
+
return p("async", "keyword", f);
|
|
102
|
+
}
|
|
103
|
+
return p("variable", "variable", f);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
function Nr(r) {
|
|
107
|
+
return function(e, t) {
|
|
108
|
+
var f = !1, u;
|
|
109
|
+
if (ur && e.peek() == "@" && e.match(Or))
|
|
110
|
+
return t.tokenize = S, p("jsonld-keyword", "meta");
|
|
111
|
+
for (; (u = e.next()) != null && !(u == r && !f); )
|
|
112
|
+
f = !f && u == "\\";
|
|
113
|
+
return f || (t.tokenize = S), p("string", "string");
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
function H(r, e) {
|
|
117
|
+
for (var t = !1, f; f = r.next(); ) {
|
|
118
|
+
if (f == "/" && t) {
|
|
119
|
+
e.tokenize = S;
|
|
120
|
+
break;
|
|
121
|
+
}
|
|
122
|
+
t = f == "*";
|
|
123
|
+
}
|
|
124
|
+
return p("comment", "comment");
|
|
125
|
+
}
|
|
126
|
+
function L(r, e) {
|
|
127
|
+
for (var t = !1, f; (f = r.next()) != null; ) {
|
|
128
|
+
if (!t && (f == "`" || f == "$" && r.eat("{"))) {
|
|
129
|
+
e.tokenize = S;
|
|
130
|
+
break;
|
|
131
|
+
}
|
|
132
|
+
t = !t && f == "\\";
|
|
133
|
+
}
|
|
134
|
+
return p("quasi", "string.special", r.current());
|
|
135
|
+
}
|
|
136
|
+
var Br = "([{}])";
|
|
137
|
+
function ar(r, e) {
|
|
138
|
+
e.fatArrowAt && (e.fatArrowAt = null);
|
|
139
|
+
var t = r.string.indexOf("=>", r.start);
|
|
140
|
+
if (!(t < 0)) {
|
|
141
|
+
if (k) {
|
|
142
|
+
var f = /:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(r.string.slice(r.start, t));
|
|
143
|
+
f && (t = f.index);
|
|
144
|
+
}
|
|
145
|
+
for (var u = 0, c = !1, m = t - 1; m >= 0; --m) {
|
|
146
|
+
var v = r.string.charAt(m), y = Br.indexOf(v);
|
|
147
|
+
if (y >= 0 && y < 3) {
|
|
148
|
+
if (!u) {
|
|
149
|
+
++m;
|
|
150
|
+
break;
|
|
151
|
+
}
|
|
152
|
+
if (--u == 0) {
|
|
153
|
+
v == "(" && (c = !0);
|
|
154
|
+
break;
|
|
155
|
+
}
|
|
156
|
+
} else if (y >= 3 && y < 6)
|
|
157
|
+
++u;
|
|
158
|
+
else if (U.test(v))
|
|
159
|
+
c = !0;
|
|
160
|
+
else if (/["'\/`]/.test(v))
|
|
161
|
+
for (; ; --m) {
|
|
162
|
+
if (m == 0) return;
|
|
163
|
+
var K = r.string.charAt(m - 1);
|
|
164
|
+
if (K == v && r.string.charAt(m - 2) != "\\") {
|
|
165
|
+
m--;
|
|
166
|
+
break;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
else if (c && !u) {
|
|
170
|
+
++m;
|
|
171
|
+
break;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
c && !u && (e.fatArrowAt = m);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
var Fr = {
|
|
178
|
+
atom: !0,
|
|
179
|
+
number: !0,
|
|
180
|
+
variable: !0,
|
|
181
|
+
string: !0,
|
|
182
|
+
regexp: !0,
|
|
183
|
+
this: !0,
|
|
184
|
+
import: !0,
|
|
185
|
+
"jsonld-keyword": !0
|
|
186
|
+
};
|
|
187
|
+
function xr(r, e, t, f, u, c) {
|
|
188
|
+
this.indented = r, this.column = e, this.type = t, this.prev = u, this.info = c, f != null && (this.align = f);
|
|
189
|
+
}
|
|
190
|
+
function Jr(r, e) {
|
|
191
|
+
for (var t = r.localVars; t; t = t.next)
|
|
192
|
+
if (t.name == e) return !0;
|
|
193
|
+
for (var f = r.context; f; f = f.prev)
|
|
194
|
+
for (var t = f.vars; t; t = t.next)
|
|
195
|
+
if (t.name == e) return !0;
|
|
196
|
+
}
|
|
197
|
+
function Mr(r, e, t, f, u) {
|
|
198
|
+
var c = r.cc;
|
|
199
|
+
for (i.state = r, i.stream = u, i.marked = null, i.cc = c, i.style = e, r.lexical.hasOwnProperty("align") || (r.lexical.align = !0); ; ) {
|
|
200
|
+
var m = c.length ? c.pop() : pr ? b : w;
|
|
201
|
+
if (m(t, f)) {
|
|
202
|
+
for (; c.length && c[c.length - 1].lex; )
|
|
203
|
+
c.pop()();
|
|
204
|
+
return i.marked ? i.marked : t == "variable" && Jr(r, f) ? "variableName.local" : e;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
var i = { state: null, marked: null, cc: null };
|
|
209
|
+
function o() {
|
|
210
|
+
for (var r = arguments.length - 1; r >= 0; r--) i.cc.push(arguments[r]);
|
|
211
|
+
}
|
|
212
|
+
function n() {
|
|
213
|
+
return o.apply(null, arguments), !0;
|
|
214
|
+
}
|
|
215
|
+
function or(r, e) {
|
|
216
|
+
for (var t = e; t; t = t.next) if (t.name == r) return !0;
|
|
217
|
+
return !1;
|
|
218
|
+
}
|
|
219
|
+
function q(r) {
|
|
220
|
+
var e = i.state;
|
|
221
|
+
if (i.marked = "def", e.context) {
|
|
222
|
+
if (e.lexical.info == "var" && e.context && e.context.block) {
|
|
223
|
+
var t = gr(r, e.context);
|
|
224
|
+
if (t != null) {
|
|
225
|
+
e.context = t;
|
|
226
|
+
return;
|
|
227
|
+
}
|
|
228
|
+
} else if (!or(r, e.localVars)) {
|
|
229
|
+
e.localVars = new Q(r, e.localVars);
|
|
230
|
+
return;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
x.globalVars && !or(r, e.globalVars) && (e.globalVars = new Q(r, e.globalVars));
|
|
234
|
+
}
|
|
235
|
+
function gr(r, e) {
|
|
236
|
+
if (e)
|
|
237
|
+
if (e.block) {
|
|
238
|
+
var t = gr(r, e.prev);
|
|
239
|
+
return t ? t == e.prev ? e : new P(t, e.vars, !0) : null;
|
|
240
|
+
} else return or(r, e.vars) ? e : new P(e.prev, new Q(r, e.vars), !1);
|
|
241
|
+
else return null;
|
|
242
|
+
}
|
|
243
|
+
function X(r) {
|
|
244
|
+
return r == "public" || r == "private" || r == "protected" || r == "abstract" || r == "readonly";
|
|
245
|
+
}
|
|
246
|
+
function P(r, e, t) {
|
|
247
|
+
this.prev = r, this.vars = e, this.block = t;
|
|
248
|
+
}
|
|
249
|
+
function Q(r, e) {
|
|
250
|
+
this.name = r, this.next = e;
|
|
251
|
+
}
|
|
252
|
+
var Dr = new Q("this", new Q("arguments", null));
|
|
253
|
+
function E() {
|
|
254
|
+
i.state.context = new P(i.state.context, i.state.localVars, !1), i.state.localVars = Dr;
|
|
255
|
+
}
|
|
256
|
+
function Y() {
|
|
257
|
+
i.state.context = new P(i.state.context, i.state.localVars, !0), i.state.localVars = null;
|
|
258
|
+
}
|
|
259
|
+
E.lex = Y.lex = !0;
|
|
260
|
+
function T() {
|
|
261
|
+
i.state.localVars = i.state.context.vars, i.state.context = i.state.context.prev;
|
|
262
|
+
}
|
|
263
|
+
T.lex = !0;
|
|
264
|
+
function s(r, e) {
|
|
265
|
+
var t = function() {
|
|
266
|
+
var f = i.state, u = f.indented;
|
|
267
|
+
if (f.lexical.type == "stat") u = f.lexical.indented;
|
|
268
|
+
else for (var c = f.lexical; c && c.type == ")" && c.align; c = c.prev)
|
|
269
|
+
u = c.indented;
|
|
270
|
+
f.lexical = new xr(u, i.stream.column(), r, null, f.lexical, e);
|
|
271
|
+
};
|
|
272
|
+
return t.lex = !0, t;
|
|
273
|
+
}
|
|
274
|
+
function a() {
|
|
275
|
+
var r = i.state;
|
|
276
|
+
r.lexical.prev && (r.lexical.type == ")" && (r.indented = r.lexical.indented), r.lexical = r.lexical.prev);
|
|
277
|
+
}
|
|
278
|
+
a.lex = !0;
|
|
279
|
+
function l(r) {
|
|
280
|
+
function e(t) {
|
|
281
|
+
return t == r ? n() : r == ";" || t == "}" || t == ")" || t == "]" ? o() : n(e);
|
|
282
|
+
}
|
|
283
|
+
return e;
|
|
284
|
+
}
|
|
285
|
+
function w(r, e) {
|
|
286
|
+
return r == "var" ? n(s("vardef", e), mr, l(";"), a) : r == "keyword a" ? n(s("form"), sr, w, a) : r == "keyword b" ? n(s("form"), w, a) : r == "keyword d" ? i.stream.match(/^\s*$/, !1) ? n() : n(s("stat"), N, l(";"), a) : r == "debugger" ? n(l(";")) : r == "{" ? n(s("}"), Y, rr, a, T) : r == ";" ? n() : r == "if" ? (i.state.lexical.info == "else" && i.state.cc[i.state.cc.length - 1] == a && i.state.cc.pop()(), n(s("form"), sr, w, a, zr)) : r == "function" ? n(j) : r == "for" ? n(s("form"), Y, _r, w, T, a) : r == "class" || k && e == "interface" ? (i.marked = "keyword", n(s("form", r == "class" ? r : e), Sr, a)) : r == "variable" ? k && e == "declare" ? (i.marked = "keyword", n(w)) : k && (e == "module" || e == "enum" || e == "type") && i.stream.match(/^\s*\w/, !1) ? (i.marked = "keyword", e == "enum" ? n($r) : e == "type" ? n(jr, l("operator"), d, l(";")) : n(s("form"), V, l("{"), s("}"), rr, a, a)) : k && e == "namespace" ? (i.marked = "keyword", n(s("form"), b, w, a)) : k && e == "abstract" ? (i.marked = "keyword", n(w)) : n(s("stat"), Kr) : r == "switch" ? n(
|
|
287
|
+
s("form"),
|
|
288
|
+
sr,
|
|
289
|
+
l("{"),
|
|
290
|
+
s("}", "switch"),
|
|
291
|
+
Y,
|
|
292
|
+
rr,
|
|
293
|
+
a,
|
|
294
|
+
a,
|
|
295
|
+
T
|
|
296
|
+
) : r == "case" ? n(b, l(":")) : r == "default" ? n(l(":")) : r == "catch" ? n(s("form"), E, Lr, w, a, T) : r == "export" ? n(s("stat"), fe, a) : r == "import" ? n(s("stat"), ue, a) : r == "async" ? n(w) : e == "@" ? n(b, w) : o(s("stat"), b, l(";"), a);
|
|
297
|
+
}
|
|
298
|
+
function Lr(r) {
|
|
299
|
+
if (r == "(") return n(O, l(")"));
|
|
300
|
+
}
|
|
301
|
+
function b(r, e) {
|
|
302
|
+
return vr(r, e, !1);
|
|
303
|
+
}
|
|
304
|
+
function g(r, e) {
|
|
305
|
+
return vr(r, e, !0);
|
|
306
|
+
}
|
|
307
|
+
function sr(r) {
|
|
308
|
+
return r != "(" ? o() : n(s(")"), N, l(")"), a);
|
|
309
|
+
}
|
|
310
|
+
function vr(r, e, t) {
|
|
311
|
+
if (i.state.fatArrowAt == i.stream.start) {
|
|
312
|
+
var f = t ? Tr : yr;
|
|
313
|
+
if (r == "(") return n(E, s(")"), h(O, ")"), a, l("=>"), f, T);
|
|
314
|
+
if (r == "variable") return o(E, V, l("=>"), f, T);
|
|
315
|
+
}
|
|
316
|
+
var u = t ? B : I;
|
|
317
|
+
return Fr.hasOwnProperty(r) ? n(u) : r == "function" ? n(j, u) : r == "class" || k && e == "interface" ? (i.marked = "keyword", n(s("form"), ie, a)) : r == "keyword c" || r == "async" ? n(t ? g : b) : r == "(" ? n(s(")"), N, l(")"), a, u) : r == "operator" || r == "spread" ? n(t ? g : b) : r == "[" ? n(s("]"), oe, a, u) : r == "{" ? R(C, "}", null, u) : r == "quasi" ? o(Z, u) : r == "new" ? n(Qr(t)) : n();
|
|
318
|
+
}
|
|
319
|
+
function N(r) {
|
|
320
|
+
return r.match(/[;\}\)\],]/) ? o() : o(b);
|
|
321
|
+
}
|
|
322
|
+
function I(r, e) {
|
|
323
|
+
return r == "," ? n(N) : B(r, e, !1);
|
|
324
|
+
}
|
|
325
|
+
function B(r, e, t) {
|
|
326
|
+
var f = t == !1 ? I : B, u = t == !1 ? b : g;
|
|
327
|
+
if (r == "=>") return n(E, t ? Tr : yr, T);
|
|
328
|
+
if (r == "operator")
|
|
329
|
+
return /\+\+|--/.test(e) || k && e == "!" ? n(f) : k && e == "<" && i.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/, !1) ? n(s(">"), h(d, ">"), a, f) : e == "?" ? n(b, l(":"), u) : n(u);
|
|
330
|
+
if (r == "quasi")
|
|
331
|
+
return o(Z, f);
|
|
332
|
+
if (r != ";") {
|
|
333
|
+
if (r == "(") return R(g, ")", "call", f);
|
|
334
|
+
if (r == ".") return n(Ur, f);
|
|
335
|
+
if (r == "[") return n(s("]"), N, l("]"), a, f);
|
|
336
|
+
if (k && e == "as")
|
|
337
|
+
return i.marked = "keyword", n(d, f);
|
|
338
|
+
if (r == "regexp")
|
|
339
|
+
return i.state.lastType = i.marked = "operator", i.stream.backUp(i.stream.pos - i.stream.start - 1), n(u);
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
function Z(r, e) {
|
|
343
|
+
return r != "quasi" ? o() : e.slice(e.length - 2) != "${" ? n(Z) : n(N, Pr);
|
|
344
|
+
}
|
|
345
|
+
function Pr(r) {
|
|
346
|
+
if (r == "}")
|
|
347
|
+
return i.marked = "string.special", i.state.tokenize = L, n(Z);
|
|
348
|
+
}
|
|
349
|
+
function yr(r) {
|
|
350
|
+
return ar(i.stream, i.state), o(r == "{" ? w : b);
|
|
351
|
+
}
|
|
352
|
+
function Tr(r) {
|
|
353
|
+
return ar(i.stream, i.state), o(r == "{" ? w : g);
|
|
354
|
+
}
|
|
355
|
+
function Qr(r) {
|
|
356
|
+
return function(e) {
|
|
357
|
+
return e == "." ? n(r ? Wr : Rr) : e == "variable" && k ? n(Cr, r ? B : I) : o(r ? g : b);
|
|
358
|
+
};
|
|
359
|
+
}
|
|
360
|
+
function Rr(r, e) {
|
|
361
|
+
if (e == "target")
|
|
362
|
+
return i.marked = "keyword", n(I);
|
|
363
|
+
}
|
|
364
|
+
function Wr(r, e) {
|
|
365
|
+
if (e == "target")
|
|
366
|
+
return i.marked = "keyword", n(B);
|
|
367
|
+
}
|
|
368
|
+
function Kr(r) {
|
|
369
|
+
return r == ":" ? n(a, w) : o(I, l(";"), a);
|
|
370
|
+
}
|
|
371
|
+
function Ur(r) {
|
|
372
|
+
if (r == "variable")
|
|
373
|
+
return i.marked = "property", n();
|
|
374
|
+
}
|
|
375
|
+
function C(r, e) {
|
|
376
|
+
if (r == "async")
|
|
377
|
+
return i.marked = "property", n(C);
|
|
378
|
+
if (r == "variable" || i.style == "keyword") {
|
|
379
|
+
if (i.marked = "property", e == "get" || e == "set") return n(Gr);
|
|
380
|
+
var t;
|
|
381
|
+
return k && i.state.fatArrowAt == i.stream.start && (t = i.stream.match(/^\s*:\s*/, !1)) && (i.state.fatArrowAt = i.stream.pos + t[0].length), n($);
|
|
382
|
+
} else {
|
|
383
|
+
if (r == "number" || r == "string")
|
|
384
|
+
return i.marked = ur ? "property" : i.style + " property", n($);
|
|
385
|
+
if (r == "jsonld-keyword")
|
|
386
|
+
return n($);
|
|
387
|
+
if (k && X(e))
|
|
388
|
+
return i.marked = "keyword", n(C);
|
|
389
|
+
if (r == "[")
|
|
390
|
+
return n(b, F, l("]"), $);
|
|
391
|
+
if (r == "spread")
|
|
392
|
+
return n(g, $);
|
|
393
|
+
if (e == "*")
|
|
394
|
+
return i.marked = "keyword", n(C);
|
|
395
|
+
if (r == ":")
|
|
396
|
+
return o($);
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
function Gr(r) {
|
|
400
|
+
return r != "variable" ? o($) : (i.marked = "property", n(j));
|
|
401
|
+
}
|
|
402
|
+
function $(r) {
|
|
403
|
+
if (r == ":") return n(g);
|
|
404
|
+
if (r == "(") return o(j);
|
|
405
|
+
}
|
|
406
|
+
function h(r, e, t) {
|
|
407
|
+
function f(u, c) {
|
|
408
|
+
if (t ? t.indexOf(u) > -1 : u == ",") {
|
|
409
|
+
var m = i.state.lexical;
|
|
410
|
+
return m.info == "call" && (m.pos = (m.pos || 0) + 1), n(function(v, y) {
|
|
411
|
+
return v == e || y == e ? o() : o(r);
|
|
412
|
+
}, f);
|
|
413
|
+
}
|
|
414
|
+
return u == e || c == e ? n() : t && t.indexOf(";") > -1 ? o(r) : n(l(e));
|
|
415
|
+
}
|
|
416
|
+
return function(u, c) {
|
|
417
|
+
return u == e || c == e ? n() : o(r, f);
|
|
418
|
+
};
|
|
419
|
+
}
|
|
420
|
+
function R(r, e, t) {
|
|
421
|
+
for (var f = 3; f < arguments.length; f++)
|
|
422
|
+
i.cc.push(arguments[f]);
|
|
423
|
+
return n(s(e, t), h(r, e), a);
|
|
424
|
+
}
|
|
425
|
+
function rr(r) {
|
|
426
|
+
return r == "}" ? n() : o(w, rr);
|
|
427
|
+
}
|
|
428
|
+
function F(r, e) {
|
|
429
|
+
if (k) {
|
|
430
|
+
if (r == ":") return n(d);
|
|
431
|
+
if (e == "?") return n(F);
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
function Hr(r, e) {
|
|
435
|
+
if (k && (r == ":" || e == "in")) return n(d);
|
|
436
|
+
}
|
|
437
|
+
function Vr(r) {
|
|
438
|
+
if (k && r == ":")
|
|
439
|
+
return i.stream.match(/^\s*\w+\s+is\b/, !1) ? n(b, Xr, d) : n(d);
|
|
440
|
+
}
|
|
441
|
+
function Xr(r, e) {
|
|
442
|
+
if (e == "is")
|
|
443
|
+
return i.marked = "keyword", n();
|
|
444
|
+
}
|
|
445
|
+
function d(r, e) {
|
|
446
|
+
if (e == "keyof" || e == "typeof" || e == "infer" || e == "readonly")
|
|
447
|
+
return i.marked = "keyword", n(e == "typeof" ? g : d);
|
|
448
|
+
if (r == "variable" || e == "void")
|
|
449
|
+
return i.marked = "type", n(A);
|
|
450
|
+
if (e == "|" || e == "&") return n(d);
|
|
451
|
+
if (r == "string" || r == "number" || r == "atom") return n(A);
|
|
452
|
+
if (r == "[") return n(s("]"), h(d, "]", ","), a, A);
|
|
453
|
+
if (r == "{") return n(s("}"), lr, a, A);
|
|
454
|
+
if (r == "(") return n(h(dr, ")"), Yr, A);
|
|
455
|
+
if (r == "<") return n(h(d, ">"), d);
|
|
456
|
+
if (r == "quasi") return o(cr, A);
|
|
457
|
+
}
|
|
458
|
+
function Yr(r) {
|
|
459
|
+
if (r == "=>") return n(d);
|
|
460
|
+
}
|
|
461
|
+
function lr(r) {
|
|
462
|
+
return r.match(/[\}\)\]]/) ? n() : r == "," || r == ";" ? n(lr) : o(W, lr);
|
|
463
|
+
}
|
|
464
|
+
function W(r, e) {
|
|
465
|
+
if (r == "variable" || i.style == "keyword")
|
|
466
|
+
return i.marked = "property", n(W);
|
|
467
|
+
if (e == "?" || r == "number" || r == "string")
|
|
468
|
+
return n(W);
|
|
469
|
+
if (r == ":")
|
|
470
|
+
return n(d);
|
|
471
|
+
if (r == "[")
|
|
472
|
+
return n(l("variable"), Hr, l("]"), W);
|
|
473
|
+
if (r == "(")
|
|
474
|
+
return o(M, W);
|
|
475
|
+
if (!r.match(/[;\}\)\],]/))
|
|
476
|
+
return n();
|
|
477
|
+
}
|
|
478
|
+
function cr(r, e) {
|
|
479
|
+
return r != "quasi" ? o() : e.slice(e.length - 2) != "${" ? n(cr) : n(d, Zr);
|
|
480
|
+
}
|
|
481
|
+
function Zr(r) {
|
|
482
|
+
if (r == "}")
|
|
483
|
+
return i.marked = "string.special", i.state.tokenize = L, n(cr);
|
|
484
|
+
}
|
|
485
|
+
function dr(r, e) {
|
|
486
|
+
return r == "variable" && i.stream.match(/^\s*[?:]/, !1) || e == "?" ? n(dr) : r == ":" ? n(d) : r == "spread" ? n(dr) : o(d);
|
|
487
|
+
}
|
|
488
|
+
function A(r, e) {
|
|
489
|
+
if (e == "<") return n(s(">"), h(d, ">"), a, A);
|
|
490
|
+
if (e == "|" || r == "." || e == "&") return n(d);
|
|
491
|
+
if (r == "[") return n(d, l("]"), A);
|
|
492
|
+
if (e == "extends" || e == "implements")
|
|
493
|
+
return i.marked = "keyword", n(d);
|
|
494
|
+
if (e == "?") return n(d, l(":"), d);
|
|
495
|
+
}
|
|
496
|
+
function Cr(r, e) {
|
|
497
|
+
if (e == "<") return n(s(">"), h(d, ">"), a, A);
|
|
498
|
+
}
|
|
499
|
+
function er() {
|
|
500
|
+
return o(d, re);
|
|
501
|
+
}
|
|
502
|
+
function re(r, e) {
|
|
503
|
+
if (e == "=") return n(d);
|
|
504
|
+
}
|
|
505
|
+
function mr(r, e) {
|
|
506
|
+
return e == "enum" ? (i.marked = "keyword", n($r)) : o(V, F, _, ne);
|
|
507
|
+
}
|
|
508
|
+
function V(r, e) {
|
|
509
|
+
if (k && X(e))
|
|
510
|
+
return i.marked = "keyword", n(V);
|
|
511
|
+
if (r == "variable")
|
|
512
|
+
return q(e), n();
|
|
513
|
+
if (r == "spread") return n(V);
|
|
514
|
+
if (r == "[") return R(ee, "]");
|
|
515
|
+
if (r == "{") return R(Ar, "}");
|
|
516
|
+
}
|
|
517
|
+
function Ar(r, e) {
|
|
518
|
+
return r == "variable" && !i.stream.match(/^\s*:/, !1) ? (q(e), n(_)) : (r == "variable" && (i.marked = "property"), r == "spread" ? n(V) : r == "}" ? o() : r == "[" ? n(b, l("]"), l(":"), Ar) : n(l(":"), V, _));
|
|
519
|
+
}
|
|
520
|
+
function ee() {
|
|
521
|
+
return o(V, _);
|
|
522
|
+
}
|
|
523
|
+
function _(r, e) {
|
|
524
|
+
if (e == "=") return n(g);
|
|
525
|
+
}
|
|
526
|
+
function ne(r) {
|
|
527
|
+
if (r == ",") return n(mr);
|
|
528
|
+
}
|
|
529
|
+
function zr(r, e) {
|
|
530
|
+
if (r == "keyword b" && e == "else") return n(s("form", "else"), w, a);
|
|
531
|
+
}
|
|
532
|
+
function _r(r, e) {
|
|
533
|
+
if (e == "await") return n(_r);
|
|
534
|
+
if (r == "(") return n(s(")"), te, a);
|
|
535
|
+
}
|
|
536
|
+
function te(r) {
|
|
537
|
+
return r == "var" ? n(mr, J) : r == "variable" ? n(J) : o(J);
|
|
538
|
+
}
|
|
539
|
+
function J(r, e) {
|
|
540
|
+
return r == ")" ? n() : r == ";" ? n(J) : e == "in" || e == "of" ? (i.marked = "keyword", n(b, J)) : o(b, J);
|
|
541
|
+
}
|
|
542
|
+
function j(r, e) {
|
|
543
|
+
if (e == "*")
|
|
544
|
+
return i.marked = "keyword", n(j);
|
|
545
|
+
if (r == "variable")
|
|
546
|
+
return q(e), n(j);
|
|
547
|
+
if (r == "(") return n(E, s(")"), h(O, ")"), a, Vr, w, T);
|
|
548
|
+
if (k && e == "<") return n(s(">"), h(er, ">"), a, j);
|
|
549
|
+
}
|
|
550
|
+
function M(r, e) {
|
|
551
|
+
if (e == "*")
|
|
552
|
+
return i.marked = "keyword", n(M);
|
|
553
|
+
if (r == "variable")
|
|
554
|
+
return q(e), n(M);
|
|
555
|
+
if (r == "(") return n(E, s(")"), h(O, ")"), a, Vr, T);
|
|
556
|
+
if (k && e == "<") return n(s(">"), h(er, ">"), a, M);
|
|
557
|
+
}
|
|
558
|
+
function jr(r, e) {
|
|
559
|
+
if (r == "keyword" || r == "variable")
|
|
560
|
+
return i.marked = "type", n(jr);
|
|
561
|
+
if (e == "<")
|
|
562
|
+
return n(s(">"), h(er, ">"), a);
|
|
563
|
+
}
|
|
564
|
+
function O(r, e) {
|
|
565
|
+
return e == "@" && n(b, O), r == "spread" ? n(O) : k && X(e) ? (i.marked = "keyword", n(O)) : k && r == "this" ? n(F, _) : o(V, F, _);
|
|
566
|
+
}
|
|
567
|
+
function ie(r, e) {
|
|
568
|
+
return r == "variable" ? Sr(r, e) : nr(r, e);
|
|
569
|
+
}
|
|
570
|
+
function Sr(r, e) {
|
|
571
|
+
if (r == "variable")
|
|
572
|
+
return q(e), n(nr);
|
|
573
|
+
}
|
|
574
|
+
function nr(r, e) {
|
|
575
|
+
if (e == "<") return n(s(">"), h(er, ">"), a, nr);
|
|
576
|
+
if (e == "extends" || e == "implements" || k && r == ",")
|
|
577
|
+
return e == "implements" && (i.marked = "keyword"), n(k ? d : b, nr);
|
|
578
|
+
if (r == "{") return n(s("}"), z, a);
|
|
579
|
+
}
|
|
580
|
+
function z(r, e) {
|
|
581
|
+
if (r == "async" || r == "variable" && (e == "static" || e == "get" || e == "set" || k && X(e)) && i.stream.match(/^\s+#?[\w$\xa1-\uffff]/, !1))
|
|
582
|
+
return i.marked = "keyword", n(z);
|
|
583
|
+
if (r == "variable" || i.style == "keyword")
|
|
584
|
+
return i.marked = "property", n(tr, z);
|
|
585
|
+
if (r == "number" || r == "string") return n(tr, z);
|
|
586
|
+
if (r == "[")
|
|
587
|
+
return n(b, F, l("]"), tr, z);
|
|
588
|
+
if (e == "*")
|
|
589
|
+
return i.marked = "keyword", n(z);
|
|
590
|
+
if (k && r == "(") return o(M, z);
|
|
591
|
+
if (r == ";" || r == ",") return n(z);
|
|
592
|
+
if (r == "}") return n();
|
|
593
|
+
if (e == "@") return n(b, z);
|
|
594
|
+
}
|
|
595
|
+
function tr(r, e) {
|
|
596
|
+
if (e == "!" || e == "?") return n(tr);
|
|
597
|
+
if (r == ":") return n(d, _);
|
|
598
|
+
if (e == "=") return n(g);
|
|
599
|
+
var t = i.state.lexical.prev, f = t && t.info == "interface";
|
|
600
|
+
return o(f ? M : j);
|
|
601
|
+
}
|
|
602
|
+
function fe(r, e) {
|
|
603
|
+
return e == "*" ? (i.marked = "keyword", n(kr, l(";"))) : e == "default" ? (i.marked = "keyword", n(b, l(";"))) : r == "{" ? n(h(Er, "}"), kr, l(";")) : o(w);
|
|
604
|
+
}
|
|
605
|
+
function Er(r, e) {
|
|
606
|
+
if (e == "as")
|
|
607
|
+
return i.marked = "keyword", n(l("variable"));
|
|
608
|
+
if (r == "variable") return o(g, Er);
|
|
609
|
+
}
|
|
610
|
+
function ue(r) {
|
|
611
|
+
return r == "string" ? n() : r == "(" ? o(b) : r == "." ? o(I) : o(ir, Ir, kr);
|
|
612
|
+
}
|
|
613
|
+
function ir(r, e) {
|
|
614
|
+
return r == "{" ? R(ir, "}") : (r == "variable" && q(e), e == "*" && (i.marked = "keyword"), n(ae));
|
|
615
|
+
}
|
|
616
|
+
function Ir(r) {
|
|
617
|
+
if (r == ",") return n(ir, Ir);
|
|
618
|
+
}
|
|
619
|
+
function ae(r, e) {
|
|
620
|
+
if (e == "as")
|
|
621
|
+
return i.marked = "keyword", n(ir);
|
|
622
|
+
}
|
|
623
|
+
function kr(r, e) {
|
|
624
|
+
if (e == "from")
|
|
625
|
+
return i.marked = "keyword", n(b);
|
|
626
|
+
}
|
|
627
|
+
function oe(r) {
|
|
628
|
+
return r == "]" ? n() : o(h(g, "]"));
|
|
629
|
+
}
|
|
630
|
+
function $r() {
|
|
631
|
+
return o(s("form"), V, l("{"), s("}"), h(se, "}"), a, a);
|
|
632
|
+
}
|
|
633
|
+
function se() {
|
|
634
|
+
return o(V, _);
|
|
635
|
+
}
|
|
636
|
+
function le(r, e) {
|
|
637
|
+
return r.lastType == "operator" || r.lastType == "," || hr.test(e.charAt(0)) || /[,.]/.test(e.charAt(0));
|
|
638
|
+
}
|
|
639
|
+
function ce(r, e, t) {
|
|
640
|
+
return e.tokenize == S && /^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(e.lastType) || e.lastType == "quasi" && /\{\s*$/.test(r.string.slice(0, r.pos - t));
|
|
641
|
+
}
|
|
642
|
+
return {
|
|
643
|
+
name: x.name,
|
|
644
|
+
startState: function(r) {
|
|
645
|
+
var e = {
|
|
646
|
+
tokenize: S,
|
|
647
|
+
lastType: "sof",
|
|
648
|
+
cc: [],
|
|
649
|
+
lexical: new xr(-r, 0, "block", !1),
|
|
650
|
+
localVars: x.localVars,
|
|
651
|
+
context: x.localVars && new P(null, null, !1),
|
|
652
|
+
indented: 0
|
|
653
|
+
};
|
|
654
|
+
return x.globalVars && typeof x.globalVars == "object" && (e.globalVars = x.globalVars), e;
|
|
655
|
+
},
|
|
656
|
+
token: function(r, e) {
|
|
657
|
+
if (r.sol() && (e.lexical.hasOwnProperty("align") || (e.lexical.align = !1), e.indented = r.indentation(), ar(r, e)), e.tokenize != H && r.eatSpace()) return null;
|
|
658
|
+
var t = e.tokenize(r, e);
|
|
659
|
+
return D == "comment" ? t : (e.lastType = D == "operator" && (G == "++" || G == "--") ? "incdec" : D, Mr(e, t, D, G, r));
|
|
660
|
+
},
|
|
661
|
+
indent: function(r, e, t) {
|
|
662
|
+
if (r.tokenize == H || r.tokenize == L) return null;
|
|
663
|
+
if (r.tokenize != S) return 0;
|
|
664
|
+
var f = e && e.charAt(0), u = r.lexical, c;
|
|
665
|
+
if (!/^\s*else\b/.test(e)) for (var m = r.cc.length - 1; m >= 0; --m) {
|
|
666
|
+
var v = r.cc[m];
|
|
667
|
+
if (v == a) u = u.prev;
|
|
668
|
+
else if (v != zr && v != T) break;
|
|
669
|
+
}
|
|
670
|
+
for (; (u.type == "stat" || u.type == "form") && (f == "}" || (c = r.cc[r.cc.length - 1]) && (c == I || c == B) && !/^[,\.=+\-*:?[\(]/.test(e)); )
|
|
671
|
+
u = u.prev;
|
|
672
|
+
br && u.type == ")" && u.prev.type == "stat" && (u = u.prev);
|
|
673
|
+
var y = u.type, K = f == y;
|
|
674
|
+
return y == "vardef" ? u.indented + (r.lastType == "operator" || r.lastType == "," ? u.info.length + 1 : 0) : y == "form" && f == "{" ? u.indented : y == "form" ? u.indented + t.unit : y == "stat" ? u.indented + (le(r, e) ? br || t.unit : 0) : u.info == "switch" && !K && x.doubleIndentSwitch != !1 ? u.indented + (/^(?:case|default)\b/.test(e) ? t.unit : 2 * t.unit) : u.align ? u.column + (K ? 0 : 1) : u.indented + (K ? 0 : t.unit);
|
|
675
|
+
},
|
|
676
|
+
languageData: {
|
|
677
|
+
indentOnInput: /^\s*(?:case .*?:|default:|\{|\})$/,
|
|
678
|
+
commentTokens: pr ? void 0 : { line: "//", block: { open: "/*", close: "*/" } },
|
|
679
|
+
closeBrackets: { brackets: ["(", "[", "{", "'", '"', "`"] },
|
|
680
|
+
wordChars: "$"
|
|
681
|
+
}
|
|
682
|
+
};
|
|
683
|
+
}
|
|
684
|
+
const de = fr({ name: "javascript" });
|
|
685
|
+
fr({ name: "json", json: !0 });
|
|
686
|
+
const me = fr({ name: "json", jsonld: !0 });
|
|
687
|
+
fr({ name: "typescript", typescript: !0 });
|
|
688
|
+
export {
|
|
689
|
+
de as javascript,
|
|
690
|
+
me as jsonld
|
|
691
|
+
};
|