@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,96 @@
|
|
|
1
|
+
function u(n) {
|
|
2
|
+
for (var e = {}, i = n.split(" "), r = 0; r < i.length; ++r) e[i[r]] = !0;
|
|
3
|
+
return e;
|
|
4
|
+
}
|
|
5
|
+
var s = u("#end #else #break #stop #[[ #]] #{end} #{else} #{break} #{stop}"), a = u("#if #elseif #foreach #set #include #parse #macro #define #evaluate #{if} #{elseif} #{foreach} #{set} #{include} #{parse} #{macro} #{define} #{evaluate}"), c = u("$foreach.count $foreach.hasNext $foreach.first $foreach.last $foreach.topmost $foreach.parent.count $foreach.parent.hasNext $foreach.parent.first $foreach.parent.last $foreach.parent $velocityCount $!bodyContent $bodyContent"), k = /[+\-*&%=<>!?:\/|]/;
|
|
6
|
+
function o(n, e, i) {
|
|
7
|
+
return e.tokenize = i, i(n, e);
|
|
8
|
+
}
|
|
9
|
+
function t(n, e) {
|
|
10
|
+
var i = e.beforeParams;
|
|
11
|
+
e.beforeParams = !1;
|
|
12
|
+
var r = n.next();
|
|
13
|
+
if (r == "'" && !e.inString && e.inParams)
|
|
14
|
+
return e.lastTokenWasBuiltin = !1, o(n, e, p(r));
|
|
15
|
+
if (r == '"') {
|
|
16
|
+
if (e.lastTokenWasBuiltin = !1, e.inString)
|
|
17
|
+
return e.inString = !1, "string";
|
|
18
|
+
if (e.inParams)
|
|
19
|
+
return o(n, e, p(r));
|
|
20
|
+
} else {
|
|
21
|
+
if (/[\[\]{}\(\),;\.]/.test(r))
|
|
22
|
+
return r == "(" && i ? e.inParams = !0 : r == ")" && (e.inParams = !1, e.lastTokenWasBuiltin = !0), null;
|
|
23
|
+
if (/\d/.test(r))
|
|
24
|
+
return e.lastTokenWasBuiltin = !1, n.eatWhile(/[\w\.]/), "number";
|
|
25
|
+
if (r == "#" && n.eat("*"))
|
|
26
|
+
return e.lastTokenWasBuiltin = !1, o(n, e, h);
|
|
27
|
+
if (r == "#" && n.match(/ *\[ *\[/))
|
|
28
|
+
return e.lastTokenWasBuiltin = !1, o(n, e, b);
|
|
29
|
+
if (r == "#" && n.eat("#"))
|
|
30
|
+
return e.lastTokenWasBuiltin = !1, n.skipToEnd(), "comment";
|
|
31
|
+
if (r == "$")
|
|
32
|
+
return n.eat("!"), n.eatWhile(/[\w\d\$_\.{}-]/), c && c.propertyIsEnumerable(n.current()) ? "keyword" : (e.lastTokenWasBuiltin = !0, e.beforeParams = !0, "builtin");
|
|
33
|
+
if (k.test(r))
|
|
34
|
+
return e.lastTokenWasBuiltin = !1, n.eatWhile(k), "operator";
|
|
35
|
+
n.eatWhile(/[\w\$_{}@]/);
|
|
36
|
+
var l = n.current();
|
|
37
|
+
return s && s.propertyIsEnumerable(l) ? "keyword" : a && a.propertyIsEnumerable(l) || n.current().match(/^#@?[a-z0-9_]+ *$/i) && n.peek() == "(" && !(a && a.propertyIsEnumerable(l.toLowerCase())) ? (e.beforeParams = !0, e.lastTokenWasBuiltin = !1, "keyword") : e.inString ? (e.lastTokenWasBuiltin = !1, "string") : n.pos > l.length && n.string.charAt(n.pos - l.length - 1) == "." && e.lastTokenWasBuiltin ? "builtin" : (e.lastTokenWasBuiltin = !1, null);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
function p(n) {
|
|
41
|
+
return function(e, i) {
|
|
42
|
+
for (var r = !1, l, f = !1; (l = e.next()) != null; ) {
|
|
43
|
+
if (l == n && !r) {
|
|
44
|
+
f = !0;
|
|
45
|
+
break;
|
|
46
|
+
}
|
|
47
|
+
if (n == '"' && e.peek() == "$" && !r) {
|
|
48
|
+
i.inString = !0, f = !0;
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
r = !r && l == "\\";
|
|
52
|
+
}
|
|
53
|
+
return f && (i.tokenize = t), "string";
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function h(n, e) {
|
|
57
|
+
for (var i = !1, r; r = n.next(); ) {
|
|
58
|
+
if (r == "#" && i) {
|
|
59
|
+
e.tokenize = t;
|
|
60
|
+
break;
|
|
61
|
+
}
|
|
62
|
+
i = r == "*";
|
|
63
|
+
}
|
|
64
|
+
return "comment";
|
|
65
|
+
}
|
|
66
|
+
function b(n, e) {
|
|
67
|
+
for (var i = 0, r; r = n.next(); ) {
|
|
68
|
+
if (r == "#" && i == 2) {
|
|
69
|
+
e.tokenize = t;
|
|
70
|
+
break;
|
|
71
|
+
}
|
|
72
|
+
r == "]" ? i++ : r != " " && (i = 0);
|
|
73
|
+
}
|
|
74
|
+
return "meta";
|
|
75
|
+
}
|
|
76
|
+
const W = {
|
|
77
|
+
name: "velocity",
|
|
78
|
+
startState: function() {
|
|
79
|
+
return {
|
|
80
|
+
tokenize: t,
|
|
81
|
+
beforeParams: !1,
|
|
82
|
+
inParams: !1,
|
|
83
|
+
inString: !1,
|
|
84
|
+
lastTokenWasBuiltin: !1
|
|
85
|
+
};
|
|
86
|
+
},
|
|
87
|
+
token: function(n, e) {
|
|
88
|
+
return n.eatSpace() ? null : e.tokenize(n, e);
|
|
89
|
+
},
|
|
90
|
+
languageData: {
|
|
91
|
+
commentTokens: { line: "##", block: { open: "#*", close: "*#" } }
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
export {
|
|
95
|
+
W as velocity
|
|
96
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function O(i){var o=i.statementIndentUnit,u=i.dontAlignCalls,c=i.noIndentKeywords||[],s=i.multiLineStrings,a=i.hooks||{};function g(e){for(var n={},t=e.split(" "),r=0;r<t.length;++r)n[t[r]]=!0;return n}var h=g("accept_on alias always always_comb always_ff always_latch and assert assign assume automatic before begin bind bins binsof bit break buf bufif0 bufif1 byte case casex casez cell chandle checker class clocking cmos config const constraint context continue cover covergroup coverpoint cross deassign default defparam design disable dist do edge else end endcase endchecker endclass endclocking endconfig endfunction endgenerate endgroup endinterface endmodule endpackage endprimitive endprogram endproperty endspecify endsequence endtable endtask enum event eventually expect export extends extern final first_match for force foreach forever fork forkjoin function generate genvar global highz0 highz1 if iff ifnone ignore_bins illegal_bins implements implies import incdir include initial inout input inside instance int integer interconnect interface intersect join join_any join_none large let liblist library local localparam logic longint macromodule matches medium modport module nand negedge nettype new nexttime nmos nor noshowcancelled not notif0 notif1 null or output package packed parameter pmos posedge primitive priority program property protected pull0 pull1 pulldown pullup pulsestyle_ondetect pulsestyle_onevent pure rand randc randcase randsequence rcmos real realtime ref reg reject_on release repeat restrict return rnmos rpmos rtran rtranif0 rtranif1 s_always s_eventually s_nexttime s_until s_until_with scalared sequence shortint shortreal showcancelled signed small soft solve specify specparam static string strong strong0 strong1 struct super supply0 supply1 sync_accept_on sync_reject_on table tagged task this throughout time timeprecision timeunit tran tranif0 tranif1 tri tri0 tri1 triand trior trireg type typedef union unique unique0 unsigned until until_with untyped use uwire var vectored virtual void wait wait_order wand weak weak0 weak1 while wildcard wire with within wor xnor xor"),w=/[\+\-\*\/!~&|^%=?:]/,y=/[\[\]{}()]/,b=/\d[0-9_]*/,I=/\d*\s*'s?d\s*\d[0-9_]*/i,A=/\d*\s*'s?b\s*[xz01][xz01_]*/i,T=/\d*\s*'s?o\s*[xz0-7][xz0-7_]*/i,M=/\d*\s*'s?h\s*[0-9a-fxz?][0-9a-fxz?_]*/i,j=/(\d[\d_]*(\.\d[\d_]*)?E-?[\d_]+)|(\d[\d_]*\.\d[\d_]*)/i,W=/^((\w+)|[)}\]])/,U=/[)}\]]/,d,v,K=g("case checker class clocking config function generate interface module package primitive program property specify sequence table task"),f={};for(var m in K)f[m]="end"+m;f.begin="end",f.casex="endcase",f.casez="endcase",f.do="while",f.fork="join;join_any;join_none",f.covergroup="endgroup";for(var V in c){var m=c[V];f[m]&&(f[m]=void 0)}var P=g("always always_comb always_ff always_latch assert assign assume else export for foreach forever if import initial repeat while");function _(e,n){var t=e.peek(),r;if(a[t]&&(r=a[t](e,n))!=!1||a.tokenBase&&(r=a.tokenBase(e,n))!=!1)return r;if(/[,;:\.]/.test(t))return d=e.next(),null;if(y.test(t))return d=e.next(),"bracket";if(t=="`")return e.next(),e.eatWhile(/[\w\$_]/)?"def":null;if(t=="$")return e.next(),e.eatWhile(/[\w\$_]/)?"meta":null;if(t=="#")return e.next(),e.eatWhile(/[\d_.]/),"def";if(t=='"')return e.next(),n.tokenize=R(t),n.tokenize(e,n);if(t=="/"){if(e.next(),e.eat("*"))return n.tokenize=B,B(e,n);if(e.eat("/"))return e.skipToEnd(),"comment";e.backUp(1)}if(e.match(j)||e.match(I)||e.match(A)||e.match(T)||e.match(M)||e.match(b)||e.match(j))return"number";if(e.eatWhile(w))return"meta";if(e.eatWhile(/[\w\$_]/)){var l=e.current();return h[l]?(f[l]&&(d="newblock"),P[l]&&(d="newstatement"),v=l,"keyword"):"variable"}return e.next(),null}function R(e){return function(n,t){for(var r=!1,l,k=!1;(l=n.next())!=null;){if(l==e&&!r){k=!0;break}r=!r&&l=="\\"}return(k||!(r||s))&&(t.tokenize=_),"string"}}function B(e,n){for(var t=!1,r;r=e.next();){if(r=="/"&&t){n.tokenize=_;break}t=r=="*"}return"comment"}function L(e,n,t,r,l){this.indented=e,this.column=n,this.type=t,this.align=r,this.prev=l}function p(e,n,t){var r=e.indented,l=new L(r,n,t,null,e.context);return e.context=l}function C(e){var n=e.context.type;return(n==")"||n=="]"||n=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}function N(e,n){if(e==n)return!0;var t=n.split(";");for(var r in t)if(e==t[r])return!0;return!1}function D(){var e=[];for(var n in f)if(f[n]){var t=f[n].split(";");for(var r in t)e.push(t[r])}var l=new RegExp("[{}()\\[\\]]|("+e.join("|")+")$");return l}return{name:"verilog",startState:function(e){var n={tokenize:null,context:new L(-e,0,"top",!1),indented:0,startOfLine:!0};return a.startState&&a.startState(n),n},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),a.token){var r=a.token(e,n);if(r!==void 0)return r}if(e.eatSpace())return null;d=null,v=null;var r=(n.tokenize||_)(e,n);if(r=="comment"||r=="meta"||r=="variable")return r;if(t.align==null&&(t.align=!0),d==t.type)C(n);else if(d==";"&&t.type=="statement"||t.type&&N(v,t.type))for(t=C(n);t&&t.type=="statement";)t=C(n);else if(d=="{")p(n,e.column(),"}");else if(d=="[")p(n,e.column(),"]");else if(d=="(")p(n,e.column(),")");else if(t&&t.type=="endcase"&&d==":")p(n,e.column(),"statement");else if(d=="newstatement")p(n,e.column(),"statement");else if(d=="newblock"&&!(v=="function"&&t&&(t.type=="statement"||t.type=="endgroup"))){if(!(v=="task"&&t&&t.type=="statement")){var l=f[v];p(n,e.column(),l)}}return n.startOfLine=!1,r},indent:function(e,n,t){if(e.tokenize!=_&&e.tokenize!=null)return null;if(a.indent){var r=a.indent(e);if(r>=0)return r}var l=e.context,k=n&&n.charAt(0);l.type=="statement"&&k=="}"&&(l=l.prev);var x=!1,$=n.match(W);return $&&(x=N($[0],l.type)),l.type=="statement"?l.indented+(k=="{"?0:o||t.unit):U.test(l.type)&&l.align&&!u?l.column+(x?0:1):l.type==")"&&!x?l.indented+(o||t.unit):l.indented+(x?0:t.unit)},languageData:{indentOnInput:D(),commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}}}const F=O({});var z={"|":"link",">":"property",$:"variable",$$:"variable","?$":"qualifier","?*":"qualifier","-":"contentSeparator","/":"property","/-":"property","@":"variableName.special","@-":"variableName.special","@++":"variableName.special","@+=":"variableName.special","@+=-":"variableName.special","@--":"variableName.special","@-=":"variableName.special","%+":"tag","%-":"tag","%":"tag",">>":"tag","<<":"tag","<>":"tag","#":"tag","^":"attribute","^^":"attribute","^!":"attribute","*":"variable","**":"variable","\\":"keyword",'"':"comment"},E={"/":"beh-hier",">":"beh-hier","-":"phys-hier","|":"pipe","?":"when","@":"stage","\\":"keyword"},S=3,q=/^([~!@#\$%\^&\*-\+=\?\/\\\|'"<>]+)([\d\w_]*)/,G=/^[! ] */,J=/^\/[\/\*]/;O({hooks:{electricInput:!1,token:function(i,o){var u=void 0,c;if(i.sol()&&!o.tlvInBlockComment){i.peek()=="\\"&&(u="def",i.skipToEnd(),i.string.match(/\\SV/)?o.tlvCodeActive=!1:i.string.match(/\\TLV/)&&(o.tlvCodeActive=!0)),o.tlvCodeActive&&i.pos==0&&o.indented==0&&(c=i.match(G,!1))&&(o.indented=c[0].length);var s=o.indented,a=s/S;if(a<=o.tlvIndentationStyle.length){var g=i.string.length==s,h=a*S;if(h<i.string.length){var w=i.string.slice(h),y=w[0];E[y]&&(c=w.match(q))&&z[c[1]]&&(s+=S,y=="\\"&&h>0||(o.tlvIndentationStyle[a]=E[y],a++))}if(!g)for(;o.tlvIndentationStyle.length>a;)o.tlvIndentationStyle.pop()}o.tlvNextIndent=s}if(o.tlvCodeActive){var c;if(u===void 0)if(o.tlvInBlockComment)i.match(/^.*?\*\//)?o.tlvInBlockComment=!1:i.skipToEnd(),u="comment";else if((c=i.match(J))&&!o.tlvInBlockComment)c[0]=="//"?i.skipToEnd():o.tlvInBlockComment=!0,u="comment";else if(c=i.match(q)){var b=c[1],I=c[2];z.hasOwnProperty(b)&&(I.length>0||i.eol())?u=z[b]:i.backUp(i.current().length-1)}else i.match(/^\t+/)?u="invalid":i.match(/^[\[\]{}\(\);\:]+/)?u="meta":(c=i.match(/^[mM]4([\+_])?[\w\d_]*/))?u=c[1]=="+"?"keyword.special":"keyword":i.match(/^ +/)?i.eol()&&(u="error"):i.match(/^[\w\d_]+/)?u="number":i.next()}else i.match(/^[mM]4([\w\d_]*)/)&&(u="keyword");return u},indent:function(i){return i.tlvCodeActive==!0?i.tlvNextIndent:-1},startState:function(i){i.tlvIndentationStyle=[],i.tlvCodeActive=!0,i.tlvNextIndent=-1,i.tlvInBlockComment=!1}}});exports.verilog=F;
|
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
function A(i) {
|
|
2
|
+
var o = i.statementIndentUnit, u = i.dontAlignCalls, c = i.noIndentKeywords || [], s = i.multiLineStrings, a = i.hooks || {};
|
|
3
|
+
function g(e) {
|
|
4
|
+
for (var n = {}, t = e.split(" "), r = 0; r < t.length; ++r) n[t[r]] = !0;
|
|
5
|
+
return n;
|
|
6
|
+
}
|
|
7
|
+
var h = g(
|
|
8
|
+
"accept_on alias always always_comb always_ff always_latch and assert assign assume automatic before begin bind bins binsof bit break buf bufif0 bufif1 byte case casex casez cell chandle checker class clocking cmos config const constraint context continue cover covergroup coverpoint cross deassign default defparam design disable dist do edge else end endcase endchecker endclass endclocking endconfig endfunction endgenerate endgroup endinterface endmodule endpackage endprimitive endprogram endproperty endspecify endsequence endtable endtask enum event eventually expect export extends extern final first_match for force foreach forever fork forkjoin function generate genvar global highz0 highz1 if iff ifnone ignore_bins illegal_bins implements implies import incdir include initial inout input inside instance int integer interconnect interface intersect join join_any join_none large let liblist library local localparam logic longint macromodule matches medium modport module nand negedge nettype new nexttime nmos nor noshowcancelled not notif0 notif1 null or output package packed parameter pmos posedge primitive priority program property protected pull0 pull1 pulldown pullup pulsestyle_ondetect pulsestyle_onevent pure rand randc randcase randsequence rcmos real realtime ref reg reject_on release repeat restrict return rnmos rpmos rtran rtranif0 rtranif1 s_always s_eventually s_nexttime s_until s_until_with scalared sequence shortint shortreal showcancelled signed small soft solve specify specparam static string strong strong0 strong1 struct super supply0 supply1 sync_accept_on sync_reject_on table tagged task this throughout time timeprecision timeunit tran tranif0 tranif1 tri tri0 tri1 triand trior trireg type typedef union unique unique0 unsigned until until_with untyped use uwire var vectored virtual void wait wait_order wand weak weak0 weak1 while wildcard wire with within wor xnor xor"
|
|
9
|
+
), w = /[\+\-\*\/!~&|^%=?:]/, k = /[\[\]{}()]/, b = /\d[0-9_]*/, I = /\d*\s*'s?d\s*\d[0-9_]*/i, O = /\d*\s*'s?b\s*[xz01][xz01_]*/i, T = /\d*\s*'s?o\s*[xz0-7][xz0-7_]*/i, W = /\d*\s*'s?h\s*[0-9a-fxz?][0-9a-fxz?_]*/i, B = /(\d[\d_]*(\.\d[\d_]*)?E-?[\d_]+)|(\d[\d_]*\.\d[\d_]*)/i, M = /^((\w+)|[)}\]])/, U = /[)}\]]/, d, v, K = g(
|
|
10
|
+
"case checker class clocking config function generate interface module package primitive program property specify sequence table task"
|
|
11
|
+
), f = {};
|
|
12
|
+
for (var m in K)
|
|
13
|
+
f[m] = "end" + m;
|
|
14
|
+
f.begin = "end", f.casex = "endcase", f.casez = "endcase", f.do = "while", f.fork = "join;join_any;join_none", f.covergroup = "endgroup";
|
|
15
|
+
for (var V in c) {
|
|
16
|
+
var m = c[V];
|
|
17
|
+
f[m] && (f[m] = void 0);
|
|
18
|
+
}
|
|
19
|
+
var R = g("always always_comb always_ff always_latch assert assign assume else export for foreach forever if import initial repeat while");
|
|
20
|
+
function _(e, n) {
|
|
21
|
+
var t = e.peek(), r;
|
|
22
|
+
if (a[t] && (r = a[t](e, n)) != !1 || a.tokenBase && (r = a.tokenBase(e, n)) != !1)
|
|
23
|
+
return r;
|
|
24
|
+
if (/[,;:\.]/.test(t))
|
|
25
|
+
return d = e.next(), null;
|
|
26
|
+
if (k.test(t))
|
|
27
|
+
return d = e.next(), "bracket";
|
|
28
|
+
if (t == "`")
|
|
29
|
+
return e.next(), e.eatWhile(/[\w\$_]/) ? "def" : null;
|
|
30
|
+
if (t == "$")
|
|
31
|
+
return e.next(), e.eatWhile(/[\w\$_]/) ? "meta" : null;
|
|
32
|
+
if (t == "#")
|
|
33
|
+
return e.next(), e.eatWhile(/[\d_.]/), "def";
|
|
34
|
+
if (t == '"')
|
|
35
|
+
return e.next(), n.tokenize = D(t), n.tokenize(e, n);
|
|
36
|
+
if (t == "/") {
|
|
37
|
+
if (e.next(), e.eat("*"))
|
|
38
|
+
return n.tokenize = L, L(e, n);
|
|
39
|
+
if (e.eat("/"))
|
|
40
|
+
return e.skipToEnd(), "comment";
|
|
41
|
+
e.backUp(1);
|
|
42
|
+
}
|
|
43
|
+
if (e.match(B) || e.match(I) || e.match(O) || e.match(T) || e.match(W) || e.match(b) || e.match(B))
|
|
44
|
+
return "number";
|
|
45
|
+
if (e.eatWhile(w))
|
|
46
|
+
return "meta";
|
|
47
|
+
if (e.eatWhile(/[\w\$_]/)) {
|
|
48
|
+
var l = e.current();
|
|
49
|
+
return h[l] ? (f[l] && (d = "newblock"), R[l] && (d = "newstatement"), v = l, "keyword") : "variable";
|
|
50
|
+
}
|
|
51
|
+
return e.next(), null;
|
|
52
|
+
}
|
|
53
|
+
function D(e) {
|
|
54
|
+
return function(n, t) {
|
|
55
|
+
for (var r = !1, l, y = !1; (l = n.next()) != null; ) {
|
|
56
|
+
if (l == e && !r) {
|
|
57
|
+
y = !0;
|
|
58
|
+
break;
|
|
59
|
+
}
|
|
60
|
+
r = !r && l == "\\";
|
|
61
|
+
}
|
|
62
|
+
return (y || !(r || s)) && (t.tokenize = _), "string";
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
function L(e, n) {
|
|
66
|
+
for (var t = !1, r; r = e.next(); ) {
|
|
67
|
+
if (r == "/" && t) {
|
|
68
|
+
n.tokenize = _;
|
|
69
|
+
break;
|
|
70
|
+
}
|
|
71
|
+
t = r == "*";
|
|
72
|
+
}
|
|
73
|
+
return "comment";
|
|
74
|
+
}
|
|
75
|
+
function j(e, n, t, r, l) {
|
|
76
|
+
this.indented = e, this.column = n, this.type = t, this.align = r, this.prev = l;
|
|
77
|
+
}
|
|
78
|
+
function p(e, n, t) {
|
|
79
|
+
var r = e.indented, l = new j(r, n, t, null, e.context);
|
|
80
|
+
return e.context = l;
|
|
81
|
+
}
|
|
82
|
+
function C(e) {
|
|
83
|
+
var n = e.context.type;
|
|
84
|
+
return (n == ")" || n == "]" || n == "}") && (e.indented = e.context.indented), e.context = e.context.prev;
|
|
85
|
+
}
|
|
86
|
+
function N(e, n) {
|
|
87
|
+
if (e == n)
|
|
88
|
+
return !0;
|
|
89
|
+
var t = n.split(";");
|
|
90
|
+
for (var r in t)
|
|
91
|
+
if (e == t[r])
|
|
92
|
+
return !0;
|
|
93
|
+
return !1;
|
|
94
|
+
}
|
|
95
|
+
function P() {
|
|
96
|
+
var e = [];
|
|
97
|
+
for (var n in f)
|
|
98
|
+
if (f[n]) {
|
|
99
|
+
var t = f[n].split(";");
|
|
100
|
+
for (var r in t)
|
|
101
|
+
e.push(t[r]);
|
|
102
|
+
}
|
|
103
|
+
var l = new RegExp("[{}()\\[\\]]|(" + e.join("|") + ")$");
|
|
104
|
+
return l;
|
|
105
|
+
}
|
|
106
|
+
return {
|
|
107
|
+
name: "verilog",
|
|
108
|
+
startState: function(e) {
|
|
109
|
+
var n = {
|
|
110
|
+
tokenize: null,
|
|
111
|
+
context: new j(-e, 0, "top", !1),
|
|
112
|
+
indented: 0,
|
|
113
|
+
startOfLine: !0
|
|
114
|
+
};
|
|
115
|
+
return a.startState && a.startState(n), n;
|
|
116
|
+
},
|
|
117
|
+
token: function(e, n) {
|
|
118
|
+
var t = n.context;
|
|
119
|
+
if (e.sol() && (t.align == null && (t.align = !1), n.indented = e.indentation(), n.startOfLine = !0), a.token) {
|
|
120
|
+
var r = a.token(e, n);
|
|
121
|
+
if (r !== void 0)
|
|
122
|
+
return r;
|
|
123
|
+
}
|
|
124
|
+
if (e.eatSpace()) return null;
|
|
125
|
+
d = null, v = null;
|
|
126
|
+
var r = (n.tokenize || _)(e, n);
|
|
127
|
+
if (r == "comment" || r == "meta" || r == "variable") return r;
|
|
128
|
+
if (t.align == null && (t.align = !0), d == t.type)
|
|
129
|
+
C(n);
|
|
130
|
+
else if (d == ";" && t.type == "statement" || t.type && N(v, t.type))
|
|
131
|
+
for (t = C(n); t && t.type == "statement"; ) t = C(n);
|
|
132
|
+
else if (d == "{")
|
|
133
|
+
p(n, e.column(), "}");
|
|
134
|
+
else if (d == "[")
|
|
135
|
+
p(n, e.column(), "]");
|
|
136
|
+
else if (d == "(")
|
|
137
|
+
p(n, e.column(), ")");
|
|
138
|
+
else if (t && t.type == "endcase" && d == ":")
|
|
139
|
+
p(n, e.column(), "statement");
|
|
140
|
+
else if (d == "newstatement")
|
|
141
|
+
p(n, e.column(), "statement");
|
|
142
|
+
else if (d == "newblock" && !(v == "function" && t && (t.type == "statement" || t.type == "endgroup"))) {
|
|
143
|
+
if (!(v == "task" && t && t.type == "statement")) {
|
|
144
|
+
var l = f[v];
|
|
145
|
+
p(n, e.column(), l);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
return n.startOfLine = !1, r;
|
|
149
|
+
},
|
|
150
|
+
indent: function(e, n, t) {
|
|
151
|
+
if (e.tokenize != _ && e.tokenize != null) return null;
|
|
152
|
+
if (a.indent) {
|
|
153
|
+
var r = a.indent(e);
|
|
154
|
+
if (r >= 0) return r;
|
|
155
|
+
}
|
|
156
|
+
var l = e.context, y = n && n.charAt(0);
|
|
157
|
+
l.type == "statement" && y == "}" && (l = l.prev);
|
|
158
|
+
var x = !1, $ = n.match(M);
|
|
159
|
+
return $ && (x = N($[0], l.type)), l.type == "statement" ? l.indented + (y == "{" ? 0 : o || t.unit) : U.test(l.type) && l.align && !u ? l.column + (x ? 0 : 1) : l.type == ")" && !x ? l.indented + (o || t.unit) : l.indented + (x ? 0 : t.unit);
|
|
160
|
+
},
|
|
161
|
+
languageData: {
|
|
162
|
+
indentOnInput: P(),
|
|
163
|
+
commentTokens: { line: "//", block: { open: "/*", close: "*/" } }
|
|
164
|
+
}
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
const J = A({});
|
|
168
|
+
var z = {
|
|
169
|
+
"|": "link",
|
|
170
|
+
">": "property",
|
|
171
|
+
// Should condition this off for > TLV 1c.
|
|
172
|
+
$: "variable",
|
|
173
|
+
$$: "variable",
|
|
174
|
+
"?$": "qualifier",
|
|
175
|
+
"?*": "qualifier",
|
|
176
|
+
"-": "contentSeparator",
|
|
177
|
+
"/": "property",
|
|
178
|
+
"/-": "property",
|
|
179
|
+
"@": "variableName.special",
|
|
180
|
+
"@-": "variableName.special",
|
|
181
|
+
"@++": "variableName.special",
|
|
182
|
+
"@+=": "variableName.special",
|
|
183
|
+
"@+=-": "variableName.special",
|
|
184
|
+
"@--": "variableName.special",
|
|
185
|
+
"@-=": "variableName.special",
|
|
186
|
+
"%+": "tag",
|
|
187
|
+
"%-": "tag",
|
|
188
|
+
"%": "tag",
|
|
189
|
+
">>": "tag",
|
|
190
|
+
"<<": "tag",
|
|
191
|
+
"<>": "tag",
|
|
192
|
+
"#": "tag",
|
|
193
|
+
// Need to choose a style for this.
|
|
194
|
+
"^": "attribute",
|
|
195
|
+
"^^": "attribute",
|
|
196
|
+
"^!": "attribute",
|
|
197
|
+
"*": "variable",
|
|
198
|
+
"**": "variable",
|
|
199
|
+
"\\": "keyword",
|
|
200
|
+
'"': "comment"
|
|
201
|
+
}, E = {
|
|
202
|
+
"/": "beh-hier",
|
|
203
|
+
">": "beh-hier",
|
|
204
|
+
"-": "phys-hier",
|
|
205
|
+
"|": "pipe",
|
|
206
|
+
"?": "when",
|
|
207
|
+
"@": "stage",
|
|
208
|
+
"\\": "keyword"
|
|
209
|
+
}, S = 3, q = /^([~!@#\$%\^&\*-\+=\?\/\\\|'"<>]+)([\d\w_]*)/, F = /^[! ] */, G = /^\/[\/\*]/;
|
|
210
|
+
A({
|
|
211
|
+
hooks: {
|
|
212
|
+
electricInput: !1,
|
|
213
|
+
// Return undefined for verilog tokenizing, or style for TLV token (null not used).
|
|
214
|
+
// Standard CM styles are used for most formatting, but some TL-Verilog-specific highlighting
|
|
215
|
+
// can be enabled with the definition of cm-tlv-* styles, including highlighting for:
|
|
216
|
+
// - M4 tokens
|
|
217
|
+
// - TLV scope indentation
|
|
218
|
+
// - Statement delimitation (enabled by tlvTrackStatements)
|
|
219
|
+
token: function(i, o) {
|
|
220
|
+
var u = void 0, c;
|
|
221
|
+
if (i.sol() && !o.tlvInBlockComment) {
|
|
222
|
+
i.peek() == "\\" && (u = "def", i.skipToEnd(), i.string.match(/\\SV/) ? o.tlvCodeActive = !1 : i.string.match(/\\TLV/) && (o.tlvCodeActive = !0)), o.tlvCodeActive && i.pos == 0 && o.indented == 0 && (c = i.match(F, !1)) && (o.indented = c[0].length);
|
|
223
|
+
var s = o.indented, a = s / S;
|
|
224
|
+
if (a <= o.tlvIndentationStyle.length) {
|
|
225
|
+
var g = i.string.length == s, h = a * S;
|
|
226
|
+
if (h < i.string.length) {
|
|
227
|
+
var w = i.string.slice(h), k = w[0];
|
|
228
|
+
E[k] && (c = w.match(q)) && z[c[1]] && (s += S, k == "\\" && h > 0 || (o.tlvIndentationStyle[a] = E[k], a++));
|
|
229
|
+
}
|
|
230
|
+
if (!g)
|
|
231
|
+
for (; o.tlvIndentationStyle.length > a; )
|
|
232
|
+
o.tlvIndentationStyle.pop();
|
|
233
|
+
}
|
|
234
|
+
o.tlvNextIndent = s;
|
|
235
|
+
}
|
|
236
|
+
if (o.tlvCodeActive) {
|
|
237
|
+
var c;
|
|
238
|
+
if (u === void 0) if (o.tlvInBlockComment)
|
|
239
|
+
i.match(/^.*?\*\//) ? o.tlvInBlockComment = !1 : i.skipToEnd(), u = "comment";
|
|
240
|
+
else if ((c = i.match(G)) && !o.tlvInBlockComment)
|
|
241
|
+
c[0] == "//" ? i.skipToEnd() : o.tlvInBlockComment = !0, u = "comment";
|
|
242
|
+
else if (c = i.match(q)) {
|
|
243
|
+
var b = c[1], I = c[2];
|
|
244
|
+
// is identifier prefix
|
|
245
|
+
z.hasOwnProperty(b) && // has mnemonic or we're at the end of the line (maybe it hasn't been typed yet)
|
|
246
|
+
(I.length > 0 || i.eol()) ? u = z[b] : i.backUp(i.current().length - 1);
|
|
247
|
+
} else i.match(/^\t+/) ? u = "invalid" : i.match(/^[\[\]{}\(\);\:]+/) ? u = "meta" : (c = i.match(/^[mM]4([\+_])?[\w\d_]*/)) ? u = c[1] == "+" ? "keyword.special" : "keyword" : i.match(/^ +/) ? i.eol() && (u = "error") : i.match(/^[\w\d_]+/) ? u = "number" : i.next();
|
|
248
|
+
} else
|
|
249
|
+
i.match(/^[mM]4([\w\d_]*)/) && (u = "keyword");
|
|
250
|
+
return u;
|
|
251
|
+
},
|
|
252
|
+
indent: function(i) {
|
|
253
|
+
return i.tlvCodeActive == !0 ? i.tlvNextIndent : -1;
|
|
254
|
+
},
|
|
255
|
+
startState: function(i) {
|
|
256
|
+
i.tlvIndentationStyle = [], i.tlvCodeActive = !0, i.tlvNextIndent = -1, i.tlvInBlockComment = !1;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
});
|
|
260
|
+
export {
|
|
261
|
+
J as verilog
|
|
262
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function f(e){for(var t={},n=e.split(","),r=0;r<n.length;++r){var i=n[r].toUpperCase(),l=n[r].charAt(0).toUpperCase()+n[r].slice(1);t[n[r]]=!0,t[i]=!0,t[l]=!0}return t}function p(e){return e.eatWhile(/[\w\$_]/),"meta"}var y=f("null"),d={"`":p,$:p},g=!1,k=f("abs,access,after,alias,all,and,architecture,array,assert,attribute,begin,block,body,buffer,bus,case,component,configuration,constant,disconnect,downto,else,elsif,end,end block,end case,end component,end for,end generate,end if,end loop,end process,end record,end units,entity,exit,file,for,function,generate,generic,generic map,group,guarded,if,impure,in,inertial,inout,is,label,library,linkage,literal,loop,map,mod,nand,new,next,nor,null,of,on,open,or,others,out,package,package body,port,port map,postponed,procedure,process,pure,range,record,register,reject,rem,report,return,rol,ror,select,severity,signal,sla,sll,sra,srl,subtype,then,to,transport,type,unaffected,units,until,use,variable,wait,when,while,with,xnor,xor"),v=f("architecture,entity,begin,case,port,else,elsif,end,for,function,if"),s=/[&|~><!\)\(*#%@+\/=?\:;}{,\.\^\-\[\]]/,o;function c(e,t){var n=e.next();if(d[n]){var r=d[n](e,t);if(r!==!1)return r}if(n=='"')return t.tokenize=m(n),t.tokenize(e,t);if(n=="'")return t.tokenize=b(n),t.tokenize(e,t);if(/[\[\]{}\(\),;\:\.]/.test(n))return o=n,null;if(/[\d']/.test(n))return e.eatWhile(/[\w\.']/),"number";if(n=="-"&&e.eat("-"))return e.skipToEnd(),"comment";if(s.test(n))return e.eatWhile(s),"operator";e.eatWhile(/[\w\$_]/);var i=e.current();return k.propertyIsEnumerable(i.toLowerCase())?(v.propertyIsEnumerable(i)&&(o="newstatement"),"keyword"):y.propertyIsEnumerable(i)?"atom":"variable"}function b(e){return function(t,n){for(var r=!1,i,l=!1;(i=t.next())!=null;){if(i==e&&!r){l=!0;break}r=!r&&i=="--"}return(l||!(r||g))&&(n.tokenize=c),"string"}}function m(e){return function(t,n){for(var r=!1,i,l=!1;(i=t.next())!=null;){if(i==e&&!r){l=!0;break}r=!r&&i=="--"}return(l||!(r||g))&&(n.tokenize=c),"string.special"}}function h(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function a(e,t,n){return e.context=new h(e.indented,t,n,null,e.context)}function u(e){var t=e.context.type;return(t==")"||t=="]"||t=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}const w={name:"vhdl",startState:function(e){return{tokenize:null,context:new h(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(n.align==null&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;o=null;var r=(t.tokenize||c)(e,t);if(r=="comment"||r=="meta")return r;if(n.align==null&&(n.align=!0),(o==";"||o==":")&&n.type=="statement")u(t);else if(o=="{")a(t,e.column(),"}");else if(o=="[")a(t,e.column(),"]");else if(o=="(")a(t,e.column(),")");else if(o=="}"){for(;n.type=="statement";)n=u(t);for(n.type=="}"&&(n=u(t));n.type=="statement";)n=u(t)}else o==n.type?u(t):(n.type=="}"||n.type=="top"||n.type=="statement"&&o=="newstatement")&&a(t,e.column(),"statement");return t.startOfLine=!1,r},indent:function(e,t,n){if(e.tokenize!=c&&e.tokenize!=null)return 0;var r=t&&t.charAt(0),i=e.context,l=r==i.type;return i.type=="statement"?i.indented+(r=="{"?0:n.unit):i.align?i.column+(l?0:1):i.indented+(l?0:n.unit)},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"--"}}};exports.vhdl=w;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
function f(e) {
|
|
2
|
+
for (var t = {}, n = e.split(","), r = 0; r < n.length; ++r) {
|
|
3
|
+
var i = n[r].toUpperCase(), l = n[r].charAt(0).toUpperCase() + n[r].slice(1);
|
|
4
|
+
t[n[r]] = !0, t[i] = !0, t[l] = !0;
|
|
5
|
+
}
|
|
6
|
+
return t;
|
|
7
|
+
}
|
|
8
|
+
function p(e) {
|
|
9
|
+
return e.eatWhile(/[\w\$_]/), "meta";
|
|
10
|
+
}
|
|
11
|
+
var k = f("null"), s = { "`": p, $: p }, g = !1, y = f("abs,access,after,alias,all,and,architecture,array,assert,attribute,begin,block,body,buffer,bus,case,component,configuration,constant,disconnect,downto,else,elsif,end,end block,end case,end component,end for,end generate,end if,end loop,end process,end record,end units,entity,exit,file,for,function,generate,generic,generic map,group,guarded,if,impure,in,inertial,inout,is,label,library,linkage,literal,loop,map,mod,nand,new,next,nor,null,of,on,open,or,others,out,package,package body,port,port map,postponed,procedure,process,pure,range,record,register,reject,rem,report,return,rol,ror,select,severity,signal,sla,sll,sra,srl,subtype,then,to,transport,type,unaffected,units,until,use,variable,wait,when,while,with,xnor,xor"), v = f("architecture,entity,begin,case,port,else,elsif,end,for,function,if"), d = /[&|~><!\)\(*#%@+\/=?\:;}{,\.\^\-\[\]]/, o;
|
|
12
|
+
function c(e, t) {
|
|
13
|
+
var n = e.next();
|
|
14
|
+
if (s[n]) {
|
|
15
|
+
var r = s[n](e, t);
|
|
16
|
+
if (r !== !1) return r;
|
|
17
|
+
}
|
|
18
|
+
if (n == '"')
|
|
19
|
+
return t.tokenize = m(n), t.tokenize(e, t);
|
|
20
|
+
if (n == "'")
|
|
21
|
+
return t.tokenize = b(n), t.tokenize(e, t);
|
|
22
|
+
if (/[\[\]{}\(\),;\:\.]/.test(n))
|
|
23
|
+
return o = n, null;
|
|
24
|
+
if (/[\d']/.test(n))
|
|
25
|
+
return e.eatWhile(/[\w\.']/), "number";
|
|
26
|
+
if (n == "-" && e.eat("-"))
|
|
27
|
+
return e.skipToEnd(), "comment";
|
|
28
|
+
if (d.test(n))
|
|
29
|
+
return e.eatWhile(d), "operator";
|
|
30
|
+
e.eatWhile(/[\w\$_]/);
|
|
31
|
+
var i = e.current();
|
|
32
|
+
return y.propertyIsEnumerable(i.toLowerCase()) ? (v.propertyIsEnumerable(i) && (o = "newstatement"), "keyword") : k.propertyIsEnumerable(i) ? "atom" : "variable";
|
|
33
|
+
}
|
|
34
|
+
function b(e) {
|
|
35
|
+
return function(t, n) {
|
|
36
|
+
for (var r = !1, i, l = !1; (i = t.next()) != null; ) {
|
|
37
|
+
if (i == e && !r) {
|
|
38
|
+
l = !0;
|
|
39
|
+
break;
|
|
40
|
+
}
|
|
41
|
+
r = !r && i == "--";
|
|
42
|
+
}
|
|
43
|
+
return (l || !(r || g)) && (n.tokenize = c), "string";
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function m(e) {
|
|
47
|
+
return function(t, n) {
|
|
48
|
+
for (var r = !1, i, l = !1; (i = t.next()) != null; ) {
|
|
49
|
+
if (i == e && !r) {
|
|
50
|
+
l = !0;
|
|
51
|
+
break;
|
|
52
|
+
}
|
|
53
|
+
r = !r && i == "--";
|
|
54
|
+
}
|
|
55
|
+
return (l || !(r || g)) && (n.tokenize = c), "string.special";
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function h(e, t, n, r, i) {
|
|
59
|
+
this.indented = e, this.column = t, this.type = n, this.align = r, this.prev = i;
|
|
60
|
+
}
|
|
61
|
+
function a(e, t, n) {
|
|
62
|
+
return e.context = new h(e.indented, t, n, null, e.context);
|
|
63
|
+
}
|
|
64
|
+
function u(e) {
|
|
65
|
+
var t = e.context.type;
|
|
66
|
+
return (t == ")" || t == "]" || t == "}") && (e.indented = e.context.indented), e.context = e.context.prev;
|
|
67
|
+
}
|
|
68
|
+
const w = {
|
|
69
|
+
name: "vhdl",
|
|
70
|
+
startState: function(e) {
|
|
71
|
+
return {
|
|
72
|
+
tokenize: null,
|
|
73
|
+
context: new h(-e, 0, "top", !1),
|
|
74
|
+
indented: 0,
|
|
75
|
+
startOfLine: !0
|
|
76
|
+
};
|
|
77
|
+
},
|
|
78
|
+
token: function(e, t) {
|
|
79
|
+
var n = t.context;
|
|
80
|
+
if (e.sol() && (n.align == null && (n.align = !1), t.indented = e.indentation(), t.startOfLine = !0), e.eatSpace()) return null;
|
|
81
|
+
o = null;
|
|
82
|
+
var r = (t.tokenize || c)(e, t);
|
|
83
|
+
if (r == "comment" || r == "meta") return r;
|
|
84
|
+
if (n.align == null && (n.align = !0), (o == ";" || o == ":") && n.type == "statement") u(t);
|
|
85
|
+
else if (o == "{") a(t, e.column(), "}");
|
|
86
|
+
else if (o == "[") a(t, e.column(), "]");
|
|
87
|
+
else if (o == "(") a(t, e.column(), ")");
|
|
88
|
+
else if (o == "}") {
|
|
89
|
+
for (; n.type == "statement"; ) n = u(t);
|
|
90
|
+
for (n.type == "}" && (n = u(t)); n.type == "statement"; ) n = u(t);
|
|
91
|
+
} else o == n.type ? u(t) : (n.type == "}" || n.type == "top" || n.type == "statement" && o == "newstatement") && a(t, e.column(), "statement");
|
|
92
|
+
return t.startOfLine = !1, r;
|
|
93
|
+
},
|
|
94
|
+
indent: function(e, t, n) {
|
|
95
|
+
if (e.tokenize != c && e.tokenize != null) return 0;
|
|
96
|
+
var r = t && t.charAt(0), i = e.context, l = r == i.type;
|
|
97
|
+
return i.type == "statement" ? i.indented + (r == "{" ? 0 : n.unit) : i.align ? i.column + (l ? 0 : 1) : i.indented + (l ? 0 : n.unit);
|
|
98
|
+
},
|
|
99
|
+
languageData: {
|
|
100
|
+
indentOnInput: /^\s*[{}]$/,
|
|
101
|
+
commentTokens: { line: "--" }
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
export {
|
|
105
|
+
w as vhdl
|
|
106
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./translations-EQ1qPZ0_.cjs"),g={loadingExtended:"Đang tải, vui lòng đợi",loadingShort:"Đang tải...",locale:"Ngôn ngữ",iconDescription:"Biểu tượng",loadingIcon:"Biểu tượng tải",failedToLoadIcon:"Không thể tải biểu tượng",editLabel:"Chỉnh sửa",selectOne:"Chọn một",selectMany:"Chọn nhiều",noResults:"Không có kết quả",passwordPlaceholderText:"Mật khẩu bí mật",togglePasswordVisibility:"Chuyển đổi hiển thị mật khẩu",toggleMenu:"Chuyển đổi menu",toggleAside:"Chuyển đổi bảng bên",mainNavigation:"Điều hướng chính",sidebar:"Thanh bên",closeDrawer:"Đóng ngăn kéo",closeModal:"Đóng modal",confirm:"Xác nhận",cancel:"Hủy",addLabel:"Thêm",removeItem:"Xóa mục",currentLocale:"Tiếng Việt",ar:"Tiếng Ả Rập",de:"Tiếng Đức",en:"Tiếng Anh",es:"Tiếng Tây Ban Nha",fr:"Tiếng Pháp",hi:"Tiếng Hindi",it:"Tiếng Ý",ja:"Tiếng Nhật",ko:"Tiếng Hàn",nl:"Tiếng Hà Lan",pl:"Tiếng Ba Lan",pt:"Tiếng Bồ Đào Nha",ru:"Tiếng Nga",tr:"Tiếng Thổ Nhĩ Kỳ",vi:"Tiếng Việt",zh:"Tiếng Trung",he:"Tiếng Do Thái",fa:"Tiếng Ba Tư",ur:"Tiếng Urdu",emailPlaceholderText:"Nhập email của bạn",incrementValue:"Tăng giá trị",decrementValue:"Giảm giá trị",dropZoneInstructions:n=>n?"Nhấp để chọn hoặc kéo tệp vào đây, hoặc nhấn Enter hoặc Space để mở trình chọn tệp":"Kéo tệp vào đây",fileSizeUnits:["Byte","KB","MB","GB","TB"],removeFile:"Xóa tệp",clearAllFiles:"Xóa tất cả tệp",clearValue:"Xóa giá trị",unknownType:"Loại không xác định",filesInputInstructions:(n,i,e)=>{let o=n==null||n>1?"Nhấp để chọn hoặc kéo tệp vào đây":"Nhấp để chọn hoặc kéo một tệp vào đây";if(n||i){const t=[];if(n!=null&&n>1&&t.push(`tối đa ${n} tệp`),i&&e){const a=h.formatFileSize(i,{units:e});t.push(`mỗi tệp tối đa ${a}`)}t.length>0&&(o+=` (${t.join(", ")})`)}else if(i&&e){const t=h.formatFileSize(i,{units:e});o+=` (tối đa ${t})`}return o}};exports.default=g;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
1
|
+
import { f as h } from "./translations-DBtfTNnM.js";
|
|
2
|
+
const c = {
|
|
3
3
|
loadingExtended: "Đang tải, vui lòng đợi",
|
|
4
4
|
loadingShort: "Đang tải...",
|
|
5
5
|
locale: "Ngôn ngữ",
|
|
@@ -8,6 +8,8 @@ const r = {
|
|
|
8
8
|
failedToLoadIcon: "Không thể tải biểu tượng",
|
|
9
9
|
editLabel: "Chỉnh sửa",
|
|
10
10
|
selectOne: "Chọn một",
|
|
11
|
+
selectMany: "Chọn nhiều",
|
|
12
|
+
noResults: "Không có kết quả",
|
|
11
13
|
passwordPlaceholderText: "Mật khẩu bí mật",
|
|
12
14
|
togglePasswordVisibility: "Chuyển đổi hiển thị mật khẩu",
|
|
13
15
|
toggleMenu: "Chuyển đổi menu",
|
|
@@ -18,6 +20,8 @@ const r = {
|
|
|
18
20
|
closeModal: "Đóng modal",
|
|
19
21
|
confirm: "Xác nhận",
|
|
20
22
|
cancel: "Hủy",
|
|
23
|
+
addLabel: "Thêm",
|
|
24
|
+
removeItem: "Xóa mục",
|
|
21
25
|
// languages
|
|
22
26
|
currentLocale: "Tiếng Việt",
|
|
23
27
|
ar: "Tiếng Ả Rập",
|
|
@@ -41,36 +45,38 @@ const r = {
|
|
|
41
45
|
ur: "Tiếng Urdu",
|
|
42
46
|
// input
|
|
43
47
|
emailPlaceholderText: "Nhập email của bạn",
|
|
48
|
+
incrementValue: "Tăng giá trị",
|
|
49
|
+
decrementValue: "Giảm giá trị",
|
|
44
50
|
// drop zone
|
|
45
|
-
dropZoneInstructions: (
|
|
51
|
+
dropZoneInstructions: (n) => n ? "Nhấp để chọn hoặc kéo tệp vào đây, hoặc nhấn Enter hoặc Space để mở trình chọn tệp" : "Kéo tệp vào đây",
|
|
46
52
|
// size
|
|
47
53
|
fileSizeUnits: ["Byte", "KB", "MB", "GB", "TB"],
|
|
48
54
|
// file input
|
|
49
55
|
removeFile: "Xóa tệp",
|
|
50
56
|
clearAllFiles: "Xóa tất cả tệp",
|
|
57
|
+
// inputs reset
|
|
58
|
+
clearValue: "Xóa giá trị",
|
|
51
59
|
unknownType: "Loại không xác định",
|
|
52
|
-
|
|
53
|
-
let
|
|
54
|
-
if (
|
|
55
|
-
const
|
|
56
|
-
if (
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
const e = a(i, {
|
|
60
|
-
units: h
|
|
60
|
+
filesInputInstructions: (n, i, o) => {
|
|
61
|
+
let e = n == null || n > 1 ? "Nhấp để chọn hoặc kéo tệp vào đây" : "Nhấp để chọn hoặc kéo một tệp vào đây";
|
|
62
|
+
if (n || i) {
|
|
63
|
+
const t = [];
|
|
64
|
+
if (n != null && n > 1 && t.push(`tối đa ${n} tệp`), i && o) {
|
|
65
|
+
const g = h(i, {
|
|
66
|
+
units: o
|
|
61
67
|
});
|
|
62
|
-
|
|
68
|
+
t.push(`mỗi tệp tối đa ${g}`);
|
|
63
69
|
}
|
|
64
|
-
|
|
65
|
-
} else if (
|
|
66
|
-
const
|
|
67
|
-
units:
|
|
70
|
+
t.length > 0 && (e += ` (${t.join(", ")})`);
|
|
71
|
+
} else if (i && o) {
|
|
72
|
+
const t = h(i, {
|
|
73
|
+
units: o
|
|
68
74
|
});
|
|
69
|
-
|
|
75
|
+
e += ` (tối đa ${t})`;
|
|
70
76
|
}
|
|
71
|
-
return
|
|
77
|
+
return e;
|
|
72
78
|
}
|
|
73
79
|
};
|
|
74
80
|
export {
|
|
75
|
-
|
|
81
|
+
c as default
|
|
76
82
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t={signInTitle:"Đăng nhập",signInButton:"Đăng nhập",emailLabel:"Email",passwordLabel:"Mật khẩu",rememberMeLabel:"Ghi nhớ tôi",forgotPasswordLink:"Quên mật khẩu?",noAccountLink:"Chưa có tài khoản? Đăng ký",signUpTitle:"Đăng ký",signUpButton:"Đăng ký",nameLabel:"Tên",confirmPasswordLabel:"Xác nhận mật khẩu",acceptTermsLabel:"Tôi chấp nhận các điều khoản và điều kiện",hasAccountLink:"Đã có tài khoản? Đăng nhập",resetPasswordTitle:"Đặt lại mật khẩu",resetPasswordButton:"Đặt lại mật khẩu",resetPasswordDescription:"Nhập email của bạn để đặt lại mật khẩu.",backToSignInLink:"Quay lại đăng nhập",continueWithProvider:n=>`Tiếp tục với ${n}`,passwordStrengthWeak:"Yếu",passwordStrengthFair:"Khá",passwordStrengthGood:"Tốt",passwordStrengthStrong:"Mạnh",orDivider:"hoặc",error:"Đã xảy ra lỗi",required:"Bắt buộc",authenticationTitle:"Xác thực"};exports.default=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function a(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var l=["Clamp","Constructor","EnforceRange","Exposed","ImplicitThis","Global","PrimaryGlobal","LegacyArrayClass","LegacyUnenumerableNamedProperties","LenientThis","NamedConstructor","NewObject","NoInterfaceObject","OverrideBuiltins","PutForwards","Replaceable","SameObject","TreatNonObjectAsNull","TreatNullAs","EmptyString","Unforgeable","Unscopeable"],u=a(l),o=["unsigned","short","long","unrestricted","float","double","boolean","byte","octet","Promise","ArrayBuffer","DataView","Int8Array","Int16Array","Int32Array","Uint8Array","Uint16Array","Uint32Array","Uint8ClampedArray","Float32Array","Float64Array","ByteString","DOMString","USVString","sequence","object","RegExp","Error","DOMException","FrozenArray","any","void"],m=a(o),c=["attribute","callback","const","deleter","dictionary","enum","getter","implements","inherit","interface","iterable","legacycaller","maplike","partial","required","serializer","setlike","setter","static","stringifier","typedef","optional","readonly","or"],s=a(c),f=["true","false","Infinity","NaN","null"],y=a(f),d=["callback","dictionary","enum","interface"],b=a(d),p=["typedef"],v=a(p),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=/^\/\*.*?\*\//,w=/^\/\*.*/,C=/^.*?\*\//;function S(e,r){if(e.eatSpace())return null;if(r.inComment)return e.match(C)?(r.inComment=!1,"comment"):(e.skipToEnd(),"comment");if(e.match("//"))return e.skipToEnd(),"comment";if(e.match(E))return"comment";if(e.match(w))return r.inComment=!0,"comment";if(e.match(/^-?[0-9\.]/,!1)&&(e.match(g)||e.match(h)))return"number";if(e.match(k))return"string";if(r.startDef&&e.match(i))return"def";if(r.endDef&&e.match(D))return r.endDef=!1,"def";if(e.match(s))return"keyword";if(e.match(m)){var t=r.lastToken,n=(e.match(/^\s*(.+?)\b/,!1)||[])[1];return t===":"||t==="implements"||n==="implements"||n==="="?"builtin":"type"}return e.match(u)?"builtin":e.match(y)?"atom":e.match(i)?"variable":e.match(A)?"operator":(e.next(),null)}const N={name:"webidl",startState:function(){return{inComment:!1,lastToken:"",startDef:!1,endDef:!1}},token:function(e,r){var t=S(e,r);if(t){var n=e.current();r.lastToken=n,t==="keyword"?(r.startDef=b.test(n),r.endDef=r.endDef||v.test(n)):r.startDef=!1}return t},languageData:{autocomplete:l.concat(o).concat(c).concat(f)}};exports.webIDL=N;
|