@directus/app 9.4.3 → 9.5.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/dist/assets/@directus_extensions-sdk.f1e1c1f8.entry.js +1 -0
- package/dist/assets/{active-line.22013884.js → active-line.116e8a0f.js} +1 -1
- package/dist/assets/{activity-log.af2187b5.js → activity-log.809685f3.js} +1 -1
- package/dist/assets/{activity.5af6d744.js → activity.21011780.js} +4 -4
- package/dist/assets/af-ZA.71af2276.js +1 -0
- package/dist/assets/{apl.f599031b.js → apl.5ef647d4.js} +1 -1
- package/dist/assets/ar-SA.ea40e3a9.js +1 -0
- package/dist/assets/{asciiarmor.1703e99a.js → asciiarmor.99affac2.js} +1 -1
- package/dist/assets/{asn.1.8a538328.js → asn.1.23fb8a38.js} +1 -1
- package/dist/assets/{asterisk.82ffd83a.js → asterisk.5dd5867e.js} +1 -1
- package/dist/assets/{authentication.9ee1c47e.js → authentication.ad0509db.js} +4 -4
- package/dist/assets/{autorefresh.2be203c7.js → autorefresh.4de3a6ca.js} +1 -1
- package/dist/assets/{aws.ea2de58d.js → aws.8982a19c.js} +1 -1
- package/dist/assets/{backing-directus.70bbd89b.js → backing-directus.fd9c0b9e.js} +1 -1
- package/dist/assets/bg-BG.280f817c.js +2 -0
- package/dist/assets/br-FR.6a75d7c1.js +1 -0
- package/dist/assets/{brainfuck.8061bd49.js → brainfuck.bc87fd47.js} +1 -1
- package/dist/assets/ca-ES.e335da6d.js +1 -0
- package/dist/assets/{cli.d1c8ad6e.js → cli.bd4ff238.js} +2 -2
- package/dist/assets/{cli.46151509.js → cli.e6034ea9.js} +12 -12
- package/dist/assets/{clike.131147f5.js → clike.6c2d1b48.js} +1 -1
- package/dist/assets/{clojure.00c0cf4e.js → clojure.1ce4fa8e.js} +1 -1
- package/dist/assets/{cloudron.6816537c.js → cloudron.f44c1f67.js} +1 -1
- package/dist/assets/{cmake.7eecbce2.js → cmake.eaf1d3a6.js} +1 -1
- package/dist/assets/{cobol.4cfeeece.js → cobol.c31c9527.js} +1 -1
- package/dist/assets/{codebase-overview.5d015d35.js → codebase-overview.a3da6d8b.js} +1 -1
- package/dist/assets/{coffeescript.0694e631.js → coffeescript.b4b599ef.js} +1 -1
- package/dist/assets/{collections.8a084785.js → collections.a881ee76.js} +3 -3
- package/dist/assets/{commonlisp.fa8ad0d0.js → commonlisp.7ddac9a9.js} +1 -1
- package/dist/assets/{config-options.64b9d37b.js → config-options.fcabecb0.js} +15 -15
- package/dist/assets/content-collections.c0245556.js +1 -0
- package/dist/assets/{content-items.eeee337a.js → content-items.5f6c8054.js} +1 -1
- package/dist/assets/{content.01dfa0d8.js → content.c7aafb97.js} +1 -1
- package/dist/assets/{creating-extensions.ca79e296.js → creating-extensions.3bd54c03.js} +5 -5
- package/dist/assets/{crystal.feeb3ced.js → crystal.dde76d21.js} +1 -1
- package/dist/assets/cs-CZ.8dfd2141.js +1 -0
- package/dist/assets/{css.1e5b2bf0.js → css.d4d7bd7b.js} +1 -1
- package/dist/assets/{cypher.5bdbdcb0.js → cypher.5d6b6bb6.js} +1 -1
- package/dist/assets/{d.36e8f711.js → d.cc41caa4.js} +1 -1
- package/dist/assets/da-DK.31685da1.js +1 -0
- package/dist/assets/{dart.138e6432.js → dart.f3c45c4c.js} +1 -1
- package/dist/assets/{data-model.bb47c4cd.js → data-model.fce64021.js} +1 -1
- package/dist/assets/de-DE.4cf007f5.js +1 -0
- package/dist/assets/{diff.b3ccf017.js → diff.c1542639.js} +1 -1
- package/dist/assets/{digitalocean-app-platform.de762f92.js → digitalocean-app-platform.5d0d1f93.js} +2 -2
- package/dist/assets/{displays.74df0c52.js → displays.30e705b7.js} +5 -5
- package/dist/assets/{django.e834c150.js → django.c4edc48a.js} +1 -1
- package/dist/assets/{docker.557cbad1.js → docker.25994fc0.js} +1 -1
- package/dist/assets/{dockerfile.55be9867.js → dockerfile.5693a227.js} +1 -1
- package/dist/assets/{documentation.c73fcefe.js → documentation.b680c6e6.js} +1 -1
- package/dist/assets/{dtd.62ec298b.js → dtd.32c5f33d.js} +1 -1
- package/dist/assets/{dylan.fb20017d.js → dylan.43169119.js} +1 -1
- package/dist/assets/{ebnf.cc1caba1.js → ebnf.1ff40cbe.js} +1 -1
- package/dist/assets/{ecl.f2b5f067.js → ecl.3a604120.js} +1 -1
- package/dist/assets/{eiffel.c16c8917.js → eiffel.01caf57f.js} +1 -1
- package/dist/assets/el-GR.e46c7385.js +1 -0
- package/dist/assets/{elm.2dac1815.js → elm.6a194bb5.js} +1 -1
- package/dist/assets/{email-templates.e8497808.js → email-templates.16a93b70.js} +1 -1
- package/dist/assets/en-CA.abfa05d9.js +1 -0
- package/dist/assets/en-GB.d9ec0957.js +1 -0
- package/dist/assets/{endpoints.fa2ecf56.js → endpoints.7539ee8c.js} +4 -4
- package/dist/assets/{erlang.a730eb94.js → erlang.ce39711a.js} +1 -1
- package/dist/assets/es-419.d31b2106.js +1 -0
- package/dist/assets/es-CL.9e233b1a.js +1 -0
- package/dist/assets/es-ES.7bd56b6c.js +1 -0
- package/dist/assets/{et-EE.e7b238fa.js → et-EE.c6c25e0e.js} +2 -2
- package/dist/assets/{extensions.caa6026d.js → extensions.53c9a780.js} +1 -1
- package/dist/assets/fa-IR.bc4949d0.js +1 -0
- package/dist/assets/{factor.19134aa6.js → factor.4af6f1df.js} +1 -1
- package/dist/assets/{faq.a5539fa8.js → faq.ff43f889.js} +1 -1
- package/dist/assets/{fcl.68c2a47d.js → fcl.fff56dfe.js} +1 -1
- package/dist/assets/fi-FI.ffa1989d.js +1 -0
- package/dist/assets/{fields.06eddf8a.js → fields.343f5ff9.js} +2 -2
- package/dist/assets/{file-library.b3029543.js → file-library.177b80e7.js} +1 -1
- package/dist/assets/{files.10403822.js → files.00a84d8b.js} +9 -9
- package/dist/assets/{filter-rules.36388fdf.js → filter-rules.1d359ed5.js} +1 -1
- package/dist/assets/{folders.739ac53f.js → folders.9b1b4b91.js} +6 -6
- package/dist/assets/{forth.8d5842cc.js → forth.a11494d0.js} +1 -1
- package/dist/assets/{fortran.774a2696.js → fortran.461d648e.js} +1 -1
- package/dist/assets/fr-CA.0325e87d.js +1 -0
- package/dist/assets/fr-FR.e0d247ce.js +1 -0
- package/dist/assets/{gas.d8399398.js → gas.87370c00.js} +1 -1
- package/dist/assets/gcp.66b4d0d5.js +49 -0
- package/dist/assets/{gfm.4b95c226.js → gfm.0d1c73a1.js} +1 -1
- package/dist/assets/{gherkin.735f7f7b.js → gherkin.144c9510.js} +1 -1
- package/dist/assets/{github-ci.2759cda8.js → github-ci.6c0892e9.js} +2 -2
- package/dist/assets/{glossary.a9d1268d.js → glossary.3dae6249.js} +1 -1
- package/dist/assets/{go.fb6a33eb.js → go.5d2b15cd.js} +1 -1
- package/dist/assets/{groovy.cc0ef263.js → groovy.98c0ab23.js} +1 -1
- package/dist/assets/{haml.6a13e2c9.js → haml.5483f001.js} +1 -1
- package/dist/assets/{handlebars.3876a082.js → handlebars.c6cd39d7.js} +1 -1
- package/dist/assets/{haskell-literate.dd743a1b.js → haskell-literate.f935039d.js} +1 -1
- package/dist/assets/{haskell.68e9e39f.js → haskell.90b3655f.js} +1 -1
- package/dist/assets/{haxe.6ed7ee9b.js → haxe.9d2e7d67.js} +1 -1
- package/dist/assets/hi-IN.89190874.js +1 -0
- package/dist/assets/{hooks.f995e543.js → hooks.d18ce175.js} +1 -1
- package/dist/assets/{htmlembedded.73fc00cc.js → htmlembedded.855a258a.js} +1 -1
- package/dist/assets/htmlmixed.7c87b0f0.js +1 -0
- package/dist/assets/{http.a3ef16fd.js → http.5613c227.js} +1 -1
- package/dist/assets/hu-HU.5f89d00f.js +1 -0
- package/dist/assets/id-ID.a9d3d91d.js +1 -0
- package/dist/assets/{idl.96e8121e.js → idl.45cf818e.js} +1 -1
- package/dist/assets/{iis.edc18f04.js → iis.d53945ae.js} +1 -1
- package/dist/assets/{index.7f347324.js → index.03a7f3bc.js} +1 -1
- package/dist/assets/{index.8cfdafff.js → index.05574ccd.js} +1 -1
- package/dist/assets/{index.fd35b493.js → index.07813a74.js} +1 -1
- package/dist/assets/{index.107ad19f.js → index.083b60db.js} +1 -1
- package/dist/assets/{index.ce1a1cd1.js → index.0a4e2361.js} +1 -1
- package/dist/assets/index.171487e6.css +1 -0
- package/dist/assets/index.19fb6927.js +26 -0
- package/dist/assets/{index.763fae2f.js → index.1b6c82d7.js} +1 -1
- package/dist/assets/{index.94378278.js → index.1cbcb585.js} +1 -1
- package/dist/assets/{index.1b6bb0df.js → index.2069cd25.js} +1 -1
- package/dist/assets/{index.9531a836.js → index.28b997d4.js} +1 -1
- package/dist/assets/{index.542aece6.js → index.30151efc.js} +1 -1
- package/dist/assets/{index.a5da7cf7.js → index.37b78477.js} +1 -1
- package/dist/assets/index.3a276397.entry.js +531 -0
- package/dist/assets/{index.61beea08.js → index.3a46f49f.js} +1 -1
- package/dist/assets/{index.7b4687f7.js → index.3d49cc07.js} +1 -1
- package/dist/assets/{index.c113f971.js → index.3f3d9fa8.js} +1 -1
- package/dist/assets/{index.e08fb298.js → index.4191f62b.js} +1 -1
- package/dist/assets/{index.731c4729.js → index.4392b262.js} +1 -1
- package/dist/assets/{index.429e49cb.js → index.48f9411c.js} +1 -1
- package/dist/assets/{index.e3aec615.js → index.4941752f.js} +1 -1
- package/dist/assets/{index.f76dd9b1.js → index.4c2797ca.js} +1 -1
- package/dist/assets/{index.200fb761.js → index.55963003.js} +1 -1
- package/dist/assets/{index.d76442fb.js → index.59a04935.js} +1 -1
- package/dist/assets/{index.a98eab6c.js → index.5c24f70c.js} +1 -1
- package/dist/assets/{index.27e0211c.js → index.5c5e0c4e.js} +1 -1
- package/dist/assets/{index.961d2337.js → index.5c98ffde.js} +1 -1
- package/dist/assets/{index.d4f89fc0.js → index.6143d636.js} +1 -1
- package/dist/assets/{index.ab81705c.js → index.62328d13.js} +1 -1
- package/dist/assets/{index.818761af.js → index.625b2c3c.js} +1 -1
- package/dist/assets/index.6648089d.css +1 -0
- package/dist/assets/{index.86054893.js → index.6754f5ff.js} +1 -1
- package/dist/assets/{index.e9269812.js → index.6abc4c4a.js} +1 -1
- package/dist/assets/{index.b8dc59cf.js → index.702d69f2.js} +1 -1
- package/dist/assets/{index.10d1a79c.js → index.71391947.js} +1 -1
- package/dist/assets/{index.95cc967f.js → index.714243aa.js} +1 -1
- package/dist/assets/{index.9fe0c5c3.js → index.732d90e6.js} +1 -1
- package/dist/assets/{index.73274803.js → index.7411c17e.js} +1 -1
- package/dist/assets/{index.dc9915aa.js → index.76c0176c.js} +1 -1
- package/dist/assets/{index.6a19cc93.js → index.78970693.js} +1 -1
- package/dist/assets/{index.5e3a0ae0.js → index.78ccd967.js} +1 -1
- package/dist/assets/{index.65ddf12b.js → index.7a5e06da.js} +1 -1
- package/dist/assets/{index.dd4e679e.js → index.80cc5b1a.js} +1 -1
- package/dist/assets/{index.c39a7ed3.js → index.8407c6cb.js} +1 -1
- package/dist/assets/{index.5c6061d5.js → index.847d77c1.js} +1 -1
- package/dist/assets/{index.f11472e0.js → index.84e91583.js} +1 -1
- package/dist/assets/{index.08659801.js → index.87b8fa32.js} +1 -1
- package/dist/assets/{index.67a33de4.js → index.8da1270b.js} +1 -1
- package/dist/assets/{index.9e269486.js → index.8de95117.js} +1 -1
- package/dist/assets/{index.4d8864ec.js → index.8ff3a54b.js} +1 -1
- package/dist/assets/{index.9b1d0e58.js → index.97672267.js} +1 -1
- package/dist/assets/{index.b426192d.js → index.9a1e39d1.js} +1 -1
- package/dist/assets/{index.42b05644.js → index.9c05f463.js} +1 -1
- package/dist/assets/{index.65bfc48e.js → index.9e449c69.js} +1 -1
- package/dist/assets/{index.75b12a27.js → index.9f8531c9.js} +1 -1
- package/dist/assets/{index.6628661a.js → index.a4097a5e.js} +1 -1
- package/dist/assets/{index.ff50f007.js → index.aab3ad32.js} +1 -1
- package/dist/assets/{index.a843b410.js → index.ab6dcaea.js} +1 -1
- package/dist/assets/{index.0d5bdc65.js → index.ae92e9ed.js} +1 -1
- package/dist/assets/{index.c7553957.js → index.b267e02a.js} +1 -1
- package/dist/assets/{index.f85e4f26.js → index.b3e4a522.js} +1 -1
- package/dist/assets/{index.e76bcde2.js → index.b851dbc5.js} +1 -1
- package/dist/assets/{index.77007dc0.js → index.ba6d2e1d.js} +1 -1
- package/dist/assets/{index.49f984d3.js → index.bb6a02dc.js} +1 -1
- package/dist/assets/{index.22279901.js → index.bb84b1bd.js} +1 -1
- package/dist/assets/{index.f89de90c.js → index.bc098053.js} +1 -1
- package/dist/assets/{index.cf72ee21.js → index.bca97bd3.js} +1 -1
- package/dist/assets/{index.c84d097b.js → index.bf27b868.js} +1 -1
- package/dist/assets/{index.ac7923a5.js → index.c048a125.js} +1 -1
- package/dist/assets/{index.029e41b8.js → index.c2200ee4.js} +1 -1
- package/dist/assets/{index.3827381d.js → index.c425fe84.js} +1 -1
- package/dist/assets/{index.7c8abc39.js → index.ca9b3837.js} +1 -1
- package/dist/assets/{index.060522aa.js → index.d068ed25.js} +1 -1
- package/dist/assets/{index.1bcd7cf8.js → index.d82c8cfa.js} +1 -1
- package/dist/assets/{index.9edea496.js → index.da02233c.js} +1 -1
- package/dist/assets/{index.0ff641d2.js → index.ddff35c7.js} +1 -1
- package/dist/assets/{index.8addb892.js → index.e22f8abe.js} +1 -1
- package/dist/assets/{index.3cc91776.js → index.e382ecdc.js} +1 -1
- package/dist/assets/{index.e8b3416c.js → index.e3c8b335.js} +1 -1
- package/dist/assets/{index.141f98fa.js → index.ed1c4be4.js} +1 -1
- package/dist/assets/{index.0450ff63.js → index.f79a8990.js} +1 -1
- package/dist/assets/{index.0fd82a7b.js → index.fb3c7ac0.js} +1 -1
- package/dist/assets/{index.b481103f.js → index.fded5c41.js} +1 -1
- package/dist/assets/{index.e5b75b9b.js → index.fe26f195.js} +1 -1
- package/dist/assets/{input-rich-text-html.6bbe8f90.js → input-rich-text-html.65ba73f7.js} +47 -46
- package/dist/assets/{input-rich-text-html.81ac608e.css → input-rich-text-html.d03d46a8.css} +1 -1
- package/dist/assets/{insights.ce808eda.js → insights.3cc829e4.js} +1 -1
- package/dist/assets/installation.25a626fb.js +1 -0
- package/dist/assets/{interfaces.f37b3019.js → interfaces.0d2bde70.js} +4 -4
- package/dist/assets/{introduction.10af3dd2.js → introduction.07eddd48.js} +6 -6
- package/dist/assets/{introduction.f1827e2a.js → introduction.39f4e226.js} +1 -1
- package/dist/assets/{introduction.6e56e05b.js → introduction.95c347fa.js} +1 -1
- package/dist/assets/{introduction.c3f6d6c0.js → introduction.f71eead0.js} +1 -1
- package/dist/assets/it-IT.095b1e73.js +1 -0
- package/dist/assets/{items.fd8e507b.js → items.f84cadfc.js} +1 -1
- package/dist/assets/ja-JP.8078d1fc.js +1 -0
- package/dist/assets/{javascript-hint.f637bce8.js → javascript-hint.5bdb0231.js} +1 -1
- package/dist/assets/{javascript.a6e444fe.js → javascript.29241fdc.js} +1 -1
- package/dist/assets/{jinja2.19154000.js → jinja2.39842bae.js} +1 -1
- package/dist/assets/jsx.8de28f58.js +1 -0
- package/dist/assets/{julia.07560bca.js → julia.ad6c52d8.js} +1 -1
- package/dist/assets/ka-GE.0bf65322.js +1 -0
- package/dist/assets/{ko-KR.ba05bd93.js → ko-KR.0b7b6298.js} +1 -1
- package/dist/assets/ku-TR.d790a5bf.js +1 -0
- package/dist/assets/{layouts.56f2bc1c.js → layouts.47ea97ab.js} +3 -3
- package/dist/assets/{livescript.0d444cab.js → livescript.ee260a8e.js} +1 -1
- package/dist/assets/{localization.f14f2edd.js → localization.bf31e95e.js} +1 -1
- package/dist/assets/lt-LT.2ee93d0f.js +1 -0
- package/dist/assets/{lua.412f3c4d.js → lua.fcab0a17.js} +1 -1
- package/dist/assets/{manual.f2c2b139.js → manual.817bb41a.js} +4 -4
- package/dist/assets/{mark-selection.31e82462.js → mark-selection.14bd39dc.js} +1 -1
- package/dist/assets/{match-highlighter.4dfdda54.js → match-highlighter.e1f4ebb8.js} +1 -1
- package/dist/assets/{mathematica.8c19439e.js → mathematica.4c290bd7.js} +1 -1
- package/dist/assets/{mbox.f7a3dfe2.js → mbox.fbea4820.js} +1 -1
- package/dist/assets/{migrations.c13af0d9.js → migrations.1fc0576b.js} +1 -1
- package/dist/assets/{mirc.5e27dd9a.js → mirc.acdeecf7.js} +1 -1
- package/dist/assets/{mllike.22e30a59.js → mllike.4a02b532.js} +1 -1
- package/dist/assets/{modelica.edfaff26.js → modelica.85d5e0b2.js} +1 -1
- package/dist/assets/{modules.08f0ff6d.js → modules.aa9cac56.js} +4 -4
- package/dist/assets/ms-MY.3db62076.js +1 -0
- package/dist/assets/{mscgen.a8d04440.js → mscgen.2c9167b3.js} +1 -1
- package/dist/assets/{multiplex.a7ea8724.js → multiplex.c15f482c.js} +1 -1
- package/dist/assets/{mumps.f6c88b5f.js → mumps.6a681e98.js} +1 -1
- package/dist/assets/{nginx.e5d8a4be.js → nginx.82a8c85b.js} +1 -1
- package/dist/assets/nl-NL.0b898799.js +1 -0
- package/dist/assets/no-NO.13f7014c.js +1 -0
- package/dist/assets/{notifications.1cd89b70.js → notifications.3798c5e9.js} +4 -4
- package/dist/assets/{nsis.24913e7a.js → nsis.de3724d7.js} +1 -1
- package/dist/assets/{ntriples.fdccfde8.js → ntriples.a29d8bcb.js} +1 -1
- package/dist/assets/{octave.1a7cc06a.js → octave.f67bef4b.js} +1 -1
- package/dist/assets/{overlay.57c20f4c.js → overlay.b3e1f82e.js} +1 -1
- package/dist/assets/{overview.f4784fc7.js → overview.54c9613c.js} +1 -1
- package/dist/assets/{overview.bf66b69d.js → overview.fe32c908.js} +1 -1
- package/dist/assets/{oz.9ab22673.js → oz.ce2f819e.js} +1 -1
- package/dist/assets/{panels.fd4a3b89.js → panels.0c7e4633.js} +3 -3
- package/dist/assets/{pascal.b81a5688.js → pascal.db0b64f7.js} +1 -1
- package/dist/assets/{pegjs.599e8eb3.js → pegjs.c5c07f6b.js} +1 -1
- package/dist/assets/{perl.c0739599.js → perl.44cf4d10.js} +1 -1
- package/dist/assets/{permissions.8ad4df54.js → permissions.1444fce3.js} +4 -4
- package/dist/assets/{php.608b4516.js → php.17effd63.js} +1 -1
- package/dist/assets/{pig.7933ecb3.js → pig.4447f159.js} +1 -1
- package/dist/assets/{pinia.a129d8b1.entry.js → pinia.20984854.entry.js} +1 -1
- package/dist/assets/pl-PL.88d918cf.js +1 -0
- package/dist/assets/{plesk.c0852694.js → plesk.daedfdec.js} +3 -3
- package/dist/assets/{powershell.368c2592.js → powershell.1f264757.js} +1 -1
- package/dist/assets/{presets-bookmarks.d10c9de2.js → presets-bookmarks.f728cc5f.js} +1 -1
- package/dist/assets/{presets.99d373c0.js → presets.dc6baaec.js} +1 -1
- package/dist/assets/{project-settings.5b470b25.js → project-settings.1a98dfa5.js} +1 -1
- package/dist/assets/{properties.aa1fe856.js → properties.0d8a6aae.js} +1 -1
- package/dist/assets/{protobuf.9104ca28.js → protobuf.df95db32.js} +1 -1
- package/dist/assets/pt-BR.c8c96e63.js +1 -0
- package/dist/assets/pt-PT.76e3ba8f.js +1 -0
- package/dist/assets/{pug.b070355c.js → pug.8d41d1be.js} +1 -1
- package/dist/assets/{puppet.07e8bcbb.js → puppet.0d6bcdab.js} +1 -1
- package/dist/assets/{python.65853b0f.js → python.6643b699.js} +1 -1
- package/dist/assets/{q.85f2dca0.js → q.5a04e18a.js} +1 -1
- package/dist/assets/{query.a958f10d.js → query.7f986fd7.js} +8 -8
- package/dist/assets/{quickstart.27dda183.js → quickstart.159dd1ff.js} +3 -3
- package/dist/assets/{r.b44bcffc.js → r.f3a2cf7a.js} +1 -1
- package/dist/assets/{relations.f50b4f95.js → relations.6d91ed11.js} +3 -3
- package/dist/assets/{relationships.d866443c.js → relationships.33fbbfc0.js} +3 -3
- package/dist/assets/{revisions.1a87ca54.js → revisions.0e3bd24b.js} +3 -3
- package/dist/assets/ro-RO.b5957327.js +1 -0
- package/dist/assets/{roles.9bea32b8.js → roles.95ebb028.js} +1 -1
- package/dist/assets/{rpm.fa6ea084.js → rpm.756f8c88.js} +1 -1
- package/dist/assets/{rst.76ee63a2.js → rst.6bc99bab.js} +1 -1
- package/dist/assets/ru-RU.230415aa.js +1 -0
- package/dist/assets/{ruby.b3951223.js → ruby.3c0e57e9.js} +1 -1
- package/dist/assets/{running-locally.08b5f50f.js → running-locally.29a0f2d9.js} +20 -9
- package/dist/assets/{rust.367a9f3f.js → rust.7ef79fbc.js} +1 -1
- package/dist/assets/{sas.2633bc48.js → sas.f21126e1.js} +1 -1
- package/dist/assets/{sass.991ede1b.js → sass.ab45f48c.js} +1 -1
- package/dist/assets/{scheme.5639613c.js → scheme.c6be56b9.js} +1 -1
- package/dist/assets/{sdk.ae7992c5.js → sdk.43fd35f7.js} +62 -46
- package/dist/assets/{security.c75d2709.js → security.93aa3fa6.js} +1 -1
- package/dist/assets/{server.6f227f53.js → server.af830537.js} +5 -5
- package/dist/assets/{settings.af8afa61.js → settings.721cc223.js} +1 -1
- package/dist/assets/{settings.82599ee9.js → settings.d50c2dc3.js} +4 -4
- package/dist/assets/{shell.e455531a.js → shell.821e3cd2.js} +1 -1
- package/dist/assets/{show-hint.c4eb0c3d.js → show-hint.05df6eda.js} +1 -1
- package/dist/assets/sieve.9a8aca75.js +1 -0
- package/dist/assets/{simple.4a477b77.js → simple.a6c44ee7.js} +1 -1
- package/dist/assets/{sl-SI.3f0a4768.js → sl-SI.a0734f51.js} +2 -2
- package/dist/assets/{slim.18d0f6d5.js → slim.bf9a0a37.js} +1 -1
- package/dist/assets/{smalltalk.0f525abe.js → smalltalk.c1484de8.js} +1 -1
- package/dist/assets/{smarty.d25b4ce0.js → smarty.b7345017.js} +1 -1
- package/dist/assets/{solr.68b0ca66.js → solr.b8447a9b.js} +1 -1
- package/dist/assets/{soy.27166382.js → soy.e4f8442f.js} +1 -1
- package/dist/assets/{sparql.ece89378.js → sparql.d90a5254.js} +1 -1
- package/dist/assets/{spreadsheet.aabe1709.js → spreadsheet.d6d6876c.js} +1 -1
- package/dist/assets/{sql.5d470e84.js → sql.6e1011fe.js} +1 -1
- package/dist/assets/sr-CS.7f2f9516.js +1 -0
- package/dist/assets/sr-SP.e7aaced7.js +1 -0
- package/dist/assets/{sso.811c344e.js → sso.cdae46d9.js} +3 -3
- package/dist/assets/{stex.79529301.js → stex.dcc1c298.js} +1 -1
- package/dist/assets/{stylus.03b3b1e5.js → stylus.c67ff4ff.js} +1 -1
- package/dist/assets/{support.240e8ec7.js → support.0591d87c.js} +1 -1
- package/dist/assets/sv-SE.23424e62.js +1 -0
- package/dist/assets/{swift.014169da.js → swift.84099452.js} +1 -1
- package/dist/assets/{tcl.c652100f.js → tcl.2c52a2bf.js} +1 -1
- package/dist/assets/{textile.b326781f.js → textile.cc219320.js} +1 -1
- package/dist/assets/th-TH.73da43c8.js +2 -0
- package/dist/assets/{themes.58ffa82a.js → themes.b1eb7ab6.js} +2 -2
- package/dist/assets/{tiddlywiki.9af27818.js → tiddlywiki.3cd0302e.js} +1 -1
- package/dist/assets/{tiki.cd3b6f65.js → tiki.0cbe2322.js} +1 -1
- package/dist/assets/{toml.e945a98c.js → toml.c701ff10.js} +1 -1
- package/dist/assets/{tornado.4dafde01.js → tornado.3456d025.js} +1 -1
- package/dist/assets/tr-TR.51f6d3f2.js +1 -0
- package/dist/assets/{translations.8f87de57.js → translations.866c3e24.js} +1 -1
- package/dist/assets/{troff.cfe89054.js → troff.2cb0b6c3.js} +1 -1
- package/dist/assets/{ttcn-cfg.9bb707b0.js → ttcn-cfg.177a79d7.js} +1 -1
- package/dist/assets/{ttcn.4d70e15b.js → ttcn.615119d0.js} +1 -1
- package/dist/assets/{turtle.bcbfe504.js → turtle.9f74f9ab.js} +1 -1
- package/dist/assets/{twig.da20e090.js → twig.0498a8bd.js} +1 -1
- package/dist/assets/{ubuntu.a1aec3e5.js → ubuntu.c24c1bbd.js} +1 -1
- package/dist/assets/uk-UA.20b58ca2.js +1 -0
- package/dist/assets/{upgrades-migrations.2a901d0b.js → upgrades-migrations.d9e217c8.js} +1 -1
- package/dist/assets/use-sync.4163a308.js +1 -0
- package/dist/assets/{user-directory.3295c686.js → user-directory.88f66846.js} +1 -1
- package/dist/assets/{users-roles-permissions.7eabf1dd.js → users-roles-permissions.2c43c5a9.js} +1 -1
- package/dist/assets/{users.53a84d9d.js → users.83f5130a.js} +5 -5
- package/dist/assets/{utilities.363cea2c.js → utilities.833a9bee.js} +3 -3
- package/dist/assets/{vb.dbda2981.js → vb.b20ab1c8.js} +1 -1
- package/dist/assets/{vbscript.66ec5776.js → vbscript.f5b5895a.js} +1 -1
- package/dist/assets/{velocity.fc023370.js → velocity.83212b52.js} +1 -1
- package/dist/assets/{vendor.1339fc9e.js → vendor.9c15ff54.js} +144 -146
- package/dist/assets/{verilog.6d817957.js → verilog.65c681b4.js} +1 -1
- package/dist/assets/{vhdl.d39b1302.js → vhdl.b1ee8307.js} +1 -1
- package/dist/assets/vi-VN.b39fb470.js +1 -0
- package/dist/assets/vue-i18n.eb71fdd3.entry.js +1 -0
- package/dist/assets/vue-router.568152dc.entry.js +1 -0
- package/dist/assets/vue.40191742.entry.js +1 -0
- package/dist/assets/{vue.96831875.js → vue.6f8d3092.js} +1 -1
- package/dist/assets/{wast.b0354d71.js → wast.4d449e41.js} +1 -1
- package/dist/assets/{webhooks.d11f5a1c.js → webhooks.59c32103.js} +1 -1
- package/dist/assets/{webhooks.06b6fa54.js → webhooks.dcd21715.js} +1 -1
- package/dist/assets/{webidl.b07ad069.js → webidl.0627d676.js} +1 -1
- package/dist/assets/{xquery.80bda722.js → xquery.d15c12e9.js} +1 -1
- package/dist/assets/{yacas.cd318286.js → yacas.cbcb8ee5.js} +1 -1
- package/dist/assets/yaml-frontmatter.2536f248.js +1 -0
- package/dist/assets/{yaml.b29cd33c.js → yaml.0f11002b.js} +1 -1
- package/dist/assets/{z80.03d8fd5f.js → z80.65a8f8ed.js} +1 -1
- package/dist/assets/zh-CN.77260539.js +1 -0
- package/dist/assets/{zh-TW.f2b88147.js → zh-TW.ed00cc7a.js} +1 -1
- package/dist/index.html +4 -4
- package/package.json +14 -9
- package/dist/assets/@directus_extensions-sdk.7ad89904.entry.js +0 -1
- package/dist/assets/af-ZA.862e836f.js +0 -1
- package/dist/assets/ar-SA.8d9b4118.js +0 -1
- package/dist/assets/bg-BG.b16b9f13.js +0 -2
- package/dist/assets/br-FR.f257fe8c.js +0 -1
- package/dist/assets/ca-ES.df0af7f3.js +0 -1
- package/dist/assets/content-collections.46ff9208.js +0 -1
- package/dist/assets/cs-CZ.0d2bda0e.js +0 -1
- package/dist/assets/da-DK.edb53a2a.js +0 -1
- package/dist/assets/de-DE.a187fbd6.js +0 -1
- package/dist/assets/el-GR.d937df19.js +0 -1
- package/dist/assets/en-GB.eda59d28.js +0 -1
- package/dist/assets/es-419.48c6f8ff.js +0 -1
- package/dist/assets/es-CL.0620ee5f.js +0 -1
- package/dist/assets/es-ES.74a9016d.js +0 -1
- package/dist/assets/fa-IR.292df17e.js +0 -1
- package/dist/assets/fi-FI.a640cc7b.js +0 -1
- package/dist/assets/fr-FR.7ab922d8.js +0 -1
- package/dist/assets/hi-IN.19c40a88.js +0 -1
- package/dist/assets/htmlmixed.6487a152.js +0 -1
- package/dist/assets/hu-HU.4ea4b59c.js +0 -1
- package/dist/assets/id-ID.7dd29100.js +0 -1
- package/dist/assets/index.425f8aea.css +0 -1
- package/dist/assets/index.877f0626.entry.js +0 -529
- package/dist/assets/index.c3501ebc.css +0 -1
- package/dist/assets/index.f2f2ca41.js +0 -26
- package/dist/assets/installation.fc117855.js +0 -1
- package/dist/assets/it-IT.5e6a4c7d.js +0 -1
- package/dist/assets/ja-JP.ed16588e.js +0 -1
- package/dist/assets/jsx.8c4ae49c.js +0 -1
- package/dist/assets/ka-GE.2e2665dd.js +0 -1
- package/dist/assets/ku-TR.fb86a60a.js +0 -1
- package/dist/assets/lt-LT.38d57d95.js +0 -1
- package/dist/assets/ms-MY.525bd8b7.js +0 -1
- package/dist/assets/nl-NL.c46489cb.js +0 -1
- package/dist/assets/no-NO.1628152c.js +0 -1
- package/dist/assets/pl-PL.59e9af5e.js +0 -1
- package/dist/assets/pt-BR.a2a1fdbe.js +0 -1
- package/dist/assets/pt-PT.1af0ede2.js +0 -1
- package/dist/assets/ro-RO.447e1ee4.js +0 -1
- package/dist/assets/ru-RU.2d2bcc71.js +0 -1
- package/dist/assets/sieve.9dec15ca.js +0 -1
- package/dist/assets/sr-CS.a7778d9f.js +0 -1
- package/dist/assets/sr-SP.202d2f5e.js +0 -1
- package/dist/assets/sv-SE.09b1461c.js +0 -1
- package/dist/assets/th-TH.9d80638b.js +0 -2
- package/dist/assets/tr-TR.d0fc547a.js +0 -1
- package/dist/assets/uk-UA.b12c0696.js +0 -1
- package/dist/assets/use-sync.63b93cc4.js +0 -1
- package/dist/assets/vi-VN.d8916629.js +0 -1
- package/dist/assets/vue-i18n.b3f9782a.entry.js +0 -1
- package/dist/assets/vue-router.a727ea8c.entry.js +0 -1
- package/dist/assets/vue.de7fdfdb.entry.js +0 -1
- package/dist/assets/yaml-frontmatter.a0086ae1.js +0 -1
- package/dist/assets/zh-CN.140ed39f.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as t,p as h,q as i,w as n,z as s,t as r,
|
|
1
|
+
import{r as t,p as h,q as i,w as n,z as s,t as r,R as e}from"./vendor.9c15ff54.js";const p={class:"markdown-body"},d={class:"two-up"},u={class:"left"},g=e("Provides detailed information about the project server, its schema, and its health. "),_=e("Learn more about Projects"),f=e("."),m=s("div",{class:"right"},[s("p",null,[s("div",{class:"table-of-contents"},[s("ul",null,[s("li",null,[s("a",{href:"#get-openapi-specification"},"Get OpenAPI Specification")]),s("li",null,[s("a",{href:"#get-graphql-sdl"},"Get GraphQL SDL")]),s("li",null,[s("a",{href:"#ping"},"Ping")]),s("li",null,[s("a",{href:"#info"},"Info")]),s("li",null,[s("a",{href:"#health"},"Health")])])])])],-1),j=s("hr",null,null,-1),y=s("h2",{id:"get-openapi-specification"},[e("Get OpenAPI Specification "),s("a",{class:"header-anchor",href:"#get-openapi-specification"},"#")],-1),v=s("p",null,"Retrieve the OpenAPI spec for the current project.",-1),b=s("div",{class:"two-up"},[s("div",{class:"left"},[s("div",{class:"tip hint"},[s("div",{class:"hint-title"},"Permissions"),s("p",null,"This OAS spec is based on the read permissions of the currently authenticated user.")]),s("h3",{id:"returns"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns"},"#")]),s("p",null,[e("Object conforming to "),s("a",{href:"https://swagger.io/specification/",target:"_blank",rel:"noopener noreferrer"},"the OpenAPI Specification")])]),s("div",{class:"right"},[s("h3",{id:"rest-api"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api"},"#")]),s("pre",null,[s("code",null,`GET /server/specs/oas
|
|
2
2
|
`)]),s("h3",{id:"graphql"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql"},"#")]),s("pre",null,[s("code",null,`POST /graphql/system
|
|
3
3
|
`)]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Query"),e(` {
|
|
4
4
|
server_specs_oas:`),s("span",{class:"hljs-type"}," String"),e(`
|
|
@@ -32,7 +32,7 @@ GET /server/specs/graphql/system
|
|
|
32
32
|
`)])]),s("h5",{id:"example-2"},[e("Example "),s("a",{class:"header-anchor",href:"#example-2"},"#")]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"query"),e(` {
|
|
33
33
|
server_specs_graphql(scope: `),s("span",{class:"hljs-string"},'"system"'),e(`)
|
|
34
34
|
}
|
|
35
|
-
`)])])])],-1),T=s("hr",null,null,-1),P=s("h2",{id:"ping"},[e("Ping "),s("a",{class:"header-anchor",href:"#ping"},"#")],-1),A=s("p",null,"Ping\u2026 pong! \u{1F3D3}",-1),
|
|
35
|
+
`)])])])],-1),T=s("hr",null,null,-1),P=s("h2",{id:"ping"},[e("Ping "),s("a",{class:"header-anchor",href:"#ping"},"#")],-1),A=s("p",null,"Ping\u2026 pong! \u{1F3D3}",-1),G=s("div",{class:"two-up"},[s("div",{class:"left"},[s("h3",{id:"returns-3"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-3"},"#")]),s("p",null,"Pong.")]),s("div",{class:"right"},[s("h3",{id:"rest-api-3"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-3"},"#")]),s("pre",null,[s("code",null,`GET /server/ping
|
|
36
36
|
`)]),s("h3",{id:"graphql-3"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-3"},"#")]),s("pre",null,[s("code",null,`POST /graphql/system
|
|
37
37
|
`)]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Query"),e(` {
|
|
38
38
|
server_ping:`),s("span",{class:"hljs-type"}," String"),e(`
|
|
@@ -40,7 +40,7 @@ GET /server/specs/graphql/system
|
|
|
40
40
|
`)])]),s("h5",{id:"example-3"},[e("Example "),s("a",{class:"header-anchor",href:"#example-3"},"#")]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"query"),e(` {
|
|
41
41
|
server_ping
|
|
42
42
|
}
|
|
43
|
-
`)])])])],-1),
|
|
43
|
+
`)])])])],-1),I=s("hr",null,null,-1),x=s("h2",{id:"info"},[e("Info "),s("a",{class:"header-anchor",href:"#info"},"#")],-1),E=s("p",null,"Information about the current installation.",-1),R={class:"two-up"},L={class:"left"},Q=s("div",{class:"tip hint"},[s("div",{class:"hint-title"},"Permissions"),s("p",null,"The public information is returned for everybody. Admin users get additional information (see below).")],-1),O=s("h3",{id:"returns-4"},[e("Returns "),s("a",{class:"header-anchor",href:"#returns-4"},"#")],-1),D={class:"definitions"},H=s("p",null,[s("code",null,"project"),e(),s("strong",null,"object"),s("br"),e(" Public information about the project. Used to render the Admin App public pages.")],-1),C=e("See "),V=e("the settings object"),B=e(" for more information on the individual properties of the "),N=s("code",null,"project",-1),U=e(" object."),W=s("p",null,"Admin users also get the following information:",-1),z=s("div",{class:"definitions"},[s("p",null,[s("code",null,"directus.version"),e(),s("strong",null,"string"),s("br"),e(" Current version of Directus used.")]),s("p",null,[s("code",null,"node.version"),e(),s("strong",null,"string"),s("br"),e(" Current version of Node used.")]),s("p",null,[s("code",null,"node.uptime"),e(),s("strong",null,"integer"),s("br"),e(" How long the current process has been running.")]),s("p",null,[s("code",null,"os.type"),e(),s("strong",null,"string"),s("br"),e(" What type of operation system is used.")]),s("p",null,[s("code",null,"os.version"),e(),s("strong",null,"string"),s("br"),e(" What version of the operation system is used.")]),s("p",null,[s("code",null,"os.uptime"),e(),s("strong",null,"string"),s("br"),e(" How long the operating system has been up.")]),s("p",null,[s("code",null,"os.totalmem"),e(),s("strong",null,"string"),s("br"),e(" How much memory is available on the operating system.")])],-1),F=s("div",{class:"right"},[s("h3",{id:"rest-api-4"},[e("REST API "),s("a",{class:"header-anchor",href:"#rest-api-4"},"#")]),s("pre",null,[s("code",null,`GET /server/info
|
|
44
44
|
`)]),s("h3",{id:"graphql-4"},[e("GraphQL "),s("a",{class:"header-anchor",href:"#graphql-4"},"#")]),s("pre",null,[s("code",null,`POST /graphql/system
|
|
45
45
|
`)]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Query"),e(` {
|
|
46
46
|
server_info: server_info
|
|
@@ -52,7 +52,7 @@ GET /server/specs/graphql/system
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
`)])])],-1),J=s("hr",null,null,-1),K=s("h2",{id:"health"},[e("Health "),s("a",{class:"header-anchor",href:"#health"},"#")],-1),M=s("p",null,"Get the current health status of the server.",-1),X=s("div",{class:"two-up"},[s("div",{class:"left"},[s("p",null,[e("The "),s("code",null,"/server/health"),e(" endpoint shows you a general health status for the server and all connected (third party) services, such as Redis or S3.")]),s("p",null,[e("The output is based on the \u201CHealth Check Response for HTTP APIs\u201D draft spec: "),s("a",{href:"https://tools.ietf.org/id/draft-inadarei-api-health-check-05.html",target:"_blank",rel:"noopener noreferrer"},"Health Check Response Format for HTTP APIs Draft Specification"),e(".")]),s("p",null,"This endpoint can be used to ensure a healthy system when running in a horizontally scaled setup, like Kubernetes or AWS Elastic Beanstalk."),s("p",null,[e("By default, the endpoint only returns a "),s("code",null,"status"),e(" of "),s("code",null,"ok"),e(", "),s("code",null,"warn"),e(" or "),s("code",null,"error"),e(". By authenticating as an admin, it will return more in-depth information about the current health status of the system.")]),s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// Response"),e(`
|
|
55
|
+
`)])])],-1),J=s("hr",null,null,-1),K=s("h2",{id:"health"},[e("Health "),s("a",{class:"header-anchor",href:"#health"},"#")],-1),M=s("p",null,"Get the current health status of the server.",-1),X=s("div",{class:"two-up"},[s("div",{class:"left"},[s("p",null,[e("The "),s("code",null,"/server/health"),e(" endpoint shows you a general health status for the server and all connected (third party) services, such as Redis or S3.")]),s("p",null,[e("The output is based on the \u201CHealth Check Response for HTTP APIs\u201D draft spec: "),s("a",{href:"https://tools.ietf.org/id/draft-inadarei-api-health-check-05.html",target:"_blank",rel:"noopener noreferrer"},"Health Check Response Format for HTTP APIs Draft Specification"),e(".")]),s("p",null,"This endpoint can be used to ensure a healthy system when running in a horizontally scaled setup, like Kubernetes, Google Cloud Platform or AWS Elastic Beanstalk."),s("p",null,[e("By default, the endpoint only returns a "),s("code",null,"status"),e(" of "),s("code",null,"ok"),e(", "),s("code",null,"warn"),e(" or "),s("code",null,"error"),e(". By authenticating as an admin, it will return more in-depth information about the current health status of the system.")]),s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// Response"),e(`
|
|
56
56
|
|
|
57
57
|
`),s("span",{class:"hljs-comment"},"// Non-admin"),e(`
|
|
58
58
|
{
|
|
@@ -111,4 +111,4 @@ GET /server/specs/graphql/system
|
|
|
111
111
|
`)])]),s("h5",{id:"example-5"},[e("Example "),s("a",{class:"header-anchor",href:"#example-5"},"#")]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"query"),e(` {
|
|
112
112
|
server_health
|
|
113
113
|
}
|
|
114
|
-
`)])])])],-1),Y=s("hr",null,null,-1),ns={setup(Z,{expose:o}){const l={title:"Server",modularExtension:!1,pageClass:"page-reference"};return o({frontmatter:l}),($,ss)=>{const a=t("router-link"),c=t("DocsWrapper");return h(),i(c,{frontmatter:l},{default:n(()=>[s("div",p,[s("div",d,[s("div",u,[s("blockquote",null,[s("p",null,[g,r(a,{to:"/docs/getting-started/glossary/#projects"},{default:n(()=>[_]),_:1}),f])])]),m]),j,y,v,b,q,k,w,S,T,P,A,I,x,
|
|
114
|
+
`)])])])],-1),Y=s("hr",null,null,-1),ns={setup(Z,{expose:o}){const l={title:"Server",modularExtension:!1,pageClass:"page-reference"};return o({frontmatter:l}),($,ss)=>{const a=t("router-link"),c=t("DocsWrapper");return h(),i(c,{frontmatter:l},{default:n(()=>[s("div",p,[s("div",d,[s("div",u,[s("blockquote",null,[s("p",null,[g,r(a,{to:"/docs/getting-started/glossary/#projects"},{default:n(()=>[_]),_:1}),f])])]),m]),j,y,v,b,q,k,w,S,T,P,A,G,I,x,E,s("div",R,[s("div",L,[Q,O,s("div",D,[H,s("p",null,[C,r(a,{to:"/docs/reference/system/settings/#the-settings-object"},{default:n(()=>[V]),_:1}),B,N,U])]),W,z]),F]),J,K,M,X,Y])]),_:1})}}};export{ns as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,p as c,q as d,w as e,z as t,t as n,
|
|
1
|
+
import{r as a,p as c,q as d,w as e,z as t,t as n,R as o}from"./vendor.9c15ff54.js";const u={class:"markdown-body"},h=t("blockquote",null,[t("p",null,"This module is where your entire project is configured, making it the first place to go after installation. Since it is more technical than the rest of the app, it is only available to administrators.")],-1),_=t("div",{class:"warning hint"},[t("div",{class:"hint-title"},"Administrators Only"),t("p",null,"Only Administrators have access to the Settings module.")],-1),p=t("p",null,"Settings are split into five distinct sections, each described below.",-1),f=o("Project Settings"),g=o(" \u2014 Branding and other global options"),m=o("Data Model"),b=o(" \u2014 Your database schema, form layout, and field options."),v=o("Roles & Permissions"),k=o(" \u2014 Create and manage access via roles and permissions"),y=o("Presets & Bookmarks"),w=o(" \u2014 Set default views of data and configure bookmarks"),S=o("Webhooks"),x=o(" \u2014 Use platform events to trigger external services"),B=t("h2",{id:"reporting-a-bug-from-the-app"},[o("Reporting a Bug from the App "),t("a",{class:"header-anchor",href:"#reporting-a-bug-from-the-app"},"#")],-1),j=t("p",null,"The navigation bar of Settings includes a direct link to report a bug in the platform. When using this button, helpful debugging information about your project is automatically included, such as: version number, operating system, and environment type.",-1),C=t("h2",{id:"locating-your-platform%E2%80%99s-version"},[o("Locating your Platform\u2019s Version "),t("a",{class:"header-anchor",href:"#locating-your-platform%E2%80%99s-version"},"#")],-1),P=t("p",null,"The navigation bar of Settings displays the exact version of your platform. Clicking this button takes you to the GitHub releases page that includes the full change logs.",-1),D={setup(T,{expose:r}){const i={title:"Settings",modularExtension:!1};return r({frontmatter:i}),(V,W)=>{const s=a("router-link"),l=a("DocsWrapper");return c(),d(l,{frontmatter:i},{default:e(()=>[t("div",u,[h,_,p,t("ul",null,[t("li",null,[n(s,{to:"/docs/configuration/project-settings"},{default:e(()=>[f]),_:1}),g]),t("li",null,[n(s,{to:"/docs/configuration/data-model"},{default:e(()=>[m]),_:1}),b]),t("li",null,[n(s,{to:"/docs/configuration/users-roles-permissions"},{default:e(()=>[v]),_:1}),k]),t("li",null,[n(s,{to:"/docs/configuration/presets-bookmarks"},{default:e(()=>[y]),_:1}),w]),t("li",null,[n(s,{to:"/docs/configuration/webhooks"},{default:e(()=>[S]),_:1}),x])]),B,j,C,P])]),_:1})}}};export{D as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as o,p as i,q as h,w as e,z as s,t as n,
|
|
1
|
+
import{r as o,p as i,q as h,w as e,z as s,t as n,R as t}from"./vendor.9c15ff54.js";const d={class:"markdown-body"},p=s("div",{class:"two-up"},[s("div",{class:"left"},[s("blockquote",null,[s("p",null,"Settings are key-value pairs that are stored in the database, and control different aspects of the project. Only administrators have access to manage Settings.")])]),s("div",{class:"right"},[s("p",null,[s("div",{class:"table-of-contents"},[s("ul",null,[s("li",null,[s("a",{href:"#the-settings-object"},"The Settings Object")]),s("li",null,[s("a",{href:"#retrieve-settings"},"Retrieve Settings")]),s("li",null,[s("a",{href:"#update-settings"},"Update Settings")])])])])])],-1),_=s("hr",null,null,-1),u=s("h2",{id:"the-settings-object"},[t("The Settings Object "),s("a",{class:"header-anchor",href:"#the-settings-object"},"#")],-1),g={class:"two-up"},f={class:"left"},j={class:"definitions"},m=s("p",null,[s("code",null,"id"),t(),s("strong",null,"uuid"),s("br"),t(" Primary key of the setting.")],-1),b=s("p",null,[s("code",null,"project_name"),t(),s("strong",null,"string"),s("br"),t(" Name of the project, shown in the Admin App.")],-1),y=s("p",null,[s("code",null,"project_descriptor"),t(),s("strong",null,"string"),s("br"),t(" Descriptor of the project, shown in the Admin App.")],-1),v=s("p",null,[s("code",null,"project_url"),t(),s("strong",null,"string"),s("br"),t(" Link to the (public) website that goes with this project.")],-1),q=s("p",null,[s("code",null,"project_color"),t(),s("strong",null,"string"),s("br"),t(" Brand color for the current project.")],-1),w=s("code",null,"project_logo",-1),x=t(),k=s("strong",null,"many-to-one",-1),A=s("br",null,null,-1),S=t(" Primary logo for the current project. Many-to-one to "),R=t("files"),T=t("."),P=s("code",null,"public_foreground",-1),E=t(),C=s("strong",null,"many-to-one",-1),M=s("br",null,null,-1),B=t(" Foreground image for the Admin App\u2019s public pages. Many-to-one to "),O=t("files"),D=t("."),N=s("code",null,"public_background",-1),Q=t(),W=s("strong",null,"many-to-one",-1),G=s("br",null,null,-1),H=t(" Background image for the Admin App\u2019s public pages. Many-to-one to "),I=t("files"),L=t("."),V=s("p",null,[s("code",null,"public_note"),t(),s("strong",null,"string"),s("br"),t(" Note shown on the Admin App\u2019s public pages. Supports Markdown.")],-1),F=s("p",null,[s("code",null,"auth_login_attempts"),t(),s("strong",null,"integer"),s("br"),t(" How often a user is allowed to try to login. After which times the user will be suspended.")],-1),U=s("p",null,[s("code",null,"auth_password_policy"),t(),s("strong",null,"RegEx"),s("br"),t(" What regex passwords must pass in order to be valid.")],-1),z=s("code",null,"storage_asset_transform",-1),J=t(),K=s("strong",null,"string",-1),X=s("br",null,null,-1),Y=t(" If the transform endpoints are allowed to be used on "),Z=t("the assets endpoint"),$=t(". One of "),ss=s("code",null,"all",-1),ts=t(", "),es=s("code",null,"none",-1),ls=t(" or "),ns=s("code",null,"presets",-1),as=t("."),os=s("code",null,"storage_asset_presets",-1),rs=t(),cs=s("strong",null,"array",-1),is=s("br",null,null,-1),hs=t(" What preset keys exist in "),ds=t("the assets endpoint"),ps=t("."),_s=s("p",null,[s("code",null,"custom_css"),t(),s("strong",null,"string"),s("br"),t(" CSS rules to override the App\u2019s default styling.")],-1),us=s("p",null,[s("code",null,"storage_default_folder"),t(),s("strong",null,"uuid"),s("br"),t(" Folder for uploaded files. Does not affect existing files.")],-1),gs=s("p",null,[s("code",null,"basemaps"),t(),s("strong",null,"array"),s("br"),t(" Custom tiles to overriding the Mapbox defaults.")],-1),fs=s("p",null,[s("code",null,"mapbox_key"),t(),s("strong",null,"string"),s("br"),s("a",{href:"https://docs.mapbox.com/help/glossary/access-token/",target:"_blank",rel:"noopener noreferrer"},"Mapbox Access Token"),t(".")],-1),js=s("p",null,[s("code",null,"module_bar"),t(),s("strong",null,"array"),s("br"),t(" What modules are enabled/added globally.")],-1),ms=s("div",{class:"right"},[s("pre",null,[s("code",{class:"language-json"},[t(`{
|
|
2
2
|
`),s("span",{class:"hljs-attr"},'"data"'),t(`: {
|
|
3
3
|
`),s("span",{class:"hljs-attr"},'"id"'),t(": "),s("span",{class:"hljs-number"},"1"),t(`,
|
|
4
4
|
`),s("span",{class:"hljs-attr"},'"project_name"'),t(": "),s("span",{class:"hljs-string"},'"Directus"'),t(`,
|
|
@@ -22,7 +22,7 @@ import{r as o,p as i,q as h,w as e,z as s,t as n,N as t}from"./vendor.1339fc9e.j
|
|
|
22
22
|
`),s("span",{class:"hljs-attr"},'"module_bar"'),t(": "),s("span",{class:"hljs-literal"},"null"),t(`
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
`)])])],-1),bs=s("hr",null,null,-1),ys=s("h2",{id:"retrieve-settings"},[t("Retrieve Settings "),s("a",{class:"header-anchor",href:"#retrieve-settings"},"#")],-1),vs={class:"two-up"},qs={class:"left"},ws=s("h3",{id:"query-parameters"},[t("Query Parameters "),s("a",{class:"header-anchor",href:"#query-parameters"},"#")],-1),xs=t("Supports all "),ks=t("global query parameters"),As=t("."),Ss=s("h3",{id:"returns"},[t("Returns "),s("a",{class:"header-anchor",href:"#returns"},"#")],-1),
|
|
25
|
+
`)])])],-1),bs=s("hr",null,null,-1),ys=s("h2",{id:"retrieve-settings"},[t("Retrieve Settings "),s("a",{class:"header-anchor",href:"#retrieve-settings"},"#")],-1),vs={class:"two-up"},qs={class:"left"},ws=s("h3",{id:"query-parameters"},[t("Query Parameters "),s("a",{class:"header-anchor",href:"#query-parameters"},"#")],-1),xs=t("Supports all "),ks=t("global query parameters"),As=t("."),Ss=s("h3",{id:"returns"},[t("Returns "),s("a",{class:"header-anchor",href:"#returns"},"#")],-1),Rs=s("p",null,[t("Returns the "),s("a",{href:"#the-settings-object"},"settings object"),t(".")],-1),Ts=s("div",{class:"right"},[s("h3",{id:"rest-api"},[t("REST API "),s("a",{class:"header-anchor",href:"#rest-api"},"#")]),s("pre",null,[s("code",null,`GET /settings
|
|
26
26
|
`)]),s("h3",{id:"graphql"},[t("GraphQL "),s("a",{class:"header-anchor",href:"#graphql"},"#")]),s("pre",null,[s("code",null,`POST /graphql/system
|
|
27
27
|
`)]),s("pre",null,[s("code",{class:"language-graphql"},[s("span",{class:"hljs-keyword"},"type"),s("span",{class:"hljs-type"}," Query"),t(` {
|
|
28
28
|
settings: directus_settings
|
|
@@ -32,7 +32,7 @@ import{r as o,p as i,q as h,w as e,z as s,t as n,N as t}from"./vendor.1339fc9e.j
|
|
|
32
32
|
project_name
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
`)])])],-1),
|
|
35
|
+
`)])])],-1),Ps=s("hr",null,null,-1),Es=s("h2",{id:"update-settings"},[t("Update Settings "),s("a",{class:"header-anchor",href:"#update-settings"},"#")],-1),Cs={class:"two-up"},Ms={class:"left"},Bs=s("h3",{id:"query-parameters-2"},[t("Query Parameters "),s("a",{class:"header-anchor",href:"#query-parameters-2"},"#")],-1),Os=t("Supports all "),Ds=t("global query parameters"),Ns=t("."),Qs=s("h3",{id:"request-body"},[t("Request Body "),s("a",{class:"header-anchor",href:"#request-body"},"#")],-1),Ws=s("p",null,[t("A partial "),s("a",{href:"#the-settings-object"},"settings object"),t(".")],-1),Gs=s("h3",{id:"returns-2"},[t("Returns "),s("a",{class:"header-anchor",href:"#returns-2"},"#")],-1),Hs=s("p",null,[t("Returns the "),s("a",{href:"#the-setting-object"},"settings object"),t(".")],-1),Is=s("div",{class:"right"},[s("h3",{id:"rest-api-2"},[t("REST API "),s("a",{class:"header-anchor",href:"#rest-api-2"},"#")]),s("pre",null,[s("code",null,`PATCH /settings
|
|
36
36
|
`)]),s("h5",{id:"example-2"},[t("Example "),s("a",{class:"header-anchor",href:"#example-2"},"#")]),s("pre",null,[s("code",{class:"language-json"},[s("span",{class:"hljs-comment"},"// PATCH /settings"),t(`
|
|
37
37
|
|
|
38
38
|
{
|
|
@@ -48,4 +48,4 @@ import{r as o,p as i,q as h,w as e,z as s,t as n,N as t}from"./vendor.1339fc9e.j
|
|
|
48
48
|
project_url
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
`)])])],-1),zs={setup(Ls,{expose:r}){const a={title:"Settings",modularExtension:!1,pageClass:"page-reference"};return r({frontmatter:a}),(Vs,Fs)=>{const l=o("router-link"),c=o("DocsWrapper");return i(),h(c,{frontmatter:a},{default:e(()=>[s("div",d,[p,_,u,s("div",g,[s("div",
|
|
51
|
+
`)])])],-1),zs={setup(Ls,{expose:r}){const a={title:"Settings",modularExtension:!1,pageClass:"page-reference"};return r({frontmatter:a}),(Vs,Fs)=>{const l=o("router-link"),c=o("DocsWrapper");return i(),h(c,{frontmatter:a},{default:e(()=>[s("div",d,[p,_,u,s("div",g,[s("div",f,[s("div",j,[m,b,y,v,q,s("p",null,[w,x,k,A,S,n(l,{to:"/docs/reference/files/"},{default:e(()=>[R]),_:1}),T]),s("p",null,[P,E,C,M,B,n(l,{to:"/docs/reference/files/"},{default:e(()=>[O]),_:1}),D]),s("p",null,[N,Q,W,G,H,n(l,{to:"/docs/reference/files/"},{default:e(()=>[I]),_:1}),L]),V,F,U,s("p",null,[z,J,K,X,Y,n(l,{to:"/docs/reference/files/#requesting-a-thumbnail"},{default:e(()=>[Z]),_:1}),$,ss,ts,es,ls,ns,as]),s("p",null,[os,rs,cs,is,hs,n(l,{to:"/docs/reference/files/#requesting-a-thumbnail"},{default:e(()=>[ds]),_:1}),ps]),_s,us,gs,fs,js])]),ms]),bs,ys,s("div",vs,[s("div",qs,[ws,s("p",null,[xs,n(l,{to:"/docs/reference/query"},{default:e(()=>[ks]),_:1}),As]),Ss,Rs]),Ts]),Ps,Es,s("div",Cs,[s("div",Ms,[Bs,s("p",null,[Os,n(l,{to:"/docs/reference/query"},{default:e(()=>[Ds]),_:1}),Ns]),Qs,Ws,Gs,Hs]),Is])])]),_:1})}}};export{zs as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bK as E}from"./vendor.
|
|
1
|
+
import{bK as E}from"./vendor.9c15ff54.js";function O(h,k){return k.forEach(function(o){o&&typeof o!="string"&&!Array.isArray(o)&&Object.keys(o).forEach(function(f){if(f!=="default"&&!(f in h)){var c=Object.getOwnPropertyDescriptor(o,f);Object.defineProperty(h,f,c.get?c:{enumerable:!0,get:function(){return o[f]}})}})}),Object.freeze(h)}var b={exports:{}};(function(h,k){(function(o){o(E.exports)})(function(o){o.defineMode("shell",function(){var f={};function c(e,n){for(var r=0;r<n.length;r++)f[n[r]]=e}var a=["true","false"],d=["if","then","do","else","elif","while","until","for","in","esac","fi","fin","fil","done","exit","set","unset","export","function"],g=["ab","awk","bash","beep","cat","cc","cd","chown","chmod","chroot","clear","cp","curl","cut","diff","echo","find","gawk","gcc","get","git","grep","hg","kill","killall","ln","ls","make","mkdir","openssl","mv","nc","nl","node","npm","ping","ps","restart","rm","rmdir","sed","service","sh","shopt","shred","source","sort","sleep","ssh","start","stop","su","sudo","svn","tee","telnet","top","touch","vi","vim","wall","wc","wget","who","write","yes","zsh"];o.registerHelper("hintWords","shell",a.concat(d,g)),c("atom",a),c("keyword",d),c("builtin",g);function w(e,n){if(e.eatSpace())return null;var r=e.sol(),t=e.next();if(t==="\\")return e.next(),null;if(t==="'"||t==='"'||t==="`")return n.tokens.unshift(p(t,t==="`"?"quote":"string")),s(e,n);if(t==="#")return r&&e.eat("!")?(e.skipToEnd(),"meta"):(e.skipToEnd(),"comment");if(t==="$")return n.tokens.unshift(v),s(e,n);if(t==="+"||t==="=")return"operator";if(t==="-")return e.eat("-"),e.eatWhile(/\w/),"attribute";if(t=="<"){if(e.match("<<"))return"operator";var u=e.match(/^<-?\s*['"]?([^'"]*)['"]?/);if(u)return n.tokens.unshift(y(u[1])),"string-2"}if(/\d/.test(t)&&(e.eatWhile(/\d/),e.eol()||!/\w/.test(e.peek())))return"number";e.eatWhile(/[\w-]/);var i=e.current();return e.peek()==="="&&/\w+/.test(i)?"def":f.hasOwnProperty(i)?f[i]:null}function p(e,n){var r=e=="("?")":e=="{"?"}":e;return function(t,u){for(var i,l=!1;(i=t.next())!=null;){if(i===r&&!l){u.tokens.shift();break}else if(i==="$"&&!l&&e!=="'"&&t.peek()!=r){l=!0,t.backUp(1),u.tokens.unshift(v);break}else{if(!l&&e!==r&&i===e)return u.tokens.unshift(p(e,n)),s(t,u);if(!l&&/['"]/.test(i)&&!/['"]/.test(e)){u.tokens.unshift(x(i,"string")),t.backUp(1);break}}l=!l&&i==="\\"}return n}}function x(e,n){return function(r,t){return t.tokens[0]=p(e,n),r.next(),s(r,t)}}var v=function(e,n){n.tokens.length>1&&e.eat("$");var r=e.next();return/['"({]/.test(r)?(n.tokens[0]=p(r,r=="("?"quote":r=="{"?"def":"string"),s(e,n)):(/\d/.test(r)||e.eatWhile(/\w/),n.tokens.shift(),"def")};function y(e){return function(n,r){return n.sol()&&n.string==e&&r.tokens.shift(),n.skipToEnd(),"string-2"}}function s(e,n){return(n.tokens[0]||w)(e,n)}return{startState:function(){return{tokens:[]}},token:function(e,n){return s(e,n)},closeBrackets:"()[]{}''\"\"``",lineComment:"#",fold:"brace"}}),o.defineMIME("text/x-sh","shell"),o.defineMIME("application/x-sh","shell")})})();var S=b.exports,m=Object.freeze(O({__proto__:null,[Symbol.toStringTag]:"Module",default:S},[b.exports]));export{m as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bK as ot}from"./vendor.1339fc9e.js";function rt(A,L){return L.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(v){if(v!=="default"&&!(v in A)){var y=Object.getOwnPropertyDescriptor(r,v);Object.defineProperty(A,v,y.get?y:{enumerable:!0,get:function(){return r[v]}})}})}),Object.freeze(A)}var X={exports:{}};(function(A,L){(function(r){r(ot.exports)})(function(r){var v="CodeMirror-hint",y="CodeMirror-hint-active";r.showHint=function(t,e,i){if(!e)return t.showHint(i);i&&i.async&&(e.async=!0);var n={hint:e};if(i)for(var s in i)n[s]=i[s];return t.showHint(n)},r.defineExtension("showHint",function(t){t=Q(this,this.getCursor("start"),t);var e=this.listSelections();if(!(e.length>1)){if(this.somethingSelected()){if(!t.hint.supportsSelection)return;for(var i=0;i<e.length;i++)if(e[i].head.line!=e[i].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var n=this.state.completionActive=new R(this,t);!n.options.hint||(r.signal(this,"startCompletion",this),n.update(!0))}}),r.defineExtension("closeHint",function(){this.state.completionActive&&this.state.completionActive.close()});function R(t,e){if(this.cm=t,this.options=e,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length,this.options.updateOnCursorActivity){var i=this;t.on("cursorActivity",this.activityFunc=function(){i.cursorActivity()})}}var G=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},J=window.cancelAnimationFrame||clearTimeout;R.prototype={close:function(){!this.active()||(this.cm.state.completionActive=null,this.tick=null,this.options.updateOnCursorActivity&&this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&r.signal(this.data,"close"),this.widget&&this.widget.close(),r.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(t,e){var i=t.list[e],n=this;this.cm.operation(function(){i.hint?i.hint(n.cm,t,i):n.cm.replaceRange(P(i),i.from||t.from,i.to||t.to,"complete"),r.signal(t,"pick",i),n.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(J(this.debounce),this.debounce=0);var t=this.startPos;this.data&&(t=this.data.from);var e=this.cm.getCursor(),i=this.cm.getLine(e.line);if(e.line!=this.startPos.line||i.length-e.ch!=this.startLen-this.startPos.ch||e.ch<t.ch||this.cm.somethingSelected()||!e.ch||this.options.closeCharacters.test(i.charAt(e.ch-1)))this.close();else{var n=this;this.debounce=G(function(){n.update()}),this.widget&&this.widget.disable()}},update:function(t){if(this.tick!=null){var e=this,i=++this.tick;B(this.options.hint,this.cm,this.options,function(n){e.tick==i&&e.finishUpdate(n,t)})}},finishUpdate:function(t,e){this.data&&r.signal(this.data,"update");var i=this.widget&&this.widget.picked||e&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=t,t&&t.list.length&&(i&&t.list.length==1?this.pick(t,0):(this.widget=new _(this,t),r.signal(t,"shown")))}};function Q(t,e,i){var n=t.options.hintOptions,s={};for(var c in U)s[c]=U[c];if(n)for(var c in n)n[c]!==void 0&&(s[c]=n[c]);if(i)for(var c in i)i[c]!==void 0&&(s[c]=i[c]);return s.hint.resolve&&(s.hint=s.hint.resolve(t,e)),s}function P(t){return typeof t=="string"?t:t.text}function Z(t,e){var i={Up:function(){e.moveFocus(-1)},Down:function(){e.moveFocus(1)},PageUp:function(){e.moveFocus(-e.menuSize()+1,!0)},PageDown:function(){e.moveFocus(e.menuSize()-1,!0)},Home:function(){e.setFocus(0)},End:function(){e.setFocus(e.length-1)},Enter:e.pick,Tab:e.pick,Esc:e.close},n=/Mac/.test(navigator.platform);n&&(i["Ctrl-P"]=function(){e.moveFocus(-1)},i["Ctrl-N"]=function(){e.moveFocus(1)});var s=t.options.customKeys,c=s?{}:i;function o(u,l){var a;typeof l!="string"?a=function(w){return l(w,e)}:i.hasOwnProperty(l)?a=i[l]:a=l,c[u]=a}if(s)for(var f in s)s.hasOwnProperty(f)&&o(f,s[f]);var h=t.options.extraKeys;if(h)for(var f in h)h.hasOwnProperty(f)&&o(f,h[f]);return c}function K(t,e){for(;e&&e!=t;){if(e.nodeName.toUpperCase()==="LI"&&e.parentNode==t)return e;e=e.parentNode}}function _(t,e){this.id="cm-complete-"+Math.floor(Math.random(1e6)),this.completion=t,this.data=e,this.picked=!1;var i=this,n=t.cm,s=n.getInputField().ownerDocument,c=s.defaultView||s.parentWindow,o=this.hints=s.createElement("ul");o.setAttribute("role","listbox"),o.setAttribute("aria-expanded","true"),o.id=this.id;var f=t.cm.options.theme;o.className="CodeMirror-hints "+f,this.selectedHint=e.selectedHint||0;for(var h=e.list,u=0;u<h.length;++u){var l=o.appendChild(s.createElement("li")),a=h[u],w=v+(u!=this.selectedHint?"":" "+y);a.className!=null&&(w=a.className+" "+w),l.className=w,u==this.selectedHint&&l.setAttribute("aria-selected","true"),l.id=this.id+"-"+u,l.setAttribute("role","option"),a.render?a.render(l,e,a):l.appendChild(s.createTextNode(a.displayText||P(a))),l.hintId=u}var b=t.options.container||s.body,m=n.cursorCoords(t.options.alignWithWord?e.from:null),S=m.left,x=m.bottom,j=!0,T=0,O=0;if(b!==s.body){var it=["absolute","relative","fixed"].indexOf(c.getComputedStyle(b).position)!==-1,N=it?b:b.offsetParent,D=N.getBoundingClientRect(),z=s.body.getBoundingClientRect();T=D.left-z.left-N.scrollLeft,O=D.top-z.top-N.scrollTop}o.style.left=S-T+"px",o.style.top=x-O+"px";var k=c.innerWidth||Math.max(s.body.offsetWidth,s.documentElement.offsetWidth),I=c.innerHeight||Math.max(s.body.offsetHeight,s.documentElement.offsetHeight);b.appendChild(o),n.getInputField().setAttribute("aria-autocomplete","list"),n.getInputField().setAttribute("aria-owns",this.id),n.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);var g=t.options.moveOnOverlap?o.getBoundingClientRect():new DOMRect,M=t.options.paddingForScrollbar?o.scrollHeight>o.clientHeight+1:!1,H;setTimeout(function(){H=n.getScrollInfo()});var nt=g.bottom-I;if(nt>0){var C=g.bottom-g.top,st=m.top-(m.bottom-g.top);if(st-C>0)o.style.top=(x=m.top-C-O)+"px",j=!1;else if(C>I){o.style.height=I-5+"px",o.style.top=(x=m.bottom-g.top-O)+"px";var V=n.getCursor();e.from.ch!=V.ch&&(m=n.cursorCoords(V),o.style.left=(S=m.left-T)+"px",g=o.getBoundingClientRect())}}var F=g.right-k;if(M&&(F+=n.display.nativeBarWidth),F>0&&(g.right-g.left>k&&(o.style.width=k-5+"px",F-=g.right-g.left-k),o.style.left=(S=m.left-F-T)+"px"),M)for(var E=o.firstChild;E;E=E.nextSibling)E.style.paddingRight=n.display.nativeBarWidth+"px";if(n.addKeyMap(this.keyMap=Z(t,{moveFocus:function(p,d){i.changeActive(i.selectedHint+p,d)},setFocus:function(p){i.changeActive(p)},menuSize:function(){return i.screenAmount()},length:h.length,close:function(){t.close()},pick:function(){i.pick()},data:e})),t.options.closeOnUnfocus){var q;n.on("blur",this.onBlur=function(){q=setTimeout(function(){t.close()},100)}),n.on("focus",this.onFocus=function(){clearTimeout(q)})}n.on("scroll",this.onScroll=function(){var p=n.getScrollInfo(),d=n.getWrapperElement().getBoundingClientRect();H||(H=n.getScrollInfo());var $=x+H.top-p.top,W=$-(c.pageYOffset||(s.documentElement||s.body).scrollTop);if(j||(W+=o.offsetHeight),W<=d.top||W>=d.bottom)return t.close();o.style.top=$+"px",o.style.left=S+H.left-p.left+"px"}),r.on(o,"dblclick",function(p){var d=K(o,p.target||p.srcElement);d&&d.hintId!=null&&(i.changeActive(d.hintId),i.pick())}),r.on(o,"click",function(p){var d=K(o,p.target||p.srcElement);d&&d.hintId!=null&&(i.changeActive(d.hintId),t.options.completeOnSingleClick&&i.pick())}),r.on(o,"mousedown",function(){setTimeout(function(){n.focus()},20)});var Y=this.getSelectedHintRange();return(Y.from!==0||Y.to!==0)&&this.scrollToActive(),r.signal(e,"select",h[this.selectedHint],o.childNodes[this.selectedHint]),!0}_.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var t=this.completion.cm.getInputField();t.removeAttribute("aria-activedescendant"),t.removeAttribute("aria-owns");var e=this.completion.cm;this.completion.options.closeOnUnfocus&&(e.off("blur",this.onBlur),e.off("focus",this.onFocus)),e.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var t=this;this.keyMap={Enter:function(){t.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(t,e){if(t>=this.data.list.length?t=e?this.data.list.length-1:0:t<0&&(t=e?0:this.data.list.length-1),this.selectedHint!=t){var i=this.hints.childNodes[this.selectedHint];i&&(i.className=i.className.replace(" "+y,""),i.removeAttribute("aria-selected")),i=this.hints.childNodes[this.selectedHint=t],i.className+=" "+y,i.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",i.id),this.scrollToActive(),r.signal(this.data,"select",this.data.list[this.selectedHint],i)}},scrollToActive:function(){var t=this.getSelectedHintRange(),e=this.hints.childNodes[t.from],i=this.hints.childNodes[t.to],n=this.hints.firstChild;e.offsetTop<this.hints.scrollTop?this.hints.scrollTop=e.offsetTop-n.offsetTop:i.offsetTop+i.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=i.offsetTop+i.offsetHeight-this.hints.clientHeight+n.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var t=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-t),to:Math.min(this.data.list.length-1,this.selectedHint+t)}}};function tt(t,e){if(!t.somethingSelected())return e;for(var i=[],n=0;n<e.length;n++)e[n].supportsSelection&&i.push(e[n]);return i}function B(t,e,i,n){if(t.async)t(e,n,i);else{var s=t(e,i);s&&s.then?s.then(n):n(s)}}function et(t,e){var i=t.getHelpers(e,"hint"),n;if(i.length){var s=function(c,o,f){var h=tt(c,i);function u(l){if(l==h.length)return o(null);B(h[l],c,f,function(a){a&&a.list.length>0?o(a):u(l+1)})}u(0)};return s.async=!0,s.supportsSelection=!0,s}else return(n=t.getHelper(t.getCursor(),"hintWords"))?function(c){return r.hint.fromList(c,{words:n})}:r.hint.anyword?function(c,o){return r.hint.anyword(c,o)}:function(){}}r.registerHelper("hint","auto",{resolve:et}),r.registerHelper("hint","fromList",function(t,e){var i=t.getCursor(),n=t.getTokenAt(i),s,c=r.Pos(i.line,n.start),o=i;n.start<i.ch&&/\w/.test(n.string.charAt(i.ch-n.start-1))?s=n.string.substr(0,i.ch-n.start):(s="",c=i);for(var f=[],h=0;h<e.words.length;h++){var u=e.words[h];u.slice(0,s.length)==s&&f.push(u)}if(f.length)return{list:f,from:c,to:o}}),r.commands.autocomplete=r.showHint;var U={hint:r.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};r.defineOption("hintOptions",null)})})();var ct=X.exports,ht=Object.freeze(rt({__proto__:null,[Symbol.toStringTag]:"Module",default:ct},[X.exports]));export{ht as s};
|
|
1
|
+
import{bK as ot}from"./vendor.9c15ff54.js";function rt(A,L){return L.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(v){if(v!=="default"&&!(v in A)){var y=Object.getOwnPropertyDescriptor(r,v);Object.defineProperty(A,v,y.get?y:{enumerable:!0,get:function(){return r[v]}})}})}),Object.freeze(A)}var X={exports:{}};(function(A,L){(function(r){r(ot.exports)})(function(r){var v="CodeMirror-hint",y="CodeMirror-hint-active";r.showHint=function(t,e,i){if(!e)return t.showHint(i);i&&i.async&&(e.async=!0);var n={hint:e};if(i)for(var s in i)n[s]=i[s];return t.showHint(n)},r.defineExtension("showHint",function(t){t=Q(this,this.getCursor("start"),t);var e=this.listSelections();if(!(e.length>1)){if(this.somethingSelected()){if(!t.hint.supportsSelection)return;for(var i=0;i<e.length;i++)if(e[i].head.line!=e[i].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var n=this.state.completionActive=new R(this,t);!n.options.hint||(r.signal(this,"startCompletion",this),n.update(!0))}}),r.defineExtension("closeHint",function(){this.state.completionActive&&this.state.completionActive.close()});function R(t,e){if(this.cm=t,this.options=e,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length,this.options.updateOnCursorActivity){var i=this;t.on("cursorActivity",this.activityFunc=function(){i.cursorActivity()})}}var G=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},J=window.cancelAnimationFrame||clearTimeout;R.prototype={close:function(){!this.active()||(this.cm.state.completionActive=null,this.tick=null,this.options.updateOnCursorActivity&&this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&r.signal(this.data,"close"),this.widget&&this.widget.close(),r.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(t,e){var i=t.list[e],n=this;this.cm.operation(function(){i.hint?i.hint(n.cm,t,i):n.cm.replaceRange(P(i),i.from||t.from,i.to||t.to,"complete"),r.signal(t,"pick",i),n.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(J(this.debounce),this.debounce=0);var t=this.startPos;this.data&&(t=this.data.from);var e=this.cm.getCursor(),i=this.cm.getLine(e.line);if(e.line!=this.startPos.line||i.length-e.ch!=this.startLen-this.startPos.ch||e.ch<t.ch||this.cm.somethingSelected()||!e.ch||this.options.closeCharacters.test(i.charAt(e.ch-1)))this.close();else{var n=this;this.debounce=G(function(){n.update()}),this.widget&&this.widget.disable()}},update:function(t){if(this.tick!=null){var e=this,i=++this.tick;B(this.options.hint,this.cm,this.options,function(n){e.tick==i&&e.finishUpdate(n,t)})}},finishUpdate:function(t,e){this.data&&r.signal(this.data,"update");var i=this.widget&&this.widget.picked||e&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=t,t&&t.list.length&&(i&&t.list.length==1?this.pick(t,0):(this.widget=new _(this,t),r.signal(t,"shown")))}};function Q(t,e,i){var n=t.options.hintOptions,s={};for(var c in U)s[c]=U[c];if(n)for(var c in n)n[c]!==void 0&&(s[c]=n[c]);if(i)for(var c in i)i[c]!==void 0&&(s[c]=i[c]);return s.hint.resolve&&(s.hint=s.hint.resolve(t,e)),s}function P(t){return typeof t=="string"?t:t.text}function Z(t,e){var i={Up:function(){e.moveFocus(-1)},Down:function(){e.moveFocus(1)},PageUp:function(){e.moveFocus(-e.menuSize()+1,!0)},PageDown:function(){e.moveFocus(e.menuSize()-1,!0)},Home:function(){e.setFocus(0)},End:function(){e.setFocus(e.length-1)},Enter:e.pick,Tab:e.pick,Esc:e.close},n=/Mac/.test(navigator.platform);n&&(i["Ctrl-P"]=function(){e.moveFocus(-1)},i["Ctrl-N"]=function(){e.moveFocus(1)});var s=t.options.customKeys,c=s?{}:i;function o(u,l){var a;typeof l!="string"?a=function(w){return l(w,e)}:i.hasOwnProperty(l)?a=i[l]:a=l,c[u]=a}if(s)for(var f in s)s.hasOwnProperty(f)&&o(f,s[f]);var h=t.options.extraKeys;if(h)for(var f in h)h.hasOwnProperty(f)&&o(f,h[f]);return c}function K(t,e){for(;e&&e!=t;){if(e.nodeName.toUpperCase()==="LI"&&e.parentNode==t)return e;e=e.parentNode}}function _(t,e){this.id="cm-complete-"+Math.floor(Math.random(1e6)),this.completion=t,this.data=e,this.picked=!1;var i=this,n=t.cm,s=n.getInputField().ownerDocument,c=s.defaultView||s.parentWindow,o=this.hints=s.createElement("ul");o.setAttribute("role","listbox"),o.setAttribute("aria-expanded","true"),o.id=this.id;var f=t.cm.options.theme;o.className="CodeMirror-hints "+f,this.selectedHint=e.selectedHint||0;for(var h=e.list,u=0;u<h.length;++u){var l=o.appendChild(s.createElement("li")),a=h[u],w=v+(u!=this.selectedHint?"":" "+y);a.className!=null&&(w=a.className+" "+w),l.className=w,u==this.selectedHint&&l.setAttribute("aria-selected","true"),l.id=this.id+"-"+u,l.setAttribute("role","option"),a.render?a.render(l,e,a):l.appendChild(s.createTextNode(a.displayText||P(a))),l.hintId=u}var b=t.options.container||s.body,m=n.cursorCoords(t.options.alignWithWord?e.from:null),S=m.left,x=m.bottom,j=!0,T=0,O=0;if(b!==s.body){var it=["absolute","relative","fixed"].indexOf(c.getComputedStyle(b).position)!==-1,N=it?b:b.offsetParent,D=N.getBoundingClientRect(),z=s.body.getBoundingClientRect();T=D.left-z.left-N.scrollLeft,O=D.top-z.top-N.scrollTop}o.style.left=S-T+"px",o.style.top=x-O+"px";var k=c.innerWidth||Math.max(s.body.offsetWidth,s.documentElement.offsetWidth),I=c.innerHeight||Math.max(s.body.offsetHeight,s.documentElement.offsetHeight);b.appendChild(o),n.getInputField().setAttribute("aria-autocomplete","list"),n.getInputField().setAttribute("aria-owns",this.id),n.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);var g=t.options.moveOnOverlap?o.getBoundingClientRect():new DOMRect,M=t.options.paddingForScrollbar?o.scrollHeight>o.clientHeight+1:!1,H;setTimeout(function(){H=n.getScrollInfo()});var nt=g.bottom-I;if(nt>0){var C=g.bottom-g.top,st=m.top-(m.bottom-g.top);if(st-C>0)o.style.top=(x=m.top-C-O)+"px",j=!1;else if(C>I){o.style.height=I-5+"px",o.style.top=(x=m.bottom-g.top-O)+"px";var V=n.getCursor();e.from.ch!=V.ch&&(m=n.cursorCoords(V),o.style.left=(S=m.left-T)+"px",g=o.getBoundingClientRect())}}var F=g.right-k;if(M&&(F+=n.display.nativeBarWidth),F>0&&(g.right-g.left>k&&(o.style.width=k-5+"px",F-=g.right-g.left-k),o.style.left=(S=m.left-F-T)+"px"),M)for(var E=o.firstChild;E;E=E.nextSibling)E.style.paddingRight=n.display.nativeBarWidth+"px";if(n.addKeyMap(this.keyMap=Z(t,{moveFocus:function(p,d){i.changeActive(i.selectedHint+p,d)},setFocus:function(p){i.changeActive(p)},menuSize:function(){return i.screenAmount()},length:h.length,close:function(){t.close()},pick:function(){i.pick()},data:e})),t.options.closeOnUnfocus){var q;n.on("blur",this.onBlur=function(){q=setTimeout(function(){t.close()},100)}),n.on("focus",this.onFocus=function(){clearTimeout(q)})}n.on("scroll",this.onScroll=function(){var p=n.getScrollInfo(),d=n.getWrapperElement().getBoundingClientRect();H||(H=n.getScrollInfo());var $=x+H.top-p.top,W=$-(c.pageYOffset||(s.documentElement||s.body).scrollTop);if(j||(W+=o.offsetHeight),W<=d.top||W>=d.bottom)return t.close();o.style.top=$+"px",o.style.left=S+H.left-p.left+"px"}),r.on(o,"dblclick",function(p){var d=K(o,p.target||p.srcElement);d&&d.hintId!=null&&(i.changeActive(d.hintId),i.pick())}),r.on(o,"click",function(p){var d=K(o,p.target||p.srcElement);d&&d.hintId!=null&&(i.changeActive(d.hintId),t.options.completeOnSingleClick&&i.pick())}),r.on(o,"mousedown",function(){setTimeout(function(){n.focus()},20)});var Y=this.getSelectedHintRange();return(Y.from!==0||Y.to!==0)&&this.scrollToActive(),r.signal(e,"select",h[this.selectedHint],o.childNodes[this.selectedHint]),!0}_.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var t=this.completion.cm.getInputField();t.removeAttribute("aria-activedescendant"),t.removeAttribute("aria-owns");var e=this.completion.cm;this.completion.options.closeOnUnfocus&&(e.off("blur",this.onBlur),e.off("focus",this.onFocus)),e.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var t=this;this.keyMap={Enter:function(){t.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(t,e){if(t>=this.data.list.length?t=e?this.data.list.length-1:0:t<0&&(t=e?0:this.data.list.length-1),this.selectedHint!=t){var i=this.hints.childNodes[this.selectedHint];i&&(i.className=i.className.replace(" "+y,""),i.removeAttribute("aria-selected")),i=this.hints.childNodes[this.selectedHint=t],i.className+=" "+y,i.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",i.id),this.scrollToActive(),r.signal(this.data,"select",this.data.list[this.selectedHint],i)}},scrollToActive:function(){var t=this.getSelectedHintRange(),e=this.hints.childNodes[t.from],i=this.hints.childNodes[t.to],n=this.hints.firstChild;e.offsetTop<this.hints.scrollTop?this.hints.scrollTop=e.offsetTop-n.offsetTop:i.offsetTop+i.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=i.offsetTop+i.offsetHeight-this.hints.clientHeight+n.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var t=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-t),to:Math.min(this.data.list.length-1,this.selectedHint+t)}}};function tt(t,e){if(!t.somethingSelected())return e;for(var i=[],n=0;n<e.length;n++)e[n].supportsSelection&&i.push(e[n]);return i}function B(t,e,i,n){if(t.async)t(e,n,i);else{var s=t(e,i);s&&s.then?s.then(n):n(s)}}function et(t,e){var i=t.getHelpers(e,"hint"),n;if(i.length){var s=function(c,o,f){var h=tt(c,i);function u(l){if(l==h.length)return o(null);B(h[l],c,f,function(a){a&&a.list.length>0?o(a):u(l+1)})}u(0)};return s.async=!0,s.supportsSelection=!0,s}else return(n=t.getHelper(t.getCursor(),"hintWords"))?function(c){return r.hint.fromList(c,{words:n})}:r.hint.anyword?function(c,o){return r.hint.anyword(c,o)}:function(){}}r.registerHelper("hint","auto",{resolve:et}),r.registerHelper("hint","fromList",function(t,e){var i=t.getCursor(),n=t.getTokenAt(i),s,c=r.Pos(i.line,n.start),o=i;n.start<i.ch&&/\w/.test(n.string.charAt(i.ch-n.start-1))?s=n.string.substr(0,i.ch-n.start):(s="",c=i);for(var f=[],h=0;h<e.words.length;h++){var u=e.words[h];u.slice(0,s.length)==s&&f.push(u)}if(f.length)return{list:f,from:c,to:o}}),r.commands.autocomplete=r.showHint;var U={hint:r.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};r.defineOption("hintOptions",null)})})();var ct=X.exports,ht=Object.freeze(rt({__proto__:null,[Symbol.toStringTag]:"Module",default:ct},[X.exports]));export{ht as s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{bK as b}from"./vendor.9c15ff54.js";function _(l,p){return p.forEach(function(t){t&&typeof t!="string"&&!Array.isArray(t)&&Object.keys(t).forEach(function(o){if(o!=="default"&&!(o in l)){var u=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(l,o,u.get?u:{enumerable:!0,get:function(){return t[o]}})}})}),Object.freeze(l)}var a={exports:{}};(function(l,p){(function(t){t(b.exports)})(function(t){t.defineMode("sieve",function(o){function u(n){for(var e={},r=n.split(" "),i=0;i<r.length;++i)e[r[i]]=!0;return e}var s=u("if elsif else stop require"),v=u("true false not"),k=o.indentUnit;function f(n,e){var r=n.next();if(r=="/"&&n.eat("*"))return e.tokenize=d,d(n,e);if(r==="#")return n.skipToEnd(),"comment";if(r=='"')return e.tokenize=h(r),e.tokenize(n,e);if(r=="(")return e._indent.push("("),e._indent.push("{"),null;if(r==="{")return e._indent.push("{"),null;if(r==")"&&(e._indent.pop(),e._indent.pop()),r==="}")return e._indent.pop(),null;if(r==","||r==";"||/[{}\(\),;]/.test(r))return null;if(/\d/.test(r))return n.eatWhile(/[\d]/),n.eat(/[KkMmGg]/),"number";if(r==":")return n.eatWhile(/[a-zA-Z_]/),n.eatWhile(/[a-zA-Z0-9_]/),"operator";n.eatWhile(/\w/);var i=n.current();return i=="text"&&n.eat(":")?(e.tokenize=g,"string"):s.propertyIsEnumerable(i)?"keyword":v.propertyIsEnumerable(i)?"atom":null}function g(n,e){return e._multiLineString=!0,n.sol()?(n.next()=="."&&n.eol()&&(e._multiLineString=!1,e.tokenize=f),"string"):(n.eatSpace(),n.peek()=="#"?(n.skipToEnd(),"comment"):(n.skipToEnd(),"string"))}function d(n,e){for(var r=!1,i;(i=n.next())!=null;){if(r&&i=="/"){e.tokenize=f;break}r=i=="*"}return"comment"}function h(n){return function(e,r){for(var i=!1,c;(c=e.next())!=null&&!(c==n&&!i);)i=!i&&c=="\\";return i||(r.tokenize=f),"string"}}return{startState:function(n){return{tokenize:f,baseIndent:n||0,_indent:[]}},token:function(n,e){return n.eatSpace()?null:(e.tokenize||f)(n,e)},indent:function(n,e){var r=n._indent.length;return e&&e[0]=="}"&&r--,r<0&&(r=0),r*k},electricChars:"}"}}),t.defineMIME("application/sieve","sieve")})})();var z=a.exports,x=Object.freeze(_({__proto__:null,[Symbol.toStringTag]:"Module",default:z},[a.exports]));export{x as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bK as E}from"./vendor.
|
|
1
|
+
import{bK as E}from"./vendor.9c15ff54.js";var U={exports:{}};(function(I,R){(function(g){g(E.exports)})(function(g){g.defineSimpleMode=function(t,o){g.defineMode(t,function(n){return g.simpleMode(n,o)})},g.simpleMode=function(t,o){x(o,"start");var n={},e=o.meta||{},r=!1;for(var l in o)if(l!=e&&o.hasOwnProperty(l))for(var a=n[l]=[],u=o[l],d=0;d<u.length;d++){var i=u[d];a.push(new k(i,o)),(i.indent||i.dedent)&&(r=!0)}var p={startState:function(){return{state:"start",pending:null,local:null,localState:null,indent:r?[]:null}},copyState:function(f){var h={state:f.state,pending:f.pending,local:f.local,localState:null,indent:f.indent&&f.indent.slice(0)};f.localState&&(h.localState=g.copyState(f.local.mode,f.localState)),f.stack&&(h.stack=f.stack.slice(0));for(var S=f.persistentStates;S;S=S.next)h.persistentStates={mode:S.mode,spec:S.spec,state:S.state==f.localState?h.localState:g.copyState(S.mode,S.state),next:h.persistentStates};return h},token:m(n,t),innerMode:function(f){return f.local&&{mode:f.local.mode,state:f.localState}},indent:P(n,e)};if(e)for(var c in e)e.hasOwnProperty(c)&&(p[c]=e[c]);return p};function x(t,o){if(!t.hasOwnProperty(o))throw new Error("Undefined state "+o+" in simple mode")}function s(t,o){if(!t)return/(?:)/;var n="";return t instanceof RegExp?(t.ignoreCase&&(n="i"),t.unicode&&(n+="u"),t=t.source):t=String(t),new RegExp((o===!1?"":"^")+"(?:"+t+")",n)}function y(t){if(!t)return null;if(t.apply)return t;if(typeof t=="string")return t.replace(/\./g," ");for(var o=[],n=0;n<t.length;n++)o.push(t[n]&&t[n].replace(/\./g," "));return o}function k(t,o){(t.next||t.push)&&x(o,t.next||t.push),this.regex=s(t.regex),this.token=y(t.token),this.data=t}function m(t,o){return function(n,e){if(e.pending){var r=e.pending.shift();return e.pending.length==0&&(e.pending=null),n.pos+=r.text.length,r.token}if(e.local)if(e.local.end&&n.match(e.local.end)){var l=e.local.endToken||null;return e.local=e.localState=null,l}else{var l=e.local.mode.token(n,e.localState),a;return e.local.endScan&&(a=e.local.endScan.exec(n.current()))&&(n.pos=n.start+a.index),l}for(var u=t[e.state],d=0;d<u.length;d++){var i=u[d],p=(!i.data.sol||n.sol())&&n.match(i.regex);if(p){i.data.next?e.state=i.data.next:i.data.push?((e.stack||(e.stack=[])).push(e.state),e.state=i.data.push):i.data.pop&&e.stack&&e.stack.length&&(e.state=e.stack.pop()),i.data.mode&&w(o,e,i.data.mode,i.token),i.data.indent&&e.indent.push(n.indentation()+o.indentUnit),i.data.dedent&&e.indent.pop();var c=i.token;if(c&&c.apply&&(c=c(p)),p.length>2&&i.token&&typeof i.token!="string"){for(var f=2;f<p.length;f++)p[f]&&(e.pending||(e.pending=[])).push({text:p[f],token:i.token[f-1]});return n.backUp(p[0].length-(p[1]?p[1].length:0)),c[0]}else return c&&c.join?c[0]:c}}return n.next(),null}}function v(t,o){if(t===o)return!0;if(!t||typeof t!="object"||!o||typeof o!="object")return!1;var n=0;for(var e in t)if(t.hasOwnProperty(e)){if(!o.hasOwnProperty(e)||!v(t[e],o[e]))return!1;n++}for(var e in o)o.hasOwnProperty(e)&&n--;return n==0}function w(t,o,n,e){var r;if(n.persistent)for(var l=o.persistentStates;l&&!r;l=l.next)(n.spec?v(n.spec,l.spec):n.mode==l.mode)&&(r=l);var a=r?r.mode:n.mode||g.getMode(t,n.spec),u=r?r.state:g.startState(a);n.persistent&&!r&&(o.persistentStates={mode:a,spec:n.spec,state:u,next:o.persistentStates}),o.localState=u,o.local={mode:a,end:n.end&&s(n.end),endScan:n.end&&n.forceEnd!==!1&&s(n.end,!1),endToken:e&&e.join?e[e.length-1]:e}}function O(t,o){for(var n=0;n<o.length;n++)if(o[n]===t)return!0}function P(t,o){return function(n,e,r){if(n.local&&n.local.mode.indent)return n.local.mode.indent(n.localState,e,r);if(n.indent==null||n.local||o.dontIndentStates&&O(n.state,o.dontIndentStates)>-1)return g.Pass;var l=n.indent.length-1,a=t[n.state];n:for(;;){for(var u=0;u<a.length;u++){var d=a[u];if(d.data.dedent&&d.data.dedentIfLineStart!==!1){var i=d.regex.exec(e);if(i&&i[0]){l--,(d.next||d.push)&&(a=t[d.next||d.push]),e=e.slice(i[0].length);continue n}}}break}return l<0?0:n.indent[l]}}})})();export{U as s};
|