@directus/app 9.9.1 → 9.10.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.83ecd947.entry.js +1 -0
- package/dist/assets/{accounts.5e4228ef.js → accounts.5730f58a.js} +1 -1
- package/dist/assets/{active-line.c47b5f35.js → active-line.ebb71fb8.js} +1 -1
- package/dist/assets/{activity-log.05fbb6b2.js → activity-log.c9235b62.js} +1 -1
- package/dist/assets/{activity.9ac0d92d.js → activity.ff4cb799.js} +1 -1
- package/dist/assets/{apl.44b147a4.js → apl.976167c0.js} +1 -1
- package/dist/assets/{asciiarmor.d9d1a74a.js → asciiarmor.45c16f31.js} +1 -1
- package/dist/assets/{asn.1.0bedcc18.js → asn.1.7f874dea.js} +1 -1
- package/dist/assets/{asterisk.9e1e2b5c.js → asterisk.55e38066.js} +1 -1
- package/dist/assets/{authentication.f55a38e7.js → authentication.37ab728d.js} +1 -1
- package/dist/assets/{autorefresh.bb3b714c.js → autorefresh.f4273b37.js} +1 -1
- package/dist/assets/{aws.1b5dfcb9.js → aws.2cbdae9b.js} +1 -1
- package/dist/assets/{backing-directus.6688e1d8.js → backing-directus.c30814b2.js} +1 -1
- package/dist/assets/{brainfuck.9f0e8180.js → brainfuck.ab8ecbbf.js} +1 -1
- package/dist/assets/{cli.0ca53593.js → cli.0a4df861.js} +2 -2
- package/dist/assets/{cli.7b4e2953.js → cli.972136c7.js} +1 -1
- package/dist/assets/{clike.99cd0401.js → clike.8c0b0d8f.js} +1 -1
- package/dist/assets/{clojure.1faf0a0a.js → clojure.e58df985.js} +1 -1
- package/dist/assets/{cloudron.e59a593d.js → cloudron.c5c97204.js} +1 -1
- package/dist/assets/cmake.77c3a78b.js +1 -0
- package/dist/assets/{cobol.94e4970e.js → cobol.5800890d.js} +1 -1
- package/dist/assets/{codebase-overview.2a6823b1.js → codebase-overview.41eb2e19.js} +1 -1
- package/dist/assets/{coffeescript.c48d036c.js → coffeescript.65bdab88.js} +1 -1
- package/dist/assets/collections.c691fda2.js +2 -0
- package/dist/assets/{collections.315f4d8c.js → collections.cf70d96a.js} +1 -1
- package/dist/assets/{commonlisp.38e77db1.js → commonlisp.fdaf9ea0.js} +1 -1
- package/dist/assets/config-options.f4fd7c46.js +138 -0
- package/dist/assets/content.a28f530b.js +1 -0
- package/dist/assets/{creating-extensions.0c8abfa1.js → creating-extensions.5b5af540.js} +2 -2
- package/dist/assets/{crystal.797d41f8.js → crystal.d36108d5.js} +1 -1
- package/dist/assets/{css.4143f596.js → css.af9df8d9.js} +1 -1
- package/dist/assets/{cypher.b8b073de.js → cypher.c083eec3.js} +1 -1
- package/dist/assets/{d.1d4ff6fe.js → d.b4f5d1f2.js} +1 -1
- package/dist/assets/{da-DK.6750ac06.js → da-DK.eafe971e.js} +1 -1
- package/dist/assets/{dart.09b87006.js → dart.af866fff.js} +1 -1
- package/dist/assets/{data-model.3e1183a6.js → data-model.5bf39838.js} +1 -1
- package/dist/assets/data-sharing.2f88743d.js +1 -0
- package/dist/assets/{diff.5151f967.js → diff.52a32496.js} +1 -1
- package/dist/assets/{digitalocean-app-platform.05c4c314.js → digitalocean-app-platform.21eddffd.js} +1 -1
- package/dist/assets/{displays.f0798610.js → displays.74c0202c.js} +1 -1
- package/dist/assets/{django.25ec1935.js → django.804afcea.js} +1 -1
- package/dist/assets/{docker.50e94433.js → docker.3fd073e7.js} +1 -1
- package/dist/assets/{dockerfile.cabedb31.js → dockerfile.8cc3eed0.js} +1 -1
- package/dist/assets/{documentation.1ed9f7a2.js → documentation.037616ed.js} +1 -1
- package/dist/assets/{dtd.82e83b59.js → dtd.5a4c5958.js} +1 -1
- package/dist/assets/{dylan.9c51410f.js → dylan.f5a1dc92.js} +1 -1
- package/dist/assets/{ebnf.ae5c413a.js → ebnf.19298dc4.js} +1 -1
- package/dist/assets/{ecl.c4cb88ea.js → ecl.1b12a71c.js} +1 -1
- package/dist/assets/{eiffel.353baac9.js → eiffel.78a4a13f.js} +1 -1
- package/dist/assets/el-GR.6cae7a1c.js +1 -0
- package/dist/assets/{elm.bd4624df.js → elm.c5b4e3d7.js} +1 -1
- package/dist/assets/{email-templates.f9a5e9df.js → email-templates.015f656b.js} +2 -2
- package/dist/assets/{endpoints.33794f8d.js → endpoints.ad718303.js} +2 -2
- package/dist/assets/{erlang.9dbc839d.js → erlang.5ba0e81e.js} +1 -1
- package/dist/assets/es-419.6fa04597.js +1 -0
- package/dist/assets/{extensions.de24a384.js → extensions.a78a0bab.js} +1 -1
- package/dist/assets/{factor.c11b1d46.js → factor.474d1346.js} +1 -1
- package/dist/assets/{faq.ac13aeaa.js → faq.79215fd0.js} +1 -1
- package/dist/assets/{fcl.a5a5f935.js → fcl.faa472c2.js} +1 -1
- package/dist/assets/{fields.bc105e57.js → fields.446cb520.js} +1 -1
- package/dist/assets/{file-library.bc6397f9.js → file-library.2eee653e.js} +1 -1
- package/dist/assets/{files.18ebb2c6.js → files.d159019e.js} +1 -1
- package/dist/assets/{filter-rules.0cd75320.js → filter-rules.da99ca6f.js} +1 -1
- package/dist/assets/{filters.ce249fa9.js → filters.50017874.js} +1 -1
- package/dist/assets/{folders.8f839f67.js → folders.8e9a04b0.js} +1 -1
- package/dist/assets/{forth.2a48338c.js → forth.f24b3d09.js} +1 -1
- package/dist/assets/{fortran.39a5d2da.js → fortran.fbb666b5.js} +1 -1
- package/dist/assets/{gas.2be39a3b.js → gas.f0748dd2.js} +1 -1
- package/dist/assets/{gcp.f6eca353.js → gcp.c7cb44ca.js} +1 -1
- package/dist/assets/{gfm.8e609735.js → gfm.877310b0.js} +1 -1
- package/dist/assets/{gherkin.7379fdd0.js → gherkin.3d7e0a5d.js} +1 -1
- package/dist/assets/{github-ci.35b5d221.js → github-ci.a7b2c801.js} +1 -1
- package/dist/assets/{glossary.0bfb8dee.js → glossary.1f1de0b0.js} +1 -1
- package/dist/assets/{glossary.50f82640.js → glossary.36456466.js} +1 -1
- package/dist/assets/{go.57e9d20a.js → go.83a7c333.js} +1 -1
- package/dist/assets/{groovy.0164fcf3.js → groovy.884233c9.js} +1 -1
- package/dist/assets/{haml.9baa3f10.js → haml.3e1c682b.js} +1 -1
- package/dist/assets/{handlebars.2ca50502.js → handlebars.bef17c70.js} +1 -1
- package/dist/assets/{haskell-literate.d6ca9fd0.js → haskell-literate.26780990.js} +1 -1
- package/dist/assets/{haskell.bc6c4772.js → haskell.fd518ccf.js} +1 -1
- package/dist/assets/{haxe.478e9912.js → haxe.4b2e78c7.js} +1 -1
- package/dist/assets/{hooks.3d981c49.js → hooks.50182523.js} +1 -1
- package/dist/assets/{htmlembedded.62531935.js → htmlembedded.d8b6ff8e.js} +1 -1
- package/dist/assets/{htmlmixed.634bf459.js → htmlmixed.97a3b948.js} +1 -1
- package/dist/assets/{http.67a323b7.js → http.86104e7d.js} +1 -1
- package/dist/assets/{idl.8238e552.js → idl.b4dc075f.js} +1 -1
- package/dist/assets/{iis.f17cd9e8.js → iis.df3e4d3b.js} +2 -2
- package/dist/assets/{import-export.37729346.js → import-export.fa969793.js} +1 -1
- package/dist/assets/{index.72f04310.js → index.03933ae1.js} +1 -1
- package/dist/assets/{index.6e68ad3a.js → index.07942b86.js} +1 -1
- package/dist/assets/{index.9a02c131.js → index.0965f2ea.js} +1 -1
- package/dist/assets/{index.20d232c4.js → index.0a4cd515.js} +1 -1
- package/dist/assets/{index.3018ece6.js → index.0ad4f3d0.js} +1 -1
- package/dist/assets/{index.2eae8e43.js → index.17154988.js} +1 -1
- package/dist/assets/{index.a3ff4cef.js → index.1bfa0805.js} +1 -1
- package/dist/assets/{index.03e82d0f.js → index.1c338ca1.js} +1 -1
- package/dist/assets/{index.66ad62bb.js → index.20fca3e7.js} +1 -1
- package/dist/assets/{index.5f8f7e76.js → index.21310180.js} +1 -1
- package/dist/assets/{index.b90a9a9e.js → index.22509b50.js} +1 -1
- package/dist/assets/{index.0898ffcc.js → index.238a3268.js} +1 -1
- package/dist/assets/{index.71c27623.js → index.23fc74ac.js} +1 -1
- package/dist/assets/{index.eca0f639.js → index.246ca0ff.js} +1 -1
- package/dist/assets/{index.39fac911.js → index.2497550e.js} +1 -1
- package/dist/assets/{index.370f33b2.js → index.287575da.js} +1 -1
- package/dist/assets/{index.e6b36791.js → index.2c02b800.js} +1 -1
- package/dist/assets/{index.61ee2548.js → index.2cbb3f8d.js} +1 -1
- package/dist/assets/{index.74831233.js → index.2ea1f7d6.js} +1 -1
- package/dist/assets/{index.e56bb3bf.js → index.31d97c88.js} +1 -1
- package/dist/assets/{index.93145a08.js → index.33033888.js} +1 -1
- package/dist/assets/{index.5836bfd3.js → index.3615276e.js} +1 -1
- package/dist/assets/{index.d67df067.js → index.3c303b00.js} +1 -1
- package/dist/assets/{index.e02bc037.js → index.42d258a4.js} +1 -1
- package/dist/assets/{index.69b05a1e.js → index.43052732.js} +1 -1
- package/dist/assets/{index.3a3a3436.js → index.47b05378.js} +1 -1
- package/dist/assets/{index.6c1cd895.js → index.496e25ca.js} +1 -1
- package/dist/assets/{index.e420cfa9.js → index.581b15b9.js} +1 -1
- package/dist/assets/{index.9f82e3be.js → index.58482880.js} +1 -1
- package/dist/assets/{index.47c4a06c.js → index.5f27ce64.js} +1 -1
- package/dist/assets/{index.a40ba614.js → index.5f7f173b.js} +1 -1
- package/dist/assets/{index.9a4eb005.js → index.5faf5621.js} +1 -1
- package/dist/assets/{index.524bdca1.js → index.63373d3a.js} +1 -1
- package/dist/assets/{index.6b991ff5.js → index.64299c43.js} +1 -1
- package/dist/assets/{index.3fcc5be7.js → index.682125dd.js} +1 -1
- package/dist/assets/{index.6a8f8e56.js → index.6bef0d6c.js} +1 -1
- package/dist/assets/{index.e9dcaf1e.js → index.6f07a11e.js} +1 -1
- package/dist/assets/{index.a585d6b9.js → index.6f66f6e6.js} +1 -1
- package/dist/assets/{index.eaede45c.js → index.7042ed95.js} +1 -1
- package/dist/assets/{index.a453d122.js → index.720d195f.js} +1 -1
- package/dist/assets/{index.6f987d91.js → index.7dcd13ec.js} +1 -1
- package/dist/assets/{index.b7eb2760.js → index.7ecee286.js} +1 -1
- package/dist/assets/{index.c6614b22.js → index.80eaa583.js} +1 -1
- package/dist/assets/{index.d05c258f.js → index.821e1d62.js} +1 -1
- package/dist/assets/{index.4d327518.js → index.8587b5df.js} +1 -1
- package/dist/assets/index.87da20e6.css +1 -0
- package/dist/assets/index.895a297f.css +1 -0
- package/dist/assets/{index.74a3bead.js → index.89e94c9c.js} +1 -1
- package/dist/assets/{index.17aaf60e.js → index.8e6150b3.js} +1 -1
- package/dist/assets/{index.66e22b6f.js → index.9aaa42b8.js} +1 -1
- package/dist/assets/{index.fd99a2e6.js → index.a0a5fe39.js} +1 -1
- package/dist/assets/{index.6146ee27.js → index.a0ae139c.js} +1 -1
- package/dist/assets/{index.199627f2.js → index.a2a6bfb1.js} +1 -1
- package/dist/assets/{index.3fd307c9.js → index.ae7d8610.js} +1 -1
- package/dist/assets/{index.7910f707.js → index.aeb2c755.js} +1 -1
- package/dist/assets/{index.fd9a5f6e.js → index.afd57094.js} +1 -1
- package/dist/assets/index.b05c71d6.js +26 -0
- package/dist/assets/{index.52478625.js → index.b298e8de.js} +1 -1
- package/dist/assets/{index.ced9e6c4.js → index.b8a7f65d.js} +1 -1
- package/dist/assets/{index.6fd7572a.js → index.b967027a.js} +1 -1
- package/dist/assets/{index.897edae9.js → index.bcb27c66.js} +1 -1
- package/dist/assets/{index.1f8cd33b.js → index.bf4dfe15.js} +1 -1
- package/dist/assets/{index.946634f1.js → index.c80ad32e.js} +1 -1
- package/dist/assets/{index.2ade6f4c.js → index.c841431b.js} +1 -1
- package/dist/assets/{index.e503db08.js → index.cb1b4143.js} +1 -1
- package/dist/assets/index.cee72373.entry.js +541 -0
- package/dist/assets/{index.73cf06c6.js → index.d1ed2a91.js} +1 -1
- package/dist/assets/{index.840dec92.js → index.d368ce15.js} +1 -1
- package/dist/assets/{index.8d30a9b7.js → index.d48ea4d8.js} +1 -1
- package/dist/assets/{index.2b376698.js → index.d58a43db.js} +1 -1
- package/dist/assets/{index.8c02ccc9.js → index.d5e9d8c8.js} +1 -1
- package/dist/assets/{index.5225bff7.js → index.de6c99b7.js} +1 -1
- package/dist/assets/{index.8cb5cecc.js → index.debe4fb7.js} +1 -1
- package/dist/assets/{index.709876ee.js → index.e3fcfd5a.js} +1 -1
- package/dist/assets/{index.f64580fa.js → index.e6ccad11.js} +1 -1
- package/dist/assets/{index.94c37923.js → index.e6d22a55.js} +1 -1
- package/dist/assets/{index.54056858.js → index.e854339b.js} +1 -1
- package/dist/assets/{index.99a868e4.js → index.ea34f437.js} +1 -1
- package/dist/assets/{index.ea7d7704.js → index.f748e411.js} +1 -1
- package/dist/assets/{index.e4d21fbc.js → index.f8814651.js} +1 -1
- package/dist/assets/{index.c62b6868.js → index.f960c87a.js} +1 -1
- package/dist/assets/{index.9c32a380.js → index.f9b96f27.js} +1 -1
- package/dist/assets/{index.aba657de.js → index.fcd87af8.js} +1 -1
- package/dist/assets/{index.d4b072f4.js → index.ff921dbe.js} +1 -1
- package/dist/assets/{input-rich-text-html.d4c2e2cf.js → input-rich-text-html.eae7c584.js} +30 -30
- package/dist/assets/{insights.4db4d732.js → insights.3d0e532e.js} +1 -1
- package/dist/assets/{installation.268919de.js → installation.4a2c097d.js} +1 -1
- package/dist/assets/{interfaces.c498302c.js → interfaces.cccc9cc1.js} +3 -3
- package/dist/assets/{introduction.d6821907.js → introduction.6527a259.js} +4 -4
- package/dist/assets/{introduction.c10f10d3.js → introduction.7a9da828.js} +1 -1
- package/dist/assets/{introduction.c5e5e21e.js → introduction.a2f61d58.js} +1 -1
- package/dist/assets/{introduction.83bcfc15.js → introduction.d55a65c8.js} +1 -1
- package/dist/assets/it-IT.36fdff8b.js +1 -0
- package/dist/assets/{items.5732b18d.js → items.7601f70b.js} +1 -1
- package/dist/assets/{items.b0a4ab61.js → items.d7eaeea0.js} +1 -1
- package/dist/assets/{javascript-hint.7ae21fbe.js → javascript-hint.4638e1df.js} +1 -1
- package/dist/assets/{javascript.4f51ecf0.js → javascript.03bf484d.js} +1 -1
- package/dist/assets/{jinja2.9bf9144f.js → jinja2.e0978b57.js} +1 -1
- package/dist/assets/{jsx.a7b4e734.js → jsx.123b4803.js} +1 -1
- package/dist/assets/{julia.5461c3cc.js → julia.5a59262e.js} +1 -1
- package/dist/assets/{layouts.effabdf0.js → layouts.41b77af2.js} +1 -1
- package/dist/assets/layouts.91e2348f.js +1 -0
- package/dist/assets/{livescript.7b500566.js → livescript.9a958350.js} +1 -1
- package/dist/assets/{localization.be7f565c.js → localization.98833475.js} +1 -1
- package/dist/assets/{lua.00c71164.js → lua.92f32265.js} +1 -1
- package/dist/assets/{manual.1c389d8b.js → manual.818edfc3.js} +3 -3
- package/dist/assets/{mark-selection.97d7037b.js → mark-selection.4a693f01.js} +1 -1
- package/dist/assets/{match-highlighter.a02da4f0.js → match-highlighter.17a81b47.js} +1 -1
- package/dist/assets/{mathematica.8f6aa856.js → mathematica.f14d4707.js} +1 -1
- package/dist/assets/{mbox.fd92e018.js → mbox.e7c08a48.js} +1 -1
- package/dist/assets/{migrations.362ff4f6.js → migrations.55476341.js} +1 -1
- package/dist/assets/{mirc.fdf10b1b.js → mirc.0311799e.js} +1 -1
- package/dist/assets/{mllike.6f004a2c.js → mllike.d7bb3f6e.js} +1 -1
- package/dist/assets/{modelica.cbd88d45.js → modelica.7e7c93c0.js} +1 -1
- package/dist/assets/{modules.b091090c.js → modules.b617791f.js} +2 -2
- package/dist/assets/{mscgen.14353b86.js → mscgen.2cc54faf.js} +1 -1
- package/dist/assets/{multiplex.cd44ee19.js → multiplex.fb681b1b.js} +1 -1
- package/dist/assets/{mumps.efe96b5e.js → mumps.674bb5e3.js} +1 -1
- package/dist/assets/{nginx.96c9c4df.js → nginx.165b607e.js} +1 -1
- package/dist/assets/{notifications.3e5cfc89.js → notifications.ccba3d4a.js} +1 -1
- package/dist/assets/{nsis.55581ab2.js → nsis.1ed5ef23.js} +1 -1
- package/dist/assets/{ntriples.aca0fe40.js → ntriples.e3148272.js} +1 -1
- package/dist/assets/{octave.62945644.js → octave.ab99cd73.js} +1 -1
- package/dist/assets/{overlay.2efdf812.js → overlay.03a5b7fa.js} +1 -1
- package/dist/assets/{overview.fb04e55f.js → overview.b3a91d76.js} +1 -1
- package/dist/assets/{overview.dfc729e7.js → overview.c76d2a06.js} +1 -1
- package/dist/assets/{overview.332df7ba.js → overview.e3f03ff4.js} +1 -1
- package/dist/assets/{oz.c7a6ef55.js → oz.e21c8060.js} +1 -1
- package/dist/assets/{panels.93ebd845.js → panels.8635347d.js} +1 -1
- package/dist/assets/{pascal.9f427f36.js → pascal.8c592490.js} +1 -1
- package/dist/assets/{pegjs.f95b4e7c.js → pegjs.e94f313a.js} +1 -1
- package/dist/assets/{perl.157b1d6a.js → perl.f7dcd896.js} +1 -1
- package/dist/assets/{permissions.3a997b1b.js → permissions.4970c519.js} +2 -2
- package/dist/assets/{php.45aaf3ff.js → php.ad6c4236.js} +1 -1
- package/dist/assets/{pig.abf158b5.js → pig.7b140cb8.js} +1 -1
- package/dist/assets/pinia.b29efb4f.entry.js +1 -0
- package/dist/assets/pl-PL.cb210ffb.js +1 -0
- package/dist/assets/{plesk.93413565.js → plesk.6409199b.js} +4 -4
- package/dist/assets/{powershell.c8483dfa.js → powershell.8d5784a6.js} +1 -1
- package/dist/assets/{presets-bookmarks.821ff603.js → presets-bookmarks.335e81c4.js} +1 -1
- package/dist/assets/{presets.e40c980c.js → presets.3fb59a7c.js} +1 -1
- package/dist/assets/{project-settings.990a7733.js → project-settings.da2b6026.js} +1 -1
- package/dist/assets/{projects.8446f9e0.js → projects.c04f28b7.js} +1 -1
- package/dist/assets/{properties.9746447f.js → properties.bd6ae04f.js} +1 -1
- package/dist/assets/{protobuf.da387992.js → protobuf.f3e4657d.js} +1 -1
- package/dist/assets/pt-BR.92a32af8.js +1 -0
- package/dist/assets/{pug.799b8b48.js → pug.3c534d03.js} +1 -1
- package/dist/assets/{puppet.50c5f4a8.js → puppet.088f8b16.js} +1 -1
- package/dist/assets/{python.24183ff4.js → python.c49e4c13.js} +1 -1
- package/dist/assets/{q.a6bde20d.js → q.61a8ab64.js} +1 -1
- package/dist/assets/{query.0b8a58bf.js → query.e6b1f07e.js} +1 -1
- package/dist/assets/{quickstart.c03909d1.js → quickstart.9c3c65b4.js} +2 -2
- package/dist/assets/{r.5ef93882.js → r.f34d7d93.js} +1 -1
- package/dist/assets/{relations.3075f46c.js → relations.77fc85a4.js} +1 -1
- package/dist/assets/{relationships.799d5eb1.js → relationships.7a8128c2.js} +1 -1
- package/dist/assets/{revisions.0fdeffdb.js → revisions.99756266.js} +2 -2
- package/dist/assets/ro-RO.83d12aa1.js +1 -0
- package/dist/assets/{roles.454d01a2.js → roles.27092a50.js} +1 -1
- package/dist/assets/{rpm.dc7eb8c7.js → rpm.6b2223a5.js} +1 -1
- package/dist/assets/rst.009c8d0d.js +1 -0
- package/dist/assets/{ruby.5f2c5d49.js → ruby.6eb0fa57.js} +1 -1
- package/dist/assets/{running-locally.b169fd6b.js → running-locally.7242ae0a.js} +1 -1
- package/dist/assets/{rust.cb883a51.js → rust.6aadde77.js} +1 -1
- package/dist/assets/{sas.d4698414.js → sas.deab0a07.js} +1 -1
- package/dist/assets/{sass.2a5b4ded.js → sass.af8ab6d2.js} +1 -1
- package/dist/assets/{scheme.03cb579f.js → scheme.18c5344a.js} +1 -1
- package/dist/assets/{sdk.b30c40c3.js → sdk.269c9e85.js} +1 -1
- package/dist/assets/{security.bb444305.js → security.862613c7.js} +1 -1
- package/dist/assets/{server.96d2684f.js → server.191bd9cd.js} +1 -1
- package/dist/assets/{settings.6ee8ba3d.js → settings.4970c672.js} +1 -1
- package/dist/assets/{settings.590609ba.js → settings.7e7b66b7.js} +1 -1
- package/dist/assets/{shell.823d1fdc.js → shell.8d43da03.js} +1 -1
- package/dist/assets/{show-hint.ed75f164.js → show-hint.5f0a75a7.js} +1 -1
- package/dist/assets/sieve.cd31ea4b.js +1 -0
- package/dist/assets/{simple.6f7c2241.js → simple.9700ddf1.js} +1 -1
- package/dist/assets/{slim.6963eba3.js → slim.61b8011a.js} +1 -1
- package/dist/assets/{smalltalk.e8a89293.js → smalltalk.936c2132.js} +1 -1
- package/dist/assets/{smarty.c1c7c7b6.js → smarty.7684a399.js} +1 -1
- package/dist/assets/{solr.d56d44ed.js → solr.351a6f56.js} +1 -1
- package/dist/assets/{soy.73095779.js → soy.a54a888b.js} +1 -1
- package/dist/assets/{sparql.3250c390.js → sparql.b38e0bef.js} +1 -1
- package/dist/assets/{spreadsheet.502aed5e.js → spreadsheet.8ae834ee.js} +1 -1
- package/dist/assets/{sql.2669a728.js → sql.bd75a39a.js} +1 -1
- package/dist/assets/sso-examples.dff690ca.js +64 -0
- package/dist/assets/{sso.3e95ead4.js → sso.ccd423a5.js} +3 -3
- package/dist/assets/{stex.805ccf9b.js → stex.751640f7.js} +1 -1
- package/dist/assets/{stylus.7a36e1a2.js → stylus.44c9a636.js} +1 -1
- package/dist/assets/{support.53f88829.js → support.a4a37514.js} +1 -1
- package/dist/assets/{swift.8e6dedf9.js → swift.6bee86b1.js} +1 -1
- package/dist/assets/{tcl.218bb297.js → tcl.d6f60bbe.js} +1 -1
- package/dist/assets/{teams.2936126f.js → teams.69678693.js} +1 -1
- package/dist/assets/{textile.6739cf22.js → textile.fd4c90e1.js} +1 -1
- package/dist/assets/{themes.99cb1672.js → themes.96c4b04e.js} +1 -1
- package/dist/assets/{tiddlywiki.9838bde4.js → tiddlywiki.7f1650d8.js} +1 -1
- package/dist/assets/{tiki.80b69321.js → tiki.f948533d.js} +1 -1
- package/dist/assets/{toml.1089d432.js → toml.9f585d06.js} +1 -1
- package/dist/assets/{tornado.43361bdb.js → tornado.c8c03b6f.js} +1 -1
- package/dist/assets/{translations.b9e0ee2e.js → translations.a57ab24c.js} +1 -1
- package/dist/assets/{troff.6fa2515b.js → troff.75929447.js} +1 -1
- package/dist/assets/{ttcn-cfg.29c11a29.js → ttcn-cfg.2a42e89c.js} +1 -1
- package/dist/assets/{ttcn.7e441eeb.js → ttcn.d2edc1c1.js} +1 -1
- package/dist/assets/{turtle.cc980bba.js → turtle.53a5c73e.js} +1 -1
- package/dist/assets/{twig.c208e31e.js → twig.ecd65687.js} +1 -1
- package/dist/assets/{ubuntu.0d81a10a.js → ubuntu.f280193a.js} +1 -1
- package/dist/assets/{upgrades-migrations.715ee1d6.js → upgrades-migrations.27ddad05.js} +1 -1
- package/dist/assets/{use-sync.1c032102.js → use-sync.bd3a1e5b.js} +1 -1
- package/dist/assets/{user-directory.1c64c935.js → user-directory.d8b4d6b4.js} +1 -1
- package/dist/assets/{users-roles-permissions.4e51ac63.js → users-roles-permissions.a2f25725.js} +1 -1
- package/dist/assets/{users.8d9b68a7.js → users.5aa98413.js} +1 -1
- package/dist/assets/{utilities.dfed4954.js → utilities.bf7f4133.js} +1 -1
- package/dist/assets/{vb.6e5aca67.js → vb.842b5727.js} +1 -1
- package/dist/assets/{vbscript.93c429fa.js → vbscript.fcc607c0.js} +1 -1
- package/dist/assets/{velocity.c1a64e08.js → velocity.efde9b99.js} +1 -1
- package/dist/assets/{vendor.c37f7cab.js → vendor.e0a21029.js} +212 -199
- package/dist/assets/{verilog.748a4e09.js → verilog.95b86b19.js} +1 -1
- package/dist/assets/{vhdl.b6c77d3f.js → vhdl.05ad780d.js} +1 -1
- package/dist/assets/vue-i18n.bb58f1d6.entry.js +1 -0
- package/dist/assets/vue-router.86ff737d.entry.js +1 -0
- package/dist/assets/vue.0442bd87.entry.js +1 -0
- package/dist/assets/{vue.f9ff97ec.js → vue.6c1e2b28.js} +1 -1
- package/dist/assets/{wast.a3dcc216.js → wast.c5c40bca.js} +1 -1
- package/dist/assets/{webhooks.006f48f5.js → webhooks.07b4ac17.js} +1 -1
- package/dist/assets/{webhooks.41585988.js → webhooks.dc830bd4.js} +1 -1
- package/dist/assets/{webidl.935b4665.js → webidl.81f09aef.js} +1 -1
- package/dist/assets/{xquery.1cd12bcf.js → xquery.4e7c6d54.js} +1 -1
- package/dist/assets/{yacas.b7fa45c7.js → yacas.70a010d5.js} +1 -1
- package/dist/assets/{yaml-frontmatter.e47634fc.js → yaml-frontmatter.2881b171.js} +1 -1
- package/dist/assets/{yaml.34a5a469.js → yaml.0a0b8dc6.js} +1 -1
- package/dist/assets/{z80.4847a5a2.js → z80.dce13765.js} +1 -1
- package/dist/index.html +4 -4
- package/package.json +10 -6
- package/dist/assets/@directus_extensions-sdk.b16f3f9c.entry.js +0 -1
- package/dist/assets/cmake.cfb44e0d.js +0 -1
- package/dist/assets/collections.709f5818.js +0 -2
- package/dist/assets/config-options.09a44368.js +0 -138
- package/dist/assets/content.8dfe4d0f.js +0 -1
- package/dist/assets/data-sharing.17c81a27.js +0 -1
- package/dist/assets/el-GR.b15e80c2.js +0 -1
- package/dist/assets/es-419.86b21e53.js +0 -1
- package/dist/assets/index.31e06860.css +0 -1
- package/dist/assets/index.5ca402ee.css +0 -1
- package/dist/assets/index.9bc985db.js +0 -26
- package/dist/assets/index.dd44fb28.entry.js +0 -541
- package/dist/assets/it-IT.c7c56676.js +0 -1
- package/dist/assets/layouts.c0d4d117.js +0 -1
- package/dist/assets/pinia.b0a7f3a9.entry.js +0 -1
- package/dist/assets/pl-PL.369789f9.js +0 -1
- package/dist/assets/pt-BR.629e0c60.js +0 -1
- package/dist/assets/ro-RO.26d41bde.js +0 -1
- package/dist/assets/rst.c0f0c052.js +0 -1
- package/dist/assets/sieve.ca0810e1.js +0 -1
- package/dist/assets/vue-i18n.38d89027.entry.js +0 -1
- package/dist/assets/vue-router.e188e24d.entry.js +0 -1
- package/dist/assets/vue.ea10f693.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bV as H}from"./vendor.e0a21029.js";function V(p,h){return h.forEach(function(o){o&&typeof o!="string"&&!Array.isArray(o)&&Object.keys(o).forEach(function(t){if(t!=="default"&&!(t in p)){var l=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(p,t,l.get?l:{enumerable:!0,get:function(){return o[t]}})}})}),Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}var k={exports:{}};(function(p,h){(function(o){o(H.exports)})(function(o){o.defineMode("julia",function(t,l){function u(n,e,i){return typeof i=="undefined"&&(i=""),typeof e=="undefined"&&(e="\\b"),new RegExp("^"+i+"(("+n.join(")|(")+"))"+e)}var g="\\\\[0-7]{1,3}",m="\\\\x[A-Fa-f0-9]{1,2}",y=`\\\\[abefnrtv0%?'"\\\\]`,x="([^\\u0027\\u005C\\uD800-\\uDFFF]|[\\uD800-\\uDFFF][\\uDC00-\\uDFFF])",s=["[<>]:","[<>=]=","<<=?",">>>?=?","=>","--?>","<--[->]?","\\/\\/","\\.{2,3}","[\\.\\\\%*+\\-<>!\\/^|&]=?","\\?","\\$","~",":"],z=l.operators||u(["[<>]:","[<>=]=","<<=?",">>>?=?","=>","--?>","<--[->]?","\\/\\/","[\\\\%*+\\-<>!\\/^|&\\u00F7\\u22BB]=?","\\?","\\$","~",":","\\u00D7","\\u2208","\\u2209","\\u220B","\\u220C","\\u2218","\\u221A","\\u221B","\\u2229","\\u222A","\\u2260","\\u2264","\\u2265","\\u2286","\\u2288","\\u228A","\\u22C5","\\b(in|isa)\\b(?!.?\\()"],""),E=l.delimiters||/^[;,()[\]{}]/,_=l.identifiers||/^[_A-Za-z\u00A1-\u2217\u2219-\uFFFF][\w\u00A1-\u2217\u2219-\uFFFF]*!*/,A=u([g,m,y,x],"'"),j=["begin","function","type","struct","immutable","let","macro","for","while","quote","if","else","elseif","try","finally","catch","do"],w=["end","else","elseif","catch","finally"],d=["if","else","elseif","while","for","begin","let","end","do","try","catch","finally","return","break","continue","global","local","const","export","import","importall","using","function","where","macro","module","baremodule","struct","type","mutable","immutable","quote","typealias","abstract","primitive","bitstype"],v=["true","false","nothing","NaN","Inf"];o.registerHelper("hintWords","julia",d.concat(v));var C=u(j),D=u(w),P=u(d),T=u(v),O=/^@[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,S=/^:[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,B=/^(`|([_A-Za-z\u00A1-\uFFFF]*"("")?))/,$=u(s,"","@"),G=u(s,"",":");function F(n){return n.nestedArrays>0}function I(n){return n.nestedGenerators>0}function b(n,e){return typeof e=="undefined"&&(e=0),n.scopes.length<=e?null:n.scopes[n.scopes.length-(e+1)]}function a(n,e){if(n.match("#=",!1))return e.tokenize=N,e.tokenize(n,e);var i=e.leavingExpr;if(n.sol()&&(i=!1),e.leavingExpr=!1,i&&n.match(/^'+/))return"operator";if(n.match(/\.{4,}/))return"error";if(n.match(/\.{1,3}/))return"operator";if(n.eatSpace())return null;var r=n.peek();if(r==="#")return n.skipToEnd(),"comment";if(r==="["&&(e.scopes.push("["),e.nestedArrays++),r==="("&&(e.scopes.push("("),e.nestedGenerators++),F(e)&&r==="]"){for(;e.scopes.length&&b(e)!=="[";)e.scopes.pop();e.scopes.pop(),e.nestedArrays--,e.leavingExpr=!0}if(I(e)&&r===")"){for(;e.scopes.length&&b(e)!=="(";)e.scopes.pop();e.scopes.pop(),e.nestedGenerators--,e.leavingExpr=!0}if(F(e)){if(e.lastToken=="end"&&n.match(":"))return"operator";if(n.match("end"))return"number"}var f;if((f=n.match(C,!1))&&e.scopes.push(f[0]),n.match(D,!1)&&e.scopes.pop(),n.match(/^::(?![:\$])/))return e.tokenize=Z,e.tokenize(n,e);if(!i&&(n.match(S)||n.match(G)))return"builtin";if(n.match(z))return"operator";if(n.match(/^\.?\d/,!1)){var U=RegExp(/^im\b/),c=!1;if(n.match(/^0x\.[0-9a-f_]+p[\+\-]?[_\d]+/i)&&(c=!0),n.match(/^0x[0-9a-f_]+/i)&&(c=!0),n.match(/^0b[01_]+/i)&&(c=!0),n.match(/^0o[0-7_]+/i)&&(c=!0),n.match(/^(?:(?:\d[_\d]*)?\.(?!\.)(?:\d[_\d]*)?|\d[_\d]*\.(?!\.)(?:\d[_\d]*))?([Eef][\+\-]?[_\d]+)?/i)&&(c=!0),n.match(/^\d[_\d]*(e[\+\-]?\d+)?/i)&&(c=!0),c)return n.match(U),e.leavingExpr=!0,"number"}if(n.match("'"))return e.tokenize=R,e.tokenize(n,e);if(n.match(B))return e.tokenize=q(n.current()),e.tokenize(n,e);if(n.match(O)||n.match($))return"meta";if(n.match(E))return null;if(n.match(P))return"keyword";if(n.match(T))return"builtin";var W=e.isDefinition||e.lastToken=="function"||e.lastToken=="macro"||e.lastToken=="type"||e.lastToken=="struct"||e.lastToken=="immutable";return n.match(_)?W?n.peek()==="."?(e.isDefinition=!0,"variable"):(e.isDefinition=!1,"def"):(e.leavingExpr=!0,"variable"):(n.next(),"error")}function Z(n,e){return n.match(/.*?(?=[,;{}()=\s]|$)/),n.match("{")?e.nestedParameters++:n.match("}")&&e.nestedParameters>0&&e.nestedParameters--,e.nestedParameters>0?n.match(/.*?(?={|})/)||n.next():e.nestedParameters==0&&(e.tokenize=a),"builtin"}function N(n,e){return n.match("#=")&&e.nestedComments++,n.match(/.*?(?=(#=|=#))/)||n.skipToEnd(),n.match("=#")&&(e.nestedComments--,e.nestedComments==0&&(e.tokenize=a)),"comment"}function R(n,e){var i=!1,r;if(n.match(A))i=!0;else if(r=n.match(/\\u([a-f0-9]{1,4})(?=')/i)){var f=parseInt(r[1],16);(f<=55295||f>=57344)&&(i=!0,n.next())}else if(r=n.match(/\\U([A-Fa-f0-9]{5,8})(?=')/)){var f=parseInt(r[1],16);f<=1114111&&(i=!0,n.next())}return i?(e.leavingExpr=!0,e.tokenize=a,"string"):(n.match(/^[^']+(?=')/)||n.skipToEnd(),n.match("'")&&(e.tokenize=a),"error")}function q(n){n.substr(-3)==='"""'?n='"""':n.substr(-1)==='"'&&(n='"');function e(i,r){if(i.eat("\\"))i.next();else{if(i.match(n))return r.tokenize=a,r.leavingExpr=!0,"string";i.eat(/[`"]/)}return i.eatWhile(/[^\\`"]/),"string"}return e}var M={startState:function(){return{tokenize:a,scopes:[],lastToken:null,leavingExpr:!1,isDefinition:!1,nestedArrays:0,nestedComments:0,nestedGenerators:0,nestedParameters:0,firstParenPos:-1}},token:function(n,e){var i=e.tokenize(n,e),r=n.current();return r&&i&&(e.lastToken=r),i},indent:function(n,e){var i=0;return(e==="]"||e===")"||/^end\b/.test(e)||/^else/.test(e)||/^catch\b/.test(e)||/^elseif\b/.test(e)||/^finally/.test(e))&&(i=-1),(n.scopes.length+i)*t.indentUnit},electricInput:/\b(end|else|catch|finally)\b/,blockCommentStart:"#=",blockCommentEnd:"=#",lineComment:"#",closeBrackets:'()[]{}""',fold:"indent"};return M}),o.defineMIME("text/x-julia","julia")})})();var J=k.exports,Q=V({__proto__:null,default:J},[k.exports]);export{Q as j};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as l,y as r,z as u,A as s,E as e,C as a,W as t}from"./vendor.
|
|
1
|
+
import{w as l,y as r,z as u,A as s,E as e,C as a,W as t}from"./vendor.e0a21029.js";const d={class:"markdown-body"},p=t("Custom Layouts allow for building new ways to view or interact with Items via the Collection Detail pages. "),h=t("Learn more about Layouts"),y=t("."),m=e("h2",{id:"extension-entrypoint"},[t("Extension Entrypoint "),e("a",{class:"header-anchor",href:"#extension-entrypoint"},"#")],-1),_=e("p",null,[t("The entrypoint of your layout is the "),e("code",null,"index"),t(" file inside the "),e("code",null,"src/"),t(" folder of your extension package. It exports a configuration object with options to configure the behavior of your layout. When loading your layout, this object is imported by the Directus host.")],-1),f=e("p",null,"Example of an entrypoint:",-1),b=e("pre",null,[e("code",{class:"language-js"},[e("span",{class:"hljs-keyword"},"import"),t(" { ref } "),e("span",{class:"hljs-keyword"},"from"),t(),e("span",{class:"hljs-string"},"'vue'"),t(`;
|
|
2
2
|
`),e("span",{class:"hljs-keyword"},"import"),t(" LayoutComponent "),e("span",{class:"hljs-keyword"},"from"),t(),e("span",{class:"hljs-string"},"'./layout.vue'"),t(`;
|
|
3
3
|
|
|
4
4
|
`),e("span",{class:"hljs-keyword"},"export"),t(),e("span",{class:"hljs-keyword"},"default"),t(` {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{w as s,y as r,z as d,A as l,E as e,C as n,W as t}from"./vendor.e0a21029.js";const c={class:"markdown-body"},h=e("blockquote",null,[e("p",null,"Layouts are customized displays for viewing and interacting with the Items in a Collection. This makes working with some general category of data model, such as map locations or calendar events, a more human-friendly experience.")],-1),p=e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#what's-a-layout%3F"},"What's a Layout?")]),e("li",null,[e("a",{href:"#how-it-works"},"How it Works")]),e("li",null,[e("a",{href:"#table-layout"},"Table Layout")]),e("li",null,[e("a",{href:"#card-layout"},"Card Layout")]),e("li",null,[e("a",{href:"#calendar-layout"},"Calendar Layout")]),e("li",null,[e("a",{href:"#map-layout"},"Map Layout")]),e("li",null,[e("a",{href:"#kanban-layout-%5Bcloud-exclusive%5D"},"Kanban Layout [Cloud Exclusive]")])])])],-1),g=e("h2",{id:"what%E2%80%99s-a-layout%3F"},[t("What\u2019s a Layout? "),e("a",{class:"header-anchor",href:"#what%E2%80%99s-a-layout%3F"},"#")],-1),m=e("video",{autoplay:"",muted:"",loop:"",controls:"",title:"Layouts Montage"},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/layouts/layouts-20220415A/layouts-montage-20220419A.mp4",type:"video/mp4"})],-1),y=e("p",null,[t("Data models vary drastically in shape and purpose, from eCommerce platforms to IoT fleets and everything in between. While your Directus Project data may be stored in Collections "),e("em",null,"(i.e. SQL data tables)"),t(", this table representation is not always the most human-friendly way to interact with information. Layouts provide more human-friendly, intuitive displays to view and interact with Items in a Collection.")],-1),_=t("The following sections detail the Layouts managed and supported by the Directus Team. Keep in mind that Directus is open-source, modular and extensible. You are free to create any Layout you need on self-hosted and Enterprise Cloud Projects. Additionally, Directus Cloud is always adding more Layouts to its "),f=t("Cloud Exclusive Extensions"),b=t(", so check back often to stay up-to-date with the latest and greatest. Additionally, you can join the community on "),C=e("a",{href:"https://discord.com/invite/directus",target:"_blank",rel:"noopener noreferrer"},"Discord",-1),w=t(" and "),L=e("a",{href:"https://github.com/directus/directus/discussions",target:"_blank",rel:"noopener noreferrer"},"GitHub",-1),v=t(" to find thousands of engineers guiding development of the Directus platform."),k=e("h2",{id:"how-it-works"},[t("How it Works "),e("a",{class:"header-anchor",href:"#how-it-works"},"#")],-1),I=e("video",{autoplay:"",muted:"",loop:"",controls:"",title:"Adjust Item Layouts"},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/layouts/layouts-20220415A/adjust-page-layout-20220415A.mp4",type:"video/mp4"})],-1),S=e("p",null,"To adjust an Item\u2019s Layout, follow the steps below.",-1),T=e("ol",null,[e("li",null,"Navigate to the Content Module and select the desired Collection."),e("li",null,[t("In the page Sidebar, click "),e("strong",null,"\u201CLayout Options\u201D"),t(".")]),e("li",null,"Choose the desired Layout you want to use."),e("li",null,"Customize the Layout as desired.")],-1),F=e("h3",{id:"customization-controls"},[t("Customization Controls "),e("a",{class:"header-anchor",href:"#customization-controls"},"#")],-1),A=e("p",null,"Customization controls can be found in the following three locations.",-1),x=e("ul",null,[e("li",null,[e("strong",null,"Layout Options"),t(" \u2014 Located in the Sidebar.")]),e("li",null,[e("strong",null,"Subheader"),t(" \u2014 Located just below the Page Header and above the Page Area.")]),e("li",null,[e("strong",null,"Page Area"),t(" \u2014 The center of the webpage, which displays all Items.")])],-1),D=e("p",null,"These controls typically fall into three general categories.",-1),P=e("ul",null,[e("li",null,[e("p",null,[e("strong",null,"Styling and Formatting"),e("br"),t(" These are additional customizations to the way a Layout displays such as the size of each Item, how images are cropped, etc.")])]),e("li",null,[e("p",null,[e("strong",null,"Field Values Displayed"),e("br"),t(" Most Layouts allow you to choose which Field Value(s) are used to represent each Item on the Collection Page. For example, with blog posts, it may be ideal to have the hero image, blog title, date, author, etc.")])]),e("li",null,[e("p",null,[e("strong",null,"Manual and Automatic Sorting"),e("br"),t(" Certain Layouts may allow sorting Items by value in ascending and descending order, drag-and-drop repositioning of Items, etc.")])])],-1),M=e("h3",{id:"key-takeaways"},[t("Key Takeaways "),e("a",{class:"header-anchor",href:"#key-takeaways"},"#")],-1),z=e("p",null,"As you go through Layouts, it may be helpful to keep the following points in mind.",-1),j=e("ul",null,[e("li",null,[e("p",null,[e("strong",null,"Layouts will not be universally usable for all Collections."),e("br"),t(" Layouts are tailored to work with specific data-models. For example, in order to work properly, the Map Layout requires the Collection have a Map Field configured and the Calendar Layout requires the Collection have a datetime Field configured.")])]),e("li",null,[e("p",null,[e("strong",null,"Controls are different for each Layout."),e("br"),t(" Each Layout presents data differently, so certain customizations may not be functional with certain Layouts. For example, the Map Layout displays each Item as a pin on a map, so this Layout has no controls for sorting.")])]),e("li",null,[e("p",null,[e("strong",null,"Controls for a Layout may be in different locations."),e("br"),t(" Depending on the Layout, the same control may be under Layout Options in the sidebar, the subheader, or on the Page Area "),e("em",null,"(and Items themselves)"),t(". For example, the Table Layout lets you set the Field Values displayed in the subheader while the Card Layout lets you set Field Values displayed in the Layout Options menu.")])])],-1),O=e("h2",{id:"table-layout"},[t("Table Layout "),e("a",{class:"header-anchor",href:"#table-layout"},"#")],-1),E=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/layouts/layouts-20220415A/table-layout.webp",alt:"Table Layout"})],-1),W=e("p",null,"This Layout supports all forms of data, as it directly reflects how data is stored in a Collection. This is the default Layout used in the Content Module. It includes the following controls.",-1),B=e("p",null,[e("strong",null,"Layout Options")],-1),q=e("ul",null,[e("li",null,[e("strong",null,"Spacing"),t(" \u2014 Adjust the vertical space a row takes up.")])],-1),R=e("p",null,[e("strong",null,"Subheader")],-1),N=e("ul",null,[e("li",null,[e("strong",null,"Adjust Column Width"),t(" \u2014 Click and drag the column divider to resize as desired.")]),e("li",null,[e("strong",null,"Add Field"),t(" \u2014 Select "),e("span",{mi:"",icon:""},"add"),t(" in the page subheader and select the desired Field(s).")]),e("li",null,[e("strong",null,"Remove Field"),t(" \u2014 Select "),e("span",{mi:"",icon:""},"arrow_drop_down"),t(" in the column title and click "),e("strong",null,"\u201CHide Field\u201D"),t(".")]),e("li",null,[e("strong",null,"Sort Items by Column"),t(" \u2014 Select "),e("span",{mi:"",icon:""},"arrow_drop_down"),t(" in the column title and sort ascending or descending.")]),e("li",null,[e("strong",null,"Set Text Alignment"),t(" \u2014 Select "),e("span",{mi:"",icon:""},"arrow_drop_down"),t(" in the column title and set left, right, or center.")]),e("li",null,[e("strong",null,"Toggle & Reorder Columns"),t(" \u2014 Click the column header, then drag-and-drop as desired.")]),e("li",null,[e("strong",null,"Select All"),t(" \u2014 Click "),e("span",{mi:"",icon:""},"check_box_outline_blank"),t(" in the selection column header.")])],-1),V=e("p",null,[e("strong",null,"Page Area")],-1),K=e("ul",null,[e("li",null,[e("strong",null,"Select Item(s)"),t(" \u2014 Click "),e("span",{mi:"",icon:""},"check_box_outline_blank"),t(" in the selection column for the desired Item(s).")]),e("li",null,[e("strong",null,"Manually Sort Items"),t(" \u2014 Toggle "),e("span",{mi:"",icon:""},"sort"),t(" in the configured Sort column to drag and drop "),e("span",{mi:"",icon:""},"drag_handle"),t(" Items.")])],-1),G=e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"Manual Sorting Requires Configuration"),e("p",null,"Only available if a Sort column has been configured in the Collection\u2019s Data Model Settings.")],-1),H=e("h2",{id:"card-layout"},[t("Card Layout "),e("a",{class:"header-anchor",href:"#card-layout"},"#")],-1),U=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/layouts/layouts-20220415A/card-layout-20220416A.webp",alt:"Card Layout"})],-1),Y=t("This tiled Layout is ideal for Collections that prioritize an image "),Z=e("em",null,"(e.g. a user or blog post)",-1),J=t(". This is the default for both the "),Q=t("User Directory"),X=t(" and "),$=t("File Library"),ee=t(". It includes the following controls."),te=e("p",null,[e("strong",null,"Layout Options")],-1),le=e("ul",null,[e("li",null,[e("strong",null,"Image Source"),t(" \u2014 Set the Field used as the display image.")]),e("li",null,[e("strong",null,"Title"),t(" \u2014 Set a mix of Field values and text to use as a title.")]),e("li",null,[e("strong",null,"Subtitle"),t(" \u2014 Set a mix of Field values and text to use as a subtitle.")]),e("li",null,[e("strong",null,"Image Fit"),t(" \u2014 Set how an image fits inside the Card.")]),e("li",null,[e("strong",null,"Fallback Icon"),t(" \u2014 Set a default icon to display when an Item has no image.")])],-1),oe=e("p",null,[e("strong",null,"Subheader")],-1),ne=e("ul",null,[e("li",null,[e("strong",null,"Card Size"),t(" \u2014 Toggle the Card size as it appears in the Page Area.")]),e("li",null,[e("strong",null,"Sort Field"),t(" \u2014 Click to select the Field you wish to sort by from the dropdown menu.")]),e("li",null,[e("strong",null,"Sort Direction"),t(" \u2014 Toggle ascending and descending sort directions.")]),e("li",null,[e("strong",null,"Select All"),t(" \u2014 Click "),e("strong",null,[t("\u201C"),e("span",{mi:"",icon:""},"check_circle"),t(" Select All\u201D")]),t(" in the selection column header.")])],-1),ae=e("p",null,[e("strong",null,"Page Area")],-1),se=e("ul",null,[e("li",null,[e("strong",null,"Select Item(s)"),t(" \u2014 Click "),e("span",{mi:"",icon:""},"radio_button_unchecked"),t(" in the selection column for the desired Item(s).")]),e("li",null,[e("strong",null,"Adjust Time"),t(" \u2014 Click and drag an Item to change its time.")])],-1),ie=e("h2",{id:"calendar-layout"},[t("Calendar Layout "),e("a",{class:"header-anchor",href:"#calendar-layout"},"#")],-1),ue=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/layouts/layouts-20220415A/calendar-layout-20220416A.webp",alt:"Calendar Layout"})],-1),re=e("p",null,[t("This Layout is ideal for Collections with time-oriented data "),e("em",null,"(e.g. events and appointments)"),t(". It includes the following controls.")],-1),de=e("p",null,[e("strong",null,"Layout Options")],-1),ce=e("ul",null,[e("li",null,[e("strong",null,"Display Template"),t(" \u2014 Set a mix of Field values and text to represent Items on the calendar.")]),e("li",null,[e("strong",null,"Start Date Field"),t(" \u2014 Choose Field to determine each Item\u2019s beginning time on the calendar.")]),e("li",null,[e("strong",null,"End Date Field"),t(" \u2014 Choose Field to determine each Item\u2019s ending time on the calendar.")])],-1),he=e("p",null,[e("strong",null,"Subheader")],-1),pe=e("ul",null,[e("li",null,[e("strong",null,"Toggle Month and Year"),t(" \u2014 Move across time using the chevrons in the subheader.")]),e("li",null,[e("strong",null,"Today"),t(" \u2014 Click to jump to the current date on the calendar.")]),e("li",null,[e("strong",null,"Month Week Day List"),t(" \u2014 Adjust the time interval used to display Items in the Page Area.")])],-1),ge=e("p",null,[e("strong",null,"Page Area")],-1),me=e("ul",null,[e("li",null,[e("strong",null,"Select Item"),t(" \u2014 Click an Item on the calendar to open its Item Page.")])],-1),ye=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Configuration Requirements"),e("p",null,[t("To use this Layout, the Collection will need at least one datetime Field to set a start time, but ideally two "),e("em",null,"(to set a start and end time)"),t(".")])],-1),_e=e("h2",{id:"map-layout"},[t("Map Layout "),e("a",{class:"header-anchor",href:"#map-layout"},"#")],-1),fe=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/layouts/layouts-20220415A/map-layout-20220416A.webp",alt:"Map Layout"})],-1),be=e("p",null,"This Layout is ideal for Collections that emphasize geospatial data. It provides a world map, with Items displayed as points, lines, and other geometry. The following options are available:",-1),Ce=e("p",null,[e("strong",null,"Layout Options")],-1),we=e("ul",null,[e("li",null,[e("strong",null,"Basemap"),t(" \u2014 Choose the map provider used for the Collection.")]),e("li",null,[e("strong",null,"Geospatial Field"),t(" \u2014 Select the geospatial field type to display on screen: "),e("ul",null,[e("li",null,[e("strong",null,"Map JSON Point"),t(" \u2014 Supports latitude-longitude based, single-point locations.")]),e("li",null,[e("strong",null,"Map Geometry"),t(" \u2014 Supports geometric areas such as lines and polygons.")])])]),e("li",null,[e("strong",null,"Display Template"),t(" \u2014 Choose the Fields displayed when hovering over an Item on the map.")]),e("li",null,[e("strong",null,"Cluster Nearby Data"),t(" \u2014 Toggle whether or not nearby Items get clustered into a single pin.")])],-1),Le=e("p",null,[e("strong",null,"Subheader"),e("br"),e("em",null,"There is no Subheader on the Map Layout.")],-1),ve=e("p",null,[e("strong",null,"Page Area")],-1),ke=e("ul",null,[e("li",null,[e("strong",null,"Zoom"),t(" \u2014 Click "),e("span",{mi:"",icon:""},"add"),t(" and "),e("span",{mi:"",icon:""},"remove"),t(" in the upper left hand corner of the Page Area to zoom in and out.")]),e("li",null,[e("strong",null,"Zoom to my Location"),t(" \u2014 Click "),e("span",{mi:"",icon:""},"my_location"),t(" to zoom into your current location on the map.")]),e("li",null,[e("strong",null,"Reframe"),t(" \u2014 Click the square in the upper left-hand corner to resize and reframe the map area.")]),e("li",null,[e("strong",null,"Select Item"),t(" \u2014 Click a single Item to enter its Item Page.")]),e("li",null,[e("strong",null,"Select Items"),t(" \u2014 Click and drag to select multiple Items at once, opening the Item Page.")])],-1),Ie=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Configuration Requirements"),e("p",null,"To use this Layout, the Collection must have a Map Field configured.")],-1),Se=e("h2",{id:"kanban-layout-%5Bcloud-exclusive%5D"},[t("Kanban Layout [Cloud Exclusive] "),e("a",{class:"header-anchor",href:"#kanban-layout-%5Bcloud-exclusive%5D"},"#")],-1),Te=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/layouts/layouts-20220415A/kanban-layout-20220416A.webp",alt:"Kanban Layout"})],-1),Fe=e("p",null,[t("This Layout is ideal for Collections that serve as project management tools or to-do lists, where each Item represents a task, because it groups Items onto columns according to their status "),e("em",null,"(e.g. \u201CNot Started\u201D, \u201CIn Progress\u201D, \u201CUnder Review\u201D, \u201CComplete\u201D, or any other status defined)"),t(". The following controls are available.")],-1),Ae=e("p",null,[e("strong",null,"Layout Options")],-1),xe=e("ul",null,[e("li",null,[e("strong",null,"Group By"),t(" \u2014 Select the Field used to define Item status. See below for details.")]),e("li",null,[e("strong",null,"Card Title"),t(" \u2014 Choose a Field to serve as a title on each Item.")]),e("li",null,[e("strong",null,"Card Text"),t(" \u2014 Choose a Field to display additional text on each Item.")])],-1),De=e("p",null,[e("strong",null,"Layout Options > Advanced")],-1),Pe=e("ul",null,[e("li",null,[e("strong",null,"Card Tags"),t(" \u2014 Choose a Tag Field to be displayed on the Item.")]),e("li",null,[e("strong",null,"Card Date"),t(" \u2014 Choose a Datetime Field to be displayed on each Item.")]),e("li",null,[e("strong",null,"Card Image"),t(" \u2014 Choose an Image Field to be displayed on each Item.")]),e("li",null,[e("strong",null,"Card Image Fit"),t(" \u2014 Toggle whether the image fit is cropped.")]),e("li",null,[e("strong",null,"Card User"),t(" \u2014 Choose the User Created Field to display their avatar in the bottom right corner.")]),e("li",null,[e("strong",null,"Show Ungrouped"),t(" \u2014 Toggle display of a column containing Items with no assigned status.")])],-1),Me=e("p",null,[e("strong",null,"Subheader"),e("br"),e("em",null,"There is no Subheader for the Kanban Layout.")],-1),ze=e("p",null,[e("strong",null,"Page Area")],-1),je=e("ul",null,[e("li",null,[e("strong",null,"Create Task and Assign Status"),t(" \u2014 Click "),e("span",{mi:"",icon:""},"add"),t(" in a status column and the Item Page will open.")]),e("li",null,[e("strong",null,"Sort Panels"),t(" \u2014 Drag and drop Items to reposition or change task status.")]),e("li",null,[e("strong",null,"Add Status Panel"),t(" \u2014 Click "),e("span",{mi:"",icon:""},"add_box"),t(" and add a group name (i.e. new status column).")]),e("li",null,[e("strong",null,"Edit or Delete Status Column"),t(" \u2014 Click "),e("span",{mi:"",icon:""},"more_horiz"),t(" and then click "),e("span",{mi:"",icon:""},"edit"),t(" to edit or "),e("span",{mi:"",icon:""},"delete"),t(" to delete.")])],-1),Oe=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Configuration Requirements"),e("p",null,[t("To make this Layout work, you will need to configure an appropriate status Field on the Collection, then identify this Field under "),e("strong",null,"\u201CGroup By\u201D"),t(" in the Layout Options menu.")])],-1),Re={setup(Ee,{expose:i}){const a={title:"Layouts",modularExtension:!1};return i({frontmatter:a}),(We,Be)=>{const o=s("router-link"),u=s("DocsWrapper");return r(),d(u,{frontmatter:a},{default:l(()=>[e("div",c,[h,p,g,m,y,e("p",null,[_,n(o,{to:"/docs/cloud/glossary/#extensions"},{default:l(()=>[f]),_:1}),b,C,w,L,v]),k,I,S,T,F,A,x,D,P,M,z,j,O,E,W,B,q,R,N,V,K,G,H,U,e("p",null,[Y,Z,J,n(o,{to:"/docs/app/user-directory/"},{default:l(()=>[Q]),_:1}),X,n(o,{to:"/docs/app/file-library/"},{default:l(()=>[$]),_:1}),ee]),te,le,oe,ne,ae,se,ie,ue,re,de,ce,he,pe,ge,me,ye,_e,fe,be,Ce,we,Le,ve,ke,Ie,Se,Te,Fe,Ae,xe,De,Pe,Me,ze,je,Oe])]),_:1})}}};export{Re as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bV as b}from"./vendor.e0a21029.js";function E(s,y){return y.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(r){if(r!=="default"&&!(r in s)){var l=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(s,r,l.get?l:{enumerable:!0,get:function(){return n[r]}})}})}),Object.freeze(Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}))}var v={exports:{}};(function(s,y){(function(n){n(b.exports)})(function(n){n.defineMode("livescript",function(){var w=function(e,t){var a=t.next||"start";if(a){t.next=t.next;var f=x[a];if(f.splice){for(var p=0;p<f.length;++p){var o=f[p];if(o.regex&&e.match(o.regex))return t.next=o.next||t.next,o.token}return e.next(),"error"}if(e.match(o=x[a]))return o.regex&&e.match(o.regex)?(t.next=o.next,o.token):(e.next(),"error")}return e.next(),"error"},h={startState:function(){return{next:"start",lastToken:{style:null,indent:0,content:""}}},token:function(e,t){for(;e.pos==e.start;)var a=w(e,t);return t.lastToken={style:a,indent:e.indentation(),content:e.current()},a.replace(/\./g," ")},indent:function(e){var t=e.lastToken.indent;return e.lastToken.content.match(l)&&(t+=2),t}};return h});var r="(?![\\d\\s])[$\\w\\xAA-\\uFFDC](?:(?!\\s)[$\\w\\xAA-\\uFFDC]|-[A-Za-z])*",l=RegExp("(?:[({[=:]|[-~]>|\\b(?:e(?:lse|xport)|d(?:o|efault)|t(?:ry|hen)|finally|import(?:\\s*all)?|const|var|let|new|catch(?:\\s*"+r+")?))\\s*$"),i="(?![$\\w]|-[A-Za-z]|\\s*:(?![:=]))",g={token:"string",regex:".+"},x={start:[{token:"comment.doc",regex:"/\\*",next:"comment"},{token:"comment",regex:"#.*"},{token:"keyword",regex:"(?:t(?:h(?:is|row|en)|ry|ypeof!?)|c(?:on(?:tinue|st)|a(?:se|tch)|lass)|i(?:n(?:stanceof)?|mp(?:ort(?:\\s+all)?|lements)|[fs])|d(?:e(?:fault|lete|bugger)|o)|f(?:or(?:\\s+own)?|inally|unction)|s(?:uper|witch)|e(?:lse|x(?:tends|port)|val)|a(?:nd|rguments)|n(?:ew|ot)|un(?:less|til)|w(?:hile|ith)|o[fr]|return|break|let|var|loop)"+i},{token:"constant.language",regex:"(?:true|false|yes|no|on|off|null|void|undefined)"+i},{token:"invalid.illegal",regex:"(?:p(?:ackage|r(?:ivate|otected)|ublic)|i(?:mplements|nterface)|enum|static|yield)"+i},{token:"language.support.class",regex:"(?:R(?:e(?:gExp|ferenceError)|angeError)|S(?:tring|yntaxError)|E(?:rror|valError)|Array|Boolean|Date|Function|Number|Object|TypeError|URIError)"+i},{token:"language.support.function",regex:"(?:is(?:NaN|Finite)|parse(?:Int|Float)|Math|JSON|(?:en|de)codeURI(?:Component)?)"+i},{token:"variable.language",regex:"(?:t(?:hat|il|o)|f(?:rom|allthrough)|it|by|e)"+i},{token:"identifier",regex:r+"\\s*:(?![:=])"},{token:"variable",regex:r},{token:"keyword.operator",regex:"(?:\\.{3}|\\s+\\?)"},{token:"keyword.variable",regex:"(?:@+|::|\\.\\.)",next:"key"},{token:"keyword.operator",regex:"\\.\\s*",next:"key"},{token:"string",regex:"\\\\\\S[^\\s,;)}\\]]*"},{token:"string.doc",regex:"'''",next:"qdoc"},{token:"string.doc",regex:'"""',next:"qqdoc"},{token:"string",regex:"'",next:"qstring"},{token:"string",regex:'"',next:"qqstring"},{token:"string",regex:"`",next:"js"},{token:"string",regex:"<\\[",next:"words"},{token:"string.regex",regex:"//",next:"heregex"},{token:"string.regex",regex:"\\/(?:[^[\\/\\n\\\\]*(?:(?:\\\\.|\\[[^\\]\\n\\\\]*(?:\\\\.[^\\]\\n\\\\]*)*\\])[^[\\/\\n\\\\]*)*)\\/[gimy$]{0,4}",next:"key"},{token:"constant.numeric",regex:"(?:0x[\\da-fA-F][\\da-fA-F_]*|(?:[2-9]|[12]\\d|3[0-6])r[\\da-zA-Z][\\da-zA-Z_]*|(?:\\d[\\d_]*(?:\\.\\d[\\d_]*)?|\\.\\d[\\d_]*)(?:e[+-]?\\d[\\d_]*)?[\\w$]*)"},{token:"lparen",regex:"[({[]"},{token:"rparen",regex:"[)}\\]]",next:"key"},{token:"keyword.operator",regex:"\\S+"},{token:"text",regex:"\\s+"}],heregex:[{token:"string.regex",regex:".*?//[gimy$?]{0,4}",next:"start"},{token:"string.regex",regex:"\\s*#{"},{token:"comment.regex",regex:"\\s+(?:#.*)?"},{token:"string.regex",regex:"\\S+"}],key:[{token:"keyword.operator",regex:"[.?@!]+"},{token:"identifier",regex:r,next:"start"},{token:"text",regex:"",next:"start"}],comment:[{token:"comment.doc",regex:".*?\\*/",next:"start"},{token:"comment.doc",regex:".+"}],qdoc:[{token:"string",regex:".*?'''",next:"key"},g],qqdoc:[{token:"string",regex:'.*?"""',next:"key"},g],qstring:[{token:"string",regex:"[^\\\\']*(?:\\\\.[^\\\\']*)*'",next:"key"},g],qqstring:[{token:"string",regex:'[^\\\\"]*(?:\\\\.[^\\\\"]*)*"',next:"key"},g],js:[{token:"string",regex:"[^\\\\`]*(?:\\\\.[^\\\\`]*)*`",next:"key"},g],words:[{token:"string",regex:".*?\\]>",next:"key"},g]};for(var d in x){var c=x[d];if(c.splice)for(var k=0,m=c.length;k<m;++k){var u=c[k];typeof u.regex=="string"&&(x[d][k].regex=new RegExp("^"+u.regex))}else typeof u.regex=="string"&&(x[d].regex=new RegExp("^"+c.regex))}n.defineMIME("text/x-livescript","livescript")})})();var A=v.exports,_=E({__proto__:null,default:A},[v.exports]);export{_ as l};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{w as n,y as s,z as l,A as c,E as a,W as o}from"./vendor.
|
|
1
|
+
import{w as n,y as s,z as l,A as c,E as a,W as o}from"./vendor.e0a21029.js";const p=a("div",{class:"markdown-body"},[a("blockquote",null,[a("p",null,"TK")]),a("h2",{id:"content-translations"},[o("Content Translations "),a("a",{class:"header-anchor",href:"#content-translations"},"#")]),a("h2",{id:"multilingual-app-%26-locales"},[o("Multilingual App & Locales "),a("a",{class:"header-anchor",href:"#multilingual-app-%26-locales"},"#")]),a("h2",{id:"iconography"},[o("Iconography "),a("a",{class:"header-anchor",href:"#iconography"},"#")]),a("h2",{id:"rtl-support"},[o("RTL Support "),a("a",{class:"header-anchor",href:"#rtl-support"},"#")])],-1),f={setup(i,{expose:t}){const e={title:"Localization",modularExtension:!1};return t({frontmatter:e}),(h,d)=>{const r=n("DocsWrapper");return s(),l(r,{frontmatter:e},{default:c(()=>[p]),_:1})}}};export{f as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bV as j}from"./vendor.e0a21029.js";function O(u,f){return f.forEach(function(i){i&&typeof i!="string"&&!Array.isArray(i)&&Object.keys(i).forEach(function(o){if(o!=="default"&&!(o in u)){var s=Object.getOwnPropertyDescriptor(i,o);Object.defineProperty(u,o,s.get?s:{enumerable:!0,get:function(){return i[o]}})}})}),Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var m={exports:{}};(function(u,f){(function(i){i(j.exports)})(function(i){i.defineMode("lua",function(o,s){var h=o.indentUnit;function b(e){return new RegExp("^(?:"+e.join("|")+")","i")}function l(e){return new RegExp("^(?:"+e.join("|")+")$","i")}var v=l(s.specials||[]),k=l(["_G","_VERSION","assert","collectgarbage","dofile","error","getfenv","getmetatable","ipairs","load","loadfile","loadstring","module","next","pairs","pcall","print","rawequal","rawget","rawset","require","select","setfenv","setmetatable","tonumber","tostring","type","unpack","xpcall","coroutine.create","coroutine.resume","coroutine.running","coroutine.status","coroutine.wrap","coroutine.yield","debug.debug","debug.getfenv","debug.gethook","debug.getinfo","debug.getlocal","debug.getmetatable","debug.getregistry","debug.getupvalue","debug.setfenv","debug.sethook","debug.setlocal","debug.setmetatable","debug.setupvalue","debug.traceback","close","flush","lines","read","seek","setvbuf","write","io.close","io.flush","io.input","io.lines","io.open","io.output","io.popen","io.read","io.stderr","io.stdin","io.stdout","io.tmpfile","io.type","io.write","math.abs","math.acos","math.asin","math.atan","math.atan2","math.ceil","math.cos","math.cosh","math.deg","math.exp","math.floor","math.fmod","math.frexp","math.huge","math.ldexp","math.log","math.log10","math.max","math.min","math.modf","math.pi","math.pow","math.rad","math.random","math.randomseed","math.sin","math.sinh","math.sqrt","math.tan","math.tanh","os.clock","os.date","os.difftime","os.execute","os.exit","os.getenv","os.remove","os.rename","os.setlocale","os.time","os.tmpname","package.cpath","package.loaded","package.loaders","package.loadlib","package.path","package.preload","package.seeall","string.byte","string.char","string.dump","string.find","string.format","string.gmatch","string.gsub","string.len","string.lower","string.match","string.rep","string.reverse","string.sub","string.upper","table.concat","table.insert","table.maxn","table.remove","table.sort"]),x=l(["and","break","elseif","false","nil","not","or","return","true","function","end","if","then","else","do","while","repeat","until","for","in","local"]),w=l(["function","if","repeat","do","\\(","{"]),y=l(["end","until","\\)","}"]),E=b(["end","until","\\)","}","else","elseif"]);function g(e){for(var n=0;e.eat("=");)++n;return e.eat("["),n}function d(e,n){var t=e.next();return t=="-"&&e.eat("-")?e.eat("[")&&e.eat("[")?(n.cur=p(g(e),"comment"))(e,n):(e.skipToEnd(),"comment"):t=='"'||t=="'"?(n.cur=_(t))(e,n):t=="["&&/[\[=]/.test(e.peek())?(n.cur=p(g(e),"string"))(e,n):/\d/.test(t)?(e.eatWhile(/[\w.%]/),"number"):/[\w_]/.test(t)?(e.eatWhile(/[\w\\\-_.]/),"variable"):null}function p(e,n){return function(t,r){for(var a=null,c;(c=t.next())!=null;)if(a==null)c=="]"&&(a=0);else if(c=="=")++a;else if(c=="]"&&a==e){r.cur=d;break}else a=null;return n}}function _(e){return function(n,t){for(var r=!1,a;(a=n.next())!=null&&!(a==e&&!r);)r=!r&&a=="\\";return r||(t.cur=d),"string"}}return{startState:function(e){return{basecol:e||0,indentDepth:0,cur:d}},token:function(e,n){if(e.eatSpace())return null;var t=n.cur(e,n),r=e.current();return t=="variable"&&(x.test(r)?t="keyword":k.test(r)?t="builtin":v.test(r)&&(t="variable-2")),t!="comment"&&t!="string"&&(w.test(r)?++n.indentDepth:y.test(r)&&--n.indentDepth),t},indent:function(e,n){var t=E.test(n);return e.basecol+h*(e.indentDepth-(t?1:0))},electricInput:/^\s*(?:end|until|else|\)|\})$/,lineComment:"--",blockCommentStart:"--[[",blockCommentEnd:"]]"}}),i.defineMIME("text/x-lua","lua")})})();var S=m.exports,R=O({__proto__:null,default:S},[m.exports]);export{R as l};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{w as i,y as r,z as d,A as o,E as t,C as n,W as e}from"./vendor.
|
|
2
|
-
`)],-1),
|
|
1
|
+
import{w as i,y as r,z as d,A as o,E as t,C as n,W as e}from"./vendor.e0a21029.js";const _={class:"markdown-body"},u={class:"tip hint"},h=t("div",{class:"hint-title"},"Automation",-1),p=e("We\u2019ve created a little CLI tool you can run that does this process automatically. For more info, check the doc on "),f=e("installing through the CLI"),g=e("."),m=t("h2",{id:"1.-setup-a-project-folder"},[e("1. Setup a Project Folder "),t("a",{class:"header-anchor",href:"#1.-setup-a-project-folder"},"#")],-1),v=t("p",null,[e("Create a new directory, and add a "),t("code",null,"package.json"),e(" by running the following command.")],-1),y=t("pre",null,[t("code",{class:"language-bash"},`npm init -y
|
|
2
|
+
`)],-1),b=e("We recommend aliasing the "),k=t("code",null,"start",-1),C=e(" script to Directus\u2019 start for easier deployments to services like "),x=e("AWS"),j=e(", "),w=e("Google Cloud Platform"),D=e(" or "),W=e("DigitalOcean App Platform"),A=e("."),F=t("pre",null,[t("code",{class:"language-json"},`{
|
|
3
3
|
...
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "directus start"
|
|
@@ -7,4 +7,4 @@ import{w as i,y as r,z as d,A as o,E as t,C as n,W as e}from"./vendor.c37f7cab.j
|
|
|
7
7
|
...
|
|
8
8
|
}
|
|
9
9
|
`)],-1),I=t("h2",{id:"2.-install-directus"},[e("2. Install Directus "),t("a",{class:"header-anchor",href:"#2.-install-directus"},"#")],-1),S=t("pre",null,[t("code",{class:"language-bash"},`npm install directus
|
|
10
|
-
`)],-1),V=t("h2",{id:"3.-setup-a-configuration-file"},[e("3. Setup a Configuration File "),t("a",{class:"header-anchor",href:"#3.-setup-a-configuration-file"},"#")],-1),B=t("p",null,[e("Finally, you\u2019ll need to setup your "),t("code",null,".env"),e(" file, or configure the environment variables through other means, such as Docker, etc.")],-1),E=t("p",null,[e("You can use a copy of "),t("a",{href:"https://github.com/directus/directus/blob/main/api/example.env",target:"_blank",rel:"noopener noreferrer"},[e("the "),t("code",null,"example.env"),e(" file")]),e(" as a starting point.")],-1),N=e("See "),P=e("Environment Variables"),L=e(" for all available variables."),T={setup(z,{expose:l}){const a={title:"Installing Manually",modularExtension:!1};return l({frontmatter:a}),(G,M)=>{const s=i("router-link"),c=i("DocsWrapper");return r(),d(c,{frontmatter:a},{default:o(()=>[t("div",_,[t("div",u,[h,t("p",null,[p,n(s,{to:"/docs/getting-started/installation/cli/"},{default:o(()=>[f]),_:1}),g])]),m,v,
|
|
10
|
+
`)],-1),V=t("h2",{id:"3.-setup-a-configuration-file"},[e("3. Setup a Configuration File "),t("a",{class:"header-anchor",href:"#3.-setup-a-configuration-file"},"#")],-1),B=t("p",null,[e("Finally, you\u2019ll need to setup your "),t("code",null,".env"),e(" file, or configure the environment variables through other means, such as Docker, etc.")],-1),E=t("p",null,[e("You can use a copy of "),t("a",{href:"https://github.com/directus/directus/blob/main/api/example.env",target:"_blank",rel:"noopener noreferrer"},[e("the "),t("code",null,"example.env"),e(" file")]),e(" as a starting point.")],-1),N=e("See "),P=e("Environment Variables"),L=e(" for all available variables."),T={setup(z,{expose:l}){const a={title:"Installing Manually",modularExtension:!1};return l({frontmatter:a}),(G,M)=>{const s=i("router-link"),c=i("DocsWrapper");return r(),d(c,{frontmatter:a},{default:o(()=>[t("div",_,[t("div",u,[h,t("p",null,[p,n(s,{to:"/docs/getting-started/installation/cli/"},{default:o(()=>[f]),_:1}),g])]),m,v,y,t("p",null,[b,k,C,n(s,{to:"/docs/getting-started/installation/aws/"},{default:o(()=>[x]),_:1}),j,n(s,{to:"/docs/getting-started/installation/gcp"},{default:o(()=>[w]),_:1}),D,n(s,{to:"/docs/getting-started/installation/digitalocean-app-platform/"},{default:o(()=>[W]),_:1}),A]),F,I,S,V,B,E,t("p",null,[N,n(s,{to:"/docs/configuration/config-options/#general"},{default:o(()=>[P]),_:1}),L])])]),_:1})}}};export{T as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bV as _}from"./vendor.e0a21029.js";function A(c,h){return h.forEach(function(o){o&&typeof o!="string"&&!Array.isArray(o)&&Object.keys(o).forEach(function(l){if(l!=="default"&&!(l in c)){var u=Object.getOwnPropertyDescriptor(o,l);Object.defineProperty(c,l,u.get?u:{enumerable:!0,get:function(){return o[l]}})}})}),Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var x={exports:{}};(function(c,h){(function(o){o(_.exports)})(function(o){o.defineOption("styleSelectedText",!1,function(e,t,r){var n=r&&r!=o.Init;t&&!n?(e.state.markedSelection=[],e.state.markedSelectionStyle=typeof t=="string"?t:"CodeMirror-selectedtext",g(e),e.on("cursorActivity",l),e.on("change",u)):!t&&n&&(e.off("cursorActivity",l),e.off("change",u),v(e),e.state.markedSelection=e.state.markedSelectionStyle=null)});function l(e){e.state.markedSelection&&e.operation(function(){O(e)})}function u(e){e.state.markedSelection&&e.state.markedSelection.length&&e.operation(function(){v(e)})}var p=8,y=o.Pos,f=o.cmpPos;function s(e,t,r,n){if(f(t,r)!=0)for(var a=e.state.markedSelection,i=e.state.markedSelectionStyle,S=t.line;;){var j=S==t.line?t:y(S,0),d=S+p,k=d>=r.line,P=k?r:y(d,0),b=e.markText(j,P,{className:i});if(n==null?a.push(b):a.splice(n++,0,b),k)break;S=d}}function v(e){for(var t=e.state.markedSelection,r=0;r<t.length;++r)t[r].clear();t.length=0}function g(e){v(e);for(var t=e.listSelections(),r=0;r<t.length;r++)s(e,t[r].from(),t[r].to())}function O(e){if(!e.somethingSelected())return v(e);if(e.listSelections().length>1)return g(e);var t=e.getCursor("start"),r=e.getCursor("end"),n=e.state.markedSelection;if(!n.length)return s(e,t,r);var a=n[0].find(),i=n[n.length-1].find();if(!a||!i||r.line-t.line<=p||f(t,i.to)>=0||f(r,a.from)<=0)return g(e);for(;f(t,a.from)>0;)n.shift().clear(),a=n[0].find();for(f(t,a.from)<0&&(a.to.line-t.line<p?(n.shift().clear(),s(e,t,a.to,0)):s(e,t,a.from,0));f(r,i.to)<0;)n.pop().clear(),i=n[n.length-1].find();f(r,i.to)>0&&(r.line-i.from.line<p?(n.pop().clear(),s(e,i.from,r)):s(e,i.to,r))}})})();var w=x.exports,E=A({__proto__:null,default:w},[x.exports]);export{E as m};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bV as S,bW as $}from"./vendor.e0a21029.js";function j(h,v){return v.forEach(function(a){a&&typeof a!="string"&&!Array.isArray(a)&&Object.keys(a).forEach(function(l){if(l!=="default"&&!(l in h)){var c=Object.getOwnPropertyDescriptor(a,l);Object.defineProperty(h,l,c.get?c:{enumerable:!0,get:function(){return a[l]}})}})}),Object.freeze(Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}))}var A={exports:{}};(function(h,v){(function(a){a(S.exports,$.exports)})(function(a){var l={style:"matchhighlight",minChars:2,delay:100,wordsOnly:!1,annotateScrollbar:!1,showToken:!1,trim:!0};function c(t){this.options={};for(var e in l)this.options[e]=(t&&t.hasOwnProperty(e)?t:l)[e];this.overlay=this.timeout=null,this.matchesonscroll=null,this.active=!1}a.defineOption("highlightSelectionMatches",!1,function(t,e,i){if(i&&i!=a.Init&&(O(t),clearTimeout(t.state.matchHighlighter.timeout),t.state.matchHighlighter=null,t.off("cursorActivity",p),t.off("focus",y)),e){var r=t.state.matchHighlighter=new c(e);t.hasFocus()?(r.active=!0,d(t)):t.on("focus",y),t.on("cursorActivity",p)}});function p(t){var e=t.state.matchHighlighter;(e.active||t.hasFocus())&&b(t,e)}function y(t){var e=t.state.matchHighlighter;e.active||(e.active=!0,b(t,e))}function b(t,e){clearTimeout(e.timeout),e.timeout=setTimeout(function(){d(t)},e.options.delay)}function w(t,e,i,r){var o=t.state.matchHighlighter;if(t.addOverlay(o.overlay=x(e,i,r)),o.options.annotateScrollbar&&t.showMatchesOnScrollbar){var n=i?new RegExp((/\w/.test(e.charAt(0))?"\\b":"")+e.replace(/[\\\[.+*?(){|^$]/g,"\\$&")+(/\w/.test(e.charAt(e.length-1))?"\\b":"")):e;o.matchesonscroll=t.showMatchesOnScrollbar(n,!1,{className:"CodeMirror-selection-highlight-scrollbar"})}}function O(t){var e=t.state.matchHighlighter;e.overlay&&(t.removeOverlay(e.overlay),e.overlay=null,e.matchesonscroll&&(e.matchesonscroll.clear(),e.matchesonscroll=null))}function d(t){t.operation(function(){var e=t.state.matchHighlighter;if(O(t),!t.somethingSelected()&&e.options.showToken){for(var i=e.options.showToken===!0?/[\w$]/:e.options.showToken,r=t.getCursor(),o=t.getLine(r.line),n=r.ch,s=n;n&&i.test(o.charAt(n-1));)--n;for(;s<o.length&&i.test(o.charAt(s));)++s;n<s&&w(t,o.slice(n,s),i,e.options.style);return}var u=t.getCursor("from"),g=t.getCursor("to");if(u.line==g.line&&!(e.options.wordsOnly&&!H(t,u,g))){var f=t.getRange(u,g);e.options.trim&&(f=f.replace(/^\s+|\s+$/g,"")),f.length>=e.options.minChars&&w(t,f,!1,e.options.style)}})}function H(t,e,i){var r=t.getRange(e,i);if(r.match(/^\w+$/)!==null){if(e.ch>0){var o={line:e.line,ch:e.ch-1},n=t.getRange(o,e);if(n.match(/\W/)===null)return!1}if(i.ch<t.getLine(e.line).length){var o={line:i.line,ch:i.ch+1},n=t.getRange(i,o);if(n.match(/\W/)===null)return!1}return!0}else return!1}function T(t,e){return(!t.start||!e.test(t.string.charAt(t.start-1)))&&(t.pos==t.string.length||!e.test(t.string.charAt(t.pos)))}function x(t,e,i){return{token:function(r){if(r.match(t)&&(!e||T(r,e)))return i;r.next(),r.skipTo(t.charAt(0))||r.skipToEnd()}}}})})();var k=A.exports,M=j({__proto__:null,default:k},[A.exports]);export{M as m};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bV as g}from"./vendor.e0a21029.js";function k(o,l){return l.forEach(function(t){t&&typeof t!="string"&&!Array.isArray(t)&&Object.keys(t).forEach(function(i){if(i!=="default"&&!(i in o)){var f=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(o,i,f.get?f:{enumerable:!0,get:function(){return t[i]}})}})}),Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var A={exports:{}};(function(o,l){(function(t){t(g.exports)})(function(t){t.defineMode("mathematica",function(i,f){var m="[a-zA-Z\\$][a-zA-Z0-9\\$]*",$="(?:\\d+)",z="(?:\\.\\d+|\\d+\\.\\d*|\\d+)",p="(?:\\.\\w+|\\w+\\.\\w*|\\w+)",v="(?:`(?:`?"+z+")?)",Z=new RegExp("(?:"+$+"(?:\\^\\^"+p+v+"?(?:\\*\\^[+-]?\\d+)?))"),h=new RegExp("(?:"+z+v+"?(?:\\*\\^[+-]?\\d+)?)"),d=new RegExp("(?:`?)(?:"+m+")(?:`(?:"+m+"))*(?:`?)");function c(e,r){var n;return n=e.next(),n==='"'?(r.tokenize=b,r.tokenize(e,r)):n==="("&&e.eat("*")?(r.commentLevel++,r.tokenize=x,r.tokenize(e,r)):(e.backUp(1),e.match(Z,!0,!1)||e.match(h,!0,!1)?"number":e.match(/(?:In|Out)\[[0-9]*\]/,!0,!1)?"atom":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*(?:`[a-zA-Z0-9\$]+)*::usage)/,!0,!1)?"meta":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*(?:`[a-zA-Z0-9\$]+)*::[a-zA-Z\$][a-zA-Z0-9\$]*):?/,!0,!1)?"string-2":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*\s*:)(?:(?:[a-zA-Z\$][a-zA-Z0-9\$]*)|(?:[^:=>~@\^\&\*\)\[\]'\?,\|])).*/,!0,!1)||e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)||e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+/,!0,!1)||e.match(/_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)?"variable-2":e.match(/\\\[[a-zA-Z\$][a-zA-Z0-9\$]*\]/,!0,!1)?"variable-3":e.match(/(?:\[|\]|{|}|\(|\))/,!0,!1)?"bracket":e.match(/(?:#[a-zA-Z\$][a-zA-Z0-9\$]*|#+[0-9]?)/,!0,!1)?"variable-2":e.match(d,!0,!1)?"keyword":e.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%)/,!0,!1)?"operator":(e.next(),"error"))}function b(e,r){for(var n,a=!1,u=!1;(n=e.next())!=null;){if(n==='"'&&!u){a=!0;break}u=!u&&n==="\\"}return a&&!u&&(r.tokenize=c),"string"}function x(e,r){for(var n,a;r.commentLevel>0&&(a=e.next())!=null;)n==="("&&a==="*"&&r.commentLevel++,n==="*"&&a===")"&&r.commentLevel--,n=a;return r.commentLevel<=0&&(r.tokenize=c),"comment"}return{startState:function(){return{tokenize:c,commentLevel:0}},token:function(e,r){return e.eatSpace()?null:r.tokenize(e,r)},blockCommentStart:"(*",blockCommentEnd:"*)"}}),t.defineMIME("text/x-mathematica",{name:"mathematica"})})})();var s=A.exports,_=k({__proto__:null,default:s},[A.exports]);export{_ as m};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bV as g}from"./vendor.e0a21029.js";function S(t,f){return f.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(i){if(i!=="default"&&!(i in t)){var a=Object.getOwnPropertyDescriptor(n,i);Object.defineProperty(t,i,a.get?a:{enumerable:!0,get:function(){return n[i]}})}})}),Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var l={exports:{}};(function(t,f){(function(n){n(g.exports)})(function(n){var i=["From","Sender","Reply-To","To","Cc","Bcc","Message-ID","In-Reply-To","References","Resent-From","Resent-Sender","Resent-To","Resent-Cc","Resent-Bcc","Resent-Message-ID","Return-Path","Received"],a=["Date","Subject","Comments","Keywords","Resent-Date"];n.registerHelper("hintWords","mbox",i.concat(a));var d=/^[ \t]/,p=/^From /,m=new RegExp("^("+i.join("|")+"): "),s=new RegExp("^("+a.join("|")+"): "),v=/^[^:]+:/,b=/^[^ ]+@[^ ]+/,h=/^.*?(?=[^ ]+?@[^ ]+)/,H=/^<.*?>/,x=/^.*?(?=<.*>)/;function E(e){return e==="Subject"?"header":"string"}function R(e,r){if(e.sol()){if(r.inSeparator=!1,r.inHeader&&e.match(d))return null;if(r.inHeader=!1,r.header=null,e.match(p))return r.inHeaders=!0,r.inSeparator=!0,"atom";var o,c=!1;return(o=e.match(s))||(c=!0)&&(o=e.match(m))?(r.inHeaders=!0,r.inHeader=!0,r.emailPermitted=c,r.header=o[1],"atom"):r.inHeaders&&(o=e.match(v))?(r.inHeader=!0,r.emailPermitted=!0,r.header=o[1],"atom"):(r.inHeaders=!1,e.skipToEnd(),null)}if(r.inSeparator)return e.match(b)?"link":(e.match(h)||e.skipToEnd(),"atom");if(r.inHeader){var u=E(r.header);if(r.emailPermitted){if(e.match(H))return u+" link";if(e.match(x))return u}return e.skipToEnd(),u}return e.skipToEnd(),null}n.defineMode("mbox",function(){return{startState:function(){return{inSeparator:!1,inHeader:!1,emailPermitted:!1,header:null,inHeaders:!1}},token:R,blankLine:function(e){e.inHeaders=e.inSeparator=e.inHeader=!1}}}),n.defineMIME("application/mbox","mbox")})})();var j=l.exports,T=S({__proto__:null,default:j},[l.exports]);export{T as m};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as l,y as o,z as r,A as i,E as e,W as a}from"./vendor.
|
|
1
|
+
import{w as l,y as o,z as r,A as i,E as e,W as a}from"./vendor.e0a21029.js";const c=e("div",{class:"markdown-body"},[e("blockquote",null,[e("p",null,[a("Directus allows adding custom migration files that run whenever the "),e("code",null,"directus database migrate:*"),a(" commands are executed. All migrations must reside in the "),e("code",null,"extensions/migrations"),a(" folder.")])]),e("h2",{id:"file-name"},[a("File Name "),e("a",{class:"header-anchor",href:"#file-name"},"#")]),e("p",null,"The file name follows the following structure:"),e("pre",null,[e("code",null,`[identifier]-[name].js
|
|
2
2
|
`)]),e("p",null,"for example:"),e("pre",null,[e("code",null,`20201202A-my-custom-migration.js
|
|
3
3
|
`)]),e("h2",{id:"structure"},[a("Structure "),e("a",{class:"header-anchor",href:"#structure"},"#")]),e("p",null,[a("Migrations have to export an "),e("code",null,"up"),a(" and a "),e("code",null,"down"),a(" function. These functions get a "),e("a",{href:"http://knexjs.org",target:"_blank",rel:"noopener noreferrer"},"Knex"),a(" instance that can be used to do virtually whatever.")]),e("pre",null,[e("code",{class:"language-js"},[e("span",{class:"hljs-built_in"},"module"),a(`.exports = {
|
|
4
4
|
`),e("span",{class:"hljs-keyword"},"async"),a(),e("span",{class:"hljs-function"},[e("span",{class:"hljs-title"},"up"),a("("),e("span",{class:"hljs-params"},"knex"),a(")")]),a(` {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bV as h}from"./vendor.e0a21029.js";function g(a,l){return l.forEach(function(t){t&&typeof t!="string"&&!Array.isArray(t)&&Object.keys(t).forEach(function(n){if(n!=="default"&&!(n in a)){var o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(a,n,o.get?o:{enumerable:!0,get:function(){return t[n]}})}})}),Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var f={exports:{}};(function(a,l){(function(t){t(h.exports)})(function(t){t.defineMIME("text/mirc","mirc"),t.defineMode("mirc",function(){function n(e){for(var r={},$=e.split(" "),i=0;i<$.length;++i)r[$[i]]=!0;return r}var o=n("$! $$ $& $? $+ $abook $abs $active $activecid $activewid $address $addtok $agent $agentname $agentstat $agentver $alias $and $anick $ansi2mirc $aop $appactive $appstate $asc $asctime $asin $atan $avoice $away $awaymsg $awaytime $banmask $base $bfind $binoff $biton $bnick $bvar $bytes $calc $cb $cd $ceil $chan $chanmodes $chantypes $chat $chr $cid $clevel $click $cmdbox $cmdline $cnick $color $com $comcall $comchan $comerr $compact $compress $comval $cos $count $cr $crc $creq $crlf $ctime $ctimer $ctrlenter $date $day $daylight $dbuh $dbuw $dccignore $dccport $dde $ddename $debug $decode $decompress $deltok $devent $dialog $did $didreg $didtok $didwm $disk $dlevel $dll $dllcall $dname $dns $duration $ebeeps $editbox $emailaddr $encode $error $eval $event $exist $feof $ferr $fgetc $file $filename $filtered $finddir $finddirn $findfile $findfilen $findtok $fline $floor $fopen $fread $fserve $fulladdress $fulldate $fullname $fullscreen $get $getdir $getdot $gettok $gmt $group $halted $hash $height $hfind $hget $highlight $hnick $hotline $hotlinepos $ial $ialchan $ibl $idle $iel $ifmatch $ignore $iif $iil $inelipse $ini $inmidi $inpaste $inpoly $input $inrect $inroundrect $insong $instok $int $inwave $ip $isalias $isbit $isdde $isdir $isfile $isid $islower $istok $isupper $keychar $keyrpt $keyval $knick $lactive $lactivecid $lactivewid $left $len $level $lf $line $lines $link $lock $lock $locked $log $logstamp $logstampfmt $longfn $longip $lower $ltimer $maddress $mask $matchkey $matchtok $md5 $me $menu $menubar $menucontext $menutype $mid $middir $mircdir $mircexe $mircini $mklogfn $mnick $mode $modefirst $modelast $modespl $mouse $msfile $network $newnick $nick $nofile $nopath $noqt $not $notags $notify $null $numeric $numok $oline $onpoly $opnick $or $ord $os $passivedcc $pic $play $pnick $port $portable $portfree $pos $prefix $prop $protect $puttok $qt $query $rand $r $rawmsg $read $readomo $readn $regex $regml $regsub $regsubex $remove $remtok $replace $replacex $reptok $result $rgb $right $round $scid $scon $script $scriptdir $scriptline $sdir $send $server $serverip $sfile $sha1 $shortfn $show $signal $sin $site $sline $snick $snicks $snotify $sock $sockbr $sockerr $sockname $sorttok $sound $sqrt $ssl $sreq $sslready $status $strip $str $stripped $syle $submenu $switchbar $tan $target $ticks $time $timer $timestamp $timestampfmt $timezone $tip $titlebar $toolbar $treebar $trust $ulevel $ulist $upper $uptime $url $usermode $v1 $v2 $var $vcmd $vcmdstat $vcmdver $version $vnick $vol $wid $width $wildsite $wildtok $window $wrap $xor"),c=n("abook ajinvite alias aline ame amsg anick aop auser autojoin avoice away background ban bcopy beep bread break breplace bset btrunc bunset bwrite channel clear clearall cline clipboard close cnick color comclose comopen comreg continue copy creq ctcpreply ctcps dcc dccserver dde ddeserver debug dec describe dialog did didtok disable disconnect dlevel dline dll dns dqwindow drawcopy drawdot drawfill drawline drawpic drawrect drawreplace drawrot drawsave drawscroll drawtext ebeeps echo editbox emailaddr enable events exit fclose filter findtext finger firewall flash flist flood flush flushini font fopen fseek fsend fserve fullname fwrite ghide gload gmove gopts goto gplay gpoint gqreq groups gshow gsize gstop gtalk gunload hadd halt haltdef hdec hdel help hfree hinc hload hmake hop hsave ial ialclear ialmark identd if ignore iline inc invite iuser join kick linesep links list load loadbuf localinfo log mdi me menubar mkdir mnick mode msg nick noop notice notify omsg onotice part partall pdcc perform play playctrl pop protect pvoice qme qmsg query queryn quit raw reload remini remote remove rename renwin reseterror resetidle return rlevel rline rmdir run ruser save savebuf saveini say scid scon server set showmirc signam sline sockaccept sockclose socklist socklisten sockmark sockopen sockpause sockread sockrename sockudp sockwrite sound speak splay sreq strip switchbar timer timestamp titlebar tnick tokenize toolbar topic tray treebar ulist unload unset unsetall updatenl url uwho var vcadd vcmd vcrem vol while whois window winhelp write writeint if isalnum isalpha isaop isavoice isban ischan ishop isignore isin isincs isletter islower isnotify isnum ison isop isprotect isreg isupper isvoice iswm iswmcs elseif else goto menu nicklist status title icon size option text edit button check radio box scroll list combo link tab item"),d=n("if elseif else and not or eq ne in ni for foreach while switch"),m=/[+\-*&%=<>!?^\/\|]/;function p(e,r,$){return r.tokenize=$,$(e,r)}function s(e,r){var $=r.beforeParams;r.beforeParams=!1;var i=e.next();if(/[\[\]{}\(\),\.]/.test(i))return i=="("&&$?r.inParams=!0:i==")"&&(r.inParams=!1),null;if(/\d/.test(i))return e.eatWhile(/[\w\.]/),"number";if(i=="\\")return e.eat("\\"),e.eat(/./),"number";if(i=="/"&&e.eat("*"))return p(e,r,k);if(i==";"&&e.match(/ *\( *\(/))return p(e,r,b);if(i==";"&&!r.inParams)return e.skipToEnd(),"comment";if(i=='"')return e.eat(/"/),"keyword";if(i=="$")return e.eatWhile(/[$_a-z0-9A-Z\.:]/),o&&o.propertyIsEnumerable(e.current().toLowerCase())?"keyword":(r.beforeParams=!0,"builtin");if(i=="%")return e.eatWhile(/[^,\s()]/),r.beforeParams=!0,"string";if(m.test(i))return e.eatWhile(m),"operator";e.eatWhile(/[\w\$_{}]/);var u=e.current().toLowerCase();return c&&c.propertyIsEnumerable(u)?"keyword":d&&d.propertyIsEnumerable(u)?(r.beforeParams=!0,"keyword"):null}function k(e,r){for(var $=!1,i;i=e.next();){if(i=="/"&&$){r.tokenize=s;break}$=i=="*"}return"comment"}function b(e,r){for(var $=0,i;i=e.next();){if(i==";"&&$==2){r.tokenize=s;break}i==")"?$++:i!=" "&&($=0)}return"meta"}return{startState:function(){return{tokenize:s,beforeParams:!1,inParams:!1}},token:function(e,r){return e.eatSpace()?null:r.tokenize(e,r)}}})})})();var v=f.exports,y=g({__proto__:null,default:v},[f.exports]);export{y as m};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bV as x}from"./vendor.e0a21029.js";function v(l,a){return a.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(d){if(d!=="default"&&!(d in l)){var i=Object.getOwnPropertyDescriptor(n,d);Object.defineProperty(l,d,i.get?i:{enumerable:!0,get:function(){return n[d]}})}})}),Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var b={exports:{}};(function(l,a){(function(n){n(x.exports)})(function(n){n.defineMode("mllike",function(d,i){var y={as:"keyword",do:"keyword",else:"keyword",end:"keyword",exception:"keyword",fun:"keyword",functor:"keyword",if:"keyword",in:"keyword",include:"keyword",let:"keyword",of:"keyword",open:"keyword",rec:"keyword",struct:"keyword",then:"keyword",type:"keyword",val:"keyword",while:"keyword",with:"keyword"},f=i.extraWords||{};for(var u in f)f.hasOwnProperty(u)&&(y[u]=i.extraWords[u]);var c=[];for(var s in y)c.push(s);n.registerHelper("hintWords","mllike",c);function k(e,r){var o=e.next();if(o==='"')return r.tokenize=m,r.tokenize(e,r);if(o==="{"&&e.eat("|"))return r.longString=!0,r.tokenize=h,r.tokenize(e,r);if(o==="("&&e.eat("*"))return r.commentLevel++,r.tokenize=p,r.tokenize(e,r);if(o==="~"||o==="?")return e.eatWhile(/\w/),"variable-2";if(o==="`")return e.eatWhile(/\w/),"quote";if(o==="/"&&i.slashComments&&e.eat("/"))return e.skipToEnd(),"comment";if(/\d/.test(o))return o==="0"&&e.eat(/[bB]/)&&e.eatWhile(/[01]/),o==="0"&&e.eat(/[xX]/)&&e.eatWhile(/[0-9a-fA-F]/),o==="0"&&e.eat(/[oO]/)?e.eatWhile(/[0-7]/):(e.eatWhile(/[\d_]/),e.eat(".")&&e.eatWhile(/[\d]/),e.eat(/[eE]/)&&e.eatWhile(/[\d\-+]/)),"number";if(/[+\-*&%=<>!?|@\.~:]/.test(o))return"operator";if(/[\w\xa1-\uffff]/.test(o)){e.eatWhile(/[\w\xa1-\uffff]/);var t=e.current();return y.hasOwnProperty(t)?y[t]:"variable"}return null}function m(e,r){for(var o,t=!1,w=!1;(o=e.next())!=null;){if(o==='"'&&!w){t=!0;break}w=!w&&o==="\\"}return t&&!w&&(r.tokenize=k),"string"}function p(e,r){for(var o,t;r.commentLevel>0&&(t=e.next())!=null;)o==="("&&t==="*"&&r.commentLevel++,o==="*"&&t===")"&&r.commentLevel--,o=t;return r.commentLevel<=0&&(r.tokenize=k),"comment"}function h(e,r){for(var o,t;r.longString&&(t=e.next())!=null;)o==="|"&&t==="}"&&(r.longString=!1),o=t;return r.longString||(r.tokenize=k),"string"}return{startState:function(){return{tokenize:k,commentLevel:0,longString:!1}},token:function(e,r){return e.eatSpace()?null:r.tokenize(e,r)},blockCommentStart:"(*",blockCommentEnd:"*)",lineComment:i.slashComments?"//":null}}),n.defineMIME("text/x-ocaml",{name:"mllike",extraWords:{and:"keyword",assert:"keyword",begin:"keyword",class:"keyword",constraint:"keyword",done:"keyword",downto:"keyword",external:"keyword",function:"keyword",initializer:"keyword",lazy:"keyword",match:"keyword",method:"keyword",module:"keyword",mutable:"keyword",new:"keyword",nonrec:"keyword",object:"keyword",private:"keyword",sig:"keyword",to:"keyword",try:"keyword",value:"keyword",virtual:"keyword",when:"keyword",raise:"builtin",failwith:"builtin",true:"builtin",false:"builtin",asr:"builtin",land:"builtin",lor:"builtin",lsl:"builtin",lsr:"builtin",lxor:"builtin",mod:"builtin",or:"builtin",raise_notrace:"builtin",trace:"builtin",exit:"builtin",print_string:"builtin",print_endline:"builtin",int:"type",float:"type",bool:"type",char:"type",string:"type",unit:"type",List:"builtin"}}),n.defineMIME("text/x-fsharp",{name:"mllike",extraWords:{abstract:"keyword",assert:"keyword",base:"keyword",begin:"keyword",class:"keyword",default:"keyword",delegate:"keyword","do!":"keyword",done:"keyword",downcast:"keyword",downto:"keyword",elif:"keyword",extern:"keyword",finally:"keyword",for:"keyword",function:"keyword",global:"keyword",inherit:"keyword",inline:"keyword",interface:"keyword",internal:"keyword",lazy:"keyword","let!":"keyword",match:"keyword",member:"keyword",module:"keyword",mutable:"keyword",namespace:"keyword",new:"keyword",null:"keyword",override:"keyword",private:"keyword",public:"keyword","return!":"keyword",return:"keyword",select:"keyword",static:"keyword",to:"keyword",try:"keyword",upcast:"keyword","use!":"keyword",use:"keyword",void:"keyword",when:"keyword","yield!":"keyword",yield:"keyword",atomic:"keyword",break:"keyword",checked:"keyword",component:"keyword",const:"keyword",constraint:"keyword",constructor:"keyword",continue:"keyword",eager:"keyword",event:"keyword",external:"keyword",fixed:"keyword",method:"keyword",mixin:"keyword",object:"keyword",parallel:"keyword",process:"keyword",protected:"keyword",pure:"keyword",sealed:"keyword",tailcall:"keyword",trait:"keyword",virtual:"keyword",volatile:"keyword",List:"builtin",Seq:"builtin",Map:"builtin",Set:"builtin",Option:"builtin",int:"builtin",string:"builtin",not:"builtin",true:"builtin",false:"builtin",raise:"builtin",failwith:"builtin"},slashComments:!0}),n.defineMIME("text/x-sml",{name:"mllike",extraWords:{abstype:"keyword",and:"keyword",andalso:"keyword",case:"keyword",datatype:"keyword",fn:"keyword",handle:"keyword",infix:"keyword",infixr:"keyword",local:"keyword",nonfix:"keyword",op:"keyword",orelse:"keyword",raise:"keyword",withtype:"keyword",eqtype:"keyword",sharing:"keyword",sig:"keyword",signature:"keyword",structure:"keyword",where:"keyword",true:"keyword",false:"keyword",int:"builtin",real:"builtin",string:"builtin",char:"builtin",bool:"builtin"},slashComments:!0})})})();var g=b.exports,z=v({__proto__:null,default:g},[b.exports]);export{z as m};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bV as j}from"./vendor.e0a21029.js";function D(p,v){return v.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(l){if(l!=="default"&&!(l in p)){var k=Object.getOwnPropertyDescriptor(r,l);Object.defineProperty(p,l,k.get?k:{enumerable:!0,get:function(){return r[l]}})}})}),Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}var g={exports:{}};(function(p,v){(function(r){r(j.exports)})(function(r){r.defineMode("modelica",function(o,t){var u=o.indentUnit,a=t.keywords||{},s=t.builtin||{},d=t.atoms||{},h=/[;=\(:\),{}.*<>+\-\/^\[\]]/,w=/(:=|<=|>=|==|<>|\.\+|\.\-|\.\*|\.\/|\.\^)/,f=/[0-9]/,b=/[_a-zA-Z]/;function x(n,e){return n.skipToEnd(),e.tokenize=null,"comment"}function E(n,e){for(var i=!1,c;c=n.next();){if(i&&c=="/"){e.tokenize=null;break}i=c=="*"}return"comment"}function S(n,e){for(var i=!1,c;(c=n.next())!=null;){if(c=='"'&&!i){e.tokenize=null,e.sol=!1;break}i=!i&&c=="\\"}return"string"}function O(n,e){for(n.eatWhile(f);n.eat(f)||n.eat(b););var i=n.current();return e.sol&&(i=="package"||i=="model"||i=="when"||i=="connector")?e.level++:e.sol&&i=="end"&&e.level>0&&e.level--,e.tokenize=null,e.sol=!1,a.propertyIsEnumerable(i)?"keyword":s.propertyIsEnumerable(i)?"builtin":d.propertyIsEnumerable(i)?"atom":"variable"}function I(n,e){for(;n.eat(/[^']/););return e.tokenize=null,e.sol=!1,n.eat("'")?"variable":"error"}function _(n,e){return n.eatWhile(f),n.eat(".")&&n.eatWhile(f),(n.eat("e")||n.eat("E"))&&(n.eat("-")||n.eat("+"),n.eatWhile(f)),e.tokenize=null,e.sol=!1,"number"}return{startState:function(){return{tokenize:null,level:0,sol:!0}},token:function(n,e){if(e.tokenize!=null)return e.tokenize(n,e);if(n.sol()&&(e.sol=!0),n.eatSpace())return e.tokenize=null,null;var i=n.next();if(i=="/"&&n.eat("/"))e.tokenize=x;else if(i=="/"&&n.eat("*"))e.tokenize=E;else{if(w.test(i+n.peek()))return n.next(),e.tokenize=null,"operator";if(h.test(i))return e.tokenize=null,"operator";if(b.test(i))e.tokenize=O;else if(i=="'"&&n.peek()&&n.peek()!="'")e.tokenize=I;else if(i=='"')e.tokenize=S;else if(f.test(i))e.tokenize=_;else return e.tokenize=null,"error"}return e.tokenize(n,e)},indent:function(n,e){if(n.tokenize!=null)return r.Pass;var i=n.level;return/(algorithm)/.test(e)&&i--,/(equation)/.test(e)&&i--,/(initial algorithm)/.test(e)&&i--,/(initial equation)/.test(e)&&i--,/(end)/.test(e)&&i--,i>0?u*i:0},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}});function l(o){for(var t={},u=o.split(" "),a=0;a<u.length;++a)t[u[a]]=!0;return t}var k="algorithm and annotation assert block break class connect connector constant constrainedby der discrete each else elseif elsewhen encapsulated end enumeration equation expandable extends external false final flow for function if import impure in initial inner input loop model not operator or outer output package parameter partial protected public pure record redeclare replaceable return stream then true type when while within",y="abs acos actualStream asin atan atan2 cardinality ceil cos cosh delay div edge exp floor getInstanceName homotopy inStream integer log log10 mod pre reinit rem semiLinear sign sin sinh spatialDistribution sqrt tan tanh",m="Real Boolean Integer String";function z(o,t){typeof o=="string"&&(o=[o]);var u=[];function a(d){if(d)for(var h in d)d.hasOwnProperty(h)&&u.push(h)}a(t.keywords),a(t.builtin),a(t.atoms),u.length&&(t.helperType=o[0],r.registerHelper("hintWords",o[0],u));for(var s=0;s<o.length;++s)r.defineMIME(o[s],t)}z(["text/x-modelica"],{name:"modelica",keywords:l(k),builtin:l(y),atoms:l(m)})})})();var P=g.exports,q=D({__proto__:null,default:P},[g.exports]);export{q as m};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as l,y as c,z as u,A as o,E as e,C as a,W as t}from"./vendor.
|
|
1
|
+
import{w as l,y as c,z as u,A as o,E as e,C as a,W as t}from"./vendor.e0a21029.js";const h={class:"markdown-body"},d=t("Custom Modules are completely open-ended components that allow you to create new experiences within the Directus platform. "),p=t("Learn more about Modules"),m=t("."),_=e("h2",{id:"extension-entrypoint"},[t("Extension Entrypoint "),e("a",{class:"header-anchor",href:"#extension-entrypoint"},"#")],-1),f=e("p",null,[t("The entrypoint of your module is the "),e("code",null,"index"),t(" file inside the "),e("code",null,"src/"),t(" folder of your extension package. It exports a configuration object with options to configure the behavior of your module. When loading your module, this object is imported by the Directus host.")],-1),g=e("p",null,"Example of an entrypoint:",-1),y=e("pre",null,[e("code",{class:"language-js"},[e("span",{class:"hljs-keyword"},"import"),t(" ModuleComponent "),e("span",{class:"hljs-keyword"},"from"),t(),e("span",{class:"hljs-string"},"'./module.vue'"),t(`;
|
|
2
2
|
|
|
3
3
|
`),e("span",{class:"hljs-keyword"},"export"),t(),e("span",{class:"hljs-keyword"},"default"),t(` {
|
|
4
4
|
`),e("span",{class:"hljs-attr"},"id"),t(": "),e("span",{class:"hljs-string"},"'custom'"),t(`,
|
|
@@ -11,7 +11,7 @@ import{w as l,y as c,z as u,A as o,E as e,C as a,W as t}from"./vendor.c37f7cab.j
|
|
|
11
11
|
},
|
|
12
12
|
],
|
|
13
13
|
};
|
|
14
|
-
`)])],-1),b=e("h4",{id:"available-options"},[t("Available Options "),e("a",{class:"header-anchor",href:"#available-options"},"#")],-1),v=e("li",null,[e("code",null,"id"),t(" \u2014 The unique key for this module. It is good practice to scope proprietary modules with an author prefix.")],-1),w=e("li",null,[e("code",null,"name"),t(" \u2014 The human-readable name for this module.")],-1),j=e("code",null,"icon",-1),x=t(" \u2014 An icon name from the "),k=t("material icon set"),A=t(", or the extended list of Directus custom icons."),T=e("li",null,[e("code",null,"color"),t(" \u2014 A color associated with the module.")],-1),C=e("li",null,[e("code",null,"routes"),t(" \u2014 Details the routes in your module. The routes are registered as nested routes with the module\u2019s "),e("code",null,"id"),t(" serving as the base path.")],-1),V=e("li",null,[e("code",null,"hidden"),t(" \u2014 A boolean that indicates if the module should be hidden from the module bar.")],-1),I=e("li",null,[e("code",null,"preRegisterCheck"),t(" \u2014 A function that receives the current user as the first parameter and the permissions of this user as the second parameter. It should return a boolean that indicates if the check
|
|
14
|
+
`)])],-1),b=e("h4",{id:"available-options"},[t("Available Options "),e("a",{class:"header-anchor",href:"#available-options"},"#")],-1),v=e("li",null,[e("code",null,"id"),t(" \u2014 The unique key for this module. It is good practice to scope proprietary modules with an author prefix.")],-1),w=e("li",null,[e("code",null,"name"),t(" \u2014 The human-readable name for this module.")],-1),j=e("code",null,"icon",-1),x=t(" \u2014 An icon name from the "),k=t("material icon set"),A=t(", or the extended list of Directus custom icons."),T=e("li",null,[e("code",null,"color"),t(" \u2014 A color associated with the module.")],-1),C=e("li",null,[e("code",null,"routes"),t(" \u2014 Details the routes in your module. The routes are registered as nested routes with the module\u2019s "),e("code",null,"id"),t(" serving as the base path.")],-1),V=e("li",null,[e("code",null,"hidden"),t(" \u2014 A boolean that indicates if the module should be hidden from the module bar.")],-1),I=e("li",null,[e("code",null,"preRegisterCheck"),t(" \u2014 A function that receives the current user as the first parameter and the permissions of this user as the second parameter. It should return a boolean that indicates if the check succeeded.")],-1),S=e("h2",{id:"routes-array"},[t("Routes Array "),e("a",{class:"header-anchor",href:"#routes-array"},"#")],-1),D=e("p",null,[t("The "),e("code",null,"routes"),t(" array of a module works very similar to Vue Router\u2019s "),e("code",null,"routes"),t(" array. The only difference is that the module\u2019s routes are registered as child routes of the "),e("code",null,"/<module-id>"),t(" route.")],-1),E=e("p",null,[t("The "),e("code",null,"routes"),t(" array should contain one or more route objects with a "),e("code",null,"path"),t(" property. Because the routes are registered as child routes, the "),e("code",null,"path"),t(" property should be a relative path without a leading slash. As the button in the module bar corresponding to your module links to the "),e("code",null,"/<module-id>"),t(" route, the "),e("code",null,"routes"),t(" array should contain a "),e("em",null,"root"),t(" route with an empty path.")],-1),M=e("p",null,[t("If a route should render something, the route object should have a "),e("code",null,"component"),t(" property with a reference to a route component.")],-1),W=e("p",null,[t("To learn more about the properties of route objects, you can refer to the "),e("a",{href:"https://next.router.vuejs.org/guide/",target:"_blank",rel:"noopener noreferrer"},"Vue Router Docs"),t(".")],-1),B=e("h2",{id:"route-component"},[t("Route Component "),e("a",{class:"header-anchor",href:"#route-component"},"#")],-1),R=e("p",null,"A single module can have multiple route components registered under different routes. Whenever a certain route is visited, the corresponding route component is rendered, occupying the whole browser window. The route component has to be Vue component. The most straightforward way to write a Vue component is to use the Vue Single File Component syntax.",-1),P=e("p",null,"Example of a route component using the Vue SFC syntax:",-1),q=e("pre",null,[e("code",{class:"language-vue"},`<template>
|
|
15
15
|
<private-view title="My Custom Module">Content goes here...</private-view>
|
|
16
16
|
</template>
|
|
17
17
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bV as x}from"./vendor.e0a21029.js";function d(s,a){return a.forEach(function(e){e&&typeof e!="string"&&!Array.isArray(e)&&Object.keys(e).forEach(function(o){if(o!=="default"&&!(o in s)){var c=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(s,o,c.get?c:{enumerable:!0,get:function(){return e[o]}})}})}),Object.freeze(Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}))}var u={exports:{}};(function(s,a){(function(e){e(x.exports)})(function(e){var o={mscgen:{keywords:["msc"],options:["hscale","width","arcgradient","wordwraparcs"],constants:["true","false","on","off"],attributes:["label","idurl","id","url","linecolor","linecolour","textcolor","textcolour","textbgcolor","textbgcolour","arclinecolor","arclinecolour","arctextcolor","arctextcolour","arctextbgcolor","arctextbgcolour","arcskip"],brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]},xu:{keywords:["msc","xu"],options:["hscale","width","arcgradient","wordwraparcs","wordwrapentities","watermark"],constants:["true","false","on","off","auto"],attributes:["label","idurl","id","url","linecolor","linecolour","textcolor","textcolour","textbgcolor","textbgcolour","arclinecolor","arclinecolour","arctextcolor","arctextcolour","arctextbgcolor","arctextbgcolour","arcskip","title","deactivate","activate","activation"],brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box","alt","else","opt","break","par","seq","strict","neg","critical","ignore","consider","assert","loop","ref","exc"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]},msgenny:{keywords:null,options:["hscale","width","arcgradient","wordwraparcs","wordwrapentities","watermark"],constants:["true","false","on","off","auto"],attributes:null,brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box","alt","else","opt","break","par","seq","strict","neg","critical","ignore","consider","assert","loop","ref","exc"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]}};e.defineMode("mscgen",function(t,r){var n=o[r&&r.language||"mscgen"];return{startState:l,copyState:m,token:b(n),lineComment:"#",blockCommentStart:"/*",blockCommentEnd:"*/"}}),e.defineMIME("text/x-mscgen","mscgen"),e.defineMIME("text/x-xu",{name:"mscgen",language:"xu"}),e.defineMIME("text/x-msgenny",{name:"mscgen",language:"msgenny"});function c(t){return new RegExp("^\\b(?:"+t.join("|")+")\\b","i")}function i(t){return new RegExp("^(?:"+t.join("|")+")","i")}function l(){return{inComment:!1,inString:!1,inAttributeList:!1,inScript:!1}}function m(t){return{inComment:t.inComment,inString:t.inString,inAttributeList:t.inAttributeList,inScript:t.inScript}}function b(t){return function(r,n){if(r.match(i(t.brackets),!0,!0))return"bracket";if(!n.inComment){if(r.match(/\/\*[^\*\/]*/,!0,!0))return n.inComment=!0,"comment";if(r.match(i(t.singlecomment),!0,!0))return r.skipToEnd(),"comment"}if(n.inComment)return r.match(/[^\*\/]*\*\//,!0,!0)?n.inComment=!1:r.skipToEnd(),"comment";if(!n.inString&&r.match(/\"(\\\"|[^\"])*/,!0,!0))return n.inString=!0,"string";if(n.inString)return r.match(/[^\"]*\"/,!0,!0)?n.inString=!1:r.skipToEnd(),"string";if(!!t.keywords&&r.match(c(t.keywords),!0,!0)||r.match(c(t.options),!0,!0)||r.match(c(t.arcsWords),!0,!0)||r.match(i(t.arcsOthers),!0,!0))return"keyword";if(!!t.operators&&r.match(i(t.operators),!0,!0))return"operator";if(!!t.constants&&r.match(i(t.constants),!0,!0))return"variable";if(!t.inAttributeList&&!!t.attributes&&r.match("[",!0,!0))return t.inAttributeList=!0,"bracket";if(t.inAttributeList){if(t.attributes!==null&&r.match(c(t.attributes),!0,!0))return"attribute";if(r.match("]",!0,!0))return t.inAttributeList=!1,"bracket"}return r.next(),"base"}}})})();var f=u.exports,w=d({__proto__:null,default:f},[u.exports]);export{w as m};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bV as m}from"./vendor.e0a21029.js";var D={exports:{}};(function(u,x){(function(c){c(m.exports)})(function(c){c.multiplexingMode=function(o){var t=Array.prototype.slice.call(arguments,1);function y(i,n,l,e){if(typeof n=="string"){var p=i.indexOf(n,l);return e&&p>-1?p+n.length:p}var v=n.exec(l?i.slice(l):i);return v?v.index+l+(e?v[0].length:0):-1}return{startState:function(){return{outer:c.startState(o),innerActive:null,inner:null,startingInner:!1}},copyState:function(i){return{outer:c.copyState(o,i.outer),innerActive:i.innerActive,inner:i.innerActive&&c.copyState(i.innerActive.mode,i.inner),startingInner:i.startingInner}},token:function(i,n){if(n.innerActive){var r=n.innerActive,e=i.string;if(!r.close&&i.sol())return n.innerActive=n.inner=null,this.token(i,n);var f=r.close&&!n.startingInner?y(e,r.close,i.pos,r.parseDelimiters):-1;if(f==i.pos&&!r.parseDelimiters)return i.match(r.close),n.innerActive=n.inner=null,r.delimStyle&&r.delimStyle+" "+r.delimStyle+"-close";f>-1&&(i.string=e.slice(0,f));var A=r.mode.token(i,n.inner);return f>-1?i.string=e:i.pos>i.start&&(n.startingInner=!1),f==i.pos&&r.parseDelimiters&&(n.innerActive=n.inner=null),r.innerStyle&&(A?A=A+" "+r.innerStyle:A=r.innerStyle),A}else{for(var l=1/0,e=i.string,p=0;p<t.length;++p){var v=t[p],f=y(e,v.open,i.pos);if(f==i.pos){v.parseDelimiters||i.match(v.open),n.startingInner=!!v.parseDelimiters,n.innerActive=v;var d=0;if(o.indent){var g=o.indent(n.outer,"","");g!==c.Pass&&(d=g)}return n.inner=c.startState(v.mode,d),v.delimStyle&&v.delimStyle+" "+v.delimStyle+"-open"}else f!=-1&&f<l&&(l=f)}l!=1/0&&(i.string=e.slice(0,l));var S=o.token(i,n.outer);return l!=1/0&&(i.string=e),S}},indent:function(i,n,l){var e=i.innerActive?i.innerActive.mode:o;return e.indent?e.indent(i.innerActive?i.inner:i.outer,n,l):c.Pass},blankLine:function(i){var n=i.innerActive?i.innerActive.mode:o;if(n.blankLine&&n.blankLine(i.innerActive?i.inner:i.outer),i.innerActive)i.innerActive.close===`
|
|
2
2
|
`&&(i.innerActive=i.inner=null);else for(var l=0;l<t.length;++l){var e=t[l];e.open===`
|
|
3
3
|
`&&(i.innerActive=e,i.inner=c.startState(e.mode,n.indent?n.indent(i.outer,"",""):0))}},electricChars:o.electricChars,innerMode:function(i){return i.inner?{state:i.inner,mode:i.innerActive.mode}:{state:i.outer,mode:o}}}}})})();export{D as m};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bV as x}from"./vendor.e0a21029.js";function v(i,$){return $.forEach(function(t){t&&typeof t!="string"&&!Array.isArray(t)&&Object.keys(t).forEach(function(o){if(o!=="default"&&!(o in i)){var c=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(i,o,c.get?c:{enumerable:!0,get:function(){return t[o]}})}})}),Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var a={exports:{}};(function(i,$){(function(t){t(x.exports)})(function(t){t.defineMode("mumps",function(){function o(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var c=new RegExp("^[\\+\\-\\*/&#!_?\\\\<>=\\'\\[\\]]"),u=new RegExp("^(('=)|(<=)|(>=)|('>)|('<)|([[)|(]])|(^$))"),f=new RegExp("^[\\.,:]"),l=new RegExp("[()]"),d=new RegExp("^[%A-Za-z][A-Za-z0-9]*"),m=["break","close","do","else","for","goto","halt","hang","if","job","kill","lock","merge","new","open","quit","read","set","tcommit","trollback","tstart","use","view","write","xecute","b","c","d","e","f","g","h","i","j","k","l","m","n","o","q","r","s","tc","tro","ts","u","v","w","x"],s=["\\$ascii","\\$char","\\$data","\\$ecode","\\$estack","\\$etrap","\\$extract","\\$find","\\$fnumber","\\$get","\\$horolog","\\$io","\\$increment","\\$job","\\$justify","\\$length","\\$name","\\$next","\\$order","\\$piece","\\$qlength","\\$qsubscript","\\$query","\\$quit","\\$random","\\$reverse","\\$select","\\$stack","\\$test","\\$text","\\$translate","\\$view","\\$x","\\$y","\\$a","\\$c","\\$d","\\$e","\\$ec","\\$es","\\$et","\\$f","\\$fn","\\$g","\\$h","\\$i","\\$j","\\$l","\\$n","\\$na","\\$o","\\$p","\\$q","\\$ql","\\$qs","\\$r","\\$re","\\$s","\\$st","\\$t","\\$tr","\\$v","\\$z"],p=o(s),b=o(m);function g(e,r){e.sol()&&(r.label=!0,r.commandMode=0);var n=e.peek();return n==" "||n==" "?(r.label=!1,r.commandMode==0?r.commandMode=1:(r.commandMode<0||r.commandMode==2)&&(r.commandMode=0)):n!="."&&r.commandMode>0&&(n==":"?r.commandMode=-1:r.commandMode=2),(n==="("||n===" ")&&(r.label=!1),n===";"?(e.skipToEnd(),"comment"):e.match(/^[-+]?\d+(\.\d+)?([eE][-+]?\d+)?/)?"number":n=='"'?e.skipTo('"')?(e.next(),"string"):(e.skipToEnd(),"error"):e.match(u)||e.match(c)?"operator":e.match(f)?null:l.test(n)?(e.next(),"bracket"):r.commandMode>0&&e.match(b)?"variable-2":e.match(p)?"builtin":e.match(d)?"variable":n==="$"||n==="^"?(e.next(),"builtin"):n==="@"?(e.next(),"string-2"):/[\w%]/.test(n)?(e.eatWhile(/[\w%]/),"variable"):(e.next(),"error")}return{startState:function(){return{label:!1,commandMode:0}},token:function(e,r){var n=g(e,r);return r.label?"tag":n}}}),t.defineMIME("text/x-mumps","mumps")})})();var h=a.exports,M=v({__proto__:null,default:h},[a.exports]);export{M as m};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bV as v}from"./vendor.e0a21029.js";function k(c,u){return u.forEach(function(s){s&&typeof s!="string"&&!Array.isArray(s)&&Object.keys(s).forEach(function(n){if(n!=="default"&&!(n in c)){var o=Object.getOwnPropertyDescriptor(s,n);Object.defineProperty(c,n,o.get?o:{enumerable:!0,get:function(){return s[n]}})}})}),Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var m={exports:{}};(function(c,u){(function(s){s(v.exports)})(function(s){s.defineMode("nginx",function(n){function o(_){for(var t={},r=_.split(" "),e=0;e<r.length;++e)t[r[e]]=!0;return t}var h=o("break return rewrite set accept_mutex accept_mutex_delay access_log add_after_body add_before_body add_header addition_types aio alias allow ancient_browser ancient_browser_value auth_basic auth_basic_user_file auth_http auth_http_header auth_http_timeout autoindex autoindex_exact_size autoindex_localtime charset charset_types client_body_buffer_size client_body_in_file_only client_body_in_single_buffer client_body_temp_path client_body_timeout client_header_buffer_size client_header_timeout client_max_body_size connection_pool_size create_full_put_path daemon dav_access dav_methods debug_connection debug_points default_type degradation degrade deny devpoll_changes devpoll_events directio directio_alignment empty_gif env epoll_events error_log eventport_events expires fastcgi_bind fastcgi_buffer_size fastcgi_buffers fastcgi_busy_buffers_size fastcgi_cache fastcgi_cache_key fastcgi_cache_methods fastcgi_cache_min_uses fastcgi_cache_path fastcgi_cache_use_stale fastcgi_cache_valid fastcgi_catch_stderr fastcgi_connect_timeout fastcgi_hide_header fastcgi_ignore_client_abort fastcgi_ignore_headers fastcgi_index fastcgi_intercept_errors fastcgi_max_temp_file_size fastcgi_next_upstream fastcgi_param fastcgi_pass_header fastcgi_pass_request_body fastcgi_pass_request_headers fastcgi_read_timeout fastcgi_send_lowat fastcgi_send_timeout fastcgi_split_path_info fastcgi_store fastcgi_store_access fastcgi_temp_file_write_size fastcgi_temp_path fastcgi_upstream_fail_timeout fastcgi_upstream_max_fails flv geoip_city geoip_country google_perftools_profiles gzip gzip_buffers gzip_comp_level gzip_disable gzip_hash gzip_http_version gzip_min_length gzip_no_buffer gzip_proxied gzip_static gzip_types gzip_vary gzip_window if_modified_since ignore_invalid_headers image_filter image_filter_buffer image_filter_jpeg_quality image_filter_transparency imap_auth imap_capabilities imap_client_buffer index ip_hash keepalive_requests keepalive_timeout kqueue_changes kqueue_events large_client_header_buffers limit_conn limit_conn_log_level limit_rate limit_rate_after limit_req limit_req_log_level limit_req_zone limit_zone lingering_time lingering_timeout lock_file log_format log_not_found log_subrequest map_hash_bucket_size map_hash_max_size master_process memcached_bind memcached_buffer_size memcached_connect_timeout memcached_next_upstream memcached_read_timeout memcached_send_timeout memcached_upstream_fail_timeout memcached_upstream_max_fails merge_slashes min_delete_depth modern_browser modern_browser_value msie_padding msie_refresh multi_accept open_file_cache open_file_cache_errors open_file_cache_events open_file_cache_min_uses open_file_cache_valid open_log_file_cache output_buffers override_charset perl perl_modules perl_require perl_set pid pop3_auth pop3_capabilities port_in_redirect postpone_gzipping postpone_output protocol proxy proxy_bind proxy_buffer proxy_buffer_size proxy_buffering proxy_buffers proxy_busy_buffers_size proxy_cache proxy_cache_key proxy_cache_methods proxy_cache_min_uses proxy_cache_path proxy_cache_use_stale proxy_cache_valid proxy_connect_timeout proxy_headers_hash_bucket_size proxy_headers_hash_max_size proxy_hide_header proxy_ignore_client_abort proxy_ignore_headers proxy_intercept_errors proxy_max_temp_file_size proxy_method proxy_next_upstream proxy_pass_error_message proxy_pass_header proxy_pass_request_body proxy_pass_request_headers proxy_read_timeout proxy_redirect proxy_send_lowat proxy_send_timeout proxy_set_body proxy_set_header proxy_ssl_session_reuse proxy_store proxy_store_access proxy_temp_file_write_size proxy_temp_path proxy_timeout proxy_upstream_fail_timeout proxy_upstream_max_fails random_index read_ahead real_ip_header recursive_error_pages request_pool_size reset_timedout_connection resolver resolver_timeout rewrite_log rtsig_overflow_events rtsig_overflow_test rtsig_overflow_threshold rtsig_signo satisfy secure_link_secret send_lowat send_timeout sendfile sendfile_max_chunk server_name_in_redirect server_names_hash_bucket_size server_names_hash_max_size server_tokens set_real_ip_from smtp_auth smtp_capabilities smtp_client_buffer smtp_greeting_delay so_keepalive source_charset ssi ssi_ignore_recycled_buffers ssi_min_file_chunk ssi_silent_errors ssi_types ssi_value_length ssl ssl_certificate ssl_certificate_key ssl_ciphers ssl_client_certificate ssl_crl ssl_dhparam ssl_engine ssl_prefer_server_ciphers ssl_protocols ssl_session_cache ssl_session_timeout ssl_verify_client ssl_verify_depth starttls stub_status sub_filter sub_filter_once sub_filter_types tcp_nodelay tcp_nopush thread_stack_size timeout timer_resolution types_hash_bucket_size types_hash_max_size underscores_in_headers uninitialized_variable_warn use user userid userid_domain userid_expires userid_mark userid_name userid_p3p userid_path userid_service valid_referers variables_hash_bucket_size variables_hash_max_size worker_connections worker_cpu_affinity worker_priority worker_processes worker_rlimit_core worker_rlimit_nofile worker_rlimit_sigpending worker_threads working_directory xclient xml_entities xslt_stylesheet xslt_typesdrew@li229-23"),g=o("http mail events server types location upstream charset_map limit_except if geo map"),y=o("include root server server_name listen internal proxy_pass memcached_pass fastcgi_pass try_files"),x=n.indentUnit,a;function i(_,t){return a=t,_}function l(_,t){_.eatWhile(/[\w\$_]/);var r=_.current();if(h.propertyIsEnumerable(r))return"keyword";if(g.propertyIsEnumerable(r))return"variable-2";if(y.propertyIsEnumerable(r))return"string-2";var e=_.next();if(e=="@")return _.eatWhile(/[\w\\\-]/),i("meta",_.current());if(e=="/"&&_.eat("*"))return t.tokenize=f,f(_,t);if(e=="<"&&_.eat("!"))return t.tokenize=d,d(_,t);if(e=="=")i(null,"compare");else return(e=="~"||e=="|")&&_.eat("=")?i(null,"compare"):e=='"'||e=="'"?(t.tokenize=b(e),t.tokenize(_,t)):e=="#"?(_.skipToEnd(),i("comment","comment")):e=="!"?(_.match(/^\s*\w*/),i("keyword","important")):/\d/.test(e)?(_.eatWhile(/[\w.%]/),i("number","unit")):/[,.+>*\/]/.test(e)?i(null,"select-op"):/[;{}:\[\]]/.test(e)?i(null,e):(_.eatWhile(/[\w\\\-]/),i("variable","variable"))}function f(_,t){for(var r=!1,e;(e=_.next())!=null;){if(r&&e=="/"){t.tokenize=l;break}r=e=="*"}return i("comment","comment")}function d(_,t){for(var r=0,e;(e=_.next())!=null;){if(r>=2&&e==">"){t.tokenize=l;break}r=e=="-"?r+1:0}return i("comment","comment")}function b(_){return function(t,r){for(var e=!1,p;(p=t.next())!=null&&!(p==_&&!e);)e=!e&&p=="\\";return e||(r.tokenize=l),i("string","string")}}return{startState:function(_){return{tokenize:l,baseIndent:_||0,stack:[]}},token:function(_,t){if(_.eatSpace())return null;a=null;var r=t.tokenize(_,t),e=t.stack[t.stack.length-1];return a=="hash"&&e=="rule"?r="atom":r=="variable"&&(e=="rule"?r="number":(!e||e=="@media{")&&(r="tag")),e=="rule"&&/^[\{\};]$/.test(a)&&t.stack.pop(),a=="{"?e=="@media"?t.stack[t.stack.length-1]="@media{":t.stack.push("{"):a=="}"?t.stack.pop():a=="@media"?t.stack.push("@media"):e=="{"&&a!="comment"&&t.stack.push("rule"),r},indent:function(_,t){var r=_.stack.length;return/^\}/.test(t)&&(r-=_.stack[_.stack.length-1]=="rule"?2:1),_.baseIndent+r*x},electricChars:"}"}}),s.defineMIME("text/x-nginx-conf","nginx")})})();var z=m.exports,q=k({__proto__:null,default:z},[m.exports]);export{q as n};
|