@ruck-plugins/it-tools 1.0.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/android-chrome-192x192.png +0 -0
- package/android-chrome-512x512.png +0 -0
- package/apple-touch-icon.png +0 -0
- package/assets/About-3d24c5db.js +1 -0
- package/assets/Alert-94bc8eeb.js +48 -0
- package/assets/Blank-7aaa3138.css +1 -0
- package/assets/Blank-e5d4ac5a.js +1 -0
- package/assets/Button-9402ed37.js +103 -0
- package/assets/Checkbox-cb66f05b.js +105 -0
- package/assets/ColorPicker-d1570289.js +181 -0
- package/assets/Copy-aa880467.js +1 -0
- package/assets/Divider-1a143549.js +42 -0
- package/assets/Form-5afa044a.js +6 -0
- package/assets/FormItem-18450bf0.js +105 -0
- package/assets/FormatTransformer.vue_vue_type_script_setup_true_lang-62b173c1.js +1 -0
- package/assets/Grid-c95ac6a8.js +1 -0
- package/assets/Input-304baede.js +258 -0
- package/assets/InputCopyable.vue_vue_type_script_setup_true_lang-f8def18c.js +1 -0
- package/assets/InputGroup-70edfbd3.js +56 -0
- package/assets/InputGroupLabel-95e6747d.js +29 -0
- package/assets/InputNumber-164670aa.js +7 -0
- package/assets/Remove-0305cd29.js +7 -0
- package/assets/Scrollbar-d11619e0.js +1 -0
- package/assets/Slider-712e01ed.js +158 -0
- package/assets/SpanCopyable.vue_vue_type_script_setup_true_lang-f78211c8.js +1 -0
- package/assets/Statistic-5bf76e73.js +23 -0
- package/assets/Switch-a3478b14.js +102 -0
- package/assets/Table-cd9ff7d0.js +76 -0
- package/assets/Tag-76c06f8d.js +70 -0
- package/assets/TextareaCopyable-a8dad7e2.js +75 -0
- package/assets/TextareaCopyable-e0c396a1.css +1 -0
- package/assets/___vite-browser-external_commonjs-proxy-d22f5c20.js +1 -0
- package/assets/_commonjs-dynamic-modules-302442b1.js +1 -0
- package/assets/abap-b90a1f1e.js +6 -0
- package/assets/apex-7aadd462.js +6 -0
- package/assets/ascii-text-drawer-a9edb471.js +2285 -0
- package/assets/azcli-23a1b956.js +6 -0
- package/assets/base64-6a7151fc.js +1 -0
- package/assets/base64-file-converter-4268e6c2.js +1 -0
- package/assets/base64-file-converter-5ea50f3b.css +1 -0
- package/assets/base64-string-converter-589f021d.js +1 -0
- package/assets/basic-auth-generator-37cad11f.css +1 -0
- package/assets/basic-auth-generator-bdfb1c58.js +1 -0
- package/assets/bat-2c82a72d.js +6 -0
- package/assets/bcrypt-65197846.css +1 -0
- package/assets/bcrypt-ab034048.js +5 -0
- package/assets/benchmark-builder-4d4575bb.js +5 -0
- package/assets/bicep-338bfe58.js +7 -0
- package/assets/bip39-generator-5a73523a.js +8 -0
- package/assets/boolean-c7e7c785.js +1 -0
- package/assets/browser-e933942f.js +8 -0
- package/assets/c-key-value-list.vue_vue_type_script_setup_true_lang-18c0a83d.js +1 -0
- package/assets/cameligo-1c616f6f.js +6 -0
- package/assets/camera-recorder-ed9d6dee.js +1 -0
- package/assets/case-converter-cfa9e2eb.js +1 -0
- package/assets/chmod-calculator-455ac64e.js +1 -0
- package/assets/chmod-calculator-ffe89049.css +1 -0
- package/assets/chronometer-241bfabb.css +1 -0
- package/assets/chronometer-9c01359d.js +1 -0
- package/assets/clojure-9bb82a82.js +6 -0
- package/assets/codicon-8b349ebc.ttf +0 -0
- package/assets/coffee-ec486f98.js +6 -0
- package/assets/color-converter-29caec7b.js +1 -0
- package/assets/color-to-class-b0332f36.js +1 -0
- package/assets/computedRefreshable-c6e973a4.js +1 -0
- package/assets/convert-ae87c221.js +1 -0
- package/assets/cpp-98740ad6.js +6 -0
- package/assets/crontab-generator-8260c5da.css +1 -0
- package/assets/crontab-generator-f23cf7dc.js +8 -0
- package/assets/csharp-d2941385.js +6 -0
- package/assets/csp-aed6305a.js +6 -0
- package/assets/css-a82dd746.js +8 -0
- package/assets/cssMode-5dd2dec6.js +9 -0
- package/assets/cypher-3ffc0570.js +6 -0
- package/assets/dart-68bf5326.js +6 -0
- package/assets/date-time-converter-fadab3da.js +1 -0
- package/assets/defaults-4d6daddf.js +1 -0
- package/assets/demo-wrapper-4d0ee60f.js +1 -0
- package/assets/device-information-8214f0a2.js +1 -0
- package/assets/device-information-8ba000b4.css +1 -0
- package/assets/docker-run-to-docker-compose-converter-d7373897.js +56 -0
- package/assets/dockerfile-c55b64af.js +6 -0
- package/assets/downloadBase64-e611bae8.js +1 -0
- package/assets/ecl-e008be52.js +6 -0
- package/assets/elixir-932a57fd.js +6 -0
- package/assets/email-normalizer-5b25a5bc.js +3 -0
- package/assets/emoji-picker-bf39b72c.js +1 -0
- package/assets/encryption-7e707240.js +1 -0
- package/assets/eta-calculator-06f472f3.js +323 -0
- package/assets/eta-calculator-089582d9.css +1 -0
- package/assets/flow9-d862b93b.js +6 -0
- package/assets/freemarker2-742a84be.js +8 -0
- package/assets/fsharp-f2bb837e.js +6 -0
- package/assets/get-slot-1efb97e5.js +1 -0
- package/assets/git-memo-7be4be4a.js +27 -0
- package/assets/git-memo-8caded2b.css +1 -0
- package/assets/go-b074840c.js +6 -0
- package/assets/graphql-a707cdaa.js +6 -0
- package/assets/handlebars-2b56c30f.js +6 -0
- package/assets/hash-text-999882c4.js +1 -0
- package/assets/hash-text.service-9de4e2c4.js +1 -0
- package/assets/hcl-d4ee186a.js +6 -0
- package/assets/hmac-generator-093872ee.js +1 -0
- package/assets/html-e962b0ce.js +6 -0
- package/assets/html-entities-20010e46.js +1 -0
- package/assets/html-wysiwyg-editor-b5b79779.css +1 -0
- package/assets/html-wysiwyg-editor-dc050e6a.js +143 -0
- package/assets/htmlMode-95ffb1da.js +9 -0
- package/assets/http-status-codes-f542762a.js +1 -0
- package/assets/iban-validator-and-parser-f6ec3d84.js +13 -0
- package/assets/index-01d0fc63.js +1370 -0
- package/assets/index-12c42436.js +22 -0
- package/assets/index-14563ccd.css +1 -0
- package/assets/index-231c3e11.js +14 -0
- package/assets/index-2c6ca995.js +16 -0
- package/assets/index-3aa13386.js +1 -0
- package/assets/index-63220630.js +14 -0
- package/assets/index-8c244bdc.js +1 -0
- package/assets/index-f68143c3.js +11 -0
- package/assets/ini-41c1946f.js +6 -0
- package/assets/integer-base-converter-170a0120.js +1 -0
- package/assets/integer-base-converter-fea045ae.css +1 -0
- package/assets/integer-base-converter.model-834f64a6.js +1 -0
- package/assets/ipv4-address-converter-951dd3a1.js +1 -0
- package/assets/ipv4-address-converter.service-5eca2303.js +1 -0
- package/assets/ipv4-range-expander-77529d33.js +1 -0
- package/assets/ipv4-subnet-calculator-0765b5a3.js +1 -0
- package/assets/ipv6-ula-generator-a227ad1d.js +1 -0
- package/assets/is-browser-fc34c9a6.js +1 -0
- package/assets/java-47f7782f.js +6 -0
- package/assets/javascript-dc831e1c.js +6 -0
- package/assets/json-diff-0c87ccdc.css +1 -0
- package/assets/json-diff-b65e7116.js +1 -0
- package/assets/json-minify-7f8d657a.js +5 -0
- package/assets/json-to-csv-f0a07574.js +2 -0
- package/assets/json-to-toml-13b9d4b1.js +2 -0
- package/assets/json-to-xml-46f59009.js +1 -0
- package/assets/json-to-yaml-cbeb8558.js +1 -0
- package/assets/json-viewer-268bc972.js +1 -0
- package/assets/json-viewer-d387c416.css +1 -0
- package/assets/jsonMode-58ab16e2.js +11 -0
- package/assets/julia-f7e41405.js +6 -0
- package/assets/jwt-parser-2e30b2d6.js +1 -0
- package/assets/jwt-parser-50e53634.css +1 -0
- package/assets/keycode-info-a032e8f4.js +1 -0
- package/assets/kotlin-ae5ef343.js +6 -0
- package/assets/less-1fe8fdbb.js +7 -0
- package/assets/lexon-b30b84ba.js +6 -0
- package/assets/liquid-af26062b.js +6 -0
- package/assets/list-converter-11cbde31.js +3 -0
- package/assets/lorem-ipsum-generator-da85b585.js +5 -0
- package/assets/lua-98fb5662.js +6 -0
- package/assets/m3-bebbe313.js +6 -0
- package/assets/mac-address-generator-234fbe8f.js +2 -0
- package/assets/mac-address-lookup-0694c3ba.js +102348 -0
- package/assets/macAddress-dfb969b0.js +1 -0
- package/assets/markdown-d21a565e.js +6 -0
- package/assets/markdown-to-html-6565adf1.js +16 -0
- package/assets/math-evaluator-286ab429.js +71 -0
- package/assets/mdx-70a3edf4.js +6 -0
- package/assets/meta-tag-generator-4be4cd50.js +53 -0
- package/assets/meta-tag-generator-b150f5ae.css +1 -0
- package/assets/mime-types-b7f86a27.js +1 -0
- package/assets/mips-a6f8cea7.js +6 -0
- package/assets/msdax-b68e245c.js +6 -0
- package/assets/mysql-5b539782.js +6 -0
- package/assets/numeronym-generator-3a497cbe.js +1 -0
- package/assets/objective-c-2b1285e8.js +6 -0
- package/assets/otp-code-generator-and-validator-315dde55.css +1 -0
- package/assets/otp-code-generator-and-validator-6aedd63f.js +166 -0
- package/assets/pascal-4649eefa.js +6 -0
- package/assets/pascaligo-ae9a3940.js +6 -0
- package/assets/password-strength-analyser-0a24e554.js +1 -0
- package/assets/pdf-signature-checker-95d8a436.js +3049 -0
- package/assets/percentage-calculator-9402d8b0.js +1 -0
- package/assets/perl-36ad82fa.js +6 -0
- package/assets/pgsql-e710ca22.js +6 -0
- package/assets/phone-parser-and-formatter-afcb0e67.js +7 -0
- package/assets/php-9f7865da.js +6 -0
- package/assets/pla-54a12d9b.js +6 -0
- package/assets/postiats-7c2e9d70.js +6 -0
- package/assets/powerquery-f1a5c841.js +6 -0
- package/assets/powershell-da6840f5.js +6 -0
- package/assets/prime.worker.min-e367bd53.js +2 -0
- package/assets/protobuf-1aff1783.js +7 -0
- package/assets/public-api-1d5b2fbb.js +134 -0
- package/assets/pug-58d85519.js +6 -0
- package/assets/python-f562a315.js +6 -0
- package/assets/qr-code-generator-ca3ee0d1.js +1 -0
- package/assets/qsharp-3747268d.js +6 -0
- package/assets/queryParams-58db1e7b.js +1 -0
- package/assets/r-3faaa0ed.js +6 -0
- package/assets/random-port-generator-1c387010.css +1 -0
- package/assets/random-port-generator-ad07fddf.js +1 -0
- package/assets/razor-ab3af78d.js +6 -0
- package/assets/redis-e60e99b1.js +6 -0
- package/assets/redshift-9471542a.js +6 -0
- package/assets/regex-memo-677bdef7.css +1 -0
- package/assets/regex-memo-f19e5afd.js +1 -0
- package/assets/regex-tester-3401d417.js +87 -0
- package/assets/restructuredtext-2ed0fd83.js +6 -0
- package/assets/roman-numeral-converter-0e069c84.js +1 -0
- package/assets/roman-numeral-converter-fae8a4be.css +1 -0
- package/assets/rsa-key-pair-generator-90bf1bd4.js +1 -0
- package/assets/ruby-25cf1311.js +6 -0
- package/assets/rust-ed06c9d7.js +6 -0
- package/assets/safelink-decoder-bda49476.js +1 -0
- package/assets/sb-c1c59486.js +6 -0
- package/assets/scala-b8919493.js +6 -0
- package/assets/scheme-03c92c15.js +6 -0
- package/assets/scss-3439df1c.js +8 -0
- package/assets/shell-5561a5b3.js +6 -0
- package/assets/slugify-string-3a9209be.js +1 -0
- package/assets/solidity-d6124224.js +6 -0
- package/assets/sophia-8f79d2a2.js +6 -0
- package/assets/sparql-8602c7d8.js +6 -0
- package/assets/sql-435600dc.js +6 -0
- package/assets/sql-prettify-333609a0.js +21 -0
- package/assets/sql-prettify-e3b0c442.css +0 -0
- package/assets/st-aef311b0.js +6 -0
- package/assets/string-obfuscator-bd8beed1.js +1 -0
- package/assets/svg-placeholder-generator-467d394f.js +6 -0
- package/assets/svg-placeholder-generator-60893440.css +1 -0
- package/assets/swift-9dc68841.js +8 -0
- package/assets/systemverilog-46198f6a.js +6 -0
- package/assets/tcl-cb6e370b.js +6 -0
- package/assets/temperature-converter-d9084f7b.js +1 -0
- package/assets/text-diff-1862df68.css +1 -0
- package/assets/text-diff-4b33871e.js +738 -0
- package/assets/text-statistics-61dbfe91.js +1 -0
- package/assets/text-to-binary-7ba97b8f.js +1 -0
- package/assets/text-to-nato-alphabet-600e4313.js +1 -0
- package/assets/text-to-unicode-abb6c3c7.js +1 -0
- package/assets/token-generator.service-e0fc52bc.js +1 -0
- package/assets/token-generator.tool-412a186d.js +1 -0
- package/assets/token-generator.tool-da0729d3.css +1 -0
- package/assets/toml-esm-9c5f6a1e.js +17 -0
- package/assets/toml-to-json-6024b95e.js +1 -0
- package/assets/toml-to-yaml-cee705ee.js +1 -0
- package/assets/toml.services-387bcfeb.js +1 -0
- package/assets/tsMode-2b8efb49.js +16 -0
- package/assets/twig-2fc36860.js +6 -0
- package/assets/typescript-08d91f25.js +6 -0
- package/assets/ulid-generator-0502ccc9.js +2 -0
- package/assets/url-encoder-db05c372.js +1 -0
- package/assets/url-parser-05963146.css +1 -0
- package/assets/url-parser-e5be6a08.js +1 -0
- package/assets/use-form-item-5820adda.js +1 -0
- package/assets/use-locale-6feb5d00.js +1 -0
- package/assets/useQRCode-9932c610.js +59 -0
- package/assets/user-agent-parser-ecca9baf.js +1 -0
- package/assets/uuid-generator-847e051b.css +1 -0
- package/assets/uuid-generator-85f83e69.js +2 -0
- package/assets/vb-c8fb3e3d.js +6 -0
- package/assets/wgsl-36d9888f.js +303 -0
- package/assets/wifi-qr-code-generator-947e00cf.js +1 -0
- package/assets/workbox-window.prod.es5-a7b12eab.js +2 -0
- package/assets/xml-4047b2d6.js +6 -0
- package/assets/xml-formatter-773be192.js +2 -0
- package/assets/xml-formatter.service-9d7978b3.js +4 -0
- package/assets/xml-to-json-26437f78.js +1 -0
- package/assets/yaml-5e52994c.js +6 -0
- package/assets/yaml-to-json-7b20eabd.js +1 -0
- package/assets/yaml-to-toml-17947e2d.js +2 -0
- package/assets/yaml-viewer-96cfa9ad.js +1 -0
- package/assets/yaml-viewer-dd416632.css +1 -0
- package/banner.png +0 -0
- package/browserconfig.xml +9 -0
- package/favicon-16x16.png +0 -0
- package/favicon-32x32.png +0 -0
- package/favicon.ico +0 -0
- package/humans.txt +4 -0
- package/index.html +54 -0
- package/logo.png +0 -0
- package/manifest.webmanifest +1 -0
- package/mstile-144x144.png +0 -0
- package/mstile-150x150.png +0 -0
- package/mstile-310x150.png +0 -0
- package/mstile-310x310.png +0 -0
- package/mstile-70x70.png +0 -0
- package/package.json +22 -0
- package/plugin.json +1724 -0
- package/robots.txt +2 -0
- package/safari-pinned-tab.svg +6 -0
- package/sw.js +1 -0
- package/workbox-3e8df8c8.js +1 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{d as Q,q as Y,e as Z,G as S,p as z,v as V,y as ee,o as E,b as B,l as w,j as y,z as P,h as A,t as q,X as te,w as j,m as G,ab as ne,A as oe,n as re,a as ae}from"./index-01d0fc63.js";import{c as le}from"./computedRefreshable-c6e973a4.js";import{w as fe}from"./defaults-4d6daddf.js";import{_ as ce}from"./InputNumber-164670aa.js";import"./use-locale-6feb5d00.js";import"./use-form-item-5820adda.js";import"./Input-304baede.js";import"./Button-9402ed37.js";import"./is-browser-fc34c9a6.js";import"./color-to-class-b0332f36.js";import"./Remove-0305cd29.js";let R;const se=new Uint8Array(16);function W(){if(!R&&(R=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!R))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return R(se)}const ue=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function ie(t){return typeof t=="string"&&ue.test(t)}const m=[];for(let t=0;t<256;++t)m.push((t+256).toString(16).slice(1));function T(t,l=0){return(m[t[l+0]]+m[t[l+1]]+m[t[l+2]]+m[t[l+3]]+"-"+m[t[l+4]]+m[t[l+5]]+"-"+m[t[l+6]]+m[t[l+7]]+"-"+m[t[l+8]]+m[t[l+9]]+"-"+m[t[l+10]]+m[t[l+11]]+m[t[l+12]]+m[t[l+13]]+m[t[l+14]]+m[t[l+15]]).toLowerCase()}let O,$,k=0,N=0;function de(t,l,e){let n=l&&e||0;const o=l||new Array(16);t=t||{};let r=t.node||O,a=t.clockseq!==void 0?t.clockseq:$;if(r==null||a==null){const d=t.random||(t.rng||W)();r==null&&(r=O=[d[0]|1,d[1],d[2],d[3],d[4],d[5]]),a==null&&(a=$=(d[6]<<8|d[7])&16383)}let f=t.msecs!==void 0?t.msecs:Date.now(),s=t.nsecs!==void 0?t.nsecs:N+1;const u=f-k+(s-N)/1e4;if(u<0&&t.clockseq===void 0&&(a=a+1&16383),(u<0||f>k)&&t.nsecs===void 0&&(s=0),s>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");k=f,N=s,$=a,f+=122192928e5;const i=((f&268435455)*1e4+s)%4294967296;o[n++]=i>>>24&255,o[n++]=i>>>16&255,o[n++]=i>>>8&255,o[n++]=i&255;const U=f/4294967296*1e4&268435455;o[n++]=U>>>8&255,o[n++]=U&255,o[n++]=U>>>24&15|16,o[n++]=U>>>16&255,o[n++]=a>>>8|128,o[n++]=a&255;for(let d=0;d<6;++d)o[n+d]=r[d];return l||T(o)}function pe(t){if(!ie(t))throw TypeError("Invalid UUID");let l;const e=new Uint8Array(16);return e[0]=(l=parseInt(t.slice(0,8),16))>>>24,e[1]=l>>>16&255,e[2]=l>>>8&255,e[3]=l&255,e[4]=(l=parseInt(t.slice(9,13),16))>>>8,e[5]=l&255,e[6]=(l=parseInt(t.slice(14,18),16))>>>8,e[7]=l&255,e[8]=(l=parseInt(t.slice(19,23),16))>>>8,e[9]=l&255,e[10]=(l=parseInt(t.slice(24,36),16))/1099511627776&255,e[11]=l/4294967296&255,e[12]=l>>>24&255,e[13]=l>>>16&255,e[14]=l>>>8&255,e[15]=l&255,e}function me(t){t=unescape(encodeURIComponent(t));const l=[];for(let e=0;e<t.length;++e)l.push(t.charCodeAt(e));return l}const ge="6ba7b810-9dad-11d1-80b4-00c04fd430c8",he="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function K(t,l,e){function n(o,r,a,f){var s;if(typeof o=="string"&&(o=me(o)),typeof r=="string"&&(r=pe(r)),((s=r)===null||s===void 0?void 0:s.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let u=new Uint8Array(16+o.length);if(u.set(r),u.set(o,r.length),u=e(u),u[6]=u[6]&15|l,u[8]=u[8]&63|128,a){f=f||0;for(let i=0;i<16;++i)a[f+i]=u[i];return a}return T(u)}try{n.name=t}catch{}return n.DNS=ge,n.URL=he,n}function ve(t){if(typeof t=="string"){const l=unescape(encodeURIComponent(t));t=new Uint8Array(l.length);for(let e=0;e<l.length;++e)t[e]=l.charCodeAt(e)}return _e(ye(Ue(t),t.length*8))}function _e(t){const l=[],e=t.length*32,n="0123456789abcdef";for(let o=0;o<e;o+=8){const r=t[o>>5]>>>o%32&255,a=parseInt(n.charAt(r>>>4&15)+n.charAt(r&15),16);l.push(a)}return l}function F(t){return(t+64>>>9<<4)+14+1}function ye(t,l){t[l>>5]|=128<<l%32,t[F(l)-1]=l;let e=1732584193,n=-271733879,o=-1732584194,r=271733878;for(let a=0;a<t.length;a+=16){const f=e,s=n,u=o,i=r;e=g(e,n,o,r,t[a],7,-680876936),r=g(r,e,n,o,t[a+1],12,-389564586),o=g(o,r,e,n,t[a+2],17,606105819),n=g(n,o,r,e,t[a+3],22,-1044525330),e=g(e,n,o,r,t[a+4],7,-176418897),r=g(r,e,n,o,t[a+5],12,1200080426),o=g(o,r,e,n,t[a+6],17,-1473231341),n=g(n,o,r,e,t[a+7],22,-45705983),e=g(e,n,o,r,t[a+8],7,1770035416),r=g(r,e,n,o,t[a+9],12,-1958414417),o=g(o,r,e,n,t[a+10],17,-42063),n=g(n,o,r,e,t[a+11],22,-1990404162),e=g(e,n,o,r,t[a+12],7,1804603682),r=g(r,e,n,o,t[a+13],12,-40341101),o=g(o,r,e,n,t[a+14],17,-1502002290),n=g(n,o,r,e,t[a+15],22,1236535329),e=h(e,n,o,r,t[a+1],5,-165796510),r=h(r,e,n,o,t[a+6],9,-1069501632),o=h(o,r,e,n,t[a+11],14,643717713),n=h(n,o,r,e,t[a],20,-373897302),e=h(e,n,o,r,t[a+5],5,-701558691),r=h(r,e,n,o,t[a+10],9,38016083),o=h(o,r,e,n,t[a+15],14,-660478335),n=h(n,o,r,e,t[a+4],20,-405537848),e=h(e,n,o,r,t[a+9],5,568446438),r=h(r,e,n,o,t[a+14],9,-1019803690),o=h(o,r,e,n,t[a+3],14,-187363961),n=h(n,o,r,e,t[a+8],20,1163531501),e=h(e,n,o,r,t[a+13],5,-1444681467),r=h(r,e,n,o,t[a+2],9,-51403784),o=h(o,r,e,n,t[a+7],14,1735328473),n=h(n,o,r,e,t[a+12],20,-1926607734),e=v(e,n,o,r,t[a+5],4,-378558),r=v(r,e,n,o,t[a+8],11,-2022574463),o=v(o,r,e,n,t[a+11],16,1839030562),n=v(n,o,r,e,t[a+14],23,-35309556),e=v(e,n,o,r,t[a+1],4,-1530992060),r=v(r,e,n,o,t[a+4],11,1272893353),o=v(o,r,e,n,t[a+7],16,-155497632),n=v(n,o,r,e,t[a+10],23,-1094730640),e=v(e,n,o,r,t[a+13],4,681279174),r=v(r,e,n,o,t[a],11,-358537222),o=v(o,r,e,n,t[a+3],16,-722521979),n=v(n,o,r,e,t[a+6],23,76029189),e=v(e,n,o,r,t[a+9],4,-640364487),r=v(r,e,n,o,t[a+12],11,-421815835),o=v(o,r,e,n,t[a+15],16,530742520),n=v(n,o,r,e,t[a+2],23,-995338651),e=_(e,n,o,r,t[a],6,-198630844),r=_(r,e,n,o,t[a+7],10,1126891415),o=_(o,r,e,n,t[a+14],15,-1416354905),n=_(n,o,r,e,t[a+5],21,-57434055),e=_(e,n,o,r,t[a+12],6,1700485571),r=_(r,e,n,o,t[a+3],10,-1894986606),o=_(o,r,e,n,t[a+10],15,-1051523),n=_(n,o,r,e,t[a+1],21,-2054922799),e=_(e,n,o,r,t[a+8],6,1873313359),r=_(r,e,n,o,t[a+15],10,-30611744),o=_(o,r,e,n,t[a+6],15,-1560198380),n=_(n,o,r,e,t[a+13],21,1309151649),e=_(e,n,o,r,t[a+4],6,-145523070),r=_(r,e,n,o,t[a+11],10,-1120210379),o=_(o,r,e,n,t[a+2],15,718787259),n=_(n,o,r,e,t[a+9],21,-343485551),e=I(e,f),n=I(n,s),o=I(o,u),r=I(r,i)}return[e,n,o,r]}function Ue(t){if(t.length===0)return[];const l=t.length*8,e=new Uint32Array(F(l));for(let n=0;n<l;n+=8)e[n>>5]|=(t[n/8]&255)<<n%32;return e}function I(t,l){const e=(t&65535)+(l&65535);return(t>>16)+(l>>16)+(e>>16)<<16|e&65535}function be(t,l){return t<<l|t>>>32-l}function D(t,l,e,n,o,r){return I(be(I(I(l,t),I(n,r)),o),e)}function g(t,l,e,n,o,r,a){return D(l&e|~l&n,t,l,o,r,a)}function h(t,l,e,n,o,r,a){return D(l&n|e&~n,t,l,o,r,a)}function v(t,l,e,n,o,r,a){return D(l^e^n,t,l,o,r,a)}function _(t,l,e,n,o,r,a){return D(e^(l|~n),t,l,o,r,a)}const we=K("v3",48,ve),Ie=we,xe=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),H={randomUUID:xe};function Ae(t,l,e){if(H.randomUUID&&!l&&!t)return H.randomUUID();t=t||{};const n=t.random||(t.rng||W)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,l){e=e||0;for(let o=0;o<16;++o)l[e+o]=n[o];return l}return T(n)}function Re(t,l,e,n){switch(t){case 0:return l&e^~l&n;case 1:return l^e^n;case 2:return l&e^l&n^e&n;case 3:return l^e^n}}function M(t,l){return t<<l|t>>>32-l}function De(t){const l=[1518500249,1859775393,2400959708,3395469782],e=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){const a=unescape(encodeURIComponent(t));t=[];for(let f=0;f<a.length;++f)t.push(a.charCodeAt(f))}else Array.isArray(t)||(t=Array.prototype.slice.call(t));t.push(128);const n=t.length/4+2,o=Math.ceil(n/16),r=new Array(o);for(let a=0;a<o;++a){const f=new Uint32Array(16);for(let s=0;s<16;++s)f[s]=t[a*64+s*4]<<24|t[a*64+s*4+1]<<16|t[a*64+s*4+2]<<8|t[a*64+s*4+3];r[a]=f}r[o-1][14]=(t.length-1)*8/Math.pow(2,32),r[o-1][14]=Math.floor(r[o-1][14]),r[o-1][15]=(t.length-1)*8&4294967295;for(let a=0;a<o;++a){const f=new Uint32Array(80);for(let c=0;c<16;++c)f[c]=r[a][c];for(let c=16;c<80;++c)f[c]=M(f[c-3]^f[c-8]^f[c-14]^f[c-16],1);let s=e[0],u=e[1],i=e[2],U=e[3],d=e[4];for(let c=0;c<80;++c){const p=Math.floor(c/20),x=M(s,5)+Re(p,u,i,U)+d+l[p]+f[c]>>>0;d=U,U=i,i=M(u,30)>>>0,u=s,s=x}e[0]=e[0]+s>>>0,e[1]=e[1]+u>>>0,e[2]=e[2]+i>>>0,e[3]=e[3]+U>>>0,e[4]=e[4]+d>>>0}return[e[0]>>24&255,e[0]>>16&255,e[0]>>8&255,e[0]&255,e[1]>>24&255,e[1]>>16&255,e[1]>>8&255,e[1]&255,e[2]>>24&255,e[2]>>16&255,e[2]>>8&255,e[2]&255,e[3]>>24&255,e[3]>>16&255,e[3]>>8&255,e[3]&255,e[4]>>24&255,e[4]>>16&255,e[4]>>8&255,e[4]&255]}const Ce=K("v5",80,De),qe=Ce,X="00000000-0000-0000-0000-000000000000",$e={"mb-2":"",flex:"","items-center":""},ke={"w-100px":""},Ne={key:0},Me={"flex-1":""},Te={flex:"","justify-center":"","gap-3":""},Le=Q({__name:"uuid-generator",setup(t){const{t:l}=Y(),e=Z(),n=["NIL","v1","v3","v4","v5"],o=e.query.input||e.query.filePath||"",r=S("uuid-generator:version",o?"v5":"v4"),a=S("uuid-generator:quantity",1),f=z({namespace:"6ba7b811-9dad-11d1-80b4-00c04fd430c8",name:o});V(()=>e.query.input,c=>{c&&(r.value="v5",f.value.name=c)}),V(()=>e.query.filePath,c=>{c&&(r.value="v5",f.value.name=c)});const s=[{message:l("tools.uuid-generator.invalidUuid"),validator:c=>c===X?!0:!!c.match(/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/)}],u={NIL:()=>X,v1:c=>de({clockseq:c,msecs:Date.now(),nsecs:Math.floor(Math.random()*1e4),node:Array.from({length:6},()=>Math.floor(Math.random()*256))}),v3:()=>Ie(f.value.name,f.value.namespace),v4:()=>Ae(),v5:()=>qe(f.value.name,f.value.namespace)},[i,U]=le(()=>fe(()=>Array.from({length:a.value},(c,p)=>(u[r.value]??u.NIL)(p)).join(`
|
|
2
|
+
`),"")),{copy:d}=ee({source:i,text:l("tools.uuid-generator.copied")});return(c,p)=>{const x=ne,J=ce,C=oe,L=re;return E(),B("div",null,[w(x,{value:y(r),"onUpdate:value":p[0]||(p[0]=b=>P(r)?r.value=b:null),options:n,label:c.$t("tools.uuid-generator.version"),"label-width":"100px","mb-2":""},null,8,["value","options","label"]),A("div",$e,[A("span",ke,q(c.$t("tools.uuid-generator.quantity")),1),w(J,{value:y(a),"onUpdate:value":p[1]||(p[1]=b=>P(a)?a.value=b:null),"flex-1":"",min:1,max:50,placeholder:c.$t("tools.uuid-generator.quantityPlaceholder")},null,8,["value","placeholder"])]),y(r)==="v3"||y(r)==="v5"?(E(),B("div",Ne,[A("div",null,[w(x,{value:y(f).namespace,"onUpdate:value":p[2]||(p[2]=b=>y(f).namespace=b),options:{DNS:"6ba7b810-9dad-11d1-80b4-00c04fd430c8",URL:"6ba7b811-9dad-11d1-80b4-00c04fd430c8",OID:"6ba7b812-9dad-11d1-80b4-00c04fd430c8",X500:"6ba7b814-9dad-11d1-80b4-00c04fd430c8"},label:c.$t("tools.uuid-generator.namespace"),"label-width":"100px","mb-2":""},null,8,["value","label"])]),A("div",Me,[w(C,{value:y(f).namespace,"onUpdate:value":p[3]||(p[3]=b=>y(f).namespace=b),placeholder:c.$t("tools.uuid-generator.namespacePlaceholder"),"label-width":"100px","label-position":"left",label:" ","validation-rules":s,"mb-2":""},null,8,["value","placeholder"])]),w(C,{value:y(f).name,"onUpdate:value":p[4]||(p[4]=b=>y(f).name=b),placeholder:c.$t("tools.uuid-generator.namePlaceholder"),label:c.$t("tools.uuid-generator.name"),"label-width":"100px","label-position":"left","mb-2":""},null,8,["value","placeholder","label"])])):te("",!0),w(C,{style:{"text-align":"center","font-family":"monospace"},value:y(i),multiline:"",placeholder:c.$t("tools.uuid-generator.uuidsPlaceholder"),autosize:"",rows:"1",readonly:"","raw-text":"",monospace:"","my-3":"",class:"uuid-display"},null,8,["value","placeholder"]),A("div",Te,[w(L,{autofocus:"",onClick:p[5]||(p[5]=b=>y(d)())},{default:j(()=>[G(q(c.$t("tools.uuid-generator.copy")),1)]),_:1}),w(L,{onClick:y(U)},{default:j(()=>[G(q(c.$t("tools.uuid-generator.refresh")),1)]),_:1},8,["onClick"])])])}}});const Ke=ae(Le,[["__scopeId","data-v-c7ec552a"]]);export{Ke as default};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!-----------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Version: 0.43.0(94c055bcbdd49f04a0fa15515e848542a79fb948)
|
|
4
|
+
* Released under the MIT license
|
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
+
*-----------------------------------------------------------------------------*/var e={comments:{lineComment:"'",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"],["addhandler","end addhandler"],["class","end class"],["enum","end enum"],["event","end event"],["function","end function"],["get","end get"],["if","end if"],["interface","end interface"],["module","end module"],["namespace","end namespace"],["operator","end operator"],["property","end property"],["raiseevent","end raiseevent"],["removehandler","end removehandler"],["select","end select"],["set","end set"],["structure","end structure"],["sub","end sub"],["synclock","end synclock"],["try","end try"],["while","end while"],["with","end with"],["using","end using"],["do","loop"],["for","next"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"<",close:">",notIn:["string","comment"]}],folding:{markers:{start:new RegExp("^\\s*#Region\\b"),end:new RegExp("^\\s*#End Region\\b")}}},n={defaultToken:"",tokenPostfix:".vb",ignoreCase:!0,brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.angle",open:"<",close:">"},{token:"keyword.tag-addhandler",open:"addhandler",close:"end addhandler"},{token:"keyword.tag-class",open:"class",close:"end class"},{token:"keyword.tag-enum",open:"enum",close:"end enum"},{token:"keyword.tag-event",open:"event",close:"end event"},{token:"keyword.tag-function",open:"function",close:"end function"},{token:"keyword.tag-get",open:"get",close:"end get"},{token:"keyword.tag-if",open:"if",close:"end if"},{token:"keyword.tag-interface",open:"interface",close:"end interface"},{token:"keyword.tag-module",open:"module",close:"end module"},{token:"keyword.tag-namespace",open:"namespace",close:"end namespace"},{token:"keyword.tag-operator",open:"operator",close:"end operator"},{token:"keyword.tag-property",open:"property",close:"end property"},{token:"keyword.tag-raiseevent",open:"raiseevent",close:"end raiseevent"},{token:"keyword.tag-removehandler",open:"removehandler",close:"end removehandler"},{token:"keyword.tag-select",open:"select",close:"end select"},{token:"keyword.tag-set",open:"set",close:"end set"},{token:"keyword.tag-structure",open:"structure",close:"end structure"},{token:"keyword.tag-sub",open:"sub",close:"end sub"},{token:"keyword.tag-synclock",open:"synclock",close:"end synclock"},{token:"keyword.tag-try",open:"try",close:"end try"},{token:"keyword.tag-while",open:"while",close:"end while"},{token:"keyword.tag-with",open:"with",close:"end with"},{token:"keyword.tag-using",open:"using",close:"end using"},{token:"keyword.tag-do",open:"do",close:"loop"},{token:"keyword.tag-for",open:"for",close:"next"}],keywords:["AddHandler","AddressOf","Alias","And","AndAlso","As","Async","Boolean","ByRef","Byte","ByVal","Call","Case","Catch","CBool","CByte","CChar","CDate","CDbl","CDec","Char","CInt","Class","CLng","CObj","Const","Continue","CSByte","CShort","CSng","CStr","CType","CUInt","CULng","CUShort","Date","Decimal","Declare","Default","Delegate","Dim","DirectCast","Do","Double","Each","Else","ElseIf","End","EndIf","Enum","Erase","Error","Event","Exit","False","Finally","For","Friend","Function","Get","GetType","GetXMLNamespace","Global","GoSub","GoTo","Handles","If","Implements","Imports","In","Inherits","Integer","Interface","Is","IsNot","Let","Lib","Like","Long","Loop","Me","Mod","Module","MustInherit","MustOverride","MyBase","MyClass","NameOf","Namespace","Narrowing","New","Next","Not","Nothing","NotInheritable","NotOverridable","Object","Of","On","Operator","Option","Optional","Or","OrElse","Out","Overloads","Overridable","Overrides","ParamArray","Partial","Private","Property","Protected","Public","RaiseEvent","ReadOnly","ReDim","RemoveHandler","Resume","Return","SByte","Select","Set","Shadows","Shared","Short","Single","Static","Step","Stop","String","Structure","Sub","SyncLock","Then","Throw","To","True","Try","TryCast","TypeOf","UInteger","ULong","UShort","Using","Variant","Wend","When","While","Widening","With","WithEvents","WriteOnly","Xor"],tagwords:["If","Sub","Select","Try","Class","Enum","Function","Get","Interface","Module","Namespace","Operator","Set","Structure","Using","While","With","Do","Loop","For","Next","Property","Continue","AddHandler","RemoveHandler","Event","RaiseEvent","SyncLock"],symbols:/[=><!~?;\.,:&|+\-*\/\^%]+/,integersuffix:/U?[DI%L&S@]?/,floatsuffix:/[R#F!]?/,tokenizer:{root:[{include:"@whitespace"},[/next(?!\w)/,{token:"keyword.tag-for"}],[/loop(?!\w)/,{token:"keyword.tag-do"}],[/end\s+(?!for|do)(addhandler|class|enum|event|function|get|if|interface|module|namespace|operator|property|raiseevent|removehandler|select|set|structure|sub|synclock|try|while|with|using)/,{token:"keyword.tag-$1"}],[/[a-zA-Z_]\w*/,{cases:{"@tagwords":{token:"keyword.tag-$0"},"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/^\s*#\w+/,"keyword"],[/\d*\d+e([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+(e[\-+]?\d+)?(@floatsuffix)/,"number.float"],[/&H[0-9a-f]+(@integersuffix)/,"number.hex"],[/&0[0-7]+(@integersuffix)/,"number.octal"],[/\d+(@integersuffix)/,"number"],[/#.*#/,"number"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/["\u201c\u201d]/,{token:"string.quote",next:"@string"}]],whitespace:[[/[ \t\r\n]+/,""],[/(\'|REM(?!\w)).*$/,"comment"]],string:[[/[^"\u201c\u201d]+/,"string"],[/["\u201c\u201d]{2}/,"string.escape"],[/["\u201c\u201d]C?/,{token:"string.quote",next:"@pop"}]]}};export{e as conf,n as language};
|
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
/*!-----------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Version: 0.43.0(94c055bcbdd49f04a0fa15515e848542a79fb948)
|
|
4
|
+
* Released under the MIT license
|
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
+
*-----------------------------------------------------------------------------*/var g={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"}]};function e(i){let o=[];const a=i.split(/\t+|\r+|\n+| +/);for(let r=0;r<a.length;++r)a[r].length>0&&o.push(a[r]);return o}var s=e("true false"),c=e(`
|
|
7
|
+
alias
|
|
8
|
+
break
|
|
9
|
+
case
|
|
10
|
+
const
|
|
11
|
+
const_assert
|
|
12
|
+
continue
|
|
13
|
+
continuing
|
|
14
|
+
default
|
|
15
|
+
diagnostic
|
|
16
|
+
discard
|
|
17
|
+
else
|
|
18
|
+
enable
|
|
19
|
+
fn
|
|
20
|
+
for
|
|
21
|
+
if
|
|
22
|
+
let
|
|
23
|
+
loop
|
|
24
|
+
override
|
|
25
|
+
requires
|
|
26
|
+
return
|
|
27
|
+
struct
|
|
28
|
+
switch
|
|
29
|
+
var
|
|
30
|
+
while
|
|
31
|
+
`),m=e(`
|
|
32
|
+
NULL
|
|
33
|
+
Self
|
|
34
|
+
abstract
|
|
35
|
+
active
|
|
36
|
+
alignas
|
|
37
|
+
alignof
|
|
38
|
+
as
|
|
39
|
+
asm
|
|
40
|
+
asm_fragment
|
|
41
|
+
async
|
|
42
|
+
attribute
|
|
43
|
+
auto
|
|
44
|
+
await
|
|
45
|
+
become
|
|
46
|
+
binding_array
|
|
47
|
+
cast
|
|
48
|
+
catch
|
|
49
|
+
class
|
|
50
|
+
co_await
|
|
51
|
+
co_return
|
|
52
|
+
co_yield
|
|
53
|
+
coherent
|
|
54
|
+
column_major
|
|
55
|
+
common
|
|
56
|
+
compile
|
|
57
|
+
compile_fragment
|
|
58
|
+
concept
|
|
59
|
+
const_cast
|
|
60
|
+
consteval
|
|
61
|
+
constexpr
|
|
62
|
+
constinit
|
|
63
|
+
crate
|
|
64
|
+
debugger
|
|
65
|
+
decltype
|
|
66
|
+
delete
|
|
67
|
+
demote
|
|
68
|
+
demote_to_helper
|
|
69
|
+
do
|
|
70
|
+
dynamic_cast
|
|
71
|
+
enum
|
|
72
|
+
explicit
|
|
73
|
+
export
|
|
74
|
+
extends
|
|
75
|
+
extern
|
|
76
|
+
external
|
|
77
|
+
fallthrough
|
|
78
|
+
filter
|
|
79
|
+
final
|
|
80
|
+
finally
|
|
81
|
+
friend
|
|
82
|
+
from
|
|
83
|
+
fxgroup
|
|
84
|
+
get
|
|
85
|
+
goto
|
|
86
|
+
groupshared
|
|
87
|
+
highp
|
|
88
|
+
impl
|
|
89
|
+
implements
|
|
90
|
+
import
|
|
91
|
+
inline
|
|
92
|
+
instanceof
|
|
93
|
+
interface
|
|
94
|
+
layout
|
|
95
|
+
lowp
|
|
96
|
+
macro
|
|
97
|
+
macro_rules
|
|
98
|
+
match
|
|
99
|
+
mediump
|
|
100
|
+
meta
|
|
101
|
+
mod
|
|
102
|
+
module
|
|
103
|
+
move
|
|
104
|
+
mut
|
|
105
|
+
mutable
|
|
106
|
+
namespace
|
|
107
|
+
new
|
|
108
|
+
nil
|
|
109
|
+
noexcept
|
|
110
|
+
noinline
|
|
111
|
+
nointerpolation
|
|
112
|
+
noperspective
|
|
113
|
+
null
|
|
114
|
+
nullptr
|
|
115
|
+
of
|
|
116
|
+
operator
|
|
117
|
+
package
|
|
118
|
+
packoffset
|
|
119
|
+
partition
|
|
120
|
+
pass
|
|
121
|
+
patch
|
|
122
|
+
pixelfragment
|
|
123
|
+
precise
|
|
124
|
+
precision
|
|
125
|
+
premerge
|
|
126
|
+
priv
|
|
127
|
+
protected
|
|
128
|
+
pub
|
|
129
|
+
public
|
|
130
|
+
readonly
|
|
131
|
+
ref
|
|
132
|
+
regardless
|
|
133
|
+
register
|
|
134
|
+
reinterpret_cast
|
|
135
|
+
require
|
|
136
|
+
resource
|
|
137
|
+
restrict
|
|
138
|
+
self
|
|
139
|
+
set
|
|
140
|
+
shared
|
|
141
|
+
sizeof
|
|
142
|
+
smooth
|
|
143
|
+
snorm
|
|
144
|
+
static
|
|
145
|
+
static_assert
|
|
146
|
+
static_cast
|
|
147
|
+
std
|
|
148
|
+
subroutine
|
|
149
|
+
super
|
|
150
|
+
target
|
|
151
|
+
template
|
|
152
|
+
this
|
|
153
|
+
thread_local
|
|
154
|
+
throw
|
|
155
|
+
trait
|
|
156
|
+
try
|
|
157
|
+
type
|
|
158
|
+
typedef
|
|
159
|
+
typeid
|
|
160
|
+
typename
|
|
161
|
+
typeof
|
|
162
|
+
union
|
|
163
|
+
unless
|
|
164
|
+
unorm
|
|
165
|
+
unsafe
|
|
166
|
+
unsized
|
|
167
|
+
use
|
|
168
|
+
using
|
|
169
|
+
varying
|
|
170
|
+
virtual
|
|
171
|
+
volatile
|
|
172
|
+
wgsl
|
|
173
|
+
where
|
|
174
|
+
with
|
|
175
|
+
writeonly
|
|
176
|
+
yield
|
|
177
|
+
`),l=e(`
|
|
178
|
+
read write read_write
|
|
179
|
+
function private workgroup uniform storage
|
|
180
|
+
perspective linear flat
|
|
181
|
+
center centroid sample
|
|
182
|
+
vertex_index instance_index position front_facing frag_depth
|
|
183
|
+
local_invocation_id local_invocation_index
|
|
184
|
+
global_invocation_id workgroup_id num_workgroups
|
|
185
|
+
sample_index sample_mask
|
|
186
|
+
rgba8unorm
|
|
187
|
+
rgba8snorm
|
|
188
|
+
rgba8uint
|
|
189
|
+
rgba8sint
|
|
190
|
+
rgba16uint
|
|
191
|
+
rgba16sint
|
|
192
|
+
rgba16float
|
|
193
|
+
r32uint
|
|
194
|
+
r32sint
|
|
195
|
+
r32float
|
|
196
|
+
rg32uint
|
|
197
|
+
rg32sint
|
|
198
|
+
rg32float
|
|
199
|
+
rgba32uint
|
|
200
|
+
rgba32sint
|
|
201
|
+
rgba32float
|
|
202
|
+
bgra8unorm
|
|
203
|
+
`),u=e(`
|
|
204
|
+
bool
|
|
205
|
+
f16
|
|
206
|
+
f32
|
|
207
|
+
i32
|
|
208
|
+
sampler sampler_comparison
|
|
209
|
+
texture_depth_2d
|
|
210
|
+
texture_depth_2d_array
|
|
211
|
+
texture_depth_cube
|
|
212
|
+
texture_depth_cube_array
|
|
213
|
+
texture_depth_multisampled_2d
|
|
214
|
+
texture_external
|
|
215
|
+
texture_external
|
|
216
|
+
u32
|
|
217
|
+
`),p=e(`
|
|
218
|
+
array
|
|
219
|
+
atomic
|
|
220
|
+
mat2x2
|
|
221
|
+
mat2x3
|
|
222
|
+
mat2x4
|
|
223
|
+
mat3x2
|
|
224
|
+
mat3x3
|
|
225
|
+
mat3x4
|
|
226
|
+
mat4x2
|
|
227
|
+
mat4x3
|
|
228
|
+
mat4x4
|
|
229
|
+
ptr
|
|
230
|
+
texture_1d
|
|
231
|
+
texture_2d
|
|
232
|
+
texture_2d_array
|
|
233
|
+
texture_3d
|
|
234
|
+
texture_cube
|
|
235
|
+
texture_cube_array
|
|
236
|
+
texture_multisampled_2d
|
|
237
|
+
texture_storage_1d
|
|
238
|
+
texture_storage_2d
|
|
239
|
+
texture_storage_2d_array
|
|
240
|
+
texture_storage_3d
|
|
241
|
+
vec2
|
|
242
|
+
vec3
|
|
243
|
+
vec4
|
|
244
|
+
`),d=e(`
|
|
245
|
+
vec2i vec3i vec4i
|
|
246
|
+
vec2u vec3u vec4u
|
|
247
|
+
vec2f vec3f vec4f
|
|
248
|
+
vec2h vec3h vec4h
|
|
249
|
+
mat2x2f mat2x3f mat2x4f
|
|
250
|
+
mat3x2f mat3x3f mat3x4f
|
|
251
|
+
mat4x2f mat4x3f mat4x4f
|
|
252
|
+
mat2x2h mat2x3h mat2x4h
|
|
253
|
+
mat3x2h mat3x3h mat3x4h
|
|
254
|
+
mat4x2h mat4x3h mat4x4h
|
|
255
|
+
`),x=e(`
|
|
256
|
+
bitcast all any select arrayLength abs acos acosh asin asinh atan atanh atan2
|
|
257
|
+
ceil clamp cos cosh countLeadingZeros countOneBits countTrailingZeros cross
|
|
258
|
+
degrees determinant distance dot exp exp2 extractBits faceForward firstLeadingBit
|
|
259
|
+
firstTrailingBit floor fma fract frexp inverseBits inverseSqrt ldexp length
|
|
260
|
+
log log2 max min mix modf normalize pow quantizeToF16 radians reflect refract
|
|
261
|
+
reverseBits round saturate sign sin sinh smoothstep sqrt step tan tanh transpose
|
|
262
|
+
trunc dpdx dpdxCoarse dpdxFine dpdy dpdyCoarse dpdyFine fwidth fwidthCoarse fwidthFine
|
|
263
|
+
textureDimensions textureGather textureGatherCompare textureLoad textureNumLayers
|
|
264
|
+
textureNumLevels textureNumSamples textureSample textureSampleBias textureSampleCompare
|
|
265
|
+
textureSampleCompareLevel textureSampleGrad textureSampleLevel textureSampleBaseClampToEdge
|
|
266
|
+
textureStore atomicLoad atomicStore atomicAdd atomicSub atomicMax atomicMin
|
|
267
|
+
atomicAnd atomicOr atomicXor atomicExchange atomicCompareExchangeWeak pack4x8snorm
|
|
268
|
+
pack4x8unorm pack2x16snorm pack2x16unorm pack2x16float unpack4x8snorm unpack4x8unorm
|
|
269
|
+
unpack2x16snorm unpack2x16unorm unpack2x16float storageBarrier workgroupBarrier
|
|
270
|
+
workgroupUniformLoad
|
|
271
|
+
`),f=e(`
|
|
272
|
+
&
|
|
273
|
+
&&
|
|
274
|
+
->
|
|
275
|
+
/
|
|
276
|
+
=
|
|
277
|
+
==
|
|
278
|
+
!=
|
|
279
|
+
>
|
|
280
|
+
>=
|
|
281
|
+
<
|
|
282
|
+
<=
|
|
283
|
+
%
|
|
284
|
+
-
|
|
285
|
+
--
|
|
286
|
+
+
|
|
287
|
+
++
|
|
288
|
+
|
|
|
289
|
+
||
|
|
290
|
+
*
|
|
291
|
+
<<
|
|
292
|
+
>>
|
|
293
|
+
+=
|
|
294
|
+
-=
|
|
295
|
+
*=
|
|
296
|
+
/=
|
|
297
|
+
%=
|
|
298
|
+
&=
|
|
299
|
+
|=
|
|
300
|
+
^=
|
|
301
|
+
>>=
|
|
302
|
+
<<=
|
|
303
|
+
`),_=/enable|requires|diagnostic/,n=/[_\p{XID_Start}]\p{XID_Continue}*/u,t="variable.predefined",h={tokenPostfix:".wgsl",defaultToken:"invalid",unicode:!0,atoms:s,keywords:c,reserved:m,predeclared_enums:l,predeclared_types:u,predeclared_type_generators:p,predeclared_type_aliases:d,predeclared_intrinsics:x,operators:f,symbols:/[!%&*+\-\.\/:;<=>^|_~,]+/,tokenizer:{root:[[_,"keyword","@directive"],[n,{cases:{"@atoms":t,"@keywords":"keyword","@reserved":"invalid","@predeclared_enums":t,"@predeclared_types":t,"@predeclared_type_generators":t,"@predeclared_type_aliases":t,"@predeclared_intrinsics":t,"@default":"identifier"}}],{include:"@commentOrSpace"},{include:"@numbers"},[/[{}()\[\]]/,"@brackets"],["@","annotation","@attribute"],[/@symbols/,{cases:{"@operators":"operator","@default":"delimiter"}}],[/./,"invalid"]],commentOrSpace:[[/\s+/,"white"],[/\/\*/,"comment","@blockComment"],[/\/\/.*$/,"comment"]],blockComment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],attribute:[{include:"@commentOrSpace"},[/\w+/,"annotation","@pop"]],directive:[{include:"@commentOrSpace"},[/[()]/,"@brackets"],[/,/,"delimiter"],[n,"meta.content"],[/;/,"delimiter","@pop"]],numbers:[[/0[fh]/,"number.float"],[/[1-9][0-9]*[fh]/,"number.float"],[/[0-9]*\.[0-9]+([eE][+-]?[0-9]+)?[fh]?/,"number.float"],[/[0-9]+\.[0-9]*([eE][+-]?[0-9]+)?[fh]?/,"number.float"],[/[0-9]+[eE][+-]?[0-9]+[fh]?/,"number.float"],[/0[xX][0-9a-fA-F]*\.[0-9a-fA-F]+(?:[pP][+-]?[0-9]+[fh]?)?/,"number.hex"],[/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*(?:[pP][+-]?[0-9]+[fh]?)?/,"number.hex"],[/0[xX][0-9a-fA-F]+[pP][+-]?[0-9]+[fh]?/,"number.hex"],[/0[xX][0-9a-fA-F]+[iu]?/,"number.hex"],[/[1-9][0-9]*[iu]?/,"number"],[/0[iu]?/,"number"]]}};export{g as conf,h as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p,v as N,ad as s,z as d,d as F,q as H,o as h,c as x,w as P,h as y,l as u,j as e,m as $,t as I,X as q,b as C,Y as K,A as L,n as V,B as z}from"./index-01d0fc63.js";import{b as O}from"./browser-e933942f.js";import{a as R}from"./downloadBase64-e611bae8.js";import{_ as Q}from"./Checkbox-cb66f05b.js";import{_ as j}from"./ColorPicker-d1570289.js";import{_ as G}from"./FormItem-18450bf0.js";import{_ as X}from"./Form-5afa044a.js";import"./index-f68143c3.js";import"./___vite-browser-external_commonjs-proxy-d22f5c20.js";import"./use-form-item-5820adda.js";import"./Input-304baede.js";import"./Button-9402ed37.js";import"./is-browser-fc34c9a6.js";import"./color-to-class-b0332f36.js";import"./use-locale-6feb5d00.js";import"./InputGroup-70edfbd3.js";const Y=["MD5","POTP","GTC","TLS","IKEv2","SIM","AKA","AKA'","TTLS","PWD","LEAP","PSK","FAST","TEAP","EKE","NOOB","PEAP"],J=["None","MSCHAPV2"];function A(v){return v.replace(/([\\;,:"])/g,"\\$1")}function Z(v){const{ssid:o,password:n,encryption:a,eapMethod:r,isHiddenSSID:c,eapAnonymous:f,eapIdentity:m,eapPhase2Method:i}=v;if(!o)return null;if(a==="nopass")return`WIFI:S:${A(o)};;`;if(a!=="WPA2-EAP"&&n)return`WIFI:S:${A(o)};T:${a};P:${A(n)};${c?"H:true":""};`;if(a==="WPA2-EAP"&&n&&r){if(!m&&!f||r==="PEAP"&&!i)return null;const b=f?"A:anon":`I:${A(m)}`,g=i!=="None"?`PH2:${i};`:"";return`WIFI:S:${A(o)};T:WPA2-EAP;P:${A(n)};E:${r};${g}${b};${c?"H:true":""};`}return null}function ee({ssid:v,password:o,eapMethod:n,isHiddenSSID:a,eapAnonymous:r,eapIdentity:c,eapPhase2Method:f,color:{background:m,foreground:i},options:b}){const g=p(""),w=p("WPA");return N([v,o,w,n,a,r,c,f,m,i].filter(d),async()=>{const _=Z({ssid:s(v),password:s(o),encryption:s(w),eapMethod:s(n),isHiddenSSID:s(a),eapAnonymous:s(r),eapIdentity:s(c),eapPhase2Method:s(f)});_&&(g.value=await O.toDataURL(s(_).trim(),{color:{dark:s(i),light:s(m),...b?.color},errorCorrectionLevel:"M",...b}))},{immediate:!0}),{qrcode:g,encryption:w}}const oe={grid:"","grid-cols-1":"","gap-12":""},le={class:"mb-6 flex flex-row items-center gap-2"},te={key:2,class:"mb-6 flex flex-row items-center gap-2"},ne={key:0},ae={flex:"","flex-col":"","items-center":"","gap-3":""},re=["src"],qe=F({__name:"wifi-qr-code-generator",setup(v){const{t:o}=H(),n=p("#000000ff"),a=p("#ffffffff"),r=p(),c=p(),f=p(),m=p(!1),i=p(!1),b=p(),g=p(),{qrcode:w,encryption:_}=ee({ssid:r,password:c,eapMethod:f,isHiddenSSID:m,eapAnonymous:i,eapIdentity:b,eapPhase2Method:g,color:{background:a,foreground:n},options:{width:1024}}),{download:T}=R({source:w,filename:"qr-code.png"});return(ie,t)=>{const k=K,E=L,S=Q,W=j,M=G,U=X,B=V,D=z;return h(),x(D,null,{default:P(()=>[y("div",oe,[y("div",null,[u(k,{value:e(_),"onUpdate:value":t[0]||(t[0]=l=>d(_)?_.value=l:null),"mb-4":"",label:e(o)("tools.wifi-qr-code-generator.encryptionMethod"),"default-value":"WPA","label-position":"left","label-width":"130px","label-align":"right",options:[{label:e(o)("tools.wifi-qr-code-generator.encryption.noPass"),value:"nopass"},{label:e(o)("tools.wifi-qr-code-generator.encryption.wpa"),value:"WPA"},{label:e(o)("tools.wifi-qr-code-generator.encryption.wep"),value:"WEP"},{label:e(o)("tools.wifi-qr-code-generator.encryption.wpa2Eap"),value:"WPA2-EAP"}]},null,8,["value","label","options"]),y("div",le,[u(E,{value:e(r),"onUpdate:value":t[1]||(t[1]=l=>d(r)?r.value=l:null),"label-position":"left","label-width":"130px","label-align":"right",label:e(o)("tools.wifi-qr-code-generator.ssid"),rows:"1",autosize:"",placeholder:e(o)("tools.wifi-qr-code-generator.ssidPlaceholder"),"mb-6":""},null,8,["value","label","placeholder"]),u(S,{checked:e(m),"onUpdate:checked":t[2]||(t[2]=l=>d(m)?m.value=l:null)},{default:P(()=>[$(I(e(o)("tools.wifi-qr-code-generator.hiddenSsid")),1)]),_:1},8,["checked"])]),e(_)!=="nopass"?(h(),x(E,{key:0,value:e(c),"onUpdate:value":t[3]||(t[3]=l=>d(c)?c.value=l:null),"label-position":"left","label-width":"130px","label-align":"right",label:e(o)("tools.wifi-qr-code-generator.password"),rows:"1",autosize:"",type:"password",placeholder:e(o)("tools.wifi-qr-code-generator.passwordPlaceholder"),"mb-6":""},null,8,["value","label","placeholder"])):q("",!0),e(_)==="WPA2-EAP"?(h(),x(k,{key:1,value:e(f),"onUpdate:value":t[4]||(t[4]=l=>d(f)?f.value=l:null),label:e(o)("tools.wifi-qr-code-generator.eapMethod"),"label-position":"left","label-width":"130px","label-align":"right",options:e(Y).map(l=>({label:l,value:l})),searchable:"","mb-4":""},null,8,["value","label","options"])):q("",!0),e(_)==="WPA2-EAP"?(h(),C("div",te,[u(E,{value:e(b),"onUpdate:value":t[5]||(t[5]=l=>d(b)?b.value=l:null),"label-position":"left","label-width":"130px","label-align":"right",label:e(o)("tools.wifi-qr-code-generator.eapIdentity"),rows:"1",autosize:"",placeholder:e(o)("tools.wifi-qr-code-generator.eapIdentityPlaceholder"),"mb-6":""},null,8,["value","label","placeholder"]),u(S,{checked:e(i),"onUpdate:checked":t[6]||(t[6]=l=>d(i)?i.value=l:null)},{default:P(()=>[$(I(e(o)("tools.wifi-qr-code-generator.anonymous")),1)]),_:1},8,["checked"])])):q("",!0),e(_)==="WPA2-EAP"?(h(),x(k,{key:3,value:e(g),"onUpdate:value":t[7]||(t[7]=l=>d(g)?g.value=l:null),label:e(o)("tools.wifi-qr-code-generator.eapPhase2Method"),"label-position":"left","label-width":"130px","label-align":"right",options:e(J).map(l=>({label:l,value:l})),searchable:"","mb-4":""},null,8,["value","label","options"])):q("",!0),u(U,{"label-width":"130","label-placement":"left"},{default:P(()=>[u(M,{label:e(o)("tools.wifi-qr-code-generator.foregroundColor")},{default:P(()=>[u(W,{value:e(n),"onUpdate:value":t[8]||(t[8]=l=>d(n)?n.value=l:null),modes:["hex"]},null,8,["value"])]),_:1},8,["label"]),u(M,{label:e(o)("tools.wifi-qr-code-generator.backgroundColor")},{default:P(()=>[u(W,{value:e(a),"onUpdate:value":t[9]||(t[9]=l=>d(a)?a.value=l:null),modes:["hex"]},null,8,["value"])]),_:1},8,["label"])]),_:1})]),e(w)?(h(),C("div",ne,[y("div",ae,[y("img",{alt:"wifi-qrcode",src:e(w),width:"200"},null,8,re),u(B,{onClick:e(T)},{default:P(()=>[$(I(e(o)("tools.wifi-qr-code-generator.download")),1)]),_:1},8,["onClick"])])])):q("",!0)])]),_:1})}}});export{qe as default};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
try{self["workbox:window:7.0.0"]&&_()}catch{}function S(t,r){return new Promise(function(e){var i=new MessageChannel;i.port1.onmessage=function(f){e(f.data)},t.postMessage(r,[i.port2])})}function W(t,r){for(var e=0;e<r.length;e++){var i=r[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function E(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,i=new Array(r);e<r;e++)i[e]=t[e];return i}function k(t,r){var e;if(typeof Symbol>"u"||t[Symbol.iterator]==null){if(Array.isArray(t)||(e=function(f,d){if(f){if(typeof f=="string")return E(f,d);var h=Object.prototype.toString.call(f).slice(8,-1);return h==="Object"&&f.constructor&&(h=f.constructor.name),h==="Map"||h==="Set"?Array.from(f):h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h)?E(f,d):void 0}}(t))||r&&t&&typeof t.length=="number"){e&&(t=e);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return(e=t[Symbol.iterator]()).next.bind(e)}try{self["workbox:core:7.0.0"]&&_()}catch{}var y=function(){var t=this;this.promise=new Promise(function(r,e){t.resolve=r,t.reject=e})};function b(t,r){var e=location.href;return new URL(t,e).href===new URL(r,e).href}var g=function(t,r){this.type=t,Object.assign(this,r)};function p(t,r,e){return e?r?r(t):t:(t&&t.then||(t=Promise.resolve(t)),r?t.then(r):t)}function L(){}var j={type:"SKIP_WAITING"};function P(t,r){if(!r)return t&&t.then?t.then(L):Promise.resolve()}var x=function(t){var r,e;function i(v,c){var n,o;return c===void 0&&(c={}),(n=t.call(this)||this).nn={},n.tn=0,n.rn=new y,n.en=new y,n.on=new y,n.un=0,n.an=new Set,n.cn=function(){var s=n.fn,a=s.installing;n.tn>0||!b(a.scriptURL,n.sn.toString())||performance.now()>n.un+6e4?(n.vn=a,s.removeEventListener("updatefound",n.cn)):(n.hn=a,n.an.add(a),n.rn.resolve(a)),++n.tn,a.addEventListener("statechange",n.ln)},n.ln=function(s){var a=n.fn,u=s.target,l=u.state,m=u===n.vn,w={sw:u,isExternal:m,originalEvent:s};!m&&n.mn&&(w.isUpdate=!0),n.dispatchEvent(new g(l,w)),l==="installed"?n.wn=self.setTimeout(function(){l==="installed"&&a.waiting===u&&n.dispatchEvent(new g("waiting",w))},200):l==="activating"&&(clearTimeout(n.wn),m||n.en.resolve(u))},n.dn=function(s){var a=n.hn,u=a!==navigator.serviceWorker.controller;n.dispatchEvent(new g("controlling",{isExternal:u,originalEvent:s,sw:a,isUpdate:n.mn})),u||n.on.resolve(a)},n.gn=(o=function(s){var a=s.data,u=s.ports,l=s.source;return p(n.getSW(),function(){n.an.has(l)&&n.dispatchEvent(new g("message",{data:a,originalEvent:s,ports:u,sw:l}))})},function(){for(var s=[],a=0;a<arguments.length;a++)s[a]=arguments[a];try{return Promise.resolve(o.apply(this,s))}catch(u){return Promise.reject(u)}}),n.sn=v,n.nn=c,navigator.serviceWorker.addEventListener("message",n.gn),n}e=t,(r=i).prototype=Object.create(e.prototype),r.prototype.constructor=r,r.__proto__=e;var f,d,h=i.prototype;return h.register=function(v){var c=(v===void 0?{}:v).immediate,n=c!==void 0&&c;try{var o=this;return function(s,a){var u=s();return u&&u.then?u.then(a):a(u)}(function(){if(!n&&document.readyState!=="complete")return P(new Promise(function(s){return window.addEventListener("load",s)}))},function(){return o.mn=!!navigator.serviceWorker.controller,o.yn=o.pn(),p(o.bn(),function(s){o.fn=s,o.yn&&(o.hn=o.yn,o.en.resolve(o.yn),o.on.resolve(o.yn),o.yn.addEventListener("statechange",o.ln,{once:!0}));var a=o.fn.waiting;return a&&b(a.scriptURL,o.sn.toString())&&(o.hn=a,Promise.resolve().then(function(){o.dispatchEvent(new g("waiting",{sw:a,wasWaitingBeforeRegister:!0}))}).then(function(){})),o.hn&&(o.rn.resolve(o.hn),o.an.add(o.hn)),o.fn.addEventListener("updatefound",o.cn),navigator.serviceWorker.addEventListener("controllerchange",o.dn),o.fn})})}catch(s){return Promise.reject(s)}},h.update=function(){try{return this.fn?P(this.fn.update()):void 0}catch(v){return Promise.reject(v)}},h.getSW=function(){return this.hn!==void 0?Promise.resolve(this.hn):this.rn.promise},h.messageSW=function(v){try{return p(this.getSW(),function(c){return S(c,v)})}catch(c){return Promise.reject(c)}},h.messageSkipWaiting=function(){this.fn&&this.fn.waiting&&S(this.fn.waiting,j)},h.pn=function(){var v=navigator.serviceWorker.controller;return v&&b(v.scriptURL,this.sn.toString())?v:void 0},h.bn=function(){try{var v=this;return function(c,n){try{var o=c()}catch(s){return n(s)}return o&&o.then?o.then(void 0,n):o}(function(){return p(navigator.serviceWorker.register(v.sn,v.nn),function(c){return v.un=performance.now(),c})},function(c){throw c})}catch(c){return Promise.reject(c)}},f=i,(d=[{key:"active",get:function(){return this.en.promise}},{key:"controlling",get:function(){return this.on.promise}}])&&W(f.prototype,d),i}(function(){function t(){this.Pn=new Map}var r=t.prototype;return r.addEventListener=function(e,i){this.Sn(e).add(i)},r.removeEventListener=function(e,i){this.Sn(e).delete(i)},r.dispatchEvent=function(e){e.target=this;for(var i,f=k(this.Sn(e.type));!(i=f()).done;)(0,i.value)(e)},r.Sn=function(e){return this.Pn.has(e)||this.Pn.set(e,new Set),this.Pn.get(e)},t}());export{x as Workbox,g as WorkboxEvent,S as messageSW};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{m}from"./text-diff-4b33871e.js";import"./index-01d0fc63.js";/*!-----------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Version: 0.43.0(94c055bcbdd49f04a0fa15515e848542a79fb948)
|
|
4
|
+
* Released under the MIT license
|
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
+
*-----------------------------------------------------------------------------*/var c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,r=(t,e,a,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of p(e))!d.call(t,n)&&n!==a&&c(t,n,{get:()=>e[n],enumerable:!(i=l(e,n))||i.enumerable});return t},s=(t,e,a)=>(r(t,e,"default"),a&&r(a,e,"default")),o={};s(o,m);var k={comments:{blockComment:["<!--","-->"]},brackets:[["<",">"]],autoClosingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],surroundingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],onEnterRules:[{beforeText:new RegExp("<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:o.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:o.languages.IndentAction.Indent}}]},f={defaultToken:"",tokenPostfix:".xml",ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,""],{include:"@whitespace"},[/(<)(@qualifiedName)/,[{token:"delimiter"},{token:"tag",next:"@tag"}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:"delimiter"},{token:"tag"},"",{token:"delimiter"}]],[/(<\?)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/(<\!)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/<\!\[CDATA\[/,{token:"delimiter.cdata",next:"@cdata"}],[/&\w+;/,"string.escape"]],cdata:[[/[^\]]+/,""],[/\]\]>/,{token:"delimiter.cdata",next:"@pop"}],[/\]/,""]],tag:[[/[ \t\r\n]+/,""],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,["attribute.name","","attribute.value"]],[/@qualifiedName/,"attribute.name"],[/\?>/,{token:"delimiter",next:"@pop"}],[/(\/)(>)/,[{token:"tag"},{token:"delimiter",next:"@pop"}]],[/>/,{token:"delimiter",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/<!--/,{token:"comment",next:"@comment"}]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,{token:"comment",next:"@pop"}],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]]}};export{k as conf,f as language};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{_ as v}from"./FormatTransformer.vue_vue_type_script_setup_true_lang-62b173c1.js";import{i as w,f as h}from"./xml-formatter.service-9d7978b3.js";import{d as g,q as C,G as i,f as k,o as y,b as z,h as p,l as e,w as u,j as t,z as f,F as S}from"./index-01d0fc63.js";import{_ as V}from"./Switch-a3478b14.js";import{_ as X}from"./FormItem-18450bf0.js";import{_ as B}from"./InputNumber-164670aa.js";import"./TextareaCopyable-a8dad7e2.js";import"./Copy-aa880467.js";import"./Scrollbar-d11619e0.js";import"./defaults-4d6daddf.js";import"./use-form-item-5820adda.js";import"./use-locale-6feb5d00.js";import"./Input-304baede.js";import"./Button-9402ed37.js";import"./is-browser-fc34c9a6.js";import"./color-to-class-b0332f36.js";import"./Remove-0305cd29.js";const L={"important:flex-full":"","important:flex-shrink-0":"","important:flex-grow-0":""},j={flex:"","justify-center":""},F="<hello><world>foo</world><world>bar</world></hello>",W=g({__name:"xml-formatter",setup(N){const{t:o}=C(),l=i("xml-formatter:indent-size",2),a=i("xml-formatter:collapse-content",!0);function _(m){return h(m,{indentation:" ".repeat(l.value),collapseContent:a.value,lineSeparator:`
|
|
2
|
+
`})}const c=k(()=>[{validator:w,message:o("tools.xml-formatter.invalidXml")}]);return(m,n)=>{const d=V,s=X,x=B,b=v;return y(),z(S,null,[p("div",L,[p("div",j,[e(s,{label:t(o)("tools.xml-formatter.collapseContent"),"label-placement":"left"},{default:u(()=>[e(d,{value:t(a),"onUpdate:value":n[0]||(n[0]=r=>f(a)?a.value=r:null)},null,8,["value"])]),_:1},8,["label"]),e(s,{label:t(o)("tools.xml-formatter.indentSize"),"label-placement":"left","label-width":"100","show-feedback":!1},{default:u(()=>[e(x,{value:t(l),"onUpdate:value":n[1]||(n[1]=r=>f(l)?l.value=r:null),min:"0",max:"10","w-100px":""},null,8,["value"])]),_:1},8,["label"])])]),e(b,{"input-label":t(o)("tools.xml-formatter.inputLabel"),"input-placeholder":t(o)("tools.xml-formatter.inputPlaceholder"),"output-label":t(o)("tools.xml-formatter.outputLabel"),"output-language":"xml","input-validation-rules":t(c),transformer:_,"input-default":F,"copy-label":t(o)("tools.xml-formatter.copyXml")},null,8,["input-label","input-placeholder","output-label","input-validation-rules","copy-label"])],64)}}});export{W as default};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{W as P,bd as v}from"./index-01d0fc63.js";import{w as A}from"./defaults-4d6daddf.js";var T={exports:{}},j={exports:{}};(function(d,u){Object.defineProperty(u,"__esModule",{value:!0}),u.ParsingError=void 0;class g extends Error{constructor(t,i){super(t),this.cause=i}}u.ParsingError=g;let l;function p(){return y(!1)||n()||h()||C()}function f(){return o(/\s*/),y(!0)||h()||b()||E(!1)}function w(){const r=E(!0),t=[];let i,s=f();for(;s;){if(s.node.type==="Element"){if(i)throw new Error("Found multiple root nodes");i=s.node}s.excluded||t.push(s.node),s=f()}if(!i)throw new g("Failed to parse XML","Root Element not found");if(l.xml.length!==0)throw new g("Failed to parse XML","Not Well-Formed XML");return{declaration:r?r.node:null,root:i,children:t}}function E(r){const t=o(r?/^<\?(xml)\s*/:/^<\?([\w-:.]+)\s*/);if(!t)return;const i={name:t[1],type:"ProcessingInstruction",attributes:{}};for(;!(m()||a("?>"));){const s=e();if(s)i.attributes[s.name]=s.value;else return}return o(/\?>/),{excluded:r?!1:l.options.filter(i)===!1,node:i}}function y(r){const t=o(/^<([^?!</>\s]+)\s*/);if(!t)return;const i={type:"Element",name:t[1],attributes:{},children:[]},s=r?!1:l.options.filter(i)===!1;for(;!(m()||a(">")||a("?>")||a("/>"));){const S=e();if(S)i.attributes[S.name]=S.value;else return}if(o(/^\s*\/>/))return i.children=null,{excluded:s,node:i};o(/\??>/);let O=p();for(;O;)O.excluded||i.children.push(O.node),O=p();return o(/^<\/\s*[\w-:.\u00C0-\u00FF]+>/),{excluded:s,node:i}}function b(){const r=o(/^<!DOCTYPE\s+[^>]*>/);if(r){const t={type:"DocumentType",content:r[0]};return{excluded:l.options.filter(t)===!1,node:t}}}function C(){if(l.xml.startsWith("<![CDATA[")){const r=l.xml.indexOf("]]>");if(r>-1){const t=r+3,i={type:"CDATA",content:l.xml.substring(0,t)};return l.xml=l.xml.slice(t),{excluded:l.options.filter(i)===!1,node:i}}}}function h(){const r=o(/^<!--[\s\S]*?-->/);if(r){const t={type:"Comment",content:r[0]};return{excluded:l.options.filter(t)===!1,node:t}}}function n(){const r=o(/^([^<]+)/);if(r){const t={type:"Text",content:r[1]};return{excluded:l.options.filter(t)===!1,node:t}}}function e(){const r=o(/([^=]+)\s*=\s*("[^"]*"|'[^']*'|[^>\s]+)\s*/);if(r)return{name:r[1].trim(),value:c(r[2].trim())}}function c(r){return r.replace(/^['"]|['"]$/g,"")}function o(r){const t=l.xml.match(r);if(t)return l.xml=l.xml.slice(t[0].length),t}function m(){return l.xml.length===0}function a(r){return l.xml.indexOf(r)===0}function x(r,t={}){r=r.trim();const i=t.filter||(()=>!0);return l={xml:r,options:Object.assign(Object.assign({},t),{filter:i})},w()}d.exports=x,u.default=x})(j,j.exports);var X=j.exports;(function(d,u){var g=v&&v.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(u,"__esModule",{value:!0});const l=g(X);function p(n){if(!n.options.indentation&&!n.options.lineSeparator)return;n.content+=n.options.lineSeparator;let e;for(e=0;e<n.level;e++)n.content+=n.options.indentation}function f(n,e){n.content+=e}function w(n,e,c){if(typeof n.content=="string")E(n.content,e,c);else if(n.type==="Element")y(n,e,c);else if(n.type==="ProcessingInstruction")C(n,e);else throw new Error("Unknown node type: "+n.type)}function E(n,e,c){if(!c){const o=n.trim();(e.options.lineSeparator||o.length===0)&&(n=o)}n.length>0&&(!c&&e.content.length>0&&p(e),f(e,n))}function y(n,e,c){if(!c&&e.content.length>0&&p(e),f(e,"<"+n.name),b(e,n.attributes),n.children===null){const o=e.options.whiteSpaceAtEndOfSelfclosingTag?" />":"/>";f(e,o)}else if(n.children.length===0)f(e,"></"+n.name+">");else{const o=n.children;f(e,">"),e.level++;let m=n.attributes["xml:space"]==="preserve";if(!m&&e.options.collapseContent){let a=!1,x=!1,r=!1;o.forEach(function(t,i){t.type==="Text"?(t.content.includes(`
|
|
2
|
+
`)?(x=!0,t.content=t.content.trim()):(i===0||i===o.length-1)&&t.content.trim().length===0&&(t.content=""),t.content.trim().length>0&&(a=!0)):t.type==="CDATA"?a=!0:r=!0}),a&&(!r||!x)&&(m=!0)}o.forEach(function(a){w(a,e,c||m)}),e.level--,!c&&!m&&p(e),f(e,"</"+n.name+">")}}function b(n,e){Object.keys(e).forEach(function(c){const o=e[c].replace(/"/g,""");f(n," "+c+'="'+o+'"')})}function C(n,e){e.content.length>0&&p(e),f(e,"<?"+n.name),b(e,n.attributes),f(e,"?>")}function h(n,e={}){e.indentation="indentation"in e?e.indentation:" ",e.collapseContent=e.collapseContent===!0,e.lineSeparator="lineSeparator"in e?e.lineSeparator:`\r
|
|
3
|
+
`,e.whiteSpaceAtEndOfSelfclosingTag=e.whiteSpaceAtEndOfSelfclosingTag===!0,e.throwOnFailure=e.throwOnFailure!==!1;try{const c=(0,l.default)(n,{filter:e.filter}),o={content:"",level:0,options:e};return c.declaration&&C(c.declaration,o),c.children.forEach(function(m){w(m,o,!1)}),e.lineSeparator?o.content.replace(/\r\n/g,`
|
|
4
|
+
`).replace(/\n/g,e.lineSeparator):o.content}catch(c){if(e.throwOnFailure)throw c;return n}}h.minify=(n,e={})=>h(n,Object.assign(Object.assign({},e),{indentation:"",lineSeparator:""})),d.exports=h,u.default=h})(T,T.exports);var D=T.exports;const _=P(D);function F(d){return d.trim()}function L(d,u){return A(()=>_(F(d),u)??"","")}function R(d){const u=F(d);if(u==="")return!0;try{return _(u),!0}catch{return!1}}export{L as f,R as i};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as r}from"./FormatTransformer.vue_vue_type_script_setup_true_lang-62b173c1.js";import{c as s}from"./index-2c6ca995.js";import{i as u}from"./xml-formatter.service-9d7978b3.js";import{w as p}from"./defaults-4d6daddf.js";import{d as m,q as i,f as c,o as f,c as d,j as t}from"./index-01d0fc63.js";import"./TextareaCopyable-a8dad7e2.js";import"./Copy-aa880467.js";import"./Scrollbar-d11619e0.js";import"./index-3aa13386.js";const _=`<a x="1.234" y="It's"/>`,w=m({__name:"xml-to-json",setup(x){const{t:o}=i();function n(l){return p(()=>JSON.stringify(s.xml2js(l,{compact:!0}),null,2),"")}const a=c(()=>[{validator:u,message:o("tools.xml-to-json.invalidXml")}]);return(l,j)=>{const e=r;return f(),d(e,{"input-label":t(o)("tools.xml-to-json.xmlInputLabel"),"input-default":_,"input-placeholder":t(o)("tools.xml-to-json.xmlInputPlaceholder"),"output-label":t(o)("tools.xml-to-json.jsonOutputLabel"),"output-language":"json",transformer:n,"input-validation-rules":t(a),"copy-label":t(o)("tools.xml-to-json.copyJson")},null,8,["input-label","input-placeholder","output-label","input-validation-rules","copy-label"])}}});export{w as default};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{m as i}from"./text-diff-4b33871e.js";import"./index-01d0fc63.js";/*!-----------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Version: 0.43.0(94c055bcbdd49f04a0fa15515e848542a79fb948)
|
|
4
|
+
* Released under the MIT license
|
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
+
*-----------------------------------------------------------------------------*/var c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,a=(n,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of s(e))!d.call(n,t)&&t!==r&&c(n,t,{get:()=>e[t],enumerable:!(o=u(e,t))||o.enumerable});return n},m=(n,e,r)=>(a(n,e,"default"),r&&a(r,e,"default")),l={};m(l,i);var f={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!0},onEnterRules:[{beforeText:/:\s*$/,action:{indentAction:l.languages.IndentAction.Indent}}]},g={tokenPostfix:".yaml",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["true","True","TRUE","false","False","FALSE","null","Null","Null","~"],numberInteger:/(?:0|[+-]?[0-9]+)/,numberFloat:/(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,numberOctal:/0o[0-7]+/,numberHex:/0x[0-9a-fA-F]+/,numberInfinity:/[+-]?\.(?:inf|Inf|INF)/,numberNaN:/\.(?:nan|Nan|NAN)/,numberDate:/\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,escapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/%[^ ]+.*$/,"meta.directive"],[/---/,"operators.directivesEnd"],[/\.{3}/,"operators.documentEnd"],[/[-?:](?= )/,"operators"],{include:"@anchor"},{include:"@tagHandle"},{include:"@flowCollections"},{include:"@blockStyle"},[/@numberInteger(?![ \t]*\S+)/,"number"],[/@numberFloat(?![ \t]*\S+)/,"number.float"],[/@numberOctal(?![ \t]*\S+)/,"number.octal"],[/@numberHex(?![ \t]*\S+)/,"number.hex"],[/@numberInfinity(?![ \t]*\S+)/,"number.infinity"],[/@numberNaN(?![ \t]*\S+)/,"number.nan"],[/@numberDate(?![ \t]*\S+)/,"number.date"],[/(".*?"|'.*?'|[^#'"]*?)([ \t]*)(:)( |$)/,["type","white","operators","white"]],{include:"@flowScalars"},[/.+?(?=(\s+#|$))/,{cases:{"@keywords":"keyword","@default":"string"}}]],object:[{include:"@whitespace"},{include:"@comment"},[/\}/,"@brackets","@pop"],[/,/,"delimiter.comma"],[/:(?= )/,"operators"],[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/,"type"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\},]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],array:[{include:"@whitespace"},{include:"@comment"},[/\]/,"@brackets","@pop"],[/,/,"delimiter.comma"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\],]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],multiString:[[/^( +).+$/,"string","@multiStringContinued.$1"]],multiStringContinued:[[/^( *).+$/,{cases:{"$1==$S2":"string","@default":{token:"@rematch",next:"@popall"}}}]],whitespace:[[/[ \t\r\n]+/,"white"]],comment:[[/#.*$/,"comment"]],flowCollections:[[/\[/,"@brackets","@array"],[/\{/,"@brackets","@object"]],flowScalars:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'[^']*'/,"string"],[/"/,"string","@doubleQuotedString"]],doubleQuotedString:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],blockStyle:[[/[>|][0-9]*[+-]?$/,"operators","@multiString"]],flowNumber:[[/@numberInteger(?=[ \t]*[,\]\}])/,"number"],[/@numberFloat(?=[ \t]*[,\]\}])/,"number.float"],[/@numberOctal(?=[ \t]*[,\]\}])/,"number.octal"],[/@numberHex(?=[ \t]*[,\]\}])/,"number.hex"],[/@numberInfinity(?=[ \t]*[,\]\}])/,"number.infinity"],[/@numberNaN(?=[ \t]*[,\]\}])/,"number.nan"],[/@numberDate(?=[ \t]*[,\]\}])/,"number.date"]],tagHandle:[[/\![^ ]*/,"tag"]],anchor:[[/[&*][^ ]+/,"namespace"]]}};export{f as conf,g as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as p}from"./FormatTransformer.vue_vue_type_script_setup_true_lang-62b173c1.js";import{p as n}from"./public-api-1d5b2fbb.js";import{i as u}from"./boolean-c7e7c785.js";import{w as m}from"./defaults-4d6daddf.js";import{d as i,q as c,f,o as _,c as y,j as t}from"./index-01d0fc63.js";import"./TextareaCopyable-a8dad7e2.js";import"./Copy-aa880467.js";import"./Scrollbar-d11619e0.js";const k=i({__name:"yaml-to-json",setup(d){const{t:o}=c();function a(r){return m(()=>{const e=n(r,{merge:!0});return e?JSON.stringify(e,null,3):""},"")}const l=f(()=>[{validator:r=>u(()=>n(r)),message:o("tools.yaml-to-json-converter.invalidYaml")}]);return(r,e)=>{const s=p;return _(),y(s,{"input-label":t(o)("tools.yaml-to-json-converter.yamlInputLabel"),"input-placeholder":t(o)("tools.yaml-to-json-converter.yamlInputPlaceholder"),"output-label":t(o)("tools.yaml-to-json-converter.jsonOutputLabel"),"output-language":"json","input-validation-rules":t(l),transformer:a,"copy-label":t(o)("tools.yaml-to-json-converter.copyJson")},null,8,["input-label","input-placeholder","output-label","input-validation-rules","copy-label"])}}});export{k as default};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{_ as s}from"./FormatTransformer.vue_vue_type_script_setup_true_lang-62b173c1.js";import{s as p}from"./toml-esm-9c5f6a1e.js";import{p as a}from"./public-api-1d5b2fbb.js";import{w as i}from"./defaults-4d6daddf.js";import{d as u,q as c,f,o as _,c as y,j as l}from"./index-01d0fc63.js";import"./TextareaCopyable-a8dad7e2.js";import"./Copy-aa880467.js";import"./Scrollbar-d11619e0.js";const x=u({__name:"yaml-to-toml",setup(d){const{t}=c(),m=o=>[p(a(o))].flat().join(`
|
|
2
|
+
`).trim(),r=o=>o.trim()===""?"":i(()=>m(o),""),e=f(()=>[{validator:o=>o===""||a(o),message:t("tools.yaml-to-toml.invalidYaml")}]);return(o,b)=>{const n=s;return _(),y(n,{"input-label":l(t)("tools.yaml-to-toml.yamlInputLabel"),"input-placeholder":l(t)("tools.yaml-to-toml.yamlInputPlaceholder"),"output-label":l(t)("tools.yaml-to-toml.tomlOutputLabel"),"output-language":"toml","input-validation-rules":l(e),transformer:r,"copy-label":l(t)("tools.yaml-to-toml.copyToml")},null,8,["input-label","input-placeholder","output-label","input-validation-rules","copy-label"])}}});export{x as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ad as c,d as x,q as A,p as M,G as _,f as S,s as L,o as k,b as C,h as w,l as t,w as p,j as e,z as f,F as E,A as P,a as z}from"./index-01d0fc63.js";import{A as D,c as V,C as j,D as q,L as T,a as B,P as N,b as O,S as U,d as F,Y as I,e as K,f as G,g as R,h as W,i as H,j as J,k as Q,l as X,m as Z,n as $,o as ee,q as ae,p as te,r as se,t as le,s as oe,v as ne,u as re}from"./public-api-1d5b2fbb.js";import{w as ie}from"./defaults-4d6daddf.js";import{T as me}from"./TextareaCopyable-a8dad7e2.js";import{_ as pe}from"./Switch-a3478b14.js";import{_ as ue}from"./FormItem-18450bf0.js";import{_ as ce}from"./InputNumber-164670aa.js";import"./Copy-aa880467.js";import"./Scrollbar-d11619e0.js";import"./use-form-item-5820adda.js";import"./use-locale-6feb5d00.js";import"./Input-304baede.js";import"./Button-9402ed37.js";import"./is-browser-fc34c9a6.js";import"./color-to-class-b0332f36.js";import"./Remove-0305cd29.js";const d=Object.freeze(Object.defineProperty({__proto__:null,Alias:D,CST:V,Composer:j,Document:q,Lexer:T,LineCounter:B,Pair:N,Parser:O,Scalar:U,Schema:F,YAMLError:I,YAMLMap:K,YAMLParseError:G,YAMLSeq:R,YAMLWarning:W,isAlias:H,isCollection:J,isDocument:Q,isMap:X,isNode:Z,isPair:$,isScalar:ee,isSeq:ae,parse:te,parseAllDocuments:se,parseDocument:le,stringify:oe,visit:ne,visitAsync:re},Symbol.toStringTag,{value:"Module"}));function _e({rawYaml:v,sortKeys:a=!1,indentSize:r=2}){const s=d.parse(c(v));return d.stringify(s,{sortMapEntries:c(a),indent:c(r)})}const fe={style:{flex:"0 0 100%"}},de={style:{margin:"0 auto","max-width":"600px"},flex:"","justify-center":"","gap-3":""},ve=x({__name:"yaml-viewer",setup(v){const{t:a}=A(),r=M(),s=_("yaml-prettify:raw-yaml",""),o=_("yaml-prettify:indent-size",2),i=_("yaml-prettify:sort-keys",!1),b=S(()=>ie(()=>_e({rawYaml:s,indentSize:o,sortKeys:i}),"")),y=L({source:s,rules:[{validator:u=>u===""||d.parse(u),message:a("tools.yaml-viewer.invalidYaml")}]});return(u,l)=>{const g=pe,m=ue,Y=ce,h=P;return k(),C(E,null,[w("div",fe,[w("div",de,[t(m,{label:e(a)("tools.yaml-viewer.sortKeys"),"label-placement":"left","label-width":"100"},{default:p(()=>[t(g,{value:e(i),"onUpdate:value":l[0]||(l[0]=n=>f(i)?i.value=n:null)},null,8,["value"])]),_:1},8,["label"]),t(m,{label:e(a)("tools.yaml-viewer.indentSize"),"label-placement":"left","label-width":"100","show-feedback":!1},{default:p(()=>[t(Y,{value:e(o),"onUpdate:value":l[1]||(l[1]=n=>f(o)?o.value=n:null),min:"1",max:"10",style:{width:"100px"}},null,8,["value"])]),_:1},8,["label"])])]),t(m,{label:e(a)("tools.yaml-viewer.rawYaml"),feedback:e(y).message,"validation-status":e(y).status},{default:p(()=>[t(h,{ref_key:"inputElement",ref:r,value:e(s),"onUpdate:value":l[2]||(l[2]=n=>f(s)?s.value=n:null),placeholder:e(a)("tools.yaml-viewer.rawYamlPlaceholder"),rows:"20",multiline:"",autocomplete:"off",autocorrect:"off",autocapitalize:"off",spellcheck:"false",monospace:""},null,8,["value","placeholder"])]),_:1},8,["label","feedback","validation-status"]),t(m,{label:e(a)("tools.yaml-viewer.prettifiedYaml")},{default:p(()=>[t(me,{value:e(b),language:"yaml","follow-height-of":e(r)},null,8,["value","follow-height-of"])]),_:1},8,["label"])],64)}}});const De=z(ve,[["__scopeId","data-v-d1722f86"]]);export{De as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.result-card[data-v-d1722f86]{position:relative}.result-card .copy-button[data-v-d1722f86]{position:absolute;top:10px;right:10px}
|
package/banner.png
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/favicon.ico
ADDED
|
Binary file
|
package/humans.txt
ADDED
package/index.html
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="zh">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<link rel="icon" href="favicon.ico" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
+
<title>IT Tools - Handy online tools for developers</title>
|
|
8
|
+
<meta itemprop="name" content="IT Tools - Handy online tools for developers" />
|
|
9
|
+
<meta
|
|
10
|
+
name="description"
|
|
11
|
+
content="Collection of handy online tools for developers, with great UX. IT Tools is a free and open-source collection of handy online tools for developers & people working in IT."
|
|
12
|
+
/>
|
|
13
|
+
<meta
|
|
14
|
+
itemprop="description"
|
|
15
|
+
content="Collection of handy online tools for developers, with great UX. IT Tools is a free and open-source collection of handy online tools for developers & people working in IT."
|
|
16
|
+
/>
|
|
17
|
+
<link rel="author" href="humans.txt" />
|
|
18
|
+
<link rel="canonical" href="https://it-tools.tech" />
|
|
19
|
+
|
|
20
|
+
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png" />
|
|
21
|
+
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png" />
|
|
22
|
+
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png" />
|
|
23
|
+
<link rel="mask-icon" href="safari-pinned-tab.svg" color="#18a058" />
|
|
24
|
+
<meta name="msapplication-TileColor" content="#da532c" />
|
|
25
|
+
<meta name="theme-color" content="#ffffff" />
|
|
26
|
+
|
|
27
|
+
<meta property="og:url" content="https://it-tools.tech/" />
|
|
28
|
+
<meta property="og:type" content="website" />
|
|
29
|
+
<meta property="og:title" content="IT Tools - Handy online tools for developers" />
|
|
30
|
+
<meta
|
|
31
|
+
property="og:description"
|
|
32
|
+
content="Collection of handy online tools for developers, with great UX. IT Tools is a free and open-source collection of handy online tools for developers & people working in IT."
|
|
33
|
+
/>
|
|
34
|
+
<meta property="og:image" content="https://it-tools.tech/banner.png?v=2" />
|
|
35
|
+
|
|
36
|
+
<meta name="twitter:card" content="summary_large_image" />
|
|
37
|
+
<meta name="twitter:site" content="@ittoolsdottech" />
|
|
38
|
+
<meta name="twitter:creator" content="@cthmsst" />
|
|
39
|
+
|
|
40
|
+
<meta name="twitter:title" content="IT Tools - Handy online tools for developers" />
|
|
41
|
+
<meta
|
|
42
|
+
name="twitter:description"
|
|
43
|
+
content="Collection of handy online tools for developers, with great UX. IT Tools is a free and open-source collection of handy online tools for developers & people working in IT."
|
|
44
|
+
/>
|
|
45
|
+
<meta name="twitter:image" content="https://it-tools.tech/banner.png?v=2" />
|
|
46
|
+
<meta name="twitter:image:alt" content="IT Tools - Handy online tools for developers" />
|
|
47
|
+
<script type="module" crossorigin src="/assets/index-01d0fc63.js"></script>
|
|
48
|
+
<link rel="stylesheet" href="/assets/index-14563ccd.css">
|
|
49
|
+
<link rel="manifest" href="/manifest.webmanifest"></head>
|
|
50
|
+
<body>
|
|
51
|
+
<div id="app"></div>
|
|
52
|
+
|
|
53
|
+
</body>
|
|
54
|
+
</html>
|
package/logo.png
ADDED
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"IT Tools","short_name":"@ruck-plugins/it-tools","start_url":"/?utm_source=pwa&utm_medium=pwa","display":"standalone","background_color":"#f1f5f9","lang":"fr-FR","scope":"/","description":"Aggregated set of useful tools for developers.","orientation":"any","theme_color":"#18a058","icons":[{"src":"/favicon-16x16.png","type":"image/png","sizes":"16x16"},{"src":"/favicon-32x32.png","type":"image/png","sizes":"32x32"},{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png","purpose":"any maskable"}]}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/mstile-70x70.png
ADDED
|
Binary file
|
package/package.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ruck-plugins/it-tools",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Collection of handy online tools for developers, with great UX. ",
|
|
5
|
+
"author": "JIAHE <xjz.jiahe@gmail.com> (https://github.com/iamxiaojianzheng)",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/iamxiaojianzheng/it-tools"
|
|
10
|
+
},
|
|
11
|
+
"keywords": [
|
|
12
|
+
"productivity",
|
|
13
|
+
"converter",
|
|
14
|
+
"website",
|
|
15
|
+
"vuejs",
|
|
16
|
+
"tools",
|
|
17
|
+
"frontend",
|
|
18
|
+
"tool",
|
|
19
|
+
"developer-tools",
|
|
20
|
+
"developer-productivity"
|
|
21
|
+
]
|
|
22
|
+
}
|