@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/nsis-d9f039bf.js
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { g as d } from "./index-9498f0f6.js";
|
|
2
|
-
function T(e, n) {
|
|
3
|
-
for (var i = 0; i < n.length; i++) {
|
|
4
|
-
const t = n[i];
|
|
5
|
-
if (typeof t != "string" && !Array.isArray(t)) {
|
|
6
|
-
for (const r in t)
|
|
7
|
-
if (r !== "default" && !(r in e)) {
|
|
8
|
-
const o = Object.getOwnPropertyDescriptor(t, r);
|
|
9
|
-
o && Object.defineProperty(e, r, o.get ? o : {
|
|
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 a, s;
|
|
19
|
-
function S() {
|
|
20
|
-
if (s)
|
|
21
|
-
return a;
|
|
22
|
-
s = 1, a = e, e.displayName = "nsis", e.aliases = [];
|
|
23
|
-
function e(n) {
|
|
24
|
-
n.languages.nsis = {
|
|
25
|
-
comment: {
|
|
26
|
-
pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,
|
|
27
|
-
lookbehind: !0,
|
|
28
|
-
greedy: !0
|
|
29
|
-
},
|
|
30
|
-
string: {
|
|
31
|
-
pattern: /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,
|
|
32
|
-
greedy: !0
|
|
33
|
-
},
|
|
34
|
-
keyword: {
|
|
35
|
-
pattern: /(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,
|
|
36
|
-
lookbehind: !0
|
|
37
|
-
},
|
|
38
|
-
property: /\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,
|
|
39
|
-
constant: /\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,
|
|
40
|
-
variable: /\$\w[\w\.]*/,
|
|
41
|
-
number: /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,
|
|
42
|
-
operator: /--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,
|
|
43
|
-
punctuation: /[{}[\];(),.:]/,
|
|
44
|
-
important: {
|
|
45
|
-
pattern: /(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,
|
|
46
|
-
lookbehind: !0
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
return a;
|
|
51
|
-
}
|
|
52
|
-
var l = S();
|
|
53
|
-
const E = /* @__PURE__ */ d(l), u = /* @__PURE__ */ T({
|
|
54
|
-
__proto__: null,
|
|
55
|
-
default: E
|
|
56
|
-
}, [l]);
|
|
57
|
-
export {
|
|
58
|
-
u as n
|
|
59
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { g as l } from "./index-9498f0f6.js";
|
|
2
|
-
import { r as u } from "./c-cbb9ff20.js";
|
|
3
|
-
function f(r, t) {
|
|
4
|
-
for (var e = 0; e < t.length; e++) {
|
|
5
|
-
const o = t[e];
|
|
6
|
-
if (typeof o != "string" && !Array.isArray(o)) {
|
|
7
|
-
for (const c in o)
|
|
8
|
-
if (c !== "default" && !(c in r)) {
|
|
9
|
-
const n = Object.getOwnPropertyDescriptor(o, c);
|
|
10
|
-
n && Object.defineProperty(r, c, n.get ? n : {
|
|
11
|
-
enumerable: !0,
|
|
12
|
-
get: () => o[c]
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
return Object.freeze(Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }));
|
|
18
|
-
}
|
|
19
|
-
var a, i;
|
|
20
|
-
function g() {
|
|
21
|
-
if (i)
|
|
22
|
-
return a;
|
|
23
|
-
i = 1;
|
|
24
|
-
var r = u();
|
|
25
|
-
a = t, t.displayName = "objectivec", t.aliases = ["objc"];
|
|
26
|
-
function t(e) {
|
|
27
|
-
e.register(r), e.languages.objectivec = e.languages.extend("c", {
|
|
28
|
-
string: {
|
|
29
|
-
pattern: /@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
|
|
30
|
-
greedy: !0
|
|
31
|
-
},
|
|
32
|
-
keyword: /\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,
|
|
33
|
-
operator: /-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/
|
|
34
|
-
}), delete e.languages.objectivec["class-name"], e.languages.objc = e.languages.objectivec;
|
|
35
|
-
}
|
|
36
|
-
return a;
|
|
37
|
-
}
|
|
38
|
-
var s = g();
|
|
39
|
-
const b = /* @__PURE__ */ l(s), v = /* @__PURE__ */ f({
|
|
40
|
-
__proto__: null,
|
|
41
|
-
default: b
|
|
42
|
-
}, [s]);
|
|
43
|
-
export {
|
|
44
|
-
v as o
|
|
45
|
-
};
|
package/dist/ocaml-c01e830a.js
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { g as c } from "./index-9498f0f6.js";
|
|
2
|
-
function u(e, a) {
|
|
3
|
-
for (var n = 0; n < a.length; n++) {
|
|
4
|
-
const t = a[n];
|
|
5
|
-
if (typeof t != "string" && !Array.isArray(t)) {
|
|
6
|
-
for (const r in t)
|
|
7
|
-
if (r !== "default" && !(r in e)) {
|
|
8
|
-
const o = Object.getOwnPropertyDescriptor(t, r);
|
|
9
|
-
o && Object.defineProperty(e, r, o.get ? o : {
|
|
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 i, l;
|
|
19
|
-
function p() {
|
|
20
|
-
if (l)
|
|
21
|
-
return i;
|
|
22
|
-
l = 1, i = e, e.displayName = "ocaml", e.aliases = [];
|
|
23
|
-
function e(a) {
|
|
24
|
-
a.languages.ocaml = {
|
|
25
|
-
comment: {
|
|
26
|
-
pattern: /\(\*[\s\S]*?\*\)/,
|
|
27
|
-
greedy: !0
|
|
28
|
-
},
|
|
29
|
-
char: {
|
|
30
|
-
pattern: /'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,
|
|
31
|
-
greedy: !0
|
|
32
|
-
},
|
|
33
|
-
string: [
|
|
34
|
-
{
|
|
35
|
-
pattern: /"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,
|
|
36
|
-
greedy: !0
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
pattern: /\{([a-z_]*)\|[\s\S]*?\|\1\}/,
|
|
40
|
-
greedy: !0
|
|
41
|
-
}
|
|
42
|
-
],
|
|
43
|
-
number: [
|
|
44
|
-
// binary and octal
|
|
45
|
-
/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,
|
|
46
|
-
// hexadecimal
|
|
47
|
-
/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,
|
|
48
|
-
// decimal
|
|
49
|
-
/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i
|
|
50
|
-
],
|
|
51
|
-
directive: {
|
|
52
|
-
pattern: /\B#\w+/,
|
|
53
|
-
alias: "property"
|
|
54
|
-
},
|
|
55
|
-
label: {
|
|
56
|
-
pattern: /\B~\w+/,
|
|
57
|
-
alias: "property"
|
|
58
|
-
},
|
|
59
|
-
"type-variable": {
|
|
60
|
-
pattern: /\B'\w+/,
|
|
61
|
-
alias: "function"
|
|
62
|
-
},
|
|
63
|
-
variant: {
|
|
64
|
-
pattern: /`\w+/,
|
|
65
|
-
alias: "symbol"
|
|
66
|
-
},
|
|
67
|
-
// For the list of keywords and operators,
|
|
68
|
-
// see: http://caml.inria.fr/pub/docs/manual-ocaml/lex.html#sec84
|
|
69
|
-
keyword: /\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,
|
|
70
|
-
boolean: /\b(?:false|true)\b/,
|
|
71
|
-
"operator-like-punctuation": {
|
|
72
|
-
pattern: /\[[<>|]|[>|]\]|\{<|>\}/,
|
|
73
|
-
alias: "punctuation"
|
|
74
|
-
},
|
|
75
|
-
// Custom operators are allowed
|
|
76
|
-
operator: /\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,
|
|
77
|
-
punctuation: /;;|::|[(){}\[\].,:;#]|\b_\b/
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
return i;
|
|
81
|
-
}
|
|
82
|
-
var s = p();
|
|
83
|
-
const d = /* @__PURE__ */ c(s), b = /* @__PURE__ */ u({
|
|
84
|
-
__proto__: null,
|
|
85
|
-
default: d
|
|
86
|
-
}, [s]);
|
|
87
|
-
export {
|
|
88
|
-
b as o
|
|
89
|
-
};
|
package/dist/opencl-3bfb6002.js
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { g as S } from "./index-9498f0f6.js";
|
|
2
|
-
import { r as L } from "./c-cbb9ff20.js";
|
|
3
|
-
function t(R, I) {
|
|
4
|
-
for (var e = 0; e < I.length; e++) {
|
|
5
|
-
const E = I[e];
|
|
6
|
-
if (typeof E != "string" && !Array.isArray(E)) {
|
|
7
|
-
for (const _ in E)
|
|
8
|
-
if (_ !== "default" && !(_ in R)) {
|
|
9
|
-
const A = Object.getOwnPropertyDescriptor(E, _);
|
|
10
|
-
A && Object.defineProperty(R, _, A.get ? A : {
|
|
11
|
-
enumerable: !0,
|
|
12
|
-
get: () => E[_]
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
return Object.freeze(Object.defineProperty(R, Symbol.toStringTag, { value: "Module" }));
|
|
18
|
-
}
|
|
19
|
-
var O, T;
|
|
20
|
-
function r() {
|
|
21
|
-
if (T)
|
|
22
|
-
return O;
|
|
23
|
-
T = 1;
|
|
24
|
-
var R = L();
|
|
25
|
-
O = I, I.displayName = "opencl", I.aliases = [];
|
|
26
|
-
function I(e) {
|
|
27
|
-
e.register(R), function(E) {
|
|
28
|
-
E.languages.opencl = E.languages.extend("c", {
|
|
29
|
-
// Extracted from the official specs (2.0) and http://streamcomputing.eu/downloads/?opencl.lang (opencl-keywords, opencl-types) and http://sourceforge.net/tracker/?func=detail&aid=2957794&group_id=95717&atid=612384 (Words2, partly Words3)
|
|
30
|
-
keyword: /\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,
|
|
31
|
-
// Extracted from http://streamcomputing.eu/downloads/?opencl.lang (opencl-const)
|
|
32
|
-
// Math Constants: https://www.khronos.org/registry/OpenCL/sdk/2.1/docs/man/xhtml/mathConstants.html
|
|
33
|
-
// Macros and Limits: https://www.khronos.org/registry/OpenCL/sdk/2.1/docs/man/xhtml/macroLimits.html
|
|
34
|
-
number: /(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,
|
|
35
|
-
boolean: /\b(?:false|true)\b/,
|
|
36
|
-
"constant-opencl-kernel": {
|
|
37
|
-
pattern: /\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,
|
|
38
|
-
alias: "constant"
|
|
39
|
-
}
|
|
40
|
-
}), E.languages.insertBefore("opencl", "class-name", {
|
|
41
|
-
// https://www.khronos.org/registry/OpenCL/sdk/2.1/docs/man/xhtml/scalarDataTypes.html
|
|
42
|
-
// https://www.khronos.org/registry/OpenCL/sdk/2.1/docs/man/xhtml/otherDataTypes.html
|
|
43
|
-
"builtin-type": {
|
|
44
|
-
pattern: /\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,
|
|
45
|
-
alias: "keyword"
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
var _ = {
|
|
49
|
-
// Extracted from http://streamcomputing.eu/downloads/?opencl_host.lang (opencl-types and opencl-host)
|
|
50
|
-
"type-opencl-host": {
|
|
51
|
-
pattern: /\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,
|
|
52
|
-
alias: "keyword"
|
|
53
|
-
},
|
|
54
|
-
"boolean-opencl-host": {
|
|
55
|
-
pattern: /\bCL_(?:FALSE|TRUE)\b/,
|
|
56
|
-
alias: "boolean"
|
|
57
|
-
},
|
|
58
|
-
// Extracted from cl.h (2.0) and http://streamcomputing.eu/downloads/?opencl_host.lang (opencl-const)
|
|
59
|
-
"constant-opencl-host": {
|
|
60
|
-
pattern: /\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,
|
|
61
|
-
alias: "constant"
|
|
62
|
-
},
|
|
63
|
-
// Extracted from cl.h (2.0) and http://streamcomputing.eu/downloads/?opencl_host.lang (opencl-host)
|
|
64
|
-
"function-opencl-host": {
|
|
65
|
-
pattern: /\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,
|
|
66
|
-
alias: "function"
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
E.languages.insertBefore("c", "keyword", _), E.languages.cpp && (_["type-opencl-host-cpp"] = {
|
|
70
|
-
pattern: /\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,
|
|
71
|
-
alias: "keyword"
|
|
72
|
-
}, E.languages.insertBefore("cpp", "keyword", _));
|
|
73
|
-
}(e);
|
|
74
|
-
}
|
|
75
|
-
return O;
|
|
76
|
-
}
|
|
77
|
-
var N = r();
|
|
78
|
-
const M = /* @__PURE__ */ S(N), o = /* @__PURE__ */ t({
|
|
79
|
-
__proto__: null,
|
|
80
|
-
default: M
|
|
81
|
-
}, [N]);
|
|
82
|
-
export {
|
|
83
|
-
o
|
|
84
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { g as l } from "./index-9498f0f6.js";
|
|
2
|
-
function p(e, t) {
|
|
3
|
-
for (var a = 0; a < t.length; a++) {
|
|
4
|
-
const r = t[a];
|
|
5
|
-
if (typeof r != "string" && !Array.isArray(r)) {
|
|
6
|
-
for (const n in r)
|
|
7
|
-
if (n !== "default" && !(n in e)) {
|
|
8
|
-
const o = Object.getOwnPropertyDescriptor(r, n);
|
|
9
|
-
o && Object.defineProperty(e, n, o.get ? o : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => r[n]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var s, i;
|
|
19
|
-
function c() {
|
|
20
|
-
if (i)
|
|
21
|
-
return s;
|
|
22
|
-
i = 1, s = e, e.displayName = "openqasm", e.aliases = ["qasm"];
|
|
23
|
-
function e(t) {
|
|
24
|
-
t.languages.openqasm = {
|
|
25
|
-
comment: /\/\*[\s\S]*?\*\/|\/\/.*/,
|
|
26
|
-
string: {
|
|
27
|
-
pattern: /"[^"\r\n\t]*"|'[^'\r\n\t]*'/,
|
|
28
|
-
greedy: !0
|
|
29
|
-
},
|
|
30
|
-
keyword: /\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,
|
|
31
|
-
"class-name": /\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,
|
|
32
|
-
function: /\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,
|
|
33
|
-
constant: /\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,
|
|
34
|
-
number: {
|
|
35
|
-
pattern: /(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,
|
|
36
|
-
lookbehind: !0
|
|
37
|
-
},
|
|
38
|
-
operator: /->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,
|
|
39
|
-
punctuation: /[(){}\[\];,:.]/
|
|
40
|
-
}, t.languages.qasm = t.languages.openqasm;
|
|
41
|
-
}
|
|
42
|
-
return s;
|
|
43
|
-
}
|
|
44
|
-
var u = c();
|
|
45
|
-
const f = /* @__PURE__ */ l(u), m = /* @__PURE__ */ p({
|
|
46
|
-
__proto__: null,
|
|
47
|
-
default: f
|
|
48
|
-
}, [u]);
|
|
49
|
-
export {
|
|
50
|
-
m as o
|
|
51
|
-
};
|
package/dist/oz-5e382b48.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { g as u } from "./index-9498f0f6.js";
|
|
2
|
-
function c(e, o) {
|
|
3
|
-
for (var a = 0; a < o.length; a++) {
|
|
4
|
-
const r = o[a];
|
|
5
|
-
if (typeof r != "string" && !Array.isArray(r)) {
|
|
6
|
-
for (const t in r)
|
|
7
|
-
if (t !== "default" && !(t in e)) {
|
|
8
|
-
const n = Object.getOwnPropertyDescriptor(r, t);
|
|
9
|
-
n && Object.defineProperty(e, t, n.get ? n : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => r[t]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var i, s;
|
|
19
|
-
function l() {
|
|
20
|
-
if (s)
|
|
21
|
-
return i;
|
|
22
|
-
s = 1, i = e, e.displayName = "oz", e.aliases = [];
|
|
23
|
-
function e(o) {
|
|
24
|
-
o.languages.oz = {
|
|
25
|
-
comment: {
|
|
26
|
-
pattern: /\/\*[\s\S]*?\*\/|%.*/,
|
|
27
|
-
greedy: !0
|
|
28
|
-
},
|
|
29
|
-
string: {
|
|
30
|
-
pattern: /"(?:[^"\\]|\\[\s\S])*"/,
|
|
31
|
-
greedy: !0
|
|
32
|
-
},
|
|
33
|
-
atom: {
|
|
34
|
-
pattern: /'(?:[^'\\]|\\[\s\S])*'/,
|
|
35
|
-
greedy: !0,
|
|
36
|
-
alias: "builtin"
|
|
37
|
-
},
|
|
38
|
-
keyword: /\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,
|
|
39
|
-
function: [
|
|
40
|
-
/\b[a-z][A-Za-z\d]*(?=\()/,
|
|
41
|
-
{
|
|
42
|
-
pattern: /(\{)[A-Z][A-Za-z\d]*\b/,
|
|
43
|
-
lookbehind: !0
|
|
44
|
-
}
|
|
45
|
-
],
|
|
46
|
-
number: /\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,
|
|
47
|
-
variable: /`(?:[^`\\]|\\.)+`/,
|
|
48
|
-
"attr-name": /\b\w+(?=[ \t]*:(?![:=]))/,
|
|
49
|
-
operator: /:(?:=|::?)|<[-:=]?|=(?:=|<?:?)|>=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,
|
|
50
|
-
punctuation: /[\[\](){}.:;?]/
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
return i;
|
|
54
|
-
}
|
|
55
|
-
var f = l();
|
|
56
|
-
const d = /* @__PURE__ */ u(f), b = /* @__PURE__ */ c({
|
|
57
|
-
__proto__: null,
|
|
58
|
-
default: d
|
|
59
|
-
}, [f]);
|
|
60
|
-
export {
|
|
61
|
-
b as o
|
|
62
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
export interface IPktAccordion {
|
|
4
|
-
className?: string;
|
|
5
|
-
children: ReactNode | ReactNode[];
|
|
6
|
-
/**
|
|
7
|
-
* @default compact: "false"
|
|
8
|
-
*/
|
|
9
|
-
compact?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* @default skin: "borderless"
|
|
12
|
-
*/
|
|
13
|
-
skin?: 'borderless' | 'outlined' | 'beige' | 'blue';
|
|
14
|
-
}
|
|
15
|
-
export declare const PktAccordion: import('react').ForwardRefExoticComponent<IPktAccordion & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @param toggleProps
|
|
5
|
-
*
|
|
6
|
-
* @description Send in an "isOpen" boolean and "onToggleClick" function
|
|
7
|
-
* to override the automatic toggling
|
|
8
|
-
*/
|
|
9
|
-
export interface IPktAccordionToggleProps {
|
|
10
|
-
isOpen: boolean;
|
|
11
|
-
onToggleClick: (e: React.MouseEvent, id: string) => void;
|
|
12
|
-
}
|
|
13
|
-
export interface IPktAccordionItem {
|
|
14
|
-
children?: React.ReactNode | React.ReactNode[];
|
|
15
|
-
className?: string;
|
|
16
|
-
defaultOpen?: boolean;
|
|
17
|
-
id: string;
|
|
18
|
-
title: string | React.ReactNode;
|
|
19
|
-
toggleProps?: IPktAccordionToggleProps;
|
|
20
|
-
}
|
|
21
|
-
export declare const PktAccordionItem: React.ForwardRefExoticComponent<IPktAccordionItem & React.RefAttributes<HTMLDetailsElement>>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
export interface IPktAlert extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
skin?: 'error' | 'success' | 'warning' | 'info';
|
|
5
|
-
closeAlert?: boolean;
|
|
6
|
-
onClose?: () => void;
|
|
7
|
-
title?: string;
|
|
8
|
-
date?: string;
|
|
9
|
-
ariaLive?: 'off' | 'polite' | 'assertive';
|
|
10
|
-
compact?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare const PktAlert: React.ForwardRefExoticComponent<IPktAlert & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
export interface IPktBackLink extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
4
|
-
href?: string;
|
|
5
|
-
text?: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const PktBackLink: React.ForwardRefExoticComponent<IPktBackLink & React.RefAttributes<HTMLAnchorElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
export interface IBreadcrumbs {
|
|
4
|
-
text: string;
|
|
5
|
-
href: string;
|
|
6
|
-
}
|
|
7
|
-
export interface IPktBreadcrumbs extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
8
|
-
breadcrumbs: IBreadcrumbs[];
|
|
9
|
-
navigationType?: 'router' | 'anchor';
|
|
10
|
-
}
|
|
11
|
-
export declare const PktBreadcrumbs: React.ForwardRefExoticComponent<IPktBreadcrumbs & React.RefAttributes<HTMLAnchorElement>>;
|
|
12
|
-
export default PktBreadcrumbs;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
export interface IPktButton extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
4
|
-
iconName?: string;
|
|
5
|
-
secondIconName?: string;
|
|
6
|
-
mode?: 'light' | 'dark';
|
|
7
|
-
size?: 'small' | 'medium' | 'large';
|
|
8
|
-
color?: 'blue' | 'blue-outline' | 'green' | 'green-outline' | 'green-dark' | 'green-dark-outline' | 'beige-light' | 'beige-dark-outline' | 'yellow' | 'yellow-outline' | 'red' | 'red-outline';
|
|
9
|
-
skin?: 'primary' | 'secondary' | 'tertiary';
|
|
10
|
-
variant?: 'label-only' | 'icon-left' | 'icon-right' | 'icon-only' | 'icons-right-and-left';
|
|
11
|
-
state?: 'normal' | 'focus' | 'hover' | 'active';
|
|
12
|
-
type?: 'button' | 'submit' | 'reset';
|
|
13
|
-
isLoading?: boolean;
|
|
14
|
-
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
15
|
-
}
|
|
16
|
-
export declare const PktButton: React.ForwardRefExoticComponent<IPktButton & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
export interface IPktCheckbox extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
4
|
-
id: string;
|
|
5
|
-
hasTile?: boolean;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
label?: string;
|
|
8
|
-
labelPosition?: 'right' | 'left';
|
|
9
|
-
hideLabel?: boolean;
|
|
10
|
-
checkHelptext?: string;
|
|
11
|
-
hasError?: boolean;
|
|
12
|
-
defaultChecked?: boolean;
|
|
13
|
-
isSwitch?: boolean;
|
|
14
|
-
value?: string;
|
|
15
|
-
}
|
|
16
|
-
export declare const PktCheckbox: React.ForwardRefExoticComponent<IPktCheckbox & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
interface Link {
|
|
4
|
-
href: string;
|
|
5
|
-
text: string;
|
|
6
|
-
external?: boolean;
|
|
7
|
-
openInNewTab?: boolean;
|
|
8
|
-
}
|
|
9
|
-
interface Column {
|
|
10
|
-
title: string;
|
|
11
|
-
links?: Link[];
|
|
12
|
-
text?: string;
|
|
13
|
-
}
|
|
14
|
-
interface SocialLink {
|
|
15
|
-
href: string;
|
|
16
|
-
iconName?: string;
|
|
17
|
-
language?: string;
|
|
18
|
-
openInNewTab?: boolean;
|
|
19
|
-
}
|
|
20
|
-
export interface IPktFooter extends React.HTMLAttributes<HTMLDivElement> {
|
|
21
|
-
columnOne: Column;
|
|
22
|
-
columnTwo: Column;
|
|
23
|
-
socialLinks?: SocialLink[];
|
|
24
|
-
personvernOgInfoLink?: string;
|
|
25
|
-
tilgjengelighetLink?: string;
|
|
26
|
-
}
|
|
27
|
-
export declare const PktFooter: React.FC<IPktFooter>;
|
|
28
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
export interface IPktFooterSimple extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
links?: Array<{
|
|
5
|
-
href: string;
|
|
6
|
-
text: string;
|
|
7
|
-
external?: boolean;
|
|
8
|
-
openInNewTab?: boolean;
|
|
9
|
-
}>;
|
|
10
|
-
personvernOgInfoLink?: string;
|
|
11
|
-
tilgjengelighetLink?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const PktFooterSimple: React.FC<IPktFooterSimple>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { default as React, HTMLAttributes } from 'react';
|
|
2
|
-
|
|
3
|
-
export interface User {
|
|
4
|
-
name?: string;
|
|
5
|
-
shortname?: string;
|
|
6
|
-
lastLoggedIn?: string | Date;
|
|
7
|
-
}
|
|
8
|
-
export interface UserMenuItem {
|
|
9
|
-
iconName?: string;
|
|
10
|
-
title: string;
|
|
11
|
-
target: string | (() => void);
|
|
12
|
-
}
|
|
13
|
-
export interface Representing {
|
|
14
|
-
name?: string;
|
|
15
|
-
shortname?: string;
|
|
16
|
-
orgNumber?: string | number;
|
|
17
|
-
}
|
|
18
|
-
export interface UserMenuFooterItem {
|
|
19
|
-
title: string;
|
|
20
|
-
target: string | (() => void);
|
|
21
|
-
}
|
|
22
|
-
export interface IPktHeader extends HTMLAttributes<HTMLDivElement> {
|
|
23
|
-
logoLink?: string | (() => void);
|
|
24
|
-
serviceName?: string;
|
|
25
|
-
fixed?: boolean;
|
|
26
|
-
scrollToHide?: boolean;
|
|
27
|
-
user?: User;
|
|
28
|
-
userMenu?: UserMenuItem[];
|
|
29
|
-
representing?: Representing;
|
|
30
|
-
userOptions?: UserMenuItem[];
|
|
31
|
-
userMenuFooter?: UserMenuFooterItem[];
|
|
32
|
-
canChangeRepresentation?: boolean;
|
|
33
|
-
showMenuButton?: boolean;
|
|
34
|
-
showLogOutButton?: boolean;
|
|
35
|
-
openMenu?: () => void;
|
|
36
|
-
logOut?: () => void;
|
|
37
|
-
changeRepresentation?: () => void;
|
|
38
|
-
children?: React.ReactNode | React.ReactNode[];
|
|
39
|
-
}
|
|
40
|
-
export declare const PktHeader: React.ForwardRefExoticComponent<IPktHeader & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|