@directus/app 9.16.0 → 9.17.1
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.a04f8e82.entry.js → @directus_extensions-sdk.3ef017de.entry.js} +1 -1
- package/dist/assets/{accounts.2e114db8.js → accounts.e4c64fb1.js} +1 -1
- package/dist/assets/{active-line.f9fd8e29.js → active-line.5c42d9f0.js} +1 -1
- package/dist/assets/activity-log.147dd93e.js +1 -0
- package/dist/assets/{activity.5589dea9.js → activity.dd401932.js} +4 -4
- package/dist/assets/{apl.8dd45420.js → apl.025ceee0.js} +1 -1
- package/dist/assets/{architecture.d16e36b1.js → architecture.aaf5c296.js} +1 -1
- package/dist/assets/{asciiarmor.3d35c700.js → asciiarmor.e1b5c1a3.js} +1 -1
- package/dist/assets/{asn.1.f669a398.js → asn.1.bfc58a58.js} +1 -1
- package/dist/assets/{asterisk.cdd7b5c4.js → asterisk.e714dc83.js} +1 -1
- package/dist/assets/{authentication.ee6465fd.js → authentication.61c42dda.js} +7 -7
- package/dist/assets/{autorefresh.51463d39.js → autorefresh.cc507a91.js} +1 -1
- package/dist/assets/{aws.8fa603ce.js → aws.55405db9.js} +1 -1
- package/dist/assets/{backing-directus.450274bb.js → backing-directus.bd29d5e2.js} +1 -1
- package/dist/assets/bg-BG.e76ce10c.js +1 -0
- package/dist/assets/{brainfuck.4ca7301f.js → brainfuck.6e87069f.js} +1 -1
- package/dist/assets/{cli.495194f0.js → cli.b2fbc62f.js} +4 -4
- package/dist/assets/{cli.f4f23732.js → cli.ca0055cb.js} +2 -2
- package/dist/assets/{clike.517e6aa3.js → clike.9663d2b3.js} +1 -1
- package/dist/assets/{clojure.57990b91.js → clojure.28ee7a22.js} +1 -1
- package/dist/assets/{cloudron.aa3368a8.js → cloudron.8200e84b.js} +1 -1
- package/dist/assets/{cmake.ed8f2dfc.js → cmake.aee3c431.js} +1 -1
- package/dist/assets/{cobol.de7e6ac3.js → cobol.a04dd0ed.js} +1 -1
- package/dist/assets/{codebase-overview.cf29e0f6.js → codebase-overview.7f69e795.js} +1 -1
- package/dist/assets/{coffeescript.f395c11c.js → coffeescript.3fea5290.js} +1 -1
- package/dist/assets/{collections.7776a374.js → collections.18cc2518.js} +2 -2
- package/dist/assets/{collections.74218877.js → collections.2fa0dd8e.js} +2 -2
- package/dist/assets/{collections.9e3af468.js → collections.b7aafbfb.js} +6 -6
- package/dist/assets/{commonlisp.a0911f52.js → commonlisp.030b0e58.js} +1 -1
- package/dist/assets/{conditions.1d6c9ac3.js → conditions.281a6ed5.js} +1 -1
- package/dist/assets/{config-options.3845d956.js → config-options.d33aab72.js} +14 -14
- package/dist/assets/{content.84d14f92.js → content.f9b34bf7.js} +1 -1
- package/dist/assets/{creating-extensions.50afb69b.js → creating-extensions.4533b8ed.js} +1 -1
- package/dist/assets/{crystal.1e7cf250.js → crystal.196d940f.js} +1 -1
- package/dist/assets/cs-CZ.2c006c7b.js +1 -0
- package/dist/assets/{css.ed8d4773.js → css.585f2cb0.js} +1 -1
- package/dist/assets/{cypher.863b9fa8.js → cypher.35036411.js} +1 -1
- package/dist/assets/{d.66d0201b.js → d.93cfb299.js} +1 -1
- package/dist/assets/da-DK.f9d9d6ca.js +1 -0
- package/dist/assets/{dart.878fcc86.js → dart.478f3544.js} +1 -1
- package/dist/assets/{data-model.ef4eedaf.js → data-model.dbce1366.js} +7 -7
- package/dist/assets/de-DE.729a1127.js +1 -0
- package/dist/assets/{diff.7a4d3ebd.js → diff.5cb6e186.js} +1 -1
- package/dist/assets/{digitalocean-app-platform.5dd9a78b.js → digitalocean-app-platform.b046ae55.js} +2 -2
- package/dist/assets/{display-templates.6412d9bf.js → display-templates.91e34e9f.js} +1 -1
- package/dist/assets/display.494b7d1f.js +1 -0
- package/dist/assets/{displays.c3b9934b.js → displays.54ddeb10.js} +3 -3
- package/dist/assets/{django.2a570d10.js → django.8f238632.js} +1 -1
- package/dist/assets/{docker.2130afa6.js → docker.36215dae.js} +2 -2
- package/dist/assets/{dockerfile.25c17dd8.js → dockerfile.8f0c0a1e.js} +1 -1
- package/dist/assets/{documentation.e232fdb2.js → documentation.cb5bf843.js} +1 -1
- package/dist/assets/{dtd.eefd1fda.js → dtd.989f5165.js} +1 -1
- package/dist/assets/{dylan.c614fa02.js → dylan.dea935ad.js} +1 -1
- package/dist/assets/{ebnf.e9066ab9.js → ebnf.4647a1c0.js} +1 -1
- package/dist/assets/{ecl.fe452b04.js → ecl.9a4cb085.js} +1 -1
- package/dist/assets/{eiffel.a0877698.js → eiffel.e0b19a69.js} +1 -1
- package/dist/assets/{elm.d26a7aa8.js → elm.391e151c.js} +1 -1
- package/dist/assets/{email-templates.0aa59541.js → email-templates.b0b82036.js} +1 -1
- package/dist/assets/{endpoints.b664ef10.js → endpoints.1ba44e66.js} +1 -1
- package/dist/assets/{erlang.92a68ba6.js → erlang.7fcf78c6.js} +1 -1
- package/dist/assets/es-419.9ec18edd.js +1 -0
- package/dist/assets/es-CL.4c3eb1b0.js +1 -0
- package/dist/assets/es-ES.4a8f0217.js +1 -0
- package/dist/assets/es-MX.76f4e344.js +1 -0
- package/dist/assets/{extensions.e511fc6d.js → extensions.b4c93ce0.js} +2 -2
- package/dist/assets/{factor.b5f382bf.js → factor.12bfd34d.js} +1 -1
- package/dist/assets/{faq.cc159e10.js → faq.4ca4b467.js} +1 -1
- package/dist/assets/{fcl.752a4039.js → fcl.bfa3e74f.js} +1 -1
- package/dist/assets/fi-FI.38180e94.js +1 -0
- package/dist/assets/{field-types.129a2c41.js → field-types.ed85836e.js} +1 -1
- package/dist/assets/{field.3061af3d.js → field.fb2213dd.js} +1 -1
- package/dist/assets/{fields.9e13d3e0.js → fields.057754cf.js} +5 -5
- package/dist/assets/{fields.1a3f05d2.js → fields.f3868bd3.js} +1 -1
- package/dist/assets/{file-library.531c267c.js → file-library.5d646392.js} +1 -1
- package/dist/assets/{files.af2c1a43.js → files.e0ad4209.js} +6 -6
- package/dist/assets/{filter-rules.454352d1.js → filter-rules.22fc9a6d.js} +1 -1
- package/dist/assets/{filters.57f37ec6.js → filters.5cf9b5c5.js} +1 -1
- package/dist/assets/flows.79e56304.js +17 -0
- package/dist/assets/{flows.4d2856ca.js → flows.eec58d0b.js} +5 -5
- package/dist/assets/{folders.10accc4b.js → folders.83d5bb9d.js} +1 -1
- package/dist/assets/{forth.68cc3f00.js → forth.0ff9d68f.js} +1 -1
- package/dist/assets/{fortran.af849fdf.js → fortran.6a74d293.js} +1 -1
- package/dist/assets/fr-CA.e0e0ef26.js +1 -0
- package/dist/assets/fr-FR.f3315fda.js +1 -0
- package/dist/assets/{gas.f1613e84.js → gas.0017dbfc.js} +1 -1
- package/dist/assets/{gcp.c7937b1a.js → gcp.60b49ff2.js} +1 -1
- package/dist/assets/{gfm.ea5bcf5f.js → gfm.0fc0d1d3.js} +1 -1
- package/dist/assets/{gherkin.255070ab.js → gherkin.782ca77e.js} +1 -1
- package/dist/assets/{github-ci.f7ee57b8.js → github-ci.b23bbe2d.js} +2 -2
- package/dist/assets/{glossary.80e53e05.js → glossary.238763c8.js} +1 -1
- package/dist/assets/{glossary.c84cb559.js → glossary.db37b807.js} +1 -1
- package/dist/assets/{go.b34c32f3.js → go.34e44348.js} +1 -1
- package/dist/assets/{groovy.145f8cf7.js → groovy.2b36f231.js} +1 -1
- package/dist/assets/{haml.8116bfb2.js → haml.812479fd.js} +1 -1
- package/dist/assets/{handlebars.8d60b385.js → handlebars.2683bde5.js} +1 -1
- package/dist/assets/{haskell-literate.169e6c59.js → haskell-literate.699b88bd.js} +1 -1
- package/dist/assets/{haskell.d4d4d77a.js → haskell.6faba30b.js} +1 -1
- package/dist/assets/{haxe.b95e20de.js → haxe.23162719.js} +1 -1
- package/dist/assets/he-IL.767fa735.js +1 -0
- package/dist/assets/{hooks.d1b00fc1.js → hooks.7b1e235e.js} +4 -4
- package/dist/assets/{htmlembedded.953ff7c2.js → htmlembedded.6bb4b539.js} +1 -1
- package/dist/assets/{htmlmixed.5ce6f41a.js → htmlmixed.b4abda11.js} +1 -1
- package/dist/assets/{http.9d3315fb.js → http.2093b31c.js} +1 -1
- package/dist/assets/id-ID.f65ae499.js +1 -0
- package/dist/assets/{idl.51f94c61.js → idl.cc7f893d.js} +1 -1
- package/dist/assets/{iis.2b991a80.js → iis.67a83939.js} +1 -1
- package/dist/assets/{import-export.74a08d53.js → import-export.92aee031.js} +1 -1
- package/dist/assets/{index.ab135b59.js → index.0645834a.js} +1 -1
- package/dist/assets/index.0c64ba3f.css +1 -0
- package/dist/assets/{index.4894f51e.js → index.0d2e59f7.js} +1 -1
- package/dist/assets/{index.15e3c95b.js → index.0eaf700c.js} +1 -1
- package/dist/assets/{index.58ce5d3f.js → index.197b17c1.js} +1 -1
- package/dist/assets/{index.36361e5b.js → index.1a3f31c4.js} +1 -1
- package/dist/assets/{index.e24720c2.js → index.1bbfd138.js} +1 -1
- package/dist/assets/{index.aeca2d25.js → index.1cd3d5ba.js} +1 -1
- package/dist/assets/{index.094d7435.js → index.22f2ba3c.js} +1 -1
- package/dist/assets/{index.b3227ed5.js → index.26419dc6.js} +1 -1
- package/dist/assets/{index.c0a6d945.js → index.27f67d42.js} +1 -1
- package/dist/assets/{index.5e2156f1.js → index.28a0ece3.js} +1 -1
- package/dist/assets/{index.719a1bf6.css → index.29c0adc9.css} +1 -1
- package/dist/assets/{index.69857a47.entry.js → index.2c592891.entry.js} +219 -219
- package/dist/assets/{index.43fc16cf.js → index.2e9e634f.js} +1 -1
- package/dist/assets/{index.a157d24b.js → index.322dc6a4.js} +1 -1
- package/dist/assets/{index.970729f9.js → index.32e3af07.js} +1 -1
- package/dist/assets/{index.44dfee18.js → index.34878ac2.js} +1 -1
- package/dist/assets/{index.b91f7cb9.js → index.38794fb2.js} +1 -1
- package/dist/assets/{index.4f3e1405.js → index.3907fbe9.js} +1 -1
- package/dist/assets/{index.8e6a2df6.js → index.39c3868e.js} +1 -1
- package/dist/assets/{index.6b8582b3.js → index.46908e35.js} +1 -1
- package/dist/assets/{index.5785bd5b.js → index.4a4f8949.js} +1 -1
- package/dist/assets/{index.8b727b3d.js → index.4a82f998.js} +1 -1
- package/dist/assets/{index.3dbbeee8.js → index.54ef22f3.js} +1 -1
- package/dist/assets/index.556512f9.js +1 -0
- package/dist/assets/{index.ee33b489.js → index.5713cf94.js} +1 -1
- package/dist/assets/{index.5efaa053.js → index.57954ae2.js} +1 -1
- package/dist/assets/{index.21e15966.js → index.594e4655.js} +1 -1
- package/dist/assets/{index.5bccbb70.js → index.5af46380.js} +1 -1
- package/dist/assets/{index.f45296e2.js → index.5b4bffdb.js} +1 -1
- package/dist/assets/{index.7fe2a6c1.js → index.5b507941.js} +1 -1
- package/dist/assets/{index.b990ffa7.js → index.6120d483.js} +1 -1
- package/dist/assets/{index.1c2bca61.js → index.620380a7.js} +1 -1
- package/dist/assets/{index.4caf473d.js → index.66b6c68b.js} +1 -1
- package/dist/assets/{index.286f3139.js → index.686784f1.js} +1 -1
- package/dist/assets/{index.b4512435.js → index.6c88db6e.js} +1 -1
- package/dist/assets/{index.238d8ccc.js → index.78f834f7.js} +1 -1
- package/dist/assets/{index.ac660d97.js → index.7ce1e572.js} +1 -1
- package/dist/assets/{index.34e50685.js → index.7dfe02f2.js} +1 -1
- package/dist/assets/{index.16102ca4.js → index.7e2708ed.js} +1 -1
- package/dist/assets/{index.ca46607e.js → index.7e4713d2.js} +1 -1
- package/dist/assets/{index.d9e06c0f.js → index.7eae9d5a.js} +1 -1
- package/dist/assets/{index.63beca13.js → index.81aae858.js} +1 -1
- package/dist/assets/{index.fee1fadb.js → index.83e516d5.js} +1 -1
- package/dist/assets/{index.2fa94ca6.js → index.84f0c372.js} +1 -1
- package/dist/assets/{index.8d64a2cc.js → index.86670575.js} +1 -1
- package/dist/assets/{index.ebc5fd3e.js → index.87b80a1b.js} +1 -1
- package/dist/assets/{index.d78b4dd1.js → index.92f081c8.js} +1 -1
- package/dist/assets/{index.86900d0e.js → index.9728d28b.js} +1 -1
- package/dist/assets/{index.ebace2a1.js → index.9ea39797.js} +1 -1
- package/dist/assets/{index.ce459a32.js → index.9f6f893d.js} +1 -1
- package/dist/assets/{index.38ca65a8.js → index.a07c2783.js} +1 -1
- package/dist/assets/{index.3a449212.js → index.a1938c4c.js} +1 -1
- package/dist/assets/{index.d3e27d97.js → index.a1e36825.js} +1 -1
- package/dist/assets/{index.cdc5693b.js → index.a47d735b.js} +3 -3
- package/dist/assets/{index.fd19f059.js → index.a4be7bd2.js} +1 -1
- package/dist/assets/{index.048bfcd4.js → index.a4f50556.js} +1 -1
- package/dist/assets/{index.727f38c4.js → index.a84a7598.js} +1 -1
- package/dist/assets/{index.9a2ded43.js → index.a981939a.js} +1 -1
- package/dist/assets/{index.ffa2a1cd.js → index.ad382721.js} +1 -1
- package/dist/assets/{index.dd5b5aec.js → index.b07b6c71.js} +1 -1
- package/dist/assets/{index.766f9329.js → index.b440ccbe.js} +1 -1
- package/dist/assets/{index.8b83352c.js → index.b4f005cc.js} +1 -1
- package/dist/assets/{index.504c871e.js → index.b7016c72.js} +1 -1
- package/dist/assets/{index.dae019ea.js → index.b73fc9df.js} +1 -1
- package/dist/assets/{index.efb2f918.js → index.b7eac46d.js} +1 -1
- package/dist/assets/{index.65ef9955.js → index.b8bc9ce9.js} +1 -1
- package/dist/assets/{index.6be1ec19.js → index.ba4d69a6.js} +1 -1
- package/dist/assets/{index.7f1515ca.js → index.babc408d.js} +1 -1
- package/dist/assets/{index.a14f652a.js → index.bb9b3d77.js} +1 -1
- package/dist/assets/{index.6ac5a367.js → index.bcef0184.js} +1 -1
- package/dist/assets/{index.558dbe9d.js → index.bf489604.js} +1 -1
- package/dist/assets/{index.73791b0b.js → index.c210d71e.js} +1 -1
- package/dist/assets/{index.6c3cfd9d.js → index.c378895c.js} +1 -1
- package/dist/assets/{index.8b6e1cf5.js → index.c7c5db2b.js} +1 -1
- package/dist/assets/{index.909efb92.js → index.d7318062.js} +1 -1
- package/dist/assets/{index.bb39eac1.js → index.db3bc6a7.js} +1 -1
- package/dist/assets/{index.87997092.js → index.e18ed1ac.js} +1 -1
- package/dist/assets/{index.b73eaa87.js → index.e22e6eb6.js} +1 -1
- package/dist/assets/{index.e7e3b4f1.js → index.e3c74acd.js} +1 -1
- package/dist/assets/{index.0152af18.js → index.e5ffe5fd.js} +1 -1
- package/dist/assets/{index.dccdb81c.js → index.ef505888.js} +1 -1
- package/dist/assets/{index.938b9c64.js → index.f32b69c8.js} +1 -1
- package/dist/assets/{index.22cbe4df.js → index.f7c78032.js} +1 -1
- package/dist/assets/{index.937b45e4.js → index.fd0568fe.js} +1 -1
- package/dist/assets/{input-rich-text-html.c5691bb5.js → input-rich-text-html.e34edefb.js} +30 -30
- package/dist/assets/{insights.0f2b188e.js → insights.c3df1bb3.js} +2 -2
- package/dist/assets/{installation.131e828a.js → installation.4ab6ce97.js} +1 -1
- package/dist/assets/{interface.aa4f61a0.js → interface.1195a442.js} +1 -1
- package/dist/assets/{interfaces.fc4c7384.js → interfaces.0dddec2f.js} +1 -1
- package/dist/assets/{introduction.b1da78a4.js → introduction.201b3a46.js} +2 -2
- package/dist/assets/{introduction.0f06a30b.js → introduction.2a49238f.js} +1 -1
- package/dist/assets/{introduction.24acabd2.js → introduction.569a3b41.js} +4 -4
- package/dist/assets/{introduction.e8ce5583.js → introduction.daef5dfe.js} +1 -1
- package/dist/assets/it-IT.b5b391d8.js +1 -0
- package/dist/assets/{items.cc5ed80d.js → items.207153dc.js} +10 -10
- package/dist/assets/{items.b5bb1efd.js → items.cc802753.js} +1 -1
- package/dist/assets/{javascript-hint.e20aef95.js → javascript-hint.973e4b78.js} +1 -1
- package/dist/assets/{javascript.5fd57163.js → javascript.0f987dbc.js} +1 -1
- package/dist/assets/{jinja2.50fcfe88.js → jinja2.1714c6b4.js} +1 -1
- package/dist/assets/{jsx.105d1c38.js → jsx.0436090e.js} +1 -1
- package/dist/assets/{julia.35f5ca7a.js → julia.17bcd86a.js} +1 -1
- package/dist/assets/{layouts.1b59a4c4.js → layouts.39ffa712.js} +1 -1
- package/dist/assets/{layouts.2759613b.js → layouts.6d10b629.js} +3 -3
- package/dist/assets/{livescript.c93edb54.js → livescript.e4f13644.js} +1 -1
- package/dist/assets/{localization.854fe2a6.js → localization.6486db5d.js} +1 -1
- package/dist/assets/{lua.9658c21a.js → lua.f648e91e.js} +1 -1
- package/dist/assets/{manual.e19c207e.js → manual.edc6cff6.js} +4 -4
- package/dist/assets/{mark-selection.53594d16.js → mark-selection.86c6319e.js} +1 -1
- package/dist/assets/{match-highlighter.102bdbf5.js → match-highlighter.a4271354.js} +1 -1
- package/dist/assets/{mathematica.9aa31b5e.js → mathematica.52dc4105.js} +1 -1
- package/dist/assets/{mbox.29766fd2.js → mbox.b896837f.js} +1 -1
- package/dist/assets/{migrations.70984e94.js → migrations.ecdb3334.js} +1 -1
- package/dist/assets/{mirc.7257ab91.js → mirc.10bbeea1.js} +1 -1
- package/dist/assets/{mllike.e8d0e664.js → mllike.191004b8.js} +1 -1
- package/dist/assets/{modelica.18fae917.js → modelica.bbfd56e6.js} +1 -1
- package/dist/assets/{modules.368e658d.js → modules.0dab0325.js} +1 -1
- package/dist/assets/{mscgen.ee9aeb3b.js → mscgen.c92fd74a.js} +1 -1
- package/dist/assets/{multiplex.5014c33e.js → multiplex.34a284fc.js} +1 -1
- package/dist/assets/{mumps.98967a5d.js → mumps.37f022fb.js} +1 -1
- package/dist/assets/{nginx.35db5339.js → nginx.baee9366.js} +1 -1
- package/dist/assets/no-NO.f3dbe81b.js +1 -0
- package/dist/assets/{notifications.71793dcb.js → notifications.5b10ad0b.js} +1 -1
- package/dist/assets/{nsis.5c925820.js → nsis.7f12c9dc.js} +1 -1
- package/dist/assets/{ntriples.ebc8952a.js → ntriples.018e6112.js} +1 -1
- package/dist/assets/{octave.2541b86b.js → octave.372364c9.js} +1 -1
- package/dist/assets/{operations.3a53915d.js → operations.296e9710.js} +11 -11
- package/dist/assets/operations.30fc2625.js +1 -0
- package/dist/assets/{operations.687b2da1.js → operations.c5ee7367.js} +3 -3
- package/dist/assets/{overlay.834b2264.js → overlay.0d815e1c.js} +1 -1
- package/dist/assets/{overview.2aef2737.js → overview.211898b7.js} +1 -1
- package/dist/assets/{overview.77c84906.js → overview.91ec2552.js} +1 -1
- package/dist/assets/{overview.42c9bc71.js → overview.eb55d14f.js} +1 -1
- package/dist/assets/{oz.dfebfbd1.js → oz.7497f31b.js} +1 -1
- package/dist/assets/{panels.1c9e59a5.js → panels.9b48e2ab.js} +3 -3
- package/dist/assets/{pascal.fcb326dc.js → pascal.42e2a8e0.js} +1 -1
- package/dist/assets/{pegjs.68efc658.js → pegjs.7318728b.js} +1 -1
- package/dist/assets/{perl.950af130.js → perl.cb43c987.js} +1 -1
- package/dist/assets/{permissions.7c6e7d90.js → permissions.66ecdced.js} +7 -7
- package/dist/assets/{php.fef53679.js → php.04bf2132.js} +1 -1
- package/dist/assets/{pig.e61066dd.js → pig.4235f7d9.js} +1 -1
- package/dist/assets/{pinia.b8e2dbe3.entry.js → pinia.ee5b7a45.entry.js} +2 -2
- package/dist/assets/pl-PL.25397b47.js +1 -0
- package/dist/assets/{plesk.09c47961.js → plesk.0a2c4855.js} +5 -5
- package/dist/assets/{powershell.a3647979.js → powershell.f967c618.js} +1 -1
- package/dist/assets/presets-bookmarks.0a83b030.js +1 -0
- package/dist/assets/{presets.a6220515.js → presets.198afe35.js} +6 -6
- package/dist/assets/project-settings.eebfbd8c.js +1 -0
- package/dist/assets/{projects.7b210ac2.js → projects.398642da.js} +1 -1
- package/dist/assets/{properties.1ee62841.js → properties.1a0b81f0.js} +1 -1
- package/dist/assets/{protobuf.7eaf6123.js → protobuf.b8759181.js} +1 -1
- package/dist/assets/pt-BR.664ac34b.js +1 -0
- package/dist/assets/{pug.7a05af3b.js → pug.902e44de.js} +1 -1
- package/dist/assets/{puppet.34c73ce6.js → puppet.52d18e89.js} +1 -1
- package/dist/assets/{python.bc5a01c1.js → python.50eb8730.js} +1 -1
- package/dist/assets/{q.4f51bed7.js → q.9f996c87.js} +1 -1
- package/dist/assets/{query.b72e23c9.js → query.8ccae3a9.js} +1 -1
- package/dist/assets/{quickstart.1d485356.js → quickstart.a567dd49.js} +2 -2
- package/dist/assets/{quickstart.0e152d2a.js → quickstart.de9843d9.js} +1 -1
- package/dist/assets/{r.1d0a2eab.js → r.b44dc9fe.js} +1 -1
- package/dist/assets/{readme.a5652282.js → readme.1996f39f.js} +1 -1
- package/dist/assets/{relations.804b318b.js → relations.ad6c2398.js} +4 -4
- package/dist/assets/{relationship.040a5095.js → relationship.32af0bee.js} +1 -1
- package/dist/assets/{relationships.ff02a9ff.js → relationships.1cd9b5d9.js} +8 -8
- package/dist/assets/{resources.efe9810e.js → resources.f947272a.js} +1 -1
- package/dist/assets/{revisions.121cb7de.js → revisions.c13b66e0.js} +3 -3
- package/dist/assets/{roles.680acff2.js → roles.e767878c.js} +11 -11
- package/dist/assets/{rpm.b6eaecab.js → rpm.5c635cb3.js} +1 -1
- package/dist/assets/{rst.90bc2b24.js → rst.3f01e667.js} +1 -1
- package/dist/assets/ru-RU.71121ae2.js +1 -0
- package/dist/assets/{ruby.0761eec1.js → ruby.77181664.js} +1 -1
- package/dist/assets/{running-locally.4b4aa0d8.js → running-locally.6bdbd71e.js} +4 -4
- package/dist/assets/{runtime-core.esm-bundler.e3d5f5b7.js → runtime-core.esm-bundler.32cac88a.js} +1 -1
- package/dist/assets/{rust.9c0ae2fb.js → rust.611a3c67.js} +1 -1
- package/dist/assets/{sas.863c1ff7.js → sas.3da7c95a.js} +1 -1
- package/dist/assets/{sass.a062b8a1.js → sass.b73c972a.js} +1 -1
- package/dist/assets/{schema.5f5eb18e.js → schema.7eb35ba9.js} +1 -1
- package/dist/assets/{scheme.cbfc233a.js → scheme.b8d740c2.js} +1 -1
- package/dist/assets/{sdk.84d76266.js → sdk.d1cc970a.js} +9 -9
- package/dist/assets/{security.6a8942ba.js → security.0f4880b1.js} +1 -1
- package/dist/assets/{server.b24a421b.js → server.bcf6175e.js} +5 -5
- package/dist/assets/{settings.d91e399d.js → settings.25cab07d.js} +1 -1
- package/dist/assets/{settings.d3a9b46c.js → settings.f21d244b.js} +10 -10
- package/dist/assets/{shares.6bb87993.js → shares.cc7ce751.js} +1 -1
- package/dist/assets/{shell.22e0ee45.js → shell.7de892e9.js} +1 -1
- package/dist/assets/{show-hint.7c35da9b.js → show-hint.7942c136.js} +1 -1
- package/dist/assets/{sieve.459825cf.js → sieve.d0b23d2d.js} +1 -1
- package/dist/assets/{slim.0ba3b5ea.js → slim.06a7eabb.js} +1 -1
- package/dist/assets/{smalltalk.8b748238.js → smalltalk.4a61691e.js} +1 -1
- package/dist/assets/{smarty.6b0aef9c.js → smarty.dd10b12f.js} +1 -1
- package/dist/assets/{solr.a707fb59.js → solr.44aceea2.js} +1 -1
- package/dist/assets/{soy.666256c0.js → soy.556b0f73.js} +1 -1
- package/dist/assets/{sparql.a1d891c8.js → sparql.aa44f70b.js} +1 -1
- package/dist/assets/{spreadsheet.ed5c9b6c.js → spreadsheet.f8b42bd2.js} +1 -1
- package/dist/assets/{sql.b86b7772.js → sql.90fc9d3c.js} +1 -1
- package/dist/assets/{sso-examples.eb8e7423.js → sso-examples.0b7c81f4.js} +3 -3
- package/dist/assets/{sso.c929d07f.js → sso.49e87f3a.js} +2 -2
- package/dist/assets/{stex.2ceacc2d.js → stex.ab2d9a38.js} +1 -1
- package/dist/assets/{stylus.97e043fb.js → stylus.f097fe6e.js} +1 -1
- package/dist/assets/{support.09b549ef.js → support.55199a3e.js} +1 -1
- package/dist/assets/{swift.ed9964e6.js → swift.2c94ae8d.js} +1 -1
- package/dist/assets/{tcl.d774e733.js → tcl.a233f5ee.js} +1 -1
- package/dist/assets/{teams.ab67345b.js → teams.541d1f0c.js} +1 -1
- package/dist/assets/{textile.6a476b5a.js → textile.4e44687a.js} +1 -1
- package/dist/assets/{themes.078e9124.js → themes.47d63f74.js} +2 -2
- package/dist/assets/{tiddlywiki.23adee6a.js → tiddlywiki.81993c15.js} +1 -1
- package/dist/assets/{tiki.6c9bc5e7.js → tiki.5fba512d.js} +1 -1
- package/dist/assets/{toml.0465b4ce.js → toml.0a35f429.js} +1 -1
- package/dist/assets/{tornado.4f8ab710.js → tornado.5d61b40e.js} +1 -1
- package/dist/assets/tr-TR.f894f4bf.js +1 -0
- package/dist/assets/{translation-strings.2e3ee87a.js → translation-strings.6f6737a7.js} +1 -1
- package/dist/assets/{translations.36a34606.js → translations.4a2d59ad.js} +1 -1
- package/dist/assets/{translations.fb062afb.js → translations.7e97efc3.js} +1 -1
- package/dist/assets/triggers.6baf300f.js +1 -0
- package/dist/assets/{troff.bf1b0dc8.js → troff.ff3d44c9.js} +1 -1
- package/dist/assets/{ttcn-cfg.a9d94352.js → ttcn-cfg.46e427d6.js} +1 -1
- package/dist/assets/{ttcn.fc69e878.js → ttcn.f456167c.js} +1 -1
- package/dist/assets/{turtle.a9f8b816.js → turtle.1a23c99d.js} +1 -1
- package/dist/assets/{twig.a7fff583.js → twig.e3c621bb.js} +1 -1
- package/dist/assets/{ubuntu.79ece84b.js → ubuntu.14eb3ea1.js} +2 -2
- package/dist/assets/{upgrades-migrations.ea8bea7b.js → upgrades-migrations.a9a9ca7c.js} +1 -1
- package/dist/assets/{use-sync.1dee2657.js → use-sync.3af8e920.js} +8 -8
- package/dist/assets/{user-directory.bac5f2ee.js → user-directory.59b8470a.js} +1 -1
- package/dist/assets/{users-roles-permissions.e36d0bc8.js → users-roles-permissions.ed9e814c.js} +1 -1
- package/dist/assets/{users.a9ad4dd9.js → users.de050e21.js} +1 -1
- package/dist/assets/{utilities.00432834.js → utilities.99f7a370.js} +1 -1
- package/dist/assets/{validation.2c0c5444.js → validation.10b8a2f3.js} +1 -1
- package/dist/assets/{vb.c822cd8d.js → vb.dcd27019.js} +1 -1
- package/dist/assets/{vbscript.9a894a18.js → vbscript.46374125.js} +1 -1
- package/dist/assets/{velocity.f68873d7.js → velocity.304c4a9a.js} +1 -1
- package/dist/assets/{verilog.3f3cea00.js → verilog.6a207823.js} +1 -1
- package/dist/assets/{vhdl.a06af28e.js → vhdl.1473d302.js} +1 -1
- package/dist/assets/vi-VN.a2a22682.js +1 -0
- package/dist/assets/{vue-i18n.3cc3a25f.entry.js → vue-i18n.ab96dd58.entry.js} +1 -1
- package/dist/assets/{vue-router.1ad5ff1f.entry.js → vue-router.4ad81e1d.entry.js} +2 -2
- package/dist/assets/{vue.bd77f77c.js → vue.1240f8e1.js} +1 -1
- package/dist/assets/vue.1c9ff390.entry.js +1 -0
- package/dist/assets/{vue.runtime.esm-bundler.ee2a778f.js → vue.runtime.esm-bundler.61bedc6f.js} +1 -1
- package/dist/assets/{wast.905c63d5.js → wast.070e9cb4.js} +1 -1
- package/dist/assets/{webhooks.e7e122b7.js → webhooks.53b2215e.js} +1 -1
- package/dist/assets/{webhooks.f0dfc270.js → webhooks.a7e035b7.js} +1 -1
- package/dist/assets/{webidl.b78b974a.js → webidl.81afb130.js} +1 -1
- package/dist/assets/{xquery.394e95a0.js → xquery.58d37345.js} +1 -1
- package/dist/assets/{yacas.8149da65.js → yacas.be272580.js} +1 -1
- package/dist/assets/{yaml-frontmatter.2ae5fca2.js → yaml-frontmatter.4d2a9afa.js} +1 -1
- package/dist/assets/{yaml.d43d21a8.js → yaml.1779a883.js} +1 -1
- package/dist/assets/{z80.f545b7bf.js → z80.f2bb6986.js} +1 -1
- package/dist/assets/zh-CN.96c0a25c.js +1 -0
- package/dist/assets/zh-TW.7333a9ec.js +1 -0
- package/dist/index.html +8 -8
- package/package.json +26 -5
- package/dist/assets/activity-log.86a173c5.js +0 -1
- package/dist/assets/bg-BG.6ccbe392.js +0 -1
- package/dist/assets/cs-CZ.3f25becd.js +0 -1
- package/dist/assets/da-DK.3460bab1.js +0 -1
- package/dist/assets/de-DE.980a9df8.js +0 -1
- package/dist/assets/display.c9e4c238.js +0 -1
- package/dist/assets/es-419.b77b2103.js +0 -1
- package/dist/assets/es-CL.e5af69da.js +0 -1
- package/dist/assets/es-ES.7fd65f45.js +0 -1
- package/dist/assets/es-MX.84fb11f1.js +0 -1
- package/dist/assets/fi-FI.f2ba369a.js +0 -1
- package/dist/assets/flows.c21cd837.js +0 -16
- package/dist/assets/fr-CA.bd73b96f.js +0 -1
- package/dist/assets/fr-FR.f86a9f41.js +0 -1
- package/dist/assets/he-IL.7b11dc5e.js +0 -1
- package/dist/assets/id-ID.46c8c32a.js +0 -1
- package/dist/assets/index.19a1e6a6.css +0 -1
- package/dist/assets/index.cd90c757.js +0 -1
- package/dist/assets/it-IT.922112b6.js +0 -1
- package/dist/assets/no-NO.3bb25fb7.js +0 -1
- package/dist/assets/operations.845da620.js +0 -1
- package/dist/assets/pl-PL.dfc1a032.js +0 -1
- package/dist/assets/presets-bookmarks.3d6f189f.js +0 -1
- package/dist/assets/project-settings.5ba0a483.js +0 -1
- package/dist/assets/pt-BR.a8e95f48.js +0 -1
- package/dist/assets/ru-RU.9f19c25d.js +0 -1
- package/dist/assets/tr-TR.039a12a9.js +0 -1
- package/dist/assets/triggers.44226865.js +0 -1
- package/dist/assets/vi-VN.fff05bda.js +0 -1
- package/dist/assets/vue.f73b7cd5.entry.js +0 -1
- package/dist/assets/zh-CN.e03e0e56.js +0 -1
- package/dist/assets/zh-TW.453f1e60.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as he}from"./index.69857a47.entry.js";function xe(Y,hr){return hr.forEach(function(k){k&&typeof k!="string"&&!Array.isArray(k)&&Object.keys(k).forEach(function(_){if(_!=="default"&&!(_ in Y)){var v=Object.getOwnPropertyDescriptor(k,_);Object.defineProperty(Y,_,v.get?v:{enumerable:!0,get:function(){return k[_]}})}})}),Object.freeze(Object.defineProperty(Y,Symbol.toStringTag,{value:"Module"}))}var Fr={exports:{}};(function(Y,hr){(function(k){k(he.exports)})(function(k){k.defineMode("javascript",function(_,v){var N=_.indentUnit,xr=v.statementIndent,Z=v.jsonld,z=v.json||Z,vr=v.trackScope!==!1,p=v.typescript,C=v.wordCharacters||/[\w$\xa1-\uffff]/,gr=function(){function r(g){return{type:g,style:"keyword"}}var e=r("keyword a"),t=r("keyword b"),f=r("keyword c"),u=r("keyword d"),l=r("operator"),m={type:"atom",style:"atom"};return{if:r("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:u,break:u,continue:u,new:r("new"),delete:f,void:f,throw:f,debugger:r("debugger"),var:r("var"),const:r("var"),let:r("var"),function:r("function"),catch:r("catch"),for:r("for"),switch:r("switch"),case:r("case"),default:r("default"),in:l,typeof:l,instanceof:l,true:m,false:m,null:m,undefined:m,NaN:m,Infinity:m,this:r("this"),class:r("class"),super:r("atom"),yield:f,export:r("export"),import:r("import"),extends:f,await:f}}(),yr=/[+\-*&%=<>!?|~^@]/,Dr=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function Jr(r){for(var e=!1,t,f=!1;(t=r.next())!=null;){if(!e){if(t=="/"&&!f)return;t=="["?f=!0:f&&t=="]"&&(f=!1)}e=!e&&t=="\\"}}var R,rr;function w(r,e,t){return R=r,rr=t,e}function M(r,e){var t=r.next();if(t=='"'||t=="'")return e.tokenize=Lr(t),e.tokenize(r,e);if(t=="."&&r.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return w("number","number");if(t=="."&&r.match(".."))return w("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(t))return w(t);if(t=="="&&r.eat(">"))return w("=>","operator");if(t=="0"&&r.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return w("number","number");if(/\d/.test(t))return r.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),w("number","number");if(t=="/")return r.eat("*")?(e.tokenize=er,er(r,e)):r.eat("/")?(r.skipToEnd(),w("comment","comment")):Pr(r,e,1)?(Jr(r),r.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),w("regexp","string-2")):(r.eat("="),w("operator","operator",r.current()));if(t=="`")return e.tokenize=U,U(r,e);if(t=="#"&&r.peek()=="!")return r.skipToEnd(),w("meta","meta");if(t=="#"&&r.eatWhile(C))return w("variable","property");if(t=="<"&&r.match("!--")||t=="-"&&r.match("->")&&!/\S/.test(r.string.slice(0,r.start)))return r.skipToEnd(),w("comment","comment");if(yr.test(t))return(t!=">"||!e.lexical||e.lexical.type!=">")&&(r.eat("=")?(t=="!"||t=="=")&&r.eat("="):/[<>*+\-|&?]/.test(t)&&(r.eat(t),t==">"&&r.eat(t))),t=="?"&&r.eat(".")?w("."):w("operator","operator",r.current());if(C.test(t)){r.eatWhile(C);var f=r.current();if(e.lastType!="."){if(gr.propertyIsEnumerable(f)){var u=gr[f];return w(u.type,u.style,f)}if(f=="async"&&r.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return w("async","keyword",f)}return w("variable","variable",f)}}function Lr(r){return function(e,t){var f=!1,u;if(Z&&e.peek()=="@"&&e.match(Dr))return t.tokenize=M,w("jsonld-keyword","meta");for(;(u=e.next())!=null&&!(u==r&&!f);)f=!f&&u=="\\";return f||(t.tokenize=M),w("string","string")}}function er(r,e){for(var t=!1,f;f=r.next();){if(f=="/"&&t){e.tokenize=M;break}t=f=="*"}return w("comment","comment")}function U(r,e){for(var t=!1,f;(f=r.next())!=null;){if(!t&&(f=="`"||f=="$"&&r.eat("{"))){e.tokenize=M;break}t=!t&&f=="\\"}return w("quasi","string-2",r.current())}var Qr="([{}])";function sr(r,e){e.fatArrowAt&&(e.fatArrowAt=null);var t=r.string.indexOf("=>",r.start);if(!(t<0)){if(p){var f=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(r.string.slice(r.start,t));f&&(t=f.index)}for(var u=0,l=!1,m=t-1;m>=0;--m){var g=r.string.charAt(m),T=Qr.indexOf(g);if(T>=0&&T<3){if(!u){++m;break}if(--u==0){g=="("&&(l=!0);break}}else if(T>=3&&T<6)++u;else if(C.test(g))l=!0;else if(/["'\/`]/.test(g))for(;;--m){if(m==0)return;var we=r.string.charAt(m-1);if(we==g&&r.string.charAt(m-2)!="\\"){m--;break}}else if(l&&!u){++m;break}}l&&!u&&(e.fatArrowAt=m)}}var Rr={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function jr(r,e,t,f,u,l){this.indented=r,this.column=e,this.type=t,this.prev=u,this.info=l,f!=null&&(this.align=f)}function Ur(r,e){if(!vr)return!1;for(var t=r.localVars;t;t=t.next)if(t.name==e)return!0;for(var f=r.context;f;f=f.prev)for(var t=f.vars;t;t=t.next)if(t.name==e)return!0}function Er(r,e,t,f,u){var l=r.cc;for(i.state=r,i.stream=u,i.marked=null,i.cc=l,i.style=e,r.lexical.hasOwnProperty("align")||(r.lexical.align=!0);;){var m=l.length?l.pop():z?b:h;if(m(t,f)){for(;l.length&&l[l.length-1].lex;)l.pop()();return i.marked?i.marked:t=="variable"&&Ur(r,f)?"variable-2":e}}}var i={state:null,column:null,marked:null,cc:null};function o(){for(var r=arguments.length-1;r>=0;r--)i.cc.push(arguments[r])}function n(){return o.apply(null,arguments),!0}function cr(r,e){for(var t=e;t;t=t.next)if(t.name==r)return!0;return!1}function B(r){var e=i.state;if(i.marked="def",!!vr){if(e.context){if(e.lexical.info=="var"&&e.context&&e.context.block){var t=Tr(r,e.context);if(t!=null){e.context=t;return}}else if(!cr(r,e.localVars)){e.localVars=new K(r,e.localVars);return}}v.globalVars&&!cr(r,e.globalVars)&&(e.globalVars=new K(r,e.globalVars))}}function Tr(r,e){if(e)if(e.block){var t=Tr(r,e.prev);return t?t==e.prev?e:new W(t,e.vars,!0):null}else return cr(r,e.vars)?e:new W(e.prev,new K(r,e.vars),!1);else return null}function nr(r){return r=="public"||r=="private"||r=="protected"||r=="abstract"||r=="readonly"}function W(r,e,t){this.prev=r,this.vars=e,this.block=t}function K(r,e){this.name=r,this.next=e}var Wr=new K("this",new K("arguments",null));function P(){i.state.context=new W(i.state.context,i.state.localVars,!1),i.state.localVars=Wr}function lr(){i.state.context=new W(i.state.context,i.state.localVars,!0),i.state.localVars=null}function j(){i.state.localVars=i.state.context.vars,i.state.context=i.state.context.prev}j.lex=!0;function s(r,e){var t=function(){var f=i.state,u=f.indented;if(f.lexical.type=="stat")u=f.lexical.indented;else for(var l=f.lexical;l&&l.type==")"&&l.align;l=l.prev)u=l.indented;f.lexical=new jr(u,i.stream.column(),r,null,f.lexical,e)};return t.lex=!0,t}function a(){var r=i.state;r.lexical.prev&&(r.lexical.type==")"&&(r.indented=r.lexical.indented),r.lexical=r.lexical.prev)}a.lex=!0;function c(r){function e(t){return t==r?n():r==";"||t=="}"||t==")"||t=="]"?o():n(e)}return e}function h(r,e){return r=="var"?n(s("vardef",e),br,c(";"),a):r=="keyword a"?n(s("form"),dr,h,a):r=="keyword b"?n(s("form"),h,a):r=="keyword d"?i.stream.match(/^\s*$/,!1)?n():n(s("stat"),F,c(";"),a):r=="debugger"?n(c(";")):r=="{"?n(s("}"),lr,fr,a,j):r==";"?n():r=="if"?(i.state.lexical.info=="else"&&i.state.cc[i.state.cc.length-1]==a&&i.state.cc.pop()(),n(s("form"),dr,h,a,zr)):r=="function"?n(S):r=="for"?n(s("form"),lr,Mr,h,j,a):r=="class"||p&&e=="interface"?(i.marked="keyword",n(s("form",r=="class"?r:e),$r,a)):r=="variable"?p&&e=="declare"?(i.marked="keyword",n(h)):p&&(e=="module"||e=="enum"||e=="type")&&i.stream.match(/^\s*\w/,!1)?(i.marked="keyword",e=="enum"?n(Br):e=="type"?n(Or,c("operator"),d,c(";")):n(s("form"),E,c("{"),s("}"),fr,a,a)):p&&e=="namespace"?(i.marked="keyword",n(s("form"),b,h,a)):p&&e=="abstract"?(i.marked="keyword",n(h)):n(s("stat"),Zr):r=="switch"?n(s("form"),dr,c("{"),s("}","switch"),lr,fr,a,a,j):r=="case"?n(b,c(":")):r=="default"?n(c(":")):r=="catch"?n(s("form"),P,Kr,h,a,j):r=="export"?n(s("stat"),le,a):r=="import"?n(s("stat"),de,a):r=="async"?n(h):e=="@"?n(b,h):o(s("stat"),b,c(";"),a)}function Kr(r){if(r=="(")return n(q,c(")"))}function b(r,e){return Ar(r,e,!1)}function y(r,e){return Ar(r,e,!0)}function dr(r){return r!="("?o():n(s(")"),F,c(")"),a)}function Ar(r,e,t){if(i.state.fatArrowAt==i.stream.start){var f=t?Ir:Vr;if(r=="(")return n(P,s(")"),x(q,")"),a,c("=>"),f,j);if(r=="variable")return o(P,E,c("=>"),f,j)}var u=t?D:O;return Rr.hasOwnProperty(r)?n(u):r=="function"?n(S,u):r=="class"||p&&e=="interface"?(i.marked="keyword",n(s("form"),ce,a)):r=="keyword c"||r=="async"?n(t?y:b):r=="("?n(s(")"),F,c(")"),a,u):r=="operator"||r=="spread"?n(t?y:b):r=="["?n(s("]"),pe,a,u):r=="{"?H(ir,"}",null,u):r=="quasi"?o(tr,u):r=="new"?n(Gr(t)):n()}function F(r){return r.match(/[;\}\)\],]/)?o():o(b)}function O(r,e){return r==","?n(F):D(r,e,!1)}function D(r,e,t){var f=t==!1?O:D,u=t==!1?b:y;if(r=="=>")return n(P,t?Ir:Vr,j);if(r=="operator")return/\+\+|--/.test(e)||p&&e=="!"?n(f):p&&e=="<"&&i.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?n(s(">"),x(d,">"),a,f):e=="?"?n(b,c(":"),u):n(u);if(r=="quasi")return o(tr,f);if(r!=";"){if(r=="(")return H(y,")","call",f);if(r==".")return n(Cr,f);if(r=="[")return n(s("]"),F,c("]"),a,f);if(p&&e=="as")return i.marked="keyword",n(d,f);if(r=="regexp")return i.state.lastType=i.marked="operator",i.stream.backUp(i.stream.pos-i.stream.start-1),n(u)}}function tr(r,e){return r!="quasi"?o():e.slice(e.length-2)!="${"?n(tr):n(F,Hr)}function Hr(r){if(r=="}")return i.marked="string-2",i.state.tokenize=U,n(tr)}function Vr(r){return sr(i.stream,i.state),o(r=="{"?h:b)}function Ir(r){return sr(i.stream,i.state),o(r=="{"?h:y)}function Gr(r){return function(e){return e=="."?n(r?Yr:Xr):e=="variable"&&p?n(fe,r?D:O):o(r?y:b)}}function Xr(r,e){if(e=="target")return i.marked="keyword",n(O)}function Yr(r,e){if(e=="target")return i.marked="keyword",n(D)}function Zr(r){return r==":"?n(a,h):o(O,c(";"),a)}function Cr(r){if(r=="variable")return i.marked="property",n()}function ir(r,e){if(r=="async")return i.marked="property",n(ir);if(r=="variable"||i.style=="keyword"){if(i.marked="property",e=="get"||e=="set")return n(re);var t;return p&&i.state.fatArrowAt==i.stream.start&&(t=i.stream.match(/^\s*:\s*/,!1))&&(i.state.fatArrowAt=i.stream.pos+t[0].length),n($)}else{if(r=="number"||r=="string")return i.marked=Z?"property":i.style+" property",n($);if(r=="jsonld-keyword")return n($);if(p&&nr(e))return i.marked="keyword",n(ir);if(r=="[")return n(b,J,c("]"),$);if(r=="spread")return n(y,$);if(e=="*")return i.marked="keyword",n(ir);if(r==":")return o($)}}function re(r){return r!="variable"?o($):(i.marked="property",n(S))}function $(r){if(r==":")return n(y);if(r=="(")return o(S)}function x(r,e,t){function f(u,l){if(t?t.indexOf(u)>-1:u==","){var m=i.state.lexical;return m.info=="call"&&(m.pos=(m.pos||0)+1),n(function(g,T){return g==e||T==e?o():o(r)},f)}return u==e||l==e?n():t&&t.indexOf(";")>-1?o(r):n(c(e))}return function(u,l){return u==e||l==e?n():o(r,f)}}function H(r,e,t){for(var f=3;f<arguments.length;f++)i.cc.push(arguments[f]);return n(s(e,t),x(r,e),a)}function fr(r){return r=="}"?n():o(h,fr)}function J(r,e){if(p){if(r==":")return n(d);if(e=="?")return n(J)}}function ee(r,e){if(p&&(r==":"||e=="in"))return n(d)}function Sr(r){if(p&&r==":")return i.stream.match(/^\s*\w+\s+is\b/,!1)?n(b,ne,d):n(d)}function ne(r,e){if(e=="is")return i.marked="keyword",n()}function d(r,e){if(e=="keyof"||e=="typeof"||e=="infer"||e=="readonly")return i.marked="keyword",n(e=="typeof"?y:d);if(r=="variable"||e=="void")return i.marked="type",n(A);if(e=="|"||e=="&")return n(d);if(r=="string"||r=="number"||r=="atom")return n(A);if(r=="[")return n(s("]"),x(d,"]",","),a,A);if(r=="{")return n(s("}"),mr,a,A);if(r=="(")return n(x(kr,")"),te,A);if(r=="<")return n(x(d,">"),d);if(r=="quasi")return o(pr,A)}function te(r){if(r=="=>")return n(d)}function mr(r){return r.match(/[\}\)\]]/)?n():r==","||r==";"?n(mr):o(G,mr)}function G(r,e){if(r=="variable"||i.style=="keyword")return i.marked="property",n(G);if(e=="?"||r=="number"||r=="string")return n(G);if(r==":")return n(d);if(r=="[")return n(c("variable"),ee,c("]"),G);if(r=="(")return o(Q,G);if(!r.match(/[;\}\)\],]/))return n()}function pr(r,e){return r!="quasi"?o():e.slice(e.length-2)!="${"?n(pr):n(d,ie)}function ie(r){if(r=="}")return i.marked="string-2",i.state.tokenize=U,n(pr)}function kr(r,e){return r=="variable"&&i.stream.match(/^\s*[?:]/,!1)||e=="?"?n(kr):r==":"?n(d):r=="spread"?n(kr):o(d)}function A(r,e){if(e=="<")return n(s(">"),x(d,">"),a,A);if(e=="|"||r=="."||e=="&")return n(d);if(r=="[")return n(d,c("]"),A);if(e=="extends"||e=="implements")return i.marked="keyword",n(d);if(e=="?")return n(d,c(":"),d)}function fe(r,e){if(e=="<")return n(s(">"),x(d,">"),a,A)}function ar(){return o(d,ae)}function ae(r,e){if(e=="=")return n(d)}function br(r,e){return e=="enum"?(i.marked="keyword",n(Br)):o(E,J,I,oe)}function E(r,e){if(p&&nr(e))return i.marked="keyword",n(E);if(r=="variable")return B(e),n();if(r=="spread")return n(E);if(r=="[")return H(ue,"]");if(r=="{")return H(_r,"}")}function _r(r,e){return r=="variable"&&!i.stream.match(/^\s*:/,!1)?(B(e),n(I)):(r=="variable"&&(i.marked="property"),r=="spread"?n(E):r=="}"?o():r=="["?n(b,c("]"),c(":"),_r):n(c(":"),E,I))}function ue(){return o(E,I)}function I(r,e){if(e=="=")return n(y)}function oe(r){if(r==",")return n(br)}function zr(r,e){if(r=="keyword b"&&e=="else")return n(s("form","else"),h,a)}function Mr(r,e){if(e=="await")return n(Mr);if(r=="(")return n(s(")"),se,a)}function se(r){return r=="var"?n(br,L):r=="variable"?n(L):o(L)}function L(r,e){return r==")"?n():r==";"?n(L):e=="in"||e=="of"?(i.marked="keyword",n(b,L)):o(b,L)}function S(r,e){if(e=="*")return i.marked="keyword",n(S);if(r=="variable")return B(e),n(S);if(r=="(")return n(P,s(")"),x(q,")"),a,Sr,h,j);if(p&&e=="<")return n(s(">"),x(ar,">"),a,S)}function Q(r,e){if(e=="*")return i.marked="keyword",n(Q);if(r=="variable")return B(e),n(Q);if(r=="(")return n(P,s(")"),x(q,")"),a,Sr,j);if(p&&e=="<")return n(s(">"),x(ar,">"),a,Q)}function Or(r,e){if(r=="keyword"||r=="variable")return i.marked="type",n(Or);if(e=="<")return n(s(">"),x(ar,">"),a)}function q(r,e){return e=="@"&&n(b,q),r=="spread"?n(q):p&&nr(e)?(i.marked="keyword",n(q)):p&&r=="this"?n(J,I):o(E,J,I)}function ce(r,e){return r=="variable"?$r(r,e):ur(r,e)}function $r(r,e){if(r=="variable")return B(e),n(ur)}function ur(r,e){if(e=="<")return n(s(">"),x(ar,">"),a,ur);if(e=="extends"||e=="implements"||p&&r==",")return e=="implements"&&(i.marked="keyword"),n(p?d:b,ur);if(r=="{")return n(s("}"),V,a)}function V(r,e){if(r=="async"||r=="variable"&&(e=="static"||e=="get"||e=="set"||p&&nr(e))&&i.stream.match(/^\s+[\w$\xa1-\uffff]/,!1))return i.marked="keyword",n(V);if(r=="variable"||i.style=="keyword")return i.marked="property",n(X,V);if(r=="number"||r=="string")return n(X,V);if(r=="[")return n(b,J,c("]"),X,V);if(e=="*")return i.marked="keyword",n(V);if(p&&r=="(")return o(Q,V);if(r==";"||r==",")return n(V);if(r=="}")return n();if(e=="@")return n(b,V)}function X(r,e){if(e=="!"||e=="?")return n(X);if(r==":")return n(d,I);if(e=="=")return n(y);var t=i.state.lexical.prev,f=t&&t.info=="interface";return o(f?Q:S)}function le(r,e){return e=="*"?(i.marked="keyword",n(wr,c(";"))):e=="default"?(i.marked="keyword",n(b,c(";"))):r=="{"?n(x(qr,"}"),wr,c(";")):o(h)}function qr(r,e){if(e=="as")return i.marked="keyword",n(c("variable"));if(r=="variable")return o(y,qr)}function de(r){return r=="string"?n():r=="("?o(b):r=="."?o(O):o(or,Nr,wr)}function or(r,e){return r=="{"?H(or,"}"):(r=="variable"&&B(e),e=="*"&&(i.marked="keyword"),n(me))}function Nr(r){if(r==",")return n(or,Nr)}function me(r,e){if(e=="as")return i.marked="keyword",n(or)}function wr(r,e){if(e=="from")return i.marked="keyword",n(b)}function pe(r){return r=="]"?n():o(x(y,"]"))}function Br(){return o(s("form"),E,c("{"),s("}"),x(ke,"}"),a,a)}function ke(){return o(E,I)}function be(r,e){return r.lastType=="operator"||r.lastType==","||yr.test(e.charAt(0))||/[,.]/.test(e.charAt(0))}function Pr(r,e,t){return e.tokenize==M&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(e.lastType)||e.lastType=="quasi"&&/\{\s*$/.test(r.string.slice(0,r.pos-(t||0)))}return{startState:function(r){var e={tokenize:M,lastType:"sof",cc:[],lexical:new jr((r||0)-N,0,"block",!1),localVars:v.localVars,context:v.localVars&&new W(null,null,!1),indented:r||0};return v.globalVars&&typeof v.globalVars=="object"&&(e.globalVars=v.globalVars),e},token:function(r,e){if(r.sol()&&(e.lexical.hasOwnProperty("align")||(e.lexical.align=!1),e.indented=r.indentation(),sr(r,e)),e.tokenize!=er&&r.eatSpace())return null;var t=e.tokenize(r,e);return R=="comment"?t:(e.lastType=R=="operator"&&(rr=="++"||rr=="--")?"incdec":R,Er(e,t,R,rr,r))},indent:function(r,e){if(r.tokenize==er||r.tokenize==U)return k.Pass;if(r.tokenize!=M)return 0;var t=e&&e.charAt(0),f=r.lexical,u;if(!/^\s*else\b/.test(e))for(var l=r.cc.length-1;l>=0;--l){var m=r.cc[l];if(m==a)f=f.prev;else if(m!=zr&&m!=j)break}for(;(f.type=="stat"||f.type=="form")&&(t=="}"||(u=r.cc[r.cc.length-1])&&(u==O||u==D)&&!/^[,\.=+\-*:?[\(]/.test(e));)f=f.prev;xr&&f.type==")"&&f.prev.type=="stat"&&(f=f.prev);var g=f.type,T=t==g;return g=="vardef"?f.indented+(r.lastType=="operator"||r.lastType==","?f.info.length+1:0):g=="form"&&t=="{"?f.indented:g=="form"?f.indented+N:g=="stat"?f.indented+(be(r,e)?xr||N:0):f.info=="switch"&&!T&&v.doubleIndentSwitch!=!1?f.indented+(/^(?:case|default)\b/.test(e)?N:2*N):f.align?f.column+(T?0:1):f.indented+(T?0:N)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:z?null:"/*",blockCommentEnd:z?null:"*/",blockCommentContinue:z?null:" * ",lineComment:z?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:z?"json":"javascript",jsonldMode:Z,jsonMode:z,expressionAllowed:Pr,skipExpression:function(r){Er(r,"atom","atom","true",new k.StringStream("",2,null))}}}),k.registerHelper("wordChars","javascript",/[\w$]/),k.defineMIME("text/javascript","javascript"),k.defineMIME("text/ecmascript","javascript"),k.defineMIME("application/javascript","javascript"),k.defineMIME("application/x-javascript","javascript"),k.defineMIME("application/ecmascript","javascript"),k.defineMIME("application/json",{name:"javascript",json:!0}),k.defineMIME("application/x-json",{name:"javascript",json:!0}),k.defineMIME("application/manifest+json",{name:"javascript",json:!0}),k.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),k.defineMIME("text/typescript",{name:"javascript",typescript:!0}),k.defineMIME("application/typescript",{name:"javascript",typescript:!0})})})();var ve=Fr.exports,ye=xe({__proto__:null,default:ve},[Fr.exports]);export{Fr as a,ye as j};
|
|
1
|
+
import{y as he}from"./index.2c592891.entry.js";function xe(Y,hr){return hr.forEach(function(k){k&&typeof k!="string"&&!Array.isArray(k)&&Object.keys(k).forEach(function(_){if(_!=="default"&&!(_ in Y)){var v=Object.getOwnPropertyDescriptor(k,_);Object.defineProperty(Y,_,v.get?v:{enumerable:!0,get:function(){return k[_]}})}})}),Object.freeze(Object.defineProperty(Y,Symbol.toStringTag,{value:"Module"}))}var Fr={exports:{}};(function(Y,hr){(function(k){k(he.exports)})(function(k){k.defineMode("javascript",function(_,v){var N=_.indentUnit,xr=v.statementIndent,Z=v.jsonld,z=v.json||Z,vr=v.trackScope!==!1,p=v.typescript,C=v.wordCharacters||/[\w$\xa1-\uffff]/,gr=function(){function r(g){return{type:g,style:"keyword"}}var e=r("keyword a"),t=r("keyword b"),f=r("keyword c"),u=r("keyword d"),l=r("operator"),m={type:"atom",style:"atom"};return{if:r("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:u,break:u,continue:u,new:r("new"),delete:f,void:f,throw:f,debugger:r("debugger"),var:r("var"),const:r("var"),let:r("var"),function:r("function"),catch:r("catch"),for:r("for"),switch:r("switch"),case:r("case"),default:r("default"),in:l,typeof:l,instanceof:l,true:m,false:m,null:m,undefined:m,NaN:m,Infinity:m,this:r("this"),class:r("class"),super:r("atom"),yield:f,export:r("export"),import:r("import"),extends:f,await:f}}(),yr=/[+\-*&%=<>!?|~^@]/,Dr=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function Jr(r){for(var e=!1,t,f=!1;(t=r.next())!=null;){if(!e){if(t=="/"&&!f)return;t=="["?f=!0:f&&t=="]"&&(f=!1)}e=!e&&t=="\\"}}var R,rr;function w(r,e,t){return R=r,rr=t,e}function M(r,e){var t=r.next();if(t=='"'||t=="'")return e.tokenize=Lr(t),e.tokenize(r,e);if(t=="."&&r.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return w("number","number");if(t=="."&&r.match(".."))return w("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(t))return w(t);if(t=="="&&r.eat(">"))return w("=>","operator");if(t=="0"&&r.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return w("number","number");if(/\d/.test(t))return r.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),w("number","number");if(t=="/")return r.eat("*")?(e.tokenize=er,er(r,e)):r.eat("/")?(r.skipToEnd(),w("comment","comment")):Pr(r,e,1)?(Jr(r),r.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),w("regexp","string-2")):(r.eat("="),w("operator","operator",r.current()));if(t=="`")return e.tokenize=U,U(r,e);if(t=="#"&&r.peek()=="!")return r.skipToEnd(),w("meta","meta");if(t=="#"&&r.eatWhile(C))return w("variable","property");if(t=="<"&&r.match("!--")||t=="-"&&r.match("->")&&!/\S/.test(r.string.slice(0,r.start)))return r.skipToEnd(),w("comment","comment");if(yr.test(t))return(t!=">"||!e.lexical||e.lexical.type!=">")&&(r.eat("=")?(t=="!"||t=="=")&&r.eat("="):/[<>*+\-|&?]/.test(t)&&(r.eat(t),t==">"&&r.eat(t))),t=="?"&&r.eat(".")?w("."):w("operator","operator",r.current());if(C.test(t)){r.eatWhile(C);var f=r.current();if(e.lastType!="."){if(gr.propertyIsEnumerable(f)){var u=gr[f];return w(u.type,u.style,f)}if(f=="async"&&r.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return w("async","keyword",f)}return w("variable","variable",f)}}function Lr(r){return function(e,t){var f=!1,u;if(Z&&e.peek()=="@"&&e.match(Dr))return t.tokenize=M,w("jsonld-keyword","meta");for(;(u=e.next())!=null&&!(u==r&&!f);)f=!f&&u=="\\";return f||(t.tokenize=M),w("string","string")}}function er(r,e){for(var t=!1,f;f=r.next();){if(f=="/"&&t){e.tokenize=M;break}t=f=="*"}return w("comment","comment")}function U(r,e){for(var t=!1,f;(f=r.next())!=null;){if(!t&&(f=="`"||f=="$"&&r.eat("{"))){e.tokenize=M;break}t=!t&&f=="\\"}return w("quasi","string-2",r.current())}var Qr="([{}])";function sr(r,e){e.fatArrowAt&&(e.fatArrowAt=null);var t=r.string.indexOf("=>",r.start);if(!(t<0)){if(p){var f=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(r.string.slice(r.start,t));f&&(t=f.index)}for(var u=0,l=!1,m=t-1;m>=0;--m){var g=r.string.charAt(m),T=Qr.indexOf(g);if(T>=0&&T<3){if(!u){++m;break}if(--u==0){g=="("&&(l=!0);break}}else if(T>=3&&T<6)++u;else if(C.test(g))l=!0;else if(/["'\/`]/.test(g))for(;;--m){if(m==0)return;var we=r.string.charAt(m-1);if(we==g&&r.string.charAt(m-2)!="\\"){m--;break}}else if(l&&!u){++m;break}}l&&!u&&(e.fatArrowAt=m)}}var Rr={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function jr(r,e,t,f,u,l){this.indented=r,this.column=e,this.type=t,this.prev=u,this.info=l,f!=null&&(this.align=f)}function Ur(r,e){if(!vr)return!1;for(var t=r.localVars;t;t=t.next)if(t.name==e)return!0;for(var f=r.context;f;f=f.prev)for(var t=f.vars;t;t=t.next)if(t.name==e)return!0}function Er(r,e,t,f,u){var l=r.cc;for(i.state=r,i.stream=u,i.marked=null,i.cc=l,i.style=e,r.lexical.hasOwnProperty("align")||(r.lexical.align=!0);;){var m=l.length?l.pop():z?b:h;if(m(t,f)){for(;l.length&&l[l.length-1].lex;)l.pop()();return i.marked?i.marked:t=="variable"&&Ur(r,f)?"variable-2":e}}}var i={state:null,column:null,marked:null,cc:null};function o(){for(var r=arguments.length-1;r>=0;r--)i.cc.push(arguments[r])}function n(){return o.apply(null,arguments),!0}function cr(r,e){for(var t=e;t;t=t.next)if(t.name==r)return!0;return!1}function B(r){var e=i.state;if(i.marked="def",!!vr){if(e.context){if(e.lexical.info=="var"&&e.context&&e.context.block){var t=Tr(r,e.context);if(t!=null){e.context=t;return}}else if(!cr(r,e.localVars)){e.localVars=new K(r,e.localVars);return}}v.globalVars&&!cr(r,e.globalVars)&&(e.globalVars=new K(r,e.globalVars))}}function Tr(r,e){if(e)if(e.block){var t=Tr(r,e.prev);return t?t==e.prev?e:new W(t,e.vars,!0):null}else return cr(r,e.vars)?e:new W(e.prev,new K(r,e.vars),!1);else return null}function nr(r){return r=="public"||r=="private"||r=="protected"||r=="abstract"||r=="readonly"}function W(r,e,t){this.prev=r,this.vars=e,this.block=t}function K(r,e){this.name=r,this.next=e}var Wr=new K("this",new K("arguments",null));function P(){i.state.context=new W(i.state.context,i.state.localVars,!1),i.state.localVars=Wr}function lr(){i.state.context=new W(i.state.context,i.state.localVars,!0),i.state.localVars=null}function j(){i.state.localVars=i.state.context.vars,i.state.context=i.state.context.prev}j.lex=!0;function s(r,e){var t=function(){var f=i.state,u=f.indented;if(f.lexical.type=="stat")u=f.lexical.indented;else for(var l=f.lexical;l&&l.type==")"&&l.align;l=l.prev)u=l.indented;f.lexical=new jr(u,i.stream.column(),r,null,f.lexical,e)};return t.lex=!0,t}function a(){var r=i.state;r.lexical.prev&&(r.lexical.type==")"&&(r.indented=r.lexical.indented),r.lexical=r.lexical.prev)}a.lex=!0;function c(r){function e(t){return t==r?n():r==";"||t=="}"||t==")"||t=="]"?o():n(e)}return e}function h(r,e){return r=="var"?n(s("vardef",e),br,c(";"),a):r=="keyword a"?n(s("form"),dr,h,a):r=="keyword b"?n(s("form"),h,a):r=="keyword d"?i.stream.match(/^\s*$/,!1)?n():n(s("stat"),F,c(";"),a):r=="debugger"?n(c(";")):r=="{"?n(s("}"),lr,fr,a,j):r==";"?n():r=="if"?(i.state.lexical.info=="else"&&i.state.cc[i.state.cc.length-1]==a&&i.state.cc.pop()(),n(s("form"),dr,h,a,zr)):r=="function"?n(S):r=="for"?n(s("form"),lr,Mr,h,j,a):r=="class"||p&&e=="interface"?(i.marked="keyword",n(s("form",r=="class"?r:e),$r,a)):r=="variable"?p&&e=="declare"?(i.marked="keyword",n(h)):p&&(e=="module"||e=="enum"||e=="type")&&i.stream.match(/^\s*\w/,!1)?(i.marked="keyword",e=="enum"?n(Br):e=="type"?n(Or,c("operator"),d,c(";")):n(s("form"),E,c("{"),s("}"),fr,a,a)):p&&e=="namespace"?(i.marked="keyword",n(s("form"),b,h,a)):p&&e=="abstract"?(i.marked="keyword",n(h)):n(s("stat"),Zr):r=="switch"?n(s("form"),dr,c("{"),s("}","switch"),lr,fr,a,a,j):r=="case"?n(b,c(":")):r=="default"?n(c(":")):r=="catch"?n(s("form"),P,Kr,h,a,j):r=="export"?n(s("stat"),le,a):r=="import"?n(s("stat"),de,a):r=="async"?n(h):e=="@"?n(b,h):o(s("stat"),b,c(";"),a)}function Kr(r){if(r=="(")return n(q,c(")"))}function b(r,e){return Ar(r,e,!1)}function y(r,e){return Ar(r,e,!0)}function dr(r){return r!="("?o():n(s(")"),F,c(")"),a)}function Ar(r,e,t){if(i.state.fatArrowAt==i.stream.start){var f=t?Ir:Vr;if(r=="(")return n(P,s(")"),x(q,")"),a,c("=>"),f,j);if(r=="variable")return o(P,E,c("=>"),f,j)}var u=t?D:O;return Rr.hasOwnProperty(r)?n(u):r=="function"?n(S,u):r=="class"||p&&e=="interface"?(i.marked="keyword",n(s("form"),ce,a)):r=="keyword c"||r=="async"?n(t?y:b):r=="("?n(s(")"),F,c(")"),a,u):r=="operator"||r=="spread"?n(t?y:b):r=="["?n(s("]"),pe,a,u):r=="{"?H(ir,"}",null,u):r=="quasi"?o(tr,u):r=="new"?n(Gr(t)):n()}function F(r){return r.match(/[;\}\)\],]/)?o():o(b)}function O(r,e){return r==","?n(F):D(r,e,!1)}function D(r,e,t){var f=t==!1?O:D,u=t==!1?b:y;if(r=="=>")return n(P,t?Ir:Vr,j);if(r=="operator")return/\+\+|--/.test(e)||p&&e=="!"?n(f):p&&e=="<"&&i.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?n(s(">"),x(d,">"),a,f):e=="?"?n(b,c(":"),u):n(u);if(r=="quasi")return o(tr,f);if(r!=";"){if(r=="(")return H(y,")","call",f);if(r==".")return n(Cr,f);if(r=="[")return n(s("]"),F,c("]"),a,f);if(p&&e=="as")return i.marked="keyword",n(d,f);if(r=="regexp")return i.state.lastType=i.marked="operator",i.stream.backUp(i.stream.pos-i.stream.start-1),n(u)}}function tr(r,e){return r!="quasi"?o():e.slice(e.length-2)!="${"?n(tr):n(F,Hr)}function Hr(r){if(r=="}")return i.marked="string-2",i.state.tokenize=U,n(tr)}function Vr(r){return sr(i.stream,i.state),o(r=="{"?h:b)}function Ir(r){return sr(i.stream,i.state),o(r=="{"?h:y)}function Gr(r){return function(e){return e=="."?n(r?Yr:Xr):e=="variable"&&p?n(fe,r?D:O):o(r?y:b)}}function Xr(r,e){if(e=="target")return i.marked="keyword",n(O)}function Yr(r,e){if(e=="target")return i.marked="keyword",n(D)}function Zr(r){return r==":"?n(a,h):o(O,c(";"),a)}function Cr(r){if(r=="variable")return i.marked="property",n()}function ir(r,e){if(r=="async")return i.marked="property",n(ir);if(r=="variable"||i.style=="keyword"){if(i.marked="property",e=="get"||e=="set")return n(re);var t;return p&&i.state.fatArrowAt==i.stream.start&&(t=i.stream.match(/^\s*:\s*/,!1))&&(i.state.fatArrowAt=i.stream.pos+t[0].length),n($)}else{if(r=="number"||r=="string")return i.marked=Z?"property":i.style+" property",n($);if(r=="jsonld-keyword")return n($);if(p&&nr(e))return i.marked="keyword",n(ir);if(r=="[")return n(b,J,c("]"),$);if(r=="spread")return n(y,$);if(e=="*")return i.marked="keyword",n(ir);if(r==":")return o($)}}function re(r){return r!="variable"?o($):(i.marked="property",n(S))}function $(r){if(r==":")return n(y);if(r=="(")return o(S)}function x(r,e,t){function f(u,l){if(t?t.indexOf(u)>-1:u==","){var m=i.state.lexical;return m.info=="call"&&(m.pos=(m.pos||0)+1),n(function(g,T){return g==e||T==e?o():o(r)},f)}return u==e||l==e?n():t&&t.indexOf(";")>-1?o(r):n(c(e))}return function(u,l){return u==e||l==e?n():o(r,f)}}function H(r,e,t){for(var f=3;f<arguments.length;f++)i.cc.push(arguments[f]);return n(s(e,t),x(r,e),a)}function fr(r){return r=="}"?n():o(h,fr)}function J(r,e){if(p){if(r==":")return n(d);if(e=="?")return n(J)}}function ee(r,e){if(p&&(r==":"||e=="in"))return n(d)}function Sr(r){if(p&&r==":")return i.stream.match(/^\s*\w+\s+is\b/,!1)?n(b,ne,d):n(d)}function ne(r,e){if(e=="is")return i.marked="keyword",n()}function d(r,e){if(e=="keyof"||e=="typeof"||e=="infer"||e=="readonly")return i.marked="keyword",n(e=="typeof"?y:d);if(r=="variable"||e=="void")return i.marked="type",n(A);if(e=="|"||e=="&")return n(d);if(r=="string"||r=="number"||r=="atom")return n(A);if(r=="[")return n(s("]"),x(d,"]",","),a,A);if(r=="{")return n(s("}"),mr,a,A);if(r=="(")return n(x(kr,")"),te,A);if(r=="<")return n(x(d,">"),d);if(r=="quasi")return o(pr,A)}function te(r){if(r=="=>")return n(d)}function mr(r){return r.match(/[\}\)\]]/)?n():r==","||r==";"?n(mr):o(G,mr)}function G(r,e){if(r=="variable"||i.style=="keyword")return i.marked="property",n(G);if(e=="?"||r=="number"||r=="string")return n(G);if(r==":")return n(d);if(r=="[")return n(c("variable"),ee,c("]"),G);if(r=="(")return o(Q,G);if(!r.match(/[;\}\)\],]/))return n()}function pr(r,e){return r!="quasi"?o():e.slice(e.length-2)!="${"?n(pr):n(d,ie)}function ie(r){if(r=="}")return i.marked="string-2",i.state.tokenize=U,n(pr)}function kr(r,e){return r=="variable"&&i.stream.match(/^\s*[?:]/,!1)||e=="?"?n(kr):r==":"?n(d):r=="spread"?n(kr):o(d)}function A(r,e){if(e=="<")return n(s(">"),x(d,">"),a,A);if(e=="|"||r=="."||e=="&")return n(d);if(r=="[")return n(d,c("]"),A);if(e=="extends"||e=="implements")return i.marked="keyword",n(d);if(e=="?")return n(d,c(":"),d)}function fe(r,e){if(e=="<")return n(s(">"),x(d,">"),a,A)}function ar(){return o(d,ae)}function ae(r,e){if(e=="=")return n(d)}function br(r,e){return e=="enum"?(i.marked="keyword",n(Br)):o(E,J,I,oe)}function E(r,e){if(p&&nr(e))return i.marked="keyword",n(E);if(r=="variable")return B(e),n();if(r=="spread")return n(E);if(r=="[")return H(ue,"]");if(r=="{")return H(_r,"}")}function _r(r,e){return r=="variable"&&!i.stream.match(/^\s*:/,!1)?(B(e),n(I)):(r=="variable"&&(i.marked="property"),r=="spread"?n(E):r=="}"?o():r=="["?n(b,c("]"),c(":"),_r):n(c(":"),E,I))}function ue(){return o(E,I)}function I(r,e){if(e=="=")return n(y)}function oe(r){if(r==",")return n(br)}function zr(r,e){if(r=="keyword b"&&e=="else")return n(s("form","else"),h,a)}function Mr(r,e){if(e=="await")return n(Mr);if(r=="(")return n(s(")"),se,a)}function se(r){return r=="var"?n(br,L):r=="variable"?n(L):o(L)}function L(r,e){return r==")"?n():r==";"?n(L):e=="in"||e=="of"?(i.marked="keyword",n(b,L)):o(b,L)}function S(r,e){if(e=="*")return i.marked="keyword",n(S);if(r=="variable")return B(e),n(S);if(r=="(")return n(P,s(")"),x(q,")"),a,Sr,h,j);if(p&&e=="<")return n(s(">"),x(ar,">"),a,S)}function Q(r,e){if(e=="*")return i.marked="keyword",n(Q);if(r=="variable")return B(e),n(Q);if(r=="(")return n(P,s(")"),x(q,")"),a,Sr,j);if(p&&e=="<")return n(s(">"),x(ar,">"),a,Q)}function Or(r,e){if(r=="keyword"||r=="variable")return i.marked="type",n(Or);if(e=="<")return n(s(">"),x(ar,">"),a)}function q(r,e){return e=="@"&&n(b,q),r=="spread"?n(q):p&&nr(e)?(i.marked="keyword",n(q)):p&&r=="this"?n(J,I):o(E,J,I)}function ce(r,e){return r=="variable"?$r(r,e):ur(r,e)}function $r(r,e){if(r=="variable")return B(e),n(ur)}function ur(r,e){if(e=="<")return n(s(">"),x(ar,">"),a,ur);if(e=="extends"||e=="implements"||p&&r==",")return e=="implements"&&(i.marked="keyword"),n(p?d:b,ur);if(r=="{")return n(s("}"),V,a)}function V(r,e){if(r=="async"||r=="variable"&&(e=="static"||e=="get"||e=="set"||p&&nr(e))&&i.stream.match(/^\s+[\w$\xa1-\uffff]/,!1))return i.marked="keyword",n(V);if(r=="variable"||i.style=="keyword")return i.marked="property",n(X,V);if(r=="number"||r=="string")return n(X,V);if(r=="[")return n(b,J,c("]"),X,V);if(e=="*")return i.marked="keyword",n(V);if(p&&r=="(")return o(Q,V);if(r==";"||r==",")return n(V);if(r=="}")return n();if(e=="@")return n(b,V)}function X(r,e){if(e=="!"||e=="?")return n(X);if(r==":")return n(d,I);if(e=="=")return n(y);var t=i.state.lexical.prev,f=t&&t.info=="interface";return o(f?Q:S)}function le(r,e){return e=="*"?(i.marked="keyword",n(wr,c(";"))):e=="default"?(i.marked="keyword",n(b,c(";"))):r=="{"?n(x(qr,"}"),wr,c(";")):o(h)}function qr(r,e){if(e=="as")return i.marked="keyword",n(c("variable"));if(r=="variable")return o(y,qr)}function de(r){return r=="string"?n():r=="("?o(b):r=="."?o(O):o(or,Nr,wr)}function or(r,e){return r=="{"?H(or,"}"):(r=="variable"&&B(e),e=="*"&&(i.marked="keyword"),n(me))}function Nr(r){if(r==",")return n(or,Nr)}function me(r,e){if(e=="as")return i.marked="keyword",n(or)}function wr(r,e){if(e=="from")return i.marked="keyword",n(b)}function pe(r){return r=="]"?n():o(x(y,"]"))}function Br(){return o(s("form"),E,c("{"),s("}"),x(ke,"}"),a,a)}function ke(){return o(E,I)}function be(r,e){return r.lastType=="operator"||r.lastType==","||yr.test(e.charAt(0))||/[,.]/.test(e.charAt(0))}function Pr(r,e,t){return e.tokenize==M&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(e.lastType)||e.lastType=="quasi"&&/\{\s*$/.test(r.string.slice(0,r.pos-(t||0)))}return{startState:function(r){var e={tokenize:M,lastType:"sof",cc:[],lexical:new jr((r||0)-N,0,"block",!1),localVars:v.localVars,context:v.localVars&&new W(null,null,!1),indented:r||0};return v.globalVars&&typeof v.globalVars=="object"&&(e.globalVars=v.globalVars),e},token:function(r,e){if(r.sol()&&(e.lexical.hasOwnProperty("align")||(e.lexical.align=!1),e.indented=r.indentation(),sr(r,e)),e.tokenize!=er&&r.eatSpace())return null;var t=e.tokenize(r,e);return R=="comment"?t:(e.lastType=R=="operator"&&(rr=="++"||rr=="--")?"incdec":R,Er(e,t,R,rr,r))},indent:function(r,e){if(r.tokenize==er||r.tokenize==U)return k.Pass;if(r.tokenize!=M)return 0;var t=e&&e.charAt(0),f=r.lexical,u;if(!/^\s*else\b/.test(e))for(var l=r.cc.length-1;l>=0;--l){var m=r.cc[l];if(m==a)f=f.prev;else if(m!=zr&&m!=j)break}for(;(f.type=="stat"||f.type=="form")&&(t=="}"||(u=r.cc[r.cc.length-1])&&(u==O||u==D)&&!/^[,\.=+\-*:?[\(]/.test(e));)f=f.prev;xr&&f.type==")"&&f.prev.type=="stat"&&(f=f.prev);var g=f.type,T=t==g;return g=="vardef"?f.indented+(r.lastType=="operator"||r.lastType==","?f.info.length+1:0):g=="form"&&t=="{"?f.indented:g=="form"?f.indented+N:g=="stat"?f.indented+(be(r,e)?xr||N:0):f.info=="switch"&&!T&&v.doubleIndentSwitch!=!1?f.indented+(/^(?:case|default)\b/.test(e)?N:2*N):f.align?f.column+(T?0:1):f.indented+(T?0:N)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:z?null:"/*",blockCommentEnd:z?null:"*/",blockCommentContinue:z?null:" * ",lineComment:z?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:z?"json":"javascript",jsonldMode:Z,jsonMode:z,expressionAllowed:Pr,skipExpression:function(r){Er(r,"atom","atom","true",new k.StringStream("",2,null))}}}),k.registerHelper("wordChars","javascript",/[\w$]/),k.defineMIME("text/javascript","javascript"),k.defineMIME("text/ecmascript","javascript"),k.defineMIME("application/javascript","javascript"),k.defineMIME("application/x-javascript","javascript"),k.defineMIME("application/ecmascript","javascript"),k.defineMIME("application/json",{name:"javascript",json:!0}),k.defineMIME("application/x-json",{name:"javascript",json:!0}),k.defineMIME("application/manifest+json",{name:"javascript",json:!0}),k.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),k.defineMIME("text/typescript",{name:"javascript",typescript:!0}),k.defineMIME("application/typescript",{name:"javascript",typescript:!0})})})();var ve=Fr.exports,ye=xe({__proto__:null,default:ve},[Fr.exports]);export{Fr as a,ye as j};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as p}from"./index.
|
|
1
|
+
import{y as p}from"./index.2c592891.entry.js";function b(f,u){return u.forEach(function(i){i&&typeof i!="string"&&!Array.isArray(i)&&Object.keys(i).forEach(function(o){if(o!=="default"&&!(o in f)){var l=Object.getOwnPropertyDescriptor(i,o);Object.defineProperty(f,o,l.get?l:{enumerable:!0,get:function(){return i[o]}})}})}),Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var a={exports:{}};(function(f,u){(function(i){i(p.exports)})(function(i){i.defineMode("jinja2",function(){var o=["and","as","block","endblock","by","cycle","debug","else","elif","extends","filter","endfilter","firstof","for","endfor","if","endif","ifchanged","endifchanged","ifequal","endifequal","ifnotequal","endifnotequal","in","include","load","not","now","or","parsed","regroup","reversed","spaceless","endspaceless","ssi","templatetag","openblock","closeblock","openvariable","closevariable","openbrace","closebrace","opencomment","closecomment","widthratio","url","with","endwith","get_current_language","trans","endtrans","noop","blocktrans","endblocktrans","get_available_languages","get_current_language_bidi","plural"],l=/^[+\-*&%=<>!?|~^]/,g=/^[:\[\(\{]/,t=["true","false"],c=/^(\d[+\-\*\/])?\d+(\.\d+)?/;o=new RegExp("(("+o.join(")|(")+"))\\b"),t=new RegExp("(("+t.join(")|(")+"))\\b");function d(e,n){var r=e.peek();if(n.incomment)return e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(n.intag){if(n.operator){if(n.operator=!1,e.match(t))return"atom";if(e.match(c))return"number"}if(n.sign){if(n.sign=!1,e.match(t))return"atom";if(e.match(c))return"number"}if(n.instring)return r==n.instring&&(n.instring=!1),e.next(),"string";if(r=="'"||r=='"')return n.instring=r,e.next(),"string";if(e.match(n.intag+"}")||e.eat("-")&&e.match(n.intag+"}"))return n.intag=!1,"tag";if(e.match(l))return n.operator=!0,"operator";if(e.match(g))n.sign=!0;else if(e.eat(" ")||e.sol()){if(e.match(o))return"keyword";if(e.match(t))return"atom";if(e.match(c))return"number";e.sol()&&e.next()}else e.next();return"variable"}else if(e.eat("{")){if(e.eat("#"))return n.incomment=!0,e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(r=e.eat(/\{|%/))return n.intag=r,r=="{"&&(n.intag="}"),e.eat("-"),"tag"}e.next()}return{startState:function(){return{tokenize:d}},token:function(e,n){return n.tokenize(e,n)},blockCommentStart:"{#",blockCommentEnd:"#}"}}),i.defineMIME("text/jinja2","jinja2")})})();var s=a.exports,j=b({__proto__:null,default:s},[a.exports]);export{j};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as k,z as w}from"./index.
|
|
1
|
+
import{y as k,z as w}from"./index.2c592891.entry.js";import{a as O}from"./javascript.0f987dbc.js";function S(l,h){return h.forEach(function(i){i&&typeof i!="string"&&!Array.isArray(i)&&Object.keys(i).forEach(function(a){if(a!=="default"&&!(a in l)){var f=Object.getOwnPropertyDescriptor(i,a);Object.defineProperty(l,a,f.get?f:{enumerable:!0,get:function(){return i[a]}})}})}),Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var y={exports:{}};(function(l,h){(function(i){i(k.exports,w.exports,O.exports)})(function(i){function a(r,c,o,s){this.state=r,this.mode=c,this.depth=o,this.prev=s}function f(r){return new a(i.copyState(r.mode,r.state),r.mode,r.depth,r.prev&&f(r.prev))}i.defineMode("jsx",function(r,c){var o=i.getMode(r,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),s=i.getMode(r,c&&c.base||"javascript");function j(t){var n=t.tagName;t.tagName=null;var e=o.indent(t,"","");return t.tagName=n,e}function g(t,n){return n.context.mode==o?x(t,n,n.context):b(t,n,n.context)}function x(t,n,e){if(e.depth==2)return t.match(/^.*?\*\//)?e.depth=1:t.skipToEnd(),"comment";if(t.peek()=="{"){o.skipAttribute(e.state);var u=j(e.state),p=e.state.context;if(p&&t.match(/^[^>]*>\s*$/,!1)){for(;p.prev&&!p.startOfLine;)p=p.prev;p.startOfLine?u-=r.indentUnit:e.prev.state.lexical&&(u=e.prev.state.lexical.indented)}else e.depth==1&&(u+=r.indentUnit);return n.context=new a(i.startState(s,u),s,0,n.context),null}if(e.depth==1){if(t.peek()=="<")return o.skipAttribute(e.state),n.context=new a(i.startState(o,j(e.state)),o,0,n.context),null;if(t.match("//"))return t.skipToEnd(),"comment";if(t.match("/*"))return e.depth=2,g(t,n)}var v=o.token(t,e.state),d=t.current(),m;return/\btag\b/.test(v)?/>$/.test(d)?e.state.context?e.depth=0:n.context=n.context.prev:/^</.test(d)&&(e.depth=1):!v&&(m=d.indexOf("{"))>-1&&t.backUp(d.length-m),v}function b(t,n,e){if(t.peek()=="<"&&s.expressionAllowed(t,e.state))return n.context=new a(i.startState(o,s.indent(e.state,"","")),o,0,n.context),s.skipExpression(e.state),null;var u=s.token(t,e.state);if(!u&&e.depth!=null){var p=t.current();p=="{"?e.depth++:p=="}"&&--e.depth==0&&(n.context=n.context.prev)}return u}return{startState:function(){return{context:new a(i.startState(s),s)}},copyState:function(t){return{context:f(t.context)}},token:g,indent:function(t,n,e){return t.context.mode.indent(t.context.state,n,e)},innerMode:function(t){return t.context}}},"xml","javascript"),i.defineMIME("text/jsx","jsx"),i.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}})})})();var T=y.exports,A=S({__proto__:null,default:T},[y.exports]);export{A as j};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as H}from"./index.
|
|
1
|
+
import{y as H}from"./index.2c592891.entry.js";function J(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 b={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}",y="\\\\x[A-Fa-f0-9]{1,2}",m=`\\\\[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,y,m,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 k(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&&k(e)!=="[";)e.scopes.pop();e.scopes.pop(),e.nestedArrays--,e.leavingExpr=!0}if(I(e)&&r===")"){for(;e.scopes.length&&k(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 K=b.exports,V=J({__proto__:null,default:K},[b.exports]);export{V as j};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,o as u,b as d,w as o,g as e,e as n,B as t}from"./runtime-core.esm-bundler.e3d5f5b7.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("h2",{id:"what%E2%80%99s-a-layout%3F",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#what%E2%80%99s-a-layout%3F"},"#"),t(" What\u2019s a Layout?")],-1),g=e("video",{autoplay:"",playsinline:"",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),m=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 "),y=t("Cloud Exclusive Extensions"),f=t(", so check back often to stay up-to-date with the latest and greatest. Additionally, you can join the community on "),b=e("a",{href:"https://discord.com/invite/directus",target:"_blank",rel:"noopener noreferrer"},"Discord",-1),C=t(" and "),w=e("a",{href:"https://github.com/directus/directus/discussions",target:"_blank",rel:"noopener noreferrer"},"GitHub",-1),L=t(" to find thousands of engineers guiding development of the Directus platform."),v=e("h2",{id:"how-it-works",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#how-it-works"},"#"),t(" How it Works")],-1),I=e("video",{autoplay:"",playsinline:"",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),k=e("p",null,"To adjust an Item\u2019s Layout, follow the steps below.",-1),S=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),T=e("h3",{id:"customization-controls",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#customization-controls"},"#"),t(" Customization Controls")],-1),F=e("p",null,"Customization controls can be found in the following three locations.",-1),A=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),x=e("p",null,"These controls typically fall into three general categories.",-1),D=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),P=e("h3",{id:"key-takeaways",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#key-takeaways"},"#"),t(" Key Takeaways")],-1),z=e("p",null,"As you go through Layouts, it may be helpful to keep the following points in mind.",-1),M=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),j=e("h2",{id:"table-layout",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#table-layout"},"#"),t(" Table Layout")],-1),O=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/layouts/layouts-20220415A/table-layout.webp",alt:"Table Layout"})],-1),E=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),G=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),K={class:"warning hint"},U=e("div",{class:"hint-title"},"Manual Sorting Requires Configuration",-1),W=t("Only available if you "),H=t("configure a sort field"),Y=t(" in the Collection\u2019s Data Model Settings."),Z=e("h2",{id:"card-layout",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#card-layout"},"#"),t(" Card Layout")],-1),J=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),Q=t("This tiled Layout is ideal for Collections that prioritize an image "),X=e("em",null,"(e.g. a user or blog post)",-1),$=t(". This is the default for both the "),ee=t("User Directory"),te=t(" and "),oe=t("File Library"),le=t(". It includes the following controls."),ne=e("p",null,[e("strong",null,"Layout Options")],-1),se=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),ae=e("p",null,[e("strong",null,"Subheader")],-1),ie=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),re=e("p",null,[e("strong",null,"Page Area")],-1),ue=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),de=e("h2",{id:"calendar-layout",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#calendar-layout"},"#"),t(" Calendar Layout")],-1),ce=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),he=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),pe=e("p",null,[e("strong",null,"Layout Options")],-1),ge=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),me=e("p",null,[e("strong",null,"Subheader")],-1),_e=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),ye=e("p",null,[e("strong",null,"Page Area")],-1),fe=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),be=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),Ce=e("h2",{id:"map-layout",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#map-layout"},"#"),t(" Map Layout")],-1),we=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),Le=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),ve=e("p",null,[e("strong",null,"Layout Options")],-1),Ie=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),ke=e("p",null,[e("strong",null,"Subheader"),e("br"),e("em",null,"There is no Subheader on the Map Layout.")],-1),Se=e("p",null,[e("strong",null,"Page Area")],-1),Te=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),Fe=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),Ae=e("h2",{id:"kanban-layout-%5Bcloud-exclusive%5D",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#kanban-layout-%5Bcloud-exclusive%5D"},"#"),t(" Kanban Layout [Cloud Exclusive]")],-1),xe=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),De=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),Pe=e("p",null,[e("strong",null,"Layout Options")],-1),ze=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),Me=e("p",null,[e("strong",null,"Layout Options > Advanced")],-1),je=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),Oe=e("p",null,[e("strong",null,"Subheader"),e("br"),e("em",null,"There is no Subheader for the Kanban Layout.")],-1),Ee=e("p",null,[e("strong",null,"Page Area")],-1),Be=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),qe=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),Ke="Layouts",Ue=!1,We="Layouts are customized displays for viewing and interacting with the Items in a Collection.",He="9 min read",Ye={name:"layouts",setup(Re,{expose:i}){const s={title:"Layouts",modularExtension:!1,description:"Layouts are customized displays for viewing and interacting with the Items in a Collection.",readTime:"9 min read"};return i({frontmatter:s}),(Ne,Ve)=>{const l=a("router-link"),r=a("docs-wrapper");return u(),d(r,{frontmatter:s},{default:o(()=>[e("div",c,[h,p,g,m,e("p",null,[_,n(l,{to:"/docs/cloud/glossary#extensions"},{default:o(()=>[y]),_:1}),f,b,C,w,L]),v,I,k,S,T,F,A,x,D,P,z,M,j,O,E,B,q,R,N,V,G,e("div",K,[U,e("p",null,[W,n(l,{to:"/docs/configuration/data-model/collections#sort-field"},{default:o(()=>[H]),_:1}),Y])]),Z,J,e("p",null,[Q,X,$,n(l,{to:"/docs/app/user-directory"},{default:o(()=>[ee]),_:1}),te,n(l,{to:"/docs/app/file-library"},{default:o(()=>[oe]),_:1}),le]),ne,se,ae,ie,re,ue,de,ce,he,pe,ge,me,_e,ye,fe,be,Ce,we,Le,ve,Ie,ke,Se,Te,Fe,Ae,xe,De,Pe,ze,Me,je,Oe,Ee,Be,qe])]),_:1})}}};export{Ye as default,We as description,Ue as modularExtension,He as readTime,Ke as title};
|
|
1
|
+
import{a,o as u,b as d,w as o,l as e,e as n,E as t}from"./runtime-core.esm-bundler.32cac88a.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("h2",{id:"what%E2%80%99s-a-layout%3F",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#what%E2%80%99s-a-layout%3F"},"#"),t(" What\u2019s a Layout?")],-1),g=e("video",{autoplay:"",playsinline:"",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),m=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 "),y=t("Cloud Exclusive Extensions"),f=t(", so check back often to stay up-to-date with the latest and greatest. Additionally, you can join the community on "),b=e("a",{href:"https://discord.com/invite/directus",target:"_blank",rel:"noopener noreferrer"},"Discord",-1),C=t(" and "),w=e("a",{href:"https://github.com/directus/directus/discussions",target:"_blank",rel:"noopener noreferrer"},"GitHub",-1),L=t(" to find thousands of engineers guiding development of the Directus platform."),v=e("h2",{id:"how-it-works",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#how-it-works"},"#"),t(" How it Works")],-1),I=e("video",{autoplay:"",playsinline:"",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),k=e("p",null,"To adjust an Item\u2019s Layout, follow the steps below.",-1),S=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),T=e("h3",{id:"customization-controls",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#customization-controls"},"#"),t(" Customization Controls")],-1),F=e("p",null,"Customization controls can be found in the following three locations.",-1),A=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),x=e("p",null,"These controls typically fall into three general categories.",-1),D=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),P=e("h3",{id:"key-takeaways",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#key-takeaways"},"#"),t(" Key Takeaways")],-1),z=e("p",null,"As you go through Layouts, it may be helpful to keep the following points in mind.",-1),M=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),j=e("h2",{id:"table-layout",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#table-layout"},"#"),t(" Table Layout")],-1),O=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/layouts/layouts-20220415A/table-layout.webp",alt:"Table Layout"})],-1),E=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),q=e("p",null,[e("strong",null,"Layout Options")],-1),B=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),G=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),K={class:"warning hint"},U=e("div",{class:"hint-title"},"Manual Sorting Requires Configuration",-1),W=t("Only available if you "),H=t("configure a sort field"),Y=t(" in the Collection\u2019s Data Model Settings."),Z=e("h2",{id:"card-layout",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#card-layout"},"#"),t(" Card Layout")],-1),J=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),Q=t("This tiled Layout is ideal for Collections that prioritize an image "),X=e("em",null,"(e.g. a user or blog post)",-1),$=t(". This is the default for both the "),ee=t("User Directory"),te=t(" and "),oe=t("File Library"),le=t(". It includes the following controls."),ne=e("p",null,[e("strong",null,"Layout Options")],-1),se=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),ae=e("p",null,[e("strong",null,"Subheader")],-1),ie=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),re=e("p",null,[e("strong",null,"Page Area")],-1),ue=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),de=e("h2",{id:"calendar-layout",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#calendar-layout"},"#"),t(" Calendar Layout")],-1),ce=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),he=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),pe=e("p",null,[e("strong",null,"Layout Options")],-1),ge=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),me=e("p",null,[e("strong",null,"Subheader")],-1),_e=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),ye=e("p",null,[e("strong",null,"Page Area")],-1),fe=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),be=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),Ce=e("h2",{id:"map-layout",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#map-layout"},"#"),t(" Map Layout")],-1),we=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),Le=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),ve=e("p",null,[e("strong",null,"Layout Options")],-1),Ie=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),ke=e("p",null,[e("strong",null,"Subheader"),e("br"),e("em",null,"There is no Subheader on the Map Layout.")],-1),Se=e("p",null,[e("strong",null,"Page Area")],-1),Te=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),Fe=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),Ae=e("h2",{id:"kanban-layout-%5Bcloud-exclusive%5D",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#kanban-layout-%5Bcloud-exclusive%5D"},"#"),t(" Kanban Layout [Cloud Exclusive]")],-1),xe=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),De=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),Pe=e("p",null,[e("strong",null,"Layout Options")],-1),ze=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),Me=e("p",null,[e("strong",null,"Layout Options > Advanced")],-1),je=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),Oe=e("p",null,[e("strong",null,"Subheader"),e("br"),e("em",null,"There is no Subheader for the Kanban Layout.")],-1),Ee=e("p",null,[e("strong",null,"Page Area")],-1),qe=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),Be=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),Ke="Layouts",Ue=!1,We="Layouts are customized displays for viewing and interacting with the Items in a Collection.",He="9 min read",Ye={name:"layouts",setup(Re,{expose:i}){const s={title:"Layouts",modularExtension:!1,description:"Layouts are customized displays for viewing and interacting with the Items in a Collection.",readTime:"9 min read"};return i({frontmatter:s}),(Ne,Ve)=>{const l=a("router-link"),r=a("docs-wrapper");return u(),d(r,{frontmatter:s},{default:o(()=>[e("div",c,[h,p,g,m,e("p",null,[_,n(l,{to:"/docs/cloud/glossary#extensions"},{default:o(()=>[y]),_:1}),f,b,C,w,L]),v,I,k,S,T,F,A,x,D,P,z,M,j,O,E,q,B,R,N,V,G,e("div",K,[U,e("p",null,[W,n(l,{to:"/docs/configuration/data-model/collections#sort-field"},{default:o(()=>[H]),_:1}),Y])]),Z,J,e("p",null,[Q,X,$,n(l,{to:"/docs/app/user-directory"},{default:o(()=>[ee]),_:1}),te,n(l,{to:"/docs/app/file-library"},{default:o(()=>[oe]),_:1}),le]),ne,se,ae,ie,re,ue,de,ce,he,pe,ge,me,_e,ye,fe,be,Ce,we,Le,ve,Ie,ke,Se,Te,Fe,Ae,xe,De,Pe,ze,Me,je,Oe,Ee,qe,Be])]),_:1})}}};export{Ye as default,We as description,Ue as modularExtension,He as readTime,Ke as title};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as l,o as r,b as u,w as s,
|
|
1
|
+
import{a as l,o as r,b as u,w as s,l as e,e as a,E as t}from"./runtime-core.esm-bundler.32cac88a.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"),m=t("."),y=e("h2",{id:"extension-entrypoint",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#extension-entrypoint"},"#"),t(" 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(),e("span",{class:"hljs-title class_"},"LayoutComponent"),t(),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(` {
|
|
@@ -39,7 +39,7 @@ export default {
|
|
|
39
39
|
},
|
|
40
40
|
};
|
|
41
41
|
<\/script>
|
|
42
|
-
`)],-1),
|
|
42
|
+
`)],-1),E=e("p",null,[t("In addition to some predefined props, the component receives the state defined inside the "),e("code",null,"setup()"),t(" function as individual props. Besides some predefined emits, the component also provides emits for every property returned by the "),e("code",null,"setup()"),t(" function. Those emits are prefixed by "),e("code",null,"update:"),t(".")],-1),q=e("p",null,"These props and emits are available in all components associated with your layout.",-1),P=e("h4",{id:"available-props",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#available-props"},"#"),t(" Available Props")],-1),O=e("ul",null,[e("li",null,[e("code",null,"collection"),t(" \u2014 The current collection\u2019s name.")]),e("li",null,[e("code",null,"selection"),t(" \u2014 Any currently selected items.")]),e("li",null,[e("code",null,"layoutOptions"),t(" \u2014 The user\u2019s currently saved layout options.")]),e("li",null,[e("code",null,"layoutQuery"),t(" \u2014 The user\u2019s layout query parameters. (e.g., sort, limit, etc)")]),e("li",null,[e("code",null,"filter"),t(" \u2014 The combined active filter.")]),e("li",null,[e("code",null,"filterUser"),t(" \u2014 The user\u2019s currently active filter.")]),e("li",null,[e("code",null,"filterSystem"),t(" \u2014 The system\u2019s currently active filter.")]),e("li",null,[e("code",null,"search"),t(" \u2014 The user\u2019s current search query.")]),e("li",null,[e("code",null,"selectMode"),t(" \u2014 A boolean that indicates if the layout should be in select mode.")]),e("li",null,[e("code",null,"readonly"),t(" \u2014 A boolean that indicates if the layout should be in readonly mode.")]),e("li",null,[e("code",null,"resetPreset"),t(" \u2014 A function to reset the preset.")])],-1),B=e("h4",{id:"available-emits",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#available-emits"},"#"),t(" Available Emits")],-1),N=e("ul",null,[e("li",null,[e("code",null,"update:selection"),t(" \u2014 Update the currently selected items.")]),e("li",null,[e("code",null,"update:layoutOptions"),t(" \u2014 Update the user\u2019s currently saved layout options.")]),e("li",null,[e("code",null,"update:layoutQuery"),t(" \u2014 Update the user\u2019s layout query parameters.")])],-1),U=e("p",null,"Other than this simple API to communicate with the Directus App and the system to share state between components, the layout component is a blank canvas, allowing you to create anything you need.",-1),F=e("p",null,[t("The "),e("code",null,"@directus/extensions-sdk"),t(" package provides some useful composables to help with creating layouts:")],-1),Q=e("ul",null,[e("li",null,[e("code",null,"useSync()"),t(" \u2014 This function can be used to synchronize a writable ref with a prop and a corresponding emit.")]),e("li",null,[e("code",null,"useCollection()"),t(" \u2014 This function can be used to receive information about a collection.")]),e("li",null,[e("code",null,"useItems()"),t(" \u2014 This function can be used to fetch items from the API.")])],-1),z=e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"Vue Version"),e("p",null,"The Directus App uses Vue 3. There might be 3rd party libraries that aren\u2019t yet compatible with Vue 3.")],-1),M=e("h2",{id:"accessing-internal-systems",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#accessing-internal-systems"},"#"),t(" Accessing Internal Systems")],-1),W=e("p",null,[t("To access internal systems like the API or the stores, you can use the "),e("code",null,"useApi()"),t(" and "),e("code",null,"useStores()"),t(" composables exported by the "),e("code",null,"@directus/extensions-sdk"),t(" package. They can be used inside a "),e("code",null,"setup()"),t(" function like this:")],-1),G=e("pre",null,[e("code",{class:"language-js"},[e("span",{class:"hljs-keyword"},"import"),t(" { useApi, useStores } "),e("span",{class:"hljs-keyword"},"from"),t(),e("span",{class:"hljs-string"},"'@directus/extensions-sdk'"),t(`;
|
|
43
43
|
|
|
44
44
|
`),e("span",{class:"hljs-keyword"},"export"),t(),e("span",{class:"hljs-keyword"},"default"),t(` {
|
|
45
45
|
`),e("span",{class:"hljs-title function_"},"setup"),t("("),e("span",{class:"hljs-params"}),t(`) {
|
|
@@ -51,4 +51,4 @@ export default {
|
|
|
51
51
|
`),e("span",{class:"hljs-comment"},"// ..."),t(`
|
|
52
52
|
},
|
|
53
53
|
};
|
|
54
|
-
`)])],-1),H=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Vue Options API"),e("p",null,[t("If you prefer to use the Vue Options API, you can inject the "),e("code",null,"api"),t(" and "),e("code",null,"stores"),t(" properties directly.")])],-1),Y="Custom Layouts",Z=!0,$="A guide on how to build custom Layouts in Directus.",ee="4 min read",te={name:"layouts",setup(J,{expose:i}){const n={title:"Custom Layouts",modularExtension:!0,description:"A guide on how to build custom Layouts in Directus.",readTime:"4 min read"};return i({frontmatter:n}),(K,R)=>{const o=l("router-link"),c=l("docs-wrapper");return r(),u(c,{frontmatter:n},{default:s(()=>[e("div",d,[e("blockquote",null,[e("p",null,[p,a(o,{to:"/docs/getting-started/glossary#layouts"},{default:s(()=>[h]),_:1}),m])]),y,_,f,b,j,e("ul",null,[g,w,e("li",null,[v,x,a(o,{to:"/docs/getting-started/glossary#material-icons"},{default:s(()=>[k]),_:1}),A]),T,C,I]),S,V,L,D,q,
|
|
54
|
+
`)])],-1),H=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Vue Options API"),e("p",null,[t("If you prefer to use the Vue Options API, you can inject the "),e("code",null,"api"),t(" and "),e("code",null,"stores"),t(" properties directly.")])],-1),Y="Custom Layouts",Z=!0,$="A guide on how to build custom Layouts in Directus.",ee="4 min read",te={name:"layouts",setup(J,{expose:i}){const n={title:"Custom Layouts",modularExtension:!0,description:"A guide on how to build custom Layouts in Directus.",readTime:"4 min read"};return i({frontmatter:n}),(K,R)=>{const o=l("router-link"),c=l("docs-wrapper");return r(),u(c,{frontmatter:n},{default:s(()=>[e("div",d,[e("blockquote",null,[e("p",null,[p,a(o,{to:"/docs/getting-started/glossary#layouts"},{default:s(()=>[h]),_:1}),m])]),y,_,f,b,j,e("ul",null,[g,w,e("li",null,[v,x,a(o,{to:"/docs/getting-started/glossary#material-icons"},{default:s(()=>[k]),_:1}),A]),T,C,I]),S,V,L,D,E,q,P,O,B,N,U,F,Q,z,M,W,G,H])]),_:1})}}};export{te as default,$ as description,Z as modularExtension,ee as readTime,Y as title};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as b}from"./index.
|
|
1
|
+
import{y as b}from"./index.2c592891.entry.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 u in x){var c=x[u];if(c.splice)for(var k=0,m=c.length;k<m;++k){var d=c[k];typeof d.regex=="string"&&(x[u][k].regex=new RegExp("^"+d.regex))}else typeof d.regex=="string"&&(x[u].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{a as r,o as s,b as l,w as c,
|
|
1
|
+
import{a as r,o as s,b as l,w as c,l as a,E as o}from"./runtime-core.esm-bundler.32cac88a.js";const i=a("div",{class:"markdown-body"},[a("blockquote"),a("h2",{id:"content-translations",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#content-translations"},"#"),o(" Content Translations")]),a("h2",{id:"multilingual-app-%26-locales",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#multilingual-app-%26-locales"},"#"),o(" Multilingual App & Locales")]),a("h2",{id:"iconography",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#iconography"},"#"),o(" Iconography")]),a("h2",{id:"r.t.l.-support",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#r.t.l.-support"},"#"),o(" R.T.L. Support")])],-1),m="Localization",f=!1,_={name:"localization",setup(p,{expose:e}){const t={title:"Localization",modularExtension:!1};return e({frontmatter:t}),(d,h)=>{const n=r("docs-wrapper");return s(),l(n,{frontmatter:t},{default:c(()=>[i]),_:1})}}};export{_ as default,f as modularExtension,m as title};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as j}from"./index.
|
|
1
|
+
import{y as j}from"./index.2c592891.entry.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,4 +1,4 @@
|
|
|
1
|
-
import{a as l,o as r,b as d,w as e,
|
|
1
|
+
import{a as l,o as r,b as d,w as e,l as t,e as n,E as s}from"./runtime-core.esm-bundler.32cac88a.js";const h={class:"markdown-body"},u={class:"tip hint"},_=t("div",{class:"hint-title"},"Automation",-1),p=s("We\u2019ve created a little CLI tool you can run that does this process automatically. For more info, check the doc on "),f=s("installing through the CLI"),m=s("."),g=t("h2",{id:"1.-setup-a-project-folder",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#1.-setup-a-project-folder"},"#"),s(" 1. Setup a Project Folder")],-1),b=t("p",null,[s("Create a new directory, and add a "),t("code",null,"package.json"),s(" by running the following command.")],-1),v=t("pre",null,[t("code",{class:"language-bash"},`npm init -y
|
|
2
2
|
`)],-1),y=s("We recommend aliasing the "),j=t("code",null,"start",-1),x=s(" script to Directus\u2019 start for easier deployments to services like "),w=s("AWS"),k=s(", "),C=s("Google Cloud Platform"),D=s(" or "),I=s("DigitalOcean App Platform"),S=s("."),B=t("pre",null,[t("code",{class:"language-json"},[t("span",{class:"hljs-punctuation"},"{"),s(`
|
|
3
3
|
...
|
|
4
4
|
`),t("span",{class:"hljs-attr"},'"scripts"'),t("span",{class:"hljs-punctuation"},":"),s(),t("span",{class:"hljs-punctuation"},"{"),s(`
|
|
@@ -6,7 +6,7 @@ import{a as l,o as r,b as d,w as e,g as t,e as n,B as s}from"./runtime-core.esm-
|
|
|
6
6
|
`),t("span",{class:"hljs-punctuation"},"}"),s(`
|
|
7
7
|
...
|
|
8
8
|
`),t("span",{class:"hljs-punctuation"},"}"),s(`
|
|
9
|
-
`)])],-1),
|
|
10
|
-
`)],-1),
|
|
9
|
+
`)])],-1),E=t("h2",{id:"2.-install-directus",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#2.-install-directus"},"#"),s(" 2. Install Directus")],-1),F=t("pre",null,[t("code",{class:"language-bash"},`npm install directus
|
|
10
|
+
`)],-1),V=t("h2",{id:"3.-setup-a-configuration-file",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#3.-setup-a-configuration-file"},"#"),s(" 3. Setup a Configuration File")],-1),A=t("p",null,[s("Finally, you\u2019ll need to setup your "),t("code",null,".env"),s(" file, or configure the environment variables through other means, such as Docker, etc.")],-1),N=t("p",null,[t("strong",null,"Don\u2019t forget to fill your database information before continuing to next step")],-1),P=s("See "),T=s("Environment Variables"),W=s(" for all available variables."),H=t("h2",{id:"4.-bootstrap-it",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#4.-bootstrap-it"},"#"),s(" 4. Bootstrap It")],-1),L=t("pre",null,[t("code",{class:"language-bash"},`npx directus bootstrap
|
|
11
11
|
`)],-1),M=t("h2",{id:"5.-start-server",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#5.-start-server"},"#"),s(" 5. Start Server")],-1),G=t("pre",null,[t("code",{class:"language-bash"},`npm run start
|
|
12
|
-
`)],-1),K="Installing Manually",Q=!1,R="How to manually install Directus.",U="1 min read",X={name:"manual",setup(O,{expose:i}){const a={title:"Installing Manually",modularExtension:!1,description:"How to manually install Directus.",readTime:"1 min read"};return i({frontmatter:a}),(q,z)=>{const o=l("router-link"),c=l("docs-wrapper");return r(),d(c,{frontmatter:a},{default:e(()=>[t("div",h,[t("div",u,[_,t("p",null,[p,n(o,{to:"/docs/self-hosted/installation/cli"},{default:e(()=>[f]),_:1}),m])]),g,b,v,t("p",null,[y,j,x,n(o,{to:"/docs/self-hosted/installation/aws"},{default:e(()=>[w]),_:1}),k,n(o,{to:"/docs/self-hosted/installation/gcp"},{default:e(()=>[C]),_:1}),D,n(o,{to:"/docs/self-hosted/installation/digitalocean-app-platform"},{default:e(()=>[I]),_:1}),S]),B,F,V,A,
|
|
12
|
+
`)],-1),K="Installing Manually",Q=!1,R="How to manually install Directus.",U="1 min read",X={name:"manual",setup(O,{expose:i}){const a={title:"Installing Manually",modularExtension:!1,description:"How to manually install Directus.",readTime:"1 min read"};return i({frontmatter:a}),(q,z)=>{const o=l("router-link"),c=l("docs-wrapper");return r(),d(c,{frontmatter:a},{default:e(()=>[t("div",h,[t("div",u,[_,t("p",null,[p,n(o,{to:"/docs/self-hosted/installation/cli"},{default:e(()=>[f]),_:1}),m])]),g,b,v,t("p",null,[y,j,x,n(o,{to:"/docs/self-hosted/installation/aws"},{default:e(()=>[w]),_:1}),k,n(o,{to:"/docs/self-hosted/installation/gcp"},{default:e(()=>[C]),_:1}),D,n(o,{to:"/docs/self-hosted/installation/digitalocean-app-platform"},{default:e(()=>[I]),_:1}),S]),B,E,F,V,A,N,t("p",null,[P,n(o,{to:"/docs/self-hosted/config-options#general"},{default:e(()=>[T]),_:1}),W]),H,L,M,G])]),_:1})}}};export{X as default,R as description,Q as modularExtension,U as readTime,K as title};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as j}from"./index.
|
|
1
|
+
import{y as j}from"./index.2c592891.entry.js";function A(c,y){return y.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 b={exports:{}};(function(c,y){(function(o){o(j.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,h=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 P=S==t.line?t:h(S,0),d=S+p,k=d>=r.line,_=k?r:h(d,0),x=e.markText(P,_,{className:i});if(n==null?a.push(x):a.splice(n++,0,x),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=b.exports,E=A({__proto__:null,default:w},[b.exports]);export{E as m};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as S}from"./index.
|
|
1
|
+
import{y as S}from"./index.2c592891.entry.js";function $(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 j={exports:{}},A={exports:{}};(function(h,v){(function(a){a(S.exports,j.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&&(b(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())&&w(t,e)}function y(t){var e=t.state.matchHighlighter;e.active||(e.active=!0,w(t,e))}function w(t,e){clearTimeout(e.timeout),e.timeout=setTimeout(function(){d(t)},e.options.delay)}function O(t,e,i,r){var o=t.state.matchHighlighter;if(t.addOverlay(o.overlay=T(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 b(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(b(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&&O(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&&O(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 x(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 T(t,e,i){return{token:function(r){if(r.match(t)&&(!e||x(r,e)))return i;r.next(),r.skipTo(t.charAt(0))||r.skipToEnd()}}}})})();var k=A.exports,M=$({__proto__:null,default:k},[A.exports]);export{M as m};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as g}from"./index.
|
|
1
|
+
import{y as g}from"./index.2c592891.entry.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 w=A.exports,s=k({__proto__:null,default:w},[A.exports]);export{s as m};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as g}from"./index.
|
|
1
|
+
import{y as g}from"./index.2c592891.entry.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 y=l.exports,j=S({__proto__:null,default:y},[l.exports]);export{j as m};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as o,o as l,b as r,w as i,
|
|
1
|
+
import{a as o,o as l,b as r,w as i,l as s,E as e}from"./runtime-core.esm-bundler.32cac88a.js";const c=s("div",{class:"markdown-body"},[s("blockquote",null,[s("p",null,[e("Directus allows adding custom migration files that run whenever the "),s("code",null,"directus database migrate:*"),e(" commands are executed. All migrations must reside in the "),s("code",null,"extensions/migrations"),e(" folder.")])]),s("h2",{id:"file-name",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#file-name"},"#"),e(" File Name")]),s("p",null,"The file name follows the following structure:"),s("pre",null,[s("code",null,`[identifier]-[name].js
|
|
2
2
|
`)]),s("p",null,"for example:"),s("pre",null,[s("code",null,`20201202A-my-custom-migration.js
|
|
3
3
|
`)]),s("h2",{id:"structure",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#structure"},"#"),e(" Structure")]),s("p",null,[e("Migrations have to export an "),s("code",null,"up"),e(" and a "),s("code",null,"down"),e(" function. These functions get a "),s("a",{href:"http://knexjs.org",target:"_blank",rel:"noopener noreferrer"},"Knex"),e(" instance that can be used to do virtually whatever.")]),s("pre",null,[s("code",{class:"language-js"},[s("span",{class:"hljs-variable language_"},"module"),e("."),s("span",{class:"hljs-property"},"exports"),e(` = {
|
|
4
4
|
`),s("span",{class:"hljs-keyword"},"async"),e(),s("span",{class:"hljs-title function_"},"up"),e("("),s("span",{class:"hljs-params"},"knex"),e(`) {
|