@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/scss-8dd3f77c.js
DELETED
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { g as u } from "./index-9498f0f6.js";
|
|
2
|
-
function c(s, e) {
|
|
3
|
-
for (var a = 0; a < e.length; a++) {
|
|
4
|
-
const t = e[a];
|
|
5
|
-
if (typeof t != "string" && !Array.isArray(t)) {
|
|
6
|
-
for (const r in t)
|
|
7
|
-
if (r !== "default" && !(r in s)) {
|
|
8
|
-
const n = Object.getOwnPropertyDescriptor(t, r);
|
|
9
|
-
n && Object.defineProperty(s, r, n.get ? n : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => t[r]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(s, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var o, i;
|
|
19
|
-
function p() {
|
|
20
|
-
if (i)
|
|
21
|
-
return o;
|
|
22
|
-
i = 1, o = s, s.displayName = "scss", s.aliases = [];
|
|
23
|
-
function s(e) {
|
|
24
|
-
e.languages.scss = e.languages.extend("css", {
|
|
25
|
-
comment: {
|
|
26
|
-
pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,
|
|
27
|
-
lookbehind: !0
|
|
28
|
-
},
|
|
29
|
-
atrule: {
|
|
30
|
-
pattern: /@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,
|
|
31
|
-
inside: {
|
|
32
|
-
rule: /@[\w-]+/
|
|
33
|
-
// See rest below
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
// url, compassified
|
|
37
|
-
url: /(?:[-a-z]+-)?url(?=\()/i,
|
|
38
|
-
// CSS selector regex is not appropriate for Sass
|
|
39
|
-
// since there can be lot more things (var, @ directive, nesting..)
|
|
40
|
-
// a selector must start at the end of a property or after a brace (end of other rules or nesting)
|
|
41
|
-
// it can contain some characters that aren't used for defining rules or end of selector, & (parent selector), or interpolated variable
|
|
42
|
-
// the end of a selector is found when there is no rules in it ( {} or {\s}) or if there is a property (because an interpolated var
|
|
43
|
-
// can "pass" as a selector- e.g: proper#{$erty})
|
|
44
|
-
// this one was hard to do, so please be careful if you edit this one :)
|
|
45
|
-
selector: {
|
|
46
|
-
// Initial look-ahead is used to prevent matching of blank selectors
|
|
47
|
-
pattern: /(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,
|
|
48
|
-
inside: {
|
|
49
|
-
parent: {
|
|
50
|
-
pattern: /&/,
|
|
51
|
-
alias: "important"
|
|
52
|
-
},
|
|
53
|
-
placeholder: /%[-\w]+/,
|
|
54
|
-
variable: /\$[-\w]+|#\{\$[-\w]+\}/
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
property: {
|
|
58
|
-
pattern: /(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,
|
|
59
|
-
inside: {
|
|
60
|
-
variable: /\$[-\w]+|#\{\$[-\w]+\}/
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}), e.languages.insertBefore("scss", "atrule", {
|
|
64
|
-
keyword: [
|
|
65
|
-
/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,
|
|
66
|
-
{
|
|
67
|
-
pattern: /( )(?:from|through)(?= )/,
|
|
68
|
-
lookbehind: !0
|
|
69
|
-
}
|
|
70
|
-
]
|
|
71
|
-
}), e.languages.insertBefore("scss", "important", {
|
|
72
|
-
// var and interpolated vars
|
|
73
|
-
variable: /\$[-\w]+|#\{\$[-\w]+\}/
|
|
74
|
-
}), e.languages.insertBefore("scss", "function", {
|
|
75
|
-
"module-modifier": {
|
|
76
|
-
pattern: /\b(?:as|hide|show|with)\b/i,
|
|
77
|
-
alias: "keyword"
|
|
78
|
-
},
|
|
79
|
-
placeholder: {
|
|
80
|
-
pattern: /%[-\w]+/,
|
|
81
|
-
alias: "selector"
|
|
82
|
-
},
|
|
83
|
-
statement: {
|
|
84
|
-
pattern: /\B!(?:default|optional)\b/i,
|
|
85
|
-
alias: "keyword"
|
|
86
|
-
},
|
|
87
|
-
boolean: /\b(?:false|true)\b/,
|
|
88
|
-
null: {
|
|
89
|
-
pattern: /\bnull\b/,
|
|
90
|
-
alias: "keyword"
|
|
91
|
-
},
|
|
92
|
-
operator: {
|
|
93
|
-
pattern: /(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,
|
|
94
|
-
lookbehind: !0
|
|
95
|
-
}
|
|
96
|
-
}), e.languages.scss.atrule.inside.rest = e.languages.scss;
|
|
97
|
-
}
|
|
98
|
-
return o;
|
|
99
|
-
}
|
|
100
|
-
var l = p();
|
|
101
|
-
const d = /* @__PURE__ */ u(l), g = /* @__PURE__ */ c({
|
|
102
|
-
__proto__: null,
|
|
103
|
-
default: d
|
|
104
|
-
}, [l]);
|
|
105
|
-
export {
|
|
106
|
-
g as s
|
|
107
|
-
};
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { g as u } from "./index-9498f0f6.js";
|
|
2
|
-
import { r as c } from "./bash-23ecd1ce.js";
|
|
3
|
-
function g(t, r) {
|
|
4
|
-
for (var n = 0; n < r.length; n++) {
|
|
5
|
-
const e = r[n];
|
|
6
|
-
if (typeof e != "string" && !Array.isArray(e)) {
|
|
7
|
-
for (const s in e)
|
|
8
|
-
if (s !== "default" && !(s in t)) {
|
|
9
|
-
const o = Object.getOwnPropertyDescriptor(e, s);
|
|
10
|
-
o && Object.defineProperty(t, s, o.get ? o : {
|
|
11
|
-
enumerable: !0,
|
|
12
|
-
get: () => e[s]
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
|
18
|
-
}
|
|
19
|
-
var a, l;
|
|
20
|
-
function p() {
|
|
21
|
-
if (l)
|
|
22
|
-
return a;
|
|
23
|
-
l = 1;
|
|
24
|
-
var t = c();
|
|
25
|
-
a = r, r.displayName = "shellSession", r.aliases = [];
|
|
26
|
-
function r(n) {
|
|
27
|
-
n.register(t), function(e) {
|
|
28
|
-
var s = [
|
|
29
|
-
// normal string
|
|
30
|
-
/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,
|
|
31
|
-
/'[^']*'/.source,
|
|
32
|
-
/\$'(?:[^'\\]|\\[\s\S])*'/.source,
|
|
33
|
-
// here doc
|
|
34
|
-
// 2 capturing groups
|
|
35
|
-
/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source
|
|
36
|
-
].join("|");
|
|
37
|
-
e.languages["shell-session"] = {
|
|
38
|
-
command: {
|
|
39
|
-
pattern: RegExp(
|
|
40
|
-
// user info
|
|
41
|
-
/^/.source + "(?:" + // <user> ":" ( <path> )?
|
|
42
|
-
(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source + "|" + // <path>
|
|
43
|
-
// Since the path pattern is quite general, we will require it to start with a special character to
|
|
44
|
-
// prevent false positives.
|
|
45
|
-
/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source) + ")?" + // shell symbol
|
|
46
|
-
/[$#%](?=\s)/.source + // bash command
|
|
47
|
-
/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(
|
|
48
|
-
/<<str>>/g,
|
|
49
|
-
function() {
|
|
50
|
-
return s;
|
|
51
|
-
}
|
|
52
|
-
),
|
|
53
|
-
"m"
|
|
54
|
-
),
|
|
55
|
-
greedy: !0,
|
|
56
|
-
inside: {
|
|
57
|
-
info: {
|
|
58
|
-
// foo@bar:~/files$ exit
|
|
59
|
-
// foo@bar$ exit
|
|
60
|
-
// ~/files$ exit
|
|
61
|
-
pattern: /^[^#$%]+/,
|
|
62
|
-
alias: "punctuation",
|
|
63
|
-
inside: {
|
|
64
|
-
user: /^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,
|
|
65
|
-
punctuation: /:/,
|
|
66
|
-
path: /[\s\S]+/
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
bash: {
|
|
70
|
-
pattern: /(^[$#%]\s*)\S[\s\S]*/,
|
|
71
|
-
lookbehind: !0,
|
|
72
|
-
alias: "language-bash",
|
|
73
|
-
inside: e.languages.bash
|
|
74
|
-
},
|
|
75
|
-
"shell-symbol": {
|
|
76
|
-
pattern: /^[$#%]/,
|
|
77
|
-
alias: "important"
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
output: /.(?:.*(?:[\r\n]|.$))*/
|
|
82
|
-
}, e.languages["sh-session"] = e.languages.shellsession = e.languages["shell-session"];
|
|
83
|
-
}(n);
|
|
84
|
-
}
|
|
85
|
-
return a;
|
|
86
|
-
}
|
|
87
|
-
var i = p();
|
|
88
|
-
const f = /* @__PURE__ */ u(i), S = /* @__PURE__ */ g({
|
|
89
|
-
__proto__: null,
|
|
90
|
-
default: f
|
|
91
|
-
}, [i]);
|
|
92
|
-
export {
|
|
93
|
-
S as s
|
|
94
|
-
};
|
package/dist/smali-2e8bacd2.js
DELETED
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { g as u } from "./index-9498f0f6.js";
|
|
2
|
-
function d(e, n) {
|
|
3
|
-
for (var a = 0; a < n.length; a++) {
|
|
4
|
-
const t = n[a];
|
|
5
|
-
if (typeof t != "string" && !Array.isArray(t)) {
|
|
6
|
-
for (const r in t)
|
|
7
|
-
if (r !== "default" && !(r in e)) {
|
|
8
|
-
const i = Object.getOwnPropertyDescriptor(t, r);
|
|
9
|
-
i && Object.defineProperty(e, r, i.get ? i : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => t[r]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var o, l;
|
|
19
|
-
function p() {
|
|
20
|
-
if (l)
|
|
21
|
-
return o;
|
|
22
|
-
l = 1, o = e, e.displayName = "smali", e.aliases = [];
|
|
23
|
-
function e(n) {
|
|
24
|
-
n.languages.smali = {
|
|
25
|
-
comment: /#.*/,
|
|
26
|
-
string: {
|
|
27
|
-
pattern: /"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,
|
|
28
|
-
greedy: !0
|
|
29
|
-
},
|
|
30
|
-
"class-name": {
|
|
31
|
-
pattern: /(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,
|
|
32
|
-
lookbehind: !0,
|
|
33
|
-
inside: {
|
|
34
|
-
"class-name": {
|
|
35
|
-
pattern: /(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,
|
|
36
|
-
lookbehind: !0
|
|
37
|
-
},
|
|
38
|
-
namespace: {
|
|
39
|
-
pattern: /^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,
|
|
40
|
-
lookbehind: !0,
|
|
41
|
-
inside: {
|
|
42
|
-
punctuation: /\//
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
builtin: /^L/
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
builtin: [
|
|
49
|
-
{
|
|
50
|
-
// Reference: https://github.com/JesusFreke/smali/wiki/TypesMethodsAndFields#types
|
|
51
|
-
pattern: /([();\[])[BCDFIJSVZ]+/,
|
|
52
|
-
lookbehind: !0
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
// e.g. .field mWifiOnUid:I
|
|
56
|
-
pattern: /([\w$>]:)[BCDFIJSVZ]/,
|
|
57
|
-
lookbehind: !0
|
|
58
|
-
}
|
|
59
|
-
],
|
|
60
|
-
keyword: [
|
|
61
|
-
{
|
|
62
|
-
pattern: /(\.end\s+)[\w-]+/,
|
|
63
|
-
lookbehind: !0
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
pattern: /(^|[^\w.-])\.(?!\d)[\w-]+/,
|
|
67
|
-
lookbehind: !0
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
pattern: /(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,
|
|
71
|
-
lookbehind: !0
|
|
72
|
-
}
|
|
73
|
-
],
|
|
74
|
-
function: {
|
|
75
|
-
pattern: /(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,
|
|
76
|
-
lookbehind: !0
|
|
77
|
-
},
|
|
78
|
-
field: {
|
|
79
|
-
pattern: /[\w$]+(?=:)/,
|
|
80
|
-
alias: "variable"
|
|
81
|
-
},
|
|
82
|
-
register: {
|
|
83
|
-
pattern: /(^|[^\w.-])[vp]\d(?![\w.-])/,
|
|
84
|
-
lookbehind: !0,
|
|
85
|
-
alias: "variable"
|
|
86
|
-
},
|
|
87
|
-
boolean: {
|
|
88
|
-
pattern: /(^|[^\w.-])(?:false|true)(?![\w.-])/,
|
|
89
|
-
lookbehind: !0
|
|
90
|
-
},
|
|
91
|
-
number: {
|
|
92
|
-
pattern: /(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,
|
|
93
|
-
lookbehind: !0
|
|
94
|
-
},
|
|
95
|
-
label: {
|
|
96
|
-
pattern: /(:)\w+/,
|
|
97
|
-
lookbehind: !0,
|
|
98
|
-
alias: "property"
|
|
99
|
-
},
|
|
100
|
-
operator: /->|\.\.|[\[=]/,
|
|
101
|
-
punctuation: /[{}(),;:]/
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
return o;
|
|
105
|
-
}
|
|
106
|
-
var s = p();
|
|
107
|
-
const b = /* @__PURE__ */ u(s), m = /* @__PURE__ */ d({
|
|
108
|
-
__proto__: null,
|
|
109
|
-
default: b
|
|
110
|
-
}, [s]);
|
|
111
|
-
export {
|
|
112
|
-
m as s
|
|
113
|
-
};
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { g as u } from "./index-9498f0f6.js";
|
|
2
|
-
function d(e, a) {
|
|
3
|
-
for (var l = 0; l < a.length; l++) {
|
|
4
|
-
const t = a[l];
|
|
5
|
-
if (typeof t != "string" && !Array.isArray(t)) {
|
|
6
|
-
for (const r in t)
|
|
7
|
-
if (r !== "default" && !(r in e)) {
|
|
8
|
-
const n = Object.getOwnPropertyDescriptor(t, r);
|
|
9
|
-
n && Object.defineProperty(e, r, n.get ? n : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => t[r]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var o, s;
|
|
19
|
-
function p() {
|
|
20
|
-
if (s)
|
|
21
|
-
return o;
|
|
22
|
-
s = 1, o = e, e.displayName = "smalltalk", e.aliases = [];
|
|
23
|
-
function e(a) {
|
|
24
|
-
a.languages.smalltalk = {
|
|
25
|
-
comment: {
|
|
26
|
-
pattern: /"(?:""|[^"])*"/,
|
|
27
|
-
greedy: !0
|
|
28
|
-
},
|
|
29
|
-
char: {
|
|
30
|
-
pattern: /\$./,
|
|
31
|
-
greedy: !0
|
|
32
|
-
},
|
|
33
|
-
string: {
|
|
34
|
-
pattern: /'(?:''|[^'])*'/,
|
|
35
|
-
greedy: !0
|
|
36
|
-
},
|
|
37
|
-
symbol: /#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,
|
|
38
|
-
"block-arguments": {
|
|
39
|
-
pattern: /(\[\s*):[^\[|]*\|/,
|
|
40
|
-
lookbehind: !0,
|
|
41
|
-
inside: {
|
|
42
|
-
variable: /:[\da-z]+/i,
|
|
43
|
-
punctuation: /\|/
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"temporary-variables": {
|
|
47
|
-
pattern: /\|[^|]+\|/,
|
|
48
|
-
inside: {
|
|
49
|
-
variable: /[\da-z]+/i,
|
|
50
|
-
punctuation: /\|/
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
keyword: /\b(?:new|nil|self|super)\b/,
|
|
54
|
-
boolean: /\b(?:false|true)\b/,
|
|
55
|
-
number: [
|
|
56
|
-
/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,
|
|
57
|
-
/\b\d+(?:\.\d+)?(?:e-?\d+)?/
|
|
58
|
-
],
|
|
59
|
-
operator: /[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,
|
|
60
|
-
punctuation: /[.;:?\[\](){}]/
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
return o;
|
|
64
|
-
}
|
|
65
|
-
var i = p();
|
|
66
|
-
const m = /* @__PURE__ */ u(i), b = /* @__PURE__ */ d({
|
|
67
|
-
__proto__: null,
|
|
68
|
-
default: m
|
|
69
|
-
}, [i]);
|
|
70
|
-
export {
|
|
71
|
-
b as s
|
|
72
|
-
};
|
package/dist/smarty-4e93cd0d.js
DELETED
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
import { g as f } from "./index-9498f0f6.js";
|
|
2
|
-
import { r as m } from "./markup-templating-49c15a5f.js";
|
|
3
|
-
function c(n, r) {
|
|
4
|
-
for (var a = 0; a < r.length; a++) {
|
|
5
|
-
const e = r[a];
|
|
6
|
-
if (typeof e != "string" && !Array.isArray(e)) {
|
|
7
|
-
for (const t in e)
|
|
8
|
-
if (t !== "default" && !(t in n)) {
|
|
9
|
-
const s = Object.getOwnPropertyDescriptor(e, t);
|
|
10
|
-
s && Object.defineProperty(n, t, s.get ? s : {
|
|
11
|
-
enumerable: !0,
|
|
12
|
-
get: () => e[t]
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
18
|
-
}
|
|
19
|
-
var p, l;
|
|
20
|
-
function b() {
|
|
21
|
-
if (l)
|
|
22
|
-
return p;
|
|
23
|
-
l = 1;
|
|
24
|
-
var n = m();
|
|
25
|
-
p = r, r.displayName = "smarty", r.aliases = [];
|
|
26
|
-
function r(a) {
|
|
27
|
-
a.register(n), function(e) {
|
|
28
|
-
e.languages.smarty = {
|
|
29
|
-
comment: {
|
|
30
|
-
pattern: /^\{\*[\s\S]*?\*\}/,
|
|
31
|
-
greedy: !0
|
|
32
|
-
},
|
|
33
|
-
"embedded-php": {
|
|
34
|
-
pattern: /^\{php\}[\s\S]*?\{\/php\}/,
|
|
35
|
-
greedy: !0,
|
|
36
|
-
inside: {
|
|
37
|
-
smarty: {
|
|
38
|
-
pattern: /^\{php\}|\{\/php\}$/,
|
|
39
|
-
inside: null
|
|
40
|
-
// see below
|
|
41
|
-
},
|
|
42
|
-
php: {
|
|
43
|
-
pattern: /[\s\S]+/,
|
|
44
|
-
alias: "language-php",
|
|
45
|
-
inside: e.languages.php
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
string: [
|
|
50
|
-
{
|
|
51
|
-
pattern: /"(?:\\.|[^"\\\r\n])*"/,
|
|
52
|
-
greedy: !0,
|
|
53
|
-
inside: {
|
|
54
|
-
interpolation: {
|
|
55
|
-
pattern: /\{[^{}]*\}|`[^`]*`/,
|
|
56
|
-
inside: {
|
|
57
|
-
"interpolation-punctuation": {
|
|
58
|
-
pattern: /^[{`]|[`}]$/,
|
|
59
|
-
alias: "punctuation"
|
|
60
|
-
},
|
|
61
|
-
expression: {
|
|
62
|
-
pattern: /[\s\S]+/,
|
|
63
|
-
inside: null
|
|
64
|
-
// see below
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
variable: /\$\w+/
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
pattern: /'(?:\\.|[^'\\\r\n])*'/,
|
|
73
|
-
greedy: !0
|
|
74
|
-
}
|
|
75
|
-
],
|
|
76
|
-
keyword: {
|
|
77
|
-
pattern: /(^\{\/?)[a-z_]\w*\b(?!\()/i,
|
|
78
|
-
lookbehind: !0,
|
|
79
|
-
greedy: !0
|
|
80
|
-
},
|
|
81
|
-
delimiter: {
|
|
82
|
-
pattern: /^\{\/?|\}$/,
|
|
83
|
-
greedy: !0,
|
|
84
|
-
alias: "punctuation"
|
|
85
|
-
},
|
|
86
|
-
number: /\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,
|
|
87
|
-
variable: [
|
|
88
|
-
/\$(?!\d)\w+/,
|
|
89
|
-
/#(?!\d)\w+#/,
|
|
90
|
-
{
|
|
91
|
-
pattern: /(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,
|
|
92
|
-
lookbehind: !0
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
pattern: /(\[)(?!\d)\w+(?=\])/,
|
|
96
|
-
lookbehind: !0
|
|
97
|
-
}
|
|
98
|
-
],
|
|
99
|
-
function: {
|
|
100
|
-
pattern: /(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,
|
|
101
|
-
lookbehind: !0
|
|
102
|
-
},
|
|
103
|
-
"attr-name": /\b[a-z_]\w*(?=\s*=)/i,
|
|
104
|
-
boolean: /\b(?:false|no|off|on|true|yes)\b/,
|
|
105
|
-
punctuation: /[\[\](){}.,:`]|->/,
|
|
106
|
-
operator: [
|
|
107
|
-
/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,
|
|
108
|
-
/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,
|
|
109
|
-
/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/
|
|
110
|
-
]
|
|
111
|
-
}, e.languages.smarty["embedded-php"].inside.smarty.inside = e.languages.smarty, e.languages.smarty.string[0].inside.interpolation.inside.expression.inside = e.languages.smarty;
|
|
112
|
-
var t = /"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/, s = RegExp(
|
|
113
|
-
// comments
|
|
114
|
-
/\{\*[\s\S]*?\*\}/.source + "|" + // php tags
|
|
115
|
-
/\{php\}[\s\S]*?\{\/php\}/.source + "|" + // smarty blocks
|
|
116
|
-
/\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>)*\})*\})*\}/.source.replace(
|
|
117
|
-
/<str>/g,
|
|
118
|
-
function() {
|
|
119
|
-
return t.source;
|
|
120
|
-
}
|
|
121
|
-
),
|
|
122
|
-
"g"
|
|
123
|
-
);
|
|
124
|
-
e.hooks.add("before-tokenize", function(i) {
|
|
125
|
-
var g = "{literal}", y = "{/literal}", o = !1;
|
|
126
|
-
e.languages["markup-templating"].buildPlaceholders(
|
|
127
|
-
i,
|
|
128
|
-
"smarty",
|
|
129
|
-
s,
|
|
130
|
-
function(u) {
|
|
131
|
-
return u === y && (o = !1), o ? !1 : (u === g && (o = !0), !0);
|
|
132
|
-
}
|
|
133
|
-
);
|
|
134
|
-
}), e.hooks.add("after-tokenize", function(i) {
|
|
135
|
-
e.languages["markup-templating"].tokenizePlaceholders(i, "smarty");
|
|
136
|
-
});
|
|
137
|
-
}(a);
|
|
138
|
-
}
|
|
139
|
-
return p;
|
|
140
|
-
}
|
|
141
|
-
var d = b();
|
|
142
|
-
const h = /* @__PURE__ */ f(d), w = /* @__PURE__ */ c({
|
|
143
|
-
__proto__: null,
|
|
144
|
-
default: h
|
|
145
|
-
}, [d]);
|
|
146
|
-
export {
|
|
147
|
-
w as s
|
|
148
|
-
};
|
package/dist/sml-20b50201.js
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { g as l } from "./index-9498f0f6.js";
|
|
2
|
-
function c(r, a) {
|
|
3
|
-
for (var e = 0; e < a.length; e++) {
|
|
4
|
-
const t = a[e];
|
|
5
|
-
if (typeof t != "string" && !Array.isArray(t)) {
|
|
6
|
-
for (const n in t)
|
|
7
|
-
if (n !== "default" && !(n in r)) {
|
|
8
|
-
const s = Object.getOwnPropertyDescriptor(t, n);
|
|
9
|
-
s && Object.defineProperty(r, n, s.get ? s : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => t[n]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var o, u;
|
|
19
|
-
function f() {
|
|
20
|
-
if (u)
|
|
21
|
-
return o;
|
|
22
|
-
u = 1, o = r, r.displayName = "sml", r.aliases = ["smlnj"];
|
|
23
|
-
function r(a) {
|
|
24
|
-
(function(e) {
|
|
25
|
-
var t = /\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;
|
|
26
|
-
e.languages.sml = {
|
|
27
|
-
// allow one level of nesting
|
|
28
|
-
comment: /\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,
|
|
29
|
-
string: {
|
|
30
|
-
pattern: /#?"(?:[^"\\]|\\.)*"/,
|
|
31
|
-
greedy: !0
|
|
32
|
-
},
|
|
33
|
-
"class-name": [
|
|
34
|
-
{
|
|
35
|
-
// This is only an approximation since the real grammar is context-free
|
|
36
|
-
//
|
|
37
|
-
// Why the main loop so complex?
|
|
38
|
-
// The main loop is approximately the same as /(?:\s*(?:[*,]|->)\s*<TERMINAL>)*/ which is, obviously, a lot
|
|
39
|
-
// simpler. The difference is that if a comma is the last iteration of the loop, then the terminal must be
|
|
40
|
-
// followed by a long identifier.
|
|
41
|
-
pattern: RegExp(
|
|
42
|
-
/((?:^|[^:]):\s*)<TERMINAL>(?:\s*(?:(?:\*|->)\s*<TERMINAL>|,\s*<TERMINAL>(?:(?=<NOT-LAST>)|(?!<NOT-LAST>)\s+<LONG-ID>)))*/.source.replace(/<NOT-LAST>/g, function() {
|
|
43
|
-
return /\s*(?:[*,]|->)/.source;
|
|
44
|
-
}).replace(/<TERMINAL>/g, function() {
|
|
45
|
-
return /(?:'[\w']*|<LONG-ID>|\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+<LONG-ID>)*/.source;
|
|
46
|
-
}).replace(/<LONG-ID>/g, function() {
|
|
47
|
-
return /(?!<KEYWORD>)[a-z\d_][\w'.]*/.source;
|
|
48
|
-
}).replace(/<KEYWORD>/g, function() {
|
|
49
|
-
return t.source;
|
|
50
|
-
}),
|
|
51
|
-
"i"
|
|
52
|
-
),
|
|
53
|
-
lookbehind: !0,
|
|
54
|
-
greedy: !0,
|
|
55
|
-
inside: null
|
|
56
|
-
// see below
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
pattern: /((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,
|
|
60
|
-
lookbehind: !0
|
|
61
|
-
}
|
|
62
|
-
],
|
|
63
|
-
function: {
|
|
64
|
-
pattern: /((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,
|
|
65
|
-
lookbehind: !0
|
|
66
|
-
},
|
|
67
|
-
keyword: t,
|
|
68
|
-
variable: {
|
|
69
|
-
pattern: /(^|[^\w'])'[\w']*/,
|
|
70
|
-
lookbehind: !0
|
|
71
|
-
},
|
|
72
|
-
number: /~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,
|
|
73
|
-
word: {
|
|
74
|
-
pattern: /\b0w(?:\d+|x[\da-f]+)\b/i,
|
|
75
|
-
alias: "constant"
|
|
76
|
-
},
|
|
77
|
-
boolean: /\b(?:false|true)\b/i,
|
|
78
|
-
operator: /\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,
|
|
79
|
-
punctuation: /[(){}\[\].:,;]/
|
|
80
|
-
}, e.languages.sml["class-name"][0].inside = e.languages.sml, e.languages.smlnj = e.languages.sml;
|
|
81
|
-
})(a);
|
|
82
|
-
}
|
|
83
|
-
return o;
|
|
84
|
-
}
|
|
85
|
-
var i = f();
|
|
86
|
-
const p = /* @__PURE__ */ l(i), g = /* @__PURE__ */ c({
|
|
87
|
-
__proto__: null,
|
|
88
|
-
default: p
|
|
89
|
-
}, [i]);
|
|
90
|
-
export {
|
|
91
|
-
g as s
|
|
92
|
-
};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { g as u } from "./index-9498f0f6.js";
|
|
2
|
-
function d(t, e) {
|
|
3
|
-
for (var o = 0; o < e.length; o++) {
|
|
4
|
-
const r = e[o];
|
|
5
|
-
if (typeof r != "string" && !Array.isArray(r)) {
|
|
6
|
-
for (const i in r)
|
|
7
|
-
if (i !== "default" && !(i in t)) {
|
|
8
|
-
const n = Object.getOwnPropertyDescriptor(r, i);
|
|
9
|
-
n && Object.defineProperty(t, i, n.get ? n : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => r[i]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var a, s;
|
|
19
|
-
function c() {
|
|
20
|
-
if (s)
|
|
21
|
-
return a;
|
|
22
|
-
s = 1, a = t, t.displayName = "solidity", t.aliases = ["sol"];
|
|
23
|
-
function t(e) {
|
|
24
|
-
e.languages.solidity = e.languages.extend("clike", {
|
|
25
|
-
"class-name": {
|
|
26
|
-
pattern: /(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,
|
|
27
|
-
lookbehind: !0
|
|
28
|
-
},
|
|
29
|
-
keyword: /\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,
|
|
30
|
-
operator: /=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/
|
|
31
|
-
}), e.languages.insertBefore("solidity", "keyword", {
|
|
32
|
-
builtin: /\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/
|
|
33
|
-
}), e.languages.insertBefore("solidity", "number", {
|
|
34
|
-
version: {
|
|
35
|
-
pattern: /([<>]=?|\^)\d+\.\d+\.\d+\b/,
|
|
36
|
-
lookbehind: !0,
|
|
37
|
-
alias: "number"
|
|
38
|
-
}
|
|
39
|
-
}), e.languages.sol = e.languages.solidity;
|
|
40
|
-
}
|
|
41
|
-
return a;
|
|
42
|
-
}
|
|
43
|
-
var l = c();
|
|
44
|
-
const y = /* @__PURE__ */ u(l), g = /* @__PURE__ */ d({
|
|
45
|
-
__proto__: null,
|
|
46
|
-
default: y
|
|
47
|
-
}, [l]);
|
|
48
|
-
export {
|
|
49
|
-
g as s
|
|
50
|
-
};
|