@oslokommune/punkt-react 11.18.0 → 11.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/CHANGELOG.md +24 -0
- package/dist/index.d.ts +621 -0
- package/dist/punkt-react.es.js +11897 -37
- package/dist/punkt-react.umd.js +82 -85
- package/package.json +2 -2
- package/src/components/inputwrapper/InputWrapper.tsx +13 -1
- package/src/components/preview/Preview.tsx +1 -1
- package/src/components/searchinput/SearchInput.test.tsx +17 -4
- package/src/components/searchinput/SearchInput.tsx +39 -20
- package/src/components/select/Select.tsx +1 -1
- package/src/components/textarea/Textarea.tsx +5 -7
- package/src/components/textinput/Textinput.tsx +35 -9
- package/dist/abap-08667679.js +0 -85
- package/dist/abnf-6d3c70eb.js +0 -88
- package/dist/actionscript-f525636a.js +0 -44
- package/dist/ada-215714e4.js +0 -53
- package/dist/agda-c69fa2d6.js +0 -57
- package/dist/al-068d550c.js +0 -57
- package/dist/antlr4-16dd29cd.js +0 -97
- package/dist/apacheconf-e5f57638.js +0 -81
- package/dist/apex-4682f19d.js +0 -105
- package/dist/apl-0f35fd2e.js +0 -66
- package/dist/applescript-5028f661.js +0 -51
- package/dist/aql-03953d78.js +0 -83
- package/dist/arduino-032ba3ba.js +0 -42
- package/dist/arff-ff7332f2.js +0 -44
- package/dist/asciidoc-d540336b.js +0 -241
- package/dist/asm6502-33349486.js +0 -63
- package/dist/asmatmel-0edb51e4.js +0 -75
- package/dist/aspnet-4cc79b6f.js +0 -84
- package/dist/autohotkey-12b6b6d2.js +0 -65
- package/dist/autoit-e8600cad.js +0 -68
- package/dist/avisynth-4190a36d.js +0 -196
- package/dist/avro-idl-ab85f2ae.js +0 -75
- package/dist/bash-0c86f65c.js +0 -26
- package/dist/bash-23ecd1ce.js +0 -224
- package/dist/basic-4075c442.js +0 -29
- package/dist/basic-626cb9ac.js +0 -26
- package/dist/batch-b18232ac.js +0 -126
- package/dist/bbcode-b271cf8f.js +0 -61
- package/dist/bicep-4ae930c7.js +0 -103
- package/dist/birb-2b116248.js +0 -54
- package/dist/bison-4fd0865b.js +0 -74
- package/dist/bnf-86787581.js +0 -53
- package/dist/brainfuck-9371a85c.js +0 -54
- package/dist/brightscript-2df1e2b7.js +0 -77
- package/dist/bro-04547de4.js +0 -61
- package/dist/bsl-c9567e6d.js +0 -102
- package/dist/c-a0a33b69.js +0 -26
- package/dist/c-cbb9ff20.js +0 -84
- package/dist/cfscript-f5af1abe.js +0 -72
- package/dist/chaiscript-6042477c.js +0 -90
- package/dist/cil-14af5bb2.js +0 -53
- package/dist/clike-47451d77.js +0 -61
- package/dist/clojure-26386fed.js +0 -64
- package/dist/cmake-4841f8df.js +0 -63
- package/dist/cobol-0ae04d1a.js +0 -83
- package/dist/coffeescript-b26e7337.js +0 -111
- package/dist/concurnas-406f0c2e.js +0 -91
- package/dist/coq-e37f31ad.js +0 -82
- package/dist/core-dd47e39c.js +0 -1712
- package/dist/cpp-a3e3265e.js +0 -26
- package/dist/cpp-fdbd3e19.js +0 -116
- package/dist/crystal-3725beb8.js +0 -88
- package/dist/csharp-c5867cee.js +0 -389
- package/dist/csharp-fd30fe69.js +0 -26
- package/dist/cshtml-936e1325.js +0 -135
- package/dist/csp-fae2ca54.js +0 -91
- package/dist/css-d90be61e.js +0 -90
- package/dist/css-extras-9b627513.js +0 -140
- package/dist/csv-682ac47e.js +0 -38
- package/dist/cypher-fef237f2.js +0 -66
- package/dist/d-f8f06a3f.js +0 -110
- package/dist/dart-8664904d.js +0 -102
- package/dist/dataweave-eb16c70d.js +0 -74
- package/dist/dax-07b8f02a.js +0 -61
- package/dist/dhall-4d61581d.js +0 -96
- package/dist/diff-93cccc44.js +0 -79
- package/dist/django-dafd121f.js +0 -82
- package/dist/dns-zone-file-457d76ab.js +0 -65
- package/dist/docker-332b4413.js +0 -128
- package/dist/dot-494538e3.js +0 -103
- package/dist/ebnf-7c62b313.js +0 -54
- package/dist/editorconfig-9e9fdbbb.js +0 -61
- package/dist/eiffel-3f003827.js +0 -68
- package/dist/ejs-d02cb880.js +0 -59
- package/dist/elixir-d8c10ca1.js +0 -130
- package/dist/elm-c45d03a2.js +0 -79
- package/dist/erb-d88dd943.js +0 -61
- package/dist/erlang-3ee55e82.js +0 -77
- package/dist/etlua-eabd322c.js +0 -59
- package/dist/excel-formula-e41c3440.js +0 -96
- package/dist/factor-a371850c.js +0 -950
- package/dist/false-c46d7a43.js +0 -61
- package/dist/firestore-security-rules-757e2622.js +0 -68
- package/dist/flow-5b8d8ca8.js +0 -58
- package/dist/fortran-ff490a7d.js +0 -74
- package/dist/fsharp-2bc3ee45.js +0 -106
- package/dist/ftl-94d2ce32.js +0 -147
- package/dist/gap-8fd17087.js +0 -79
- package/dist/gcode-6341cadd.js +0 -50
- package/dist/gdscript-3fc25390.js +0 -61
- package/dist/gedcom-a341ec5c.js +0 -62
- package/dist/gherkin-9882c4e4.js +0 -116
- package/dist/git-4a80b321.js +0 -97
- package/dist/glsl-ad5d9118.js +0 -40
- package/dist/gml-7eba9cac.js +0 -41
- package/dist/gn-cbec75da.js +0 -77
- package/dist/go-766bfa1b.js +0 -58
- package/dist/go-module-b8774bf4.js +0 -56
- package/dist/graphql-cb8e2feb.js +0 -155
- package/dist/groovy-ebb15fa5.js +0 -83
- package/dist/haml-65978a94.js +0 -173
- package/dist/handlebars-50594839.js +0 -75
- package/dist/haskell-5775a4fe.js +0 -76
- package/dist/haskell-ab4dc776.js +0 -26
- package/dist/haxe-a4bca023.js +0 -106
- package/dist/hcl-441db672.js +0 -94
- package/dist/hlsl-b07ea1bc.js +0 -56
- package/dist/hoon-23e6c66a.js +0 -48
- package/dist/hpkp-e1840f06.js +0 -42
- package/dist/hsts-8a89a980.js +0 -42
- package/dist/http-7e943d63.js +0 -156
- package/dist/ichigojam-214442c6.js +0 -47
- package/dist/icon-b738b958.js +0 -54
- package/dist/icu-message-format-3b576cc2.js +0 -166
- package/dist/idris-1241db85.js +0 -52
- package/dist/iecst-cf187dc3.js +0 -66
- package/dist/ignore-7683e871.js +0 -52
- package/dist/index-9498f0f6.js +0 -12038
- package/dist/inform7-d15dedca.js +0 -91
- package/dist/ini-9821d403.js +0 -74
- package/dist/io-b45ab04a.js +0 -56
- package/dist/j-4337c2a6.js +0 -62
- package/dist/java-5aa325c9.js +0 -99
- package/dist/java-d89b83f0.js +0 -26
- package/dist/javadoc-898a0fe7.js +0 -119
- package/dist/javadoclike-482a7933.js +0 -60
- package/dist/javadoclike-6eb534c0.js +0 -26
- package/dist/javascript-aa1ea2e4.js +0 -152
- package/dist/javastacktrace-2384fbf2.js +0 -168
- package/dist/jexl-d1cd7ce2.js +0 -48
- package/dist/jolie-b17dc1cc.js +0 -73
- package/dist/jq-56125568.js +0 -101
- package/dist/js-extras-e970942a.js +0 -151
- package/dist/js-templates-f1fbe219.js +0 -198
- package/dist/jsdoc-a20aee51.js +0 -117
- package/dist/json-043ad957.js +0 -36
- package/dist/json-e6539464.js +0 -26
- package/dist/json5-6f122ab8.js +0 -57
- package/dist/jsonp-8b120bc6.js +0 -42
- package/dist/jsstacktrace-f50f8195.js +0 -75
- package/dist/julia-bd96633d.js +0 -69
- package/dist/keepalived-3187f82b.js +0 -82
- package/dist/keyman-b00bc67c.js +0 -77
- package/dist/kotlin-b21aa502.js +0 -109
- package/dist/kumir-0f94715b.js +0 -121
- package/dist/kusto-eff9af15.js +0 -72
- package/dist/latex-e80101de.js +0 -93
- package/dist/latte-a0b8d749.js +0 -102
- package/dist/less-281aa842.js +0 -76
- package/dist/lilypond-cbe2732f.js +0 -105
- package/dist/liquid-27a4e206.js +0 -98
- package/dist/lisp-9e822c78.js +0 -195
- package/dist/livescript-1ce019c1.js +0 -151
- package/dist/llvm-62365d93.js +0 -53
- package/dist/log-24dbab68.js +0 -134
- package/dist/lolcode-8eea8d4f.js +0 -82
- package/dist/lua-ce0e9c68.js +0 -32
- package/dist/lua-f292f69e.js +0 -26
- package/dist/magma-2aa5bc17.js +0 -64
- package/dist/makefile-489ca1ff.js +0 -64
- package/dist/markdown-bc9a3a54.js +0 -356
- package/dist/markup-3c2f908d.js +0 -194
- package/dist/markup-templating-1fc7ac82.js +0 -26
- package/dist/markup-templating-49c15a5f.js +0 -79
- package/dist/matlab-4616d7b3.js +0 -47
- package/dist/maxscript-e2f8ee8a.js +0 -98
- package/dist/mel-83fdb27c.js +0 -75
- package/dist/mermaid-5e3f14a4.js +0 -138
- package/dist/mizar-2c2d2e7d.js +0 -46
- package/dist/mongodb-c1d981a3.js +0 -322
- package/dist/monkey-cb9626ba.js +0 -62
- package/dist/moonscript-77dbeb23.js +0 -88
- package/dist/n1ql-6c813888.js +0 -56
- package/dist/n4js-6eb361a2.js +0 -44
- package/dist/nand2tetris-hdl-1d499a90.js +0 -43
- package/dist/naniscript-63d40cf7.js +0 -166
- package/dist/nasm-661b5e51.js +0 -58
- package/dist/neon-283a3402.js +0 -74
- package/dist/nevod-67f107ce.js +0 -159
- package/dist/nginx-88a0a312.js +0 -83
- package/dist/nim-40a62fa2.js +0 -76
- package/dist/nix-507f5be0.js +0 -70
- package/dist/nsis-d9f039bf.js +0 -59
- package/dist/objectivec-3055d7b5.js +0 -45
- package/dist/ocaml-c01e830a.js +0 -89
- package/dist/opencl-3bfb6002.js +0 -84
- package/dist/openqasm-20ccdae6.js +0 -51
- package/dist/oz-5e382b48.js +0 -62
- package/dist/packages/react/src/components/accordion/Accordion.d.ts +0 -15
- package/dist/packages/react/src/components/accordion/Accordion.test.d.ts +0 -1
- package/dist/packages/react/src/components/accordion/AccordionItem.d.ts +0 -21
- package/dist/packages/react/src/components/alert/Alert.d.ts +0 -12
- package/dist/packages/react/src/components/alert/Alert.test.d.ts +0 -1
- package/dist/packages/react/src/components/backlink/BackLink.d.ts +0 -8
- package/dist/packages/react/src/components/backlink/BackLink.test.d.ts +0 -1
- package/dist/packages/react/src/components/breadcrumbs/Breadcrumbs.d.ts +0 -12
- package/dist/packages/react/src/components/breadcrumbs/Breadcrumbs.test.d.ts +0 -1
- package/dist/packages/react/src/components/button/Button.d.ts +0 -16
- package/dist/packages/react/src/components/button/Button.test.d.ts +0 -1
- package/dist/packages/react/src/components/checkbox/Checkbox.d.ts +0 -16
- package/dist/packages/react/src/components/checkbox/Checkbox.test.d.ts +0 -1
- package/dist/packages/react/src/components/footer/Footer.d.ts +0 -28
- package/dist/packages/react/src/components/footer/Footer.test.d.ts +0 -1
- package/dist/packages/react/src/components/footerSimple/FooterSimple.d.ts +0 -13
- package/dist/packages/react/src/components/footerSimple/FooterSimple.test.d.ts +0 -1
- package/dist/packages/react/src/components/header/Header.d.ts +0 -40
- package/dist/packages/react/src/components/header/Header.test.d.ts +0 -1
- package/dist/packages/react/src/components/icon/DefaultIconFetcher.d.ts +0 -5
- package/dist/packages/react/src/components/icon/Icon.d.ts +0 -8
- package/dist/packages/react/src/components/icon/Icon.test.d.ts +0 -1
- package/dist/packages/react/src/components/icon/IconContext.d.ts +0 -5
- package/dist/packages/react/src/components/index.d.ts +0 -34
- package/dist/packages/react/src/components/input/Input.d.ts +0 -22
- package/dist/packages/react/src/components/inputwrapper/InputWrapper.d.ts +0 -23
- package/dist/packages/react/src/components/linkcard/LinkCard.d.ts +0 -11
- package/dist/packages/react/src/components/linkcard/LinkCard.test.d.ts +0 -1
- package/dist/packages/react/src/components/loader/Loader.d.ts +0 -27
- package/dist/packages/react/src/components/loader/Loader.test.d.ts +0 -1
- package/dist/packages/react/src/components/messagebox/Messagebox.d.ts +0 -10
- package/dist/packages/react/src/components/preview/Preview.d.ts +0 -10
- package/dist/packages/react/src/components/preview/PreviewSpecs.d.ts +0 -24
- package/dist/packages/react/src/components/progressbar/Progressbar.d.ts +0 -20
- package/dist/packages/react/src/components/progressbar/Progressbar.test.d.ts +0 -1
- package/dist/packages/react/src/components/radio/RadioButton.d.ts +0 -13
- package/dist/packages/react/src/components/radio/RadioButton.test.d.ts +0 -1
- package/dist/packages/react/src/components/searchinput/SearchInput.d.ts +0 -25
- package/dist/packages/react/src/components/searchinput/SearchInput.test.d.ts +0 -1
- package/dist/packages/react/src/components/select/Select.d.ts +0 -23
- package/dist/packages/react/src/components/select/Select.test.d.ts +0 -1
- package/dist/packages/react/src/components/stepper/Step.d.ts +0 -21
- package/dist/packages/react/src/components/stepper/Stepper.d.ts +0 -28
- package/dist/packages/react/src/components/stepper/Stepper.test.d.ts +0 -1
- package/dist/packages/react/src/components/table/Table.d.ts +0 -11
- package/dist/packages/react/src/components/table/Table.test.d.ts +0 -1
- package/dist/packages/react/src/components/table/TableBody.d.ts +0 -7
- package/dist/packages/react/src/components/table/TableData.d.ts +0 -6
- package/dist/packages/react/src/components/table/TableDataCell.d.ts +0 -8
- package/dist/packages/react/src/components/table/TableHeader.d.ts +0 -7
- package/dist/packages/react/src/components/table/TableHeaderCell.d.ts +0 -7
- package/dist/packages/react/src/components/table/TableRow.d.ts +0 -7
- package/dist/packages/react/src/components/tabs/Tabs.d.ts +0 -21
- package/dist/packages/react/src/components/tabs/Tabs.test.d.ts +0 -1
- package/dist/packages/react/src/components/tag/Tag.d.ts +0 -11
- package/dist/packages/react/src/components/tag/Tag.test.d.ts +0 -1
- package/dist/packages/react/src/components/textarea/Textarea.d.ts +0 -27
- package/dist/packages/react/src/components/textarea/Textarea.test.d.ts +0 -1
- package/dist/packages/react/src/components/textinput/Textinput.d.ts +0 -31
- package/dist/packages/react/src/components/textinput/Textinput.test.d.ts +0 -1
- package/dist/packages/react/src/index.d.ts +0 -1
- package/dist/parigp-a06dcf26.js +0 -82
- package/dist/parser-6f847eeb.js +0 -107
- package/dist/pascal-a9950fcd.js +0 -96
- package/dist/pascaligo-7545667e.js +0 -116
- package/dist/pcaxis-eea3e687.js +0 -85
- package/dist/peoplecode-8a846e28.js +0 -75
- package/dist/perl-2f3056d2.js +0 -165
- package/dist/php-9a4fecc1.js +0 -335
- package/dist/php-e9145741.js +0 -26
- package/dist/php-extras-0cec569c.js +0 -51
- package/dist/phpdoc-a1a632ca.js +0 -62
- package/dist/plsql-8e48519b.js +0 -52
- package/dist/powerquery-f4fe231c.js +0 -84
- package/dist/powershell-8e07307b.js +0 -89
- package/dist/processing-7a489ca7.js +0 -47
- package/dist/prolog-d2588af5.js +0 -53
- package/dist/promql-6547548d.js +0 -121
- package/dist/properties-6a8174f2.js +0 -43
- package/dist/protobuf-f03d60b4.js +0 -72
- package/dist/psl-1e0c235a.js +0 -69
- package/dist/pug-f3c562dd.js +0 -213
- package/dist/puppet-396c5218.js +0 -168
- package/dist/pure-9cf5d182.js +0 -112
- package/dist/purebasic-02478411.js +0 -88
- package/dist/purescript-cf2309c0.js +0 -63
- package/dist/python-9c9fa97e.js +0 -95
- package/dist/q-21818334.js +0 -84
- package/dist/qml-709fe996.js +0 -104
- package/dist/qore-7709538c.js +0 -54
- package/dist/qsharp-5024098d.js +0 -129
- package/dist/r-d6abce22.js +0 -56
- package/dist/racket-8c099996.js +0 -51
- package/dist/reason-0a29b7da.js +0 -55
- package/dist/regex-196038d7.js +0 -125
- package/dist/rego-59c8a55e.js +0 -59
- package/dist/renpy-da4a363f.js +0 -52
- package/dist/rest-2027cfb4.js +0 -232
- package/dist/rip-a2a00c6a.js +0 -63
- package/dist/roboconf-d99f3c6f.js +0 -61
- package/dist/robotframework-a30c7990.js +0 -123
- package/dist/ruby-90470291.js +0 -183
- package/dist/ruby-f1beefd0.js +0 -26
- package/dist/rust-a7f43c08.js +0 -150
- package/dist/sas-fdd3825d.js +0 -363
- package/dist/sass-8f15af17.js +0 -97
- package/dist/scala-44394d36.js +0 -81
- package/dist/scheme-61aeb1f5.js +0 -123
- package/dist/scheme-93208ff6.js +0 -26
- package/dist/scss-8dd3f77c.js +0 -107
- package/dist/shell-session-af35560f.js +0 -94
- package/dist/smali-2e8bacd2.js +0 -113
- package/dist/smalltalk-da988816.js +0 -72
- package/dist/smarty-4e93cd0d.js +0 -148
- package/dist/sml-20b50201.js +0 -92
- package/dist/solidity-743bfbd1.js +0 -50
- package/dist/solution-file-81ce476c.js +0 -80
- package/dist/soy-715e3d54.js +0 -113
- package/dist/sparql-9d917cd9.js +0 -50
- package/dist/splunk-spl-4999846e.js +0 -58
- package/dist/sqf-340b5c08.js +0 -64
- package/dist/sql-1e928866.js +0 -45
- package/dist/sql-65ac332a.js +0 -26
- package/dist/squirrel-d0bc8028.js +0 -75
- package/dist/stan-2fc57db1.js +0 -87
- package/dist/stylus-576c2c9e.js +0 -166
- package/dist/swift-9b87d61f.js +0 -153
- package/dist/systemd-21fb5c01.js +0 -89
- package/dist/t4-cs-57181735.js +0 -39
- package/dist/t4-templating-5038f5dd.js +0 -26
- package/dist/t4-templating-60958242.js +0 -57
- package/dist/t4-vb-c6890d9d.js +0 -39
- package/dist/tap-0014ba37.js +0 -57
- package/dist/tcl-5931e442.js +0 -80
- package/dist/textile-979f8c72.js +0 -290
- package/dist/toml-c8c14d54.js +0 -87
- package/dist/tremor-3f5ce8c9.js +0 -91
- package/dist/tsx-fa286598.js +0 -46
- package/dist/tt2-d4c7a9bc.js +0 -79
- package/dist/turtle-1ded5458.js +0 -26
- package/dist/turtle-6f0b789b.js +0 -62
- package/dist/twig-ecfd776b.js +0 -73
- package/dist/typescript-16e0b0d0.js +0 -26
- package/dist/typescript-4ee6a303.js +0 -57
- package/dist/typoscript-6f1852b6.js +0 -110
- package/dist/unrealscript-3b076e87.js +0 -72
- package/dist/uorazor-45491673.js +0 -82
- package/dist/uri-9f9a71ca.js +0 -117
- package/dist/v-ac49f8a2.js +0 -107
- package/dist/vala-d9044a47.js +0 -114
- package/dist/vbnet-7e93a4ce.js +0 -26
- package/dist/vbnet-f33c70c2.js +0 -37
- package/dist/velocity-04e48f5c.js +0 -100
- package/dist/verilog-08e95e76.js +0 -60
- package/dist/vhdl-2c25f8d7.js +0 -57
- package/dist/vim-f896fcae.js +0 -44
- package/dist/visual-basic-a24d053f.js +0 -60
- package/dist/warpscript-807f2588.js +0 -55
- package/dist/wasm-a1928fa7.js +0 -65
- package/dist/web-idl-5707ad28.js +0 -119
- package/dist/wiki-1b1313bc.js +0 -111
- package/dist/wolfram-2cbcb298.js +0 -59
- package/dist/wren-6157a66e.js +0 -122
- package/dist/xeora-004f4276.js +0 -148
- package/dist/xml-doc-a2568724.js +0 -57
- package/dist/xojo-4455c68c.js +0 -52
- package/dist/xquery-c4289139.js +0 -119
- package/dist/yaml-045e8847.js +0 -26
- package/dist/yaml-8454c5e5.js +0 -93
- package/dist/yang-937d99d5.js +0 -54
- package/dist/zig-c8c88088.js +0 -118
package/dist/graphql-cb8e2feb.js
DELETED
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
import { g as Z } from "./index-9498f0f6.js";
|
|
2
|
-
function $(i, s) {
|
|
3
|
-
for (var p = 0; p < s.length; p++) {
|
|
4
|
-
const n = s[p];
|
|
5
|
-
if (typeof n != "string" && !Array.isArray(n)) {
|
|
6
|
-
for (const a in n)
|
|
7
|
-
if (a !== "default" && !(a in i)) {
|
|
8
|
-
const t = Object.getOwnPropertyDescriptor(n, a);
|
|
9
|
-
t && Object.defineProperty(i, a, t.get ? t : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => n[a]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(i, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var h, k;
|
|
19
|
-
function j() {
|
|
20
|
-
if (k)
|
|
21
|
-
return h;
|
|
22
|
-
k = 1, h = i, i.displayName = "graphql", i.aliases = [];
|
|
23
|
-
function i(s) {
|
|
24
|
-
s.languages.graphql = {
|
|
25
|
-
comment: /#.*/,
|
|
26
|
-
description: {
|
|
27
|
-
pattern: /(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,
|
|
28
|
-
greedy: !0,
|
|
29
|
-
alias: "string",
|
|
30
|
-
inside: {
|
|
31
|
-
"language-markdown": {
|
|
32
|
-
pattern: /(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,
|
|
33
|
-
lookbehind: !0,
|
|
34
|
-
inside: s.languages.markdown
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
string: {
|
|
39
|
-
pattern: /"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,
|
|
40
|
-
greedy: !0
|
|
41
|
-
},
|
|
42
|
-
number: /(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,
|
|
43
|
-
boolean: /\b(?:false|true)\b/,
|
|
44
|
-
variable: /\$[a-z_]\w*/i,
|
|
45
|
-
directive: {
|
|
46
|
-
pattern: /@[a-z_]\w*/i,
|
|
47
|
-
alias: "function"
|
|
48
|
-
},
|
|
49
|
-
"attr-name": {
|
|
50
|
-
pattern: /\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,
|
|
51
|
-
greedy: !0
|
|
52
|
-
},
|
|
53
|
-
"atom-input": {
|
|
54
|
-
pattern: /\b[A-Z]\w*Input\b/,
|
|
55
|
-
alias: "class-name"
|
|
56
|
-
},
|
|
57
|
-
scalar: /\b(?:Boolean|Float|ID|Int|String)\b/,
|
|
58
|
-
constant: /\b[A-Z][A-Z_\d]*\b/,
|
|
59
|
-
"class-name": {
|
|
60
|
-
pattern: /(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,
|
|
61
|
-
lookbehind: !0
|
|
62
|
-
},
|
|
63
|
-
fragment: {
|
|
64
|
-
pattern: /(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,
|
|
65
|
-
lookbehind: !0,
|
|
66
|
-
alias: "function"
|
|
67
|
-
},
|
|
68
|
-
"definition-mutation": {
|
|
69
|
-
pattern: /(\bmutation\s+)[a-zA-Z_]\w*/,
|
|
70
|
-
lookbehind: !0,
|
|
71
|
-
alias: "function"
|
|
72
|
-
},
|
|
73
|
-
"definition-query": {
|
|
74
|
-
pattern: /(\bquery\s+)[a-zA-Z_]\w*/,
|
|
75
|
-
lookbehind: !0,
|
|
76
|
-
alias: "function"
|
|
77
|
-
},
|
|
78
|
-
keyword: /\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,
|
|
79
|
-
operator: /[!=|&]|\.{3}/,
|
|
80
|
-
"property-query": /\w+(?=\s*\()/,
|
|
81
|
-
object: /\w+(?=\s*\{)/,
|
|
82
|
-
punctuation: /[!(){}\[\]:=,]/,
|
|
83
|
-
property: /\w+/
|
|
84
|
-
}, s.hooks.add("after-tokenize", function(n) {
|
|
85
|
-
if (n.language !== "graphql")
|
|
86
|
-
return;
|
|
87
|
-
var a = n.tokens.filter(function(r) {
|
|
88
|
-
return typeof r != "string" && r.type !== "comment" && r.type !== "scalar";
|
|
89
|
-
}), t = 0;
|
|
90
|
-
function l(r) {
|
|
91
|
-
return a[t + r];
|
|
92
|
-
}
|
|
93
|
-
function v(r, o) {
|
|
94
|
-
o = o || 0;
|
|
95
|
-
for (var e = 0; e < r.length; e++) {
|
|
96
|
-
var u = l(e + o);
|
|
97
|
-
if (!u || u.type !== r[e])
|
|
98
|
-
return !1;
|
|
99
|
-
}
|
|
100
|
-
return !0;
|
|
101
|
-
}
|
|
102
|
-
function q(r, o) {
|
|
103
|
-
for (var e = 1, u = t; u < a.length; u++) {
|
|
104
|
-
var A = a[u], m = A.content;
|
|
105
|
-
if (A.type === "punctuation" && typeof m == "string") {
|
|
106
|
-
if (r.test(m))
|
|
107
|
-
e++;
|
|
108
|
-
else if (o.test(m) && (e--, e === 0))
|
|
109
|
-
return u;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
return -1;
|
|
113
|
-
}
|
|
114
|
-
function f(r, o) {
|
|
115
|
-
var e = r.alias;
|
|
116
|
-
e ? Array.isArray(e) || (r.alias = e = [e]) : r.alias = e = [], e.push(o);
|
|
117
|
-
}
|
|
118
|
-
for (; t < a.length; ) {
|
|
119
|
-
var w = a[t++];
|
|
120
|
-
if (w.type === "keyword" && w.content === "mutation") {
|
|
121
|
-
var c = [];
|
|
122
|
-
if (v(["definition-mutation", "punctuation"]) && l(1).content === "(") {
|
|
123
|
-
t += 2;
|
|
124
|
-
var g = q(/^\($/, /^\)$/);
|
|
125
|
-
if (g === -1)
|
|
126
|
-
continue;
|
|
127
|
-
for (; t < g; t++) {
|
|
128
|
-
var b = l(0);
|
|
129
|
-
b.type === "variable" && (f(b, "variable-input"), c.push(b.content));
|
|
130
|
-
}
|
|
131
|
-
t = g + 1;
|
|
132
|
-
}
|
|
133
|
-
if (v(["punctuation", "property-query"]) && l(0).content === "{" && (t++, f(l(0), "property-mutation"), c.length > 0)) {
|
|
134
|
-
var _ = q(/^\{$/, /^\}$/);
|
|
135
|
-
if (_ === -1)
|
|
136
|
-
continue;
|
|
137
|
-
for (var d = t; d < _; d++) {
|
|
138
|
-
var y = a[d];
|
|
139
|
-
y.type === "variable" && c.indexOf(y.content) >= 0 && f(y, "variable-input");
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
});
|
|
145
|
-
}
|
|
146
|
-
return h;
|
|
147
|
-
}
|
|
148
|
-
var z = j();
|
|
149
|
-
const x = /* @__PURE__ */ Z(z), I = /* @__PURE__ */ $({
|
|
150
|
-
__proto__: null,
|
|
151
|
-
default: x
|
|
152
|
-
}, [z]);
|
|
153
|
-
export {
|
|
154
|
-
I as g
|
|
155
|
-
};
|
package/dist/groovy-ebb15fa5.js
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { g as u } from "./index-9498f0f6.js";
|
|
2
|
-
function c(n, t) {
|
|
3
|
-
for (var e = 0; e < t.length; e++) {
|
|
4
|
-
const o = t[e];
|
|
5
|
-
if (typeof o != "string" && !Array.isArray(o)) {
|
|
6
|
-
for (const r in o)
|
|
7
|
-
if (r !== "default" && !(r in n)) {
|
|
8
|
-
const a = Object.getOwnPropertyDescriptor(o, r);
|
|
9
|
-
a && Object.defineProperty(n, r, a.get ? a : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => o[r]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var i, s;
|
|
19
|
-
function l() {
|
|
20
|
-
if (s)
|
|
21
|
-
return i;
|
|
22
|
-
s = 1, i = n, n.displayName = "groovy", n.aliases = [];
|
|
23
|
-
function n(t) {
|
|
24
|
-
t.languages.groovy = t.languages.extend("clike", {
|
|
25
|
-
string: [
|
|
26
|
-
{
|
|
27
|
-
// https://groovy-lang.org/syntax.html#_dollar_slashy_string
|
|
28
|
-
pattern: /("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,
|
|
29
|
-
greedy: !0
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
// TODO: Slash strings (e.g. /foo/) can contain line breaks but this will cause a lot of trouble with
|
|
33
|
-
// simple division (see JS regex), so find a fix maybe?
|
|
34
|
-
pattern: /(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,
|
|
35
|
-
greedy: !0
|
|
36
|
-
}
|
|
37
|
-
],
|
|
38
|
-
keyword: /\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,
|
|
39
|
-
number: /\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,
|
|
40
|
-
operator: {
|
|
41
|
-
pattern: /(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,
|
|
42
|
-
lookbehind: !0
|
|
43
|
-
},
|
|
44
|
-
punctuation: /\.+|[{}[\];(),:$]/
|
|
45
|
-
}), t.languages.insertBefore("groovy", "string", {
|
|
46
|
-
shebang: {
|
|
47
|
-
pattern: /#!.+/,
|
|
48
|
-
alias: "comment"
|
|
49
|
-
}
|
|
50
|
-
}), t.languages.insertBefore("groovy", "punctuation", {
|
|
51
|
-
"spock-block": /\b(?:and|cleanup|expect|given|setup|then|when|where):/
|
|
52
|
-
}), t.languages.insertBefore("groovy", "function", {
|
|
53
|
-
annotation: {
|
|
54
|
-
pattern: /(^|[^.])@\w+/,
|
|
55
|
-
lookbehind: !0,
|
|
56
|
-
alias: "punctuation"
|
|
57
|
-
}
|
|
58
|
-
}), t.hooks.add("wrap", function(e) {
|
|
59
|
-
if (e.language === "groovy" && e.type === "string") {
|
|
60
|
-
var o = e.content.value[0];
|
|
61
|
-
if (o != "'") {
|
|
62
|
-
var r = /([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;
|
|
63
|
-
o === "$" && (r = /([^\$])(?:\$(?:\{.*?\}|[\w.]+))/), e.content.value = e.content.value.replace(/</g, "<").replace(/&/g, "&"), e.content = t.highlight(e.content.value, {
|
|
64
|
-
expression: {
|
|
65
|
-
pattern: r,
|
|
66
|
-
lookbehind: !0,
|
|
67
|
-
inside: t.languages.groovy
|
|
68
|
-
}
|
|
69
|
-
}), e.classes.push(o === "/" ? "regex" : "gstring");
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
return i;
|
|
75
|
-
}
|
|
76
|
-
var g = l();
|
|
77
|
-
const p = /* @__PURE__ */ u(g), d = /* @__PURE__ */ c({
|
|
78
|
-
__proto__: null,
|
|
79
|
-
default: p
|
|
80
|
-
}, [g]);
|
|
81
|
-
export {
|
|
82
|
-
d as g
|
|
83
|
-
};
|
package/dist/haml-65978a94.js
DELETED
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
import { g as c } from "./index-9498f0f6.js";
|
|
2
|
-
import { r as f } from "./ruby-90470291.js";
|
|
3
|
-
function b(l, n) {
|
|
4
|
-
for (var a = 0; a < n.length; a++) {
|
|
5
|
-
const e = n[a];
|
|
6
|
-
if (typeof e != "string" && !Array.isArray(e)) {
|
|
7
|
-
for (const r in e)
|
|
8
|
-
if (r !== "default" && !(r in l)) {
|
|
9
|
-
const i = Object.getOwnPropertyDescriptor(e, r);
|
|
10
|
-
i && Object.defineProperty(l, r, i.get ? i : {
|
|
11
|
-
enumerable: !0,
|
|
12
|
-
get: () => e[r]
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
return Object.freeze(Object.defineProperty(l, Symbol.toStringTag, { value: "Module" }));
|
|
18
|
-
}
|
|
19
|
-
var u, g;
|
|
20
|
-
function m() {
|
|
21
|
-
if (g)
|
|
22
|
-
return u;
|
|
23
|
-
g = 1;
|
|
24
|
-
var l = f();
|
|
25
|
-
u = n, n.displayName = "haml", n.aliases = [];
|
|
26
|
-
function n(a) {
|
|
27
|
-
a.register(l), function(e) {
|
|
28
|
-
e.languages.haml = {
|
|
29
|
-
// Multiline stuff should appear before the rest
|
|
30
|
-
"multiline-comment": {
|
|
31
|
-
pattern: /((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,
|
|
32
|
-
lookbehind: !0,
|
|
33
|
-
alias: "comment"
|
|
34
|
-
},
|
|
35
|
-
"multiline-code": [
|
|
36
|
-
{
|
|
37
|
-
pattern: /((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,
|
|
38
|
-
lookbehind: !0,
|
|
39
|
-
inside: e.languages.ruby
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
pattern: /((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,
|
|
43
|
-
lookbehind: !0,
|
|
44
|
-
inside: e.languages.ruby
|
|
45
|
-
}
|
|
46
|
-
],
|
|
47
|
-
// See at the end of the file for known filters
|
|
48
|
-
filter: {
|
|
49
|
-
pattern: /((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,
|
|
50
|
-
lookbehind: !0,
|
|
51
|
-
inside: {
|
|
52
|
-
"filter-name": {
|
|
53
|
-
pattern: /^:[\w-]+/,
|
|
54
|
-
alias: "symbol"
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
markup: {
|
|
59
|
-
pattern: /((?:^|\r?\n|\r)[\t ]*)<.+/,
|
|
60
|
-
lookbehind: !0,
|
|
61
|
-
inside: e.languages.markup
|
|
62
|
-
},
|
|
63
|
-
doctype: {
|
|
64
|
-
pattern: /((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,
|
|
65
|
-
lookbehind: !0
|
|
66
|
-
},
|
|
67
|
-
tag: {
|
|
68
|
-
// Allows for one nested group of braces
|
|
69
|
-
pattern: /((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,
|
|
70
|
-
lookbehind: !0,
|
|
71
|
-
inside: {
|
|
72
|
-
attributes: [
|
|
73
|
-
{
|
|
74
|
-
// Lookbehind tries to prevent interpolations from breaking it all
|
|
75
|
-
// Allows for one nested group of braces
|
|
76
|
-
pattern: /(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,
|
|
77
|
-
lookbehind: !0,
|
|
78
|
-
inside: e.languages.ruby
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
pattern: /\([^)]+\)/,
|
|
82
|
-
inside: {
|
|
83
|
-
"attr-value": {
|
|
84
|
-
pattern: /(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,
|
|
85
|
-
lookbehind: !0
|
|
86
|
-
},
|
|
87
|
-
"attr-name": /[\w:-]+(?=\s*!?=|\s*[,)])/,
|
|
88
|
-
punctuation: /[=(),]/
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
pattern: /\[[^\]]+\]/,
|
|
93
|
-
inside: e.languages.ruby
|
|
94
|
-
}
|
|
95
|
-
],
|
|
96
|
-
punctuation: /[<>]/
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
code: {
|
|
100
|
-
pattern: /((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,
|
|
101
|
-
lookbehind: !0,
|
|
102
|
-
inside: e.languages.ruby
|
|
103
|
-
},
|
|
104
|
-
// Interpolations in plain text
|
|
105
|
-
interpolation: {
|
|
106
|
-
pattern: /#\{[^}]+\}/,
|
|
107
|
-
inside: {
|
|
108
|
-
delimiter: {
|
|
109
|
-
pattern: /^#\{|\}$/,
|
|
110
|
-
alias: "punctuation"
|
|
111
|
-
},
|
|
112
|
-
ruby: {
|
|
113
|
-
pattern: /[\s\S]+/,
|
|
114
|
-
inside: e.languages.ruby
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
punctuation: {
|
|
119
|
-
pattern: /((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,
|
|
120
|
-
lookbehind: !0
|
|
121
|
-
}
|
|
122
|
-
};
|
|
123
|
-
for (var r = "((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+", i = [
|
|
124
|
-
"css",
|
|
125
|
-
{
|
|
126
|
-
filter: "coffee",
|
|
127
|
-
language: "coffeescript"
|
|
128
|
-
},
|
|
129
|
-
"erb",
|
|
130
|
-
"javascript",
|
|
131
|
-
"less",
|
|
132
|
-
"markdown",
|
|
133
|
-
"ruby",
|
|
134
|
-
"scss",
|
|
135
|
-
"textile"
|
|
136
|
-
], s = {}, o = 0, d = i.length; o < d; o++) {
|
|
137
|
-
var t = i[o];
|
|
138
|
-
t = typeof t == "string" ? {
|
|
139
|
-
filter: t,
|
|
140
|
-
language: t
|
|
141
|
-
} : t, e.languages[t.language] && (s["filter-" + t.filter] = {
|
|
142
|
-
pattern: RegExp(
|
|
143
|
-
r.replace("{{filter_name}}", function() {
|
|
144
|
-
return t.filter;
|
|
145
|
-
})
|
|
146
|
-
),
|
|
147
|
-
lookbehind: !0,
|
|
148
|
-
inside: {
|
|
149
|
-
"filter-name": {
|
|
150
|
-
pattern: /^:[\w-]+/,
|
|
151
|
-
alias: "symbol"
|
|
152
|
-
},
|
|
153
|
-
text: {
|
|
154
|
-
pattern: /[\s\S]+/,
|
|
155
|
-
alias: [t.language, "language-" + t.language],
|
|
156
|
-
inside: e.languages[t.language]
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
});
|
|
160
|
-
}
|
|
161
|
-
e.languages.insertBefore("haml", "filter", s);
|
|
162
|
-
}(a);
|
|
163
|
-
}
|
|
164
|
-
return u;
|
|
165
|
-
}
|
|
166
|
-
var p = m();
|
|
167
|
-
const h = /* @__PURE__ */ c(p), v = /* @__PURE__ */ b({
|
|
168
|
-
__proto__: null,
|
|
169
|
-
default: h
|
|
170
|
-
}, [p]);
|
|
171
|
-
export {
|
|
172
|
-
v as h
|
|
173
|
-
};
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { g as i } from "./index-9498f0f6.js";
|
|
2
|
-
import { r as d } from "./markup-templating-49c15a5f.js";
|
|
3
|
-
function b(n, r) {
|
|
4
|
-
for (var t = 0; t < r.length; t++) {
|
|
5
|
-
const e = r[t];
|
|
6
|
-
if (typeof e != "string" && !Array.isArray(e)) {
|
|
7
|
-
for (const a in e)
|
|
8
|
-
if (a !== "default" && !(a in n)) {
|
|
9
|
-
const s = Object.getOwnPropertyDescriptor(e, a);
|
|
10
|
-
s && Object.defineProperty(n, a, s.get ? s : {
|
|
11
|
-
enumerable: !0,
|
|
12
|
-
get: () => e[a]
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
18
|
-
}
|
|
19
|
-
var o, l;
|
|
20
|
-
function g() {
|
|
21
|
-
if (l)
|
|
22
|
-
return o;
|
|
23
|
-
l = 1;
|
|
24
|
-
var n = d();
|
|
25
|
-
o = r, r.displayName = "handlebars", r.aliases = ["hbs"];
|
|
26
|
-
function r(t) {
|
|
27
|
-
t.register(n), function(e) {
|
|
28
|
-
e.languages.handlebars = {
|
|
29
|
-
comment: /\{\{![\s\S]*?\}\}/,
|
|
30
|
-
delimiter: {
|
|
31
|
-
pattern: /^\{\{\{?|\}\}\}?$/,
|
|
32
|
-
alias: "punctuation"
|
|
33
|
-
},
|
|
34
|
-
string: /(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,
|
|
35
|
-
number: /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,
|
|
36
|
-
boolean: /\b(?:false|true)\b/,
|
|
37
|
-
block: {
|
|
38
|
-
pattern: /^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,
|
|
39
|
-
lookbehind: !0,
|
|
40
|
-
alias: "keyword"
|
|
41
|
-
},
|
|
42
|
-
brackets: {
|
|
43
|
-
pattern: /\[[^\]]+\]/,
|
|
44
|
-
inside: {
|
|
45
|
-
punctuation: /\[|\]/,
|
|
46
|
-
variable: /[\s\S]+/
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
punctuation: /[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,
|
|
50
|
-
variable: /[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/
|
|
51
|
-
}, e.hooks.add("before-tokenize", function(a) {
|
|
52
|
-
var s = /\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;
|
|
53
|
-
e.languages["markup-templating"].buildPlaceholders(
|
|
54
|
-
a,
|
|
55
|
-
"handlebars",
|
|
56
|
-
s
|
|
57
|
-
);
|
|
58
|
-
}), e.hooks.add("after-tokenize", function(a) {
|
|
59
|
-
e.languages["markup-templating"].tokenizePlaceholders(
|
|
60
|
-
a,
|
|
61
|
-
"handlebars"
|
|
62
|
-
);
|
|
63
|
-
}), e.languages.hbs = e.languages.handlebars;
|
|
64
|
-
}(t);
|
|
65
|
-
}
|
|
66
|
-
return o;
|
|
67
|
-
}
|
|
68
|
-
var u = g();
|
|
69
|
-
const p = /* @__PURE__ */ i(u), h = /* @__PURE__ */ b({
|
|
70
|
-
__proto__: null,
|
|
71
|
-
default: p
|
|
72
|
-
}, [u]);
|
|
73
|
-
export {
|
|
74
|
-
h
|
|
75
|
-
};
|
package/dist/haskell-5775a4fe.js
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
var t, i;
|
|
2
|
-
function r() {
|
|
3
|
-
if (i)
|
|
4
|
-
return t;
|
|
5
|
-
i = 1, t = e, e.displayName = "haskell", e.aliases = ["hs"];
|
|
6
|
-
function e(a) {
|
|
7
|
-
a.languages.haskell = {
|
|
8
|
-
comment: {
|
|
9
|
-
pattern: /(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,
|
|
10
|
-
lookbehind: !0
|
|
11
|
-
},
|
|
12
|
-
char: {
|
|
13
|
-
pattern: /'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,
|
|
14
|
-
alias: "string"
|
|
15
|
-
},
|
|
16
|
-
string: {
|
|
17
|
-
pattern: /"(?:[^\\"]|\\(?:\S|\s+\\))*"/,
|
|
18
|
-
greedy: !0
|
|
19
|
-
},
|
|
20
|
-
keyword: /\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,
|
|
21
|
-
"import-statement": {
|
|
22
|
-
// The imported or hidden names are not included in this import
|
|
23
|
-
// statement. This is because we want to highlight those exactly like
|
|
24
|
-
// we do for the names in the program.
|
|
25
|
-
pattern: /(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,
|
|
26
|
-
lookbehind: !0,
|
|
27
|
-
inside: {
|
|
28
|
-
keyword: /\b(?:as|hiding|import|qualified)\b/,
|
|
29
|
-
punctuation: /\./
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
// These are builtin variables only. Constructors are highlighted later as a constant.
|
|
33
|
-
builtin: /\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,
|
|
34
|
-
// decimal integers and floating point numbers | octal integers | hexadecimal integers
|
|
35
|
-
number: /\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,
|
|
36
|
-
operator: [
|
|
37
|
-
{
|
|
38
|
-
// infix operator
|
|
39
|
-
pattern: /`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,
|
|
40
|
-
greedy: !0
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
// function composition
|
|
44
|
-
pattern: /(\s)\.(?=\s)/,
|
|
45
|
-
lookbehind: !0
|
|
46
|
-
},
|
|
47
|
-
// Most of this is needed because of the meaning of a single '.'.
|
|
48
|
-
// If it stands alone freely, it is the function composition.
|
|
49
|
-
// It may also be a separator between a module name and an identifier => no
|
|
50
|
-
// operator. If it comes together with other special characters it is an
|
|
51
|
-
// operator too.
|
|
52
|
-
//
|
|
53
|
-
// This regex means: /[-!#$%*+=?&@|~.:<>^\\\/]+/ without /\./.
|
|
54
|
-
/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/
|
|
55
|
-
],
|
|
56
|
-
// In Haskell, nearly everything is a variable, do not highlight these.
|
|
57
|
-
hvariable: {
|
|
58
|
-
pattern: /\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,
|
|
59
|
-
inside: {
|
|
60
|
-
punctuation: /\./
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
constant: {
|
|
64
|
-
pattern: /\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,
|
|
65
|
-
inside: {
|
|
66
|
-
punctuation: /\./
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
punctuation: /[{}[\];(),.:]/
|
|
70
|
-
}, a.languages.hs = a.languages.haskell;
|
|
71
|
-
}
|
|
72
|
-
return t;
|
|
73
|
-
}
|
|
74
|
-
export {
|
|
75
|
-
r
|
|
76
|
-
};
|
package/dist/haskell-ab4dc776.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { g as n } from "./index-9498f0f6.js";
|
|
2
|
-
import { r as f } from "./haskell-5775a4fe.js";
|
|
3
|
-
function i(t, s) {
|
|
4
|
-
for (var o = 0; o < s.length; o++) {
|
|
5
|
-
const e = s[o];
|
|
6
|
-
if (typeof e != "string" && !Array.isArray(e)) {
|
|
7
|
-
for (const r in e)
|
|
8
|
-
if (r !== "default" && !(r in t)) {
|
|
9
|
-
const a = Object.getOwnPropertyDescriptor(e, r);
|
|
10
|
-
a && Object.defineProperty(t, r, a.get ? a : {
|
|
11
|
-
enumerable: !0,
|
|
12
|
-
get: () => e[r]
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
|
18
|
-
}
|
|
19
|
-
var l = f();
|
|
20
|
-
const c = /* @__PURE__ */ n(l), g = /* @__PURE__ */ i({
|
|
21
|
-
__proto__: null,
|
|
22
|
-
default: c
|
|
23
|
-
}, [l]);
|
|
24
|
-
export {
|
|
25
|
-
g as h
|
|
26
|
-
};
|