@directus/app 9.0.0-rc.98 → 9.0.0-rc.99
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/@directus_extensions-sdk.0c1dd463.js +1 -0
- package/dist/assets/{active-line.21c7c188.js → active-line.48de29b0.js} +1 -1
- package/dist/assets/{activity.7e6818a1.js → activity.6ae38b0f.js} +1 -1
- package/dist/assets/{activity.afea7c8e.js → activity.9e4ec41d.js} +1 -1
- package/dist/assets/api-config.c76a6613.js +62 -0
- package/dist/assets/{api-endpoints.25b9a2cc.js → api-endpoints.2f8fd276.js} +1 -1
- package/dist/assets/{api-hooks.28fce97f.js → api-hooks.49e7891b.js} +4 -4
- package/dist/assets/{apl.e1cac8e8.js → apl.958d4757.js} +1 -1
- package/dist/assets/{app.a092834a.js → app.ab10f7f0.js} +1 -1
- package/dist/assets/{application.e4ceecf4.js → application.2534d8a1.js} +1 -1
- package/dist/assets/{asciiarmor.56914f72.js → asciiarmor.1f4e8811.js} +1 -1
- package/dist/assets/{asn.1.0d72d374.js → asn.1.320671bb.js} +1 -1
- package/dist/assets/{assets.7c1c7e13.js → assets.0e687e4a.js} +1 -1
- package/dist/assets/{asterisk.217d929c.js → asterisk.67a02b7a.js} +1 -1
- package/dist/assets/authentication.ad641e07.js +70 -0
- package/dist/assets/{authentication.0de34170.js → authentication.e8cf4d61.js} +1 -1
- package/dist/assets/{autorefresh.db241e38.js → autorefresh.824ac9d2.js} +1 -1
- package/dist/assets/{aws.216201f6.js → aws.fd25516a.js} +1 -1
- package/dist/assets/{backing-directus.712e9b42.js → backing-directus.58d18b0c.js} +1 -1
- package/dist/assets/{brainfuck.6d97691a.js → brainfuck.0d6aa963.js} +1 -1
- package/dist/assets/{cli.5fd3486c.js → cli.1516127d.js} +1 -1
- package/dist/assets/{clike.8b1d1dac.js → clike.55471781.js} +1 -1
- package/dist/assets/{clojure.7b24d2df.js → clojure.e88e881b.js} +1 -1
- package/dist/assets/{cmake.2dd9d19b.js → cmake.4a9bd2f3.js} +1 -1
- package/dist/assets/{cobol.aa3e3b17.js → cobol.ddfaa48e.js} +1 -1
- package/dist/assets/{codebase-overview.769ab809.js → codebase-overview.e20f2975.js} +1 -1
- package/dist/assets/{coffeescript.e1f17dcd.js → coffeescript.004ec15d.js} +1 -1
- package/dist/assets/{collections.52393349.js → collections.14257f29.js} +1 -1
- package/dist/assets/{collections.ede965e3.js → collections.bd91de7e.js} +1 -1
- package/dist/assets/{collections.3ab1c08a.js → collections.fdbdfe7d.js} +1 -1
- package/dist/assets/{command-line-interface.e1beee60.js → command-line-interface.9a2a26c1.js} +1 -1
- package/dist/assets/{common-issues.9900baa5.js → common-issues.b34d0ba5.js} +1 -1
- package/dist/assets/{commonlisp.126ea5bc.js → commonlisp.f2d9b9b1.js} +1 -1
- package/dist/assets/{config-files.04baaabb.js → config-files.ac74fea8.js} +1 -1
- package/dist/assets/{crystal.2f74eaf5.js → crystal.97856865.js} +1 -1
- package/dist/assets/{css.6f8a654e.js → css.7f807b17.js} +1 -1
- package/dist/assets/{cypher.f7b4194f.js → cypher.7cd36030.js} +3 -3
- package/dist/assets/{d.b2c44973.js → d.fa2b4528.js} +1 -1
- package/dist/assets/{dart.807118ef.js → dart.af44f108.js} +1 -1
- package/dist/assets/{databases.39a13c5d.js → databases.2a42b1ba.js} +1 -1
- package/dist/assets/{diff.df7c2507.js → diff.33d776fc.js} +1 -1
- package/dist/assets/{digitalocean-app-platform.6d350032.js → digitalocean-app-platform.70c21592.js} +1 -1
- package/dist/assets/{displays.101c9edb.js → displays.d848b491.js} +1 -1
- package/dist/assets/{displays.2c15a911.js → displays.ecc2c613.js} +1 -1
- package/dist/assets/{django.31349418.js → django.1965042d.js} +1 -1
- package/dist/assets/{docker.0e180ff7.js → docker.6748365e.js} +1 -1
- package/dist/assets/{dockerfile.9cf1b5e9.js → dockerfile.f7e82fe7.js} +1 -1
- package/dist/assets/{dtd.2eb8046c.js → dtd.7de198c9.js} +1 -1
- package/dist/assets/{dylan.4342284d.js → dylan.4e0afffa.js} +1 -1
- package/dist/assets/{ebnf.ac110410.js → ebnf.423e92bf.js} +1 -1
- package/dist/assets/{ecl.ef1a0830.js → ecl.5ceaf630.js} +1 -1
- package/dist/assets/{eiffel.2cdba3dc.js → eiffel.4d7ae0c0.js} +1 -1
- package/dist/assets/{elm.1a8ac848.js → elm.0cc8719f.js} +1 -1
- package/dist/assets/{email-templates.cb788cb0.js → email-templates.9cecf0b9.js} +1 -1
- package/dist/assets/en-au.169355d7.js +1 -0
- package/dist/assets/en-gb.0b977da8.js +1 -0
- package/dist/assets/en-nz.6296f2b6.js +1 -0
- package/dist/assets/environment-variables.a5b5c0aa.js +25 -0
- package/dist/assets/{erlang.957b37e4.js → erlang.176bea7d.js} +1 -1
- package/dist/assets/{error-codes.606bec58.js → error-codes.db5ba230.js} +1 -1
- package/dist/assets/es.c516dd05.js +1 -0
- package/dist/assets/{extensions.e55fc936.js → extensions.10d6f6c3.js} +1 -1
- package/dist/assets/{extensions.803fb88b.js → extensions.735e74b3.js} +1 -1
- package/dist/assets/{factor.c01980f8.js → factor.be42c791.js} +1 -1
- package/dist/assets/{fcl.87824263.js → fcl.879030fb.js} +1 -1
- package/dist/assets/{field-transforms.aac4af27.js → field-transforms.60165e8c.js} +1 -1
- package/dist/assets/{fields.3458f9a0.js → fields.17d2cea0.js} +1 -1
- package/dist/assets/{fields.f80c6966.js → fields.3f49dba2.js} +1 -1
- package/dist/assets/{fields.c933a3eb.js → fields.4933da97.js} +1 -1
- package/dist/assets/{files.cef9529d.js → files.04ffc317.js} +1 -1
- package/dist/assets/{files.2458c938.js → files.b8b17303.js} +1 -1
- package/dist/assets/{files.d6673170.js → files.f9b3fda9.js} +1 -1
- package/dist/assets/{filter-rules.8dda275b.js → filter-rules.780bde9f.js} +2 -2
- package/dist/assets/{folders.6224f87b.js → folders.a05410b5.js} +1 -1
- package/dist/assets/{forth.51e0131d.js → forth.fb5f114f.js} +1 -1
- package/dist/assets/{fortran.ccea4744.js → fortran.ba9b6719.js} +1 -1
- package/dist/assets/fr-FR.37e1725b.js +1 -0
- package/dist/assets/{gas.5613bf5b.js → gas.1bbed2b2.js} +1 -1
- package/dist/assets/{gfm.bc3f0591.js → gfm.149e301f.js} +1 -1
- package/dist/assets/{gherkin.963fa577.js → gherkin.7de0d8e2.js} +1 -1
- package/dist/assets/{github-ci.00b8f37e.js → github-ci.1aafd624.js} +2 -2
- package/dist/assets/{go.b597488d.js → go.7caf0f36.js} +1 -1
- package/dist/assets/{groovy.748ae778.js → groovy.607002d9.js} +1 -1
- package/dist/assets/haml.504050d1.js +1 -0
- package/dist/assets/{handlebars.d230fbb5.js → handlebars.7f84f825.js} +1 -1
- package/dist/assets/haskell-literate.e78773ef.js +1 -0
- package/dist/assets/{haskell.69e61064.js → haskell.63e1f2d3.js} +1 -1
- package/dist/assets/{haxe.a1958409.js → haxe.fca1efc8.js} +1 -1
- package/dist/assets/{htmlembedded.77d86e89.js → htmlembedded.1eb21358.js} +1 -1
- package/dist/assets/{htmlmixed.d2d262fe.js → htmlmixed.cb1d7158.js} +1 -1
- package/dist/assets/{http.0389a281.js → http.28fca87c.js} +1 -1
- package/dist/assets/{idl.4073e14b.js → idl.32a8e30b.js} +1 -1
- package/dist/assets/iis.fba7e919.js +23 -0
- package/dist/assets/{index.34c4ff98.js → index.07865455.js} +1 -1
- package/dist/assets/{index.5943c6a2.js → index.0b19be3f.js} +1 -1
- package/dist/assets/{index.9021855c.js → index.1010e9a5.js} +1 -1
- package/dist/assets/{index.12a41b75.js → index.123a36ac.js} +1 -1
- package/dist/assets/{index.d5b3136c.js → index.12744d3d.js} +1 -1
- package/dist/assets/{index.adcbf017.js → index.129fb164.js} +1 -1
- package/dist/assets/{index.76bf6775.js → index.13149be9.js} +1 -1
- package/dist/assets/{index.5d7e4388.js → index.132ba1c4.js} +1 -1
- package/dist/assets/{index.a65c23d0.js → index.1380be04.js} +1 -1
- package/dist/assets/{index.8f1b058c.js → index.156ad6a0.js} +1 -1
- package/dist/assets/{index.60c6f994.js → index.159d3509.js} +1 -1
- package/dist/assets/{index.93176038.js → index.1e395c13.js} +1 -1
- package/dist/assets/{index.0f421bfb.js → index.1fd08b8f.js} +1 -1
- package/dist/assets/{index.f6faa78c.js → index.271fc58d.js} +1 -1
- package/dist/assets/{index.03fcf041.js → index.2a965c68.js} +1 -1
- package/dist/assets/{index.adde2dbc.js → index.2ecf1365.js} +1 -1
- package/dist/assets/{index.13caabe3.js → index.307681c6.js} +1 -1
- package/dist/assets/{index.fbb4da88.js → index.32a66f8e.js} +1 -1
- package/dist/assets/{index.582262f3.js → index.336d2876.js} +1 -1
- package/dist/assets/{index.2ce5ad4e.js → index.36d21aeb.js} +1 -1
- package/dist/assets/{index.460c28b2.js → index.39d438a3.js} +1 -1
- package/dist/assets/{index.857a444d.js → index.3dfc9f28.js} +1 -1
- package/dist/assets/{index.3dbbdda4.js → index.3efbdb40.js} +1 -1
- package/dist/assets/{index.52488452.js → index.41239663.js} +1 -1
- package/dist/assets/{index.6dfafdb8.js → index.48d93056.js} +1 -1
- package/dist/assets/{index.fc96c02d.js → index.4a1a5f7b.js} +1 -1
- package/dist/assets/{index.3cc58479.js → index.4da7e0ab.js} +1 -1
- package/dist/assets/{index.cbf2ab7b.js → index.5292cb2f.js} +1 -1
- package/dist/assets/{index.7d7c94cc.js → index.53d2e106.js} +1 -1
- package/dist/assets/{index.b021cacb.js → index.54b89000.js} +1 -1
- package/dist/assets/{index.d19dacc2.js → index.5569aba4.js} +1 -1
- package/dist/assets/{index.370eb912.js → index.5e9f194d.js} +1 -1
- package/dist/assets/{index.86d76d87.js → index.6281d871.js} +1 -1
- package/dist/assets/{index.a3619cd6.js → index.634af914.js} +1 -1
- package/dist/assets/{index.020eeba9.js → index.63d11508.js} +1 -1
- package/dist/assets/{index.f3dac8ae.js → index.671541d9.js} +1 -1
- package/dist/assets/{index.afe1580d.js → index.6819c895.js} +1 -1
- package/dist/assets/{index.5ddf1c09.js → index.68748c2d.js} +1 -1
- package/dist/assets/{index.3886bcc9.js → index.6a792b33.js} +1 -1
- package/dist/assets/{index.07e02ffc.js → index.6dd016c8.js} +1 -1
- package/dist/assets/{index.26626da8.js → index.71f5e63c.js} +1 -1
- package/dist/assets/{index.12160ad1.js → index.734a95e8.js} +1 -1
- package/dist/assets/{index.12bc1139.js → index.759611b6.js} +1 -1
- package/dist/assets/{index.278f6673.js → index.76d07b62.js} +1 -1
- package/dist/assets/{index.dc16b5fc.js → index.7bee8c77.js} +1 -1
- package/dist/assets/{index.967091bd.js → index.7c0f84b2.js} +1 -1
- package/dist/assets/{index.8d25e37e.js → index.7d228c67.js} +1 -1
- package/dist/assets/{index.2bddfec0.js → index.7fbf2f6a.js} +1 -1
- package/dist/assets/{index.a8032304.js → index.865af0fe.js} +1 -1
- package/dist/assets/{index.d21606d9.js → index.872629ec.js} +1 -1
- package/dist/assets/{index.7c109413.js → index.87a15825.js} +1 -1
- package/dist/assets/{index.8d30d8ec.js → index.8d3e2c04.js} +1 -1
- package/dist/assets/{index.ffdce238.js → index.8e3e39ae.js} +1 -1
- package/dist/assets/{index.ca14dcca.js → index.8fac67f3.js} +1 -1
- package/dist/assets/{index.9427fe3a.js → index.944ed685.js} +1 -1
- package/dist/assets/{index.cdc078f5.js → index.975605c7.js} +1 -1
- package/dist/assets/{index.a1fba609.js → index.9bf6dfc7.js} +1 -1
- package/dist/assets/{index.a89c6f27.css → index.9f6c6cb3.css} +1 -1
- package/dist/assets/{index.cc8365dc.js → index.a1b32348.js} +1 -1
- package/dist/assets/{index.e6c63fd8.js → index.a2724a18.js} +1 -1
- package/dist/assets/{index.9e6cb9fb.js → index.ab7a9d20.js} +1 -1
- package/dist/assets/{index.69d51e36.js → index.ae39c45d.js} +1 -1
- package/dist/assets/{index.a5c459a5.js → index.b0239526.js} +2 -2
- package/dist/assets/{index.2e10fa0a.js → index.b22d3b87.js} +1 -1
- package/dist/assets/{index.b49259cd.js → index.b2ce5853.js} +1 -1
- package/dist/assets/{index.8642f0ef.js → index.b3861ec3.js} +1 -1
- package/dist/assets/{index.453b8dd4.js → index.ba6582ce.js} +1 -1
- package/dist/assets/{index.0cdd93eb.js → index.c16fb6fc.js} +1 -1
- package/dist/assets/{index.0c668002.js → index.c2c4a871.js} +1 -1
- package/dist/assets/{index.b8f2f91f.js → index.c38b7f79.js} +1 -1
- package/dist/assets/{index.dad442a6.js → index.c6b3c631.js} +1 -1
- package/dist/assets/{index.1441a301.js → index.c8dd9a32.js} +1 -1
- package/dist/assets/{index.9df43656.js → index.d01ff2fc.js} +1 -1
- package/dist/assets/index.d07f63e3.css +1 -0
- package/dist/assets/{index.10f638cf.js → index.da1f65af.js} +1 -1
- package/dist/assets/{index.cc6ac81f.js → index.e0a5d0dd.js} +1 -1
- package/dist/assets/{index.c07a0137.js → index.e7b321ba.js} +1 -1
- package/dist/assets/{index.a5833a30.js → index.ec71a491.js} +1 -1
- package/dist/assets/{index.9fa02ab0.js → index.eee4f224.js} +1 -1
- package/dist/assets/{index.75da7150.js → index.f3f4fbd9.js} +1 -1
- package/dist/assets/{index.6cf6e65c.js → index.f757af12.js} +1 -1
- package/dist/assets/{index.513f493e.js → index.f99b041c.js} +1 -1
- package/dist/assets/{index.9b9992c2.js → index.fbfd2bd6.js} +1 -1
- package/dist/assets/{index.3beb87d3.js → index.ffd3af80.js} +1 -1
- package/dist/assets/{input-rich-text-html.ae77acab.js → input-rich-text-html.e15177a6.js} +9 -9
- package/dist/assets/{installation.ca7cfca2.js → installation.c4bff2d4.js} +1 -1
- package/dist/assets/{interfaces.f0ecff97.js → interfaces.1e1a05f4.js} +1 -1
- package/dist/assets/{interfaces.b4c6f273.js → interfaces.4d9d8da8.js} +1 -1
- package/dist/assets/{introduction.56c0c1cd.js → introduction.36187581.js} +1 -1
- package/dist/assets/{introduction.dd1bcb44.js → introduction.5bfc6d93.js} +1 -1
- package/dist/assets/{introduction.5c4ec6b9.js → introduction.c36fa9ca.js} +1 -1
- package/dist/assets/{items.e1d7ba61.js → items.2ec3ef4a.js} +1 -1
- package/dist/assets/{items.2ad153eb.js → items.5eb4a489.js} +1 -1
- package/dist/assets/{items.9e96b56b.js → items.7db06a6b.js} +1 -1
- package/dist/assets/{javascript-hint.9186051b.js → javascript-hint.968a99a5.js} +1 -1
- package/dist/assets/{javascript.2f3ede5a.js → javascript.76216d0d.js} +1 -1
- package/dist/assets/{jinja2.8d7f6a8b.js → jinja2.9eba4d82.js} +1 -1
- package/dist/assets/{jsx.c540510b.js → jsx.2200a77c.js} +1 -1
- package/dist/assets/{julia.a47aef56.js → julia.15f73490.js} +1 -1
- package/dist/assets/{layouts.37d32d4c.js → layouts.5a85a5bc.js} +1 -1
- package/dist/assets/{layouts.bc85bb07.js → layouts.c52bbf71.js} +1 -1
- package/dist/assets/{livescript.3fc737e8.js → livescript.e919a245.js} +1 -1
- package/dist/assets/{lua.948ce6b7.js → lua.75eda1a9.js} +1 -1
- package/dist/assets/{manual.18f4f30d.js → manual.bc0f8432.js} +1 -1
- package/dist/assets/{mark-selection.75c4ea7c.js → mark-selection.a99b3033.js} +1 -1
- package/dist/assets/{match-highlighter.bdbe0955.js → match-highlighter.668a64ca.js} +1 -1
- package/dist/assets/{mathematica.4f5f6aa2.js → mathematica.598d20b5.js} +1 -1
- package/dist/assets/{mbox.122aff2c.js → mbox.5b96e107.js} +1 -1
- package/dist/assets/{migrating-from-v8.311cd0e1.js → migrating-from-v8.667c19d3.js} +1 -1
- package/dist/assets/{migrations.fb0c9784.js → migrations.33fd8fc8.js} +1 -1
- package/dist/assets/{mirc.a72bdc8a.js → mirc.90d37912.js} +1 -1
- package/dist/assets/{mllike.eb583c07.js → mllike.137d1b89.js} +1 -1
- package/dist/assets/{modelica.f3e06d95.js → modelica.bd73920d.js} +1 -1
- package/dist/assets/{modules.7140afbb.js → modules.17def569.js} +1 -1
- package/dist/assets/{modules.8f34db3e.js → modules.43892717.js} +1 -1
- package/dist/assets/{mscgen.a5bf61ad.js → mscgen.5b4ab425.js} +1 -1
- package/dist/assets/{multiplex.796857c0.js → multiplex.87dad2d7.js} +1 -1
- package/dist/assets/{mumps.0e26badd.js → mumps.61c3783e.js} +1 -1
- package/dist/assets/{nginx.d228fa16.js → nginx.655bc186.js} +1 -1
- package/dist/assets/{nsis.7f6a0f90.js → nsis.fdad0c07.js} +1 -1
- package/dist/assets/{ntriples.994511c8.js → ntriples.97729057.js} +1 -1
- package/dist/assets/{octave.32e47905.js → octave.f73b18ac.js} +1 -1
- package/dist/assets/{overlay.8c05baaa.js → overlay.7f1c5fa5.js} +1 -1
- package/dist/assets/{oz.742a2172.js → oz.809f2a14.js} +1 -1
- package/dist/assets/{pascal.1609d5f5.js → pascal.f8cd95cf.js} +1 -1
- package/dist/assets/{pegjs.5173241b.js → pegjs.5dfc390d.js} +1 -1
- package/dist/assets/{perl.229a0cce.js → perl.6b530f7e.js} +1 -1
- package/dist/assets/{permissions.144d3fdf.js → permissions.1cc1e9ac.js} +1 -1
- package/dist/assets/{permissions.87246e2c.js → permissions.5186b062.js} +1 -1
- package/dist/assets/{permissions.1d7c8608.js → permissions.f9121dc8.js} +1 -1
- package/dist/assets/{php.5aaf45dc.js → php.328211b9.js} +1 -1
- package/dist/assets/{pig.59bb21b5.js → pig.8c9bf1f9.js} +1 -1
- package/dist/assets/{plesk.73a68904.js → plesk.68b64f87.js} +2 -2
- package/dist/assets/{powershell.60297f1d.js → powershell.015ab379.js} +1 -1
- package/dist/assets/{presets.af59754e.js → presets.83ef1429.js} +1 -1
- package/dist/assets/{presets.c061427e.js → presets.ac89e285.js} +1 -1
- package/dist/assets/{projects.767db627.js → projects.086e4104.js} +1 -1
- package/dist/assets/{projects.ec4144c5.js → projects.54a55899.js} +1 -1
- package/dist/assets/{properties.22ba7b4b.js → properties.882f6a5f.js} +1 -1
- package/dist/assets/{protobuf.85730256.js → protobuf.8dfcce9b.js} +1 -1
- package/dist/assets/{pug.70f01632.js → pug.5b875e17.js} +1 -1
- package/dist/assets/{puppet.a64ec0ec.js → puppet.5aa1fc3a.js} +1 -1
- package/dist/assets/{python.fe50fda4.js → python.67462152.js} +1 -1
- package/dist/assets/{q.88cb2b8c.js → q.28cbbad3.js} +1 -1
- package/dist/assets/{query.699b00aa.js → query.eaa960f0.js} +1 -1
- package/dist/assets/{quickstart.504e6d54.js → quickstart.39d64eea.js} +1 -1
- package/dist/assets/{r.59023feb.js → r.fdf280db.js} +1 -1
- package/dist/assets/{relations.5d7fec12.js → relations.30bf1e5e.js} +1 -1
- package/dist/assets/{relationships.850eb59c.js → relationships.8c5c9d45.js} +1 -1
- package/dist/assets/{revisions.edb861a6.js → revisions.78c66006.js} +1 -1
- package/dist/assets/{revisions.c65244b7.js → revisions.8430c29c.js} +1 -1
- package/dist/assets/ro-RO.5d125b41.js +1 -0
- package/dist/assets/{roles.d176bda2.js → roles.a5d56e09.js} +1 -1
- package/dist/assets/{roles.31bb987f.js → roles.ae48ac62.js} +1 -1
- package/dist/assets/{roles.be39bb88.js → roles.b691aabb.js} +1 -1
- package/dist/assets/{rpm.5b354114.js → rpm.3b8f7e29.js} +1 -1
- package/dist/assets/rst.528314cf.js +1 -0
- package/dist/assets/{ruby.fbe69f10.js → ruby.c4d5f740.js} +1 -1
- package/dist/assets/{running-locally.f7f27b40.js → running-locally.6bd2f854.js} +1 -1
- package/dist/assets/{rust.d5f860d4.js → rust.409632ee.js} +1 -1
- package/dist/assets/{sas.5078cd09.js → sas.47cbda6d.js} +1 -1
- package/dist/assets/{sass.ad94908f.js → sass.a244c156.js} +1 -1
- package/dist/assets/{scheme.62ef3aac.js → scheme.163a4a3b.js} +1 -1
- package/dist/assets/{sdk.1fa5df01.js → sdk.c46fe226.js} +1 -1
- package/dist/assets/{server.517326b4.js → server.b7e67b66.js} +1 -1
- package/dist/assets/{settings.80fdd488.js → settings.076e3b15.js} +1 -1
- package/dist/assets/{shell.21000e97.js → shell.6d60921a.js} +1 -1
- package/dist/assets/{show-hint.4e2adb57.js → show-hint.e595bcf5.js} +1 -1
- package/dist/assets/{sieve.8235bc52.js → sieve.c618d5d5.js} +1 -1
- package/dist/assets/{simple.c600ff81.js → simple.b69582f5.js} +1 -1
- package/dist/assets/{slim.b09565ba.js → slim.daebda4a.js} +1 -1
- package/dist/assets/{smalltalk.d1bdef54.js → smalltalk.70889ef5.js} +1 -1
- package/dist/assets/{smarty.68c55065.js → smarty.325ff529.js} +1 -1
- package/dist/assets/{solr.32afafb4.js → solr.bb397dc6.js} +1 -1
- package/dist/assets/{soy.71a94bd3.js → soy.1584d1b4.js} +1 -1
- package/dist/assets/{sparql.c13a6abd.js → sparql.9bd63ffb.js} +1 -1
- package/dist/assets/{spreadsheet.f06b861c.js → spreadsheet.bd23b833.js} +1 -1
- package/dist/assets/{sql.1622b7a0.js → sql.ed54c85d.js} +1 -1
- package/dist/assets/sr-CS.1840c0db.js +1 -0
- package/dist/assets/{stex.2997e8d4.js → stex.35f42f0e.js} +1 -1
- package/dist/assets/{styles.f321c37a.js → styles.8f31dcd9.js} +1 -1
- package/dist/assets/{stylus.09700176.js → stylus.5c8637e4.js} +1 -1
- package/dist/assets/{support.fb5b37c6.js → support.046994af.js} +1 -1
- package/dist/assets/{swift.ac31530b.js → swift.6e697047.js} +1 -1
- package/dist/assets/{tcl.3dcc845d.js → tcl.6462ea3a.js} +1 -1
- package/dist/assets/{textile.40aa3a77.js → textile.b5cd484d.js} +1 -1
- package/dist/assets/{tiddlywiki.bc050afc.js → tiddlywiki.b1e435a4.js} +1 -1
- package/dist/assets/{tiki.aa5136d5.js → tiki.4013883e.js} +1 -1
- package/dist/assets/{toml.7d0d7ed9.js → toml.d8214748.js} +1 -1
- package/dist/assets/{tornado.5818c716.js → tornado.20d8d573.js} +1 -1
- package/dist/assets/{transition-bounce.57b56dd5.js → transition-bounce.52382bc3.js} +1 -1
- package/dist/assets/{transition-dialog.239bd9f5.js → transition-dialog.5f5e2d17.js} +1 -1
- package/dist/assets/{transition-expand.15de075e.js → transition-expand.84ad1aa8.js} +1 -1
- package/dist/assets/{translations.067fabb9.js → translations.8b18280d.js} +1 -1
- package/dist/assets/{translations.a62970f2.js → translations.d6de3905.js} +1 -1
- package/dist/assets/{troff.444d4397.js → troff.72228b7a.js} +1 -1
- package/dist/assets/{ttcn-cfg.0a78bb0d.js → ttcn-cfg.f96a99f0.js} +1 -1
- package/dist/assets/{ttcn.112b0d67.js → ttcn.0e972000.js} +1 -1
- package/dist/assets/{turtle.4816436c.js → turtle.8ab64def.js} +1 -1
- package/dist/assets/{twig.d9de9f9a.js → twig.7589b410.js} +1 -1
- package/dist/assets/{types.78caa1da.js → types.48124f27.js} +1 -1
- package/dist/assets/{ubuntu.78911058.js → ubuntu.36ee13da.js} +1 -1
- package/dist/assets/{use-sync.25413196.js → use-sync.fa2fe3b0.js} +1 -1
- package/dist/assets/{users.aded52e8.js → users.adf2a2c8.js} +1 -1
- package/dist/assets/{users.b66610cf.js → users.d2e45508.js} +1 -1
- package/dist/assets/{users.fdd31e5b.js → users.d8f130a3.js} +1 -1
- package/dist/assets/{utilities.4cd9b9f2.js → utilities.4d891c04.js} +1 -1
- package/dist/assets/{v-avatar.7672b4c4.js → v-avatar.00e9b8eb.js} +1 -1
- package/dist/assets/{v-badge.c90c82e6.js → v-badge.7fc3bab4.js} +1 -1
- package/dist/assets/{v-breadcrumb.b77e4f18.js → v-breadcrumb.a2a2f370.js} +1 -1
- package/dist/assets/{v-button.6f71192d.js → v-button.36e765a2.js} +1 -1
- package/dist/assets/{v-card-actions.f7038c5a.js → v-card-actions.12455b5d.js} +1 -1
- package/dist/assets/{v-card-subtitle.64d51a7f.js → v-card-subtitle.b7280bd9.js} +2 -2
- package/dist/assets/{v-card-text.18cb0f11.js → v-card-text.095779dd.js} +2 -2
- package/dist/assets/v-card-title.78e39c82.js +4 -0
- package/dist/assets/{v-card.a3d24ca4.js → v-card.e9191679.js} +1 -1
- package/dist/assets/{v-checkbox.2a883e5d.js → v-checkbox.f755b3db.js} +1 -1
- package/dist/assets/{v-chip.9a1d06bd.js → v-chip.5f8fdbe9.js} +1 -1
- package/dist/assets/{v-detail.08081d02.js → v-detail.70d83e7f.js} +1 -1
- package/dist/assets/{v-dialog.429d7b8a.js → v-dialog.5e7fff0c.js} +2 -2
- package/dist/assets/{v-divider.d65da562.js → v-divider.9db45406.js} +2 -2
- package/dist/assets/{v-drawer.c3209884.js → v-drawer.9b03749d.js} +1 -1
- package/dist/assets/{v-error.e5cdff60.js → v-error.fb66a9e6.js} +2 -2
- package/dist/assets/{v-fancy-select.5f18b1f3.js → v-fancy-select.b54085b1.js} +1 -1
- package/dist/assets/{v-field-select.32fb1d44.js → v-field-select.dd25033c.js} +2 -2
- package/dist/assets/{v-field-template.929a86e7.js → v-field-template.9e342040.js} +1 -1
- package/dist/assets/{v-form.4f15ff0f.js → v-form.e08a28c3.js} +2 -2
- package/dist/assets/{v-hover.2765134e.js → v-hover.a44a3be2.js} +1 -1
- package/dist/assets/{v-icon.0f49dcdf.js → v-icon.4709fb88.js} +1 -1
- package/dist/assets/{v-info.b1cb42be.js → v-info.73d1c44b.js} +2 -2
- package/dist/assets/{v-input.8c2d8d91.js → v-input.fda37db3.js} +1 -1
- package/dist/assets/{v-item-group.06ee487a.js → v-item-group.76391fb0.js} +1 -1
- package/dist/assets/{v-item.db377719.js → v-item.38e2a78e.js} +1 -1
- package/dist/assets/{v-list-group.c058dd0e.js → v-list-group.e39085f1.js} +2 -2
- package/dist/assets/{v-list-item-content.fb662398.js → v-list-item-content.79e3ccea.js} +1 -1
- package/dist/assets/{v-list-item-hint.b3e2809b.js → v-list-item-hint.b72017df.js} +1 -1
- package/dist/assets/{v-list-item-icon.7c917677.js → v-list-item-icon.a4d86111.js} +1 -1
- package/dist/assets/{v-list-item.4062ea0e.js → v-list-item.aeb5be7e.js} +1 -1
- package/dist/assets/{v-list.52d7c7ae.js → v-list.f09d5055.js} +1 -1
- package/dist/assets/{v-menu.78d16370.js → v-menu.672ad2ec.js} +1 -1
- package/dist/assets/{v-notice.3c4dcb0c.js → v-notice.ca244793.js} +2 -2
- package/dist/assets/{v-overlay.9ee2a4ea.js → v-overlay.b2e5ff6e.js} +1 -1
- package/dist/assets/{v-pagination.1bcaff37.js → v-pagination.dc840ce8.js} +1 -1
- package/dist/assets/{v-progress-circular.b1271d61.js → v-progress-circular.822f61bb.js} +2 -2
- package/dist/assets/{v-progress-linear.40057ac3.js → v-progress-linear.33cf976d.js} +1 -1
- package/dist/assets/{v-radio.9ce87d06.js → v-radio.1aa97b7b.js} +1 -1
- package/dist/assets/{v-select.ad82a076.js → v-select.27ac4bef.js} +1 -1
- package/dist/assets/{v-sheet.5acc0a85.js → v-sheet.c6ba4912.js} +1 -1
- package/dist/assets/{v-skeleton-loader.c5b2acac.js → v-skeleton-loader.52915dd8.js} +1 -1
- package/dist/assets/{v-slider.6fe18dea.js → v-slider.b989ae59.js} +1 -1
- package/dist/assets/{v-switch.3839f607.js → v-switch.de111eb9.js} +1 -1
- package/dist/assets/{v-tab-item.2ab69292.js → v-tab-item.de7c0a28.js} +1 -1
- package/dist/assets/{v-tab.c4390cdb.js → v-tab.40afffbf.js} +1 -1
- package/dist/assets/{v-table.fc66e91c.js → v-table.9a5b33ab.js} +1 -1
- package/dist/assets/{v-tabs-items.23a4d028.js → v-tabs-items.15506baf.js} +1 -1
- package/dist/assets/{v-tabs.8cb6f20c.js → v-tabs.c9489007.js} +1 -1
- package/dist/assets/{v-text-overflow.674dc510.js → v-text-overflow.92c20f66.js} +1 -1
- package/dist/assets/{v-textarea.02bee531.js → v-textarea.4cced1c0.js} +2 -2
- package/dist/assets/{v-upload.685df91f.js → v-upload.ffe73a75.js} +1 -1
- package/dist/assets/{vb.4da8219a.js → vb.86e493cb.js} +1 -1
- package/dist/assets/{vbscript.b340075d.js → vbscript.74f96813.js} +1 -1
- package/dist/assets/{velocity.64e51bc5.js → velocity.a679c97c.js} +1 -1
- package/dist/assets/vendor.a626ab9c.js +2039 -0
- package/dist/assets/vendor.fe7856f0.css +1 -0
- package/dist/assets/{verilog.1bc5f3a3.js → verilog.e437b30d.js} +1 -1
- package/dist/assets/{vhdl.3c2ba104.js → vhdl.1c239e80.js} +1 -1
- package/dist/assets/{vue.fa209324.js → vue.b668d00e.js} +1 -1
- package/dist/assets/{wast.54b48569.js → wast.82d9b15b.js} +1 -1
- package/dist/assets/{webhooks.4f7eaa96.js → webhooks.439c510a.js} +1 -1
- package/dist/assets/{webhooks.e51fba7a.js → webhooks.4bdd0741.js} +1 -1
- package/dist/assets/{webidl.2374e180.js → webidl.5aceeff1.js} +1 -1
- package/dist/assets/{xquery.750a7cd1.js → xquery.900a45f6.js} +1 -1
- package/dist/assets/{yacas.6eba3f7b.js → yacas.56dd7cb2.js} +1 -1
- package/dist/assets/yaml-frontmatter.bdb5ae8b.js +1 -0
- package/dist/assets/{yaml.622de393.js → yaml.d877d25f.js} +1 -1
- package/dist/assets/{z80.f493b48f.js → z80.807d7c5a.js} +1 -1
- package/dist/index.514c2a9a.js +48 -0
- package/dist/index.html +5 -5
- package/dist/vue-i18n.c5bba31b.js +1 -0
- package/dist/vue-router.ba0fd454.js +1 -0
- package/dist/vue.010be4a3.js +1 -0
- package/package.json +17 -15
- package/dist/@directus_extensions-sdk.caa1292f.js +0 -1
- package/dist/assets/api-config.d4a334b4.js +0 -53
- package/dist/assets/authentication.2962910f.js +0 -54
- package/dist/assets/en-au.175fcb2b.js +0 -1
- package/dist/assets/en-gb.018f9a21.js +0 -1
- package/dist/assets/en-nz.2f0f7e5c.js +0 -1
- package/dist/assets/environment-variables.41ac3cc1.js +0 -25
- package/dist/assets/es.18d3cc7b.js +0 -1
- package/dist/assets/fr-FR.13498131.js +0 -1
- package/dist/assets/haml.071df27c.js +0 -1
- package/dist/assets/haskell-literate.d4663d82.js +0 -1
- package/dist/assets/iis.8d5a89ca.js +0 -23
- package/dist/assets/index.3339c532.css +0 -1
- package/dist/assets/ro-RO.381b685b.js +0 -1
- package/dist/assets/rst.dab09e05.js +0 -1
- package/dist/assets/sr-CS.f7a42011.js +0 -1
- package/dist/assets/v-card-title.37498457.js +0 -4
- package/dist/assets/vendor.62143b15.js +0 -1582
- package/dist/assets/vendor.de5758fd.css +0 -1
- package/dist/assets/yaml-frontmatter.f29f4a8c.js +0 -1
- package/dist/index.9cda602b.js +0 -48
- package/dist/vue-i18n.12eba70a.js +0 -1
- package/dist/vue-router.72dfb5ae.js +0 -1
- package/dist/vue.c17340c4.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bE as Z}from"./vendor.a626ab9c.js";function N(t,k){return k.forEach(function(c){Object.keys(c).forEach(function(u){if(u!=="default"&&!(u in t)){var d=Object.getOwnPropertyDescriptor(c,u);Object.defineProperty(t,u,d.get?d:{enumerable:!0,get:function(){return c[u]}})}})}),Object.freeze(t)}var w={exports:{}};(function(t,k){(function(c){c(Z.exports)})(function(c){c.defineMode("coffeescript",function(u,d){var g="error";function v(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var z=/^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/,E=/^(?:[()\[\]{},:`=;]|\.\.?\.?)/,x=/^[_A-Za-z$][_A-Za-z$0-9]*/,O=/^@[_A-Za-z$][_A-Za-z$0-9]*/,_=v(["and","or","not","is","isnt","in","instanceof","typeof"]),h=["for","while","loop","if","unless","else","switch","try","catch","finally","class"],A=["break","by","continue","debugger","delete","do","in","of","new","return","then","this","@","throw","when","until","extends"],S=v(h.concat(A));h=v(h);var j=/^('{3}|\"{3}|['\"])/,s=/^(\/{3}|\/)/,$=["Infinity","NaN","undefined","null","true","false","on","off","yes","no"],M=v($);function l(e,n){if(e.sol()){n.scope.align===null&&(n.scope.align=!1);var f=n.scope.offset;if(e.eatSpace()){var r=e.indentation();return r>f&&n.scope.type=="coffee"?"indent":r<f?"dedent":null}else f>0&&y(e,n)}if(e.eatSpace())return null;var i=e.peek();if(e.match("####"))return e.skipToEnd(),"comment";if(e.match("###"))return n.tokenize=P,n.tokenize(e,n);if(i==="#")return e.skipToEnd(),"comment";if(e.match(/^-?[0-9\.]/,!1)){var p=!1;if(e.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)&&(p=!0),e.match(/^-?\d+\.\d*/)&&(p=!0),e.match(/^-?\.\d+/)&&(p=!0),p)return e.peek()=="."&&e.backUp(1),"number";var o=!1;if(e.match(/^-?0x[0-9a-f]+/i)&&(o=!0),e.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)&&(o=!0),e.match(/^-?0(?![\dx])/i)&&(o=!0),o)return"number"}if(e.match(j))return n.tokenize=b(e.current(),!1,"string"),n.tokenize(e,n);if(e.match(s)){if(e.current()!="/"||e.match(/^.*\//,!1))return n.tokenize=b(e.current(),!0,"string-2"),n.tokenize(e,n);e.backUp(1)}return e.match(z)||e.match(_)?"operator":e.match(E)?"punctuation":e.match(M)?"atom":e.match(O)||n.prop&&e.match(x)?"property":e.match(S)?"keyword":e.match(x)?"variable":(e.next(),g)}function b(e,n,f){return function(r,i){for(;!r.eol();)if(r.eatWhile(/[^'"\/\\]/),r.eat("\\")){if(r.next(),n&&r.eol())return f}else{if(r.match(e))return i.tokenize=l,f;r.eat(/['"\/]/)}return n&&(d.singleLineStringErrors?f=g:i.tokenize=l),f}}function P(e,n){for(;!e.eol();){if(e.eatWhile(/[^#]/),e.match("###")){n.tokenize=l;break}e.eatWhile("#")}return"comment"}function a(e,n,f){f=f||"coffee";for(var r=0,i=!1,p=null,o=n.scope;o;o=o.prev)if(o.type==="coffee"||o.type=="}"){r=o.offset+u.indentUnit;break}f!=="coffee"?(i=null,p=e.column()+e.current().length):n.scope.align&&(n.scope.align=!1),n.scope={offset:r,type:f,prev:n.scope,align:i,alignOffset:p}}function y(e,n){if(!!n.scope.prev)if(n.scope.type==="coffee"){for(var f=e.indentation(),r=!1,i=n.scope;i;i=i.prev)if(f===i.offset){r=!0;break}if(!r)return!0;for(;n.scope.prev&&n.scope.offset!==f;)n.scope=n.scope.prev;return!1}else return n.scope=n.scope.prev,!1}function R(e,n){var f=n.tokenize(e,n),r=e.current();r==="return"&&(n.dedent=!0),((r==="->"||r==="=>")&&e.eol()||f==="indent")&&a(e,n);var i="[({".indexOf(r);if(i!==-1&&a(e,n,"])}".slice(i,i+1)),h.exec(r)&&a(e,n),r=="then"&&y(e,n),f==="dedent"&&y(e,n))return g;if(i="])}".indexOf(r),i!==-1){for(;n.scope.type=="coffee"&&n.scope.prev;)n.scope=n.scope.prev;n.scope.type==r&&(n.scope=n.scope.prev)}return n.dedent&&e.eol()&&(n.scope.type=="coffee"&&n.scope.prev&&(n.scope=n.scope.prev),n.dedent=!1),f}var I={startState:function(e){return{tokenize:l,scope:{offset:e||0,type:"coffee",prev:null,align:!1},prop:!1,dedent:0}},token:function(e,n){var f=n.scope.align===null&&n.scope;f&&e.sol()&&(f.align=!1);var r=R(e,n);return r&&r!="comment"&&(f&&(f.align=!0),n.prop=r=="punctuation"&&e.current()=="."),r},indent:function(e,n){if(e.tokenize!=l)return 0;var f=e.scope,r=n&&"])}".indexOf(n.charAt(0))>-1;if(r)for(;f.type=="coffee"&&f.prev;)f=f.prev;var i=r&&f.type===n.charAt(0);return f.align?f.alignOffset-(i?1:0):(i?f.prev:f).offset},lineComment:"#",fold:"indent"};return I}),c.defineMIME("application/vnd.coffeescript","coffeescript"),c.defineMIME("text/x-coffeescript","coffeescript"),c.defineMIME("text/coffeescript","coffeescript")})})();var T=w.exports,W=Object.freeze(N({__proto__:null,[Symbol.toStringTag]:"Module",default:T},[w.exports]));export{w as a,W as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,p as c,q as u,w as o,B as e,t as s,P as t}from"./vendor.
|
|
1
|
+
import{r as a,p as c,q as u,w as o,B as e,t as s,P as t}from"./vendor.a626ab9c.js";const d={class:"markdown-body"},h=e("blockquote",null,[e("p",null,[t("Each Collection contains some number of fields, and is a container for a specific grouping of Items. Each collection represents a "),e("strong",null,"table"),t(" in your database.")])],-1),p=t("Directus automatically uses a built-in title formatter to display your database table names prettified, however you can use "),_=t("schema translations"),f=t(" to completely rename them if needed."),g=e("p",null,[t("Collections can be organized in any way that is appropriate for your project. You can architect them platform-specific (eg: "),e("em",null,"pages"),t(" of a website), or in a more platform-agnostic way (eg: raw "),e("em",null,"customers"),t(" of your business). While there\u2019s no right or wrong way to structure your data-model, we recommend keeping your data as agnostic as possible so it is easier to repurpose in the future. "),e("strong",null,"In short, learn to see your data as its own asset \u2014 not only through the lens of your immediate project needs"),t(".")],-1),m=e("p",null,[t("The only requirement of a collection is that it must contain a "),e("strong",null,"Primary Key"),t(" field. This field stores a unique value that is used to reference the Collection\u2019s items throughout the database/platform.")],-1),y=e("h4",{id:"relevant-guides"},[t("Relevant Guides "),e("a",{class:"header-anchor",href:"#relevant-guides"},"#")],-1),k=t("Creating a Collection"),b=t("Configuring a Collection"),C=t("Deleting a Collection"),w=t("Adjusting a Collection Layout"),v=e("h2",{id:"collection-presets-%26-bookmarks"},[t("Collection Presets & Bookmarks "),e("a",{class:"header-anchor",href:"#collection-presets-%26-bookmarks"},"#")],-1),x=t("Presets store the exact state of a "),T=t("collection detail"),q=t(" page. They are used to set layout defaults for a user, or to define bookmarks that can be used to quickly recall specific datasets. Each preset stores the following information:"),B=e("ul",null,[e("li",null,[e("strong",null,"Collection"),t(" \u2014 The collection of the preset")]),e("li",null,[e("strong",null,"Layout"),t(" \u2014 The Layout the preset applies to")]),e("li",null,[e("strong",null,"Layout Query"),t(" \u2014 Order direction, order field, pagination, etc")]),e("li",null,[e("strong",null,"Layout Options"),t(" \u2014 The configuration of all layout options")]),e("li",null,[e("strong",null,"Search"),t(" \u2014 Any fulltext search query applied")]),e("li",null,[e("strong",null,"Filters"),t(" \u2014 Any advanced fitlers applied")]),e("li",null,[e("strong",null,"User"),t(" \u2014 Optional; scopes to a specific user")]),e("li",null,[e("strong",null,"Role"),t(" \u2014 Optional; scopes to a specific role")]),e("li",null,[e("strong",null,"Bookmark Name"),t(" \u2014 Optional; determines if the preset is a bookmark")])],-1),P=e("h4",{id:"relevant-guides-2"},[t("Relevant Guides "),e("a",{class:"header-anchor",href:"#relevant-guides-2"},"#")],-1),j=t("Creating a Preset"),D=t("Deleting a Preset"),A={setup(L,{expose:i}){const n={title:"Collections",modularExtension:!1};return i({frontmatter:n}),(O,E)=>{const l=a("router-link"),r=a("DocsWrapper");return c(),u(r,{frontmatter:n},{default:o(()=>[e("div",d,[h,e("p",null,[p,s(l,{to:"/docs/concepts/translations/#schema-translations"},{default:o(()=>[_]),_:1}),f]),g,m,y,e("ul",null,[e("li",null,[s(l,{to:"/docs/guides/collections/#creating-a-collection"},{default:o(()=>[k]),_:1})]),e("li",null,[s(l,{to:"/docs/guides/collections/#configuring-a-collection"},{default:o(()=>[b]),_:1})]),e("li",null,[s(l,{to:"/docs/guides/collections/#deleting-a-collection"},{default:o(()=>[C]),_:1})]),e("li",null,[s(l,{to:"/docs/guides/collections/#adjusting-a-collection-layout"},{default:o(()=>[w]),_:1})])]),v,e("p",null,[x,s(l,{to:"/docs/concepts/application/#collection-detail"},{default:o(()=>[T]),_:1}),q]),B,P,e("ul",null,[e("li",null,[s(l,{to:"/docs/guides/presets/#creating-a-preset"},{default:o(()=>[j]),_:1})]),e("li",null,[s(l,{to:"/docs/guides/presets/#deleting-a-preset"},{default:o(()=>[D]),_:1})])])])]),_:1})}}};export{A as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,p as r,q as d,w as l,B as e,t as o,P as t}from"./vendor.62143b15.js";const u={class:"markdown-body"},h=t("Collections are containers for specific groupings of Items. Each collection represents a "),g=e("strong",null,"table",-1),_=t(" in your database. "),p=t("Learn more about Collections"),f=t("."),m=e("h2",{id:"creating-a-collection"},[t("Creating a Collection "),e("a",{class:"header-anchor",href:"#creating-a-collection"},"#")],-1),y=e("ol",null,[e("li",null,[t("Navigate to "),e("strong",null,"Settings > Data Model")]),e("li",null,[t("Click the "),e("strong",null,"Create Collection"),t(" action button in the header")]),e("li",null,[t("Enter a unique "),e("strong",null,"Collection Name"),t(", keeping in mind that this is entered as a "),e("em",null,"key"),t(" that determines the database table name, and is then presented in the App using the internal Title Formatter.")]),e("li",null,[t("Optional: Configure the collection\u2019s "),e("strong",null,"Primary Key"),t(" name and type. "),e("ul",null,[e("li",null,"Auto-Incremented Integer"),e("li",null,"Generated UUID"),e("li",null,"Manually Entered String")])]),e("li",null,[t("Optional: Enable and rename any desired "),e("strong",null,"System Fields"),t(". "),e("ul",null,[e("li",null,"Status"),e("li",null,"Sort"),e("li",null,"Created On"),e("li",null,"Created By"),e("li",null,"Updated On"),e("li",null,"Updated By")])]),e("li",null,[t("Click the "),e("strong",null,"Finish Setup"),t(" button")])],-1),v=e("div",{class:"danger hint"},[e("div",{class:"hint-title"},"Immutable Keys"),e("p",null,"The collection name, primary key name/type, and system field names can not be modified after the collection is created.")],-1),b=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Database Tables"),e("p",null,[t("Keep in mind that a Directus Collection is just a database table. Therefore you can import or create a table directly in the database, and it will automatically appear within Directus. The first time you manage that table, a "),e("code",null,"directus_collections"),t(" record will be created with default values.")])],-1),C=e("h2",{id:"configuring-a-collection"},[t("Configuring a Collection "),e("a",{class:"header-anchor",href:"#configuring-a-collection"},"#")],-1),w=e("li",null,[t("Navigate to "),e("strong",null,"Settings > Data Model > [Collection Name]")],-1),T=t("Configure the following settings: "),A=e("li",null,[e("strong",null,"Collection Name"),t(" \u2014 This is the key for the collection. It can not be modified, but you can override it with Translations (see field below).")],-1),S=e("li",null,[e("strong",null,"Icon"),t(" \u2014 The icon used throughout the App when referencing this collection")],-1),D=e("li",null,[e("strong",null,"Note"),t(" \u2014 A helpful note that explains the collection\u2019s purpose")],-1),k=e("li",null,[e("strong",null,"Display Template"),t(" \u2014 A "),e("a",{href:"#"},"Field Template"),t(" that creates dynamic titles for the collection\u2019s items")],-1),N=e("li",null,[e("strong",null,"Hidden"),t(" \u2014 Toggles if the collection should be globally hidden. Keep in mind that Admin roles can always see all collections.")],-1),I=e("strong",null,"Singleton",-1),F=t(" \u2014 For collections that will only contain a single item (eg: an \u201CAbout Us\u201D form), the "),O=t("Collection Detail"),M=t(" will be bypassed, and users are taken directly to the "),j=t("Item Detail"),P=t(" page."),U=e("strong",null,"Translation",-1),x=t(" \u2014 Allows translating the collection name into different languages. These "),L=t("Schema Translations"),q=t(" are important for multilingual projects. You can also \u201Ctranslate\u201D a collection name into the default language \u2014 helpful for renaming technical table names."),B=e("strong",null,"Create and configure any fields",-1),E=t(" within this Collection. "),K=t("Creating a Field"),V=t("Updating a Field"),W=t("Deleting a Field"),R=t("Duplicating a Field"),H=t("Changing Field Order & Layout"),G=e("li",null,[t("Optional: Configure the "),e("a",{href:"#archive"},"Archive"),t(" and "),e("a",{href:"#sort"},"Sort"),t(" options below.")],-1),J=e("h3",{id:"archive"},[t("Archive "),e("a",{class:"header-anchor",href:"#archive"},"#")],-1),Y=e("p",null,"The archive feature allows you to enable the collection with a custom soft-delete option. Soft-delete allows users to remove items from the App, but maintains the actual database record for easy recovery.",-1),z=e("ul",null,[e("li",null,[e("strong",null,"Archive Field"),t(" \u2014 The field that holds the archive value")]),e("li",null,[e("strong",null,"Archive App Filter"),t(" \u2014 Allows users to view archived items")]),e("li",null,[e("strong",null,"Archive Value"),t(" \u2014 The value saved in the Archive Field when archived")]),e("li",null,[e("strong",null,"Unarchive Value"),t(" \u2014 The value saved in the Archive Field when unarchived")])],-1),Q=e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"API Responses"),e("p",null,"Items that have been archived are still returned normally via the API. It is up to you to filter them out as needed.")],-1),X=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Automatic Setup"),e("p",null,"When creating a new Collection, you have the option of creating an optional \u201CStatus\u201D field. If you choose to include this field, the collection\u2019s archive settings will automatically be configured for you.")],-1),Z=e("h3",{id:"sort"},[t("Sort "),e("a",{class:"header-anchor",href:"#sort"},"#")],-1),$=t("The sort feature enables manual drag-and-drop item reordering within the Directus App. This is typically shown on the "),ee=t("Collection Detail"),te=t(" page/modal, and can also be used for sorting items within a "),le=t("Junction Table"),ne=t("."),oe=e("p",null,"To configure manual sorting for a collection:",-1),ie=e("ol",null,[e("li",null,[t("Navigate to "),e("strong",null,"Settings > Data Model > [Collection Name]")]),e("li",null,[t("Create a field with the "),e("strong",null,"Integer"),t(" type "),e("ul",null,[e("li",null,[t("Optional: Set the field to be "),e("strong",null,"Hidden")])])]),e("li",null,[t("Select the field you just created in the "),e("strong",null,"Sort Field"),t(" dropdown")])],-1),ae=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Automatic Setup"),e("p",null,"When creating a new Collection, you have the option of creating an optional \u201CSort\u201D field. If you choose to include this field, the collection\u2019s sort settings will automatically be configured for you.")],-1),se=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Interface Sorting"),e("p",null,[t("To configure manual sorting within an Interface (eg: M2M, O2M, or M2A), configure as above, but also set the "),e("strong",null,"Sort Field"),t(" on the field\u2019s Relationship pane.")])],-1),ce=e("h2",{id:"renaming-a-collection"},[t("Renaming a Collection "),e("a",{class:"header-anchor",href:"#renaming-a-collection"},"#")],-1),re=e("p",null,[t("While you can not change the "),e("strong",null,"Key"),t(" of a collection via Directus (as of now), you can change its "),e("strong",null,"Name"),t(" and translations.")],-1),de=e("ol",null,[e("li",null,[t("Navigate to "),e("strong",null,"Settings > Data Model > [Collection Name]")]),e("li",null,[t("Click the Add New button under "),e("strong",null,"Collection Name Translations")]),e("li",null,[t("Choose the desired "),e("strong",null,"Language"),t(" (your primary language for \u201Crenaming\u201D)")]),e("li",null,[t("Enter a "),e("strong",null,"Translation")]),e("li",null,[t("Click the "),e("strong",null,"Save"),t(" button")])],-1),ue=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Special Casing"),e("p",null,[t("If you are trying to update the specific casing (uppercase/lowercase) for a word (eg: "),e("code",null,"Dna"),t(" to "),e("code",null,"DNA"),t(") you will want to add the edge-case to the "),e("a",{href:"https://github.com/directus/directus/tree/main/packages/format-title/src",target:"_blank",rel:"noopener noreferrer"},"Format Title package"),t(". If you feel the case passes our "),e("a",{href:"https://docs.directus.io/contributing/introduction/#feature-requests",target:"_blank",rel:"noopener noreferrer"},"80/20 rule"),t(" you should submit a Pull Request to the codebase, otherwise you can update this in your instance.")])],-1),he=e("h2",{id:"deleting-a-collection"},[t("Deleting a Collection "),e("a",{class:"header-anchor",href:"#deleting-a-collection"},"#")],-1),ge=e("ol",null,[e("li",null,[t("Navigate to "),e("strong",null,"Settings > Data Model > [Collection Name]")]),e("li",null,[t("Click the red "),e("strong",null,"Delete Collection"),t(" action button in the header")]),e("li",null,[t("Confirm this decision by clicking "),e("strong",null,"Delete"),t(" in the dialog")])],-1),_e=e("div",{class:"danger hint"},[e("div",{class:"hint-title"},"Irreversible Change"),e("p",null,"This action is permanent and can not be undone. Please proceed with caution.")],-1),pe=e("h2",{id:"adjusting-a-collection-layout"},[t("Adjusting a Collection Layout "),e("a",{class:"header-anchor",href:"#adjusting-a-collection-layout"},"#")],-1),fe=e("ol",null,[e("li",null,[t("Navigate to "),e("strong",null,"Collections > [Collection Name]")]),e("li",null,[t("Click "),e("strong",null,"\u201CLayout Options\u201D"),t(" in the Page Sidebar")]),e("li",null,[e("strong",null,"Configure the Layout Options"),t(" as desired")])],-1),me=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"User Preferences"),e("p",null,"Any changes made to the Collection Layout Options, page filters, search queries, and advanced filters, are instantly saved to your user preferences. This means that your experience will be the same when logging later, even if using a different device.")],-1),we={setup(ye,{expose:s}){const i={title:"Collections",modularExtension:!1};return s({frontmatter:i}),(ve,be)=>{const n=a("router-link"),c=a("DocsWrapper");return r(),d(c,{frontmatter:i},{default:l(()=>[e("div",u,[e("blockquote",null,[e("p",null,[h,g,_,o(n,{to:"/docs/concepts/collections/"},{default:l(()=>[p]),_:1}),f])]),m,y,v,b,C,e("ol",null,[w,e("li",null,[T,e("ul",null,[A,S,D,k,N,e("li",null,[I,F,o(n,{to:"/docs/concepts/application/#collection-detail"},{default:l(()=>[O]),_:1}),M,o(n,{to:"/docs/concepts/application/#item-detail"},{default:l(()=>[j]),_:1}),P]),e("li",null,[U,x,o(n,{to:"/docs/concepts/translations/#schema-translations"},{default:l(()=>[L]),_:1}),q])])]),e("li",null,[B,E,e("ul",null,[e("li",null,[o(n,{to:"/docs/guides/fields/#creating-a-field"},{default:l(()=>[K]),_:1})]),e("li",null,[o(n,{to:"/docs/guides/fields/#updating-a-field"},{default:l(()=>[V]),_:1})]),e("li",null,[o(n,{to:"/docs/guides/fields/#deleting-a-field"},{default:l(()=>[W]),_:1})]),e("li",null,[o(n,{to:"/docs/guides/fields/#duplicating-a-field"},{default:l(()=>[R]),_:1})]),e("li",null,[o(n,{to:"/docs/guides/fields/#adjusting-field-layout"},{default:l(()=>[H]),_:1})])])]),G]),J,Y,z,Q,X,Z,e("p",null,[$,o(n,{to:"/docs/concepts/application/#collection-detail"},{default:l(()=>[ee]),_:1}),te,o(n,{to:"/docs/concepts/relationships/#many-to-many-m2m"},{default:l(()=>[le]),_:1}),ne]),oe,ie,ae,se,ce,re,de,ue,he,ge,_e,pe,fe,me])]),_:1})}}};export{we as default};
|
|
1
|
+
import{r as a,p as r,q as d,w as l,B as e,t as o,P as t}from"./vendor.a626ab9c.js";const u={class:"markdown-body"},h=t("Collections are containers for specific groupings of Items. Each collection represents a "),g=e("strong",null,"table",-1),_=t(" in your database. "),p=t("Learn more about Collections"),f=t("."),m=e("h2",{id:"creating-a-collection"},[t("Creating a Collection "),e("a",{class:"header-anchor",href:"#creating-a-collection"},"#")],-1),y=e("ol",null,[e("li",null,[t("Navigate to "),e("strong",null,"Settings > Data Model")]),e("li",null,[t("Click the "),e("strong",null,"Create Collection"),t(" action button in the header")]),e("li",null,[t("Enter a unique "),e("strong",null,"Collection Name"),t(", keeping in mind that this is entered as a "),e("em",null,"key"),t(" that determines the database table name, and is then presented in the App using the internal Title Formatter.")]),e("li",null,[t("Optional: Configure the collection\u2019s "),e("strong",null,"Primary Key"),t(" name and type. "),e("ul",null,[e("li",null,"Auto-Incremented Integer"),e("li",null,"Generated UUID"),e("li",null,"Manually Entered String")])]),e("li",null,[t("Optional: Enable and rename any desired "),e("strong",null,"System Fields"),t(". "),e("ul",null,[e("li",null,"Status"),e("li",null,"Sort"),e("li",null,"Created On"),e("li",null,"Created By"),e("li",null,"Updated On"),e("li",null,"Updated By")])]),e("li",null,[t("Click the "),e("strong",null,"Finish Setup"),t(" button")])],-1),v=e("div",{class:"danger hint"},[e("div",{class:"hint-title"},"Immutable Keys"),e("p",null,"The collection name, primary key name/type, and system field names can not be modified after the collection is created.")],-1),b=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Database Tables"),e("p",null,[t("Keep in mind that a Directus Collection is just a database table. Therefore you can import or create a table directly in the database, and it will automatically appear within Directus. The first time you manage that table, a "),e("code",null,"directus_collections"),t(" record will be created with default values.")])],-1),C=e("h2",{id:"configuring-a-collection"},[t("Configuring a Collection "),e("a",{class:"header-anchor",href:"#configuring-a-collection"},"#")],-1),w=e("li",null,[t("Navigate to "),e("strong",null,"Settings > Data Model > [Collection Name]")],-1),T=t("Configure the following settings: "),A=e("li",null,[e("strong",null,"Collection Name"),t(" \u2014 This is the key for the collection. It can not be modified, but you can override it with Translations (see field below).")],-1),S=e("li",null,[e("strong",null,"Icon"),t(" \u2014 The icon used throughout the App when referencing this collection")],-1),D=e("li",null,[e("strong",null,"Note"),t(" \u2014 A helpful note that explains the collection\u2019s purpose")],-1),k=e("li",null,[e("strong",null,"Display Template"),t(" \u2014 A "),e("a",{href:"#"},"Field Template"),t(" that creates dynamic titles for the collection\u2019s items")],-1),N=e("li",null,[e("strong",null,"Hidden"),t(" \u2014 Toggles if the collection should be globally hidden. Keep in mind that Admin roles can always see all collections.")],-1),I=e("strong",null,"Singleton",-1),F=t(" \u2014 For collections that will only contain a single item (eg: an \u201CAbout Us\u201D form), the "),O=t("Collection Detail"),M=t(" will be bypassed, and users are taken directly to the "),j=t("Item Detail"),P=t(" page."),U=e("strong",null,"Translation",-1),x=t(" \u2014 Allows translating the collection name into different languages. These "),L=t("Schema Translations"),q=t(" are important for multilingual projects. You can also \u201Ctranslate\u201D a collection name into the default language \u2014 helpful for renaming technical table names."),B=e("strong",null,"Create and configure any fields",-1),E=t(" within this Collection. "),K=t("Creating a Field"),V=t("Updating a Field"),W=t("Deleting a Field"),R=t("Duplicating a Field"),H=t("Changing Field Order & Layout"),G=e("li",null,[t("Optional: Configure the "),e("a",{href:"#archive"},"Archive"),t(" and "),e("a",{href:"#sort"},"Sort"),t(" options below.")],-1),J=e("h3",{id:"archive"},[t("Archive "),e("a",{class:"header-anchor",href:"#archive"},"#")],-1),Y=e("p",null,"The archive feature allows you to enable the collection with a custom soft-delete option. Soft-delete allows users to remove items from the App, but maintains the actual database record for easy recovery.",-1),z=e("ul",null,[e("li",null,[e("strong",null,"Archive Field"),t(" \u2014 The field that holds the archive value")]),e("li",null,[e("strong",null,"Archive App Filter"),t(" \u2014 Allows users to view archived items")]),e("li",null,[e("strong",null,"Archive Value"),t(" \u2014 The value saved in the Archive Field when archived")]),e("li",null,[e("strong",null,"Unarchive Value"),t(" \u2014 The value saved in the Archive Field when unarchived")])],-1),Q=e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"API Responses"),e("p",null,"Items that have been archived are still returned normally via the API. It is up to you to filter them out as needed.")],-1),X=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Automatic Setup"),e("p",null,"When creating a new Collection, you have the option of creating an optional \u201CStatus\u201D field. If you choose to include this field, the collection\u2019s archive settings will automatically be configured for you.")],-1),Z=e("h3",{id:"sort"},[t("Sort "),e("a",{class:"header-anchor",href:"#sort"},"#")],-1),$=t("The sort feature enables manual drag-and-drop item reordering within the Directus App. This is typically shown on the "),ee=t("Collection Detail"),te=t(" page/modal, and can also be used for sorting items within a "),le=t("Junction Table"),ne=t("."),oe=e("p",null,"To configure manual sorting for a collection:",-1),ie=e("ol",null,[e("li",null,[t("Navigate to "),e("strong",null,"Settings > Data Model > [Collection Name]")]),e("li",null,[t("Create a field with the "),e("strong",null,"Integer"),t(" type "),e("ul",null,[e("li",null,[t("Optional: Set the field to be "),e("strong",null,"Hidden")])])]),e("li",null,[t("Select the field you just created in the "),e("strong",null,"Sort Field"),t(" dropdown")])],-1),ae=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Automatic Setup"),e("p",null,"When creating a new Collection, you have the option of creating an optional \u201CSort\u201D field. If you choose to include this field, the collection\u2019s sort settings will automatically be configured for you.")],-1),se=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Interface Sorting"),e("p",null,[t("To configure manual sorting within an Interface (eg: M2M, O2M, or M2A), configure as above, but also set the "),e("strong",null,"Sort Field"),t(" on the field\u2019s Relationship pane.")])],-1),ce=e("h2",{id:"renaming-a-collection"},[t("Renaming a Collection "),e("a",{class:"header-anchor",href:"#renaming-a-collection"},"#")],-1),re=e("p",null,[t("While you can not change the "),e("strong",null,"Key"),t(" of a collection via Directus (as of now), you can change its "),e("strong",null,"Name"),t(" and translations.")],-1),de=e("ol",null,[e("li",null,[t("Navigate to "),e("strong",null,"Settings > Data Model > [Collection Name]")]),e("li",null,[t("Click the Add New button under "),e("strong",null,"Collection Name Translations")]),e("li",null,[t("Choose the desired "),e("strong",null,"Language"),t(" (your primary language for \u201Crenaming\u201D)")]),e("li",null,[t("Enter a "),e("strong",null,"Translation")]),e("li",null,[t("Click the "),e("strong",null,"Save"),t(" button")])],-1),ue=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Special Casing"),e("p",null,[t("If you are trying to update the specific casing (uppercase/lowercase) for a word (eg: "),e("code",null,"Dna"),t(" to "),e("code",null,"DNA"),t(") you will want to add the edge-case to the "),e("a",{href:"https://github.com/directus/directus/tree/main/packages/format-title/src",target:"_blank",rel:"noopener noreferrer"},"Format Title package"),t(". If you feel the case passes our "),e("a",{href:"https://docs.directus.io/contributing/introduction/#feature-requests",target:"_blank",rel:"noopener noreferrer"},"80/20 rule"),t(" you should submit a Pull Request to the codebase, otherwise you can update this in your instance.")])],-1),he=e("h2",{id:"deleting-a-collection"},[t("Deleting a Collection "),e("a",{class:"header-anchor",href:"#deleting-a-collection"},"#")],-1),ge=e("ol",null,[e("li",null,[t("Navigate to "),e("strong",null,"Settings > Data Model > [Collection Name]")]),e("li",null,[t("Click the red "),e("strong",null,"Delete Collection"),t(" action button in the header")]),e("li",null,[t("Confirm this decision by clicking "),e("strong",null,"Delete"),t(" in the dialog")])],-1),_e=e("div",{class:"danger hint"},[e("div",{class:"hint-title"},"Irreversible Change"),e("p",null,"This action is permanent and can not be undone. Please proceed with caution.")],-1),pe=e("h2",{id:"adjusting-a-collection-layout"},[t("Adjusting a Collection Layout "),e("a",{class:"header-anchor",href:"#adjusting-a-collection-layout"},"#")],-1),fe=e("ol",null,[e("li",null,[t("Navigate to "),e("strong",null,"Collections > [Collection Name]")]),e("li",null,[t("Click "),e("strong",null,"\u201CLayout Options\u201D"),t(" in the Page Sidebar")]),e("li",null,[e("strong",null,"Configure the Layout Options"),t(" as desired")])],-1),me=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"User Preferences"),e("p",null,"Any changes made to the Collection Layout Options, page filters, search queries, and advanced filters, are instantly saved to your user preferences. This means that your experience will be the same when logging later, even if using a different device.")],-1),we={setup(ye,{expose:s}){const i={title:"Collections",modularExtension:!1};return s({frontmatter:i}),(ve,be)=>{const n=a("router-link"),c=a("DocsWrapper");return r(),d(c,{frontmatter:i},{default:l(()=>[e("div",u,[e("blockquote",null,[e("p",null,[h,g,_,o(n,{to:"/docs/concepts/collections/"},{default:l(()=>[p]),_:1}),f])]),m,y,v,b,C,e("ol",null,[w,e("li",null,[T,e("ul",null,[A,S,D,k,N,e("li",null,[I,F,o(n,{to:"/docs/concepts/application/#collection-detail"},{default:l(()=>[O]),_:1}),M,o(n,{to:"/docs/concepts/application/#item-detail"},{default:l(()=>[j]),_:1}),P]),e("li",null,[U,x,o(n,{to:"/docs/concepts/translations/#schema-translations"},{default:l(()=>[L]),_:1}),q])])]),e("li",null,[B,E,e("ul",null,[e("li",null,[o(n,{to:"/docs/guides/fields/#creating-a-field"},{default:l(()=>[K]),_:1})]),e("li",null,[o(n,{to:"/docs/guides/fields/#updating-a-field"},{default:l(()=>[V]),_:1})]),e("li",null,[o(n,{to:"/docs/guides/fields/#deleting-a-field"},{default:l(()=>[W]),_:1})]),e("li",null,[o(n,{to:"/docs/guides/fields/#duplicating-a-field"},{default:l(()=>[R]),_:1})]),e("li",null,[o(n,{to:"/docs/guides/fields/#adjusting-field-layout"},{default:l(()=>[H]),_:1})])])]),G]),J,Y,z,Q,X,Z,e("p",null,[$,o(n,{to:"/docs/concepts/application/#collection-detail"},{default:l(()=>[ee]),_:1}),te,o(n,{to:"/docs/concepts/relationships/#many-to-many-m2m"},{default:l(()=>[le]),_:1}),ne]),oe,ie,ae,se,ce,re,de,ue,he,ge,_e,pe,fe,me])]),_:1})}}};export{we as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as o,p as i,q as h,w as t,B as e,t as a,P as l}from"./vendor.
|
|
1
|
+
import{r as o,p as i,q as h,w as t,B as e,t as a,P as l}from"./vendor.a626ab9c.js";const d={class:"markdown-body"},p={class:"two-up"},u={class:"left"},_=l("Collections are the individual collections of items, similar to tables in a database. Changes to collections will alter the schema of the database. "),m=l("Learn more about Collections"),g=l("."),f=e("div",{class:"right"},[e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#the-collection-object"},"The Collection Object")]),e("li",null,[e("a",{href:"#list-collections"},"List Collections")]),e("li",null,[e("a",{href:"#retrieve-a-collection"},"Retrieve a Collection")]),e("li",null,[e("a",{href:"#create-a-collection"},"Create a Collection")]),e("li",null,[e("a",{href:"#update-a-collection"},"Update a Collection")]),e("li",null,[e("a",{href:"#delete-a-collection"},"Delete a Collection")])])])])],-1),j=e("hr",null,null,-1),y=e("h2",{id:"the-collection-object"},[l("The Collection Object "),e("a",{class:"header-anchor",href:"#the-collection-object"},"#")],-1),b=e("div",{class:"two-up"},[e("div",{class:"left"},[e("div",{class:"definitions"},[e("p",null,[e("code",null,"collection"),l(),e("strong",null,"string"),e("br"),l(" Name of the collection. This matches the table name in the database.")])]),e("h4",{id:"meta"},[l("Meta "),e("a",{class:"header-anchor",href:"#meta"},"#")]),e("p",null,"Directus metadata, primarily used in the Admin App."),e("div",{class:"definitions"},[e("p",null,[e("code",null,"collection"),l(),e("strong",null,"string"),e("br"),l(" Name of the collection. This matches the table name in the database.")]),e("p",null,[e("code",null,"icon"),l(),e("strong",null,"string"),e("br"),l(" Icon displayed in the Admin App when working with this collection.")]),e("p",null,[e("code",null,"note"),l(),e("strong",null,"string"),e("br"),l(" Short description displayed in the Admin App.")]),e("p",null,[e("code",null,"display_template"),l(),e("strong",null,"string"),e("br"),l(" How items in this collection should be displayed when viewed relationally in the Admin App.")]),e("p",null,[e("code",null,"hidden"),l(),e("strong",null,"boolean"),e("br"),l(" Whether or not this collection is hidden in the Admin App.")]),e("p",null,[e("code",null,"singleton"),l(),e("strong",null,"boolean"),e("br"),l(" Whether or not this collection is treated as a singleton.")]),e("p",null,[e("code",null,"translations"),l(),e("strong",null,"array"),e("br"),l(" How this collection\u2019s name is displayed in the different languages in the Admin App.")]),e("p",null,[e("code",null,"archive_field"),l(),e("strong",null,"string"),e("br"),l(" What field in the collection holds the archived state.")]),e("p",null,[e("code",null,"archive_value"),l(),e("strong",null,"string"),e("br"),l(" What value the archive field should be set to when archiving an item.")]),e("p",null,[e("code",null,"unarchive_value"),l(),e("strong",null,"string"),e("br"),l(" What value the archive field should be set to when unarchiving an item.")]),e("p",null,[e("code",null,"archive_app_filter"),l(),e("strong",null,"boolean"),e("br"),l(" Whether or not the Admin App should allow the user to view archived items.")]),e("p",null,[e("code",null,"sort_field"),l(),e("strong",null,"boolean"),e("br"),l(" What field holds the sort value on the collection. The Admin App uses this to allow drag-and-drop manual sorting.")])]),e("h4",{id:"schema"},[l("Schema "),e("a",{class:"header-anchor",href:"#schema"},"#")]),e("p",null,"\u201CRaw\u201D database information. Based on the database vendor used, different information might be returned. The following are available for all drivers."),e("div",{class:"definitions"},[e("p",null,[e("code",null,"name"),l(),e("strong",null,"string"),e("br"),l(" The table name.")]),e("p",null,[e("code",null,"comment"),l(),e("strong",null,"string"),e("br"),l(" The table comment.")])])]),e("div",{class:"right"},[e("pre",null,[e("code",{class:"language-json"},[l(`{
|
|
2
2
|
`),e("span",{class:"hljs-attr"},'"collection"'),l(": "),e("span",{class:"hljs-string"},'"articles"'),l(`,
|
|
3
3
|
`),e("span",{class:"hljs-attr"},'"meta"'),l(`: {
|
|
4
4
|
`),e("span",{class:"hljs-attr"},'"collection"'),l(": "),e("span",{class:"hljs-string"},'"articles"'),l(`,
|
package/dist/assets/{command-line-interface.e1beee60.js → command-line-interface.9a2a26c1.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as i,p as r,q as d,w as n,B as e,t as a,P as t}from"./vendor.
|
|
1
|
+
import{r as i,p as r,q as d,w as n,B as e,t as a,P as t}from"./vendor.a626ab9c.js";const h={class:"markdown-body"},u=e("blockquote",null,[e("p",null,"Directus has two command line interfaces (CLI) that you can use for various actions. One is used for server-side actions that relate to your on-prem instance, like migrating the database or resetting a user, while the other allows you to interact with a Directus instance as you would with an SDK.")],-1),p=e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#server"},"Server")]),e("li",null,[e("a",{href:"#client"},"Client")])])])],-1),_=e("h2",{id:"server"},[t("Server "),e("a",{class:"header-anchor",href:"#server"},"#")],-1),m=e("p",null,[t("For server-side CLI, all functionality can be accessed by running "),e("code",null,"npx directus <command>"),t(" in your project folder.")],-1),f=e("h3",{id:"initialize-a-new-project"},[t("Initialize a New Project "),e("a",{class:"header-anchor",href:"#initialize-a-new-project"},"#")],-1),g=e("pre",null,[e("code",null,`npx directus init
|
|
2
2
|
`)],-1),y=e("p",null,[t("Will install the required database driver, and create a "),e("code",null,".env"),t(" file based on the inputted values.")],-1),b=e("h3",{id:"bootstrap-a-project"},[t("Bootstrap a Project "),e("a",{class:"header-anchor",href:"#bootstrap-a-project"},"#")],-1),w=e("pre",null,[e("code",null,`npx directus bootstrap
|
|
3
3
|
`)],-1),v=e("p",null,[t("Will use an existing "),e("code",null,".env"),t(" file (or existing environment variables) to either install the database (if it\u2019s empty) or migrate it to the latest version (if it already exists and has missing migrations).")],-1),x=t("This is very useful to use in environments where you\u2019re doing standalone automatic deployments, like a multi-container Kubernetes configuration, or a similar approach on "),T=t("DigitalOcean App Platform"),k=t(" or "),D=t("AWS Elastic Beanstalk"),j={class:"tip hint"},I=e("div",{class:"hint-title"},"First User",-1),S=t("You can use the "),L=e("code",null,"ADMIN_EMAIL",-1),A=t(" and "),C=e("code",null,"ADMIN_PASSWORD",-1),q=t(" environment variables to automatically provision the first user on first creation using the "),B=e("code",null,"bootstrap",-1),M=t(" command. See "),N=t("Environment Variables"),Y=t(" for more information."),O=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Skip Admin User/Role"),e("p",null,[t("You can pass the "),e("code",null,"--skipAdminInit"),t(" option to "),e("code",null,"bootstrap"),t(", if you\u2019re creating your Admin role/user in another way (with a custom migration or an external service, for example).")])],-1),W=e("h3",{id:"install-the-database"},[t("Install the Database "),e("a",{class:"header-anchor",href:"#install-the-database"},"#")],-1),F=e("pre",null,[e("code",null,`npx directus database install
|
|
4
4
|
`)],-1),U=e("p",null,[t("Installs the Directus system tables on an empty database. Used internally by "),e("code",null,"bootstrap")],-1),E=e("h3",{id:"upgrade-the-database"},[t("Upgrade the Database "),e("a",{class:"header-anchor",href:"#upgrade-the-database"},"#")],-1),P=e("pre",null,[e("code",null,`npx directus database migrate:latest
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,p as n,q as c,w as i,B as e,P as s}from"./vendor.
|
|
1
|
+
import{r as a,p as n,q as c,w as i,B as e,P as s}from"./vendor.a626ab9c.js";const l=e("div",{class:"markdown-body"},[e("blockquote",null,[e("p",null,"TK")]),e("h2",{id:"why-isn%E2%80%99t-directus-properly-saving-chinese-characters-or-emoji%3F"},[s("Why isn\u2019t Directus properly saving Chinese characters or emoji? "),e("a",{class:"header-anchor",href:"#why-isn%E2%80%99t-directus-properly-saving-chinese-characters-or-emoji%3F"},"#")]),e("p",null,[s("Please ensure that the encoding for your database, tables, and fields are set to "),e("code",null,"utf8mb4"),s(".")])],-1),m={setup(p,{expose:t}){const r={title:"Common Issues",modularExtension:!1};return t({frontmatter:r}),(d,h)=>{const o=a("DocsWrapper");return n(),c(o,{frontmatter:r},{default:i(()=>[l]),_:1})}}};export{m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bE as y}from"./vendor.a626ab9c.js";function k(c,d){return d.forEach(function(i){Object.keys(i).forEach(function(l){if(l!=="default"&&!(l in c)){var u=Object.getOwnPropertyDescriptor(i,l);Object.defineProperty(c,l,u.get?u:{enumerable:!0,get:function(){return i[l]}})}})}),Object.freeze(c)}var x={exports:{}};(function(c,d){(function(i){i(y.exports)})(function(i){i.defineMode("commonlisp",function(l){var u=/^(block|let*|return-from|catch|load-time-value|setq|eval-when|locally|symbol-macrolet|flet|macrolet|tagbody|function|multiple-value-call|the|go|multiple-value-prog1|throw|if|progn|unwind-protect|labels|progv|let|quote)$/,s=/^with|^def|^do|^prog|case$|^cond$|bind$|when$|unless$/,a=/^(?:[+\-]?(?:\d+|\d*\.\d+)(?:[efd][+\-]?\d+)?|[+\-]?\d+(?:\/[+\-]?\d+)?|#b[+\-]?[01]+|#o[+\-]?[0-7]+|#x[+\-]?[\da-f]+)/,b=/[^\s'`,@()\[\]";]/,o;function f(e){for(var n;n=e.next();)if(n=="\\")e.next();else if(!b.test(n)){e.backUp(1);break}return e.current()}function p(e,n){if(e.eatSpace())return o="ws",null;if(e.match(a))return"number";var t=e.next();if(t=="\\"&&(t=e.next()),t=='"')return(n.tokenize=m)(e,n);if(t=="(")return o="open","bracket";if(t==")"||t=="]")return o="close","bracket";if(t==";")return e.skipToEnd(),o="ws","comment";if(/['`,@]/.test(t))return null;if(t=="|")return e.skipTo("|")?(e.next(),"symbol"):(e.skipToEnd(),"error");if(t=="#"){var t=e.next();return t=="("?(o="open","bracket"):/[+\-=\.']/.test(t)||/\d/.test(t)&&e.match(/^\d*#/)?null:t=="|"?(n.tokenize=v)(e,n):t==":"?(f(e),"meta"):t=="\\"?(e.next(),f(e),"string-2"):"error"}else{var r=f(e);return r=="."?null:(o="symbol",r=="nil"||r=="t"||r.charAt(0)==":"?"atom":n.lastType=="open"&&(u.test(r)||s.test(r))?"keyword":r.charAt(0)=="&"?"variable-2":"variable")}}function m(e,n){for(var t=!1,r;r=e.next();){if(r=='"'&&!t){n.tokenize=p;break}t=!t&&r=="\\"}return"string"}function v(e,n){for(var t,r;t=e.next();){if(t=="#"&&r=="|"){n.tokenize=p;break}r=t}return o="ws","comment"}return{startState:function(){return{ctx:{prev:null,start:0,indentTo:0},lastType:null,tokenize:p}},token:function(e,n){e.sol()&&typeof n.ctx.indentTo!="number"&&(n.ctx.indentTo=n.ctx.start+1),o=null;var t=n.tokenize(e,n);return o!="ws"&&(n.ctx.indentTo==null?o=="symbol"&&s.test(e.current())?n.ctx.indentTo=n.ctx.start+l.indentUnit:n.ctx.indentTo="next":n.ctx.indentTo=="next"&&(n.ctx.indentTo=e.column()),n.lastType=o),o=="open"?n.ctx={prev:n.ctx,start:e.column(),indentTo:null}:o=="close"&&(n.ctx=n.ctx.prev||n.ctx),t},indent:function(e,n){var t=e.ctx.indentTo;return typeof t=="number"?t:e.ctx.start+1},closeBrackets:{pairs:'()[]{}""'},lineComment:";;",blockCommentStart:"#|",blockCommentEnd:"|#"}}),i.defineMIME("text/x-common-lisp","commonlisp")})})();var h=x.exports,g=Object.freeze(k({__proto__:null,[Symbol.toStringTag]:"Module",default:h},[x.exports]));export{g as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as e,p as r,q as i,w as a,B as s,t as h,P as n}from"./vendor.
|
|
1
|
+
import{r as e,p as r,q as i,w as a,B as s,t as h,P as n}from"./vendor.a626ab9c.js";const p={class:"markdown-body"},u=s("p",null,[n("By default, Directus will read the "),s("code",null,".env"),n(" file located next to your project\u2019s "),s("code",null,"package.json"),n(" for it\u2019s config. You can change the path where this file is read from, including the filename, by setting the "),s("code",null,"CONFIG_PATH"),n(" environment variable before starting Directus.")],-1),f=s("p",null,[n("For example: "),s("code",null,'CONFIG_PATH="/path/to/config.js" npx directus start')],-1),_=s("p",null,"The config file can be one of the following formats:",-1),d=s("p",null,[s("div",{class:"table-of-contents"},[s("ul",null,[s("li",null,[s("a",{href:"#.env"},".env")]),s("li",null,[s("a",{href:"#config.json"},"config.json")]),s("li",null,[s("a",{href:"#config.yaml"},"config.yaml")]),s("li",null,[s("a",{href:"#config.js"},"config.js")])])])],-1),j={class:"tip hint"},g=s("div",{class:"hint-title"},"Configuration Parameters",-1),m=n("See "),v=n("Environment Variables"),b=n(" for an overview of all available environment variables."),y=s("h2",{id:".env"},[n(".env "),s("a",{class:"header-anchor",href:"#.env"},"#")],-1),T=s("p",null,"If the config path has no file extension, or a file extension that\u2019s not one of the other supported formats, Directus will try reading the file config path as environment variables. This has the following structure:",-1),O=s("pre",null,[s("code",null,`PORT=8055
|
|
2
2
|
|
|
3
3
|
DB_CLIENT="pg"
|
|
4
4
|
DB_HOST="localhost"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bE as L}from"./vendor.a626ab9c.js";function q(v,b){return b.forEach(function(c){Object.keys(c).forEach(function(f){if(f!=="default"&&!(f in v)){var o=Object.getOwnPropertyDescriptor(c,f);Object.defineProperty(v,f,o.get?o:{enumerable:!0,get:function(){return c[f]}})}})}),Object.freeze(v)}var O={exports:{}};(function(v,b){(function(c){c(L.exports)})(function(c){c.defineMode("crystal",function(f){function o(n,e){return new RegExp((e?"":"^")+"(?:"+n.join("|")+")"+(e?"$":"\\b"))}function l(n,e,r){return r.tokenize.push(n),n(e,r)}var _=/^(?:[-+/%|&^]|\*\*?|[<>]{2})/,z=/^(?:[=!]~|===|<=>|[<>=!]=?|[|&]{2}|~)/,g=/^(?:\[\][?=]?)/,T=/^(?:\.(?:\.{2})?|->|[?:])/,h=/^[a-z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,F=/^[A-Z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,A=o(["abstract","alias","as","asm","begin","break","case","class","def","do","else","elsif","end","ensure","enum","extend","for","fun","if","include","instance_sizeof","lib","macro","module","next","of","out","pointerof","private","protected","rescue","return","require","select","sizeof","struct","super","then","type","typeof","uninitialized","union","unless","until","when","while","with","yield","__DIR__","__END_LINE__","__FILE__","__LINE__"]),j=o(["true","false","nil","self"]),K=["def","fun","macro","class","module","struct","lib","enum","union","do","for"],P=o(K),D=["if","unless","case","while","until","begin","then"],M=o(D),s=["end","else","elsif","rescue","ensure"],N=o(s),I=["\\)","\\}","\\]"],Z=new RegExp("^(?:"+I.join("|")+")$"),E={def:S,fun:S,macro:$,class:p,module:p,struct:p,lib:p,enum:p,union:p},y={"[":"]","{":"}","(":")","<":">"};function w(n,e){if(n.eatSpace())return null;if(e.lastToken!="\\"&&n.match("{%",!1))return l(a("%","%"),n,e);if(e.lastToken!="\\"&&n.match("{{",!1))return l(a("{","}"),n,e);if(n.peek()=="#")return n.skipToEnd(),"comment";var r;if(n.match(h))return n.eat(/[?!]/),r=n.current(),n.eat(":")?"atom":e.lastToken=="."?"property":A.test(r)?(P.test(r)?!(r=="fun"&&e.blocks.indexOf("lib")>=0)&&!(r=="def"&&e.lastToken=="abstract")&&(e.blocks.push(r),e.currentIndent+=1):(e.lastStyle=="operator"||!e.lastStyle)&&M.test(r)?(e.blocks.push(r),e.currentIndent+=1):r=="end"&&(e.blocks.pop(),e.currentIndent-=1),E.hasOwnProperty(r)&&e.tokenize.push(E[r]),"keyword"):j.test(r)?"atom":"variable";if(n.eat("@"))return n.peek()=="["?l(d("[","]","meta"),n,e):(n.eat("@"),n.match(h)||n.match(F),"variable-2");if(n.match(F))return"tag";if(n.eat(":"))return n.eat('"')?l(x('"',"atom",!1),n,e):n.match(h)||n.match(F)||n.match(_)||n.match(z)||n.match(g)?"atom":(n.eat(":"),"operator");if(n.eat('"'))return l(x('"',"string",!0),n,e);if(n.peek()=="%"){var u="string",t=!0,i;if(n.match("%r"))u="string-2",i=n.next();else if(n.match("%w"))t=!1,i=n.next();else if(n.match("%q"))t=!1,i=n.next();else if(i=n.match(/^%([^\w\s=])/))i=i[1];else{if(n.match(/^%[a-zA-Z_\u009F-\uFFFF][\w\u009F-\uFFFF]*/))return"meta";if(n.eat("%"))return"operator"}return y.hasOwnProperty(i)&&(i=y[i]),l(x(i,u,t),n,e)}return(r=n.match(/^<<-('?)([A-Z]\w*)\1/))?l(R(r[2],!r[1]),n,e):n.eat("'")?(n.match(/^(?:[^']|\\(?:[befnrtv0'"]|[0-7]{3}|u(?:[0-9a-fA-F]{4}|\{[0-9a-fA-F]{1,6}\})))/),n.eat("'"),"atom"):n.eat("0")?(n.eat("x")?n.match(/^[0-9a-fA-F_]+/):n.eat("o")?n.match(/^[0-7_]+/):n.eat("b")&&n.match(/^[01_]+/),"number"):n.eat(/^\d/)?(n.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+-]?\d+)?/),"number"):n.match(_)?(n.eat("="),"operator"):n.match(z)||n.match(T)?"operator":(r=n.match(/[({[]/,!1))?(r=r[0],l(d(r,y[r],null),n,e)):n.eat("\\")?(n.next(),"meta"):(n.next(),null)}function d(n,e,r,u){return function(t,i){if(!u&&t.match(n))return i.tokenize[i.tokenize.length-1]=d(n,e,r,!0),i.currentIndent+=1,r;var k=w(t,i);return t.current()===e&&(i.tokenize.pop(),i.currentIndent-=1,k=r),k}}function a(n,e,r){return function(u,t){return!r&&u.match("{"+n)?(t.currentIndent+=1,t.tokenize[t.tokenize.length-1]=a(n,e,!0),"meta"):u.match(e+"}")?(t.currentIndent-=1,t.tokenize.pop(),"meta"):w(u,t)}}function $(n,e){if(n.eatSpace())return null;var r;if(r=n.match(h)){if(r=="def")return"keyword";n.eat(/[?!]/)}return e.tokenize.pop(),"def"}function S(n,e){return n.eatSpace()?null:(n.match(h)?n.eat(/[!?]/):n.match(_)||n.match(z)||n.match(g),e.tokenize.pop(),"def")}function p(n,e){return n.eatSpace()?null:(n.match(F),e.tokenize.pop(),"def")}function x(n,e,r){return function(u,t){for(var i=!1;u.peek();)if(i)u.next(),i=!1;else{if(u.match("{%",!1))return t.tokenize.push(a("%","%")),e;if(u.match("{{",!1))return t.tokenize.push(a("{","}")),e;if(r&&u.match("#{",!1))return t.tokenize.push(d("#{","}","meta")),e;var k=u.next();if(k==n)return t.tokenize.pop(),e;i=r&&k=="\\"}return e}}function R(n,e){return function(r,u){if(r.sol()&&(r.eatSpace(),r.match(n)))return u.tokenize.pop(),"string";for(var t=!1;r.peek();)if(t)r.next(),t=!1;else{if(r.match("{%",!1))return u.tokenize.push(a("%","%")),"string";if(r.match("{{",!1))return u.tokenize.push(a("{","}")),"string";if(e&&r.match("#{",!1))return u.tokenize.push(d("#{","}","meta")),"string";t=e&&r.next()=="\\"}return"string"}}return{startState:function(){return{tokenize:[w],currentIndent:0,lastToken:null,lastStyle:null,blocks:[]}},token:function(n,e){var r=e.tokenize[e.tokenize.length-1](n,e),u=n.current();return r&&r!="comment"&&(e.lastToken=u,e.lastStyle=r),r},indent:function(n,e){return e=e.replace(/^\s*(?:\{%)?\s*|\s*(?:%\})?\s*$/g,""),N.test(e)||Z.test(e)?f.indentUnit*(n.currentIndent-1):f.indentUnit*n.currentIndent},fold:"indent",electricInput:o(I.concat(s),!0),lineComment:"#"}}),c.defineMIME("text/x-crystal","crystal")})})();var U=O.exports,H=Object.freeze(q({__proto__:null,[Symbol.toStringTag]:"Module",default:U},[O.exports]));export{H as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bA as de}from"./vendor.62143b15.js";function ue(v,O){return O.forEach(function(u){Object.keys(u).forEach(function(d){if(d!=="default"&&!(d in v)){var w=Object.getOwnPropertyDescriptor(u,d);Object.defineProperty(v,d,w.get?w:{enumerable:!0,get:function(){return u[d]}})}})}),Object.freeze(v)}var G={exports:{}};(function(v,O){(function(u){u(de.exports)})(function(u){u.defineMode("css",function(o,i){var f=i.inline;i.propertyKeywords||(i=u.resolveMode("text/css"));var g=o.indentUnit,L=i.tokenHooks,ee=i.documentTypes||{},re=i.mediaTypes||{},te=i.mediaFeatures||{},oe=i.mediaValueKeywords||{},N=i.propertyKeywords||{},M=i.nonStandardPropertyKeywords||{},ie=i.fontProperties||{},ne=i.counterDescriptors||{},C=i.colorKeywords||{},I=i.valueKeywords||{},k=i.allowNested,ae=i.lineComment,le=i.supportsAtComponent===!0,X=o.highlightNonStandardPropertyKeywords!==!1,T,n;function c(e,t){return T=t,e}function se(e,t){var r=e.next();if(L[r]){var a=L[r](e,t);if(a!==!1)return a}if(r=="@")return e.eatWhile(/[\w\\\-]/),c("def",e.current());if(r=="="||(r=="~"||r=="|")&&e.eat("="))return c(null,"compare");if(r=='"'||r=="'")return t.tokenize=Y(r),t.tokenize(e,t);if(r=="#")return e.eatWhile(/[\w\\\-]/),c("atom","hash");if(r=="!")return e.match(/^\s*\w*/),c("keyword","important");if(/\d/.test(r)||r=="."&&e.eat(/\d/))return e.eatWhile(/[\w.%]/),c("number","unit");if(r==="-"){if(/[\d.]/.test(e.peek()))return e.eatWhile(/[\w.%]/),c("number","unit");if(e.match(/^-[\w\\\-]*/))return e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?c("variable-2","variable-definition"):c("variable-2","variable");if(e.match(/^\w+-/))return c("meta","meta")}else return/[,+>*\/]/.test(r)?c(null,"select-op"):r=="."&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?c("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?c(null,r):e.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(e.current())&&(t.tokenize=ce),c("variable callee","variable")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),c("property","word")):c(null,null)}function Y(e){return function(t,r){for(var a=!1,p;(p=t.next())!=null;){if(p==e&&!a){e==")"&&t.backUp(1);break}a=!a&&p=="\\"}return(p==e||!a&&e!=")")&&(r.tokenize=null),c("string","string")}}function ce(e,t){return e.next(),e.match(/^\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=Y(")"),c(null,"(")}function U(e,t,r){this.type=e,this.indent=t,this.prev=r}function s(e,t,r,a){return e.context=new U(r,t.indentation()+(a===!1?0:g),e.context),r}function m(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function y(e,t,r){return l[r.context.type](e,t,r)}function h(e,t,r,a){for(var p=a||1;p>0;p--)r.context=r.context.prev;return y(e,t,r)}function Z(e){var t=e.current().toLowerCase();I.hasOwnProperty(t)?n="atom":C.hasOwnProperty(t)?n="keyword":n="variable"}var l={};return l.top=function(e,t,r){if(e=="{")return s(r,t,"block");if(e=="}"&&r.context.prev)return m(r);if(le&&/@component/i.test(e))return s(r,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return s(r,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return s(r,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&e.charAt(0)=="@")return s(r,t,"at");if(e=="hash")n="builtin";else if(e=="word")n="tag";else{if(e=="variable-definition")return"maybeprop";if(e=="interpolation")return s(r,t,"interpolation");if(e==":")return"pseudo";if(k&&e=="(")return s(r,t,"parens")}return r.context.type},l.block=function(e,t,r){if(e=="word"){var a=t.current().toLowerCase();return N.hasOwnProperty(a)?(n="property","maybeprop"):M.hasOwnProperty(a)?(n=X?"string-2":"property","maybeprop"):k?(n=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(n+=" error","maybeprop")}else return e=="meta"?"block":!k&&(e=="hash"||e=="qualifier")?(n="error","block"):l.top(e,t,r)},l.maybeprop=function(e,t,r){return e==":"?s(r,t,"prop"):y(e,t,r)},l.prop=function(e,t,r){if(e==";")return m(r);if(e=="{"&&k)return s(r,t,"propBlock");if(e=="}"||e=="{")return h(e,t,r);if(e=="(")return s(r,t,"parens");if(e=="hash"&&!/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current()))n+=" error";else if(e=="word")Z(t);else if(e=="interpolation")return s(r,t,"interpolation");return"prop"},l.propBlock=function(e,t,r){return e=="}"?m(r):e=="word"?(n="property","maybeprop"):r.context.type},l.parens=function(e,t,r){return e=="{"||e=="}"?h(e,t,r):e==")"?m(r):e=="("?s(r,t,"parens"):e=="interpolation"?s(r,t,"interpolation"):(e=="word"&&Z(t),"parens")},l.pseudo=function(e,t,r){return e=="meta"?"pseudo":e=="word"?(n="variable-3",r.context.type):y(e,t,r)},l.documentTypes=function(e,t,r){return e=="word"&&ee.hasOwnProperty(t.current())?(n="tag",r.context.type):l.atBlock(e,t,r)},l.atBlock=function(e,t,r){if(e=="(")return s(r,t,"atBlock_parens");if(e=="}"||e==";")return h(e,t,r);if(e=="{")return m(r)&&s(r,t,k?"block":"top");if(e=="interpolation")return s(r,t,"interpolation");if(e=="word"){var a=t.current().toLowerCase();a=="only"||a=="not"||a=="and"||a=="or"?n="keyword":re.hasOwnProperty(a)?n="attribute":te.hasOwnProperty(a)?n="property":oe.hasOwnProperty(a)?n="keyword":N.hasOwnProperty(a)?n="property":M.hasOwnProperty(a)?n=X?"string-2":"property":I.hasOwnProperty(a)?n="atom":C.hasOwnProperty(a)?n="keyword":n="error"}return r.context.type},l.atComponentBlock=function(e,t,r){return e=="}"?h(e,t,r):e=="{"?m(r)&&s(r,t,k?"block":"top",!1):(e=="word"&&(n="error"),r.context.type)},l.atBlock_parens=function(e,t,r){return e==")"?m(r):e=="{"||e=="}"?h(e,t,r,2):l.atBlock(e,t,r)},l.restricted_atBlock_before=function(e,t,r){return e=="{"?s(r,t,"restricted_atBlock"):e=="word"&&r.stateArg=="@counter-style"?(n="variable","restricted_atBlock_before"):y(e,t,r)},l.restricted_atBlock=function(e,t,r){return e=="}"?(r.stateArg=null,m(r)):e=="word"?(r.stateArg=="@font-face"&&!ie.hasOwnProperty(t.current().toLowerCase())||r.stateArg=="@counter-style"&&!ne.hasOwnProperty(t.current().toLowerCase())?n="error":n="property","maybeprop"):"restricted_atBlock"},l.keyframes=function(e,t,r){return e=="word"?(n="variable","keyframes"):e=="{"?s(r,t,"top"):y(e,t,r)},l.at=function(e,t,r){return e==";"?m(r):e=="{"||e=="}"?h(e,t,r):(e=="word"?n="tag":e=="hash"&&(n="builtin"),"at")},l.interpolation=function(e,t,r){return e=="}"?m(r):e=="{"||e==";"?h(e,t,r):(e=="word"?n="variable":e!="variable"&&e!="("&&e!=")"&&(n="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:f?"block":"top",stateArg:null,context:new U(f?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||se)(e,t);return r&&typeof r=="object"&&(T=r[1],r=r[0]),n=r,T!="comment"&&(t.state=l[t.state](T,e,t)),n},indent:function(e,t){var r=e.context,a=t&&t.charAt(0),p=r.indent;return r.type=="prop"&&(a=="}"||a==")")&&(r=r.prev),r.prev&&(a=="}"&&(r.type=="block"||r.type=="top"||r.type=="interpolation"||r.type=="restricted_atBlock")?(r=r.prev,p=r.indent):(a==")"&&(r.type=="parens"||r.type=="atBlock_parens")||a=="{"&&(r.type=="at"||r.type=="atBlock"))&&(p=Math.max(0,r.indent-g))),p},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:ae,fold:"brace"}});function d(o){for(var i={},f=0;f<o.length;++f)i[o[f].toLowerCase()]=!0;return i}var w=["domain","regexp","url","url-prefix"],S=d(w),A=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],x=d(A),E=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover","prefers-color-scheme"],z=d(E),F=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive","dark","light"],B=d(F),W=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","all","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","binding","bleed","block-size","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-content","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-height-step","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotate","rotation","rotation-point","row-gap","ruby-align","ruby-overhang","ruby-position","ruby-span","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-type","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-orientation","text-outline","text-overflow","text-rendering","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","paint-order","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],K=d(W),$=["accent-color","aspect-ratio","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","content-visibility","margin-block","margin-block-end","margin-block-start","margin-inline","margin-inline-end","margin-inline-start","overflow-anchor","overscroll-behavior","padding-block","padding-block-end","padding-block-start","padding-inline","padding-inline-end","padding-inline-start","scroll-snap-stop","scrollbar-3d-light-color","scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","shape-inside","zoom"],P=d($),J=["font-display","font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],_=d(J),Q=["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"],V=d(Q),D=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],j=d(D),H=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","blur","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","brightness","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","contrast","copy","counter","counters","cover","crop","cross","crosshair","cubic-bezier","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","drop-shadow","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","grayscale","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","hue-rotate","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","manipulation","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiple_mask_images","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturate","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","sepia","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],q=d(H),R=w.concat(A).concat(E).concat(F).concat(W).concat($).concat(D).concat(H);u.registerHelper("hintWords","css",R);function b(o,i){for(var f=!1,g;(g=o.next())!=null;){if(f&&g=="/"){i.tokenize=null;break}f=g=="*"}return["comment","comment"]}u.defineMIME("text/css",{documentTypes:S,mediaTypes:x,mediaFeatures:z,mediaValueKeywords:B,propertyKeywords:K,nonStandardPropertyKeywords:P,fontProperties:_,counterDescriptors:V,colorKeywords:j,valueKeywords:q,tokenHooks:{"/":function(o,i){return o.eat("*")?(i.tokenize=b,b(o,i)):!1}},name:"css"}),u.defineMIME("text/x-scss",{mediaTypes:x,mediaFeatures:z,mediaValueKeywords:B,propertyKeywords:K,nonStandardPropertyKeywords:P,colorKeywords:j,valueKeywords:q,fontProperties:_,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(o,i){return o.eat("/")?(o.skipToEnd(),["comment","comment"]):o.eat("*")?(i.tokenize=b,b(o,i)):["operator","operator"]},":":function(o){return o.match(/^\s*\{/,!1)?[null,null]:!1},$:function(o){return o.match(/^[\w-]+/),o.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(o){return o.eat("{")?[null,"interpolation"]:!1}},name:"css",helperType:"scss"}),u.defineMIME("text/x-less",{mediaTypes:x,mediaFeatures:z,mediaValueKeywords:B,propertyKeywords:K,nonStandardPropertyKeywords:P,colorKeywords:j,valueKeywords:q,fontProperties:_,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(o,i){return o.eat("/")?(o.skipToEnd(),["comment","comment"]):o.eat("*")?(i.tokenize=b,b(o,i)):["operator","operator"]},"@":function(o){return o.eat("{")?[null,"interpolation"]:o.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)?!1:(o.eatWhile(/[\w\\\-]/),o.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),u.defineMIME("text/x-gss",{documentTypes:S,mediaTypes:x,mediaFeatures:z,propertyKeywords:K,nonStandardPropertyKeywords:P,fontProperties:_,counterDescriptors:V,colorKeywords:j,valueKeywords:q,supportsAtComponent:!0,tokenHooks:{"/":function(o,i){return o.eat("*")?(i.tokenize=b,b(o,i)):!1}},name:"css",helperType:"gss"})})})();var pe=G.exports,fe=Object.freeze(ue({__proto__:null,[Symbol.toStringTag]:"Module",default:pe},[G.exports]));export{G as a,fe as c};
|
|
1
|
+
import{bE as de}from"./vendor.a626ab9c.js";function ue(v,O){return O.forEach(function(u){Object.keys(u).forEach(function(d){if(d!=="default"&&!(d in v)){var w=Object.getOwnPropertyDescriptor(u,d);Object.defineProperty(v,d,w.get?w:{enumerable:!0,get:function(){return u[d]}})}})}),Object.freeze(v)}var G={exports:{}};(function(v,O){(function(u){u(de.exports)})(function(u){u.defineMode("css",function(o,i){var f=i.inline;i.propertyKeywords||(i=u.resolveMode("text/css"));var g=o.indentUnit,L=i.tokenHooks,ee=i.documentTypes||{},re=i.mediaTypes||{},te=i.mediaFeatures||{},oe=i.mediaValueKeywords||{},N=i.propertyKeywords||{},M=i.nonStandardPropertyKeywords||{},ie=i.fontProperties||{},ne=i.counterDescriptors||{},C=i.colorKeywords||{},I=i.valueKeywords||{},k=i.allowNested,ae=i.lineComment,le=i.supportsAtComponent===!0,X=o.highlightNonStandardPropertyKeywords!==!1,T,n;function c(e,t){return T=t,e}function se(e,t){var r=e.next();if(L[r]){var a=L[r](e,t);if(a!==!1)return a}if(r=="@")return e.eatWhile(/[\w\\\-]/),c("def",e.current());if(r=="="||(r=="~"||r=="|")&&e.eat("="))return c(null,"compare");if(r=='"'||r=="'")return t.tokenize=Y(r),t.tokenize(e,t);if(r=="#")return e.eatWhile(/[\w\\\-]/),c("atom","hash");if(r=="!")return e.match(/^\s*\w*/),c("keyword","important");if(/\d/.test(r)||r=="."&&e.eat(/\d/))return e.eatWhile(/[\w.%]/),c("number","unit");if(r==="-"){if(/[\d.]/.test(e.peek()))return e.eatWhile(/[\w.%]/),c("number","unit");if(e.match(/^-[\w\\\-]*/))return e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?c("variable-2","variable-definition"):c("variable-2","variable");if(e.match(/^\w+-/))return c("meta","meta")}else return/[,+>*\/]/.test(r)?c(null,"select-op"):r=="."&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?c("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?c(null,r):e.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(e.current())&&(t.tokenize=ce),c("variable callee","variable")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),c("property","word")):c(null,null)}function Y(e){return function(t,r){for(var a=!1,p;(p=t.next())!=null;){if(p==e&&!a){e==")"&&t.backUp(1);break}a=!a&&p=="\\"}return(p==e||!a&&e!=")")&&(r.tokenize=null),c("string","string")}}function ce(e,t){return e.next(),e.match(/^\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=Y(")"),c(null,"(")}function U(e,t,r){this.type=e,this.indent=t,this.prev=r}function s(e,t,r,a){return e.context=new U(r,t.indentation()+(a===!1?0:g),e.context),r}function m(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function y(e,t,r){return l[r.context.type](e,t,r)}function h(e,t,r,a){for(var p=a||1;p>0;p--)r.context=r.context.prev;return y(e,t,r)}function Z(e){var t=e.current().toLowerCase();I.hasOwnProperty(t)?n="atom":C.hasOwnProperty(t)?n="keyword":n="variable"}var l={};return l.top=function(e,t,r){if(e=="{")return s(r,t,"block");if(e=="}"&&r.context.prev)return m(r);if(le&&/@component/i.test(e))return s(r,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return s(r,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return s(r,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&e.charAt(0)=="@")return s(r,t,"at");if(e=="hash")n="builtin";else if(e=="word")n="tag";else{if(e=="variable-definition")return"maybeprop";if(e=="interpolation")return s(r,t,"interpolation");if(e==":")return"pseudo";if(k&&e=="(")return s(r,t,"parens")}return r.context.type},l.block=function(e,t,r){if(e=="word"){var a=t.current().toLowerCase();return N.hasOwnProperty(a)?(n="property","maybeprop"):M.hasOwnProperty(a)?(n=X?"string-2":"property","maybeprop"):k?(n=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(n+=" error","maybeprop")}else return e=="meta"?"block":!k&&(e=="hash"||e=="qualifier")?(n="error","block"):l.top(e,t,r)},l.maybeprop=function(e,t,r){return e==":"?s(r,t,"prop"):y(e,t,r)},l.prop=function(e,t,r){if(e==";")return m(r);if(e=="{"&&k)return s(r,t,"propBlock");if(e=="}"||e=="{")return h(e,t,r);if(e=="(")return s(r,t,"parens");if(e=="hash"&&!/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current()))n+=" error";else if(e=="word")Z(t);else if(e=="interpolation")return s(r,t,"interpolation");return"prop"},l.propBlock=function(e,t,r){return e=="}"?m(r):e=="word"?(n="property","maybeprop"):r.context.type},l.parens=function(e,t,r){return e=="{"||e=="}"?h(e,t,r):e==")"?m(r):e=="("?s(r,t,"parens"):e=="interpolation"?s(r,t,"interpolation"):(e=="word"&&Z(t),"parens")},l.pseudo=function(e,t,r){return e=="meta"?"pseudo":e=="word"?(n="variable-3",r.context.type):y(e,t,r)},l.documentTypes=function(e,t,r){return e=="word"&&ee.hasOwnProperty(t.current())?(n="tag",r.context.type):l.atBlock(e,t,r)},l.atBlock=function(e,t,r){if(e=="(")return s(r,t,"atBlock_parens");if(e=="}"||e==";")return h(e,t,r);if(e=="{")return m(r)&&s(r,t,k?"block":"top");if(e=="interpolation")return s(r,t,"interpolation");if(e=="word"){var a=t.current().toLowerCase();a=="only"||a=="not"||a=="and"||a=="or"?n="keyword":re.hasOwnProperty(a)?n="attribute":te.hasOwnProperty(a)?n="property":oe.hasOwnProperty(a)?n="keyword":N.hasOwnProperty(a)?n="property":M.hasOwnProperty(a)?n=X?"string-2":"property":I.hasOwnProperty(a)?n="atom":C.hasOwnProperty(a)?n="keyword":n="error"}return r.context.type},l.atComponentBlock=function(e,t,r){return e=="}"?h(e,t,r):e=="{"?m(r)&&s(r,t,k?"block":"top",!1):(e=="word"&&(n="error"),r.context.type)},l.atBlock_parens=function(e,t,r){return e==")"?m(r):e=="{"||e=="}"?h(e,t,r,2):l.atBlock(e,t,r)},l.restricted_atBlock_before=function(e,t,r){return e=="{"?s(r,t,"restricted_atBlock"):e=="word"&&r.stateArg=="@counter-style"?(n="variable","restricted_atBlock_before"):y(e,t,r)},l.restricted_atBlock=function(e,t,r){return e=="}"?(r.stateArg=null,m(r)):e=="word"?(r.stateArg=="@font-face"&&!ie.hasOwnProperty(t.current().toLowerCase())||r.stateArg=="@counter-style"&&!ne.hasOwnProperty(t.current().toLowerCase())?n="error":n="property","maybeprop"):"restricted_atBlock"},l.keyframes=function(e,t,r){return e=="word"?(n="variable","keyframes"):e=="{"?s(r,t,"top"):y(e,t,r)},l.at=function(e,t,r){return e==";"?m(r):e=="{"||e=="}"?h(e,t,r):(e=="word"?n="tag":e=="hash"&&(n="builtin"),"at")},l.interpolation=function(e,t,r){return e=="}"?m(r):e=="{"||e==";"?h(e,t,r):(e=="word"?n="variable":e!="variable"&&e!="("&&e!=")"&&(n="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:f?"block":"top",stateArg:null,context:new U(f?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||se)(e,t);return r&&typeof r=="object"&&(T=r[1],r=r[0]),n=r,T!="comment"&&(t.state=l[t.state](T,e,t)),n},indent:function(e,t){var r=e.context,a=t&&t.charAt(0),p=r.indent;return r.type=="prop"&&(a=="}"||a==")")&&(r=r.prev),r.prev&&(a=="}"&&(r.type=="block"||r.type=="top"||r.type=="interpolation"||r.type=="restricted_atBlock")?(r=r.prev,p=r.indent):(a==")"&&(r.type=="parens"||r.type=="atBlock_parens")||a=="{"&&(r.type=="at"||r.type=="atBlock"))&&(p=Math.max(0,r.indent-g))),p},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:ae,fold:"brace"}});function d(o){for(var i={},f=0;f<o.length;++f)i[o[f].toLowerCase()]=!0;return i}var w=["domain","regexp","url","url-prefix"],S=d(w),A=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],x=d(A),E=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover","prefers-color-scheme"],z=d(E),F=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive","dark","light"],B=d(F),W=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","all","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","binding","bleed","block-size","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-content","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-height-step","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotate","rotation","rotation-point","row-gap","ruby-align","ruby-overhang","ruby-position","ruby-span","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-type","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-orientation","text-outline","text-overflow","text-rendering","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","paint-order","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],K=d(W),$=["accent-color","aspect-ratio","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","content-visibility","margin-block","margin-block-end","margin-block-start","margin-inline","margin-inline-end","margin-inline-start","overflow-anchor","overscroll-behavior","padding-block","padding-block-end","padding-block-start","padding-inline","padding-inline-end","padding-inline-start","scroll-snap-stop","scrollbar-3d-light-color","scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","shape-inside","zoom"],P=d($),J=["font-display","font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],_=d(J),Q=["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"],V=d(Q),D=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],j=d(D),H=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","blur","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","brightness","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","contrast","copy","counter","counters","cover","crop","cross","crosshair","cubic-bezier","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","drop-shadow","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","grayscale","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","hue-rotate","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","manipulation","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiple_mask_images","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturate","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","sepia","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],q=d(H),R=w.concat(A).concat(E).concat(F).concat(W).concat($).concat(D).concat(H);u.registerHelper("hintWords","css",R);function b(o,i){for(var f=!1,g;(g=o.next())!=null;){if(f&&g=="/"){i.tokenize=null;break}f=g=="*"}return["comment","comment"]}u.defineMIME("text/css",{documentTypes:S,mediaTypes:x,mediaFeatures:z,mediaValueKeywords:B,propertyKeywords:K,nonStandardPropertyKeywords:P,fontProperties:_,counterDescriptors:V,colorKeywords:j,valueKeywords:q,tokenHooks:{"/":function(o,i){return o.eat("*")?(i.tokenize=b,b(o,i)):!1}},name:"css"}),u.defineMIME("text/x-scss",{mediaTypes:x,mediaFeatures:z,mediaValueKeywords:B,propertyKeywords:K,nonStandardPropertyKeywords:P,colorKeywords:j,valueKeywords:q,fontProperties:_,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(o,i){return o.eat("/")?(o.skipToEnd(),["comment","comment"]):o.eat("*")?(i.tokenize=b,b(o,i)):["operator","operator"]},":":function(o){return o.match(/^\s*\{/,!1)?[null,null]:!1},$:function(o){return o.match(/^[\w-]+/),o.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(o){return o.eat("{")?[null,"interpolation"]:!1}},name:"css",helperType:"scss"}),u.defineMIME("text/x-less",{mediaTypes:x,mediaFeatures:z,mediaValueKeywords:B,propertyKeywords:K,nonStandardPropertyKeywords:P,colorKeywords:j,valueKeywords:q,fontProperties:_,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(o,i){return o.eat("/")?(o.skipToEnd(),["comment","comment"]):o.eat("*")?(i.tokenize=b,b(o,i)):["operator","operator"]},"@":function(o){return o.eat("{")?[null,"interpolation"]:o.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)?!1:(o.eatWhile(/[\w\\\-]/),o.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),u.defineMIME("text/x-gss",{documentTypes:S,mediaTypes:x,mediaFeatures:z,propertyKeywords:K,nonStandardPropertyKeywords:P,fontProperties:_,counterDescriptors:V,colorKeywords:j,valueKeywords:q,supportsAtComponent:!0,tokenHooks:{"/":function(o,i){return o.eat("*")?(i.tokenize=b,b(o,i)):!1}},name:"css",helperType:"gss"})})})();var pe=G.exports,fe=Object.freeze(ue({__proto__:null,[Symbol.toStringTag]:"Module",default:pe},[G.exports]));export{G as a,fe as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
2
|
-
`),u=/\s+\b(return|where|order by|match|with|skip|limit|create|delete|set)\b\s/g,
|
|
1
|
+
import{bE as w}from"./vendor.a626ab9c.js";function k(p,d){return d.forEach(function(i){Object.keys(i).forEach(function(o){if(o!=="default"&&!(o in p)){var a=Object.getOwnPropertyDescriptor(i,o);Object.defineProperty(p,o,a.get?a:{enumerable:!0,get:function(){return i[o]}})}})}),Object.freeze(p)}var x={exports:{}};(function(p,d){(function(i){i(w.exports)})(function(i){var o=function(a){return new RegExp("^(?:"+a.join("|")+")$","i")};i.defineMode("cypher",function(a){var l=function(n){var e=n.next();if(e==='"')return n.match(/^[^"]*"/),"string";if(e==="'")return n.match(/^[^']*'/),"string";if(/[{}\(\),\.;\[\]]/.test(e))return s=e,"node";if(e==="/"&&n.eat("/"))return n.skipToEnd(),"comment";if(f.test(e))return n.eatWhile(f),null;if(n.eatWhile(/[_\w\d]/),n.eat(":"))return n.eatWhile(/[\w\d_\-]/),"atom";var t=n.current();return v.test(t)?"builtin":y.test(t)?"def":m.test(t)||b.test(t)?"keyword":"variable"},c=function(n,e,t){return n.context={prev:n.context,indent:n.indent,col:t,type:e}},u=function(n){return n.indent=n.context.indent,n.context=n.context.prev},g=a.indentUnit,s,v=o(["abs","acos","allShortestPaths","asin","atan","atan2","avg","ceil","coalesce","collect","cos","cot","count","degrees","e","endnode","exp","extract","filter","floor","haversin","head","id","keys","labels","last","left","length","log","log10","lower","ltrim","max","min","node","nodes","percentileCont","percentileDisc","pi","radians","rand","range","reduce","rel","relationship","relationships","replace","reverse","right","round","rtrim","shortestPath","sign","sin","size","split","sqrt","startnode","stdev","stdevp","str","substring","sum","tail","tan","timestamp","toFloat","toInt","toString","trim","type","upper"]),y=o(["all","and","any","contains","exists","has","in","none","not","or","single","xor"]),m=o(["as","asc","ascending","assert","by","case","commit","constraint","create","csv","cypher","delete","desc","descending","detach","distinct","drop","else","end","ends","explain","false","fieldterminator","foreach","from","headers","in","index","is","join","limit","load","match","merge","null","on","optional","order","periodic","profile","remove","return","scan","set","skip","start","starts","then","true","union","unique","unwind","using","when","where","with","call","yield"]),b=o(["access","active","assign","all","alter","as","catalog","change","copy","create","constraint","constraints","current","database","databases","dbms","default","deny","drop","element","elements","exists","from","grant","graph","graphs","if","index","indexes","label","labels","management","match","name","names","new","node","nodes","not","of","on","or","password","populated","privileges","property","read","relationship","relationships","remove","replace","required","revoke","role","roles","set","show","start","status","stop","suspended","to","traverse","type","types","user","users","with","write"]),f=/[*+\-<>=&|~%^]/;return{startState:function(){return{tokenize:l,context:null,indent:0,col:0}},token:function(n,e){if(n.sol()&&(e.context&&e.context.align==null&&(e.context.align=!1),e.indent=n.indentation()),n.eatSpace())return null;var t=e.tokenize(n,e);if(t!=="comment"&&e.context&&e.context.align==null&&e.context.type!=="pattern"&&(e.context.align=!0),s==="(")c(e,")",n.column());else if(s==="[")c(e,"]",n.column());else if(s==="{")c(e,"}",n.column());else if(/[\]\}\)]/.test(s)){for(;e.context&&e.context.type==="pattern";)u(e);e.context&&s===e.context.type&&u(e)}else s==="."&&e.context&&e.context.type==="pattern"?u(e):/atom|string|variable/.test(t)&&e.context&&(/[\}\]]/.test(e.context.type)?c(e,"pattern",n.column()):e.context.type==="pattern"&&!e.context.align&&(e.context.align=!0,e.context.col=n.column()));return t},indent:function(n,e){var t=e&&e.charAt(0),r=n.context;if(/[\]\}]/.test(t))for(;r&&r.type==="pattern";)r=r.prev;var h=r&&t===r.type;return r?r.type==="keywords"?i.commands.newlineAndIndent:r.align?r.col+(h?0:1):r.indent+(h?0:g):0}}}),i.modeExtensions.cypher={autoFormatLineBreaks:function(a){for(var l,c,u,c=a.split(`
|
|
2
|
+
`),u=/\s+\b(return|where|order by|match|with|skip|limit|create|delete|set)\b\s/g,l=0;l<c.length;l++)c[l]=c[l].replace(u,`
|
|
3
3
|
$1 `).trim();return c.join(`
|
|
4
|
-
`)}},i.defineMIME("application/x-cypher-query","cypher")})})();var j=x.exports,
|
|
4
|
+
`)}},i.defineMIME("application/x-cypher-query","cypher")})})();var j=x.exports,E=Object.freeze(k({__proto__:null,[Symbol.toStringTag]:"Module",default:j},[x.exports]));export{E as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bE as C}from"./vendor.a626ab9c.js";function K(m,h){return h.forEach(function(c){Object.keys(c).forEach(function(u){if(u!=="default"&&!(u in m)){var f=Object.getOwnPropertyDescriptor(c,u);Object.defineProperty(m,u,f.get?f:{enumerable:!0,get:function(){return c[u]}})}})}),Object.freeze(m)}var E={exports:{}};(function(m,h){(function(c){c(C.exports)})(function(c){c.defineMode("d",function(d,l){var a=d.indentUnit,s=l.statementIndentUnit||a,I=l.keywords||{},O=l.builtin||{},y=l.blockKeywords||{},S=l.atoms||{},v=l.hooks||{},j=l.multiLineStrings,x=/[+\-*&%=<>!?|\/]/,i;function k(e,n){var t=e.next();if(v[t]){var r=v[t](e,n);if(r!==!1)return r}if(t=='"'||t=="'"||t=="`")return n.tokenize=L(t),n.tokenize(e,n);if(/[\[\]{}\(\),;\:\.]/.test(t))return i=t,null;if(/\d/.test(t))return e.eatWhile(/[\w\.]/),"number";if(t=="/"){if(e.eat("+"))return n.tokenize=_,_(e,n);if(e.eat("*"))return n.tokenize=w,w(e,n);if(e.eat("/"))return e.skipToEnd(),"comment"}if(x.test(t))return e.eatWhile(x),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var o=e.current();return I.propertyIsEnumerable(o)?(y.propertyIsEnumerable(o)&&(i="newstatement"),"keyword"):O.propertyIsEnumerable(o)?(y.propertyIsEnumerable(o)&&(i="newstatement"),"builtin"):S.propertyIsEnumerable(o)?"atom":"variable"}function L(e){return function(n,t){for(var r=!1,o,z=!1;(o=n.next())!=null;){if(o==e&&!r){z=!0;break}r=!r&&o=="\\"}return(z||!(r||j))&&(t.tokenize=null),"string"}}function w(e,n){for(var t=!1,r;r=e.next();){if(r=="/"&&t){n.tokenize=null;break}t=r=="*"}return"comment"}function _(e,n){for(var t=!1,r;r=e.next();){if(r=="/"&&t){n.tokenize=null;break}t=r=="+"}return"comment"}function g(e,n,t,r,o){this.indented=e,this.column=n,this.type=t,this.align=r,this.prev=o}function b(e,n,t){var r=e.indented;return e.context&&e.context.type=="statement"&&(r=e.context.indented),e.context=new g(r,n,t,null,e.context)}function p(e){var n=e.context.type;return(n==")"||n=="]"||n=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}return{startState:function(e){return{tokenize:null,context:new g((e||0)-a,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;i=null;var r=(n.tokenize||k)(e,n);if(r=="comment"||r=="meta")return r;if(t.align==null&&(t.align=!0),(i==";"||i==":"||i==",")&&t.type=="statement")p(n);else if(i=="{")b(n,e.column(),"}");else if(i=="[")b(n,e.column(),"]");else if(i=="(")b(n,e.column(),")");else if(i=="}"){for(;t.type=="statement";)t=p(n);for(t.type=="}"&&(t=p(n));t.type=="statement";)t=p(n)}else i==t.type?p(n):((t.type=="}"||t.type=="top")&&i!=";"||t.type=="statement"&&i=="newstatement")&&b(n,e.column(),"statement");return n.startOfLine=!1,r},indent:function(e,n){if(e.tokenize!=k&&e.tokenize!=null)return c.Pass;var t=e.context,r=n&&n.charAt(0);t.type=="statement"&&r=="}"&&(t=t.prev);var o=r==t.type;return t.type=="statement"?t.indented+(r=="{"?0:s):t.align?t.column+(o?0:1):t.indented+(o?0:a)},electricChars:"{}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}});function u(d){for(var l={},a=d.split(" "),s=0;s<a.length;++s)l[a[s]]=!0;return l}var f="body catch class do else enum for foreach foreach_reverse if in interface mixin out scope struct switch try union unittest version while with";c.defineMIME("text/x-d",{name:"d",keywords:u("abstract alias align asm assert auto break case cast cdouble cent cfloat const continue debug default delegate delete deprecated export extern final finally function goto immutable import inout invariant is lazy macro module new nothrow override package pragma private protected public pure ref return shared short static super synchronized template this throw typedef typeid typeof volatile __FILE__ __LINE__ __gshared __traits __vector __parameters "+f),blockKeywords:u(f),builtin:u("bool byte char creal dchar double float idouble ifloat int ireal long real short ubyte ucent uint ulong ushort wchar wstring void size_t sizediff_t"),atoms:u("exit failure success true false null"),hooks:{"@":function(d,l){return d.eatWhile(/[\w\$_]/),"meta"}}})})})();var P=E.exports,W=Object.freeze(K({__proto__:null,[Symbol.toStringTag]:"Module",default:P},[E.exports]));export{W as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bE as j}from"./vendor.a626ab9c.js";import{a as $}from"./clike.55471781.js";function I(a,d){return d.forEach(function(r){Object.keys(r).forEach(function(i){if(i!=="default"&&!(i in a)){var l=Object.getOwnPropertyDescriptor(r,i);Object.defineProperty(a,i,l.get?l:{enumerable:!0,get:function(){return r[i]}})}})}),Object.freeze(a)}var w={exports:{}};(function(a,d){(function(r){r(j.exports,$.exports)})(function(r){var i="this super static final const abstract class extends external factory implements mixin get native set typedef with enum throw rethrow assert break case continue default in return new deferred async await covariant try catch finally do else for if switch while import library export part of show hide is as extension on yield late required".split(" "),l="try catch finally do else for if switch while".split(" "),v="true false null".split(" "),b="void bool num int double dynamic var String Null Never".split(" ");function c(e){for(var n={},t=0;t<e.length;++t)n[e[t]]=!0;return n}function x(e){(e.interpolationStack||(e.interpolationStack=[])).push(e.tokenize)}function h(e){return(e.interpolationStack||(e.interpolationStack=[])).pop()}function m(e){return e.interpolationStack?e.interpolationStack.length:0}r.defineMIME("application/dart",{name:"clike",keywords:c(i),blockKeywords:c(l),builtin:c(b),atoms:c(v),hooks:{"@":function(e){return e.eatWhile(/[\w\$_\.]/),"meta"},"'":function(e,n){return p("'",e,n,!1)},'"':function(e,n){return p('"',e,n,!1)},r:function(e,n){var t=e.peek();return t=="'"||t=='"'?p(e.next(),e,n,!0):!1},"}":function(e,n){return m(n)>0?(n.tokenize=h(n),null):!1},"/":function(e,n){return e.eat("*")?(n.tokenize=k(1),n.tokenize(e,n)):!1},token:function(e,n,t){if(t=="variable"){var o=RegExp("^[_$]*[A-Z][a-zA-Z0-9_$]*$","g");if(o.test(e.current()))return"variable-2"}}}});function p(e,n,t,o){var g=!1;if(n.eat(e))if(n.eat(e))g=!0;else return"string";function z(u,s){for(var f=!1;!u.eol();){if(!o&&!f&&u.peek()=="$")return x(s),s.tokenize=S,"string";var y=u.next();if(y==e&&!f&&(!g||u.match(e+e))){s.tokenize=null;break}f=!o&&!f&&y=="\\"}return"string"}return t.tokenize=z,z(n,t)}function S(e,n){return e.eat("$"),e.eat("{")?n.tokenize=null:n.tokenize=_,null}function _(e,n){return e.eatWhile(/[\w_]/),n.tokenize=h(n),"variable"}function k(e){return function(n,t){for(var o;o=n.next();)if(o=="*"&&n.eat("/"))if(e==1){t.tokenize=null;break}else return t.tokenize=k(e-1),t.tokenize(n,t);else if(o=="/"&&n.eat("*"))return t.tokenize=k(e+1),t.tokenize(n,t);return"comment"}}r.registerHelper("hintWords","application/dart",i.concat(v).concat(b)),r.defineMode("dart",function(e){return r.getMode(e,"application/dart")},"clike")})})();var O=w.exports,W=Object.freeze(I({__proto__:null,[Symbol.toStringTag]:"Module",default:O},[w.exports]));export{W as d};
|