@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/php-9a4fecc1.js
DELETED
|
@@ -1,335 +0,0 @@
|
|
|
1
|
-
import { r as g } from "./markup-templating-49c15a5f.js";
|
|
2
|
-
var n, p;
|
|
3
|
-
function h() {
|
|
4
|
-
if (p)
|
|
5
|
-
return n;
|
|
6
|
-
p = 1;
|
|
7
|
-
var c = g();
|
|
8
|
-
n = a, a.displayName = "php", a.aliases = [];
|
|
9
|
-
function a(i) {
|
|
10
|
-
i.register(c), function(e) {
|
|
11
|
-
var r = /\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/, s = [
|
|
12
|
-
{
|
|
13
|
-
pattern: /\b(?:false|true)\b/i,
|
|
14
|
-
alias: "boolean"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
pattern: /(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,
|
|
18
|
-
greedy: !0,
|
|
19
|
-
lookbehind: !0
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
pattern: /(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,
|
|
23
|
-
greedy: !0,
|
|
24
|
-
lookbehind: !0
|
|
25
|
-
},
|
|
26
|
-
/\b(?:null)\b/i,
|
|
27
|
-
/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/
|
|
28
|
-
], l = /\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i, o = /<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/, u = /[{}\[\](),:;]/;
|
|
29
|
-
e.languages.php = {
|
|
30
|
-
delimiter: {
|
|
31
|
-
pattern: /\?>$|^<\?(?:php(?=\s)|=)?/i,
|
|
32
|
-
alias: "important"
|
|
33
|
-
},
|
|
34
|
-
comment: r,
|
|
35
|
-
variable: /\$+(?:\w+\b|(?=\{))/,
|
|
36
|
-
package: {
|
|
37
|
-
pattern: /(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,
|
|
38
|
-
lookbehind: !0,
|
|
39
|
-
inside: {
|
|
40
|
-
punctuation: /\\/
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
"class-name-definition": {
|
|
44
|
-
pattern: /(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,
|
|
45
|
-
lookbehind: !0,
|
|
46
|
-
alias: "class-name"
|
|
47
|
-
},
|
|
48
|
-
"function-definition": {
|
|
49
|
-
pattern: /(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,
|
|
50
|
-
lookbehind: !0,
|
|
51
|
-
alias: "function"
|
|
52
|
-
},
|
|
53
|
-
keyword: [
|
|
54
|
-
{
|
|
55
|
-
pattern: /(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,
|
|
56
|
-
alias: "type-casting",
|
|
57
|
-
greedy: !0,
|
|
58
|
-
lookbehind: !0
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
pattern: /([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,
|
|
62
|
-
alias: "type-hint",
|
|
63
|
-
greedy: !0,
|
|
64
|
-
lookbehind: !0
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
pattern: /(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,
|
|
68
|
-
alias: "return-type",
|
|
69
|
-
greedy: !0,
|
|
70
|
-
lookbehind: !0
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
pattern: /\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,
|
|
74
|
-
alias: "type-declaration",
|
|
75
|
-
greedy: !0
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
pattern: /(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,
|
|
79
|
-
alias: "type-declaration",
|
|
80
|
-
greedy: !0,
|
|
81
|
-
lookbehind: !0
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
pattern: /\b(?:parent|self|static)(?=\s*::)/i,
|
|
85
|
-
alias: "static-context",
|
|
86
|
-
greedy: !0
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
// yield from
|
|
90
|
-
pattern: /(\byield\s+)from\b/i,
|
|
91
|
-
lookbehind: !0
|
|
92
|
-
},
|
|
93
|
-
// `class` is always a keyword unlike other keywords
|
|
94
|
-
/\bclass\b/i,
|
|
95
|
-
{
|
|
96
|
-
// https://www.php.net/manual/en/reserved.keywords.php
|
|
97
|
-
//
|
|
98
|
-
// keywords cannot be preceded by "->"
|
|
99
|
-
// the complex lookbehind means `(?<!(?:->|::)\s*)`
|
|
100
|
-
pattern: /((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,
|
|
101
|
-
lookbehind: !0
|
|
102
|
-
}
|
|
103
|
-
],
|
|
104
|
-
"argument-name": {
|
|
105
|
-
pattern: /([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,
|
|
106
|
-
lookbehind: !0
|
|
107
|
-
},
|
|
108
|
-
"class-name": [
|
|
109
|
-
{
|
|
110
|
-
pattern: /(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,
|
|
111
|
-
greedy: !0,
|
|
112
|
-
lookbehind: !0
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
pattern: /(\|\s*)\b[a-z_]\w*(?!\\)\b/i,
|
|
116
|
-
greedy: !0,
|
|
117
|
-
lookbehind: !0
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
pattern: /\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,
|
|
121
|
-
greedy: !0
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
pattern: /(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,
|
|
125
|
-
alias: "class-name-fully-qualified",
|
|
126
|
-
greedy: !0,
|
|
127
|
-
lookbehind: !0,
|
|
128
|
-
inside: {
|
|
129
|
-
punctuation: /\\/
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
pattern: /(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,
|
|
134
|
-
alias: "class-name-fully-qualified",
|
|
135
|
-
greedy: !0,
|
|
136
|
-
inside: {
|
|
137
|
-
punctuation: /\\/
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
pattern: /(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,
|
|
142
|
-
alias: "class-name-fully-qualified",
|
|
143
|
-
greedy: !0,
|
|
144
|
-
lookbehind: !0,
|
|
145
|
-
inside: {
|
|
146
|
-
punctuation: /\\/
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
pattern: /\b[a-z_]\w*(?=\s*\$)/i,
|
|
151
|
-
alias: "type-declaration",
|
|
152
|
-
greedy: !0
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
pattern: /(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,
|
|
156
|
-
alias: ["class-name-fully-qualified", "type-declaration"],
|
|
157
|
-
greedy: !0,
|
|
158
|
-
inside: {
|
|
159
|
-
punctuation: /\\/
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
pattern: /\b[a-z_]\w*(?=\s*::)/i,
|
|
164
|
-
alias: "static-context",
|
|
165
|
-
greedy: !0
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
pattern: /(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,
|
|
169
|
-
alias: ["class-name-fully-qualified", "static-context"],
|
|
170
|
-
greedy: !0,
|
|
171
|
-
inside: {
|
|
172
|
-
punctuation: /\\/
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
pattern: /([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,
|
|
177
|
-
alias: "type-hint",
|
|
178
|
-
greedy: !0,
|
|
179
|
-
lookbehind: !0
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
pattern: /([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,
|
|
183
|
-
alias: ["class-name-fully-qualified", "type-hint"],
|
|
184
|
-
greedy: !0,
|
|
185
|
-
lookbehind: !0,
|
|
186
|
-
inside: {
|
|
187
|
-
punctuation: /\\/
|
|
188
|
-
}
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
pattern: /(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,
|
|
192
|
-
alias: "return-type",
|
|
193
|
-
greedy: !0,
|
|
194
|
-
lookbehind: !0
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
pattern: /(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,
|
|
198
|
-
alias: ["class-name-fully-qualified", "return-type"],
|
|
199
|
-
greedy: !0,
|
|
200
|
-
lookbehind: !0,
|
|
201
|
-
inside: {
|
|
202
|
-
punctuation: /\\/
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
],
|
|
206
|
-
constant: s,
|
|
207
|
-
function: {
|
|
208
|
-
pattern: /(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,
|
|
209
|
-
lookbehind: !0,
|
|
210
|
-
inside: {
|
|
211
|
-
punctuation: /\\/
|
|
212
|
-
}
|
|
213
|
-
},
|
|
214
|
-
property: {
|
|
215
|
-
pattern: /(->\s*)\w+/,
|
|
216
|
-
lookbehind: !0
|
|
217
|
-
},
|
|
218
|
-
number: l,
|
|
219
|
-
operator: o,
|
|
220
|
-
punctuation: u
|
|
221
|
-
};
|
|
222
|
-
var d = {
|
|
223
|
-
pattern: /\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,
|
|
224
|
-
lookbehind: !0,
|
|
225
|
-
inside: e.languages.php
|
|
226
|
-
}, b = [
|
|
227
|
-
{
|
|
228
|
-
pattern: /<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,
|
|
229
|
-
alias: "nowdoc-string",
|
|
230
|
-
greedy: !0,
|
|
231
|
-
inside: {
|
|
232
|
-
delimiter: {
|
|
233
|
-
pattern: /^<<<'[^']+'|[a-z_]\w*;$/i,
|
|
234
|
-
alias: "symbol",
|
|
235
|
-
inside: {
|
|
236
|
-
punctuation: /^<<<'?|[';]$/
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
pattern: /<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,
|
|
243
|
-
alias: "heredoc-string",
|
|
244
|
-
greedy: !0,
|
|
245
|
-
inside: {
|
|
246
|
-
delimiter: {
|
|
247
|
-
pattern: /^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,
|
|
248
|
-
alias: "symbol",
|
|
249
|
-
inside: {
|
|
250
|
-
punctuation: /^<<<"?|[";]$/
|
|
251
|
-
}
|
|
252
|
-
},
|
|
253
|
-
interpolation: d
|
|
254
|
-
}
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
pattern: /`(?:\\[\s\S]|[^\\`])*`/,
|
|
258
|
-
alias: "backtick-quoted-string",
|
|
259
|
-
greedy: !0
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
pattern: /'(?:\\[\s\S]|[^\\'])*'/,
|
|
263
|
-
alias: "single-quoted-string",
|
|
264
|
-
greedy: !0
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
pattern: /"(?:\\[\s\S]|[^\\"])*"/,
|
|
268
|
-
alias: "double-quoted-string",
|
|
269
|
-
greedy: !0,
|
|
270
|
-
inside: {
|
|
271
|
-
interpolation: d
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
];
|
|
275
|
-
e.languages.insertBefore("php", "variable", {
|
|
276
|
-
string: b,
|
|
277
|
-
attribute: {
|
|
278
|
-
pattern: /#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,
|
|
279
|
-
greedy: !0,
|
|
280
|
-
inside: {
|
|
281
|
-
"attribute-content": {
|
|
282
|
-
pattern: /^(#\[)[\s\S]+(?=\]$)/,
|
|
283
|
-
lookbehind: !0,
|
|
284
|
-
// inside can appear subset of php
|
|
285
|
-
inside: {
|
|
286
|
-
comment: r,
|
|
287
|
-
string: b,
|
|
288
|
-
"attribute-class-name": [
|
|
289
|
-
{
|
|
290
|
-
pattern: /([^:]|^)\b[a-z_]\w*(?!\\)\b/i,
|
|
291
|
-
alias: "class-name",
|
|
292
|
-
greedy: !0,
|
|
293
|
-
lookbehind: !0
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
pattern: /([^:]|^)(?:\\?\b[a-z_]\w*)+/i,
|
|
297
|
-
alias: ["class-name", "class-name-fully-qualified"],
|
|
298
|
-
greedy: !0,
|
|
299
|
-
lookbehind: !0,
|
|
300
|
-
inside: {
|
|
301
|
-
punctuation: /\\/
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
],
|
|
305
|
-
constant: s,
|
|
306
|
-
number: l,
|
|
307
|
-
operator: o,
|
|
308
|
-
punctuation: u
|
|
309
|
-
}
|
|
310
|
-
},
|
|
311
|
-
delimiter: {
|
|
312
|
-
pattern: /^#\[|\]$/,
|
|
313
|
-
alias: "punctuation"
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
}), e.hooks.add("before-tokenize", function(t) {
|
|
318
|
-
if (/<\?/.test(t.code)) {
|
|
319
|
-
var f = /<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;
|
|
320
|
-
e.languages["markup-templating"].buildPlaceholders(
|
|
321
|
-
t,
|
|
322
|
-
"php",
|
|
323
|
-
f
|
|
324
|
-
);
|
|
325
|
-
}
|
|
326
|
-
}), e.hooks.add("after-tokenize", function(t) {
|
|
327
|
-
e.languages["markup-templating"].tokenizePlaceholders(t, "php");
|
|
328
|
-
});
|
|
329
|
-
}(i);
|
|
330
|
-
}
|
|
331
|
-
return n;
|
|
332
|
-
}
|
|
333
|
-
export {
|
|
334
|
-
h as r
|
|
335
|
-
};
|
package/dist/php-e9145741.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { g as f } from "./index-9498f0f6.js";
|
|
2
|
-
import { r as s } from "./php-9a4fecc1.js";
|
|
3
|
-
function i(t, n) {
|
|
4
|
-
for (var o = 0; o < n.length; o++) {
|
|
5
|
-
const e = n[o];
|
|
6
|
-
if (typeof e != "string" && !Array.isArray(e)) {
|
|
7
|
-
for (const r in e)
|
|
8
|
-
if (r !== "default" && !(r in t)) {
|
|
9
|
-
const p = Object.getOwnPropertyDescriptor(e, r);
|
|
10
|
-
p && Object.defineProperty(t, r, p.get ? p : {
|
|
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 a = s();
|
|
20
|
-
const c = /* @__PURE__ */ f(a), l = /* @__PURE__ */ i({
|
|
21
|
-
__proto__: null,
|
|
22
|
-
default: c
|
|
23
|
-
}, [a]);
|
|
24
|
-
export {
|
|
25
|
-
l as p
|
|
26
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { g as f } from "./index-9498f0f6.js";
|
|
2
|
-
import { r as u } from "./php-9a4fecc1.js";
|
|
3
|
-
function c(t, r) {
|
|
4
|
-
for (var e = 0; e < r.length; e++) {
|
|
5
|
-
const a = r[e];
|
|
6
|
-
if (typeof a != "string" && !Array.isArray(a)) {
|
|
7
|
-
for (const p in a)
|
|
8
|
-
if (p !== "default" && !(p in t)) {
|
|
9
|
-
const s = Object.getOwnPropertyDescriptor(a, p);
|
|
10
|
-
s && Object.defineProperty(t, p, s.get ? s : {
|
|
11
|
-
enumerable: !0,
|
|
12
|
-
get: () => a[p]
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
|
18
|
-
}
|
|
19
|
-
var o, n;
|
|
20
|
-
function E() {
|
|
21
|
-
if (n)
|
|
22
|
-
return o;
|
|
23
|
-
n = 1;
|
|
24
|
-
var t = u();
|
|
25
|
-
o = r, r.displayName = "phpExtras", r.aliases = [];
|
|
26
|
-
function r(e) {
|
|
27
|
-
e.register(t), e.languages.insertBefore("php", "variable", {
|
|
28
|
-
this: {
|
|
29
|
-
pattern: /\$this\b/,
|
|
30
|
-
alias: "keyword"
|
|
31
|
-
},
|
|
32
|
-
global: /\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,
|
|
33
|
-
scope: {
|
|
34
|
-
pattern: /\b[\w\\]+::/,
|
|
35
|
-
inside: {
|
|
36
|
-
keyword: /\b(?:parent|self|static)\b/,
|
|
37
|
-
punctuation: /::|\\/
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
return o;
|
|
43
|
-
}
|
|
44
|
-
var i = E();
|
|
45
|
-
const h = /* @__PURE__ */ f(i), b = /* @__PURE__ */ c({
|
|
46
|
-
__proto__: null,
|
|
47
|
-
default: h
|
|
48
|
-
}, [i]);
|
|
49
|
-
export {
|
|
50
|
-
b as p
|
|
51
|
-
};
|
package/dist/phpdoc-a1a632ca.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { g as i } from "./index-9498f0f6.js";
|
|
2
|
-
import { r as s } from "./php-9a4fecc1.js";
|
|
3
|
-
import { r as d } from "./javadoclike-482a7933.js";
|
|
4
|
-
function u(t, p) {
|
|
5
|
-
for (var a = 0; a < p.length; a++) {
|
|
6
|
-
const r = p[a];
|
|
7
|
-
if (typeof r != "string" && !Array.isArray(r)) {
|
|
8
|
-
for (const e in r)
|
|
9
|
-
if (e !== "default" && !(e in t)) {
|
|
10
|
-
const o = Object.getOwnPropertyDescriptor(r, e);
|
|
11
|
-
o && Object.defineProperty(t, e, o.get ? o : {
|
|
12
|
-
enumerable: !0,
|
|
13
|
-
get: () => r[e]
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
|
19
|
-
}
|
|
20
|
-
var n, c;
|
|
21
|
-
function g() {
|
|
22
|
-
if (c)
|
|
23
|
-
return n;
|
|
24
|
-
c = 1;
|
|
25
|
-
var t = s(), p = d();
|
|
26
|
-
n = a, a.displayName = "phpdoc", a.aliases = [];
|
|
27
|
-
function a(r) {
|
|
28
|
-
r.register(t), r.register(p), function(e) {
|
|
29
|
-
var o = /(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;
|
|
30
|
-
e.languages.phpdoc = e.languages.extend("javadoclike", {
|
|
31
|
-
parameter: {
|
|
32
|
-
pattern: RegExp(
|
|
33
|
-
"(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:" + o + "\\s+)?)\\$\\w+"
|
|
34
|
-
),
|
|
35
|
-
lookbehind: !0
|
|
36
|
-
}
|
|
37
|
-
}), e.languages.insertBefore("phpdoc", "keyword", {
|
|
38
|
-
"class-name": [
|
|
39
|
-
{
|
|
40
|
-
pattern: RegExp(
|
|
41
|
-
"(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)" + o
|
|
42
|
-
),
|
|
43
|
-
lookbehind: !0,
|
|
44
|
-
inside: {
|
|
45
|
-
keyword: /\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,
|
|
46
|
-
punctuation: /[|\\[\]()]/
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
]
|
|
50
|
-
}), e.languages.javadoclike.addSupport("php", e.languages.phpdoc);
|
|
51
|
-
}(r);
|
|
52
|
-
}
|
|
53
|
-
return n;
|
|
54
|
-
}
|
|
55
|
-
var l = g();
|
|
56
|
-
const f = /* @__PURE__ */ i(l), y = /* @__PURE__ */ u({
|
|
57
|
-
__proto__: null,
|
|
58
|
-
default: f
|
|
59
|
-
}, [l]);
|
|
60
|
-
export {
|
|
61
|
-
y as p
|
|
62
|
-
};
|
package/dist/plsql-8e48519b.js
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { g as C } from "./index-9498f0f6.js";
|
|
2
|
-
import { r as D } from "./sql-1e928866.js";
|
|
3
|
-
function U(T, A) {
|
|
4
|
-
for (var E = 0; E < A.length; E++) {
|
|
5
|
-
const I = A[E];
|
|
6
|
-
if (typeof I != "string" && !Array.isArray(I)) {
|
|
7
|
-
for (const R in I)
|
|
8
|
-
if (R !== "default" && !(R in T)) {
|
|
9
|
-
const N = Object.getOwnPropertyDescriptor(I, R);
|
|
10
|
-
N && Object.defineProperty(T, R, N.get ? N : {
|
|
11
|
-
enumerable: !0,
|
|
12
|
-
get: () => I[R]
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
return Object.freeze(Object.defineProperty(T, Symbol.toStringTag, { value: "Module" }));
|
|
18
|
-
}
|
|
19
|
-
var O, S;
|
|
20
|
-
function e() {
|
|
21
|
-
if (S)
|
|
22
|
-
return O;
|
|
23
|
-
S = 1;
|
|
24
|
-
var T = D();
|
|
25
|
-
O = A, A.displayName = "plsql", A.aliases = [];
|
|
26
|
-
function A(E) {
|
|
27
|
-
E.register(T), E.languages.plsql = E.languages.extend("sql", {
|
|
28
|
-
comment: {
|
|
29
|
-
pattern: /\/\*[\s\S]*?\*\/|--.*/,
|
|
30
|
-
greedy: !0
|
|
31
|
-
},
|
|
32
|
-
// https://docs.oracle.com/en/database/oracle/oracle-database/21/lnpls/plsql-reserved-words-keywords.html
|
|
33
|
-
keyword: /\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,
|
|
34
|
-
// https://docs.oracle.com/en/database/oracle/oracle-database/21/lnpls/plsql-language-fundamentals.html#GUID-96A42F7C-7A71-4B90-8255-CA9C8BD9722E
|
|
35
|
-
operator: /:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/
|
|
36
|
-
}), E.languages.insertBefore("plsql", "operator", {
|
|
37
|
-
label: {
|
|
38
|
-
pattern: /<<\s*\w+\s*>>/,
|
|
39
|
-
alias: "symbol"
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
return O;
|
|
44
|
-
}
|
|
45
|
-
var L = e();
|
|
46
|
-
const M = /* @__PURE__ */ C(L), P = /* @__PURE__ */ U({
|
|
47
|
-
__proto__: null,
|
|
48
|
-
default: M
|
|
49
|
-
}, [L]);
|
|
50
|
-
export {
|
|
51
|
-
P as p
|
|
52
|
-
};
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { g as d } from "./index-9498f0f6.js";
|
|
2
|
-
function s(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 n in r)
|
|
7
|
-
if (n !== "default" && !(n in t)) {
|
|
8
|
-
const a = Object.getOwnPropertyDescriptor(r, n);
|
|
9
|
-
a && Object.defineProperty(t, n, a.get ? a : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => r[n]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var i, u;
|
|
19
|
-
function l() {
|
|
20
|
-
if (u)
|
|
21
|
-
return i;
|
|
22
|
-
u = 1, i = t, t.displayName = "powerquery", t.aliases = [];
|
|
23
|
-
function t(e) {
|
|
24
|
-
e.languages.powerquery = {
|
|
25
|
-
comment: {
|
|
26
|
-
pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,
|
|
27
|
-
lookbehind: !0,
|
|
28
|
-
greedy: !0
|
|
29
|
-
},
|
|
30
|
-
"quoted-identifier": {
|
|
31
|
-
pattern: /#"(?:[^"\r\n]|"")*"(?!")/,
|
|
32
|
-
greedy: !0
|
|
33
|
-
},
|
|
34
|
-
string: {
|
|
35
|
-
pattern: /(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,
|
|
36
|
-
greedy: !0
|
|
37
|
-
},
|
|
38
|
-
constant: [
|
|
39
|
-
/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,
|
|
40
|
-
/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,
|
|
41
|
-
/\bOccurrence\.(?:All|First|Last)\b/,
|
|
42
|
-
/\bOrder\.(?:Ascending|Descending)\b/,
|
|
43
|
-
/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,
|
|
44
|
-
/\bMissingField\.(?:Error|Ignore|UseNull)\b/,
|
|
45
|
-
/\bQuoteStyle\.(?:Csv|None)\b/,
|
|
46
|
-
/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,
|
|
47
|
-
/\bGroupKind\.(?:Global|Local)\b/,
|
|
48
|
-
/\bExtraValues\.(?:Error|Ignore|List)\b/,
|
|
49
|
-
/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,
|
|
50
|
-
/\bJoinSide\.(?:Left|Right)\b/,
|
|
51
|
-
/\bPrecision\.(?:Decimal|Double)\b/,
|
|
52
|
-
/\bRelativePosition\.From(?:End|Start)\b/,
|
|
53
|
-
/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,
|
|
54
|
-
/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,
|
|
55
|
-
/\bnull\b/
|
|
56
|
-
],
|
|
57
|
-
boolean: /\b(?:false|true)\b/,
|
|
58
|
-
keyword: /\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,
|
|
59
|
-
function: {
|
|
60
|
-
pattern: /(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,
|
|
61
|
-
lookbehind: !0
|
|
62
|
-
},
|
|
63
|
-
"data-type": {
|
|
64
|
-
pattern: /\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,
|
|
65
|
-
alias: "class-name"
|
|
66
|
-
},
|
|
67
|
-
number: {
|
|
68
|
-
pattern: /\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,
|
|
69
|
-
lookbehind: !0
|
|
70
|
-
},
|
|
71
|
-
operator: /[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,
|
|
72
|
-
punctuation: /[,;\[\](){}]/
|
|
73
|
-
}, e.languages.pq = e.languages.powerquery, e.languages.mscript = e.languages.powerquery;
|
|
74
|
-
}
|
|
75
|
-
return i;
|
|
76
|
-
}
|
|
77
|
-
var b = l();
|
|
78
|
-
const y = /* @__PURE__ */ d(b), g = /* @__PURE__ */ s({
|
|
79
|
-
__proto__: null,
|
|
80
|
-
default: y
|
|
81
|
-
}, [b]);
|
|
82
|
-
export {
|
|
83
|
-
g as p
|
|
84
|
-
};
|