@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.
Files changed (399) hide show
  1. package/dist/@directus_extensions-sdk.0c1dd463.js +1 -0
  2. package/dist/assets/{active-line.21c7c188.js → active-line.48de29b0.js} +1 -1
  3. package/dist/assets/{activity.7e6818a1.js → activity.6ae38b0f.js} +1 -1
  4. package/dist/assets/{activity.afea7c8e.js → activity.9e4ec41d.js} +1 -1
  5. package/dist/assets/api-config.c76a6613.js +62 -0
  6. package/dist/assets/{api-endpoints.25b9a2cc.js → api-endpoints.2f8fd276.js} +1 -1
  7. package/dist/assets/{api-hooks.28fce97f.js → api-hooks.49e7891b.js} +4 -4
  8. package/dist/assets/{apl.e1cac8e8.js → apl.958d4757.js} +1 -1
  9. package/dist/assets/{app.a092834a.js → app.ab10f7f0.js} +1 -1
  10. package/dist/assets/{application.e4ceecf4.js → application.2534d8a1.js} +1 -1
  11. package/dist/assets/{asciiarmor.56914f72.js → asciiarmor.1f4e8811.js} +1 -1
  12. package/dist/assets/{asn.1.0d72d374.js → asn.1.320671bb.js} +1 -1
  13. package/dist/assets/{assets.7c1c7e13.js → assets.0e687e4a.js} +1 -1
  14. package/dist/assets/{asterisk.217d929c.js → asterisk.67a02b7a.js} +1 -1
  15. package/dist/assets/authentication.ad641e07.js +70 -0
  16. package/dist/assets/{authentication.0de34170.js → authentication.e8cf4d61.js} +1 -1
  17. package/dist/assets/{autorefresh.db241e38.js → autorefresh.824ac9d2.js} +1 -1
  18. package/dist/assets/{aws.216201f6.js → aws.fd25516a.js} +1 -1
  19. package/dist/assets/{backing-directus.712e9b42.js → backing-directus.58d18b0c.js} +1 -1
  20. package/dist/assets/{brainfuck.6d97691a.js → brainfuck.0d6aa963.js} +1 -1
  21. package/dist/assets/{cli.5fd3486c.js → cli.1516127d.js} +1 -1
  22. package/dist/assets/{clike.8b1d1dac.js → clike.55471781.js} +1 -1
  23. package/dist/assets/{clojure.7b24d2df.js → clojure.e88e881b.js} +1 -1
  24. package/dist/assets/{cmake.2dd9d19b.js → cmake.4a9bd2f3.js} +1 -1
  25. package/dist/assets/{cobol.aa3e3b17.js → cobol.ddfaa48e.js} +1 -1
  26. package/dist/assets/{codebase-overview.769ab809.js → codebase-overview.e20f2975.js} +1 -1
  27. package/dist/assets/{coffeescript.e1f17dcd.js → coffeescript.004ec15d.js} +1 -1
  28. package/dist/assets/{collections.52393349.js → collections.14257f29.js} +1 -1
  29. package/dist/assets/{collections.ede965e3.js → collections.bd91de7e.js} +1 -1
  30. package/dist/assets/{collections.3ab1c08a.js → collections.fdbdfe7d.js} +1 -1
  31. package/dist/assets/{command-line-interface.e1beee60.js → command-line-interface.9a2a26c1.js} +1 -1
  32. package/dist/assets/{common-issues.9900baa5.js → common-issues.b34d0ba5.js} +1 -1
  33. package/dist/assets/{commonlisp.126ea5bc.js → commonlisp.f2d9b9b1.js} +1 -1
  34. package/dist/assets/{config-files.04baaabb.js → config-files.ac74fea8.js} +1 -1
  35. package/dist/assets/{crystal.2f74eaf5.js → crystal.97856865.js} +1 -1
  36. package/dist/assets/{css.6f8a654e.js → css.7f807b17.js} +1 -1
  37. package/dist/assets/{cypher.f7b4194f.js → cypher.7cd36030.js} +3 -3
  38. package/dist/assets/{d.b2c44973.js → d.fa2b4528.js} +1 -1
  39. package/dist/assets/{dart.807118ef.js → dart.af44f108.js} +1 -1
  40. package/dist/assets/{databases.39a13c5d.js → databases.2a42b1ba.js} +1 -1
  41. package/dist/assets/{diff.df7c2507.js → diff.33d776fc.js} +1 -1
  42. package/dist/assets/{digitalocean-app-platform.6d350032.js → digitalocean-app-platform.70c21592.js} +1 -1
  43. package/dist/assets/{displays.101c9edb.js → displays.d848b491.js} +1 -1
  44. package/dist/assets/{displays.2c15a911.js → displays.ecc2c613.js} +1 -1
  45. package/dist/assets/{django.31349418.js → django.1965042d.js} +1 -1
  46. package/dist/assets/{docker.0e180ff7.js → docker.6748365e.js} +1 -1
  47. package/dist/assets/{dockerfile.9cf1b5e9.js → dockerfile.f7e82fe7.js} +1 -1
  48. package/dist/assets/{dtd.2eb8046c.js → dtd.7de198c9.js} +1 -1
  49. package/dist/assets/{dylan.4342284d.js → dylan.4e0afffa.js} +1 -1
  50. package/dist/assets/{ebnf.ac110410.js → ebnf.423e92bf.js} +1 -1
  51. package/dist/assets/{ecl.ef1a0830.js → ecl.5ceaf630.js} +1 -1
  52. package/dist/assets/{eiffel.2cdba3dc.js → eiffel.4d7ae0c0.js} +1 -1
  53. package/dist/assets/{elm.1a8ac848.js → elm.0cc8719f.js} +1 -1
  54. package/dist/assets/{email-templates.cb788cb0.js → email-templates.9cecf0b9.js} +1 -1
  55. package/dist/assets/en-au.169355d7.js +1 -0
  56. package/dist/assets/en-gb.0b977da8.js +1 -0
  57. package/dist/assets/en-nz.6296f2b6.js +1 -0
  58. package/dist/assets/environment-variables.a5b5c0aa.js +25 -0
  59. package/dist/assets/{erlang.957b37e4.js → erlang.176bea7d.js} +1 -1
  60. package/dist/assets/{error-codes.606bec58.js → error-codes.db5ba230.js} +1 -1
  61. package/dist/assets/es.c516dd05.js +1 -0
  62. package/dist/assets/{extensions.e55fc936.js → extensions.10d6f6c3.js} +1 -1
  63. package/dist/assets/{extensions.803fb88b.js → extensions.735e74b3.js} +1 -1
  64. package/dist/assets/{factor.c01980f8.js → factor.be42c791.js} +1 -1
  65. package/dist/assets/{fcl.87824263.js → fcl.879030fb.js} +1 -1
  66. package/dist/assets/{field-transforms.aac4af27.js → field-transforms.60165e8c.js} +1 -1
  67. package/dist/assets/{fields.3458f9a0.js → fields.17d2cea0.js} +1 -1
  68. package/dist/assets/{fields.f80c6966.js → fields.3f49dba2.js} +1 -1
  69. package/dist/assets/{fields.c933a3eb.js → fields.4933da97.js} +1 -1
  70. package/dist/assets/{files.cef9529d.js → files.04ffc317.js} +1 -1
  71. package/dist/assets/{files.2458c938.js → files.b8b17303.js} +1 -1
  72. package/dist/assets/{files.d6673170.js → files.f9b3fda9.js} +1 -1
  73. package/dist/assets/{filter-rules.8dda275b.js → filter-rules.780bde9f.js} +2 -2
  74. package/dist/assets/{folders.6224f87b.js → folders.a05410b5.js} +1 -1
  75. package/dist/assets/{forth.51e0131d.js → forth.fb5f114f.js} +1 -1
  76. package/dist/assets/{fortran.ccea4744.js → fortran.ba9b6719.js} +1 -1
  77. package/dist/assets/fr-FR.37e1725b.js +1 -0
  78. package/dist/assets/{gas.5613bf5b.js → gas.1bbed2b2.js} +1 -1
  79. package/dist/assets/{gfm.bc3f0591.js → gfm.149e301f.js} +1 -1
  80. package/dist/assets/{gherkin.963fa577.js → gherkin.7de0d8e2.js} +1 -1
  81. package/dist/assets/{github-ci.00b8f37e.js → github-ci.1aafd624.js} +2 -2
  82. package/dist/assets/{go.b597488d.js → go.7caf0f36.js} +1 -1
  83. package/dist/assets/{groovy.748ae778.js → groovy.607002d9.js} +1 -1
  84. package/dist/assets/haml.504050d1.js +1 -0
  85. package/dist/assets/{handlebars.d230fbb5.js → handlebars.7f84f825.js} +1 -1
  86. package/dist/assets/haskell-literate.e78773ef.js +1 -0
  87. package/dist/assets/{haskell.69e61064.js → haskell.63e1f2d3.js} +1 -1
  88. package/dist/assets/{haxe.a1958409.js → haxe.fca1efc8.js} +1 -1
  89. package/dist/assets/{htmlembedded.77d86e89.js → htmlembedded.1eb21358.js} +1 -1
  90. package/dist/assets/{htmlmixed.d2d262fe.js → htmlmixed.cb1d7158.js} +1 -1
  91. package/dist/assets/{http.0389a281.js → http.28fca87c.js} +1 -1
  92. package/dist/assets/{idl.4073e14b.js → idl.32a8e30b.js} +1 -1
  93. package/dist/assets/iis.fba7e919.js +23 -0
  94. package/dist/assets/{index.34c4ff98.js → index.07865455.js} +1 -1
  95. package/dist/assets/{index.5943c6a2.js → index.0b19be3f.js} +1 -1
  96. package/dist/assets/{index.9021855c.js → index.1010e9a5.js} +1 -1
  97. package/dist/assets/{index.12a41b75.js → index.123a36ac.js} +1 -1
  98. package/dist/assets/{index.d5b3136c.js → index.12744d3d.js} +1 -1
  99. package/dist/assets/{index.adcbf017.js → index.129fb164.js} +1 -1
  100. package/dist/assets/{index.76bf6775.js → index.13149be9.js} +1 -1
  101. package/dist/assets/{index.5d7e4388.js → index.132ba1c4.js} +1 -1
  102. package/dist/assets/{index.a65c23d0.js → index.1380be04.js} +1 -1
  103. package/dist/assets/{index.8f1b058c.js → index.156ad6a0.js} +1 -1
  104. package/dist/assets/{index.60c6f994.js → index.159d3509.js} +1 -1
  105. package/dist/assets/{index.93176038.js → index.1e395c13.js} +1 -1
  106. package/dist/assets/{index.0f421bfb.js → index.1fd08b8f.js} +1 -1
  107. package/dist/assets/{index.f6faa78c.js → index.271fc58d.js} +1 -1
  108. package/dist/assets/{index.03fcf041.js → index.2a965c68.js} +1 -1
  109. package/dist/assets/{index.adde2dbc.js → index.2ecf1365.js} +1 -1
  110. package/dist/assets/{index.13caabe3.js → index.307681c6.js} +1 -1
  111. package/dist/assets/{index.fbb4da88.js → index.32a66f8e.js} +1 -1
  112. package/dist/assets/{index.582262f3.js → index.336d2876.js} +1 -1
  113. package/dist/assets/{index.2ce5ad4e.js → index.36d21aeb.js} +1 -1
  114. package/dist/assets/{index.460c28b2.js → index.39d438a3.js} +1 -1
  115. package/dist/assets/{index.857a444d.js → index.3dfc9f28.js} +1 -1
  116. package/dist/assets/{index.3dbbdda4.js → index.3efbdb40.js} +1 -1
  117. package/dist/assets/{index.52488452.js → index.41239663.js} +1 -1
  118. package/dist/assets/{index.6dfafdb8.js → index.48d93056.js} +1 -1
  119. package/dist/assets/{index.fc96c02d.js → index.4a1a5f7b.js} +1 -1
  120. package/dist/assets/{index.3cc58479.js → index.4da7e0ab.js} +1 -1
  121. package/dist/assets/{index.cbf2ab7b.js → index.5292cb2f.js} +1 -1
  122. package/dist/assets/{index.7d7c94cc.js → index.53d2e106.js} +1 -1
  123. package/dist/assets/{index.b021cacb.js → index.54b89000.js} +1 -1
  124. package/dist/assets/{index.d19dacc2.js → index.5569aba4.js} +1 -1
  125. package/dist/assets/{index.370eb912.js → index.5e9f194d.js} +1 -1
  126. package/dist/assets/{index.86d76d87.js → index.6281d871.js} +1 -1
  127. package/dist/assets/{index.a3619cd6.js → index.634af914.js} +1 -1
  128. package/dist/assets/{index.020eeba9.js → index.63d11508.js} +1 -1
  129. package/dist/assets/{index.f3dac8ae.js → index.671541d9.js} +1 -1
  130. package/dist/assets/{index.afe1580d.js → index.6819c895.js} +1 -1
  131. package/dist/assets/{index.5ddf1c09.js → index.68748c2d.js} +1 -1
  132. package/dist/assets/{index.3886bcc9.js → index.6a792b33.js} +1 -1
  133. package/dist/assets/{index.07e02ffc.js → index.6dd016c8.js} +1 -1
  134. package/dist/assets/{index.26626da8.js → index.71f5e63c.js} +1 -1
  135. package/dist/assets/{index.12160ad1.js → index.734a95e8.js} +1 -1
  136. package/dist/assets/{index.12bc1139.js → index.759611b6.js} +1 -1
  137. package/dist/assets/{index.278f6673.js → index.76d07b62.js} +1 -1
  138. package/dist/assets/{index.dc16b5fc.js → index.7bee8c77.js} +1 -1
  139. package/dist/assets/{index.967091bd.js → index.7c0f84b2.js} +1 -1
  140. package/dist/assets/{index.8d25e37e.js → index.7d228c67.js} +1 -1
  141. package/dist/assets/{index.2bddfec0.js → index.7fbf2f6a.js} +1 -1
  142. package/dist/assets/{index.a8032304.js → index.865af0fe.js} +1 -1
  143. package/dist/assets/{index.d21606d9.js → index.872629ec.js} +1 -1
  144. package/dist/assets/{index.7c109413.js → index.87a15825.js} +1 -1
  145. package/dist/assets/{index.8d30d8ec.js → index.8d3e2c04.js} +1 -1
  146. package/dist/assets/{index.ffdce238.js → index.8e3e39ae.js} +1 -1
  147. package/dist/assets/{index.ca14dcca.js → index.8fac67f3.js} +1 -1
  148. package/dist/assets/{index.9427fe3a.js → index.944ed685.js} +1 -1
  149. package/dist/assets/{index.cdc078f5.js → index.975605c7.js} +1 -1
  150. package/dist/assets/{index.a1fba609.js → index.9bf6dfc7.js} +1 -1
  151. package/dist/assets/{index.a89c6f27.css → index.9f6c6cb3.css} +1 -1
  152. package/dist/assets/{index.cc8365dc.js → index.a1b32348.js} +1 -1
  153. package/dist/assets/{index.e6c63fd8.js → index.a2724a18.js} +1 -1
  154. package/dist/assets/{index.9e6cb9fb.js → index.ab7a9d20.js} +1 -1
  155. package/dist/assets/{index.69d51e36.js → index.ae39c45d.js} +1 -1
  156. package/dist/assets/{index.a5c459a5.js → index.b0239526.js} +2 -2
  157. package/dist/assets/{index.2e10fa0a.js → index.b22d3b87.js} +1 -1
  158. package/dist/assets/{index.b49259cd.js → index.b2ce5853.js} +1 -1
  159. package/dist/assets/{index.8642f0ef.js → index.b3861ec3.js} +1 -1
  160. package/dist/assets/{index.453b8dd4.js → index.ba6582ce.js} +1 -1
  161. package/dist/assets/{index.0cdd93eb.js → index.c16fb6fc.js} +1 -1
  162. package/dist/assets/{index.0c668002.js → index.c2c4a871.js} +1 -1
  163. package/dist/assets/{index.b8f2f91f.js → index.c38b7f79.js} +1 -1
  164. package/dist/assets/{index.dad442a6.js → index.c6b3c631.js} +1 -1
  165. package/dist/assets/{index.1441a301.js → index.c8dd9a32.js} +1 -1
  166. package/dist/assets/{index.9df43656.js → index.d01ff2fc.js} +1 -1
  167. package/dist/assets/index.d07f63e3.css +1 -0
  168. package/dist/assets/{index.10f638cf.js → index.da1f65af.js} +1 -1
  169. package/dist/assets/{index.cc6ac81f.js → index.e0a5d0dd.js} +1 -1
  170. package/dist/assets/{index.c07a0137.js → index.e7b321ba.js} +1 -1
  171. package/dist/assets/{index.a5833a30.js → index.ec71a491.js} +1 -1
  172. package/dist/assets/{index.9fa02ab0.js → index.eee4f224.js} +1 -1
  173. package/dist/assets/{index.75da7150.js → index.f3f4fbd9.js} +1 -1
  174. package/dist/assets/{index.6cf6e65c.js → index.f757af12.js} +1 -1
  175. package/dist/assets/{index.513f493e.js → index.f99b041c.js} +1 -1
  176. package/dist/assets/{index.9b9992c2.js → index.fbfd2bd6.js} +1 -1
  177. package/dist/assets/{index.3beb87d3.js → index.ffd3af80.js} +1 -1
  178. package/dist/assets/{input-rich-text-html.ae77acab.js → input-rich-text-html.e15177a6.js} +9 -9
  179. package/dist/assets/{installation.ca7cfca2.js → installation.c4bff2d4.js} +1 -1
  180. package/dist/assets/{interfaces.f0ecff97.js → interfaces.1e1a05f4.js} +1 -1
  181. package/dist/assets/{interfaces.b4c6f273.js → interfaces.4d9d8da8.js} +1 -1
  182. package/dist/assets/{introduction.56c0c1cd.js → introduction.36187581.js} +1 -1
  183. package/dist/assets/{introduction.dd1bcb44.js → introduction.5bfc6d93.js} +1 -1
  184. package/dist/assets/{introduction.5c4ec6b9.js → introduction.c36fa9ca.js} +1 -1
  185. package/dist/assets/{items.e1d7ba61.js → items.2ec3ef4a.js} +1 -1
  186. package/dist/assets/{items.2ad153eb.js → items.5eb4a489.js} +1 -1
  187. package/dist/assets/{items.9e96b56b.js → items.7db06a6b.js} +1 -1
  188. package/dist/assets/{javascript-hint.9186051b.js → javascript-hint.968a99a5.js} +1 -1
  189. package/dist/assets/{javascript.2f3ede5a.js → javascript.76216d0d.js} +1 -1
  190. package/dist/assets/{jinja2.8d7f6a8b.js → jinja2.9eba4d82.js} +1 -1
  191. package/dist/assets/{jsx.c540510b.js → jsx.2200a77c.js} +1 -1
  192. package/dist/assets/{julia.a47aef56.js → julia.15f73490.js} +1 -1
  193. package/dist/assets/{layouts.37d32d4c.js → layouts.5a85a5bc.js} +1 -1
  194. package/dist/assets/{layouts.bc85bb07.js → layouts.c52bbf71.js} +1 -1
  195. package/dist/assets/{livescript.3fc737e8.js → livescript.e919a245.js} +1 -1
  196. package/dist/assets/{lua.948ce6b7.js → lua.75eda1a9.js} +1 -1
  197. package/dist/assets/{manual.18f4f30d.js → manual.bc0f8432.js} +1 -1
  198. package/dist/assets/{mark-selection.75c4ea7c.js → mark-selection.a99b3033.js} +1 -1
  199. package/dist/assets/{match-highlighter.bdbe0955.js → match-highlighter.668a64ca.js} +1 -1
  200. package/dist/assets/{mathematica.4f5f6aa2.js → mathematica.598d20b5.js} +1 -1
  201. package/dist/assets/{mbox.122aff2c.js → mbox.5b96e107.js} +1 -1
  202. package/dist/assets/{migrating-from-v8.311cd0e1.js → migrating-from-v8.667c19d3.js} +1 -1
  203. package/dist/assets/{migrations.fb0c9784.js → migrations.33fd8fc8.js} +1 -1
  204. package/dist/assets/{mirc.a72bdc8a.js → mirc.90d37912.js} +1 -1
  205. package/dist/assets/{mllike.eb583c07.js → mllike.137d1b89.js} +1 -1
  206. package/dist/assets/{modelica.f3e06d95.js → modelica.bd73920d.js} +1 -1
  207. package/dist/assets/{modules.7140afbb.js → modules.17def569.js} +1 -1
  208. package/dist/assets/{modules.8f34db3e.js → modules.43892717.js} +1 -1
  209. package/dist/assets/{mscgen.a5bf61ad.js → mscgen.5b4ab425.js} +1 -1
  210. package/dist/assets/{multiplex.796857c0.js → multiplex.87dad2d7.js} +1 -1
  211. package/dist/assets/{mumps.0e26badd.js → mumps.61c3783e.js} +1 -1
  212. package/dist/assets/{nginx.d228fa16.js → nginx.655bc186.js} +1 -1
  213. package/dist/assets/{nsis.7f6a0f90.js → nsis.fdad0c07.js} +1 -1
  214. package/dist/assets/{ntriples.994511c8.js → ntriples.97729057.js} +1 -1
  215. package/dist/assets/{octave.32e47905.js → octave.f73b18ac.js} +1 -1
  216. package/dist/assets/{overlay.8c05baaa.js → overlay.7f1c5fa5.js} +1 -1
  217. package/dist/assets/{oz.742a2172.js → oz.809f2a14.js} +1 -1
  218. package/dist/assets/{pascal.1609d5f5.js → pascal.f8cd95cf.js} +1 -1
  219. package/dist/assets/{pegjs.5173241b.js → pegjs.5dfc390d.js} +1 -1
  220. package/dist/assets/{perl.229a0cce.js → perl.6b530f7e.js} +1 -1
  221. package/dist/assets/{permissions.144d3fdf.js → permissions.1cc1e9ac.js} +1 -1
  222. package/dist/assets/{permissions.87246e2c.js → permissions.5186b062.js} +1 -1
  223. package/dist/assets/{permissions.1d7c8608.js → permissions.f9121dc8.js} +1 -1
  224. package/dist/assets/{php.5aaf45dc.js → php.328211b9.js} +1 -1
  225. package/dist/assets/{pig.59bb21b5.js → pig.8c9bf1f9.js} +1 -1
  226. package/dist/assets/{plesk.73a68904.js → plesk.68b64f87.js} +2 -2
  227. package/dist/assets/{powershell.60297f1d.js → powershell.015ab379.js} +1 -1
  228. package/dist/assets/{presets.af59754e.js → presets.83ef1429.js} +1 -1
  229. package/dist/assets/{presets.c061427e.js → presets.ac89e285.js} +1 -1
  230. package/dist/assets/{projects.767db627.js → projects.086e4104.js} +1 -1
  231. package/dist/assets/{projects.ec4144c5.js → projects.54a55899.js} +1 -1
  232. package/dist/assets/{properties.22ba7b4b.js → properties.882f6a5f.js} +1 -1
  233. package/dist/assets/{protobuf.85730256.js → protobuf.8dfcce9b.js} +1 -1
  234. package/dist/assets/{pug.70f01632.js → pug.5b875e17.js} +1 -1
  235. package/dist/assets/{puppet.a64ec0ec.js → puppet.5aa1fc3a.js} +1 -1
  236. package/dist/assets/{python.fe50fda4.js → python.67462152.js} +1 -1
  237. package/dist/assets/{q.88cb2b8c.js → q.28cbbad3.js} +1 -1
  238. package/dist/assets/{query.699b00aa.js → query.eaa960f0.js} +1 -1
  239. package/dist/assets/{quickstart.504e6d54.js → quickstart.39d64eea.js} +1 -1
  240. package/dist/assets/{r.59023feb.js → r.fdf280db.js} +1 -1
  241. package/dist/assets/{relations.5d7fec12.js → relations.30bf1e5e.js} +1 -1
  242. package/dist/assets/{relationships.850eb59c.js → relationships.8c5c9d45.js} +1 -1
  243. package/dist/assets/{revisions.edb861a6.js → revisions.78c66006.js} +1 -1
  244. package/dist/assets/{revisions.c65244b7.js → revisions.8430c29c.js} +1 -1
  245. package/dist/assets/ro-RO.5d125b41.js +1 -0
  246. package/dist/assets/{roles.d176bda2.js → roles.a5d56e09.js} +1 -1
  247. package/dist/assets/{roles.31bb987f.js → roles.ae48ac62.js} +1 -1
  248. package/dist/assets/{roles.be39bb88.js → roles.b691aabb.js} +1 -1
  249. package/dist/assets/{rpm.5b354114.js → rpm.3b8f7e29.js} +1 -1
  250. package/dist/assets/rst.528314cf.js +1 -0
  251. package/dist/assets/{ruby.fbe69f10.js → ruby.c4d5f740.js} +1 -1
  252. package/dist/assets/{running-locally.f7f27b40.js → running-locally.6bd2f854.js} +1 -1
  253. package/dist/assets/{rust.d5f860d4.js → rust.409632ee.js} +1 -1
  254. package/dist/assets/{sas.5078cd09.js → sas.47cbda6d.js} +1 -1
  255. package/dist/assets/{sass.ad94908f.js → sass.a244c156.js} +1 -1
  256. package/dist/assets/{scheme.62ef3aac.js → scheme.163a4a3b.js} +1 -1
  257. package/dist/assets/{sdk.1fa5df01.js → sdk.c46fe226.js} +1 -1
  258. package/dist/assets/{server.517326b4.js → server.b7e67b66.js} +1 -1
  259. package/dist/assets/{settings.80fdd488.js → settings.076e3b15.js} +1 -1
  260. package/dist/assets/{shell.21000e97.js → shell.6d60921a.js} +1 -1
  261. package/dist/assets/{show-hint.4e2adb57.js → show-hint.e595bcf5.js} +1 -1
  262. package/dist/assets/{sieve.8235bc52.js → sieve.c618d5d5.js} +1 -1
  263. package/dist/assets/{simple.c600ff81.js → simple.b69582f5.js} +1 -1
  264. package/dist/assets/{slim.b09565ba.js → slim.daebda4a.js} +1 -1
  265. package/dist/assets/{smalltalk.d1bdef54.js → smalltalk.70889ef5.js} +1 -1
  266. package/dist/assets/{smarty.68c55065.js → smarty.325ff529.js} +1 -1
  267. package/dist/assets/{solr.32afafb4.js → solr.bb397dc6.js} +1 -1
  268. package/dist/assets/{soy.71a94bd3.js → soy.1584d1b4.js} +1 -1
  269. package/dist/assets/{sparql.c13a6abd.js → sparql.9bd63ffb.js} +1 -1
  270. package/dist/assets/{spreadsheet.f06b861c.js → spreadsheet.bd23b833.js} +1 -1
  271. package/dist/assets/{sql.1622b7a0.js → sql.ed54c85d.js} +1 -1
  272. package/dist/assets/sr-CS.1840c0db.js +1 -0
  273. package/dist/assets/{stex.2997e8d4.js → stex.35f42f0e.js} +1 -1
  274. package/dist/assets/{styles.f321c37a.js → styles.8f31dcd9.js} +1 -1
  275. package/dist/assets/{stylus.09700176.js → stylus.5c8637e4.js} +1 -1
  276. package/dist/assets/{support.fb5b37c6.js → support.046994af.js} +1 -1
  277. package/dist/assets/{swift.ac31530b.js → swift.6e697047.js} +1 -1
  278. package/dist/assets/{tcl.3dcc845d.js → tcl.6462ea3a.js} +1 -1
  279. package/dist/assets/{textile.40aa3a77.js → textile.b5cd484d.js} +1 -1
  280. package/dist/assets/{tiddlywiki.bc050afc.js → tiddlywiki.b1e435a4.js} +1 -1
  281. package/dist/assets/{tiki.aa5136d5.js → tiki.4013883e.js} +1 -1
  282. package/dist/assets/{toml.7d0d7ed9.js → toml.d8214748.js} +1 -1
  283. package/dist/assets/{tornado.5818c716.js → tornado.20d8d573.js} +1 -1
  284. package/dist/assets/{transition-bounce.57b56dd5.js → transition-bounce.52382bc3.js} +1 -1
  285. package/dist/assets/{transition-dialog.239bd9f5.js → transition-dialog.5f5e2d17.js} +1 -1
  286. package/dist/assets/{transition-expand.15de075e.js → transition-expand.84ad1aa8.js} +1 -1
  287. package/dist/assets/{translations.067fabb9.js → translations.8b18280d.js} +1 -1
  288. package/dist/assets/{translations.a62970f2.js → translations.d6de3905.js} +1 -1
  289. package/dist/assets/{troff.444d4397.js → troff.72228b7a.js} +1 -1
  290. package/dist/assets/{ttcn-cfg.0a78bb0d.js → ttcn-cfg.f96a99f0.js} +1 -1
  291. package/dist/assets/{ttcn.112b0d67.js → ttcn.0e972000.js} +1 -1
  292. package/dist/assets/{turtle.4816436c.js → turtle.8ab64def.js} +1 -1
  293. package/dist/assets/{twig.d9de9f9a.js → twig.7589b410.js} +1 -1
  294. package/dist/assets/{types.78caa1da.js → types.48124f27.js} +1 -1
  295. package/dist/assets/{ubuntu.78911058.js → ubuntu.36ee13da.js} +1 -1
  296. package/dist/assets/{use-sync.25413196.js → use-sync.fa2fe3b0.js} +1 -1
  297. package/dist/assets/{users.aded52e8.js → users.adf2a2c8.js} +1 -1
  298. package/dist/assets/{users.b66610cf.js → users.d2e45508.js} +1 -1
  299. package/dist/assets/{users.fdd31e5b.js → users.d8f130a3.js} +1 -1
  300. package/dist/assets/{utilities.4cd9b9f2.js → utilities.4d891c04.js} +1 -1
  301. package/dist/assets/{v-avatar.7672b4c4.js → v-avatar.00e9b8eb.js} +1 -1
  302. package/dist/assets/{v-badge.c90c82e6.js → v-badge.7fc3bab4.js} +1 -1
  303. package/dist/assets/{v-breadcrumb.b77e4f18.js → v-breadcrumb.a2a2f370.js} +1 -1
  304. package/dist/assets/{v-button.6f71192d.js → v-button.36e765a2.js} +1 -1
  305. package/dist/assets/{v-card-actions.f7038c5a.js → v-card-actions.12455b5d.js} +1 -1
  306. package/dist/assets/{v-card-subtitle.64d51a7f.js → v-card-subtitle.b7280bd9.js} +2 -2
  307. package/dist/assets/{v-card-text.18cb0f11.js → v-card-text.095779dd.js} +2 -2
  308. package/dist/assets/v-card-title.78e39c82.js +4 -0
  309. package/dist/assets/{v-card.a3d24ca4.js → v-card.e9191679.js} +1 -1
  310. package/dist/assets/{v-checkbox.2a883e5d.js → v-checkbox.f755b3db.js} +1 -1
  311. package/dist/assets/{v-chip.9a1d06bd.js → v-chip.5f8fdbe9.js} +1 -1
  312. package/dist/assets/{v-detail.08081d02.js → v-detail.70d83e7f.js} +1 -1
  313. package/dist/assets/{v-dialog.429d7b8a.js → v-dialog.5e7fff0c.js} +2 -2
  314. package/dist/assets/{v-divider.d65da562.js → v-divider.9db45406.js} +2 -2
  315. package/dist/assets/{v-drawer.c3209884.js → v-drawer.9b03749d.js} +1 -1
  316. package/dist/assets/{v-error.e5cdff60.js → v-error.fb66a9e6.js} +2 -2
  317. package/dist/assets/{v-fancy-select.5f18b1f3.js → v-fancy-select.b54085b1.js} +1 -1
  318. package/dist/assets/{v-field-select.32fb1d44.js → v-field-select.dd25033c.js} +2 -2
  319. package/dist/assets/{v-field-template.929a86e7.js → v-field-template.9e342040.js} +1 -1
  320. package/dist/assets/{v-form.4f15ff0f.js → v-form.e08a28c3.js} +2 -2
  321. package/dist/assets/{v-hover.2765134e.js → v-hover.a44a3be2.js} +1 -1
  322. package/dist/assets/{v-icon.0f49dcdf.js → v-icon.4709fb88.js} +1 -1
  323. package/dist/assets/{v-info.b1cb42be.js → v-info.73d1c44b.js} +2 -2
  324. package/dist/assets/{v-input.8c2d8d91.js → v-input.fda37db3.js} +1 -1
  325. package/dist/assets/{v-item-group.06ee487a.js → v-item-group.76391fb0.js} +1 -1
  326. package/dist/assets/{v-item.db377719.js → v-item.38e2a78e.js} +1 -1
  327. package/dist/assets/{v-list-group.c058dd0e.js → v-list-group.e39085f1.js} +2 -2
  328. package/dist/assets/{v-list-item-content.fb662398.js → v-list-item-content.79e3ccea.js} +1 -1
  329. package/dist/assets/{v-list-item-hint.b3e2809b.js → v-list-item-hint.b72017df.js} +1 -1
  330. package/dist/assets/{v-list-item-icon.7c917677.js → v-list-item-icon.a4d86111.js} +1 -1
  331. package/dist/assets/{v-list-item.4062ea0e.js → v-list-item.aeb5be7e.js} +1 -1
  332. package/dist/assets/{v-list.52d7c7ae.js → v-list.f09d5055.js} +1 -1
  333. package/dist/assets/{v-menu.78d16370.js → v-menu.672ad2ec.js} +1 -1
  334. package/dist/assets/{v-notice.3c4dcb0c.js → v-notice.ca244793.js} +2 -2
  335. package/dist/assets/{v-overlay.9ee2a4ea.js → v-overlay.b2e5ff6e.js} +1 -1
  336. package/dist/assets/{v-pagination.1bcaff37.js → v-pagination.dc840ce8.js} +1 -1
  337. package/dist/assets/{v-progress-circular.b1271d61.js → v-progress-circular.822f61bb.js} +2 -2
  338. package/dist/assets/{v-progress-linear.40057ac3.js → v-progress-linear.33cf976d.js} +1 -1
  339. package/dist/assets/{v-radio.9ce87d06.js → v-radio.1aa97b7b.js} +1 -1
  340. package/dist/assets/{v-select.ad82a076.js → v-select.27ac4bef.js} +1 -1
  341. package/dist/assets/{v-sheet.5acc0a85.js → v-sheet.c6ba4912.js} +1 -1
  342. package/dist/assets/{v-skeleton-loader.c5b2acac.js → v-skeleton-loader.52915dd8.js} +1 -1
  343. package/dist/assets/{v-slider.6fe18dea.js → v-slider.b989ae59.js} +1 -1
  344. package/dist/assets/{v-switch.3839f607.js → v-switch.de111eb9.js} +1 -1
  345. package/dist/assets/{v-tab-item.2ab69292.js → v-tab-item.de7c0a28.js} +1 -1
  346. package/dist/assets/{v-tab.c4390cdb.js → v-tab.40afffbf.js} +1 -1
  347. package/dist/assets/{v-table.fc66e91c.js → v-table.9a5b33ab.js} +1 -1
  348. package/dist/assets/{v-tabs-items.23a4d028.js → v-tabs-items.15506baf.js} +1 -1
  349. package/dist/assets/{v-tabs.8cb6f20c.js → v-tabs.c9489007.js} +1 -1
  350. package/dist/assets/{v-text-overflow.674dc510.js → v-text-overflow.92c20f66.js} +1 -1
  351. package/dist/assets/{v-textarea.02bee531.js → v-textarea.4cced1c0.js} +2 -2
  352. package/dist/assets/{v-upload.685df91f.js → v-upload.ffe73a75.js} +1 -1
  353. package/dist/assets/{vb.4da8219a.js → vb.86e493cb.js} +1 -1
  354. package/dist/assets/{vbscript.b340075d.js → vbscript.74f96813.js} +1 -1
  355. package/dist/assets/{velocity.64e51bc5.js → velocity.a679c97c.js} +1 -1
  356. package/dist/assets/vendor.a626ab9c.js +2039 -0
  357. package/dist/assets/vendor.fe7856f0.css +1 -0
  358. package/dist/assets/{verilog.1bc5f3a3.js → verilog.e437b30d.js} +1 -1
  359. package/dist/assets/{vhdl.3c2ba104.js → vhdl.1c239e80.js} +1 -1
  360. package/dist/assets/{vue.fa209324.js → vue.b668d00e.js} +1 -1
  361. package/dist/assets/{wast.54b48569.js → wast.82d9b15b.js} +1 -1
  362. package/dist/assets/{webhooks.4f7eaa96.js → webhooks.439c510a.js} +1 -1
  363. package/dist/assets/{webhooks.e51fba7a.js → webhooks.4bdd0741.js} +1 -1
  364. package/dist/assets/{webidl.2374e180.js → webidl.5aceeff1.js} +1 -1
  365. package/dist/assets/{xquery.750a7cd1.js → xquery.900a45f6.js} +1 -1
  366. package/dist/assets/{yacas.6eba3f7b.js → yacas.56dd7cb2.js} +1 -1
  367. package/dist/assets/yaml-frontmatter.bdb5ae8b.js +1 -0
  368. package/dist/assets/{yaml.622de393.js → yaml.d877d25f.js} +1 -1
  369. package/dist/assets/{z80.f493b48f.js → z80.807d7c5a.js} +1 -1
  370. package/dist/index.514c2a9a.js +48 -0
  371. package/dist/index.html +5 -5
  372. package/dist/vue-i18n.c5bba31b.js +1 -0
  373. package/dist/vue-router.ba0fd454.js +1 -0
  374. package/dist/vue.010be4a3.js +1 -0
  375. package/package.json +17 -15
  376. package/dist/@directus_extensions-sdk.caa1292f.js +0 -1
  377. package/dist/assets/api-config.d4a334b4.js +0 -53
  378. package/dist/assets/authentication.2962910f.js +0 -54
  379. package/dist/assets/en-au.175fcb2b.js +0 -1
  380. package/dist/assets/en-gb.018f9a21.js +0 -1
  381. package/dist/assets/en-nz.2f0f7e5c.js +0 -1
  382. package/dist/assets/environment-variables.41ac3cc1.js +0 -25
  383. package/dist/assets/es.18d3cc7b.js +0 -1
  384. package/dist/assets/fr-FR.13498131.js +0 -1
  385. package/dist/assets/haml.071df27c.js +0 -1
  386. package/dist/assets/haskell-literate.d4663d82.js +0 -1
  387. package/dist/assets/iis.8d5a89ca.js +0 -23
  388. package/dist/assets/index.3339c532.css +0 -1
  389. package/dist/assets/ro-RO.381b685b.js +0 -1
  390. package/dist/assets/rst.dab09e05.js +0 -1
  391. package/dist/assets/sr-CS.f7a42011.js +0 -1
  392. package/dist/assets/v-card-title.37498457.js +0 -4
  393. package/dist/assets/vendor.62143b15.js +0 -1582
  394. package/dist/assets/vendor.de5758fd.css +0 -1
  395. package/dist/assets/yaml-frontmatter.f29f4a8c.js +0 -1
  396. package/dist/index.9cda602b.js +0 -48
  397. package/dist/vue-i18n.12eba70a.js +0 -1
  398. package/dist/vue-router.72dfb5ae.js +0 -1
  399. package/dist/vue.c17340c4.js +0 -1
@@ -1 +1 @@
1
- import{r as i,p as c,q as d,w as o,B as e,t as s,P as t}from"./vendor.62143b15.js";const u={class:"markdown-body"},h=e("blockquote",null,[e("p",null,"Directus can be installed in many different ways and on several different stacks. You can choose between local, self-hosted on-premises, or our managed Cloud solution.")],-1),p=e("p",null,"While our CLI is the recommended method for self-hosting, you can use whichever of these self-hosted options best suits your needs. These methods offer a high level of customization and are ideal for intermediate developers.",-1),f=t("Command Line Interface (CLI)"),_=t("Docker"),m=t("Manually"),g={class:"tip hint"},y=e("div",{class:"hint-title"},"Development Environment",-1),k=t("To work on the Directus Core source code, please follow our "),b=t("Contributing Guide"),w=t("."),v=e("h2",{id:"deployment-guides"},[t("Deployment Guides "),e("a",{class:"header-anchor",href:"#deployment-guides"},"#")],-1),D=e("p",null,"The following guides will walk you through the self-hosted installation process for specific third-party platforms. These options are only recommended for developers familiar with these services and comfortable with more advanced setup. While Directus is always completely free, you will likely need to pay for these services.",-1),C=t("Generic Ubuntu"),I=t("Internet Information Services (IIS)"),F=t("Amazon AWS"),T=t("DigitalOcean App Platform"),W=t("Shared Hosting with Plesk"),x=e("h2",{id:"one-click-installs"},[t("One-Click Installs "),e("a",{class:"header-anchor",href:"#one-click-installs"},"#")],-1),L=e("p",null,"If you would like to completely avoid the manual installation process, the following self-hosted one-click apps will handle the heavy-lifting for you. While Directus is always completely free, you will likely need to pay for these services.",-1),S=e("ul",null,[e("li",null,[e("a",{href:"https://marketplace.digitalocean.com/apps/directus?action=deploy&refcode=4c0b6062c16e",target:"_blank",rel:"noopener noreferrer"},"DigitalOcean")]),e("li",null,[e("a",{href:"https://heroku.com/deploy?template=https://github.com/directus-community/heroku-template",target:"_blank",rel:"noopener noreferrer"},"Heroku")]),e("li",null,[e("a",{href:"https://console.platform.sh/projects/create-project?template=https%3A%2F%2Fraw.githubusercontent.com%2Fplatformsh%2Ftemplate-builder%2Fmaster%2Ftemplates%2Fdirectus%2F.platform.template.yaml",target:"_blank",rel:"noopener noreferrer"},"Platform.sh")]),e("li",null,[e("a",{href:"https://deploy.zeet.co/?url=https://github.com/directus-community/heroku-template",target:"_blank",rel:"noopener noreferrer"},"Zeet")])],-1),j=e("h2",{id:"directus-cloud"},[t("Directus Cloud "),e("a",{class:"header-anchor",href:"#directus-cloud"},"#")],-1),A=e("p",null,"In addition to the self-hosted options above, you can also choose to create Directus projects using our official Managed Cloud Service. This is the easiest way to get up-and-running with Directus \u2014 even for non-technical users. Unique features include dedicated hardware, automatic updates, automatic backups, usage-based pricing, and more.",-1),B=e("ul",null,[e("li",null,[e("a",{href:"http://directus.cloud/",target:"_blank",rel:"noopener noreferrer"},"Directus Cloud Dashboard")]),e("li",null,[e("a",{href:"https://directus.io/on-demand-cloud/",target:"_blank",rel:"noopener noreferrer"},"Learn more about On-Demand Cloud")]),e("li",null,[e("a",{href:"https://directus.io/enterprise-cloud/",target:"_blank",rel:"noopener noreferrer"},"Learn more about Enterprise Cloud")])],-1),E={setup(O,{expose:a}){const n={title:"Installation",modularExtension:!1};return a({frontmatter:n}),(P,q)=>{const l=i("router-link"),r=i("DocsWrapper");return c(),d(r,{frontmatter:n},{default:o(()=>[e("div",u,[h,p,e("ul",null,[e("li",null,[s(l,{to:"/docs/guides/installation/cli"},{default:o(()=>[f]),_:1})]),e("li",null,[s(l,{to:"/docs/guides/installation/docker"},{default:o(()=>[_]),_:1})]),e("li",null,[s(l,{to:"/docs/guides/installation/manual"},{default:o(()=>[m]),_:1})])]),e("div",g,[y,e("p",null,[k,s(l,{to:"/docs/contributing/introduction"},{default:o(()=>[b]),_:1}),w])]),v,D,e("ul",null,[e("li",null,[s(l,{to:"/docs/guides/installation/ubuntu"},{default:o(()=>[C]),_:1})]),e("li",null,[s(l,{to:"/docs/guides/installation/iis"},{default:o(()=>[I]),_:1})]),e("li",null,[s(l,{to:"/docs/guides/installation/aws"},{default:o(()=>[F]),_:1})]),e("li",null,[s(l,{to:"/docs/guides/installation/digitalocean-app-platform"},{default:o(()=>[T]),_:1})]),e("li",null,[s(l,{to:"/docs/guides/installation/plesk"},{default:o(()=>[W]),_:1})])]),x,L,S,j,A,B])]),_:1})}}};export{E as default};
1
+ import{r as i,p as c,q as d,w as o,B as e,t as s,P as t}from"./vendor.a626ab9c.js";const u={class:"markdown-body"},h=e("blockquote",null,[e("p",null,"Directus can be installed in many different ways and on several different stacks. You can choose between local, self-hosted on-premises, or our managed Cloud solution.")],-1),p=e("p",null,"While our CLI is the recommended method for self-hosting, you can use whichever of these self-hosted options best suits your needs. These methods offer a high level of customization and are ideal for intermediate developers.",-1),f=t("Command Line Interface (CLI)"),_=t("Docker"),m=t("Manually"),g={class:"tip hint"},y=e("div",{class:"hint-title"},"Development Environment",-1),k=t("To work on the Directus Core source code, please follow our "),b=t("Contributing Guide"),w=t("."),v=e("h2",{id:"deployment-guides"},[t("Deployment Guides "),e("a",{class:"header-anchor",href:"#deployment-guides"},"#")],-1),D=e("p",null,"The following guides will walk you through the self-hosted installation process for specific third-party platforms. These options are only recommended for developers familiar with these services and comfortable with more advanced setup. While Directus is always completely free, you will likely need to pay for these services.",-1),C=t("Generic Ubuntu"),I=t("Internet Information Services (IIS)"),F=t("Amazon AWS"),T=t("DigitalOcean App Platform"),W=t("Shared Hosting with Plesk"),x=e("h2",{id:"one-click-installs"},[t("One-Click Installs "),e("a",{class:"header-anchor",href:"#one-click-installs"},"#")],-1),L=e("p",null,"If you would like to completely avoid the manual installation process, the following self-hosted one-click apps will handle the heavy-lifting for you. While Directus is always completely free, you will likely need to pay for these services.",-1),S=e("ul",null,[e("li",null,[e("a",{href:"https://marketplace.digitalocean.com/apps/directus?action=deploy&refcode=4c0b6062c16e",target:"_blank",rel:"noopener noreferrer"},"DigitalOcean")]),e("li",null,[e("a",{href:"https://heroku.com/deploy?template=https://github.com/directus-community/heroku-template",target:"_blank",rel:"noopener noreferrer"},"Heroku")]),e("li",null,[e("a",{href:"https://console.platform.sh/projects/create-project?template=https%3A%2F%2Fraw.githubusercontent.com%2Fplatformsh%2Ftemplate-builder%2Fmaster%2Ftemplates%2Fdirectus%2F.platform.template.yaml",target:"_blank",rel:"noopener noreferrer"},"Platform.sh")]),e("li",null,[e("a",{href:"https://deploy.zeet.co/?url=https://github.com/directus-community/heroku-template",target:"_blank",rel:"noopener noreferrer"},"Zeet")])],-1),j=e("h2",{id:"directus-cloud"},[t("Directus Cloud "),e("a",{class:"header-anchor",href:"#directus-cloud"},"#")],-1),A=e("p",null,"In addition to the self-hosted options above, you can also choose to create Directus projects using our official Managed Cloud Service. This is the easiest way to get up-and-running with Directus \u2014 even for non-technical users. Unique features include dedicated hardware, automatic updates, automatic backups, usage-based pricing, and more.",-1),B=e("ul",null,[e("li",null,[e("a",{href:"http://directus.cloud/",target:"_blank",rel:"noopener noreferrer"},"Directus Cloud Dashboard")]),e("li",null,[e("a",{href:"https://directus.io/on-demand-cloud/",target:"_blank",rel:"noopener noreferrer"},"Learn more about On-Demand Cloud")]),e("li",null,[e("a",{href:"https://directus.io/enterprise-cloud/",target:"_blank",rel:"noopener noreferrer"},"Learn more about Enterprise Cloud")])],-1),E={setup(O,{expose:a}){const n={title:"Installation",modularExtension:!1};return a({frontmatter:n}),(P,q)=>{const l=i("router-link"),r=i("DocsWrapper");return c(),d(r,{frontmatter:n},{default:o(()=>[e("div",u,[h,p,e("ul",null,[e("li",null,[s(l,{to:"/docs/guides/installation/cli"},{default:o(()=>[f]),_:1})]),e("li",null,[s(l,{to:"/docs/guides/installation/docker"},{default:o(()=>[_]),_:1})]),e("li",null,[s(l,{to:"/docs/guides/installation/manual"},{default:o(()=>[m]),_:1})])]),e("div",g,[y,e("p",null,[k,s(l,{to:"/docs/contributing/introduction"},{default:o(()=>[b]),_:1}),w])]),v,D,e("ul",null,[e("li",null,[s(l,{to:"/docs/guides/installation/ubuntu"},{default:o(()=>[C]),_:1})]),e("li",null,[s(l,{to:"/docs/guides/installation/iis"},{default:o(()=>[I]),_:1})]),e("li",null,[s(l,{to:"/docs/guides/installation/aws"},{default:o(()=>[F]),_:1})]),e("li",null,[s(l,{to:"/docs/guides/installation/digitalocean-app-platform"},{default:o(()=>[T]),_:1})]),e("li",null,[s(l,{to:"/docs/guides/installation/plesk"},{default:o(()=>[W]),_:1})])]),x,L,S,j,A,B])]),_:1})}}};export{E as default};
@@ -1,4 +1,4 @@
1
- import{r as l,p as r,q as d,w as n,B as e,t as a,P as t}from"./vendor.62143b15.js";const u={class:"markdown-body"},h=t("Custom Interfaces allow you to create new ways of viewing or interacting with field data on the Item Detail page. "),p=t("Learn more about Interfaces"),f=t("."),_=e("h2",{id:"1.-setup-the-boilerplate"},[t("1. Setup the Boilerplate "),e("a",{class:"header-anchor",href:"#1.-setup-the-boilerplate"},"#")],-1),m=e("p",null,"Every interface is a standalone \u201Cpackage\u201D that contains at least a metadata file and a Vue component. We recommend using the following file structure:",-1),y=e("pre",null,[e("code",null,`src/
1
+ import{r as l,p as r,q as d,w as n,B as e,t as a,P as t}from"./vendor.a626ab9c.js";const u={class:"markdown-body"},h=t("Custom Interfaces allow you to create new ways of viewing or interacting with field data on the Item Detail page. "),p=t("Learn more about Interfaces"),f=t("."),_=e("h2",{id:"1.-setup-the-boilerplate"},[t("1. Setup the Boilerplate "),e("a",{class:"header-anchor",href:"#1.-setup-the-boilerplate"},"#")],-1),m=e("p",null,"Every interface is a standalone \u201Cpackage\u201D that contains at least a metadata file and a Vue component. We recommend using the following file structure:",-1),y=e("pre",null,[e("code",null,`src/
2
2
  index.js
3
3
  interface.vue
4
4
  `)],-1),g=e("h3",{id:"src%2Findex.js"},[t("src/index.js "),e("a",{class:"header-anchor",href:"#src%2Findex.js"},"#")],-1),b=e("pre",null,[e("code",{class:"language-js"},[e("span",{class:"hljs-keyword"},"import"),t(" InterfaceComponent "),e("span",{class:"hljs-keyword"},"from"),t(),e("span",{class:"hljs-string"},"'./interface.vue'"),t(`;
@@ -1 +1 @@
1
- import{r,p as u,q as c,w as l,B as e,t as o,P as t}from"./vendor.62143b15.js";const d={class:"markdown-body"},_=e("blockquote",null,[e("p",null,"Interfaces determine how you view or interact with a field. In most cases, they offer some sort of input tailored to managing data of a specific type, but can also be used exclusively for presentation.")],-1),h=t("Interfaces provide different ways to view or interact with field data on the "),p=t("Item Detail"),f=t(" page\u2019s form. Every interface supports a specific subset of field "),g=t("types"),m=t(" (eg: String), which determines how the data will be stored. For example, the "),w=e("em",null,"Text Input",-1),y=t(" interface can manage most types of data, but might not be ideal for dates, where a "),x=e("em",null,"Calendar",-1),b=t(" interface excels."),v=e("p",null,"Directus includes many Interfaces out-of-the-box, below are the some key examples:",-1),I=e("ul",null,[e("li",null,[e("strong",null,"Checkboxes")]),e("li",null,[e("strong",null,"Code")]),e("li",null,[e("strong",null,"Color")]),e("li",null,[e("strong",null,"DateTime")]),e("li",null,[e("strong",null,"Divider")]),e("li",null,[e("strong",null,"Dropdown")]),e("li",null,[e("strong",null,"File")]),e("li",null,[e("strong",null,"Image")]),e("li",null,[e("strong",null,"Many-to-Many")]),e("li",null,[e("strong",null,"Many-to-One")]),e("li",null,[e("strong",null,"Markdown")]),e("li",null,[e("strong",null,"Notice")]),e("li",null,[e("strong",null,"Numeric")]),e("li",null,[e("strong",null,"One-to-Many")]),e("li",null,[e("strong",null,"Radio Buttons")]),e("li",null,[e("strong",null,"Repeater")]),e("li",null,[e("strong",null,"Slider")]),e("li",null,[e("strong",null,"Tags")]),e("li",null,[e("strong",null,"Text Input")]),e("li",null,[e("strong",null,"Textarea")]),e("li",null,[e("strong",null,"Toggle")]),e("li",null,[e("strong",null,"Translations")]),e("li",null,[e("strong",null,"WYSIWYG")])],-1),k=e("h2",{id:"custom-interface-extensions"},[t("Custom Interface Extensions "),e("a",{class:"header-anchor",href:"#custom-interface-extensions"},"#")],-1),C=e("p",null,"In addition to these core interfaces, custom interfaces allow for creating more tailored or proprietary ways to view or manage field data, such as bespoke layout builders, skeuomorphic knobs, or relational views for third-party data (eg: Stripe Credit Card UI).",-1),T=e("h4",{id:"relevant-guides"},[t("Relevant Guides "),e("a",{class:"header-anchor",href:"#relevant-guides"},"#")],-1),D=t("Creating a Custom Interface"),W={setup(B,{expose:a}){const s={title:"Interfaces",modularExtension:!0};return a({frontmatter:s}),(M,N)=>{const n=r("router-link"),i=r("DocsWrapper");return u(),c(i,{frontmatter:s},{default:l(()=>[e("div",d,[_,e("p",null,[h,o(n,{to:"/docs/concepts/application/#item-detail"},{default:l(()=>[p]),_:1}),f,o(n,{to:"/docs/concepts/types/"},{default:l(()=>[g]),_:1}),m,w,y,x,b]),v,I,k,C,T,e("ul",null,[e("li",null,[o(n,{to:"/docs/guides/interfaces"},{default:l(()=>[D]),_:1})])])])]),_:1})}}};export{W as default};
1
+ import{r,p as u,q as c,w as l,B as e,t as o,P as t}from"./vendor.a626ab9c.js";const d={class:"markdown-body"},_=e("blockquote",null,[e("p",null,"Interfaces determine how you view or interact with a field. In most cases, they offer some sort of input tailored to managing data of a specific type, but can also be used exclusively for presentation.")],-1),h=t("Interfaces provide different ways to view or interact with field data on the "),p=t("Item Detail"),f=t(" page\u2019s form. Every interface supports a specific subset of field "),g=t("types"),m=t(" (eg: String), which determines how the data will be stored. For example, the "),w=e("em",null,"Text Input",-1),y=t(" interface can manage most types of data, but might not be ideal for dates, where a "),x=e("em",null,"Calendar",-1),b=t(" interface excels."),v=e("p",null,"Directus includes many Interfaces out-of-the-box, below are the some key examples:",-1),I=e("ul",null,[e("li",null,[e("strong",null,"Checkboxes")]),e("li",null,[e("strong",null,"Code")]),e("li",null,[e("strong",null,"Color")]),e("li",null,[e("strong",null,"DateTime")]),e("li",null,[e("strong",null,"Divider")]),e("li",null,[e("strong",null,"Dropdown")]),e("li",null,[e("strong",null,"File")]),e("li",null,[e("strong",null,"Image")]),e("li",null,[e("strong",null,"Many-to-Many")]),e("li",null,[e("strong",null,"Many-to-One")]),e("li",null,[e("strong",null,"Markdown")]),e("li",null,[e("strong",null,"Notice")]),e("li",null,[e("strong",null,"Numeric")]),e("li",null,[e("strong",null,"One-to-Many")]),e("li",null,[e("strong",null,"Radio Buttons")]),e("li",null,[e("strong",null,"Repeater")]),e("li",null,[e("strong",null,"Slider")]),e("li",null,[e("strong",null,"Tags")]),e("li",null,[e("strong",null,"Text Input")]),e("li",null,[e("strong",null,"Textarea")]),e("li",null,[e("strong",null,"Toggle")]),e("li",null,[e("strong",null,"Translations")]),e("li",null,[e("strong",null,"WYSIWYG")])],-1),k=e("h2",{id:"custom-interface-extensions"},[t("Custom Interface Extensions "),e("a",{class:"header-anchor",href:"#custom-interface-extensions"},"#")],-1),C=e("p",null,"In addition to these core interfaces, custom interfaces allow for creating more tailored or proprietary ways to view or manage field data, such as bespoke layout builders, skeuomorphic knobs, or relational views for third-party data (eg: Stripe Credit Card UI).",-1),T=e("h4",{id:"relevant-guides"},[t("Relevant Guides "),e("a",{class:"header-anchor",href:"#relevant-guides"},"#")],-1),D=t("Creating a Custom Interface"),W={setup(B,{expose:a}){const s={title:"Interfaces",modularExtension:!0};return a({frontmatter:s}),(M,N)=>{const n=r("router-link"),i=r("DocsWrapper");return u(),c(i,{frontmatter:s},{default:l(()=>[e("div",d,[_,e("p",null,[h,o(n,{to:"/docs/concepts/application/#item-detail"},{default:l(()=>[p]),_:1}),f,o(n,{to:"/docs/concepts/types/"},{default:l(()=>[g]),_:1}),m,w,y,x,b]),v,I,k,C,T,e("ul",null,[e("li",null,[o(n,{to:"/docs/guides/interfaces"},{default:l(()=>[D]),_:1})])])])]),_:1})}}};export{W as default};
@@ -1 +1 @@
1
- import{r as a,p as c,q as d,w as o,B as e,t as n,P as t}from"./vendor.62143b15.js";const u={class:"markdown-body"},h=e("blockquote",null,[e("p",null,"These Docs will help you get up-and-running quickly, guide you through advanced features, and explain the core concepts that make Directus so unique.")],-1),p=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Version 9"),e("p",null,[t("This is the documentation for the new "),e("strong",null,[e("a",{href:"https://github.com/directus/directus",target:"_blank",rel:"noopener noreferrer"},"Directus 9")]),t(" platform written in Node.js. If you are looking for the previous "),e("strong",null,[e("a",{href:"https://github.com/directus/v8-archive/releases/latest",target:"_blank",rel:"noopener noreferrer"},"Directus 8")]),t(" (PHP) docs, you can find them "),e("a",{href:"https://v8.docs.directus.io",target:"_blank",rel:"noopener noreferrer"},"here"),t(".")])],-1),_=e("h2",{id:"what-is-directus%3F"},[t("What is Directus? "),e("a",{class:"header-anchor",href:"#what-is-directus%3F"},"#")],-1),f=e("p",null,[e("strong",null,"Directus is an Open Data Platform for managing the content of any SQL database. It provides a powerful API layer for developers and an intuitive App for non-technical users."),t(" Written entirely in JavaScript (primarily "),e("a",{href:"https://nodejs.dev",target:"_blank",rel:"noopener noreferrer"},"Node.js"),t(" and "),e("a",{href:"https://vuejs.org",target:"_blank",rel:"noopener noreferrer"},"Vue.js"),t("), Directus is completely open-source, modular, and extensible, allowing it to be fully tailored to the requirements of any project.")],-1),m=e("p",null,"The platform can be used for an individual purpose, such as headless content management, or more broadly to democratize an entire organization\u2019s data (customers, inventory, business intelligence, projects, etc).",-1),g=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"What's in a name?"),e("p",null,[t("\u201CDirectus\u201D ("),e("a",{href:"http://audio.pronouncekiwi.com/Salli/Directus",target:"_blank",rel:"noopener noreferrer"},"duh REKT iss"),t(") is Latin for: "),e("em",null,"laid straight, arranged in lines"),t(". The broadest goal of our platform is to present data in a simple, orderly, and intuitive way.")])],-1),b=e("h2",{id:"database-mirroring"},[t("Database Mirroring "),e("a",{class:"header-anchor",href:"#database-mirroring"},"#")],-1),y=t("What makes Directus so unique is that it dynamically generates custom API endpoints based on your SQL database\u2019s schema in real-time \u2014 something we call \u201C"),w=t("Database Mirroring"),v=t("\u201D."),k=t(" Whether you install fresh or on top of an existing database, you always maintain end-to-end control over your actual database, including: tables, columns, datatypes, default values, indexes, relationships, etc."),D=e("p",null,"Below is an overview to how Directus mirrors the database, and our non-technical naming convention.",-1),A=t("Project"),C=t(" \u2014 A Database (also includes asset storage and the config file)"),P=t("Collection"),I=t(" \u2014 A Database Table"),S=t("Fields"),T=t(" \u2014 A Database Column"),x=t("Item"),j=t(" \u2014 A Database Record/Row"),O=t("Relationships"),E=t(" \u2014 A Database Relationship, including additional non-standard types"),L=t("Type"),W=t(" \u2014 A Database Data Type, including additional non-standard types"),q=t("Users"),M=t(" \u2014 A Directus User (App or API), not to be confused with a Database User"),N=e("p",null,[t("Perhaps one of the biggest advantages of "),e("em",null,"Database Mirroring"),t(" is that you have direct access to your pure and unaltered data. That means you have the option to bypass the Directus middleware (API, SDK, App) and connect to your data with proper SQL queries. This effectively removes all bottlenecks, latency overhead, and proprietary access limitations.")],-1),R=e("h2",{id:"modular-%26-extensible"},[t("Modular & Extensible "),e("a",{class:"header-anchor",href:"#modular-%26-extensible"},"#")],-1),V=e("p",null,"What makes Directus so flexible is that it has been designed from the ground up with complete extensibility, helping avoid a feature ceiling. In addition to offering our software\u2019s codebase as open-source, we\u2019ve included the following extension types in the platform\u2019s App and API.",-1),F=t("Modules"),H=t(" \u2014 (App) The highest and broadest level of organization within the App"),B=t("Layouts"),G=t(" \u2014 (App) How you browse, view or interact with a set of Items in a Collection"),Q=t("Interfaces"),z=t(" \u2014 (App) How you view or interact with a field and its value"),U=t("Displays"),J=t(" \u2014 (App) A small inline preview of a field\u2019s value"),K=e("li",null,[e("strong",null,[e("a",{href:"#"},"Panes")]),t(" \u2014 (App) A way to view dashboard data within the Insights Module")],-1),Y=t("Styles"),X=t(" \u2014 (App) Whitelabeling through App Themes and CSS Overrides"),Z=t("Endpoints"),$=t(" \u2014 (API) Custom registered API endpoints"),ee=t("Hooks"),te=t(" \u2014 (API) Event and interval hooks for triggering custom logic"),oe=t("Email Templates"),se=t(" \u2014 (API) Custom structure and formatting for emails"),ne=e("h2",{id:"core-principles"},[t("Core Principles "),e("a",{class:"header-anchor",href:"#core-principles"},"#")],-1),re=e("p",null,"Directus is a simple solution for complex problems, with a data-first approach guided by the following core principles:",-1),ae=e("ul",null,[e("li",null,[e("strong",null,"Pure"),t(" \u2014 There is no predefined model or proprietary rules for your schema, and all system settings are stored separately.")]),e("li",null,[e("strong",null,"Open"),t(" \u2014 Our entire codebase is public and transparent, allowing for end-to-end audits. Nothing is obfuscated or black-boxed.")]),e("li",null,[e("strong",null,"Portable"),t(" \u2014 Data is stored in your bespoke database and can be migrated/exported/backed-up at any time. Absolutely no vendor lock-in.")]),e("li",null,[e("strong",null,"Limitless"),t(" \u2014 Create unlimited users, roles, languages, collections, and items. No arbitrary restrictions or paywall limitations.")]),e("li",null,[e("strong",null,"Extensible"),t(" \u2014 Every aspect of the platform is modular, allowing you to adapt, customize, and infinitely extend the Core engine.")]),e("li",null,[e("strong",null,"Unopinionated"),t(" \u2014 Choose your database (all SQL vendors), API (REST or GraphQL), and infra (self-hosted or Cloud).")])],-1),ie=e("h2",{id:"the-directus-ecosystem"},[t("The Directus Ecosystem "),e("a",{class:"header-anchor",href:"#the-directus-ecosystem"},"#")],-1),le=e("h3",{id:"open-source-core"},[t("Open-Source Core "),e("a",{class:"header-anchor",href:"#open-source-core"},"#")],-1),ce=e("p",null,"Our completely free and open-source (GPLv3) Open Data Platform. Directus includes our dynamic API engine (Node.js), the intuitive Admin App (Vue.js), this documentation (Markdown), and all dependencies.",-1),de=e("ul",null,[e("li",null,[e("strong",null,[e("a",{href:"https://github.com/directus/directus",target:"_blank",rel:"noopener noreferrer"},"GitHub Repository")])]),e("li",null,[e("strong",null,[e("a",{href:"https://www.npmjs.com/package/directus",target:"_blank",rel:"noopener noreferrer"},"npm Package")])]),e("li",null,[e("strong",null,[e("a",{href:"https://hub.docker.com/r/directus/directus",target:"_blank",rel:"noopener noreferrer"},"Docker Image")])])],-1),ue=e("h3",{id:"documentation"},[t("Documentation "),e("a",{class:"header-anchor",href:"#documentation"},"#")],-1),he=e("p",null,[e("a",{href:"https://docs.directus.io",target:"_blank",rel:"noopener noreferrer"},"Our documentation"),t(" describes the most recent version of our platform. They are written in publicly managed markdown files so the community can help keep them clean and up-to-date. The docs are divided into the following sections:")],-1),pe=t("Getting Started"),_e=t(" \u2014 Novice oriented, for a platform intro and installation."),fe=t("Concepts"),me=t(" \u2014 Learning oriented, for understanding the platform."),ge=t("Guides"),be=t(" \u2014 Problem oriented, follow along with steps while working."),ye=t("Reference"),we=t(" \u2014 Information oriented, look up info and specs while working."),ve=t("API Reference"),ke=t(" \u2014 Information oriented, look up API resources while working."),De=t("Contributing"),Ae=t(" \u2014 Contributor oriented \u2014 resources for working on Open-Source Core."),Ce={class:"tip hint"},Pe=e("div",{class:"hint-title"},"Versioned Docs",-1),Ie=t("Specific version of the Docs ship with each install of Directus 9. They can be found within the "),Se=t("Documentation module"),Te=t(" of the App."),xe=e("h3",{id:"on-demand-cloud"},[t("On-Demand Cloud "),e("a",{class:"header-anchor",href:"#on-demand-cloud"},"#")],-1),je=e("p",null,[e("a",{href:"https://directus.cloud",target:"_blank",rel:"noopener noreferrer"},"Our self-service platform"),t(" for quick and affordable instances of Directus on a multitenant infrastructure. Each project includes automatic updates, automatic backups, .")],-1),Oe=e("h3",{id:"enterprise-cloud"},[t("Enterprise Cloud "),e("a",{class:"header-anchor",href:"#enterprise-cloud"},"#")],-1),Ee=e("p",null,[t("Our premium managed solution. Powered by dedicated hardware in your selected region, this service offers high-availability, custom limits, SSO, API white-labeling, uptime SLAs, and more. "),e("a",{href:"https://directus.io/contact/",target:"_blank",rel:"noopener noreferrer"},"Contact our sales team"),t(" to discuss pricing and options.")],-1),Le=e("h3",{id:"cloud-documentation"},[t("Cloud Documentation "),e("a",{class:"header-anchor",href:"#cloud-documentation"},"#")],-1),We=e("p",null,[e("a",{href:"https://directus.cloud/docs",target:"_blank",rel:"noopener noreferrer"},"Cloud-Specific Docs"),t(" include guides for managing projects within our Cloud Dashboard.")],-1),qe=e("h3",{id:"private-demos"},[t("Private Demos "),e("a",{class:"header-anchor",href:"#private-demos"},"#")],-1),Me=e("p",null,[t("Our On-Demand Cloud platform includes ability to "),e("a",{href:"https://directus.cloud/docs#creating-a-private-demo",target:"_blank",rel:"noopener noreferrer"},"create private demo instances"),t(". Each demo runs the latest version of Directus, lasts for several hours, and is completely free, with no credit card required.")],-1),Ne=e("h3",{id:"system-status"},[t("System Status "),e("a",{class:"header-anchor",href:"#system-status"},"#")],-1),Re=e("p",null,[t("The "),e("a",{href:"https://status.directus.cloud",target:"_blank",rel:"noopener noreferrer"},"Status Page"),t(" provides up-to-date information on our various systems, including current and historical incident details and our 30-day uptime percentage. From this site you can access the global status or your Cloud project\u2019s dedicated status page.")],-1),Ve=e("h3",{id:"website"},[t("Website "),e("a",{class:"header-anchor",href:"#website"},"#")],-1),Fe=e("p",null,[t("Our "),e("a",{href:"https://directus.io",target:"_blank",rel:"noopener noreferrer"},"marketing site"),t(" provides general information, resources, and team info for the project.")],-1),He=e("h3",{id:"social"},[t("Social "),e("a",{class:"header-anchor",href:"#social"},"#")],-1),Be=e("p",null,[t("For the latest product info and sneak-peeks, be sure to follow us on "),e("a",{href:"https://twitter.com/directus",target:"_blank",rel:"noopener noreferrer"},"Twitter"),t(".")],-1),Ge=e("h3",{id:"videos"},[t("Videos "),e("a",{class:"header-anchor",href:"#videos"},"#")],-1),Qe=e("p",null,[t("Our "),e("a",{href:"https://www.youtube.com/c/DirectusVideos",target:"_blank",rel:"noopener noreferrer"},"YouTube Channel"),t(" has video tutorials, release updates, feature overviews, and more.")],-1),ze=e("h3",{id:"community"},[t("Community "),e("a",{class:"header-anchor",href:"#community"},"#")],-1),Ue=e("p",null,[t("Join our growing community of 4,000+ developers on "),e("a",{href:"https://directus.chat",target:"_blank",rel:"noopener noreferrer"},"Discord"),t(" and Slack (legacy). From community support to seeing where the platform is heading next, it\u2019s a great way to get involved.")],-1),Je=e("h3",{id:"app-locales"},[t("App Locales "),e("a",{class:"header-anchor",href:"#app-locales"},"#")],-1),Ke=t("We use "),Ye=e("a",{href:"https://locales.directus.io/",target:"_blank",rel:"noopener noreferrer"},"Crowdin",-1),Xe=t(" to manage our numerous App translations. If you\u2019re looking to add or improve Directus in your language, you can "),Ze=t("learn more here"),$e=t("."),et=e("h3",{id:"marketplace"},[t("Marketplace "),e("a",{class:"header-anchor",href:"#marketplace"},"#")],-1),tt=e("p",null,[t("Coming in 2021, the "),e("a",{href:"https://directus.market/",target:"_blank",rel:"noopener noreferrer"},"Directus Marketplace"),t(" will offer a unified portal to extensions created by our Core Team and community contributors.")],-1),ot=e("h3",{id:"awesome-list"},[t("Awesome List "),e("a",{class:"header-anchor",href:"#awesome-list"},"#")],-1),st=e("p",null,[t("Head to "),e("a",{href:"https://github.com/directus-community/awesome-directus",target:"_blank",rel:"noopener noreferrer"},"awesome-directus"),t(" for a list of awesome things related to Directus.")],-1),lt={setup(nt,{expose:i}){const r={title:"Directus Docs",modularExtension:!1};return i({frontmatter:r}),(rt,at)=>{const s=a("router-link"),l=a("DocsWrapper");return c(),d(l,{frontmatter:r},{default:o(()=>[e("div",u,[h,p,_,f,m,g,b,e("p",null,[e("strong",null,[y,n(s,{to:"/docs/concepts/databases/#database-mirroring"},{default:o(()=>[w]),_:1}),v]),k]),D,e("ul",null,[e("li",null,[e("strong",null,[n(s,{to:"/docs/concepts/projects/"},{default:o(()=>[A]),_:1})]),C]),e("li",null,[e("strong",null,[n(s,{to:"/docs/concepts/collections/"},{default:o(()=>[P]),_:1})]),I]),e("li",null,[e("strong",null,[n(s,{to:"/docs/concepts/fields/"},{default:o(()=>[S]),_:1})]),T]),e("li",null,[e("strong",null,[n(s,{to:"/docs/concepts/items/"},{default:o(()=>[x]),_:1})]),j]),e("li",null,[e("strong",null,[n(s,{to:"/docs/concepts/relationships/"},{default:o(()=>[O]),_:1})]),E]),e("li",null,[e("strong",null,[n(s,{to:"/docs/concepts/types/"},{default:o(()=>[L]),_:1})]),W]),e("li",null,[e("strong",null,[n(s,{to:"/docs/concepts/users/"},{default:o(()=>[q]),_:1})]),M])]),N,R,V,e("ul",null,[e("li",null,[e("strong",null,[n(s,{to:"/docs/concepts/modules/"},{default:o(()=>[F]),_:1})]),H]),e("li",null,[e("strong",null,[n(s,{to:"/docs/concepts/layouts/"},{default:o(()=>[B]),_:1})]),G]),e("li",null,[e("strong",null,[n(s,{to:"/docs/concepts/interfaces/"},{default:o(()=>[Q]),_:1})]),z]),e("li",null,[e("strong",null,[n(s,{to:"/docs/concepts/displays/"},{default:o(()=>[U]),_:1})]),J]),K,e("li",null,[e("strong",null,[n(s,{to:"/docs/guides/styles/"},{default:o(()=>[Y]),_:1})]),X]),e("li",null,[e("strong",null,[n(s,{to:"/docs/guides/api-endpoints/"},{default:o(()=>[Z]),_:1})]),$]),e("li",null,[e("strong",null,[n(s,{to:"/docs/guides/api-hooks/"},{default:o(()=>[ee]),_:1})]),te]),e("li",null,[e("strong",null,[n(s,{to:"/docs/guides/email-templates/"},{default:o(()=>[oe]),_:1})]),se])]),ne,re,ae,ie,le,ce,de,ue,he,e("ul",null,[e("li",null,[n(s,{to:"/docs/getting-started/introduction/"},{default:o(()=>[pe]),_:1}),_e]),e("li",null,[n(s,{to:"/docs/concepts/activity/"},{default:o(()=>[fe]),_:1}),me]),e("li",null,[n(s,{to:"/docs/guides/projects/"},{default:o(()=>[ge]),_:1}),be]),e("li",null,[n(s,{to:"/docs/reference/command-line-interface/"},{default:o(()=>[ye]),_:1}),we]),e("li",null,[n(s,{to:"/docs/reference/api/introduction/"},{default:o(()=>[ve]),_:1}),ke]),e("li",null,[n(s,{to:"/docs/contributing/introduction/"},{default:o(()=>[De]),_:1}),Ae])]),e("div",Ce,[Pe,e("p",null,[Ie,n(s,{to:"/docs/concepts/application#documentation"},{default:o(()=>[Se]),_:1}),Te])]),xe,je,Oe,Ee,Le,We,qe,Me,Ne,Re,Ve,Fe,He,Be,Ge,Qe,ze,Ue,Je,e("p",null,[Ke,Ye,Xe,n(s,{to:"/docs/contributing/translations/"},{default:o(()=>[Ze]),_:1}),$e]),et,tt,ot,st])]),_:1})}}};export{lt as default};
1
+ import{r as a,p as c,q as d,w as o,B as e,t as n,P as t}from"./vendor.a626ab9c.js";const u={class:"markdown-body"},h=e("blockquote",null,[e("p",null,"These Docs will help you get up-and-running quickly, guide you through advanced features, and explain the core concepts that make Directus so unique.")],-1),p=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Version 9"),e("p",null,[t("This is the documentation for the new "),e("strong",null,[e("a",{href:"https://github.com/directus/directus",target:"_blank",rel:"noopener noreferrer"},"Directus 9")]),t(" platform written in Node.js. If you are looking for the previous "),e("strong",null,[e("a",{href:"https://github.com/directus/v8-archive/releases/latest",target:"_blank",rel:"noopener noreferrer"},"Directus 8")]),t(" (PHP) docs, you can find them "),e("a",{href:"https://v8.docs.directus.io",target:"_blank",rel:"noopener noreferrer"},"here"),t(".")])],-1),_=e("h2",{id:"what-is-directus%3F"},[t("What is Directus? "),e("a",{class:"header-anchor",href:"#what-is-directus%3F"},"#")],-1),f=e("p",null,[e("strong",null,"Directus is an Open Data Platform for managing the content of any SQL database. It provides a powerful API layer for developers and an intuitive App for non-technical users."),t(" Written entirely in JavaScript (primarily "),e("a",{href:"https://nodejs.dev",target:"_blank",rel:"noopener noreferrer"},"Node.js"),t(" and "),e("a",{href:"https://vuejs.org",target:"_blank",rel:"noopener noreferrer"},"Vue.js"),t("), Directus is completely open-source, modular, and extensible, allowing it to be fully tailored to the requirements of any project.")],-1),m=e("p",null,"The platform can be used for an individual purpose, such as headless content management, or more broadly to democratize an entire organization\u2019s data (customers, inventory, business intelligence, projects, etc).",-1),g=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"What's in a name?"),e("p",null,[t("\u201CDirectus\u201D ("),e("a",{href:"http://audio.pronouncekiwi.com/Salli/Directus",target:"_blank",rel:"noopener noreferrer"},"duh REKT iss"),t(") is Latin for: "),e("em",null,"laid straight, arranged in lines"),t(". The broadest goal of our platform is to present data in a simple, orderly, and intuitive way.")])],-1),b=e("h2",{id:"database-mirroring"},[t("Database Mirroring "),e("a",{class:"header-anchor",href:"#database-mirroring"},"#")],-1),y=t("What makes Directus so unique is that it dynamically generates custom API endpoints based on your SQL database\u2019s schema in real-time \u2014 something we call \u201C"),w=t("Database Mirroring"),v=t("\u201D."),k=t(" Whether you install fresh or on top of an existing database, you always maintain end-to-end control over your actual database, including: tables, columns, datatypes, default values, indexes, relationships, etc."),D=e("p",null,"Below is an overview to how Directus mirrors the database, and our non-technical naming convention.",-1),A=t("Project"),C=t(" \u2014 A Database (also includes asset storage and the config file)"),P=t("Collection"),I=t(" \u2014 A Database Table"),S=t("Fields"),T=t(" \u2014 A Database Column"),x=t("Item"),j=t(" \u2014 A Database Record/Row"),O=t("Relationships"),E=t(" \u2014 A Database Relationship, including additional non-standard types"),L=t("Type"),W=t(" \u2014 A Database Data Type, including additional non-standard types"),q=t("Users"),M=t(" \u2014 A Directus User (App or API), not to be confused with a Database User"),N=e("p",null,[t("Perhaps one of the biggest advantages of "),e("em",null,"Database Mirroring"),t(" is that you have direct access to your pure and unaltered data. That means you have the option to bypass the Directus middleware (API, SDK, App) and connect to your data with proper SQL queries. This effectively removes all bottlenecks, latency overhead, and proprietary access limitations.")],-1),R=e("h2",{id:"modular-%26-extensible"},[t("Modular & Extensible "),e("a",{class:"header-anchor",href:"#modular-%26-extensible"},"#")],-1),V=e("p",null,"What makes Directus so flexible is that it has been designed from the ground up with complete extensibility, helping avoid a feature ceiling. In addition to offering our software\u2019s codebase as open-source, we\u2019ve included the following extension types in the platform\u2019s App and API.",-1),F=t("Modules"),H=t(" \u2014 (App) The highest and broadest level of organization within the App"),B=t("Layouts"),G=t(" \u2014 (App) How you browse, view or interact with a set of Items in a Collection"),Q=t("Interfaces"),z=t(" \u2014 (App) How you view or interact with a field and its value"),U=t("Displays"),J=t(" \u2014 (App) A small inline preview of a field\u2019s value"),K=e("li",null,[e("strong",null,[e("a",{href:"#"},"Panes")]),t(" \u2014 (App) A way to view dashboard data within the Insights Module")],-1),Y=t("Styles"),X=t(" \u2014 (App) Whitelabeling through App Themes and CSS Overrides"),Z=t("Endpoints"),$=t(" \u2014 (API) Custom registered API endpoints"),ee=t("Hooks"),te=t(" \u2014 (API) Event and interval hooks for triggering custom logic"),oe=t("Email Templates"),se=t(" \u2014 (API) Custom structure and formatting for emails"),ne=e("h2",{id:"core-principles"},[t("Core Principles "),e("a",{class:"header-anchor",href:"#core-principles"},"#")],-1),re=e("p",null,"Directus is a simple solution for complex problems, with a data-first approach guided by the following core principles:",-1),ae=e("ul",null,[e("li",null,[e("strong",null,"Pure"),t(" \u2014 There is no predefined model or proprietary rules for your schema, and all system settings are stored separately.")]),e("li",null,[e("strong",null,"Open"),t(" \u2014 Our entire codebase is public and transparent, allowing for end-to-end audits. Nothing is obfuscated or black-boxed.")]),e("li",null,[e("strong",null,"Portable"),t(" \u2014 Data is stored in your bespoke database and can be migrated/exported/backed-up at any time. Absolutely no vendor lock-in.")]),e("li",null,[e("strong",null,"Limitless"),t(" \u2014 Create unlimited users, roles, languages, collections, and items. No arbitrary restrictions or paywall limitations.")]),e("li",null,[e("strong",null,"Extensible"),t(" \u2014 Every aspect of the platform is modular, allowing you to adapt, customize, and infinitely extend the Core engine.")]),e("li",null,[e("strong",null,"Unopinionated"),t(" \u2014 Choose your database (all SQL vendors), API (REST or GraphQL), and infra (self-hosted or Cloud).")])],-1),ie=e("h2",{id:"the-directus-ecosystem"},[t("The Directus Ecosystem "),e("a",{class:"header-anchor",href:"#the-directus-ecosystem"},"#")],-1),le=e("h3",{id:"open-source-core"},[t("Open-Source Core "),e("a",{class:"header-anchor",href:"#open-source-core"},"#")],-1),ce=e("p",null,"Our completely free and open-source (GPLv3) Open Data Platform. Directus includes our dynamic API engine (Node.js), the intuitive Admin App (Vue.js), this documentation (Markdown), and all dependencies.",-1),de=e("ul",null,[e("li",null,[e("strong",null,[e("a",{href:"https://github.com/directus/directus",target:"_blank",rel:"noopener noreferrer"},"GitHub Repository")])]),e("li",null,[e("strong",null,[e("a",{href:"https://www.npmjs.com/package/directus",target:"_blank",rel:"noopener noreferrer"},"npm Package")])]),e("li",null,[e("strong",null,[e("a",{href:"https://hub.docker.com/r/directus/directus",target:"_blank",rel:"noopener noreferrer"},"Docker Image")])])],-1),ue=e("h3",{id:"documentation"},[t("Documentation "),e("a",{class:"header-anchor",href:"#documentation"},"#")],-1),he=e("p",null,[e("a",{href:"https://docs.directus.io",target:"_blank",rel:"noopener noreferrer"},"Our documentation"),t(" describes the most recent version of our platform. They are written in publicly managed markdown files so the community can help keep them clean and up-to-date. The docs are divided into the following sections:")],-1),pe=t("Getting Started"),_e=t(" \u2014 Novice oriented, for a platform intro and installation."),fe=t("Concepts"),me=t(" \u2014 Learning oriented, for understanding the platform."),ge=t("Guides"),be=t(" \u2014 Problem oriented, follow along with steps while working."),ye=t("Reference"),we=t(" \u2014 Information oriented, look up info and specs while working."),ve=t("API Reference"),ke=t(" \u2014 Information oriented, look up API resources while working."),De=t("Contributing"),Ae=t(" \u2014 Contributor oriented \u2014 resources for working on Open-Source Core."),Ce={class:"tip hint"},Pe=e("div",{class:"hint-title"},"Versioned Docs",-1),Ie=t("Specific version of the Docs ship with each install of Directus 9. They can be found within the "),Se=t("Documentation module"),Te=t(" of the App."),xe=e("h3",{id:"on-demand-cloud"},[t("On-Demand Cloud "),e("a",{class:"header-anchor",href:"#on-demand-cloud"},"#")],-1),je=e("p",null,[e("a",{href:"https://directus.cloud",target:"_blank",rel:"noopener noreferrer"},"Our self-service platform"),t(" for quick and affordable instances of Directus on a multitenant infrastructure. Each project includes automatic updates, automatic backups, .")],-1),Oe=e("h3",{id:"enterprise-cloud"},[t("Enterprise Cloud "),e("a",{class:"header-anchor",href:"#enterprise-cloud"},"#")],-1),Ee=e("p",null,[t("Our premium managed solution. Powered by dedicated hardware in your selected region, this service offers high-availability, custom limits, SSO, API white-labeling, uptime SLAs, and more. "),e("a",{href:"https://directus.io/contact/",target:"_blank",rel:"noopener noreferrer"},"Contact our sales team"),t(" to discuss pricing and options.")],-1),Le=e("h3",{id:"cloud-documentation"},[t("Cloud Documentation "),e("a",{class:"header-anchor",href:"#cloud-documentation"},"#")],-1),We=e("p",null,[e("a",{href:"https://directus.cloud/docs",target:"_blank",rel:"noopener noreferrer"},"Cloud-Specific Docs"),t(" include guides for managing projects within our Cloud Dashboard.")],-1),qe=e("h3",{id:"private-demos"},[t("Private Demos "),e("a",{class:"header-anchor",href:"#private-demos"},"#")],-1),Me=e("p",null,[t("Our On-Demand Cloud platform includes ability to "),e("a",{href:"https://directus.cloud/docs#creating-a-private-demo",target:"_blank",rel:"noopener noreferrer"},"create private demo instances"),t(". Each demo runs the latest version of Directus, lasts for several hours, and is completely free, with no credit card required.")],-1),Ne=e("h3",{id:"system-status"},[t("System Status "),e("a",{class:"header-anchor",href:"#system-status"},"#")],-1),Re=e("p",null,[t("The "),e("a",{href:"https://status.directus.cloud",target:"_blank",rel:"noopener noreferrer"},"Status Page"),t(" provides up-to-date information on our various systems, including current and historical incident details and our 30-day uptime percentage. From this site you can access the global status or your Cloud project\u2019s dedicated status page.")],-1),Ve=e("h3",{id:"website"},[t("Website "),e("a",{class:"header-anchor",href:"#website"},"#")],-1),Fe=e("p",null,[t("Our "),e("a",{href:"https://directus.io",target:"_blank",rel:"noopener noreferrer"},"marketing site"),t(" provides general information, resources, and team info for the project.")],-1),He=e("h3",{id:"social"},[t("Social "),e("a",{class:"header-anchor",href:"#social"},"#")],-1),Be=e("p",null,[t("For the latest product info and sneak-peeks, be sure to follow us on "),e("a",{href:"https://twitter.com/directus",target:"_blank",rel:"noopener noreferrer"},"Twitter"),t(".")],-1),Ge=e("h3",{id:"videos"},[t("Videos "),e("a",{class:"header-anchor",href:"#videos"},"#")],-1),Qe=e("p",null,[t("Our "),e("a",{href:"https://www.youtube.com/c/DirectusVideos",target:"_blank",rel:"noopener noreferrer"},"YouTube Channel"),t(" has video tutorials, release updates, feature overviews, and more.")],-1),ze=e("h3",{id:"community"},[t("Community "),e("a",{class:"header-anchor",href:"#community"},"#")],-1),Ue=e("p",null,[t("Join our growing community of 4,000+ developers on "),e("a",{href:"https://directus.chat",target:"_blank",rel:"noopener noreferrer"},"Discord"),t(" and Slack (legacy). From community support to seeing where the platform is heading next, it\u2019s a great way to get involved.")],-1),Je=e("h3",{id:"app-locales"},[t("App Locales "),e("a",{class:"header-anchor",href:"#app-locales"},"#")],-1),Ke=t("We use "),Ye=e("a",{href:"https://locales.directus.io/",target:"_blank",rel:"noopener noreferrer"},"Crowdin",-1),Xe=t(" to manage our numerous App translations. If you\u2019re looking to add or improve Directus in your language, you can "),Ze=t("learn more here"),$e=t("."),et=e("h3",{id:"marketplace"},[t("Marketplace "),e("a",{class:"header-anchor",href:"#marketplace"},"#")],-1),tt=e("p",null,[t("Coming in 2021, the "),e("a",{href:"https://directus.market/",target:"_blank",rel:"noopener noreferrer"},"Directus Marketplace"),t(" will offer a unified portal to extensions created by our Core Team and community contributors.")],-1),ot=e("h3",{id:"awesome-list"},[t("Awesome List "),e("a",{class:"header-anchor",href:"#awesome-list"},"#")],-1),st=e("p",null,[t("Head to "),e("a",{href:"https://github.com/directus-community/awesome-directus",target:"_blank",rel:"noopener noreferrer"},"awesome-directus"),t(" for a list of awesome things related to Directus.")],-1),lt={setup(nt,{expose:i}){const r={title:"Directus Docs",modularExtension:!1};return i({frontmatter:r}),(rt,at)=>{const s=a("router-link"),l=a("DocsWrapper");return c(),d(l,{frontmatter:r},{default:o(()=>[e("div",u,[h,p,_,f,m,g,b,e("p",null,[e("strong",null,[y,n(s,{to:"/docs/concepts/databases/#database-mirroring"},{default:o(()=>[w]),_:1}),v]),k]),D,e("ul",null,[e("li",null,[e("strong",null,[n(s,{to:"/docs/concepts/projects/"},{default:o(()=>[A]),_:1})]),C]),e("li",null,[e("strong",null,[n(s,{to:"/docs/concepts/collections/"},{default:o(()=>[P]),_:1})]),I]),e("li",null,[e("strong",null,[n(s,{to:"/docs/concepts/fields/"},{default:o(()=>[S]),_:1})]),T]),e("li",null,[e("strong",null,[n(s,{to:"/docs/concepts/items/"},{default:o(()=>[x]),_:1})]),j]),e("li",null,[e("strong",null,[n(s,{to:"/docs/concepts/relationships/"},{default:o(()=>[O]),_:1})]),E]),e("li",null,[e("strong",null,[n(s,{to:"/docs/concepts/types/"},{default:o(()=>[L]),_:1})]),W]),e("li",null,[e("strong",null,[n(s,{to:"/docs/concepts/users/"},{default:o(()=>[q]),_:1})]),M])]),N,R,V,e("ul",null,[e("li",null,[e("strong",null,[n(s,{to:"/docs/concepts/modules/"},{default:o(()=>[F]),_:1})]),H]),e("li",null,[e("strong",null,[n(s,{to:"/docs/concepts/layouts/"},{default:o(()=>[B]),_:1})]),G]),e("li",null,[e("strong",null,[n(s,{to:"/docs/concepts/interfaces/"},{default:o(()=>[Q]),_:1})]),z]),e("li",null,[e("strong",null,[n(s,{to:"/docs/concepts/displays/"},{default:o(()=>[U]),_:1})]),J]),K,e("li",null,[e("strong",null,[n(s,{to:"/docs/guides/styles/"},{default:o(()=>[Y]),_:1})]),X]),e("li",null,[e("strong",null,[n(s,{to:"/docs/guides/api-endpoints/"},{default:o(()=>[Z]),_:1})]),$]),e("li",null,[e("strong",null,[n(s,{to:"/docs/guides/api-hooks/"},{default:o(()=>[ee]),_:1})]),te]),e("li",null,[e("strong",null,[n(s,{to:"/docs/guides/email-templates/"},{default:o(()=>[oe]),_:1})]),se])]),ne,re,ae,ie,le,ce,de,ue,he,e("ul",null,[e("li",null,[n(s,{to:"/docs/getting-started/introduction/"},{default:o(()=>[pe]),_:1}),_e]),e("li",null,[n(s,{to:"/docs/concepts/activity/"},{default:o(()=>[fe]),_:1}),me]),e("li",null,[n(s,{to:"/docs/guides/projects/"},{default:o(()=>[ge]),_:1}),be]),e("li",null,[n(s,{to:"/docs/reference/command-line-interface/"},{default:o(()=>[ye]),_:1}),we]),e("li",null,[n(s,{to:"/docs/reference/api/introduction/"},{default:o(()=>[ve]),_:1}),ke]),e("li",null,[n(s,{to:"/docs/contributing/introduction/"},{default:o(()=>[De]),_:1}),Ae])]),e("div",Ce,[Pe,e("p",null,[Ie,n(s,{to:"/docs/concepts/application#documentation"},{default:o(()=>[Se]),_:1}),Te])]),xe,je,Oe,Ee,Le,We,qe,Me,Ne,Re,Ve,Fe,He,Be,Ge,Qe,ze,Ue,Je,e("p",null,[Ke,Ye,Xe,n(s,{to:"/docs/contributing/translations/"},{default:o(()=>[Ze]),_:1}),$e]),et,tt,ot,st])]),_:1})}}};export{lt as default};
@@ -1,4 +1,4 @@
1
- import{r as l,p as h,q as c,w as s,B as t,t as a,P as e}from"./vendor.62143b15.js";const d={class:"markdown-body"},p=t("blockquote",null,[t("p",null,"Directus offers both a RESTful and GraphQL API to manage the data in the database. The API has predictable resource-oriented URLs, relies on standard HTTP status codes, and uses JSON for input and output.")],-1),u=t("div",{class:"tip hint"},[t("div",{class:"hint-title"},"Dynamic I/O"),t("p",null,"Since most endpoints return data based on your specific schema and configured permissions, the input/output of the API differs greatly for individual installations.")],-1),f=t("p",null,[t("div",{class:"table-of-contents"},[t("ul",null,[t("li",null,[t("a",{href:"#rest-vs.-graphql"},"REST vs. GraphQL")]),t("li",null,[t("a",{href:"#authentication"},"Authentication")]),t("li",null,[t("a",{href:"#relational-data"},"Relational Data")]),t("li",null,[t("a",{href:"#search-http-method"},"SEARCH HTTP Method")]),t("li",null,[t("a",{href:"#system-data-in-graphql"},"System data in GraphQL")])])])],-1),_=t("h2",{id:"rest-vs.-graphql"},[e("REST vs. GraphQL "),t("a",{class:"header-anchor",href:"#rest-vs.-graphql"},"#")],-1),m=t("p",null,[t("strong",null,"There is no difference in the functionality available between the REST and GraphQL endpoints."),e(" The functionality available in both is mapped to same set of core services, meaning that you don\u2019t lose any performance or capabilities by choosing one or the other.")],-1),y=t("p",null,"Which one you choose is ultimately up to you.",-1),g=t("h2",{id:"authentication"},[e("Authentication "),t("a",{class:"header-anchor",href:"#authentication"},"#")],-1),b=e("By default, all data in the system is off limits for unauthenticated users. To gain access to protected data, you must "),w=e("include an access token with every request"),j=e(", or "),T=e("configure permissions for the public role"),v=e("."),k=t("p",null,"Useful references:",-1),A=e("Authenticating into the API"),q=e("Login endpoint reference"),E=t("h2",{id:"relational-data"},[e("Relational Data "),t("a",{class:"header-anchor",href:"#relational-data"},"#")],-1),S=e("Directus only retrieves the fields in your items that explicitly have been requested. Relational data can be retrieved nested by using the "),P=e("the "),R=t("code",null,"fields",-1),x=e(" parameter"),H=e(" in REST, or regular nested queries in GraphQL. This allows you to retrieve the author of your article included in the articles data, or fetch related log entry points for your app\u2019s analytics data for example."),G=t("h3",{id:"creating-%2F-updating-%2F-deleting"},[e("Creating / Updating / Deleting "),t("a",{class:"header-anchor",href:"#creating-%2F-updating-%2F-deleting"},"#")],-1),M=t("p",null,"Similarly to fetching, relational content can be modified deeply as well.",-1),I=t("h4",{id:"many-to-one"},[e("Many-to-One "),t("a",{class:"header-anchor",href:"#many-to-one"},"#")],-1),D=t("p",null,"Many-to-One relationships are fairly straightforward to manage relationally. You can simply submit the changes you want as an object under the relational key in your collection. For example, if you wanted to create a new featured article on your page, you could submit:",-1),L=t("pre",null,[t("code",{class:"language-json"},[e(`{
1
+ import{r as l,p as h,q as c,w as s,B as t,t as a,P as e}from"./vendor.a626ab9c.js";const d={class:"markdown-body"},p=t("blockquote",null,[t("p",null,"Directus offers both a RESTful and GraphQL API to manage the data in the database. The API has predictable resource-oriented URLs, relies on standard HTTP status codes, and uses JSON for input and output.")],-1),u=t("div",{class:"tip hint"},[t("div",{class:"hint-title"},"Dynamic I/O"),t("p",null,"Since most endpoints return data based on your specific schema and configured permissions, the input/output of the API differs greatly for individual installations.")],-1),f=t("p",null,[t("div",{class:"table-of-contents"},[t("ul",null,[t("li",null,[t("a",{href:"#rest-vs.-graphql"},"REST vs. GraphQL")]),t("li",null,[t("a",{href:"#authentication"},"Authentication")]),t("li",null,[t("a",{href:"#relational-data"},"Relational Data")]),t("li",null,[t("a",{href:"#search-http-method"},"SEARCH HTTP Method")]),t("li",null,[t("a",{href:"#system-data-in-graphql"},"System data in GraphQL")])])])],-1),_=t("h2",{id:"rest-vs.-graphql"},[e("REST vs. GraphQL "),t("a",{class:"header-anchor",href:"#rest-vs.-graphql"},"#")],-1),m=t("p",null,[t("strong",null,"There is no difference in the functionality available between the REST and GraphQL endpoints."),e(" The functionality available in both is mapped to same set of core services, meaning that you don\u2019t lose any performance or capabilities by choosing one or the other.")],-1),y=t("p",null,"Which one you choose is ultimately up to you.",-1),g=t("h2",{id:"authentication"},[e("Authentication "),t("a",{class:"header-anchor",href:"#authentication"},"#")],-1),b=e("By default, all data in the system is off limits for unauthenticated users. To gain access to protected data, you must "),w=e("include an access token with every request"),j=e(", or "),T=e("configure permissions for the public role"),v=e("."),k=t("p",null,"Useful references:",-1),A=e("Authenticating into the API"),q=e("Login endpoint reference"),E=t("h2",{id:"relational-data"},[e("Relational Data "),t("a",{class:"header-anchor",href:"#relational-data"},"#")],-1),S=e("Directus only retrieves the fields in your items that explicitly have been requested. Relational data can be retrieved nested by using the "),P=e("the "),R=t("code",null,"fields",-1),x=e(" parameter"),H=e(" in REST, or regular nested queries in GraphQL. This allows you to retrieve the author of your article included in the articles data, or fetch related log entry points for your app\u2019s analytics data for example."),G=t("h3",{id:"creating-%2F-updating-%2F-deleting"},[e("Creating / Updating / Deleting "),t("a",{class:"header-anchor",href:"#creating-%2F-updating-%2F-deleting"},"#")],-1),M=t("p",null,"Similarly to fetching, relational content can be modified deeply as well.",-1),I=t("h4",{id:"many-to-one"},[e("Many-to-One "),t("a",{class:"header-anchor",href:"#many-to-one"},"#")],-1),D=t("p",null,"Many-to-One relationships are fairly straightforward to manage relationally. You can simply submit the changes you want as an object under the relational key in your collection. For example, if you wanted to create a new featured article on your page, you could submit:",-1),L=t("pre",null,[t("code",{class:"language-json"},[e(`{
2
2
  `),t("span",{class:"hljs-attr"},'"featured_article"'),e(`: {
3
3
  `),t("span",{class:"hljs-attr"},'"title"'),e(": "),t("span",{class:"hljs-string"},'"This is my new article!"'),e(`
4
4
  }
@@ -1,4 +1,4 @@
1
- import{r as n,p as l,q as c,w as o,B as e,t as r,P as t}from"./vendor.62143b15.js";const h={class:"markdown-body"},d=e("blockquote",null,[e("p",null,[t("Our team truly appreciates every single contributor, community member, GitHub star, pull-request, bug report, and feature request. Keeping Directus completely free and open-source is our way of saying: "),e("strong",null,"Thank you!")])],-1),p=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"We're here to help!"),e("p",null,[t("If you have "),e("em",null,"any"),t(" questions along your contributor journey, please feel free to come chat with us on our "),e("a",{href:"https://directus.chat",target:"_blank",rel:"noopener noreferrer"},"Discord Community"),t(".")])],-1),f=e("h2",{id:"code-of-conduct"},[t("Code of Conduct "),e("a",{class:"header-anchor",href:"#code-of-conduct"},"#")],-1),_=e("p",null,[e("strong",null,[t("The Directus "),e("a",{href:"https://github.com/directus/directus/blob/main/code_of_conduct.md",target:"_blank",rel:"noopener noreferrer"},"Code of Conduct"),t(" is one of the ways we put our values into practice. We expect all of our staff, contractors and contributors to know and follow this code.")])],-1),g=e("p",null,[e("strong",null,"Our contributors and maintainers work extremely hard to build Directus as premium open-source software. Please be respectful of those efforts throughout our ecosystem. Trolling, harassing, insulting, or other unacceptable behavior by participants will not be tolerated.")],-1),m=e("p",null,"In the interest of fostering an open and welcoming environment, we as pledge to make participation in our project and community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.",-1),b=e("p",null,"Examples of behavior that contributes to creating a positive environment include:",-1),y=e("ul",null,[e("li",null,"Using welcoming and inclusive language"),e("li",null,"Being respectful of differing viewpoints and experiences"),e("li",null,"Gracefully accepting constructive criticism"),e("li",null,"Focusing on what is best for the community"),e("li",null,"Showing empathy towards other community members")],-1),w=e("p",null,[e("strong",null,[t("Before continuing, please take a moment to read our full "),e("a",{href:"https://github.com/directus/directus/blob/main/contributing.md",target:"_blank",rel:"noopener noreferrer"},"Code of Conduct"),t(".")])],-1),v=e("h2",{id:"wait-%E2%80%94-before-you-begin"},[t("Wait \u2014 Before you Begin "),e("a",{class:"header-anchor",href:"#wait-%E2%80%94-before-you-begin"},"#")],-1),k=t("When contributing to this repository, it is important to first discuss the change you wish to make with the owners of this repository. This can be done via "),q=e("a",{href:"https://github.com/directus/directus/issues",target:"_blank",rel:"noopener noreferrer"},"GitHub Issue",-1),x=t(", "),D=e("a",{href:"https://github.com/directus/directus/discussions",target:"_blank",rel:"noopener noreferrer"},"GitHub Discussions",-1),C=t(", "),R=e("a",{href:"https://directus.chat",target:"_blank",rel:"noopener noreferrer"},"Discord",-1),F=t(", "),B=t("email"),T=t(", or any other method."),Y=e("p",null,"Following this rule will help avoid wasted time caused by multiple people working on the same issue or writing code that will not be merged.",-1),W=e("h2",{id:"feature-requests"},[t("Feature Requests "),e("a",{class:"header-anchor",href:"#feature-requests"},"#")],-1),G=e("p",null,[t("Feature requests are a great way to let our team know what should be prioritized next. You can "),e("a",{href:"https://github.com/directus/directus/discussions/category_choices",target:"_blank",rel:"noopener noreferrer"},"submit a new feature request"),t(" or "),e("a",{href:"https://github.com/directus/directus/discussions",target:"_blank",rel:"noopener noreferrer"},"vote on existing submissions"),t(" via GitHub Discussions.")],-1),H=e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"The 80/20 Rule"),e("p",null,"To keep the Directus codebase as clean and simple as possible, we will only consider approving features that we feel at least 80% of our user-base will find valuable. If your feature request falls within the 20% range, it is considered an edge-case and should be implemented as an extension.")],-1),S=e("h2",{id:"rfcs"},[t("RFCs "),e("a",{class:"header-anchor",href:"#rfcs"},"#")],-1),A=e("p",null,[t("Some Directus features/fixes may require additional design, strategy, and/or discussion before beginning work. For these notable pull-requests, you should first submit an RFC (Request For Comments) to our core team via "),e("a",{href:"https://directus.chat",target:"_blank",rel:"noopener noreferrer"},"Discord"),t(". This process is relatively informal, but ensures proper alignment, and helps avoid squandered development time by contributors.")],-1),I=e("h2",{id:"bug-reporting"},[t("Bug Reporting "),e("a",{class:"header-anchor",href:"#bug-reporting"},"#")],-1),N=e("p",null,[t("Reporting any bugs you come across is an invaluable part of helping keep Directus stable. After confirming a similar issue doesn\u2019t already exist, you can "),e("a",{href:"https://github.com/directus/directus/issues/new",target:"_blank",rel:"noopener noreferrer"},"submit a bug report"),t(" via GitHub Issues. Please ensure the following for all submissions:")],-1),P=e("li",null,"You are experiencing an actual bug, not a configuration issue",-1),E=e("li",null,"You are using the official (pre-built) version of directus and not a fork",-1),O=e("li",null,"You are not asking a question or requesting a new feature",-1),V=e("li",null,"You have checked that no similar issue already exists",-1),j=e("li",null,"You have entered a clear and concise title",-1),U=e("li",null,"You have followed the issue template, with stack details and steps to reproduce",-1),z=t("You have already completed all "),K=t("troubleshooting steps"),L=e("h2",{id:"reporting-security-vulnerabilities"},[t("Reporting Security Vulnerabilities "),e("a",{class:"header-anchor",href:"#reporting-security-vulnerabilities"},"#")],-1),M=t("If you believe you have discovered a security issue within a Directus product or service, please reach out to us directly over email: "),J=t("security@directus.io"),Q=t(". We will then open a "),X=e("a",{href:"https://github.com/directus/directus/security/advisories",target:"_blank",rel:"noopener noreferrer"},"GitHub Security Advisory",-1),Z=t(" for tracking the fix."),$=e("p",null,"We value the members of the independent security research community who find security vulnerabilities and work with our team so that proper fixes can be issued to users. Our policy is to credit all researchers in the fix\u2019s release notes. In order to receive credit, security researchers must follow responsible disclosure practices, including:",-1),ee=e("ul",null,[e("li",null,"They do not publish the vulnerability prior to the Directus team releasing a fix for it"),e("li",null,"They do not divulge exact details of the issue, eg: through exploits or proof-of-concepts")],-1),te=e("h2",{id:"submitting-a-pull-request"},[t("Submitting a Pull-Request "),e("a",{class:"header-anchor",href:"#submitting-a-pull-request"},"#")],-1),oe=e("h3",{id:"1.-submit-an-rfc-(if-needed)"},[t("1. Submit an RFC (if needed) "),e("a",{class:"header-anchor",href:"#1.-submit-an-rfc-(if-needed)"},"#")],-1),se=e("p",null,[t("Please read our docs on the "),e("a",{href:"#rfcs"},"RFC process"),t(".")],-1),re=e("h3",{id:"2.-update-relevant-docs"},[t("2. Update relevant docs "),e("a",{class:"header-anchor",href:"#2.-update-relevant-docs"},"#")],-1),ie=e("p",null,"Before submitting any pull-requests, ensure that any relevant documentation (included in this same repo) is updated.",-1),ne=e("h3",{id:"3.-push-your-changes"},[t("3. Push your changes "),e("a",{class:"header-anchor",href:"#3.-push-your-changes"},"#")],-1),ae=e("pre",null,[e("code",{class:"language-bash"},`git push -u origin YOUR-BRANCH-NAME
1
+ import{r as n,p as l,q as c,w as o,B as e,t as r,P as t}from"./vendor.a626ab9c.js";const h={class:"markdown-body"},d=e("blockquote",null,[e("p",null,[t("Our team truly appreciates every single contributor, community member, GitHub star, pull-request, bug report, and feature request. Keeping Directus completely free and open-source is our way of saying: "),e("strong",null,"Thank you!")])],-1),p=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"We're here to help!"),e("p",null,[t("If you have "),e("em",null,"any"),t(" questions along your contributor journey, please feel free to come chat with us on our "),e("a",{href:"https://directus.chat",target:"_blank",rel:"noopener noreferrer"},"Discord Community"),t(".")])],-1),f=e("h2",{id:"code-of-conduct"},[t("Code of Conduct "),e("a",{class:"header-anchor",href:"#code-of-conduct"},"#")],-1),_=e("p",null,[e("strong",null,[t("The Directus "),e("a",{href:"https://github.com/directus/directus/blob/main/code_of_conduct.md",target:"_blank",rel:"noopener noreferrer"},"Code of Conduct"),t(" is one of the ways we put our values into practice. We expect all of our staff, contractors and contributors to know and follow this code.")])],-1),g=e("p",null,[e("strong",null,"Our contributors and maintainers work extremely hard to build Directus as premium open-source software. Please be respectful of those efforts throughout our ecosystem. Trolling, harassing, insulting, or other unacceptable behavior by participants will not be tolerated.")],-1),m=e("p",null,"In the interest of fostering an open and welcoming environment, we as pledge to make participation in our project and community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.",-1),b=e("p",null,"Examples of behavior that contributes to creating a positive environment include:",-1),y=e("ul",null,[e("li",null,"Using welcoming and inclusive language"),e("li",null,"Being respectful of differing viewpoints and experiences"),e("li",null,"Gracefully accepting constructive criticism"),e("li",null,"Focusing on what is best for the community"),e("li",null,"Showing empathy towards other community members")],-1),w=e("p",null,[e("strong",null,[t("Before continuing, please take a moment to read our full "),e("a",{href:"https://github.com/directus/directus/blob/main/contributing.md",target:"_blank",rel:"noopener noreferrer"},"Code of Conduct"),t(".")])],-1),v=e("h2",{id:"wait-%E2%80%94-before-you-begin"},[t("Wait \u2014 Before you Begin "),e("a",{class:"header-anchor",href:"#wait-%E2%80%94-before-you-begin"},"#")],-1),k=t("When contributing to this repository, it is important to first discuss the change you wish to make with the owners of this repository. This can be done via "),q=e("a",{href:"https://github.com/directus/directus/issues",target:"_blank",rel:"noopener noreferrer"},"GitHub Issue",-1),x=t(", "),D=e("a",{href:"https://github.com/directus/directus/discussions",target:"_blank",rel:"noopener noreferrer"},"GitHub Discussions",-1),C=t(", "),R=e("a",{href:"https://directus.chat",target:"_blank",rel:"noopener noreferrer"},"Discord",-1),F=t(", "),B=t("email"),T=t(", or any other method."),Y=e("p",null,"Following this rule will help avoid wasted time caused by multiple people working on the same issue or writing code that will not be merged.",-1),W=e("h2",{id:"feature-requests"},[t("Feature Requests "),e("a",{class:"header-anchor",href:"#feature-requests"},"#")],-1),G=e("p",null,[t("Feature requests are a great way to let our team know what should be prioritized next. You can "),e("a",{href:"https://github.com/directus/directus/discussions/category_choices",target:"_blank",rel:"noopener noreferrer"},"submit a new feature request"),t(" or "),e("a",{href:"https://github.com/directus/directus/discussions",target:"_blank",rel:"noopener noreferrer"},"vote on existing submissions"),t(" via GitHub Discussions.")],-1),H=e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"The 80/20 Rule"),e("p",null,"To keep the Directus codebase as clean and simple as possible, we will only consider approving features that we feel at least 80% of our user-base will find valuable. If your feature request falls within the 20% range, it is considered an edge-case and should be implemented as an extension.")],-1),S=e("h2",{id:"rfcs"},[t("RFCs "),e("a",{class:"header-anchor",href:"#rfcs"},"#")],-1),A=e("p",null,[t("Some Directus features/fixes may require additional design, strategy, and/or discussion before beginning work. For these notable pull-requests, you should first submit an RFC (Request For Comments) to our core team via "),e("a",{href:"https://directus.chat",target:"_blank",rel:"noopener noreferrer"},"Discord"),t(". This process is relatively informal, but ensures proper alignment, and helps avoid squandered development time by contributors.")],-1),I=e("h2",{id:"bug-reporting"},[t("Bug Reporting "),e("a",{class:"header-anchor",href:"#bug-reporting"},"#")],-1),N=e("p",null,[t("Reporting any bugs you come across is an invaluable part of helping keep Directus stable. After confirming a similar issue doesn\u2019t already exist, you can "),e("a",{href:"https://github.com/directus/directus/issues/new",target:"_blank",rel:"noopener noreferrer"},"submit a bug report"),t(" via GitHub Issues. Please ensure the following for all submissions:")],-1),P=e("li",null,"You are experiencing an actual bug, not a configuration issue",-1),E=e("li",null,"You are using the official (pre-built) version of directus and not a fork",-1),O=e("li",null,"You are not asking a question or requesting a new feature",-1),V=e("li",null,"You have checked that no similar issue already exists",-1),j=e("li",null,"You have entered a clear and concise title",-1),U=e("li",null,"You have followed the issue template, with stack details and steps to reproduce",-1),z=t("You have already completed all "),K=t("troubleshooting steps"),L=e("h2",{id:"reporting-security-vulnerabilities"},[t("Reporting Security Vulnerabilities "),e("a",{class:"header-anchor",href:"#reporting-security-vulnerabilities"},"#")],-1),M=t("If you believe you have discovered a security issue within a Directus product or service, please reach out to us directly over email: "),J=t("security@directus.io"),Q=t(". We will then open a "),X=e("a",{href:"https://github.com/directus/directus/security/advisories",target:"_blank",rel:"noopener noreferrer"},"GitHub Security Advisory",-1),Z=t(" for tracking the fix."),$=e("p",null,"We value the members of the independent security research community who find security vulnerabilities and work with our team so that proper fixes can be issued to users. Our policy is to credit all researchers in the fix\u2019s release notes. In order to receive credit, security researchers must follow responsible disclosure practices, including:",-1),ee=e("ul",null,[e("li",null,"They do not publish the vulnerability prior to the Directus team releasing a fix for it"),e("li",null,"They do not divulge exact details of the issue, eg: through exploits or proof-of-concepts")],-1),te=e("h2",{id:"submitting-a-pull-request"},[t("Submitting a Pull-Request "),e("a",{class:"header-anchor",href:"#submitting-a-pull-request"},"#")],-1),oe=e("h3",{id:"1.-submit-an-rfc-(if-needed)"},[t("1. Submit an RFC (if needed) "),e("a",{class:"header-anchor",href:"#1.-submit-an-rfc-(if-needed)"},"#")],-1),se=e("p",null,[t("Please read our docs on the "),e("a",{href:"#rfcs"},"RFC process"),t(".")],-1),re=e("h3",{id:"2.-update-relevant-docs"},[t("2. Update relevant docs "),e("a",{class:"header-anchor",href:"#2.-update-relevant-docs"},"#")],-1),ie=e("p",null,"Before submitting any pull-requests, ensure that any relevant documentation (included in this same repo) is updated.",-1),ne=e("h3",{id:"3.-push-your-changes"},[t("3. Push your changes "),e("a",{class:"header-anchor",href:"#3.-push-your-changes"},"#")],-1),ae=e("pre",null,[e("code",{class:"language-bash"},`git push -u origin YOUR-BRANCH-NAME
2
2
  `)],-1),ue=e("h3",{id:"submit-a-pull-request"},[t("Submit a pull-request "),e("a",{class:"header-anchor",href:"#submit-a-pull-request"},"#")],-1),le=e("p",null,"Once you push the changes to your repo, the \u201CCompare & pull request\u201D button will appear in GitHub. Click it and you\u2019ll be taken to a screen where you can fill in the appropriate details. Finally, open the pull request by clicking the \u201CCreate pull request\u201D button.",-1),ce=e("p",null,"Now our core staff will review your contribution and either merge it, or request that you to make changes.",-1),he=e("h2",{id:"syncing-your-fork-with-directus"},[t("Syncing Your Fork with Directus "),e("a",{class:"header-anchor",href:"#syncing-your-fork-with-directus"},"#")],-1),de=e("p",null,"After you have submitted your pull requests, you would need to sync your fork with Directus to pull all the latest commits before you continue to contribute.",-1),pe=e("h3",{id:"1.-add-directus-as-a-remote"},[t("1. Add Directus as a Remote "),e("a",{class:"header-anchor",href:"#1.-add-directus-as-a-remote"},"#")],-1),fe=e("p",null,"While your fork is your main remote or origin, you will add Directus as the upstream, which generally refers to the original repo that you have forked.",-1),_e=e("pre",null,[e("code",{class:"language-bash"},`git remote add upstream git@github.com:directus/directus.git
3
3
  `)],-1),ge=e("h3",{id:"2.-fetch-the-latest-changes"},[t("2. Fetch the Latest Changes "),e("a",{class:"header-anchor",href:"#2.-fetch-the-latest-changes"},"#")],-1),me=e("p",null,[t("Depending on your setup, you will need to get the latest commits from the "),e("code",null,"main"),t(" branch of Directus by doing a pull, reset, rebase or fetch.")],-1),be=e("pre",null,[e("code",{class:"language-bash"},`git pull upstream main
4
4
  `)],-1),ye=e("p",null,"At this point you are ready to continue working on Directus, with the latest commits included!",-1),we=e("div",{class:"tip hint"},[e("p",null,"Before you begin or resume development, be sure to always sync, if you are going to submit a pull request with your changes!")],-1),De={setup(ve,{expose:a}){const i={title:"Contributing",modularExtension:!1};return a({frontmatter:i}),(ke,qe)=>{const s=n("router-link"),u=n("DocsWrapper");return l(),c(u,{frontmatter:i},{default:o(()=>[e("div",h,[d,p,f,_,g,m,b,y,w,v,e("p",null,[k,q,x,D,C,R,F,r(s,{to:"/docsmailto:info@directus.io"},{default:o(()=>[B]),_:1}),T]),Y,W,G,H,S,A,I,N,e("ul",null,[P,E,O,V,j,U,e("li",null,[z,r(s,{to:"/docs/getting-started/support#troubleshooting-steps"},{default:o(()=>[K]),_:1})])]),L,e("p",null,[M,r(s,{to:"/docsmailto:security@directus.io"},{default:o(()=>[J]),_:1}),Q,X,Z]),$,ee,te,oe,se,re,ie,ne,ae,ue,le,ce,he,de,pe,fe,_e,ge,me,be,ye,we])]),_:1})}}};export{De as default};
@@ -1,4 +1,4 @@
1
- import{r,p as c,q as h,w as s,B as e,t as l,P as t}from"./vendor.62143b15.js";const d={class:"markdown-body"},p={class:"two-up"},u={class:"left"},_=t("Items are individual pieces of data in your database. They can be anything, from articles, to IoT status checks. "),m=t("Learn more about Items"),f=t("."),g=e("div",{class:"right"},[e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#the-item-object"},"The Item Object")]),e("li",null,[e("a",{href:"#get-items"},"Get Items")]),e("li",null,[e("a",{href:"#get-item-by-id"},"Get Item by ID")]),e("li",null,[e("a",{href:"#create-an-item"},"Create an Item")]),e("li",null,[e("a",{href:"#create-multiple-items"},"Create Multiple Items")]),e("li",null,[e("a",{href:"#update-an-item"},"Update an Item")]),e("li",null,[e("a",{href:"#update-multiple-items"},"Update Multiple Items")]),e("li",null,[e("a",{href:"#delete-an-item"},"Delete an Item")]),e("li",null,[e("a",{href:"#delete-multiple-items"},"Delete Multiple Items")])])])])],-1),y=e("hr",null,null,-1),b=e("h2",{id:"the-item-object"},[t("The Item Object "),e("a",{class:"header-anchor",href:"#the-item-object"},"#")],-1),j=e("div",{class:"two-up"},[e("div",{class:"left"},[e("p",null,[t("Items don\u2019t have a pre-defined schema. The format depends completely on how you configured your collections and fields in Directus. For the sake of documentation, we\u2019ll use a fictional articles collection with the following fields: "),e("code",null,"id"),t(", "),e("code",null,"status"),t(", "),e("code",null,"title"),t(", "),e("code",null,"body"),t(", "),e("code",null,"featured_image"),t(", and "),e("code",null,"author"),t(".")])]),e("div",{class:"right"},[e("pre",null,[e("code",{class:"language-json"},[t(`{
1
+ import{r,p as c,q as h,w as s,B as e,t as l,P as t}from"./vendor.a626ab9c.js";const d={class:"markdown-body"},p={class:"two-up"},u={class:"left"},_=t("Items are individual pieces of data in your database. They can be anything, from articles, to IoT status checks. "),m=t("Learn more about Items"),f=t("."),g=e("div",{class:"right"},[e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#the-item-object"},"The Item Object")]),e("li",null,[e("a",{href:"#get-items"},"Get Items")]),e("li",null,[e("a",{href:"#get-item-by-id"},"Get Item by ID")]),e("li",null,[e("a",{href:"#create-an-item"},"Create an Item")]),e("li",null,[e("a",{href:"#create-multiple-items"},"Create Multiple Items")]),e("li",null,[e("a",{href:"#update-an-item"},"Update an Item")]),e("li",null,[e("a",{href:"#update-multiple-items"},"Update Multiple Items")]),e("li",null,[e("a",{href:"#delete-an-item"},"Delete an Item")]),e("li",null,[e("a",{href:"#delete-multiple-items"},"Delete Multiple Items")])])])])],-1),y=e("hr",null,null,-1),b=e("h2",{id:"the-item-object"},[t("The Item Object "),e("a",{class:"header-anchor",href:"#the-item-object"},"#")],-1),j=e("div",{class:"two-up"},[e("div",{class:"left"},[e("p",null,[t("Items don\u2019t have a pre-defined schema. The format depends completely on how you configured your collections and fields in Directus. For the sake of documentation, we\u2019ll use a fictional articles collection with the following fields: "),e("code",null,"id"),t(", "),e("code",null,"status"),t(", "),e("code",null,"title"),t(", "),e("code",null,"body"),t(", "),e("code",null,"featured_image"),t(", and "),e("code",null,"author"),t(".")])]),e("div",{class:"right"},[e("pre",null,[e("code",{class:"language-json"},[t(`{
2
2
  `),e("span",{class:"hljs-attr"},'"id"'),t(": "),e("span",{class:"hljs-number"},"1"),t(`,
3
3
  `),e("span",{class:"hljs-attr"},'"status"'),t(": "),e("span",{class:"hljs-string"},'"published"'),t(`,
4
4
  `),e("span",{class:"hljs-attr"},'"title"'),t(": "),e("span",{class:"hljs-string"},'"Hello, world!"'),t(`,
@@ -1 +1 @@
1
- import{r as s,p as h,q as d,w as o,B as t,t as n,P as e}from"./vendor.62143b15.js";const r={class:"markdown-body"},u=e("Item are objects within a Collection which contain values for one or more fields. Each collection represents a "),_=t("strong",null,"record",-1),m=e(" in your database. "),g=e("Learn more about Items"),p=e("."),f=t("div",{class:"warning hint"},[t("div",{class:"hint-title"},"Permissions"),t("p",null,"The actions on this page assume the current user has permission to perform that action. However, certain features may be disabled or hidden based on permissions.")],-1),v=t("h2",{id:"creating-an-item"},[e("Creating an Item "),t("a",{class:"header-anchor",href:"#creating-an-item"},"#")],-1),b=e("Navigate to the "),y=e("Collections Module"),k=t("li",null,"Navigate to the collection where you want to add an item",-1),C=t("li",null,"Click on the \u201CCreate Item\u201D (+ icon) button located in the header",-1),w=t("li",null,"Complete the Item Detail form",-1),N=t("li",null,"Click the \u201CSave Item\u201D (\u2713 icon) button located in the header",-1),I=t("div",{class:"tip hint"},[t("div",{class:"hint-title"},"Singletons"),t("p",null,"If the Collection is configured as a \u201CSingleton\u201D in the data model settings, then the App will automatically skip step #3 above.")],-1),S=t("h2",{id:"updating-an-item"},[e("Updating an Item "),t("a",{class:"header-anchor",href:"#updating-an-item"},"#")],-1),D=e("Navigate to the "),x=e("Collections Module"),A=t("li",null,"Navigate to the collection of the item you want to update",-1),M=t("li",null,"Click on the item within the current layout (eg: on the row of the table)",-1),L=t("li",null,"Update the Item Detail form",-1),O=t("li",null,"Click the \u201CSave Item\u201D (\u2713 icon) button located in the header",-1),B=t("div",{class:"tip hint"},[t("div",{class:"hint-title"},"Other Save Options"),t("p",null,"To the right of the primary Save button there is a \u201C\u2026\u201D icon which contains the following alternate save options:"),t("ul",null,[t("li",null,"Save and Stay (\u2318S)"),t("li",null,"Save and Create New (\u2318\u21E7S)"),t("li",null,"Save as Copy")])],-1),R=t("div",{class:"tip hint"},[t("div",{class:"hint-title"},"Singletons"),t("p",null,"If the Collection is configured as a \u201CSingleton\u201D in the data model settings, then the App will automatically skip step #3 above.")],-1),T=t("h2",{id:"deleting-an-item"},[e("Deleting an Item "),t("a",{class:"header-anchor",href:"#deleting-an-item"},"#")],-1),E=e("Navigate to the "),F=e("Collections Module"),j=t("li",null,"Navigate to the collection of the item you want to delete",-1),q=t("li",null,"Select the item(s) within the desired layout (eg: the checkbox on the table row)",-1),V=t("li",null,"Click the \u201CDelete Item\u201D (trash icon) button located in the header",-1),P=t("li",null,"Confirm the action within the dialog by clicking \u201CDelete\u201D",-1),U=t("div",{class:"tip hint"},[t("div",{class:"hint-title"},"Deleting from the Item Detail page"),t("p",null,"You can also click on an item to navigate to its Detail page. From there, you can click on the \u201CDelete Item\u201D (trash icon) button located in the header.")],-1),W=t("h2",{id:"archiving-an-item"},[e("Archiving an Item "),t("a",{class:"header-anchor",href:"#archiving-an-item"},"#")],-1),Y=e("Navigate to the "),H=e("Collections Module"),J=t("li",null,"Navigate to the collection of the item you want to archive",-1),X=t("li",null,"Select the item(s) within the desired layout (eg: the checkbox on the table row)",-1),z=t("li",null,"Click the \u201CArchive Item\u201D (trash icon) button located in the header",-1),G=t("li",null,"Confirm the action within the dialog by clicking \u201CArchive\u201D",-1),K=t("div",{class:"warning hint"},[t("div",{class:"hint-title"},"Requires Configuration"),t("p",null,"This feature is only available if an Archive column has been configured in the Collection\u2019s data model settings.")],-1),Q=t("div",{class:"tip hint"},[t("div",{class:"hint-title"},"Archiving from the Item Detail page"),t("p",null,"You can also click on an item to navigate to its Detail page. From there, you can click on the \u201CArchive Item\u201D (archive icon) button located in the header.")],-1),Z=t("h2",{id:"reverting-an-item"},[e("Reverting an Item "),t("a",{class:"header-anchor",href:"#reverting-an-item"},"#")],-1),$=e("Navigate to the "),tt=e("Collections Module"),et=t("li",null,"Navigate to the collection of the item you want to archive",-1),ot=t("li",null,"Click on an item to navigate to its Detail page",-1),it=t("li",null,"Click \u201CRevisions\u201D in the page sidebar",-1),nt=t("li",null,"Click on the revision you wish to preview",-1),lt=t("li",null,"Click on the \u201CRevert\u201D button located in the drawer\u2019s header",-1),st=t("li",null,"Confirm the action within the dialog by clicking \u201CRevert\u201D",-1),at=t("h2",{id:"commenting-on-an-item"},[e("Commenting on an Item "),t("a",{class:"header-anchor",href:"#commenting-on-an-item"},"#")],-1),ct=e("Navigate to the "),ht=e("Collections Module"),dt=t("li",null,"Navigate to the collection of the item you want to comment on",-1),rt=t("li",null,"Click on an item to navigate to its Detail page",-1),ut=t("li",null,"Click \u201CComments\u201D in the page sidebar",-1),_t=t("li",null,"Type your message within the input",-1),mt=t("li",null,"Click the \u201CSubmit\u201D button",-1),gt=t("h2",{id:"manually-sorting-items"},[e("Manually Sorting Items "),t("a",{class:"header-anchor",href:"#manually-sorting-items"},"#")],-1),pt=e("Navigate to the "),ft=e("Collections Module"),vt=t("li",null,"Navigate to the collection of the items you want to sort",-1),bt=t("li",null,"Choose a layout that supports manual sorting (eg: the default \u201Ctable\u201D mode)",-1),yt=t("li",null,"Enable manual sorting. (eg: for the table layout, click on the Sort column\u2019s header)",-1),kt=t("li",null,"Drag items by their handle into a new position",-1),Ct=t("p",null,"The new sort order is saved automatically, so make sure you wait until the App\u2019s loading indicator finishes before navigating away from the page.",-1),wt=t("div",{class:"warning hint"},[t("div",{class:"hint-title"},"Requires Configuration"),t("p",null,"This feature is only available if a Sort column has been configured in the Collection\u2019s data model settings.")],-1),Nt=t("h2",{id:"ordering-items"},[e("Ordering Items "),t("a",{class:"header-anchor",href:"#ordering-items"},"#")],-1),It=e("Navigate to the "),St=e("Collections Module"),Dt=t("li",null,"Navigate to a collection of items",-1),xt=t("li",null,"Choose a layout that supports manual ordering (eg: the default \u201Ctable\u201D mode)",-1),At=t("li",null,[e("Set the Order Field and Order Direction "),t("ul",null,[t("li",null,"Table Layout: Click on the field\u2019s column header, clicking again changes order direction"),t("li",null,"Card Layout: Adjust the two dropdowns in the layout\u2019s subheader")])],-1),Mt={class:"tip hint"},Lt=t("div",{class:"hint-title"},"Sort vs Order",-1),Ot=t("strong",null,"Ordering",-1),Bt=e(" is a non-destructive action (does "),Rt=t("em",null,"not",-1),Tt=e(" change your data) used to browse items alphabetically or numerically. "),Et=t("strong",null,"Sorting",-1),Ft=e(" (when enabled) saves a value in a "),jt=e("Sort"),qt=e(" field, which can then be used to return data in a custom order."),Vt=t("h2",{id:"adjusting-item-layouts"},[e("Adjusting Item Layouts "),t("a",{class:"header-anchor",href:"#adjusting-item-layouts"},"#")],-1),Pt=e("Learn more about Layouts"),Ut=e("Navigate to the "),Wt=e("Collections Module"),Yt=t("li",null,"Navigate to the collection of the items you want to browse",-1),Ht=t("li",null,"Click \u201CLayout Options\u201D in the page sidebar",-1),Jt=t("li",null,"Choose the desired \u201CLayout\u201D you want to use",-1),Xt=t("li",null,"Configure any other layout options that come after the layout dropdown",-1),zt=t("h2",{id:"searching-items"},[e("Searching Items "),t("a",{class:"header-anchor",href:"#searching-items"},"#")],-1),Gt=e("Learn more about Search"),Kt=e("Navigate to the "),Qt=e("Collections Module"),Zt=t("li",null,"Navigate to the collection of the items you want to search",-1),$t=t("li",null,"Type your search query into the input located in the header",-1),te=t("h2",{id:"filtering-items"},[e("Filtering Items "),t("a",{class:"header-anchor",href:"#filtering-items"},"#")],-1),ee=e("Learn more about Filtering"),oe=e("."),ie=e("Navigate to the "),ne=e("Collections Module"),le=t("li",null,"Navigate to the collection of the items you want to filter",-1),se=t("li",null,"Click \u201CAdvanced Filter\u201D in the page sidebar",-1),ae=t("li",null,"Click the \u201CAdd Filter\u201D dropdown and select the field to filter on",-1),ce=t("li",null,"Adjust the operator (eg: \u201CContains\u201D) as needed by clicking on it",-1),he=t("li",null,"Enter a value in the field filter\u2019s input(s)",-1),de=t("li",null,"Remove unwanted filters by hovering over the field and clicking \u201CX\u201D",-1),re=t("h2",{id:"bookmarking-item-presets"},[e("Bookmarking Item Presets "),t("a",{class:"header-anchor",href:"#bookmarking-item-presets"},"#")],-1),ue=e("Learn more about Bookmarks"),_e=e("Navigate to the "),me=e("Collections Module"),ge=t("li",null,"Navigate to the collection of the items you want to bookmark",-1),pe=t("li",null,"Configure the page as desired (eg: layout, options, search, filters, order, etc)",-1),fe=t("li",null,"Click the \u201CCreate Bookmark\u201D (bookmark icon) button in the header beside the page title",-1),ve=t("li",null,"Rename bookmarks by right-clicking them in the navigation sidebar and selecting \u201CRename Bookmark\u201D",-1),be=t("li",null,"Delete bookmarks by right-clicking them in the navigation sidebar and selecting \u201CDelete Bookmark\u201D",-1),ye=t("h2",{id:"exporting-items"},[e("Exporting Items "),t("a",{class:"header-anchor",href:"#exporting-items"},"#")],-1),ke=e("Learn more about Exporting"),Ce=e("Navigate to the "),we=e("Collections Module"),Ne=t("li",null,"Navigate to the collection of the items you want to bookmark",-1),Ie=t("li",null,"Optional: Configure the dataset as desired (eg: layout, options, search, filters, order, etc)",-1),Se=t("li",null,"Click \u201CExport Data\u201D in the page sidebar",-1),De=t("li",null,"Choose the desired format: either CSV or JSON",-1),xe=t("li",null,"Choose whether you want to use your current Filters and Settings in the export",-1),Ae=t("li",null,"Click the \u201CExport\u201D button to download the file to your device",-1),Re={setup(Me,{expose:a}){const l={title:"Items",modularExtension:!1};return a({frontmatter:l}),(Le,Oe)=>{const i=s("router-link"),c=s("DocsWrapper");return h(),d(c,{frontmatter:l},{default:o(()=>[t("div",r,[t("blockquote",null,[t("p",null,[u,_,m,n(i,{to:"/docs/concepts/items/"},{default:o(()=>[g]),_:1}),p])]),f,v,t("ol",null,[t("li",null,[b,n(i,{to:"/docs/concepts/application/#collections"},{default:o(()=>[y]),_:1})]),k,C,w,N]),I,S,t("ol",null,[t("li",null,[D,n(i,{to:"/docs/concepts/application/#collections"},{default:o(()=>[x]),_:1})]),A,M,L,O]),B,R,T,t("ol",null,[t("li",null,[E,n(i,{to:"/docs/concepts/application/#collections"},{default:o(()=>[F]),_:1})]),j,q,V,P]),U,W,t("ol",null,[t("li",null,[Y,n(i,{to:"/docs/concepts/application/#collections"},{default:o(()=>[H]),_:1})]),J,X,z,G]),K,Q,Z,t("ol",null,[t("li",null,[$,n(i,{to:"/docs/concepts/application/#collections"},{default:o(()=>[tt]),_:1})]),et,ot,it,nt,lt,st]),at,t("ol",null,[t("li",null,[ct,n(i,{to:"/docs/concepts/application/#collections"},{default:o(()=>[ht]),_:1})]),dt,rt,ut,_t,mt]),gt,t("ol",null,[t("li",null,[pt,n(i,{to:"/docs/concepts/application/#collections"},{default:o(()=>[ft]),_:1})]),vt,bt,yt,kt]),Ct,wt,Nt,t("ol",null,[t("li",null,[It,n(i,{to:"/docs/concepts/application/#collections"},{default:o(()=>[St]),_:1})]),Dt,xt,At]),t("div",Mt,[Lt,t("p",null,[Ot,Bt,Rt,Tt,Et,Ft,n(i,{to:"/docs/guides/collections/#sort"},{default:o(()=>[jt]),_:1}),qt])]),Vt,t("p",null,[t("strong",null,[n(i,{to:"/docs/concepts/layouts/"},{default:o(()=>[Pt]),_:1})])]),t("ol",null,[t("li",null,[Ut,n(i,{to:"/docs/concepts/application/#collections"},{default:o(()=>[Wt]),_:1})]),Yt,Ht,Jt,Xt]),zt,t("p",null,[t("strong",null,[n(i,{to:"/docs/guides/items/#searching-items"},{default:o(()=>[Gt]),_:1})])]),t("ol",null,[t("li",null,[Kt,n(i,{to:"/docs/concepts/application/#collections"},{default:o(()=>[Qt]),_:1})]),Zt,$t]),te,t("p",null,[t("strong",null,[n(i,{to:"/docs/guides/items/#filtering-items"},{default:o(()=>[ee]),_:1}),oe])]),t("ol",null,[t("li",null,[ie,n(i,{to:"/docs/concepts/application/#collections"},{default:o(()=>[ne]),_:1})]),le,se,ae,ce,he,de]),re,t("p",null,[t("strong",null,[n(i,{to:"/docs/guides/items/#bookmarking-item-presets"},{default:o(()=>[ue]),_:1})])]),t("ol",null,[t("li",null,[_e,n(i,{to:"/docs/concepts/application/#collections"},{default:o(()=>[me]),_:1})]),ge,pe,fe,ve,be]),ye,t("p",null,[t("strong",null,[n(i,{to:"/docsguides/items/#exporting-items"},{default:o(()=>[ke]),_:1})])]),t("ol",null,[t("li",null,[Ce,n(i,{to:"/docs/concepts/application/#collections"},{default:o(()=>[we]),_:1})]),Ne,Ie,Se,De,xe,Ae])])]),_:1})}}};export{Re as default};
1
+ import{r as s,p as h,q as d,w as o,B as t,t as n,P as e}from"./vendor.a626ab9c.js";const r={class:"markdown-body"},u=e("Item are objects within a Collection which contain values for one or more fields. Each collection represents a "),_=t("strong",null,"record",-1),m=e(" in your database. "),g=e("Learn more about Items"),p=e("."),f=t("div",{class:"warning hint"},[t("div",{class:"hint-title"},"Permissions"),t("p",null,"The actions on this page assume the current user has permission to perform that action. However, certain features may be disabled or hidden based on permissions.")],-1),v=t("h2",{id:"creating-an-item"},[e("Creating an Item "),t("a",{class:"header-anchor",href:"#creating-an-item"},"#")],-1),b=e("Navigate to the "),y=e("Collections Module"),k=t("li",null,"Navigate to the collection where you want to add an item",-1),C=t("li",null,"Click on the \u201CCreate Item\u201D (+ icon) button located in the header",-1),w=t("li",null,"Complete the Item Detail form",-1),N=t("li",null,"Click the \u201CSave Item\u201D (\u2713 icon) button located in the header",-1),I=t("div",{class:"tip hint"},[t("div",{class:"hint-title"},"Singletons"),t("p",null,"If the Collection is configured as a \u201CSingleton\u201D in the data model settings, then the App will automatically skip step #3 above.")],-1),S=t("h2",{id:"updating-an-item"},[e("Updating an Item "),t("a",{class:"header-anchor",href:"#updating-an-item"},"#")],-1),D=e("Navigate to the "),x=e("Collections Module"),A=t("li",null,"Navigate to the collection of the item you want to update",-1),M=t("li",null,"Click on the item within the current layout (eg: on the row of the table)",-1),L=t("li",null,"Update the Item Detail form",-1),O=t("li",null,"Click the \u201CSave Item\u201D (\u2713 icon) button located in the header",-1),B=t("div",{class:"tip hint"},[t("div",{class:"hint-title"},"Other Save Options"),t("p",null,"To the right of the primary Save button there is a \u201C\u2026\u201D icon which contains the following alternate save options:"),t("ul",null,[t("li",null,"Save and Stay (\u2318S)"),t("li",null,"Save and Create New (\u2318\u21E7S)"),t("li",null,"Save as Copy")])],-1),R=t("div",{class:"tip hint"},[t("div",{class:"hint-title"},"Singletons"),t("p",null,"If the Collection is configured as a \u201CSingleton\u201D in the data model settings, then the App will automatically skip step #3 above.")],-1),T=t("h2",{id:"deleting-an-item"},[e("Deleting an Item "),t("a",{class:"header-anchor",href:"#deleting-an-item"},"#")],-1),E=e("Navigate to the "),F=e("Collections Module"),j=t("li",null,"Navigate to the collection of the item you want to delete",-1),q=t("li",null,"Select the item(s) within the desired layout (eg: the checkbox on the table row)",-1),V=t("li",null,"Click the \u201CDelete Item\u201D (trash icon) button located in the header",-1),P=t("li",null,"Confirm the action within the dialog by clicking \u201CDelete\u201D",-1),U=t("div",{class:"tip hint"},[t("div",{class:"hint-title"},"Deleting from the Item Detail page"),t("p",null,"You can also click on an item to navigate to its Detail page. From there, you can click on the \u201CDelete Item\u201D (trash icon) button located in the header.")],-1),W=t("h2",{id:"archiving-an-item"},[e("Archiving an Item "),t("a",{class:"header-anchor",href:"#archiving-an-item"},"#")],-1),Y=e("Navigate to the "),H=e("Collections Module"),J=t("li",null,"Navigate to the collection of the item you want to archive",-1),X=t("li",null,"Select the item(s) within the desired layout (eg: the checkbox on the table row)",-1),z=t("li",null,"Click the \u201CArchive Item\u201D (trash icon) button located in the header",-1),G=t("li",null,"Confirm the action within the dialog by clicking \u201CArchive\u201D",-1),K=t("div",{class:"warning hint"},[t("div",{class:"hint-title"},"Requires Configuration"),t("p",null,"This feature is only available if an Archive column has been configured in the Collection\u2019s data model settings.")],-1),Q=t("div",{class:"tip hint"},[t("div",{class:"hint-title"},"Archiving from the Item Detail page"),t("p",null,"You can also click on an item to navigate to its Detail page. From there, you can click on the \u201CArchive Item\u201D (archive icon) button located in the header.")],-1),Z=t("h2",{id:"reverting-an-item"},[e("Reverting an Item "),t("a",{class:"header-anchor",href:"#reverting-an-item"},"#")],-1),$=e("Navigate to the "),tt=e("Collections Module"),et=t("li",null,"Navigate to the collection of the item you want to archive",-1),ot=t("li",null,"Click on an item to navigate to its Detail page",-1),it=t("li",null,"Click \u201CRevisions\u201D in the page sidebar",-1),nt=t("li",null,"Click on the revision you wish to preview",-1),lt=t("li",null,"Click on the \u201CRevert\u201D button located in the drawer\u2019s header",-1),st=t("li",null,"Confirm the action within the dialog by clicking \u201CRevert\u201D",-1),at=t("h2",{id:"commenting-on-an-item"},[e("Commenting on an Item "),t("a",{class:"header-anchor",href:"#commenting-on-an-item"},"#")],-1),ct=e("Navigate to the "),ht=e("Collections Module"),dt=t("li",null,"Navigate to the collection of the item you want to comment on",-1),rt=t("li",null,"Click on an item to navigate to its Detail page",-1),ut=t("li",null,"Click \u201CComments\u201D in the page sidebar",-1),_t=t("li",null,"Type your message within the input",-1),mt=t("li",null,"Click the \u201CSubmit\u201D button",-1),gt=t("h2",{id:"manually-sorting-items"},[e("Manually Sorting Items "),t("a",{class:"header-anchor",href:"#manually-sorting-items"},"#")],-1),pt=e("Navigate to the "),ft=e("Collections Module"),vt=t("li",null,"Navigate to the collection of the items you want to sort",-1),bt=t("li",null,"Choose a layout that supports manual sorting (eg: the default \u201Ctable\u201D mode)",-1),yt=t("li",null,"Enable manual sorting. (eg: for the table layout, click on the Sort column\u2019s header)",-1),kt=t("li",null,"Drag items by their handle into a new position",-1),Ct=t("p",null,"The new sort order is saved automatically, so make sure you wait until the App\u2019s loading indicator finishes before navigating away from the page.",-1),wt=t("div",{class:"warning hint"},[t("div",{class:"hint-title"},"Requires Configuration"),t("p",null,"This feature is only available if a Sort column has been configured in the Collection\u2019s data model settings.")],-1),Nt=t("h2",{id:"ordering-items"},[e("Ordering Items "),t("a",{class:"header-anchor",href:"#ordering-items"},"#")],-1),It=e("Navigate to the "),St=e("Collections Module"),Dt=t("li",null,"Navigate to a collection of items",-1),xt=t("li",null,"Choose a layout that supports manual ordering (eg: the default \u201Ctable\u201D mode)",-1),At=t("li",null,[e("Set the Order Field and Order Direction "),t("ul",null,[t("li",null,"Table Layout: Click on the field\u2019s column header, clicking again changes order direction"),t("li",null,"Card Layout: Adjust the two dropdowns in the layout\u2019s subheader")])],-1),Mt={class:"tip hint"},Lt=t("div",{class:"hint-title"},"Sort vs Order",-1),Ot=t("strong",null,"Ordering",-1),Bt=e(" is a non-destructive action (does "),Rt=t("em",null,"not",-1),Tt=e(" change your data) used to browse items alphabetically or numerically. "),Et=t("strong",null,"Sorting",-1),Ft=e(" (when enabled) saves a value in a "),jt=e("Sort"),qt=e(" field, which can then be used to return data in a custom order."),Vt=t("h2",{id:"adjusting-item-layouts"},[e("Adjusting Item Layouts "),t("a",{class:"header-anchor",href:"#adjusting-item-layouts"},"#")],-1),Pt=e("Learn more about Layouts"),Ut=e("Navigate to the "),Wt=e("Collections Module"),Yt=t("li",null,"Navigate to the collection of the items you want to browse",-1),Ht=t("li",null,"Click \u201CLayout Options\u201D in the page sidebar",-1),Jt=t("li",null,"Choose the desired \u201CLayout\u201D you want to use",-1),Xt=t("li",null,"Configure any other layout options that come after the layout dropdown",-1),zt=t("h2",{id:"searching-items"},[e("Searching Items "),t("a",{class:"header-anchor",href:"#searching-items"},"#")],-1),Gt=e("Learn more about Search"),Kt=e("Navigate to the "),Qt=e("Collections Module"),Zt=t("li",null,"Navigate to the collection of the items you want to search",-1),$t=t("li",null,"Type your search query into the input located in the header",-1),te=t("h2",{id:"filtering-items"},[e("Filtering Items "),t("a",{class:"header-anchor",href:"#filtering-items"},"#")],-1),ee=e("Learn more about Filtering"),oe=e("."),ie=e("Navigate to the "),ne=e("Collections Module"),le=t("li",null,"Navigate to the collection of the items you want to filter",-1),se=t("li",null,"Click \u201CAdvanced Filter\u201D in the page sidebar",-1),ae=t("li",null,"Click the \u201CAdd Filter\u201D dropdown and select the field to filter on",-1),ce=t("li",null,"Adjust the operator (eg: \u201CContains\u201D) as needed by clicking on it",-1),he=t("li",null,"Enter a value in the field filter\u2019s input(s)",-1),de=t("li",null,"Remove unwanted filters by hovering over the field and clicking \u201CX\u201D",-1),re=t("h2",{id:"bookmarking-item-presets"},[e("Bookmarking Item Presets "),t("a",{class:"header-anchor",href:"#bookmarking-item-presets"},"#")],-1),ue=e("Learn more about Bookmarks"),_e=e("Navigate to the "),me=e("Collections Module"),ge=t("li",null,"Navigate to the collection of the items you want to bookmark",-1),pe=t("li",null,"Configure the page as desired (eg: layout, options, search, filters, order, etc)",-1),fe=t("li",null,"Click the \u201CCreate Bookmark\u201D (bookmark icon) button in the header beside the page title",-1),ve=t("li",null,"Rename bookmarks by right-clicking them in the navigation sidebar and selecting \u201CRename Bookmark\u201D",-1),be=t("li",null,"Delete bookmarks by right-clicking them in the navigation sidebar and selecting \u201CDelete Bookmark\u201D",-1),ye=t("h2",{id:"exporting-items"},[e("Exporting Items "),t("a",{class:"header-anchor",href:"#exporting-items"},"#")],-1),ke=e("Learn more about Exporting"),Ce=e("Navigate to the "),we=e("Collections Module"),Ne=t("li",null,"Navigate to the collection of the items you want to bookmark",-1),Ie=t("li",null,"Optional: Configure the dataset as desired (eg: layout, options, search, filters, order, etc)",-1),Se=t("li",null,"Click \u201CExport Data\u201D in the page sidebar",-1),De=t("li",null,"Choose the desired format: either CSV or JSON",-1),xe=t("li",null,"Choose whether you want to use your current Filters and Settings in the export",-1),Ae=t("li",null,"Click the \u201CExport\u201D button to download the file to your device",-1),Re={setup(Me,{expose:a}){const l={title:"Items",modularExtension:!1};return a({frontmatter:l}),(Le,Oe)=>{const i=s("router-link"),c=s("DocsWrapper");return h(),d(c,{frontmatter:l},{default:o(()=>[t("div",r,[t("blockquote",null,[t("p",null,[u,_,m,n(i,{to:"/docs/concepts/items/"},{default:o(()=>[g]),_:1}),p])]),f,v,t("ol",null,[t("li",null,[b,n(i,{to:"/docs/concepts/application/#collections"},{default:o(()=>[y]),_:1})]),k,C,w,N]),I,S,t("ol",null,[t("li",null,[D,n(i,{to:"/docs/concepts/application/#collections"},{default:o(()=>[x]),_:1})]),A,M,L,O]),B,R,T,t("ol",null,[t("li",null,[E,n(i,{to:"/docs/concepts/application/#collections"},{default:o(()=>[F]),_:1})]),j,q,V,P]),U,W,t("ol",null,[t("li",null,[Y,n(i,{to:"/docs/concepts/application/#collections"},{default:o(()=>[H]),_:1})]),J,X,z,G]),K,Q,Z,t("ol",null,[t("li",null,[$,n(i,{to:"/docs/concepts/application/#collections"},{default:o(()=>[tt]),_:1})]),et,ot,it,nt,lt,st]),at,t("ol",null,[t("li",null,[ct,n(i,{to:"/docs/concepts/application/#collections"},{default:o(()=>[ht]),_:1})]),dt,rt,ut,_t,mt]),gt,t("ol",null,[t("li",null,[pt,n(i,{to:"/docs/concepts/application/#collections"},{default:o(()=>[ft]),_:1})]),vt,bt,yt,kt]),Ct,wt,Nt,t("ol",null,[t("li",null,[It,n(i,{to:"/docs/concepts/application/#collections"},{default:o(()=>[St]),_:1})]),Dt,xt,At]),t("div",Mt,[Lt,t("p",null,[Ot,Bt,Rt,Tt,Et,Ft,n(i,{to:"/docs/guides/collections/#sort"},{default:o(()=>[jt]),_:1}),qt])]),Vt,t("p",null,[t("strong",null,[n(i,{to:"/docs/concepts/layouts/"},{default:o(()=>[Pt]),_:1})])]),t("ol",null,[t("li",null,[Ut,n(i,{to:"/docs/concepts/application/#collections"},{default:o(()=>[Wt]),_:1})]),Yt,Ht,Jt,Xt]),zt,t("p",null,[t("strong",null,[n(i,{to:"/docs/guides/items/#searching-items"},{default:o(()=>[Gt]),_:1})])]),t("ol",null,[t("li",null,[Kt,n(i,{to:"/docs/concepts/application/#collections"},{default:o(()=>[Qt]),_:1})]),Zt,$t]),te,t("p",null,[t("strong",null,[n(i,{to:"/docs/guides/items/#filtering-items"},{default:o(()=>[ee]),_:1}),oe])]),t("ol",null,[t("li",null,[ie,n(i,{to:"/docs/concepts/application/#collections"},{default:o(()=>[ne]),_:1})]),le,se,ae,ce,he,de]),re,t("p",null,[t("strong",null,[n(i,{to:"/docs/guides/items/#bookmarking-item-presets"},{default:o(()=>[ue]),_:1})])]),t("ol",null,[t("li",null,[_e,n(i,{to:"/docs/concepts/application/#collections"},{default:o(()=>[me]),_:1})]),ge,pe,fe,ve,be]),ye,t("p",null,[t("strong",null,[n(i,{to:"/docsguides/items/#exporting-items"},{default:o(()=>[ke]),_:1})])]),t("ol",null,[t("li",null,[Ce,n(i,{to:"/docs/concepts/application/#collections"},{default:o(()=>[we]),_:1})]),Ne,Ie,Se,De,xe,Ae])])]),_:1})}}};export{Re as default};
@@ -1 +1 @@
1
- import{r as s,p as c,q as d,w as o,B as e,t as n,P as t}from"./vendor.62143b15.js";const h={class:"markdown-body"},u=e("blockquote",null,[e("p",null,[t("An Item is an object within a Collection that contains the values for one or more fields. Each item represents a "),e("strong",null,"record"),t(" in your database.")])],-1),m=e("p",null,"Items are the primary building blocks of your project content. Similar to a \u201Crow\u201D within a spreadsheet, all data within Directus is accessed via these \u201Catomic\u201D data units. Items in and of themselves are fairly straightforward, however their real power comes from the complexity that begins to form when items are relationally connected to each other.",-1),_=e("p",null,"Items are referenced (both individually and relationally) by their unique \u201Ckey\u201D, which is the value saved within their primary key field. This can techncially be anything, but is typically an auto-incrementing integer or a more complex UUID.",-1),p=e("h4",{id:"relevant-guides"},[t("Relevant Guides "),e("a",{class:"header-anchor",href:"#relevant-guides"},"#")],-1),f=t("Creating an Item"),g=t("Archiving an Item"),y=t("Reordering Items"),v=t("Deleting an Item"),x={setup(w,{expose:r}){const a={title:"Items",modularExtension:!1};return r({frontmatter:a}),(b,I)=>{const i=s("router-link"),l=s("DocsWrapper");return c(),d(l,{frontmatter:a},{default:o(()=>[e("div",h,[u,m,_,p,e("ul",null,[e("li",null,[n(i,{to:"/docs/guides/items/#creating-an-item"},{default:o(()=>[f]),_:1})]),e("li",null,[n(i,{to:"/docs/guides/items/#archiving-an-item"},{default:o(()=>[g]),_:1})]),e("li",null,[n(i,{to:"/docs/guides/items/#reordering-items"},{default:o(()=>[y]),_:1})]),e("li",null,[n(i,{to:"/docs/guides/items/#deleting-an-item"},{default:o(()=>[v]),_:1})])])])]),_:1})}}};export{x as default};
1
+ import{r as s,p as c,q as d,w as o,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,[t("An Item is an object within a Collection that contains the values for one or more fields. Each item represents a "),e("strong",null,"record"),t(" in your database.")])],-1),m=e("p",null,"Items are the primary building blocks of your project content. Similar to a \u201Crow\u201D within a spreadsheet, all data within Directus is accessed via these \u201Catomic\u201D data units. Items in and of themselves are fairly straightforward, however their real power comes from the complexity that begins to form when items are relationally connected to each other.",-1),_=e("p",null,"Items are referenced (both individually and relationally) by their unique \u201Ckey\u201D, which is the value saved within their primary key field. This can techncially be anything, but is typically an auto-incrementing integer or a more complex UUID.",-1),p=e("h4",{id:"relevant-guides"},[t("Relevant Guides "),e("a",{class:"header-anchor",href:"#relevant-guides"},"#")],-1),f=t("Creating an Item"),g=t("Archiving an Item"),y=t("Reordering Items"),v=t("Deleting an Item"),x={setup(w,{expose:r}){const n={title:"Items",modularExtension:!1};return r({frontmatter:n}),(b,I)=>{const i=s("router-link"),l=s("DocsWrapper");return c(),d(l,{frontmatter:n},{default:o(()=>[e("div",h,[u,m,_,p,e("ul",null,[e("li",null,[a(i,{to:"/docs/guides/items/#creating-an-item"},{default:o(()=>[f]),_:1})]),e("li",null,[a(i,{to:"/docs/guides/items/#archiving-an-item"},{default:o(()=>[g]),_:1})]),e("li",null,[a(i,{to:"/docs/guides/items/#reordering-items"},{default:o(()=>[y]),_:1})]),e("li",null,[a(i,{to:"/docs/guides/items/#deleting-an-item"},{default:o(()=>[v]),_:1})])])])]),_:1})}}};export{x as default};
@@ -1 +1 @@
1
- import{bA as I}from"./vendor.62143b15.js";function N(d,m){return m.forEach(function(c){Object.keys(c).forEach(function(p){if(p!=="default"&&!(p in d)){var y=Object.getOwnPropertyDescriptor(c,p);Object.defineProperty(d,p,y.get?y:{enumerable:!0,get:function(){return c[p]}})}})}),Object.freeze(d)}var O={exports:{}};(function(d,m){(function(c){c(I.exports)})(function(c){var p=c.Pos;function y(e,n){for(var t=0,r=e.length;t<r;++t)n(e[t])}function x(e,n){if(!Array.prototype.indexOf){for(var t=e.length;t--;)if(e[t]===n)return!0;return!1}return e.indexOf(n)!=-1}function w(e,n,t,r){var a=e.getCursor(),i=t(e,a);if(!/\b(?:string|comment)\b/.test(i.type)){var o=c.innerMode(e.getMode(),i.state);if(o.mode.helperType!=="json"){i.state=o.state,/^[\w$_]*$/.test(i.string)?i.end>a.ch&&(i.end=a.ch,i.string=i.string.slice(0,a.ch-i.start)):i={start:a.ch,end:a.ch,string:"",state:i.state,type:i.string=="."?"property":null};for(var s=i;s.type=="property";){if(s=t(e,p(a.line,s.start)),s.string!=".")return;if(s=t(e,p(a.line,s.start)),!h)var h=[];h.push(s)}return{list:Q(i,h,n,r),from:p(a.line,i.start),to:p(a.line,i.end)}}}}function P(e,n){return w(e,$,function(t,r){return t.getTokenAt(r)},n)}c.registerHelper("hint","javascript",P);function _(e,n){var t=e.getTokenAt(n);return n.ch==t.start+1&&t.string.charAt(0)=="."?(t.end=t.start,t.string=".",t.type="property"):/^\.[\w$_]*$/.test(t.string)&&(t.type="property",t.start++,t.string=t.string.replace(/\./,"")),t}function j(e,n){return w(e,S,_,n)}c.registerHelper("hint","coffeescript",j);var A="charAt charCodeAt indexOf lastIndexOf substring substr slice trim trimLeft trimRight toUpperCase toLowerCase split concat match replace search".split(" "),C="length concat join splice push pop shift unshift slice reverse sort indexOf lastIndexOf every some filter forEach map reduce reduceRight ".split(" "),H="prototype apply call bind".split(" "),$="break case catch class const continue debugger default delete do else export extends false finally for function if in import instanceof new null return super switch this throw true try typeof var void while with yield".split(" "),S="and break catch class continue delete do else extends false finally for if in instanceof isnt new no not null of off on or return switch then throw true try typeof until void while with yes".split(" ");function E(e,n){if(!Object.getOwnPropertyNames||!Object.getPrototypeOf)for(var t in e)n(t);else for(var r=e;r;r=Object.getPrototypeOf(r))Object.getOwnPropertyNames(r).forEach(n)}function Q(e,n,t,r){var a=[],i=e.string,o=r&&r.globalScope||window;function s(g){g.lastIndexOf(i,0)==0&&!x(a,g)&&a.push(g)}function h(g){typeof g=="string"?y(A,s):g instanceof Array?y(C,s):g instanceof Function&&y(H,s),E(g,s)}if(n&&n.length){var u=n.pop(),l;for(u.type&&u.type.indexOf("variable")===0?(r&&r.additionalContext&&(l=r.additionalContext[u.string]),(!r||r.useGlobalScope!==!1)&&(l=l||o[u.string])):u.type=="string"?l="":u.type=="atom"?l=1:u.type=="function"&&(o.jQuery!=null&&(u.string=="$"||u.string=="jQuery")&&typeof o.jQuery=="function"?l=o.jQuery():o._!=null&&u.string=="_"&&typeof o._=="function"&&(l=o._()));l!=null&&n.length;)l=l[n.pop().string];l!=null&&h(l)}else{for(var f=e.state.localVars;f;f=f.next)s(f.name);for(var v=e.state.context;v;v=v.prev)for(var f=v.vars;f;f=f.next)s(f.name);for(var f=e.state.globalVars;f;f=f.next)s(f.name);if(r&&r.additionalContext!=null)for(var b in r.additionalContext)s(b);(!r||r.useGlobalScope!==!1)&&h(o),y(t,s)}return a}})})();var T=O.exports,G=Object.freeze(N({__proto__:null,[Symbol.toStringTag]:"Module",default:T},[O.exports]));export{G as j};
1
+ import{bE as I}from"./vendor.a626ab9c.js";function N(d,m){return m.forEach(function(c){Object.keys(c).forEach(function(p){if(p!=="default"&&!(p in d)){var y=Object.getOwnPropertyDescriptor(c,p);Object.defineProperty(d,p,y.get?y:{enumerable:!0,get:function(){return c[p]}})}})}),Object.freeze(d)}var O={exports:{}};(function(d,m){(function(c){c(I.exports)})(function(c){var p=c.Pos;function y(e,n){for(var t=0,r=e.length;t<r;++t)n(e[t])}function x(e,n){if(!Array.prototype.indexOf){for(var t=e.length;t--;)if(e[t]===n)return!0;return!1}return e.indexOf(n)!=-1}function w(e,n,t,r){var s=e.getCursor(),i=t(e,s);if(!/\b(?:string|comment)\b/.test(i.type)){var o=c.innerMode(e.getMode(),i.state);if(o.mode.helperType!=="json"){i.state=o.state,/^[\w$_]*$/.test(i.string)?i.end>s.ch&&(i.end=s.ch,i.string=i.string.slice(0,s.ch-i.start)):i={start:s.ch,end:s.ch,string:"",state:i.state,type:i.string=="."?"property":null};for(var a=i;a.type=="property";){if(a=t(e,p(s.line,a.start)),a.string!=".")return;if(a=t(e,p(s.line,a.start)),!h)var h=[];h.push(a)}return{list:Q(i,h,n,r),from:p(s.line,i.start),to:p(s.line,i.end)}}}}function P(e,n){return w(e,$,function(t,r){return t.getTokenAt(r)},n)}c.registerHelper("hint","javascript",P);function _(e,n){var t=e.getTokenAt(n);return n.ch==t.start+1&&t.string.charAt(0)=="."?(t.end=t.start,t.string=".",t.type="property"):/^\.[\w$_]*$/.test(t.string)&&(t.type="property",t.start++,t.string=t.string.replace(/\./,"")),t}function j(e,n){return w(e,E,_,n)}c.registerHelper("hint","coffeescript",j);var A="charAt charCodeAt indexOf lastIndexOf substring substr slice trim trimLeft trimRight toUpperCase toLowerCase split concat match replace search".split(" "),C="length concat join splice push pop shift unshift slice reverse sort indexOf lastIndexOf every some filter forEach map reduce reduceRight ".split(" "),H="prototype apply call bind".split(" "),$="break case catch class const continue debugger default delete do else export extends false finally for function if in import instanceof new null return super switch this throw true try typeof var void while with yield".split(" "),E="and break catch class continue delete do else extends false finally for if in instanceof isnt new no not null of off on or return switch then throw true try typeof until void while with yes".split(" ");function S(e,n){if(!Object.getOwnPropertyNames||!Object.getPrototypeOf)for(var t in e)n(t);else for(var r=e;r;r=Object.getPrototypeOf(r))Object.getOwnPropertyNames(r).forEach(n)}function Q(e,n,t,r){var s=[],i=e.string,o=r&&r.globalScope||window;function a(g){g.lastIndexOf(i,0)==0&&!x(s,g)&&s.push(g)}function h(g){typeof g=="string"?y(A,a):g instanceof Array?y(C,a):g instanceof Function&&y(H,a),S(g,a)}if(n&&n.length){var u=n.pop(),l;for(u.type&&u.type.indexOf("variable")===0?(r&&r.additionalContext&&(l=r.additionalContext[u.string]),(!r||r.useGlobalScope!==!1)&&(l=l||o[u.string])):u.type=="string"?l="":u.type=="atom"?l=1:u.type=="function"&&(o.jQuery!=null&&(u.string=="$"||u.string=="jQuery")&&typeof o.jQuery=="function"?l=o.jQuery():o._!=null&&u.string=="_"&&typeof o._=="function"&&(l=o._()));l!=null&&n.length;)l=l[n.pop().string];l!=null&&h(l)}else{for(var f=e.state.localVars;f;f=f.next)a(f.name);for(var v=e.state.context;v;v=v.prev)for(var f=v.vars;f;f=f.next)a(f.name);for(var f=e.state.globalVars;f;f=f.next)a(f.name);if(r&&r.additionalContext!=null)for(var b in r.additionalContext)a(b);(!r||r.useGlobalScope!==!1)&&h(o),y(t,a)}return s}})})();var T=O.exports,G=Object.freeze(N({__proto__:null,[Symbol.toStringTag]:"Module",default:T},[O.exports]));export{G as j};
@@ -1 +1 @@
1
- import{bA as he}from"./vendor.62143b15.js";function xe(Y,hr){return hr.forEach(function(b){Object.keys(b).forEach(function(_){if(_!=="default"&&!(_ in Y)){var v=Object.getOwnPropertyDescriptor(b,_);Object.defineProperty(Y,_,v.get?v:{enumerable:!0,get:function(){return b[_]}})}})}),Object.freeze(Y)}var Fr={exports:{}};(function(Y,hr){(function(b){b(he.exports)})(function(b){b.defineMode("javascript",function(_,v){var N=_.indentUnit,xr=v.statementIndent,Z=v.jsonld,z=v.json||Z,vr=v.trackScope!==!1,p=v.typescript,C=v.wordCharacters||/[\w$\xa1-\uffff]/,gr=function(){function r(g){return{type:g,style:"keyword"}}var e=r("keyword a"),t=r("keyword b"),f=r("keyword c"),u=r("keyword d"),l=r("operator"),m={type:"atom",style:"atom"};return{if:r("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:u,break:u,continue:u,new:r("new"),delete:f,void:f,throw:f,debugger:r("debugger"),var:r("var"),const:r("var"),let:r("var"),function:r("function"),catch:r("catch"),for:r("for"),switch:r("switch"),case:r("case"),default:r("default"),in:l,typeof:l,instanceof:l,true:m,false:m,null:m,undefined:m,NaN:m,Infinity:m,this:r("this"),class:r("class"),super:r("atom"),yield:f,export:r("export"),import:r("import"),extends:f,await:f}}(),yr=/[+\-*&%=<>!?|~^@]/,Dr=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function Jr(r){for(var e=!1,t,f=!1;(t=r.next())!=null;){if(!e){if(t=="/"&&!f)return;t=="["?f=!0:f&&t=="]"&&(f=!1)}e=!e&&t=="\\"}}var R,rr;function w(r,e,t){return R=r,rr=t,e}function M(r,e){var t=r.next();if(t=='"'||t=="'")return e.tokenize=Lr(t),e.tokenize(r,e);if(t=="."&&r.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return w("number","number");if(t=="."&&r.match(".."))return w("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(t))return w(t);if(t=="="&&r.eat(">"))return w("=>","operator");if(t=="0"&&r.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return w("number","number");if(/\d/.test(t))return r.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),w("number","number");if(t=="/")return r.eat("*")?(e.tokenize=er,er(r,e)):r.eat("/")?(r.skipToEnd(),w("comment","comment")):Pr(r,e,1)?(Jr(r),r.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),w("regexp","string-2")):(r.eat("="),w("operator","operator",r.current()));if(t=="`")return e.tokenize=U,U(r,e);if(t=="#"&&r.peek()=="!")return r.skipToEnd(),w("meta","meta");if(t=="#"&&r.eatWhile(C))return w("variable","property");if(t=="<"&&r.match("!--")||t=="-"&&r.match("->")&&!/\S/.test(r.string.slice(0,r.start)))return r.skipToEnd(),w("comment","comment");if(yr.test(t))return(t!=">"||!e.lexical||e.lexical.type!=">")&&(r.eat("=")?(t=="!"||t=="=")&&r.eat("="):/[<>*+\-|&?]/.test(t)&&(r.eat(t),t==">"&&r.eat(t))),t=="?"&&r.eat(".")?w("."):w("operator","operator",r.current());if(C.test(t)){r.eatWhile(C);var f=r.current();if(e.lastType!="."){if(gr.propertyIsEnumerable(f)){var u=gr[f];return w(u.type,u.style,f)}if(f=="async"&&r.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return w("async","keyword",f)}return w("variable","variable",f)}}function Lr(r){return function(e,t){var f=!1,u;if(Z&&e.peek()=="@"&&e.match(Dr))return t.tokenize=M,w("jsonld-keyword","meta");for(;(u=e.next())!=null&&!(u==r&&!f);)f=!f&&u=="\\";return f||(t.tokenize=M),w("string","string")}}function er(r,e){for(var t=!1,f;f=r.next();){if(f=="/"&&t){e.tokenize=M;break}t=f=="*"}return w("comment","comment")}function U(r,e){for(var t=!1,f;(f=r.next())!=null;){if(!t&&(f=="`"||f=="$"&&r.eat("{"))){e.tokenize=M;break}t=!t&&f=="\\"}return w("quasi","string-2",r.current())}var Qr="([{}])";function sr(r,e){e.fatArrowAt&&(e.fatArrowAt=null);var t=r.string.indexOf("=>",r.start);if(!(t<0)){if(p){var f=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(r.string.slice(r.start,t));f&&(t=f.index)}for(var u=0,l=!1,m=t-1;m>=0;--m){var g=r.string.charAt(m),T=Qr.indexOf(g);if(T>=0&&T<3){if(!u){++m;break}if(--u==0){g=="("&&(l=!0);break}}else if(T>=3&&T<6)++u;else if(C.test(g))l=!0;else if(/["'\/`]/.test(g))for(;;--m){if(m==0)return;var we=r.string.charAt(m-1);if(we==g&&r.string.charAt(m-2)!="\\"){m--;break}}else if(l&&!u){++m;break}}l&&!u&&(e.fatArrowAt=m)}}var Rr={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function jr(r,e,t,f,u,l){this.indented=r,this.column=e,this.type=t,this.prev=u,this.info=l,f!=null&&(this.align=f)}function Ur(r,e){if(!vr)return!1;for(var t=r.localVars;t;t=t.next)if(t.name==e)return!0;for(var f=r.context;f;f=f.prev)for(var t=f.vars;t;t=t.next)if(t.name==e)return!0}function Er(r,e,t,f,u){var l=r.cc;for(i.state=r,i.stream=u,i.marked=null,i.cc=l,i.style=e,r.lexical.hasOwnProperty("align")||(r.lexical.align=!0);;){var m=l.length?l.pop():z?k:h;if(m(t,f)){for(;l.length&&l[l.length-1].lex;)l.pop()();return i.marked?i.marked:t=="variable"&&Ur(r,f)?"variable-2":e}}}var i={state:null,column:null,marked:null,cc:null};function o(){for(var r=arguments.length-1;r>=0;r--)i.cc.push(arguments[r])}function n(){return o.apply(null,arguments),!0}function cr(r,e){for(var t=e;t;t=t.next)if(t.name==r)return!0;return!1}function B(r){var e=i.state;if(i.marked="def",!!vr){if(e.context){if(e.lexical.info=="var"&&e.context&&e.context.block){var t=Tr(r,e.context);if(t!=null){e.context=t;return}}else if(!cr(r,e.localVars)){e.localVars=new K(r,e.localVars);return}}v.globalVars&&!cr(r,e.globalVars)&&(e.globalVars=new K(r,e.globalVars))}}function Tr(r,e){if(e)if(e.block){var t=Tr(r,e.prev);return t?t==e.prev?e:new W(t,e.vars,!0):null}else return cr(r,e.vars)?e:new W(e.prev,new K(r,e.vars),!1);else return null}function nr(r){return r=="public"||r=="private"||r=="protected"||r=="abstract"||r=="readonly"}function W(r,e,t){this.prev=r,this.vars=e,this.block=t}function K(r,e){this.name=r,this.next=e}var Wr=new K("this",new K("arguments",null));function P(){i.state.context=new W(i.state.context,i.state.localVars,!1),i.state.localVars=Wr}function lr(){i.state.context=new W(i.state.context,i.state.localVars,!0),i.state.localVars=null}function j(){i.state.localVars=i.state.context.vars,i.state.context=i.state.context.prev}j.lex=!0;function s(r,e){var t=function(){var f=i.state,u=f.indented;if(f.lexical.type=="stat")u=f.lexical.indented;else for(var l=f.lexical;l&&l.type==")"&&l.align;l=l.prev)u=l.indented;f.lexical=new jr(u,i.stream.column(),r,null,f.lexical,e)};return t.lex=!0,t}function a(){var r=i.state;r.lexical.prev&&(r.lexical.type==")"&&(r.indented=r.lexical.indented),r.lexical=r.lexical.prev)}a.lex=!0;function c(r){function e(t){return t==r?n():r==";"||t=="}"||t==")"||t=="]"?o():n(e)}return e}function h(r,e){return r=="var"?n(s("vardef",e),br,c(";"),a):r=="keyword a"?n(s("form"),dr,h,a):r=="keyword b"?n(s("form"),h,a):r=="keyword d"?i.stream.match(/^\s*$/,!1)?n():n(s("stat"),F,c(";"),a):r=="debugger"?n(c(";")):r=="{"?n(s("}"),lr,fr,a,j):r==";"?n():r=="if"?(i.state.lexical.info=="else"&&i.state.cc[i.state.cc.length-1]==a&&i.state.cc.pop()(),n(s("form"),dr,h,a,zr)):r=="function"?n(S):r=="for"?n(s("form"),lr,Mr,h,j,a):r=="class"||p&&e=="interface"?(i.marked="keyword",n(s("form",r=="class"?r:e),$r,a)):r=="variable"?p&&e=="declare"?(i.marked="keyword",n(h)):p&&(e=="module"||e=="enum"||e=="type")&&i.stream.match(/^\s*\w/,!1)?(i.marked="keyword",e=="enum"?n(Br):e=="type"?n(Or,c("operator"),d,c(";")):n(s("form"),E,c("{"),s("}"),fr,a,a)):p&&e=="namespace"?(i.marked="keyword",n(s("form"),k,h,a)):p&&e=="abstract"?(i.marked="keyword",n(h)):n(s("stat"),Zr):r=="switch"?n(s("form"),dr,c("{"),s("}","switch"),lr,fr,a,a,j):r=="case"?n(k,c(":")):r=="default"?n(c(":")):r=="catch"?n(s("form"),P,Kr,h,a,j):r=="export"?n(s("stat"),le,a):r=="import"?n(s("stat"),de,a):r=="async"?n(h):e=="@"?n(k,h):o(s("stat"),k,c(";"),a)}function Kr(r){if(r=="(")return n(q,c(")"))}function k(r,e){return Vr(r,e,!1)}function y(r,e){return Vr(r,e,!0)}function dr(r){return r!="("?o():n(s(")"),F,c(")"),a)}function Vr(r,e,t){if(i.state.fatArrowAt==i.stream.start){var f=t?Ir:Ar;if(r=="(")return n(P,s(")"),x(q,")"),a,c("=>"),f,j);if(r=="variable")return o(P,E,c("=>"),f,j)}var u=t?D:O;return Rr.hasOwnProperty(r)?n(u):r=="function"?n(S,u):r=="class"||p&&e=="interface"?(i.marked="keyword",n(s("form"),ce,a)):r=="keyword c"||r=="async"?n(t?y:k):r=="("?n(s(")"),F,c(")"),a,u):r=="operator"||r=="spread"?n(t?y:k):r=="["?n(s("]"),pe,a,u):r=="{"?H(ir,"}",null,u):r=="quasi"?o(tr,u):r=="new"?n(Gr(t)):n()}function F(r){return r.match(/[;\}\)\],]/)?o():o(k)}function O(r,e){return r==","?n(F):D(r,e,!1)}function D(r,e,t){var f=t==!1?O:D,u=t==!1?k:y;if(r=="=>")return n(P,t?Ir:Ar,j);if(r=="operator")return/\+\+|--/.test(e)||p&&e=="!"?n(f):p&&e=="<"&&i.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?n(s(">"),x(d,">"),a,f):e=="?"?n(k,c(":"),u):n(u);if(r=="quasi")return o(tr,f);if(r!=";"){if(r=="(")return H(y,")","call",f);if(r==".")return n(Cr,f);if(r=="[")return n(s("]"),F,c("]"),a,f);if(p&&e=="as")return i.marked="keyword",n(d,f);if(r=="regexp")return i.state.lastType=i.marked="operator",i.stream.backUp(i.stream.pos-i.stream.start-1),n(u)}}function tr(r,e){return r!="quasi"?o():e.slice(e.length-2)!="${"?n(tr):n(F,Hr)}function Hr(r){if(r=="}")return i.marked="string-2",i.state.tokenize=U,n(tr)}function Ar(r){return sr(i.stream,i.state),o(r=="{"?h:k)}function Ir(r){return sr(i.stream,i.state),o(r=="{"?h:y)}function Gr(r){return function(e){return e=="."?n(r?Yr:Xr):e=="variable"&&p?n(fe,r?D:O):o(r?y:k)}}function Xr(r,e){if(e=="target")return i.marked="keyword",n(O)}function Yr(r,e){if(e=="target")return i.marked="keyword",n(D)}function Zr(r){return r==":"?n(a,h):o(O,c(";"),a)}function Cr(r){if(r=="variable")return i.marked="property",n()}function ir(r,e){if(r=="async")return i.marked="property",n(ir);if(r=="variable"||i.style=="keyword"){if(i.marked="property",e=="get"||e=="set")return n(re);var t;return p&&i.state.fatArrowAt==i.stream.start&&(t=i.stream.match(/^\s*:\s*/,!1))&&(i.state.fatArrowAt=i.stream.pos+t[0].length),n($)}else{if(r=="number"||r=="string")return i.marked=Z?"property":i.style+" property",n($);if(r=="jsonld-keyword")return n($);if(p&&nr(e))return i.marked="keyword",n(ir);if(r=="[")return n(k,J,c("]"),$);if(r=="spread")return n(y,$);if(e=="*")return i.marked="keyword",n(ir);if(r==":")return o($)}}function re(r){return r!="variable"?o($):(i.marked="property",n(S))}function $(r){if(r==":")return n(y);if(r=="(")return o(S)}function x(r,e,t){function f(u,l){if(t?t.indexOf(u)>-1:u==","){var m=i.state.lexical;return m.info=="call"&&(m.pos=(m.pos||0)+1),n(function(g,T){return g==e||T==e?o():o(r)},f)}return u==e||l==e?n():t&&t.indexOf(";")>-1?o(r):n(c(e))}return function(u,l){return u==e||l==e?n():o(r,f)}}function H(r,e,t){for(var f=3;f<arguments.length;f++)i.cc.push(arguments[f]);return n(s(e,t),x(r,e),a)}function fr(r){return r=="}"?n():o(h,fr)}function J(r,e){if(p){if(r==":")return n(d);if(e=="?")return n(J)}}function ee(r,e){if(p&&(r==":"||e=="in"))return n(d)}function Sr(r){if(p&&r==":")return i.stream.match(/^\s*\w+\s+is\b/,!1)?n(k,ne,d):n(d)}function ne(r,e){if(e=="is")return i.marked="keyword",n()}function d(r,e){if(e=="keyof"||e=="typeof"||e=="infer"||e=="readonly")return i.marked="keyword",n(e=="typeof"?y:d);if(r=="variable"||e=="void")return i.marked="type",n(V);if(e=="|"||e=="&")return n(d);if(r=="string"||r=="number"||r=="atom")return n(V);if(r=="[")return n(s("]"),x(d,"]",","),a,V);if(r=="{")return n(s("}"),mr,a,V);if(r=="(")return n(x(kr,")"),te,V);if(r=="<")return n(x(d,">"),d);if(r=="quasi")return o(pr,V)}function te(r){if(r=="=>")return n(d)}function mr(r){return r.match(/[\}\)\]]/)?n():r==","||r==";"?n(mr):o(G,mr)}function G(r,e){if(r=="variable"||i.style=="keyword")return i.marked="property",n(G);if(e=="?"||r=="number"||r=="string")return n(G);if(r==":")return n(d);if(r=="[")return n(c("variable"),ee,c("]"),G);if(r=="(")return o(Q,G);if(!r.match(/[;\}\)\],]/))return n()}function pr(r,e){return r!="quasi"?o():e.slice(e.length-2)!="${"?n(pr):n(d,ie)}function ie(r){if(r=="}")return i.marked="string-2",i.state.tokenize=U,n(pr)}function kr(r,e){return r=="variable"&&i.stream.match(/^\s*[?:]/,!1)||e=="?"?n(kr):r==":"?n(d):r=="spread"?n(kr):o(d)}function V(r,e){if(e=="<")return n(s(">"),x(d,">"),a,V);if(e=="|"||r=="."||e=="&")return n(d);if(r=="[")return n(d,c("]"),V);if(e=="extends"||e=="implements")return i.marked="keyword",n(d);if(e=="?")return n(d,c(":"),d)}function fe(r,e){if(e=="<")return n(s(">"),x(d,">"),a,V)}function ar(){return o(d,ae)}function ae(r,e){if(e=="=")return n(d)}function br(r,e){return e=="enum"?(i.marked="keyword",n(Br)):o(E,J,I,oe)}function E(r,e){if(p&&nr(e))return i.marked="keyword",n(E);if(r=="variable")return B(e),n();if(r=="spread")return n(E);if(r=="[")return H(ue,"]");if(r=="{")return H(_r,"}")}function _r(r,e){return r=="variable"&&!i.stream.match(/^\s*:/,!1)?(B(e),n(I)):(r=="variable"&&(i.marked="property"),r=="spread"?n(E):r=="}"?o():r=="["?n(k,c("]"),c(":"),_r):n(c(":"),E,I))}function ue(){return o(E,I)}function I(r,e){if(e=="=")return n(y)}function oe(r){if(r==",")return n(br)}function zr(r,e){if(r=="keyword b"&&e=="else")return n(s("form","else"),h,a)}function Mr(r,e){if(e=="await")return n(Mr);if(r=="(")return n(s(")"),se,a)}function se(r){return r=="var"?n(br,L):r=="variable"?n(L):o(L)}function L(r,e){return r==")"?n():r==";"?n(L):e=="in"||e=="of"?(i.marked="keyword",n(k,L)):o(k,L)}function S(r,e){if(e=="*")return i.marked="keyword",n(S);if(r=="variable")return B(e),n(S);if(r=="(")return n(P,s(")"),x(q,")"),a,Sr,h,j);if(p&&e=="<")return n(s(">"),x(ar,">"),a,S)}function Q(r,e){if(e=="*")return i.marked="keyword",n(Q);if(r=="variable")return B(e),n(Q);if(r=="(")return n(P,s(")"),x(q,")"),a,Sr,j);if(p&&e=="<")return n(s(">"),x(ar,">"),a,Q)}function Or(r,e){if(r=="keyword"||r=="variable")return i.marked="type",n(Or);if(e=="<")return n(s(">"),x(ar,">"),a)}function q(r,e){return e=="@"&&n(k,q),r=="spread"?n(q):p&&nr(e)?(i.marked="keyword",n(q)):p&&r=="this"?n(J,I):o(E,J,I)}function ce(r,e){return r=="variable"?$r(r,e):ur(r,e)}function $r(r,e){if(r=="variable")return B(e),n(ur)}function ur(r,e){if(e=="<")return n(s(">"),x(ar,">"),a,ur);if(e=="extends"||e=="implements"||p&&r==",")return e=="implements"&&(i.marked="keyword"),n(p?d:k,ur);if(r=="{")return n(s("}"),A,a)}function A(r,e){if(r=="async"||r=="variable"&&(e=="static"||e=="get"||e=="set"||p&&nr(e))&&i.stream.match(/^\s+[\w$\xa1-\uffff]/,!1))return i.marked="keyword",n(A);if(r=="variable"||i.style=="keyword")return i.marked="property",n(X,A);if(r=="number"||r=="string")return n(X,A);if(r=="[")return n(k,J,c("]"),X,A);if(e=="*")return i.marked="keyword",n(A);if(p&&r=="(")return o(Q,A);if(r==";"||r==",")return n(A);if(r=="}")return n();if(e=="@")return n(k,A)}function X(r,e){if(e=="!"||e=="?")return n(X);if(r==":")return n(d,I);if(e=="=")return n(y);var t=i.state.lexical.prev,f=t&&t.info=="interface";return o(f?Q:S)}function le(r,e){return e=="*"?(i.marked="keyword",n(wr,c(";"))):e=="default"?(i.marked="keyword",n(k,c(";"))):r=="{"?n(x(qr,"}"),wr,c(";")):o(h)}function qr(r,e){if(e=="as")return i.marked="keyword",n(c("variable"));if(r=="variable")return o(y,qr)}function de(r){return r=="string"?n():r=="("?o(k):r=="."?o(O):o(or,Nr,wr)}function or(r,e){return r=="{"?H(or,"}"):(r=="variable"&&B(e),e=="*"&&(i.marked="keyword"),n(me))}function Nr(r){if(r==",")return n(or,Nr)}function me(r,e){if(e=="as")return i.marked="keyword",n(or)}function wr(r,e){if(e=="from")return i.marked="keyword",n(k)}function pe(r){return r=="]"?n():o(x(y,"]"))}function Br(){return o(s("form"),E,c("{"),s("}"),x(ke,"}"),a,a)}function ke(){return o(E,I)}function be(r,e){return r.lastType=="operator"||r.lastType==","||yr.test(e.charAt(0))||/[,.]/.test(e.charAt(0))}function Pr(r,e,t){return e.tokenize==M&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(e.lastType)||e.lastType=="quasi"&&/\{\s*$/.test(r.string.slice(0,r.pos-(t||0)))}return{startState:function(r){var e={tokenize:M,lastType:"sof",cc:[],lexical:new jr((r||0)-N,0,"block",!1),localVars:v.localVars,context:v.localVars&&new W(null,null,!1),indented:r||0};return v.globalVars&&typeof v.globalVars=="object"&&(e.globalVars=v.globalVars),e},token:function(r,e){if(r.sol()&&(e.lexical.hasOwnProperty("align")||(e.lexical.align=!1),e.indented=r.indentation(),sr(r,e)),e.tokenize!=er&&r.eatSpace())return null;var t=e.tokenize(r,e);return R=="comment"?t:(e.lastType=R=="operator"&&(rr=="++"||rr=="--")?"incdec":R,Er(e,t,R,rr,r))},indent:function(r,e){if(r.tokenize==er||r.tokenize==U)return b.Pass;if(r.tokenize!=M)return 0;var t=e&&e.charAt(0),f=r.lexical,u;if(!/^\s*else\b/.test(e))for(var l=r.cc.length-1;l>=0;--l){var m=r.cc[l];if(m==a)f=f.prev;else if(m!=zr&&m!=j)break}for(;(f.type=="stat"||f.type=="form")&&(t=="}"||(u=r.cc[r.cc.length-1])&&(u==O||u==D)&&!/^[,\.=+\-*:?[\(]/.test(e));)f=f.prev;xr&&f.type==")"&&f.prev.type=="stat"&&(f=f.prev);var g=f.type,T=t==g;return g=="vardef"?f.indented+(r.lastType=="operator"||r.lastType==","?f.info.length+1:0):g=="form"&&t=="{"?f.indented:g=="form"?f.indented+N:g=="stat"?f.indented+(be(r,e)?xr||N:0):f.info=="switch"&&!T&&v.doubleIndentSwitch!=!1?f.indented+(/^(?:case|default)\b/.test(e)?N:2*N):f.align?f.column+(T?0:1):f.indented+(T?0:N)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:z?null:"/*",blockCommentEnd:z?null:"*/",blockCommentContinue:z?null:" * ",lineComment:z?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:z?"json":"javascript",jsonldMode:Z,jsonMode:z,expressionAllowed:Pr,skipExpression:function(r){Er(r,"atom","atom","true",new b.StringStream("",2,null))}}}),b.registerHelper("wordChars","javascript",/[\w$]/),b.defineMIME("text/javascript","javascript"),b.defineMIME("text/ecmascript","javascript"),b.defineMIME("application/javascript","javascript"),b.defineMIME("application/x-javascript","javascript"),b.defineMIME("application/ecmascript","javascript"),b.defineMIME("application/json",{name:"javascript",json:!0}),b.defineMIME("application/x-json",{name:"javascript",json:!0}),b.defineMIME("application/manifest+json",{name:"javascript",json:!0}),b.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),b.defineMIME("text/typescript",{name:"javascript",typescript:!0}),b.defineMIME("application/typescript",{name:"javascript",typescript:!0})})})();var ve=Fr.exports,ye=Object.freeze(xe({__proto__:null,[Symbol.toStringTag]:"Module",default:ve},[Fr.exports]));export{Fr as a,ye as j};
1
+ import{bE as he}from"./vendor.a626ab9c.js";function xe(Y,hr){return hr.forEach(function(b){Object.keys(b).forEach(function(A){if(A!=="default"&&!(A in Y)){var v=Object.getOwnPropertyDescriptor(b,A);Object.defineProperty(Y,A,v.get?v:{enumerable:!0,get:function(){return b[A]}})}})}),Object.freeze(Y)}var Fr={exports:{}};(function(Y,hr){(function(b){b(he.exports)})(function(b){b.defineMode("javascript",function(A,v){var N=A.indentUnit,xr=v.statementIndent,Z=v.jsonld,z=v.json||Z,vr=v.trackScope!==!1,p=v.typescript,C=v.wordCharacters||/[\w$\xa1-\uffff]/,gr=function(){function r(g){return{type:g,style:"keyword"}}var e=r("keyword a"),t=r("keyword b"),f=r("keyword c"),u=r("keyword d"),l=r("operator"),m={type:"atom",style:"atom"};return{if:r("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:u,break:u,continue:u,new:r("new"),delete:f,void:f,throw:f,debugger:r("debugger"),var:r("var"),const:r("var"),let:r("var"),function:r("function"),catch:r("catch"),for:r("for"),switch:r("switch"),case:r("case"),default:r("default"),in:l,typeof:l,instanceof:l,true:m,false:m,null:m,undefined:m,NaN:m,Infinity:m,this:r("this"),class:r("class"),super:r("atom"),yield:f,export:r("export"),import:r("import"),extends:f,await:f}}(),yr=/[+\-*&%=<>!?|~^@]/,Dr=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function Jr(r){for(var e=!1,t,f=!1;(t=r.next())!=null;){if(!e){if(t=="/"&&!f)return;t=="["?f=!0:f&&t=="]"&&(f=!1)}e=!e&&t=="\\"}}var R,rr;function w(r,e,t){return R=r,rr=t,e}function M(r,e){var t=r.next();if(t=='"'||t=="'")return e.tokenize=Lr(t),e.tokenize(r,e);if(t=="."&&r.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return w("number","number");if(t=="."&&r.match(".."))return w("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(t))return w(t);if(t=="="&&r.eat(">"))return w("=>","operator");if(t=="0"&&r.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return w("number","number");if(/\d/.test(t))return r.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),w("number","number");if(t=="/")return r.eat("*")?(e.tokenize=er,er(r,e)):r.eat("/")?(r.skipToEnd(),w("comment","comment")):Pr(r,e,1)?(Jr(r),r.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),w("regexp","string-2")):(r.eat("="),w("operator","operator",r.current()));if(t=="`")return e.tokenize=U,U(r,e);if(t=="#"&&r.peek()=="!")return r.skipToEnd(),w("meta","meta");if(t=="#"&&r.eatWhile(C))return w("variable","property");if(t=="<"&&r.match("!--")||t=="-"&&r.match("->")&&!/\S/.test(r.string.slice(0,r.start)))return r.skipToEnd(),w("comment","comment");if(yr.test(t))return(t!=">"||!e.lexical||e.lexical.type!=">")&&(r.eat("=")?(t=="!"||t=="=")&&r.eat("="):/[<>*+\-|&?]/.test(t)&&(r.eat(t),t==">"&&r.eat(t))),t=="?"&&r.eat(".")?w("."):w("operator","operator",r.current());if(C.test(t)){r.eatWhile(C);var f=r.current();if(e.lastType!="."){if(gr.propertyIsEnumerable(f)){var u=gr[f];return w(u.type,u.style,f)}if(f=="async"&&r.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return w("async","keyword",f)}return w("variable","variable",f)}}function Lr(r){return function(e,t){var f=!1,u;if(Z&&e.peek()=="@"&&e.match(Dr))return t.tokenize=M,w("jsonld-keyword","meta");for(;(u=e.next())!=null&&!(u==r&&!f);)f=!f&&u=="\\";return f||(t.tokenize=M),w("string","string")}}function er(r,e){for(var t=!1,f;f=r.next();){if(f=="/"&&t){e.tokenize=M;break}t=f=="*"}return w("comment","comment")}function U(r,e){for(var t=!1,f;(f=r.next())!=null;){if(!t&&(f=="`"||f=="$"&&r.eat("{"))){e.tokenize=M;break}t=!t&&f=="\\"}return w("quasi","string-2",r.current())}var Qr="([{}])";function sr(r,e){e.fatArrowAt&&(e.fatArrowAt=null);var t=r.string.indexOf("=>",r.start);if(!(t<0)){if(p){var f=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(r.string.slice(r.start,t));f&&(t=f.index)}for(var u=0,l=!1,m=t-1;m>=0;--m){var g=r.string.charAt(m),T=Qr.indexOf(g);if(T>=0&&T<3){if(!u){++m;break}if(--u==0){g=="("&&(l=!0);break}}else if(T>=3&&T<6)++u;else if(C.test(g))l=!0;else if(/["'\/`]/.test(g))for(;;--m){if(m==0)return;var we=r.string.charAt(m-1);if(we==g&&r.string.charAt(m-2)!="\\"){m--;break}}else if(l&&!u){++m;break}}l&&!u&&(e.fatArrowAt=m)}}var Rr={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function jr(r,e,t,f,u,l){this.indented=r,this.column=e,this.type=t,this.prev=u,this.info=l,f!=null&&(this.align=f)}function Ur(r,e){if(!vr)return!1;for(var t=r.localVars;t;t=t.next)if(t.name==e)return!0;for(var f=r.context;f;f=f.prev)for(var t=f.vars;t;t=t.next)if(t.name==e)return!0}function Er(r,e,t,f,u){var l=r.cc;for(i.state=r,i.stream=u,i.marked=null,i.cc=l,i.style=e,r.lexical.hasOwnProperty("align")||(r.lexical.align=!0);;){var m=l.length?l.pop():z?k:h;if(m(t,f)){for(;l.length&&l[l.length-1].lex;)l.pop()();return i.marked?i.marked:t=="variable"&&Ur(r,f)?"variable-2":e}}}var i={state:null,column:null,marked:null,cc:null};function o(){for(var r=arguments.length-1;r>=0;r--)i.cc.push(arguments[r])}function n(){return o.apply(null,arguments),!0}function cr(r,e){for(var t=e;t;t=t.next)if(t.name==r)return!0;return!1}function B(r){var e=i.state;if(i.marked="def",!!vr){if(e.context){if(e.lexical.info=="var"&&e.context&&e.context.block){var t=Tr(r,e.context);if(t!=null){e.context=t;return}}else if(!cr(r,e.localVars)){e.localVars=new K(r,e.localVars);return}}v.globalVars&&!cr(r,e.globalVars)&&(e.globalVars=new K(r,e.globalVars))}}function Tr(r,e){if(e)if(e.block){var t=Tr(r,e.prev);return t?t==e.prev?e:new W(t,e.vars,!0):null}else return cr(r,e.vars)?e:new W(e.prev,new K(r,e.vars),!1);else return null}function nr(r){return r=="public"||r=="private"||r=="protected"||r=="abstract"||r=="readonly"}function W(r,e,t){this.prev=r,this.vars=e,this.block=t}function K(r,e){this.name=r,this.next=e}var Wr=new K("this",new K("arguments",null));function P(){i.state.context=new W(i.state.context,i.state.localVars,!1),i.state.localVars=Wr}function lr(){i.state.context=new W(i.state.context,i.state.localVars,!0),i.state.localVars=null}function j(){i.state.localVars=i.state.context.vars,i.state.context=i.state.context.prev}j.lex=!0;function s(r,e){var t=function(){var f=i.state,u=f.indented;if(f.lexical.type=="stat")u=f.lexical.indented;else for(var l=f.lexical;l&&l.type==")"&&l.align;l=l.prev)u=l.indented;f.lexical=new jr(u,i.stream.column(),r,null,f.lexical,e)};return t.lex=!0,t}function a(){var r=i.state;r.lexical.prev&&(r.lexical.type==")"&&(r.indented=r.lexical.indented),r.lexical=r.lexical.prev)}a.lex=!0;function c(r){function e(t){return t==r?n():r==";"||t=="}"||t==")"||t=="]"?o():n(e)}return e}function h(r,e){return r=="var"?n(s("vardef",e),br,c(";"),a):r=="keyword a"?n(s("form"),dr,h,a):r=="keyword b"?n(s("form"),h,a):r=="keyword d"?i.stream.match(/^\s*$/,!1)?n():n(s("stat"),F,c(";"),a):r=="debugger"?n(c(";")):r=="{"?n(s("}"),lr,fr,a,j):r==";"?n():r=="if"?(i.state.lexical.info=="else"&&i.state.cc[i.state.cc.length-1]==a&&i.state.cc.pop()(),n(s("form"),dr,h,a,zr)):r=="function"?n(_):r=="for"?n(s("form"),lr,Mr,h,j,a):r=="class"||p&&e=="interface"?(i.marked="keyword",n(s("form",r=="class"?r:e),$r,a)):r=="variable"?p&&e=="declare"?(i.marked="keyword",n(h)):p&&(e=="module"||e=="enum"||e=="type")&&i.stream.match(/^\s*\w/,!1)?(i.marked="keyword",e=="enum"?n(Br):e=="type"?n(Or,c("operator"),d,c(";")):n(s("form"),E,c("{"),s("}"),fr,a,a)):p&&e=="namespace"?(i.marked="keyword",n(s("form"),k,h,a)):p&&e=="abstract"?(i.marked="keyword",n(h)):n(s("stat"),Zr):r=="switch"?n(s("form"),dr,c("{"),s("}","switch"),lr,fr,a,a,j):r=="case"?n(k,c(":")):r=="default"?n(c(":")):r=="catch"?n(s("form"),P,Kr,h,a,j):r=="export"?n(s("stat"),le,a):r=="import"?n(s("stat"),de,a):r=="async"?n(h):e=="@"?n(k,h):o(s("stat"),k,c(";"),a)}function Kr(r){if(r=="(")return n(q,c(")"))}function k(r,e){return Vr(r,e,!1)}function y(r,e){return Vr(r,e,!0)}function dr(r){return r!="("?o():n(s(")"),F,c(")"),a)}function Vr(r,e,t){if(i.state.fatArrowAt==i.stream.start){var f=t?Sr:Ir;if(r=="(")return n(P,s(")"),x(q,")"),a,c("=>"),f,j);if(r=="variable")return o(P,E,c("=>"),f,j)}var u=t?D:O;return Rr.hasOwnProperty(r)?n(u):r=="function"?n(_,u):r=="class"||p&&e=="interface"?(i.marked="keyword",n(s("form"),ce,a)):r=="keyword c"||r=="async"?n(t?y:k):r=="("?n(s(")"),F,c(")"),a,u):r=="operator"||r=="spread"?n(t?y:k):r=="["?n(s("]"),pe,a,u):r=="{"?H(ir,"}",null,u):r=="quasi"?o(tr,u):r=="new"?n(Gr(t)):n()}function F(r){return r.match(/[;\}\)\],]/)?o():o(k)}function O(r,e){return r==","?n(F):D(r,e,!1)}function D(r,e,t){var f=t==!1?O:D,u=t==!1?k:y;if(r=="=>")return n(P,t?Sr:Ir,j);if(r=="operator")return/\+\+|--/.test(e)||p&&e=="!"?n(f):p&&e=="<"&&i.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?n(s(">"),x(d,">"),a,f):e=="?"?n(k,c(":"),u):n(u);if(r=="quasi")return o(tr,f);if(r!=";"){if(r=="(")return H(y,")","call",f);if(r==".")return n(Cr,f);if(r=="[")return n(s("]"),F,c("]"),a,f);if(p&&e=="as")return i.marked="keyword",n(d,f);if(r=="regexp")return i.state.lastType=i.marked="operator",i.stream.backUp(i.stream.pos-i.stream.start-1),n(u)}}function tr(r,e){return r!="quasi"?o():e.slice(e.length-2)!="${"?n(tr):n(F,Hr)}function Hr(r){if(r=="}")return i.marked="string-2",i.state.tokenize=U,n(tr)}function Ir(r){return sr(i.stream,i.state),o(r=="{"?h:k)}function Sr(r){return sr(i.stream,i.state),o(r=="{"?h:y)}function Gr(r){return function(e){return e=="."?n(r?Yr:Xr):e=="variable"&&p?n(fe,r?D:O):o(r?y:k)}}function Xr(r,e){if(e=="target")return i.marked="keyword",n(O)}function Yr(r,e){if(e=="target")return i.marked="keyword",n(D)}function Zr(r){return r==":"?n(a,h):o(O,c(";"),a)}function Cr(r){if(r=="variable")return i.marked="property",n()}function ir(r,e){if(r=="async")return i.marked="property",n(ir);if(r=="variable"||i.style=="keyword"){if(i.marked="property",e=="get"||e=="set")return n(re);var t;return p&&i.state.fatArrowAt==i.stream.start&&(t=i.stream.match(/^\s*:\s*/,!1))&&(i.state.fatArrowAt=i.stream.pos+t[0].length),n($)}else{if(r=="number"||r=="string")return i.marked=Z?"property":i.style+" property",n($);if(r=="jsonld-keyword")return n($);if(p&&nr(e))return i.marked="keyword",n(ir);if(r=="[")return n(k,J,c("]"),$);if(r=="spread")return n(y,$);if(e=="*")return i.marked="keyword",n(ir);if(r==":")return o($)}}function re(r){return r!="variable"?o($):(i.marked="property",n(_))}function $(r){if(r==":")return n(y);if(r=="(")return o(_)}function x(r,e,t){function f(u,l){if(t?t.indexOf(u)>-1:u==","){var m=i.state.lexical;return m.info=="call"&&(m.pos=(m.pos||0)+1),n(function(g,T){return g==e||T==e?o():o(r)},f)}return u==e||l==e?n():t&&t.indexOf(";")>-1?o(r):n(c(e))}return function(u,l){return u==e||l==e?n():o(r,f)}}function H(r,e,t){for(var f=3;f<arguments.length;f++)i.cc.push(arguments[f]);return n(s(e,t),x(r,e),a)}function fr(r){return r=="}"?n():o(h,fr)}function J(r,e){if(p){if(r==":")return n(d);if(e=="?")return n(J)}}function ee(r,e){if(p&&(r==":"||e=="in"))return n(d)}function _r(r){if(p&&r==":")return i.stream.match(/^\s*\w+\s+is\b/,!1)?n(k,ne,d):n(d)}function ne(r,e){if(e=="is")return i.marked="keyword",n()}function d(r,e){if(e=="keyof"||e=="typeof"||e=="infer"||e=="readonly")return i.marked="keyword",n(e=="typeof"?y:d);if(r=="variable"||e=="void")return i.marked="type",n(V);if(e=="|"||e=="&")return n(d);if(r=="string"||r=="number"||r=="atom")return n(V);if(r=="[")return n(s("]"),x(d,"]",","),a,V);if(r=="{")return n(s("}"),mr,a,V);if(r=="(")return n(x(kr,")"),te,V);if(r=="<")return n(x(d,">"),d);if(r=="quasi")return o(pr,V)}function te(r){if(r=="=>")return n(d)}function mr(r){return r.match(/[\}\)\]]/)?n():r==","||r==";"?n(mr):o(G,mr)}function G(r,e){if(r=="variable"||i.style=="keyword")return i.marked="property",n(G);if(e=="?"||r=="number"||r=="string")return n(G);if(r==":")return n(d);if(r=="[")return n(c("variable"),ee,c("]"),G);if(r=="(")return o(Q,G);if(!r.match(/[;\}\)\],]/))return n()}function pr(r,e){return r!="quasi"?o():e.slice(e.length-2)!="${"?n(pr):n(d,ie)}function ie(r){if(r=="}")return i.marked="string-2",i.state.tokenize=U,n(pr)}function kr(r,e){return r=="variable"&&i.stream.match(/^\s*[?:]/,!1)||e=="?"?n(kr):r==":"?n(d):r=="spread"?n(kr):o(d)}function V(r,e){if(e=="<")return n(s(">"),x(d,">"),a,V);if(e=="|"||r=="."||e=="&")return n(d);if(r=="[")return n(d,c("]"),V);if(e=="extends"||e=="implements")return i.marked="keyword",n(d);if(e=="?")return n(d,c(":"),d)}function fe(r,e){if(e=="<")return n(s(">"),x(d,">"),a,V)}function ar(){return o(d,ae)}function ae(r,e){if(e=="=")return n(d)}function br(r,e){return e=="enum"?(i.marked="keyword",n(Br)):o(E,J,S,oe)}function E(r,e){if(p&&nr(e))return i.marked="keyword",n(E);if(r=="variable")return B(e),n();if(r=="spread")return n(E);if(r=="[")return H(ue,"]");if(r=="{")return H(Ar,"}")}function Ar(r,e){return r=="variable"&&!i.stream.match(/^\s*:/,!1)?(B(e),n(S)):(r=="variable"&&(i.marked="property"),r=="spread"?n(E):r=="}"?o():r=="["?n(k,c("]"),c(":"),Ar):n(c(":"),E,S))}function ue(){return o(E,S)}function S(r,e){if(e=="=")return n(y)}function oe(r){if(r==",")return n(br)}function zr(r,e){if(r=="keyword b"&&e=="else")return n(s("form","else"),h,a)}function Mr(r,e){if(e=="await")return n(Mr);if(r=="(")return n(s(")"),se,a)}function se(r){return r=="var"?n(br,L):r=="variable"?n(L):o(L)}function L(r,e){return r==")"?n():r==";"?n(L):e=="in"||e=="of"?(i.marked="keyword",n(k,L)):o(k,L)}function _(r,e){if(e=="*")return i.marked="keyword",n(_);if(r=="variable")return B(e),n(_);if(r=="(")return n(P,s(")"),x(q,")"),a,_r,h,j);if(p&&e=="<")return n(s(">"),x(ar,">"),a,_)}function Q(r,e){if(e=="*")return i.marked="keyword",n(Q);if(r=="variable")return B(e),n(Q);if(r=="(")return n(P,s(")"),x(q,")"),a,_r,j);if(p&&e=="<")return n(s(">"),x(ar,">"),a,Q)}function Or(r,e){if(r=="keyword"||r=="variable")return i.marked="type",n(Or);if(e=="<")return n(s(">"),x(ar,">"),a)}function q(r,e){return e=="@"&&n(k,q),r=="spread"?n(q):p&&nr(e)?(i.marked="keyword",n(q)):p&&r=="this"?n(J,S):o(E,J,S)}function ce(r,e){return r=="variable"?$r(r,e):ur(r,e)}function $r(r,e){if(r=="variable")return B(e),n(ur)}function ur(r,e){if(e=="<")return n(s(">"),x(ar,">"),a,ur);if(e=="extends"||e=="implements"||p&&r==",")return e=="implements"&&(i.marked="keyword"),n(p?d:k,ur);if(r=="{")return n(s("}"),I,a)}function I(r,e){if(r=="async"||r=="variable"&&(e=="static"||e=="get"||e=="set"||p&&nr(e))&&i.stream.match(/^\s+[\w$\xa1-\uffff]/,!1))return i.marked="keyword",n(I);if(r=="variable"||i.style=="keyword")return i.marked="property",n(X,I);if(r=="number"||r=="string")return n(X,I);if(r=="[")return n(k,J,c("]"),X,I);if(e=="*")return i.marked="keyword",n(I);if(p&&r=="(")return o(Q,I);if(r==";"||r==",")return n(I);if(r=="}")return n();if(e=="@")return n(k,I)}function X(r,e){if(e=="!"||e=="?")return n(X);if(r==":")return n(d,S);if(e=="=")return n(y);var t=i.state.lexical.prev,f=t&&t.info=="interface";return o(f?Q:_)}function le(r,e){return e=="*"?(i.marked="keyword",n(wr,c(";"))):e=="default"?(i.marked="keyword",n(k,c(";"))):r=="{"?n(x(qr,"}"),wr,c(";")):o(h)}function qr(r,e){if(e=="as")return i.marked="keyword",n(c("variable"));if(r=="variable")return o(y,qr)}function de(r){return r=="string"?n():r=="("?o(k):r=="."?o(O):o(or,Nr,wr)}function or(r,e){return r=="{"?H(or,"}"):(r=="variable"&&B(e),e=="*"&&(i.marked="keyword"),n(me))}function Nr(r){if(r==",")return n(or,Nr)}function me(r,e){if(e=="as")return i.marked="keyword",n(or)}function wr(r,e){if(e=="from")return i.marked="keyword",n(k)}function pe(r){return r=="]"?n():o(x(y,"]"))}function Br(){return o(s("form"),E,c("{"),s("}"),x(ke,"}"),a,a)}function ke(){return o(E,S)}function be(r,e){return r.lastType=="operator"||r.lastType==","||yr.test(e.charAt(0))||/[,.]/.test(e.charAt(0))}function Pr(r,e,t){return e.tokenize==M&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(e.lastType)||e.lastType=="quasi"&&/\{\s*$/.test(r.string.slice(0,r.pos-(t||0)))}return{startState:function(r){var e={tokenize:M,lastType:"sof",cc:[],lexical:new jr((r||0)-N,0,"block",!1),localVars:v.localVars,context:v.localVars&&new W(null,null,!1),indented:r||0};return v.globalVars&&typeof v.globalVars=="object"&&(e.globalVars=v.globalVars),e},token:function(r,e){if(r.sol()&&(e.lexical.hasOwnProperty("align")||(e.lexical.align=!1),e.indented=r.indentation(),sr(r,e)),e.tokenize!=er&&r.eatSpace())return null;var t=e.tokenize(r,e);return R=="comment"?t:(e.lastType=R=="operator"&&(rr=="++"||rr=="--")?"incdec":R,Er(e,t,R,rr,r))},indent:function(r,e){if(r.tokenize==er||r.tokenize==U)return b.Pass;if(r.tokenize!=M)return 0;var t=e&&e.charAt(0),f=r.lexical,u;if(!/^\s*else\b/.test(e))for(var l=r.cc.length-1;l>=0;--l){var m=r.cc[l];if(m==a)f=f.prev;else if(m!=zr&&m!=j)break}for(;(f.type=="stat"||f.type=="form")&&(t=="}"||(u=r.cc[r.cc.length-1])&&(u==O||u==D)&&!/^[,\.=+\-*:?[\(]/.test(e));)f=f.prev;xr&&f.type==")"&&f.prev.type=="stat"&&(f=f.prev);var g=f.type,T=t==g;return g=="vardef"?f.indented+(r.lastType=="operator"||r.lastType==","?f.info.length+1:0):g=="form"&&t=="{"?f.indented:g=="form"?f.indented+N:g=="stat"?f.indented+(be(r,e)?xr||N:0):f.info=="switch"&&!T&&v.doubleIndentSwitch!=!1?f.indented+(/^(?:case|default)\b/.test(e)?N:2*N):f.align?f.column+(T?0:1):f.indented+(T?0:N)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:z?null:"/*",blockCommentEnd:z?null:"*/",blockCommentContinue:z?null:" * ",lineComment:z?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:z?"json":"javascript",jsonldMode:Z,jsonMode:z,expressionAllowed:Pr,skipExpression:function(r){Er(r,"atom","atom","true",new b.StringStream("",2,null))}}}),b.registerHelper("wordChars","javascript",/[\w$]/),b.defineMIME("text/javascript","javascript"),b.defineMIME("text/ecmascript","javascript"),b.defineMIME("application/javascript","javascript"),b.defineMIME("application/x-javascript","javascript"),b.defineMIME("application/ecmascript","javascript"),b.defineMIME("application/json",{name:"javascript",json:!0}),b.defineMIME("application/x-json",{name:"javascript",json:!0}),b.defineMIME("application/manifest+json",{name:"javascript",json:!0}),b.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),b.defineMIME("text/typescript",{name:"javascript",typescript:!0}),b.defineMIME("application/typescript",{name:"javascript",typescript:!0})})})();var ve=Fr.exports,ye=Object.freeze(xe({__proto__:null,[Symbol.toStringTag]:"Module",default:ve},[Fr.exports]));export{Fr as a,ye as j};
@@ -1 +1 @@
1
- import{bA as p}from"./vendor.62143b15.js";function b(f,u){return u.forEach(function(o){Object.keys(o).forEach(function(i){if(i!=="default"&&!(i in f)){var l=Object.getOwnPropertyDescriptor(o,i);Object.defineProperty(f,i,l.get?l:{enumerable:!0,get:function(){return o[i]}})}})}),Object.freeze(f)}var a={exports:{}};(function(f,u){(function(o){o(p.exports)})(function(o){o.defineMode("jinja2",function(){var i=["and","as","block","endblock","by","cycle","debug","else","elif","extends","filter","endfilter","firstof","for","endfor","if","endif","ifchanged","endifchanged","ifequal","endifequal","ifnotequal","endifnotequal","in","include","load","not","now","or","parsed","regroup","reversed","spaceless","endspaceless","ssi","templatetag","openblock","closeblock","openvariable","closevariable","openbrace","closebrace","opencomment","closecomment","widthratio","url","with","endwith","get_current_language","trans","endtrans","noop","blocktrans","endblocktrans","get_available_languages","get_current_language_bidi","plural"],l=/^[+\-*&%=<>!?|~^]/,g=/^[:\[\(\{]/,t=["true","false"],c=/^(\d[+\-\*\/])?\d+(\.\d+)?/;i=new RegExp("(("+i.join(")|(")+"))\\b"),t=new RegExp("(("+t.join(")|(")+"))\\b");function d(e,n){var r=e.peek();if(n.incomment)return e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(n.intag){if(n.operator){if(n.operator=!1,e.match(t))return"atom";if(e.match(c))return"number"}if(n.sign){if(n.sign=!1,e.match(t))return"atom";if(e.match(c))return"number"}if(n.instring)return r==n.instring&&(n.instring=!1),e.next(),"string";if(r=="'"||r=='"')return n.instring=r,e.next(),"string";if(e.match(n.intag+"}")||e.eat("-")&&e.match(n.intag+"}"))return n.intag=!1,"tag";if(e.match(l))return n.operator=!0,"operator";if(e.match(g))n.sign=!0;else if(e.eat(" ")||e.sol()){if(e.match(i))return"keyword";if(e.match(t))return"atom";if(e.match(c))return"number";e.sol()&&e.next()}else e.next();return"variable"}else if(e.eat("{")){if(e.eat("#"))return n.incomment=!0,e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(r=e.eat(/\{|%/))return n.intag=r,r=="{"&&(n.intag="}"),e.eat("-"),"tag"}e.next()}return{startState:function(){return{tokenize:d}},token:function(e,n){return n.tokenize(e,n)},blockCommentStart:"{#",blockCommentEnd:"#}"}}),o.defineMIME("text/jinja2","jinja2")})})();var s=a.exports,j=Object.freeze(b({__proto__:null,[Symbol.toStringTag]:"Module",default:s},[a.exports]));export{j};
1
+ import{bE as p}from"./vendor.a626ab9c.js";function b(f,u){return u.forEach(function(o){Object.keys(o).forEach(function(i){if(i!=="default"&&!(i in f)){var l=Object.getOwnPropertyDescriptor(o,i);Object.defineProperty(f,i,l.get?l:{enumerable:!0,get:function(){return o[i]}})}})}),Object.freeze(f)}var a={exports:{}};(function(f,u){(function(o){o(p.exports)})(function(o){o.defineMode("jinja2",function(){var i=["and","as","block","endblock","by","cycle","debug","else","elif","extends","filter","endfilter","firstof","for","endfor","if","endif","ifchanged","endifchanged","ifequal","endifequal","ifnotequal","endifnotequal","in","include","load","not","now","or","parsed","regroup","reversed","spaceless","endspaceless","ssi","templatetag","openblock","closeblock","openvariable","closevariable","openbrace","closebrace","opencomment","closecomment","widthratio","url","with","endwith","get_current_language","trans","endtrans","noop","blocktrans","endblocktrans","get_available_languages","get_current_language_bidi","plural"],l=/^[+\-*&%=<>!?|~^]/,g=/^[:\[\(\{]/,t=["true","false"],c=/^(\d[+\-\*\/])?\d+(\.\d+)?/;i=new RegExp("(("+i.join(")|(")+"))\\b"),t=new RegExp("(("+t.join(")|(")+"))\\b");function d(e,n){var r=e.peek();if(n.incomment)return e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(n.intag){if(n.operator){if(n.operator=!1,e.match(t))return"atom";if(e.match(c))return"number"}if(n.sign){if(n.sign=!1,e.match(t))return"atom";if(e.match(c))return"number"}if(n.instring)return r==n.instring&&(n.instring=!1),e.next(),"string";if(r=="'"||r=='"')return n.instring=r,e.next(),"string";if(e.match(n.intag+"}")||e.eat("-")&&e.match(n.intag+"}"))return n.intag=!1,"tag";if(e.match(l))return n.operator=!0,"operator";if(e.match(g))n.sign=!0;else if(e.eat(" ")||e.sol()){if(e.match(i))return"keyword";if(e.match(t))return"atom";if(e.match(c))return"number";e.sol()&&e.next()}else e.next();return"variable"}else if(e.eat("{")){if(e.eat("#"))return n.incomment=!0,e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(r=e.eat(/\{|%/))return n.intag=r,r=="{"&&(n.intag="}"),e.eat("-"),"tag"}e.next()}return{startState:function(){return{tokenize:d}},token:function(e,n){return n.tokenize(e,n)},blockCommentStart:"{#",blockCommentEnd:"#}"}}),o.defineMIME("text/jinja2","jinja2")})})();var s=a.exports,j=Object.freeze(b({__proto__:null,[Symbol.toStringTag]:"Module",default:s},[a.exports]));export{j};
@@ -1 +1 @@
1
- import{bA as y,bC as w}from"./vendor.62143b15.js";import{a as O}from"./javascript.2f3ede5a.js";function S(l,h){return h.forEach(function(i){Object.keys(i).forEach(function(a){if(a!=="default"&&!(a in l)){var f=Object.getOwnPropertyDescriptor(i,a);Object.defineProperty(l,a,f.get?f:{enumerable:!0,get:function(){return i[a]}})}})}),Object.freeze(l)}var g={exports:{}};(function(l,h){(function(i){i(y.exports,w.exports,O.exports)})(function(i){function a(r,c,s,o){this.state=r,this.mode=c,this.depth=s,this.prev=o}function f(r){return new a(i.copyState(r.mode,r.state),r.mode,r.depth,r.prev&&f(r.prev))}i.defineMode("jsx",function(r,c){var s=i.getMode(r,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),o=i.getMode(r,c&&c.base||"javascript");function j(e){var n=e.tagName;e.tagName=null;var t=s.indent(e,"","");return e.tagName=n,t}function b(e,n){return n.context.mode==s?x(e,n,n.context):k(e,n,n.context)}function x(e,n,t){if(t.depth==2)return e.match(/^.*?\*\//)?t.depth=1:e.skipToEnd(),"comment";if(e.peek()=="{"){s.skipAttribute(t.state);var u=j(t.state),p=t.state.context;if(p&&e.match(/^[^>]*>\s*$/,!1)){for(;p.prev&&!p.startOfLine;)p=p.prev;p.startOfLine?u-=r.indentUnit:t.prev.state.lexical&&(u=t.prev.state.lexical.indented)}else t.depth==1&&(u+=r.indentUnit);return n.context=new a(i.startState(o,u),o,0,n.context),null}if(t.depth==1){if(e.peek()=="<")return s.skipAttribute(t.state),n.context=new a(i.startState(s,j(t.state)),s,0,n.context),null;if(e.match("//"))return e.skipToEnd(),"comment";if(e.match("/*"))return t.depth=2,b(e,n)}var v=s.token(e,t.state),d=e.current(),m;return/\btag\b/.test(v)?/>$/.test(d)?t.state.context?t.depth=0:n.context=n.context.prev:/^</.test(d)&&(t.depth=1):!v&&(m=d.indexOf("{"))>-1&&e.backUp(d.length-m),v}function k(e,n,t){if(e.peek()=="<"&&o.expressionAllowed(e,t.state))return n.context=new a(i.startState(s,o.indent(t.state,"","")),s,0,n.context),o.skipExpression(t.state),null;var u=o.token(e,t.state);if(!u&&t.depth!=null){var p=e.current();p=="{"?t.depth++:p=="}"&&--t.depth==0&&(n.context=n.context.prev)}return u}return{startState:function(){return{context:new a(i.startState(o),o)}},copyState:function(e){return{context:f(e.context)}},token:b,indent:function(e,n,t){return e.context.mode.indent(e.context.state,n,t)},innerMode:function(e){return e.context}}},"xml","javascript"),i.defineMIME("text/jsx","jsx"),i.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}})})})();var T=g.exports,M=Object.freeze(S({__proto__:null,[Symbol.toStringTag]:"Module",default:T},[g.exports]));export{M as j};
1
+ import{bE as y,bG as w}from"./vendor.a626ab9c.js";import{a as O}from"./javascript.76216d0d.js";function S(l,h){return h.forEach(function(i){Object.keys(i).forEach(function(a){if(a!=="default"&&!(a in l)){var f=Object.getOwnPropertyDescriptor(i,a);Object.defineProperty(l,a,f.get?f:{enumerable:!0,get:function(){return i[a]}})}})}),Object.freeze(l)}var g={exports:{}};(function(l,h){(function(i){i(y.exports,w.exports,O.exports)})(function(i){function a(r,c,s,o){this.state=r,this.mode=c,this.depth=s,this.prev=o}function f(r){return new a(i.copyState(r.mode,r.state),r.mode,r.depth,r.prev&&f(r.prev))}i.defineMode("jsx",function(r,c){var s=i.getMode(r,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),o=i.getMode(r,c&&c.base||"javascript");function j(e){var n=e.tagName;e.tagName=null;var t=s.indent(e,"","");return e.tagName=n,t}function b(e,n){return n.context.mode==s?x(e,n,n.context):k(e,n,n.context)}function x(e,n,t){if(t.depth==2)return e.match(/^.*?\*\//)?t.depth=1:e.skipToEnd(),"comment";if(e.peek()=="{"){s.skipAttribute(t.state);var u=j(t.state),p=t.state.context;if(p&&e.match(/^[^>]*>\s*$/,!1)){for(;p.prev&&!p.startOfLine;)p=p.prev;p.startOfLine?u-=r.indentUnit:t.prev.state.lexical&&(u=t.prev.state.lexical.indented)}else t.depth==1&&(u+=r.indentUnit);return n.context=new a(i.startState(o,u),o,0,n.context),null}if(t.depth==1){if(e.peek()=="<")return s.skipAttribute(t.state),n.context=new a(i.startState(s,j(t.state)),s,0,n.context),null;if(e.match("//"))return e.skipToEnd(),"comment";if(e.match("/*"))return t.depth=2,b(e,n)}var v=s.token(e,t.state),d=e.current(),m;return/\btag\b/.test(v)?/>$/.test(d)?t.state.context?t.depth=0:n.context=n.context.prev:/^</.test(d)&&(t.depth=1):!v&&(m=d.indexOf("{"))>-1&&e.backUp(d.length-m),v}function k(e,n,t){if(e.peek()=="<"&&o.expressionAllowed(e,t.state))return n.context=new a(i.startState(s,o.indent(t.state,"","")),s,0,n.context),o.skipExpression(t.state),null;var u=o.token(e,t.state);if(!u&&t.depth!=null){var p=e.current();p=="{"?t.depth++:p=="}"&&--t.depth==0&&(n.context=n.context.prev)}return u}return{startState:function(){return{context:new a(i.startState(o),o)}},copyState:function(e){return{context:f(e.context)}},token:b,indent:function(e,n,t){return e.context.mode.indent(e.context.state,n,t)},innerMode:function(e){return e.context}}},"xml","javascript"),i.defineMIME("text/jsx","jsx"),i.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}})})})();var E=g.exports,M=Object.freeze(S({__proto__:null,[Symbol.toStringTag]:"Module",default:E},[g.exports]));export{M as j};