@directus/app 9.16.1 → 9.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{@directus_extensions-sdk.a04f8e82.entry.js → @directus_extensions-sdk.3ef017de.entry.js} +1 -1
- package/dist/assets/{accounts.2e114db8.js → accounts.e4c64fb1.js} +1 -1
- package/dist/assets/{active-line.c78f18d1.js → active-line.1a58c745.js} +1 -1
- package/dist/assets/activity-log.147dd93e.js +1 -0
- package/dist/assets/{activity.5589dea9.js → activity.dd401932.js} +4 -4
- package/dist/assets/{apl.3bd507ca.js → apl.54876b5a.js} +1 -1
- package/dist/assets/{architecture.d16e36b1.js → architecture.aaf5c296.js} +1 -1
- package/dist/assets/{asciiarmor.23cc7d28.js → asciiarmor.cb3baff4.js} +1 -1
- package/dist/assets/{asn.1.914dce71.js → asn.1.d62f0365.js} +1 -1
- package/dist/assets/{asterisk.960196ef.js → asterisk.3b59378d.js} +1 -1
- package/dist/assets/{authentication.ee6465fd.js → authentication.61c42dda.js} +7 -7
- package/dist/assets/{autorefresh.9c9423b3.js → autorefresh.c4183851.js} +1 -1
- package/dist/assets/{aws.8fa603ce.js → aws.55405db9.js} +1 -1
- package/dist/assets/{backing-directus.450274bb.js → backing-directus.bd29d5e2.js} +1 -1
- package/dist/assets/bg-BG.173012de.js +1 -0
- package/dist/assets/{brainfuck.652d067a.js → brainfuck.f4d448f4.js} +1 -1
- package/dist/assets/{cli.495194f0.js → cli.b2fbc62f.js} +4 -4
- package/dist/assets/{cli.f4f23732.js → cli.ca0055cb.js} +2 -2
- package/dist/assets/{clike.d1e347d7.js → clike.e4048935.js} +1 -1
- package/dist/assets/{clojure.0ed660e3.js → clojure.754181ba.js} +1 -1
- package/dist/assets/{cloudron.aa3368a8.js → cloudron.8200e84b.js} +1 -1
- package/dist/assets/{cmake.795b52a3.js → cmake.abb9659c.js} +1 -1
- package/dist/assets/{cobol.dadc6a67.js → cobol.1e66a7c9.js} +1 -1
- package/dist/assets/{codebase-overview.cf29e0f6.js → codebase-overview.7f69e795.js} +1 -1
- package/dist/assets/{coffeescript.ebb229e0.js → coffeescript.020b8eec.js} +1 -1
- package/dist/assets/{collections.7776a374.js → collections.18cc2518.js} +2 -2
- package/dist/assets/{collections.74218877.js → collections.2fa0dd8e.js} +2 -2
- package/dist/assets/{collections.9e3af468.js → collections.b7aafbfb.js} +6 -6
- package/dist/assets/{commonlisp.3ab42a16.js → commonlisp.bea6c921.js} +1 -1
- package/dist/assets/{conditions.1d6c9ac3.js → conditions.281a6ed5.js} +1 -1
- package/dist/assets/{config-options.3845d956.js → config-options.d33aab72.js} +14 -14
- package/dist/assets/{content.84d14f92.js → content.f9b34bf7.js} +1 -1
- package/dist/assets/{creating-extensions.50afb69b.js → creating-extensions.4533b8ed.js} +1 -1
- package/dist/assets/{crystal.efbb1bd7.js → crystal.fd7831f1.js} +1 -1
- package/dist/assets/{css.6fb39c02.js → css.c3f2ba9c.js} +1 -1
- package/dist/assets/{cypher.62403d7d.js → cypher.3812adce.js} +1 -1
- package/dist/assets/{d.3e09de4f.js → d.c23c175b.js} +1 -1
- package/dist/assets/{dart.41841dee.js → dart.ad969d10.js} +1 -1
- package/dist/assets/{data-model.ef4eedaf.js → data-model.dbce1366.js} +7 -7
- package/dist/assets/de-DE.9b0cb798.js +1 -0
- package/dist/assets/{diff.545183ee.js → diff.55fa2e75.js} +1 -1
- package/dist/assets/{digitalocean-app-platform.5dd9a78b.js → digitalocean-app-platform.b046ae55.js} +2 -2
- package/dist/assets/{display-templates.6412d9bf.js → display-templates.91e34e9f.js} +1 -1
- package/dist/assets/display.494b7d1f.js +1 -0
- package/dist/assets/{displays.c3b9934b.js → displays.54ddeb10.js} +3 -3
- package/dist/assets/{django.17509d05.js → django.790045e7.js} +1 -1
- package/dist/assets/{docker.2130afa6.js → docker.36215dae.js} +2 -2
- package/dist/assets/{dockerfile.8e4c8627.js → dockerfile.1f25303f.js} +1 -1
- package/dist/assets/{documentation.e232fdb2.js → documentation.cb5bf843.js} +1 -1
- package/dist/assets/{dtd.c5634f07.js → dtd.6e6a3545.js} +1 -1
- package/dist/assets/{dylan.ed64e93d.js → dylan.b609acb8.js} +1 -1
- package/dist/assets/{ebnf.f0a160c2.js → ebnf.82c75be0.js} +1 -1
- package/dist/assets/{ecl.f410edf0.js → ecl.b0193626.js} +1 -1
- package/dist/assets/{eiffel.fc6fa090.js → eiffel.e22b2ddf.js} +1 -1
- package/dist/assets/{elm.d1f7e66b.js → elm.273a08e2.js} +1 -1
- package/dist/assets/{email-templates.0aa59541.js → email-templates.b0b82036.js} +1 -1
- package/dist/assets/{endpoints.b664ef10.js → endpoints.1ba44e66.js} +1 -1
- package/dist/assets/{erlang.f5c5e431.js → erlang.a39c5f2d.js} +1 -1
- package/dist/assets/es-419.733b82e4.js +1 -0
- package/dist/assets/es-CL.1db5f1f8.js +1 -0
- package/dist/assets/es-ES.62e820db.js +1 -0
- package/dist/assets/es-MX.37c3d88e.js +1 -0
- package/dist/assets/{extensions.e511fc6d.js → extensions.b4c93ce0.js} +2 -2
- package/dist/assets/{factor.fdee7d27.js → factor.abb1d150.js} +1 -1
- package/dist/assets/{faq.cc159e10.js → faq.4ca4b467.js} +1 -1
- package/dist/assets/{fcl.8ef841db.js → fcl.201b4224.js} +1 -1
- package/dist/assets/fi-FI.38180e94.js +1 -0
- package/dist/assets/{field-types.129a2c41.js → field-types.ed85836e.js} +1 -1
- package/dist/assets/{field.3061af3d.js → field.fb2213dd.js} +1 -1
- package/dist/assets/{fields.9e13d3e0.js → fields.057754cf.js} +5 -5
- package/dist/assets/{fields.1a3f05d2.js → fields.f3868bd3.js} +1 -1
- package/dist/assets/{file-library.531c267c.js → file-library.5d646392.js} +1 -1
- package/dist/assets/{files.af2c1a43.js → files.e0ad4209.js} +6 -6
- package/dist/assets/{filter-rules.454352d1.js → filter-rules.22fc9a6d.js} +1 -1
- package/dist/assets/{filters.57f37ec6.js → filters.5cf9b5c5.js} +1 -1
- package/dist/assets/flows.79e56304.js +17 -0
- package/dist/assets/{flows.4d2856ca.js → flows.eec58d0b.js} +5 -5
- package/dist/assets/{folders.10accc4b.js → folders.83d5bb9d.js} +1 -1
- package/dist/assets/{forth.2b2f71e9.js → forth.ef65c814.js} +1 -1
- package/dist/assets/{fortran.eeb26d81.js → fortran.08c1ca68.js} +1 -1
- package/dist/assets/fr-CA.67ca57c5.js +1 -0
- package/dist/assets/fr-FR.ae06065b.js +1 -0
- package/dist/assets/{gas.12f084f2.js → gas.d7413afc.js} +1 -1
- package/dist/assets/{gcp.c7937b1a.js → gcp.60b49ff2.js} +1 -1
- package/dist/assets/{gfm.3b66480c.js → gfm.527c31bf.js} +1 -1
- package/dist/assets/{gherkin.91e46d93.js → gherkin.da237d8e.js} +1 -1
- package/dist/assets/{github-ci.f7ee57b8.js → github-ci.b23bbe2d.js} +2 -2
- package/dist/assets/{glossary.80e53e05.js → glossary.238763c8.js} +1 -1
- package/dist/assets/{glossary.c84cb559.js → glossary.db37b807.js} +1 -1
- package/dist/assets/{go.b86f91ab.js → go.66559a1b.js} +1 -1
- package/dist/assets/{groovy.cd378bb4.js → groovy.dd5aa6ca.js} +1 -1
- package/dist/assets/{haml.a6cabf01.js → haml.c0ef60f2.js} +1 -1
- package/dist/assets/{handlebars.5c6be823.js → handlebars.76b15ded.js} +1 -1
- package/dist/assets/{haskell-literate.c38a1697.js → haskell-literate.8bce8183.js} +1 -1
- package/dist/assets/{haskell.a43190de.js → haskell.4d6cd941.js} +1 -1
- package/dist/assets/{haxe.67ea76a0.js → haxe.561cd86a.js} +1 -1
- package/dist/assets/he-IL.767fa735.js +1 -0
- package/dist/assets/{hooks.d1b00fc1.js → hooks.7b1e235e.js} +4 -4
- package/dist/assets/{htmlembedded.d7fc4ddf.js → htmlembedded.f35c4a09.js} +1 -1
- package/dist/assets/{htmlmixed.42236134.js → htmlmixed.3d063271.js} +1 -1
- package/dist/assets/{http.8876645f.js → http.be1a7f13.js} +1 -1
- package/dist/assets/{idl.1e06cb13.js → idl.961123e9.js} +1 -1
- package/dist/assets/{iis.2b991a80.js → iis.67a83939.js} +1 -1
- package/dist/assets/{import-export.74a08d53.js → import-export.92aee031.js} +1 -1
- package/dist/assets/{index.ab135b59.js → index.0645834a.js} +1 -1
- package/dist/assets/{index.4894f51e.js → index.0d2e59f7.js} +1 -1
- package/dist/assets/{index.15e3c95b.js → index.0eaf700c.js} +1 -1
- package/dist/assets/{index.58ce5d3f.js → index.197b17c1.js} +1 -1
- package/dist/assets/{index.36361e5b.js → index.1a3f31c4.js} +1 -1
- package/dist/assets/{index.e24720c2.js → index.1bbfd138.js} +1 -1
- package/dist/assets/{index.aeca2d25.js → index.1cd3d5ba.js} +1 -1
- package/dist/assets/{index.094d7435.js → index.22f2ba3c.js} +1 -1
- package/dist/assets/{index.b3227ed5.js → index.26419dc6.js} +1 -1
- package/dist/assets/{index.c0a6d945.js → index.27f67d42.js} +1 -1
- package/dist/assets/{index.5e2156f1.js → index.28a0ece3.js} +1 -1
- package/dist/assets/{index.719a1bf6.css → index.29c0adc9.css} +1 -1
- package/dist/assets/{index.43fc16cf.js → index.2e9e634f.js} +1 -1
- package/dist/assets/{index.a157d24b.js → index.322dc6a4.js} +1 -1
- package/dist/assets/{index.970729f9.js → index.32e3af07.js} +1 -1
- package/dist/assets/{index.44dfee18.js → index.34878ac2.js} +1 -1
- package/dist/assets/{index.b91f7cb9.js → index.38794fb2.js} +1 -1
- package/dist/assets/{index.4f3e1405.js → index.3907fbe9.js} +1 -1
- package/dist/assets/{index.8e6a2df6.js → index.39c3868e.js} +1 -1
- package/dist/assets/{index.6b8582b3.js → index.46908e35.js} +1 -1
- package/dist/assets/{index.5785bd5b.js → index.4a4f8949.js} +1 -1
- package/dist/assets/{index.8b727b3d.js → index.4a82f998.js} +1 -1
- package/dist/assets/{index.3dbbeee8.js → index.54ef22f3.js} +1 -1
- package/dist/assets/index.556512f9.js +1 -0
- package/dist/assets/{index.ee33b489.js → index.5713cf94.js} +1 -1
- package/dist/assets/{index.5efaa053.js → index.57954ae2.js} +1 -1
- package/dist/assets/{index.21e15966.js → index.594e4655.js} +1 -1
- package/dist/assets/{index.5bccbb70.js → index.5af46380.js} +1 -1
- package/dist/assets/{index.f45296e2.js → index.5b4bffdb.js} +1 -1
- package/dist/assets/{index.7fe2a6c1.js → index.5b507941.js} +1 -1
- package/dist/assets/{index.b990ffa7.js → index.6120d483.js} +1 -1
- package/dist/assets/{index.1c2bca61.js → index.620380a7.js} +1 -1
- package/dist/assets/{index.4caf473d.js → index.66b6c68b.js} +1 -1
- package/dist/assets/{index.286f3139.js → index.686784f1.js} +1 -1
- package/dist/assets/{index.b4512435.js → index.6c88db6e.js} +1 -1
- package/dist/assets/{index.238d8ccc.js → index.78f834f7.js} +1 -1
- package/dist/assets/{index.ac660d97.js → index.7ce1e572.js} +1 -1
- package/dist/assets/{index.34e50685.js → index.7dfe02f2.js} +1 -1
- package/dist/assets/{index.16102ca4.js → index.7e2708ed.js} +1 -1
- package/dist/assets/{index.ca46607e.js → index.7e4713d2.js} +1 -1
- package/dist/assets/{index.d9e06c0f.js → index.7eae9d5a.js} +1 -1
- package/dist/assets/{index.63beca13.js → index.81aae858.js} +1 -1
- package/dist/assets/{index.fee1fadb.js → index.83e516d5.js} +1 -1
- package/dist/assets/{index.2fa94ca6.js → index.84f0c372.js} +1 -1
- package/dist/assets/{index.8d64a2cc.js → index.86670575.js} +1 -1
- package/dist/assets/{index.ebc5fd3e.js → index.87b80a1b.js} +1 -1
- package/dist/assets/{index.d78b4dd1.js → index.92f081c8.js} +1 -1
- package/dist/assets/{index.86900d0e.js → index.9728d28b.js} +1 -1
- package/dist/assets/{index.ebace2a1.js → index.9ea39797.js} +1 -1
- package/dist/assets/{index.ce459a32.js → index.9f6f893d.js} +1 -1
- package/dist/assets/{index.38ca65a8.js → index.a07c2783.js} +1 -1
- package/dist/assets/{index.3a449212.js → index.a1938c4c.js} +1 -1
- package/dist/assets/{index.d3e27d97.js → index.a1e36825.js} +1 -1
- package/dist/assets/{index.fd19f059.js → index.a4be7bd2.js} +1 -1
- package/dist/assets/{index.048bfcd4.js → index.a4f50556.js} +1 -1
- package/dist/assets/{index.5552d1ba.entry.js → index.a6745321.entry.js} +219 -219
- package/dist/assets/index.a696cf7a.css +1 -0
- package/dist/assets/{index.727f38c4.js → index.a84a7598.js} +1 -1
- package/dist/assets/{index.9a2ded43.js → index.a981939a.js} +1 -1
- package/dist/assets/{index.ffa2a1cd.js → index.ad382721.js} +1 -1
- package/dist/assets/{index.dd5b5aec.js → index.b07b6c71.js} +1 -1
- package/dist/assets/{index.766f9329.js → index.b440ccbe.js} +1 -1
- package/dist/assets/{index.8b83352c.js → index.b4f005cc.js} +1 -1
- package/dist/assets/{index.504c871e.js → index.b7016c72.js} +1 -1
- package/dist/assets/{index.dae019ea.js → index.b73fc9df.js} +1 -1
- package/dist/assets/{index.efb2f918.js → index.b7eac46d.js} +1 -1
- package/dist/assets/{index.65ef9955.js → index.b8bc9ce9.js} +1 -1
- package/dist/assets/{index.6be1ec19.js → index.ba4d69a6.js} +1 -1
- package/dist/assets/{index.7f1515ca.js → index.babc408d.js} +1 -1
- package/dist/assets/{index.a14f652a.js → index.bb9b3d77.js} +1 -1
- package/dist/assets/{index.6ac5a367.js → index.bcef0184.js} +1 -1
- package/dist/assets/{index.558dbe9d.js → index.bf489604.js} +1 -1
- package/dist/assets/{index.73791b0b.js → index.c210d71e.js} +1 -1
- package/dist/assets/{index.6c3cfd9d.js → index.c378895c.js} +1 -1
- package/dist/assets/{index.8b6e1cf5.js → index.c7c5db2b.js} +1 -1
- package/dist/assets/{index.791e9a3d.js → index.d1f370bc.js} +3 -3
- package/dist/assets/{index.909efb92.js → index.d7318062.js} +1 -1
- package/dist/assets/{index.bb39eac1.js → index.db3bc6a7.js} +1 -1
- package/dist/assets/{index.87997092.js → index.e18ed1ac.js} +1 -1
- package/dist/assets/{index.b73eaa87.js → index.e22e6eb6.js} +1 -1
- package/dist/assets/{index.e7e3b4f1.js → index.e3c74acd.js} +1 -1
- package/dist/assets/{index.0152af18.js → index.e5ffe5fd.js} +1 -1
- package/dist/assets/{index.dccdb81c.js → index.ef505888.js} +1 -1
- package/dist/assets/{index.938b9c64.js → index.f32b69c8.js} +1 -1
- package/dist/assets/{index.22cbe4df.js → index.f7c78032.js} +1 -1
- package/dist/assets/{index.937b45e4.js → index.fd0568fe.js} +1 -1
- package/dist/assets/{input-rich-text-html.c3a5d829.js → input-rich-text-html.282b90c3.js} +30 -30
- package/dist/assets/{insights.0f2b188e.js → insights.c3df1bb3.js} +2 -2
- package/dist/assets/{installation.131e828a.js → installation.4ab6ce97.js} +1 -1
- package/dist/assets/{interface.aa4f61a0.js → interface.1195a442.js} +1 -1
- package/dist/assets/{interfaces.fc4c7384.js → interfaces.0dddec2f.js} +1 -1
- package/dist/assets/{introduction.b1da78a4.js → introduction.201b3a46.js} +2 -2
- package/dist/assets/{introduction.0f06a30b.js → introduction.2a49238f.js} +1 -1
- package/dist/assets/{introduction.24acabd2.js → introduction.569a3b41.js} +4 -4
- package/dist/assets/{introduction.e8ce5583.js → introduction.daef5dfe.js} +1 -1
- package/dist/assets/it-IT.1ddbc757.js +1 -0
- package/dist/assets/{items.cc5ed80d.js → items.207153dc.js} +10 -10
- package/dist/assets/{items.b5bb1efd.js → items.cc802753.js} +1 -1
- package/dist/assets/{javascript-hint.6d6f81e5.js → javascript-hint.d349fe4e.js} +1 -1
- package/dist/assets/{javascript.b46feeed.js → javascript.9e388b6a.js} +1 -1
- package/dist/assets/{jinja2.b4f1b6ad.js → jinja2.14046576.js} +1 -1
- package/dist/assets/{jsx.211683b6.js → jsx.3806b5c1.js} +1 -1
- package/dist/assets/{julia.baee0bfc.js → julia.644e2413.js} +1 -1
- package/dist/assets/{layouts.1b59a4c4.js → layouts.39ffa712.js} +1 -1
- package/dist/assets/{layouts.2759613b.js → layouts.6d10b629.js} +3 -3
- package/dist/assets/{livescript.cce15eeb.js → livescript.44370233.js} +1 -1
- package/dist/assets/{localization.854fe2a6.js → localization.6486db5d.js} +1 -1
- package/dist/assets/{lua.2285f263.js → lua.b2bbf8d0.js} +1 -1
- package/dist/assets/{manual.e19c207e.js → manual.edc6cff6.js} +4 -4
- package/dist/assets/{mark-selection.4abbe02e.js → mark-selection.62e88e54.js} +1 -1
- package/dist/assets/{match-highlighter.28d31a20.js → match-highlighter.42dd5ae0.js} +1 -1
- package/dist/assets/{mathematica.326d84f6.js → mathematica.f444d867.js} +1 -1
- package/dist/assets/{mbox.0bf9befe.js → mbox.4555191b.js} +1 -1
- package/dist/assets/{migrations.70984e94.js → migrations.ecdb3334.js} +1 -1
- package/dist/assets/{mirc.6eedfef8.js → mirc.c7058e56.js} +1 -1
- package/dist/assets/{mllike.96a9792b.js → mllike.0772bdf6.js} +1 -1
- package/dist/assets/{modelica.a729f46d.js → modelica.3c6ca1ec.js} +1 -1
- package/dist/assets/{modules.368e658d.js → modules.0dab0325.js} +1 -1
- package/dist/assets/{mscgen.fcbf244c.js → mscgen.0802d4ca.js} +1 -1
- package/dist/assets/{multiplex.e75d927b.js → multiplex.a84ab750.js} +1 -1
- package/dist/assets/{mumps.b063975e.js → mumps.36cf22cb.js} +1 -1
- package/dist/assets/{nginx.486ac0b3.js → nginx.82d6f736.js} +1 -1
- package/dist/assets/{notifications.71793dcb.js → notifications.5b10ad0b.js} +1 -1
- package/dist/assets/{nsis.1f1f7f19.js → nsis.0ef55402.js} +1 -1
- package/dist/assets/{ntriples.23df3a06.js → ntriples.74ea90a6.js} +1 -1
- package/dist/assets/{octave.a7c39dfd.js → octave.df936382.js} +1 -1
- package/dist/assets/{operations.3a53915d.js → operations.296e9710.js} +11 -11
- package/dist/assets/operations.30fc2625.js +1 -0
- package/dist/assets/{operations.687b2da1.js → operations.c5ee7367.js} +3 -3
- package/dist/assets/{overlay.25718331.js → overlay.1ea7740c.js} +1 -1
- package/dist/assets/{overview.2aef2737.js → overview.211898b7.js} +1 -1
- package/dist/assets/{overview.77c84906.js → overview.91ec2552.js} +1 -1
- package/dist/assets/{overview.42c9bc71.js → overview.eb55d14f.js} +1 -1
- package/dist/assets/{oz.50920854.js → oz.83930d1a.js} +1 -1
- package/dist/assets/{panels.1c9e59a5.js → panels.9b48e2ab.js} +3 -3
- package/dist/assets/{pascal.254524bf.js → pascal.3bcd9be2.js} +1 -1
- package/dist/assets/{pegjs.109b328f.js → pegjs.a13f9ba3.js} +1 -1
- package/dist/assets/{perl.a6a13b0b.js → perl.ff0d453b.js} +1 -1
- package/dist/assets/{permissions.7c6e7d90.js → permissions.66ecdced.js} +7 -7
- package/dist/assets/{php.ffc2eaca.js → php.d0378b2e.js} +1 -1
- package/dist/assets/{pig.5098455f.js → pig.b09085f8.js} +1 -1
- package/dist/assets/{pinia.b8e2dbe3.entry.js → pinia.ee5b7a45.entry.js} +2 -2
- package/dist/assets/pl-PL.ce204e00.js +1 -0
- package/dist/assets/{plesk.09c47961.js → plesk.0a2c4855.js} +5 -5
- package/dist/assets/{powershell.1a2fb8e0.js → powershell.3c83684c.js} +1 -1
- package/dist/assets/presets-bookmarks.0a83b030.js +1 -0
- package/dist/assets/{presets.a6220515.js → presets.198afe35.js} +6 -6
- package/dist/assets/project-settings.eebfbd8c.js +1 -0
- package/dist/assets/{projects.7b210ac2.js → projects.398642da.js} +1 -1
- package/dist/assets/{properties.f55a4bf0.js → properties.bc9c351d.js} +1 -1
- package/dist/assets/{protobuf.9cc87b15.js → protobuf.d94d8d4b.js} +1 -1
- package/dist/assets/pt-BR.664ac34b.js +1 -0
- package/dist/assets/{pug.09de4b33.js → pug.acdcf421.js} +1 -1
- package/dist/assets/{puppet.7cd5c3df.js → puppet.77eef81d.js} +1 -1
- package/dist/assets/{python.8647bbb6.js → python.b5ceceb5.js} +1 -1
- package/dist/assets/{q.83eacee3.js → q.0d05269a.js} +1 -1
- package/dist/assets/{query.b72e23c9.js → query.8ccae3a9.js} +1 -1
- package/dist/assets/{quickstart.1d485356.js → quickstart.a567dd49.js} +2 -2
- package/dist/assets/{quickstart.0e152d2a.js → quickstart.de9843d9.js} +1 -1
- package/dist/assets/{r.22d59660.js → r.91e27c7f.js} +1 -1
- package/dist/assets/{readme.a5652282.js → readme.1996f39f.js} +1 -1
- package/dist/assets/{relations.804b318b.js → relations.ad6c2398.js} +4 -4
- package/dist/assets/{relationship.040a5095.js → relationship.32af0bee.js} +1 -1
- package/dist/assets/{relationships.ff02a9ff.js → relationships.1cd9b5d9.js} +8 -8
- package/dist/assets/{resources.efe9810e.js → resources.f947272a.js} +1 -1
- package/dist/assets/{revisions.121cb7de.js → revisions.c13b66e0.js} +3 -3
- package/dist/assets/{roles.680acff2.js → roles.e767878c.js} +11 -11
- package/dist/assets/{rpm.45123b1f.js → rpm.014edd6b.js} +1 -1
- package/dist/assets/{rst.0d2ffa96.js → rst.32625068.js} +1 -1
- package/dist/assets/{ruby.0befbc72.js → ruby.feba6f75.js} +1 -1
- package/dist/assets/{running-locally.4b4aa0d8.js → running-locally.6bdbd71e.js} +4 -4
- package/dist/assets/{runtime-core.esm-bundler.e3d5f5b7.js → runtime-core.esm-bundler.32cac88a.js} +1 -1
- package/dist/assets/{rust.0aadcb17.js → rust.aebd6832.js} +1 -1
- package/dist/assets/{sas.6509cc75.js → sas.e59b46ec.js} +1 -1
- package/dist/assets/{sass.3fef2c5c.js → sass.e99e8513.js} +1 -1
- package/dist/assets/{schema.5f5eb18e.js → schema.7eb35ba9.js} +1 -1
- package/dist/assets/{scheme.6583195f.js → scheme.12ef2907.js} +1 -1
- package/dist/assets/{sdk.84d76266.js → sdk.d1cc970a.js} +9 -9
- package/dist/assets/{security.6a8942ba.js → security.0f4880b1.js} +1 -1
- package/dist/assets/{server.b24a421b.js → server.bcf6175e.js} +5 -5
- package/dist/assets/{settings.d91e399d.js → settings.25cab07d.js} +1 -1
- package/dist/assets/{settings.d3a9b46c.js → settings.f21d244b.js} +10 -10
- package/dist/assets/{shares.6bb87993.js → shares.cc7ce751.js} +1 -1
- package/dist/assets/{shell.c33a256a.js → shell.1da47370.js} +1 -1
- package/dist/assets/{show-hint.e10f26ff.js → show-hint.68480f4b.js} +1 -1
- package/dist/assets/{sieve.adb9c5cd.js → sieve.448a2294.js} +1 -1
- package/dist/assets/{slim.34875ef9.js → slim.e742b868.js} +1 -1
- package/dist/assets/{smalltalk.ce10cb5f.js → smalltalk.0519616f.js} +1 -1
- package/dist/assets/{smarty.42882935.js → smarty.f1c37335.js} +1 -1
- package/dist/assets/{solr.5286f18c.js → solr.80d4e627.js} +1 -1
- package/dist/assets/{soy.4f95bef4.js → soy.e241e43d.js} +1 -1
- package/dist/assets/{sparql.771a3939.js → sparql.0825a985.js} +1 -1
- package/dist/assets/{spreadsheet.84749884.js → spreadsheet.3d74a74a.js} +1 -1
- package/dist/assets/{sql.e6ae0ded.js → sql.6a932e46.js} +1 -1
- package/dist/assets/{sso-examples.eb8e7423.js → sso-examples.0b7c81f4.js} +3 -3
- package/dist/assets/{sso.c929d07f.js → sso.49e87f3a.js} +2 -2
- package/dist/assets/{stex.248311c6.js → stex.6c78fa60.js} +1 -1
- package/dist/assets/{stylus.75da53bc.js → stylus.88f0619a.js} +1 -1
- package/dist/assets/{support.09b549ef.js → support.55199a3e.js} +1 -1
- package/dist/assets/{swift.9d07c193.js → swift.de2921df.js} +1 -1
- package/dist/assets/{tcl.7a1d8f5e.js → tcl.6c5dac08.js} +1 -1
- package/dist/assets/{teams.ab67345b.js → teams.541d1f0c.js} +1 -1
- package/dist/assets/{textile.3f318174.js → textile.654e7c73.js} +1 -1
- package/dist/assets/{themes.078e9124.js → themes.47d63f74.js} +2 -2
- package/dist/assets/{tiddlywiki.70063591.js → tiddlywiki.b7e79b0f.js} +1 -1
- package/dist/assets/{tiki.be5148f3.js → tiki.9a99e175.js} +1 -1
- package/dist/assets/{toml.1c4a2454.js → toml.a476a385.js} +1 -1
- package/dist/assets/{tornado.2951da45.js → tornado.ec0e2ed1.js} +1 -1
- package/dist/assets/tr-TR.ea217e38.js +1 -0
- package/dist/assets/{translation-strings.2e3ee87a.js → translation-strings.6f6737a7.js} +1 -1
- package/dist/assets/{translations.36a34606.js → translations.4a2d59ad.js} +1 -1
- package/dist/assets/{translations.fb062afb.js → translations.7e97efc3.js} +1 -1
- package/dist/assets/triggers.6baf300f.js +1 -0
- package/dist/assets/{troff.87ee9d68.js → troff.9d44c1e9.js} +1 -1
- package/dist/assets/{ttcn-cfg.c84cc180.js → ttcn-cfg.667f8595.js} +1 -1
- package/dist/assets/{ttcn.2e4df029.js → ttcn.941dc1c5.js} +1 -1
- package/dist/assets/{turtle.95894809.js → turtle.6ab53dab.js} +1 -1
- package/dist/assets/{twig.d66473bf.js → twig.a5b9e950.js} +1 -1
- package/dist/assets/{ubuntu.79ece84b.js → ubuntu.14eb3ea1.js} +2 -2
- package/dist/assets/{upgrades-migrations.ea8bea7b.js → upgrades-migrations.a9a9ca7c.js} +1 -1
- package/dist/assets/{use-sync.1dee2657.js → use-sync.3af8e920.js} +8 -8
- package/dist/assets/{user-directory.bac5f2ee.js → user-directory.59b8470a.js} +1 -1
- package/dist/assets/{users-roles-permissions.e36d0bc8.js → users-roles-permissions.ed9e814c.js} +1 -1
- package/dist/assets/{users.a9ad4dd9.js → users.de050e21.js} +1 -1
- package/dist/assets/{utilities.00432834.js → utilities.99f7a370.js} +1 -1
- package/dist/assets/{validation.2c0c5444.js → validation.10b8a2f3.js} +1 -1
- package/dist/assets/{vb.6fa3f35c.js → vb.f5ad7d8e.js} +1 -1
- package/dist/assets/{vbscript.9733613a.js → vbscript.4e331a4a.js} +1 -1
- package/dist/assets/{velocity.01fb0be3.js → velocity.58ff92f8.js} +1 -1
- package/dist/assets/{verilog.424d22ca.js → verilog.88d1f1ca.js} +1 -1
- package/dist/assets/{vhdl.f35cfe5f.js → vhdl.872b8dd6.js} +1 -1
- package/dist/assets/vi-VN.a2a22682.js +1 -0
- package/dist/assets/{vue-i18n.3cc3a25f.entry.js → vue-i18n.ab96dd58.entry.js} +1 -1
- package/dist/assets/{vue-router.1ad5ff1f.entry.js → vue-router.4ad81e1d.entry.js} +2 -2
- package/dist/assets/vue.1c9ff390.entry.js +1 -0
- package/dist/assets/{vue.00bb2733.js → vue.9e899a50.js} +1 -1
- package/dist/assets/{vue.runtime.esm-bundler.ee2a778f.js → vue.runtime.esm-bundler.61bedc6f.js} +1 -1
- package/dist/assets/{wast.70fe5a84.js → wast.ca758f8e.js} +1 -1
- package/dist/assets/{webhooks.e7e122b7.js → webhooks.53b2215e.js} +1 -1
- package/dist/assets/{webhooks.f0dfc270.js → webhooks.a7e035b7.js} +1 -1
- package/dist/assets/{webidl.b85758c5.js → webidl.cf25afda.js} +1 -1
- package/dist/assets/{xquery.ac0d6186.js → xquery.df5e5b32.js} +1 -1
- package/dist/assets/{yacas.bbc1de95.js → yacas.8af76adc.js} +1 -1
- package/dist/assets/{yaml-frontmatter.bcf994b4.js → yaml-frontmatter.3f544bc2.js} +1 -1
- package/dist/assets/{yaml.aa565fd3.js → yaml.5fd7d7fc.js} +1 -1
- package/dist/assets/{z80.6ef87436.js → z80.17c1db87.js} +1 -1
- package/dist/assets/zh-CN.074a708e.js +1 -0
- package/dist/index.html +8 -8
- package/package.json +26 -5
- package/dist/assets/activity-log.86a173c5.js +0 -1
- package/dist/assets/bg-BG.6ccbe392.js +0 -1
- package/dist/assets/de-DE.980a9df8.js +0 -1
- package/dist/assets/display.c9e4c238.js +0 -1
- package/dist/assets/es-419.b77b2103.js +0 -1
- package/dist/assets/es-CL.e5af69da.js +0 -1
- package/dist/assets/es-ES.7fd65f45.js +0 -1
- package/dist/assets/es-MX.84fb11f1.js +0 -1
- package/dist/assets/fi-FI.f2ba369a.js +0 -1
- package/dist/assets/flows.c21cd837.js +0 -16
- package/dist/assets/fr-CA.bd73b96f.js +0 -1
- package/dist/assets/fr-FR.f86a9f41.js +0 -1
- package/dist/assets/he-IL.7b11dc5e.js +0 -1
- package/dist/assets/index.03840c13.css +0 -1
- package/dist/assets/index.cd90c757.js +0 -1
- package/dist/assets/it-IT.922112b6.js +0 -1
- package/dist/assets/operations.845da620.js +0 -1
- package/dist/assets/pl-PL.dfc1a032.js +0 -1
- package/dist/assets/presets-bookmarks.3d6f189f.js +0 -1
- package/dist/assets/project-settings.5ba0a483.js +0 -1
- package/dist/assets/pt-BR.a8e95f48.js +0 -1
- package/dist/assets/tr-TR.039a12a9.js +0 -1
- package/dist/assets/triggers.44226865.js +0 -1
- package/dist/assets/vi-VN.fff05bda.js +0 -1
- package/dist/assets/vue.f73b7cd5.entry.js +0 -1
- package/dist/assets/zh-CN.e03e0e56.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as o,o as a,b as c,w as i,
|
|
1
|
+
import{a as o,o as a,b as c,w as i,l,E as e}from"./runtime-core.esm-bundler.32cac88a.js";const u=l("div",{class:"markdown-body"},[l("blockquote",null,[l("p",null,"Custom API Hooks allow running custom logic when a specified event occurs within your project. There are different types of events to choose from.")]),l("h2",{id:"extension-entrypoint",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#extension-entrypoint"},"#"),e(" Extension Entrypoint")]),l("p",null,[e("The entrypoint of your hook is the "),l("code",null,"index"),e(" file inside the "),l("code",null,"src/"),e(" folder of your extension package. It exports a register function to register one or more event listeners.")]),l("p",null,"Example of an entrypoint:"),l("pre",null,[l("code",{class:"language-js"},[l("span",{class:"hljs-keyword"},"export"),e(),l("span",{class:"hljs-keyword"},"default"),e(` ({ filter, action }) => {
|
|
2
2
|
`),l("span",{class:"hljs-title function_"},"filter"),e("("),l("span",{class:"hljs-string"},"'items.create'"),e(", "),l("span",{class:"hljs-function"},"() =>"),e(` {
|
|
3
3
|
`),l("span",{class:"hljs-variable language_"},"console"),e("."),l("span",{class:"hljs-title function_"},"log"),e("("),l("span",{class:"hljs-string"},"'Creating Item!'"),e(`);
|
|
4
4
|
});
|
|
@@ -25,17 +25,17 @@ import{a as o,o as a,b as c,w as i,g as l,B as e}from"./runtime-core.esm-bundler
|
|
|
25
25
|
`),l("span",{class:"hljs-keyword"},"await"),e(" axios."),l("span",{class:"hljs-title function_"},"post"),e("("),l("span",{class:"hljs-string"},"'http://example.com/webhook'"),e(", { "),l("span",{class:"hljs-attr"},"message"),e(": "),l("span",{class:"hljs-string"},"'Another 15 minutes passed...'"),e(` });
|
|
26
26
|
});
|
|
27
27
|
};
|
|
28
|
-
`)])]),l("h2",{id:"available-events",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#available-events"},"#"),e(" Available Events")]),l("h3",{id:"filter-events",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#filter-events"},"#"),e(" Filter Events")]),l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Name"),l("th",null,"Payload"),l("th",null,"Meta")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"request.not_found")]),l("td",null,[l("code",null,"false")]),l("td",null,[l("code",null,"request"),e(", "),l("code",null,"response")])]),l("tr",null,[l("td",null,[l("code",null,"request.error")]),l("td",null,"The request errors"),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"database.error")]),l("td",null,"The database error"),l("td",null,[l("code",null,"client")])]),l("tr",null,[l("td",null,[l("code",null,"auth.login")]),l("td",null,"The login payload"),l("td",null,[l("code",null,"status"),e(", "),l("code",null,"user"),e(", "),l("code",null,"provider")])]),l("tr",null,[l("td",null,[l("code",null,"auth.jwt")]),l("td",null,"The auth token"),l("td",null,[l("code",null,"status"),e(", "),l("code",null,"user"),e(", "),l("code",null,"provider"),e(", "),l("code",null,"type")])]),l("tr",null,[l("td",null,[l("code",null,"authenticate")]),l("td",null,"The empty accountability object"),l("td",null,[l("code",null,"req")])]),l("tr",null,[l("td",null,[l("code",null,"(<collection>.)items.read")]),l("td",null,"The read item"),l("td",null,[l("code",null,"query"),e(", "),l("code",null,"collection")])]),l("tr",null,[l("td",null,[l("code",null,"(<collection>.)items.create")]),l("td",null,"The new item"),l("td",null,[l("code",null,"collection")])]),l("tr",null,[l("td",null,[l("code",null,"(<collection>.)items.update")]),l("td",null,"The updated item"),l("td",null,[l("code",null,"keys"),e(", "),l("code",null,"collection")])]),l("tr",null,[l("td",null,[l("code",null,"(<collection>.)items.delete")]),l("td",null,"The keys of the item"),l("td",null,[l("code",null,"collection")])]),l("tr",null,[l("td",null,[l("code",null,"<system-collection>.create")]),l("td",null,"The new item"),l("td",null,[l("code",null,"collection")])]),l("tr",null,[l("td",null,[l("code",null,"<system-collection>.update")]),l("td",null,"The updated item"),l("td",null,[l("code",null,"keys"),e(", "),l("code",null,"collection")])]),l("tr",null,[l("td",null,[l("code",null,"<system-collection>.delete")]),l("td",null,"The keys of the item"),l("td",null,[l("code",null,"collection")])])])]),l("div",{class:"tip hint"},[l("div",{class:"hint-title"},"System Collections"),l("p",null,[l("code",null,"<system-collection>"),e(" should be replaced with one of the system collection names "),l("code",null,"activity"),e(", "),l("code",null,"collections"),e(", "),l("code",null,"fields"),e(", "),l("code",null,"files"),e(" (except create/update), "),l("code",null,"folders"),e(", "),l("code",null,"permissions"),e(", "),l("code",null,"presets"),e(", "),l("code",null,"relations"),e(", "),l("code",null,"revisions"),e(", "),l("code",null,"roles"),e(", "),l("code",null,"settings"),e(", "),l("code",null,"users"),e(" or "),l("code",null,"webhooks"),e(".")])]),l("h3",{id:"action-events",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#action-events"},"#"),e(" Action Events")]),l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Name"),l("th",null,"Meta")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"server.start")]),l("td",null,[l("code",null,"server")])]),l("tr",null,[l("td",null,[l("code",null,"server.stop")]),l("td",null,[l("code",null,"server")])]),l("tr",null,[l("td",null,[l("code",null,"response")]),l("td",null,[l("code",null,"request"),e(", "),l("code",null,"response"),e(", "),l("code",null,"ip"),e(", "),l("code",null,"duration"),e(", "),l("code",null,"finished")])]),l("tr",null,[l("td",null,[l("code",null,"auth.login")]),l("td",null,[l("code",null,"payload"),e(", "),l("code",null,"status"),e(", "),l("code",null,"user"),e(", "),l("code",null,"provider")])]),l("tr",null,[l("td",null,[l("code",null,"files.upload")]),l("td",null,[l("code",null,"payload"),e(", "),l("code",null,"key"),e(", "),l("code",null,"collection")])]),l("tr",null,[l("td",null,[l("code",null,"(<collection>.)items.read")]),l("td",null,[l("code",null,"payload"),e(", "),l("code",null,"query"),e(", "),l("code",null,"collection")])]),l("tr",null,[l("td",null,[l("code",null,"(<collection>.)items.create")]),l("td",null,[l("code",null,"payload"),e(", "),l("code",null,"key"),e(", "),l("code",null,"collection")])]),l("tr",null,[l("td",null,[l("code",null,"(<collection>.)items.update")]),l("td",null,[l("code",null,"payload"),e(", "),l("code",null,"keys"),e(", "),l("code",null,"collection")])]),l("tr",null,[l("td",null,[l("code",null,"(<collection>.)items.delete")]),l("td",null,[l("code",null,"keys"),e(", "),l("code",null,"collection")])]),l("tr",null,[l("td",null,[l("code",null,"(<collection>.)items.sort")]),l("td",null,[l("code",null,"collection"),e(", "),l("code",null,"item"),e(", "),l("code",null,"to")])]),l("tr",null,[l("td",null,[l("code",null,"<system-collection>.create")]),l("td",null,[l("code",null,"payload"),e(", "),l("code",null,"key"),e(", "),l("code",null,"collection")])]),l("tr",null,[l("td",null,[l("code",null,"<system-collection>.update")]),l("td",null,[l("code",null,"payload"),e(", "),l("code",null,"keys"),e(", "),l("code",null,"collection")])]),l("tr",null,[l("td",null,[l("code",null,"<system-collection>.delete")]),l("td",null,[l("code",null,"keys"),e(", "),l("code",null,"collection")])])])]),l("div",{class:"tip hint"},[l("div",{class:"hint-title"},"System Collections"),l("p",null,[l("code",null,"<system-collection>"),e(" should be replaced with one of the system collection names "),l("code",null,"activity"),e(", "),l("code",null,"collections"),e(", "),l("code",null,"fields"),e(", "),l("code",null,"files"),e(" (except create/update), "),l("code",null,"folders"),e(", "),l("code",null,"permissions"),e(", "),l("code",null,"presets"),e(", "),l("code",null,"relations"),e(", "),l("code",null,"revisions"),e(", "),l("code",null,"roles"),e(", "),l("code",null,"settings"),e(", "),l("code",null,"users"),e(" or "),l("code",null,"webhooks"),e(".")])]),l("h3",{id:"init-events",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#init-events"},"#"),e(" Init Events")]),l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Name"),l("th",null,"Meta")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"cli.before")]),l("td",null,[l("code",null,"program")])]),l("tr",null,[l("td",null,[l("code",null,"cli.after")]),l("td",null,[l("code",null,"program")])]),l("tr",null,[l("td",null,[l("code",null,"app.before")]),l("td",null,[l("code",null,"app")])]),l("tr",null,[l("td",null,[l("code",null,"app.after")]),l("td",null,[l("code",null,"app")])]),l("tr",null,[l("td",null,[l("code",null,"routes.before")]),l("td",null,[l("code",null,"app")])]),l("tr",null,[l("td",null,[l("code",null,"routes.after")]),l("td",null,[l("code",null,"app")])]),l("tr",null,[l("td",null,[l("code",null,"routes.custom.before")]),l("td",null,[l("code",null,"app")])]),l("tr",null,[l("td",null,[l("code",null,"routes.custom.after")]),l("td",null,[l("code",null,"app")])]),l("tr",null,[l("td",null,[l("code",null,"middlewares.before")]),l("td",null,[l("code",null,"app")])]),l("tr",null,[l("td",null,[l("code",null,"middlewares.after")]),l("td",null,[l("code",null,"app")])])])]),l("h2",{id:"register-function",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#register-function"},"#"),e(" Register Function")]),l("p",null,"The register function receives an object containing the type-specific register functions as the first parameter:"),l("ul",null,[l("li",null,[l("code",null,"filter"),e(" \u2014 Listen for a filter event")]),l("li",null,[l("code",null,"action"),e(" \u2014 Listen for an action event")]),l("li",null,[l("code",null,"init"),e(" \u2014 Listen for an init event")]),l("li",null,[l("code",null,"schedule"),e(" \u2014 Execute a function at certain points in time")])]),l("p",null,"The second parameter is a context object with the following properties:"),l("ul",null,[l("li",null,[l("code",null,"services"),e(" \u2014 All API internal services")]),l("li",null,[l("code",null,"exceptions"),e(" \u2014 API exception objects that can be used for throwing \u201Cproper\u201D errors")]),l("li",null,[l("code",null,"database"),e(" \u2014 Knex instance that is connected to the current database")]),l("li",null,[l("code",null,"getSchema"),e(" \u2014 Async function that reads the full available schema for use in services")]),l("li",null,[l("code",null,"env"),e(" \u2014 Parsed environment variables")]),l("li",null,[l("code",null,"logger"),e(" \u2014 "),l("a",{href:"https://github.com/pinojs/pino",target:"_blank",rel:"noopener noreferrer"},"Pino"),e(" instance.")]),l("li",null,[l("code",null,"emitter"),e(" \u2014 "),l("a",{href:"https://github.com/directus/directus/blob/main/api/src/emitter.ts",target:"_blank",rel:"noopener noreferrer"},"Event emitter"),e(" instance that can be used to trigger custom events for other extensions.")])]),l("div",{class:"warning hint"},[l("div",{class:"hint-title"},"Event loop"),l("p",null,"When implementing custom events using the emitter make sure you never directly or indirectly emit the same event your hook is currently handling as that would result in an infinite loop!")]),l("h2",{id:"example%3A-sync-with-external",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#example%3A-sync-with-external"},"#"),e(" Example: Sync with External")]),l("pre",null,[l("code",{class:"language-js"},[l("span",{class:"hljs-keyword"},"import"),e(" axios "),l("span",{class:"hljs-keyword"},"from"),e(),l("span",{class:"hljs-string"},"'axios'"),e(`;
|
|
28
|
+
`)])]),l("h2",{id:"available-events",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#available-events"},"#"),e(" Available Events")]),l("h3",{id:"filter-events",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#filter-events"},"#"),e(" Filter Events")]),l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Name"),l("th",null,"Payload"),l("th",null,"Meta")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"request.not_found")]),l("td",null,[l("code",null,"false")]),l("td",null,[l("code",null,"request"),e(", "),l("code",null,"response")])]),l("tr",null,[l("td",null,[l("code",null,"request.error")]),l("td",null,"The request errors"),l("td",null,"\u2013")]),l("tr",null,[l("td",null,[l("code",null,"database.error")]),l("td",null,"The database error"),l("td",null,[l("code",null,"client")])]),l("tr",null,[l("td",null,[l("code",null,"auth.login")]),l("td",null,"The login payload"),l("td",null,[l("code",null,"status"),e(", "),l("code",null,"user"),e(", "),l("code",null,"provider")])]),l("tr",null,[l("td",null,[l("code",null,"auth.jwt")]),l("td",null,"The auth token"),l("td",null,[l("code",null,"status"),e(", "),l("code",null,"user"),e(", "),l("code",null,"provider"),e(", "),l("code",null,"type")])]),l("tr",null,[l("td",null,[l("code",null,"authenticate")]),l("td",null,"The empty accountability object"),l("td",null,[l("code",null,"req")])]),l("tr",null,[l("td",null,[l("code",null,"(<collection>.)items.read")]),l("td",null,"The read item"),l("td",null,[l("code",null,"query"),e(", "),l("code",null,"collection")])]),l("tr",null,[l("td",null,[l("code",null,"(<collection>.)items.create")]),l("td",null,"The new item"),l("td",null,[l("code",null,"collection")])]),l("tr",null,[l("td",null,[l("code",null,"(<collection>.)items.update")]),l("td",null,"The updated item"),l("td",null,[l("code",null,"keys"),e(", "),l("code",null,"collection")])]),l("tr",null,[l("td",null,[l("code",null,"(<collection>.)items.delete")]),l("td",null,"The keys of the item"),l("td",null,[l("code",null,"collection")])]),l("tr",null,[l("td",null,[l("code",null,"<system-collection>.create")]),l("td",null,"The new item"),l("td",null,[l("code",null,"collection")])]),l("tr",null,[l("td",null,[l("code",null,"<system-collection>.update")]),l("td",null,"The updated item"),l("td",null,[l("code",null,"keys"),e(", "),l("code",null,"collection")])]),l("tr",null,[l("td",null,[l("code",null,"<system-collection>.delete")]),l("td",null,"The keys of the item"),l("td",null,[l("code",null,"collection")])])])]),l("div",{class:"tip hint"},[l("div",{class:"hint-title"},"System Collections"),l("p",null,[l("code",null,"<system-collection>"),e(" should be replaced with one of the system collection names "),l("code",null,"activity"),e(", "),l("code",null,"collections"),e(", "),l("code",null,"fields"),e(", "),l("code",null,"files"),e(" (except create/update), "),l("code",null,"folders"),e(", "),l("code",null,"permissions"),e(", "),l("code",null,"presets"),e(", "),l("code",null,"relations"),e(", "),l("code",null,"revisions"),e(", "),l("code",null,"roles"),e(", "),l("code",null,"settings"),e(", "),l("code",null,"users"),e(" or "),l("code",null,"webhooks"),e(".")])]),l("h3",{id:"action-events",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#action-events"},"#"),e(" Action Events")]),l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Name"),l("th",null,"Meta")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"server.start")]),l("td",null,[l("code",null,"server")])]),l("tr",null,[l("td",null,[l("code",null,"server.stop")]),l("td",null,[l("code",null,"server")])]),l("tr",null,[l("td",null,[l("code",null,"response")]),l("td",null,[l("code",null,"request"),e(", "),l("code",null,"response"),e(", "),l("code",null,"ip"),e(", "),l("code",null,"duration"),e(", "),l("code",null,"finished")])]),l("tr",null,[l("td",null,[l("code",null,"auth.login")]),l("td",null,[l("code",null,"payload"),e(", "),l("code",null,"status"),e(", "),l("code",null,"user"),e(", "),l("code",null,"provider")])]),l("tr",null,[l("td",null,[l("code",null,"files.upload")]),l("td",null,[l("code",null,"payload"),e(", "),l("code",null,"key"),e(", "),l("code",null,"collection")])]),l("tr",null,[l("td",null,[l("code",null,"(<collection>.)items.query")]),l("td",null,[l("code",null,"payload"),e(", "),l("code",null,"query"),e(", "),l("code",null,"collection")])]),l("tr",null,[l("td",null,[l("code",null,"(<collection>.)items.read")]),l("td",null,[l("code",null,"payload"),e(", "),l("code",null,"query"),e(", "),l("code",null,"collection")])]),l("tr",null,[l("td",null,[l("code",null,"(<collection>.)items.create")]),l("td",null,[l("code",null,"payload"),e(", "),l("code",null,"key"),e(", "),l("code",null,"collection")])]),l("tr",null,[l("td",null,[l("code",null,"(<collection>.)items.update")]),l("td",null,[l("code",null,"payload"),e(", "),l("code",null,"keys"),e(", "),l("code",null,"collection")])]),l("tr",null,[l("td",null,[l("code",null,"(<collection>.)items.delete")]),l("td",null,[l("code",null,"keys"),e(", "),l("code",null,"collection")])]),l("tr",null,[l("td",null,[l("code",null,"(<collection>.)items.sort")]),l("td",null,[l("code",null,"collection"),e(", "),l("code",null,"item"),e(", "),l("code",null,"to")])]),l("tr",null,[l("td",null,[l("code",null,"<system-collection>.create")]),l("td",null,[l("code",null,"payload"),e(", "),l("code",null,"key"),e(", "),l("code",null,"collection")])]),l("tr",null,[l("td",null,[l("code",null,"<system-collection>.update")]),l("td",null,[l("code",null,"payload"),e(", "),l("code",null,"keys"),e(", "),l("code",null,"collection")])]),l("tr",null,[l("td",null,[l("code",null,"<system-collection>.delete")]),l("td",null,[l("code",null,"keys"),e(", "),l("code",null,"collection")])])])]),l("div",{class:"tip hint"},[l("div",{class:"hint-title"},"System Collections"),l("p",null,[l("code",null,"<system-collection>"),e(" should be replaced with one of the system collection names "),l("code",null,"activity"),e(", "),l("code",null,"collections"),e(", "),l("code",null,"fields"),e(", "),l("code",null,"files"),e(" (except create/update), "),l("code",null,"folders"),e(", "),l("code",null,"permissions"),e(", "),l("code",null,"presets"),e(", "),l("code",null,"relations"),e(", "),l("code",null,"revisions"),e(", "),l("code",null,"roles"),e(", "),l("code",null,"settings"),e(", "),l("code",null,"users"),e(" or "),l("code",null,"webhooks"),e(".")])]),l("h3",{id:"init-events",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#init-events"},"#"),e(" Init Events")]),l("table",null,[l("thead",null,[l("tr",null,[l("th",null,"Name"),l("th",null,"Meta")])]),l("tbody",null,[l("tr",null,[l("td",null,[l("code",null,"cli.before")]),l("td",null,[l("code",null,"program")])]),l("tr",null,[l("td",null,[l("code",null,"cli.after")]),l("td",null,[l("code",null,"program")])]),l("tr",null,[l("td",null,[l("code",null,"app.before")]),l("td",null,[l("code",null,"app")])]),l("tr",null,[l("td",null,[l("code",null,"app.after")]),l("td",null,[l("code",null,"app")])]),l("tr",null,[l("td",null,[l("code",null,"routes.before")]),l("td",null,[l("code",null,"app")])]),l("tr",null,[l("td",null,[l("code",null,"routes.after")]),l("td",null,[l("code",null,"app")])]),l("tr",null,[l("td",null,[l("code",null,"routes.custom.before")]),l("td",null,[l("code",null,"app")])]),l("tr",null,[l("td",null,[l("code",null,"routes.custom.after")]),l("td",null,[l("code",null,"app")])]),l("tr",null,[l("td",null,[l("code",null,"middlewares.before")]),l("td",null,[l("code",null,"app")])]),l("tr",null,[l("td",null,[l("code",null,"middlewares.after")]),l("td",null,[l("code",null,"app")])])])]),l("h2",{id:"register-function",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#register-function"},"#"),e(" Register Function")]),l("p",null,"The register function receives an object containing the type-specific register functions as the first parameter:"),l("ul",null,[l("li",null,[l("code",null,"filter"),e(" \u2014 Listen for a filter event")]),l("li",null,[l("code",null,"action"),e(" \u2014 Listen for an action event")]),l("li",null,[l("code",null,"init"),e(" \u2014 Listen for an init event")]),l("li",null,[l("code",null,"schedule"),e(" \u2014 Execute a function at certain points in time")])]),l("p",null,"The second parameter is a context object with the following properties:"),l("ul",null,[l("li",null,[l("code",null,"services"),e(" \u2014 All API internal services")]),l("li",null,[l("code",null,"exceptions"),e(" \u2014 API exception objects that can be used for throwing \u201Cproper\u201D errors")]),l("li",null,[l("code",null,"database"),e(" \u2014 Knex instance that is connected to the current database")]),l("li",null,[l("code",null,"getSchema"),e(" \u2014 Async function that reads the full available schema for use in services")]),l("li",null,[l("code",null,"env"),e(" \u2014 Parsed environment variables")]),l("li",null,[l("code",null,"logger"),e(" \u2014 "),l("a",{href:"https://github.com/pinojs/pino",target:"_blank",rel:"noopener noreferrer"},"Pino"),e(" instance.")]),l("li",null,[l("code",null,"emitter"),e(" \u2014 "),l("a",{href:"https://github.com/directus/directus/blob/main/api/src/emitter.ts",target:"_blank",rel:"noopener noreferrer"},"Event emitter"),e(" instance that can be used to trigger custom events for other extensions.")])]),l("div",{class:"warning hint"},[l("div",{class:"hint-title"},"Event loop"),l("p",null,"When implementing custom events using the emitter make sure you never directly or indirectly emit the same event your hook is currently handling as that would result in an infinite loop!")]),l("h2",{id:"example%3A-sync-with-external",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#example%3A-sync-with-external"},"#"),e(" Example: Sync with External")]),l("pre",null,[l("code",{class:"language-js"},[l("span",{class:"hljs-keyword"},"import"),e(" axios "),l("span",{class:"hljs-keyword"},"from"),e(),l("span",{class:"hljs-string"},"'axios'"),e(`;
|
|
29
29
|
|
|
30
30
|
`),l("span",{class:"hljs-keyword"},"export"),e(),l("span",{class:"hljs-keyword"},"default"),e(` ({ filter }, { services, exceptions }) => {
|
|
31
31
|
`),l("span",{class:"hljs-keyword"},"const"),e(" { "),l("span",{class:"hljs-title class_"},"MailService"),e(` } = services;
|
|
32
32
|
`),l("span",{class:"hljs-keyword"},"const"),e(" { "),l("span",{class:"hljs-title class_"},"ServiceUnavailableException"),e(", "),l("span",{class:"hljs-title class_"},"ForbiddenException"),e(` } = exceptions;
|
|
33
33
|
|
|
34
34
|
`),l("span",{class:"hljs-comment"},"// Sync with external recipes service, cancel creation on failure"),e(`
|
|
35
|
-
`),l("span",{class:"hljs-title function_"},"filter"),e("("),l("span",{class:"hljs-string"},"'items.create'"),e(", "),l("span",{class:"hljs-keyword"},"async"),e(` (input, { collection }, { schema }) => {
|
|
35
|
+
`),l("span",{class:"hljs-title function_"},"filter"),e("("),l("span",{class:"hljs-string"},"'items.create'"),e(", "),l("span",{class:"hljs-keyword"},"async"),e(` (input, { collection }, { schema, database }) => {
|
|
36
36
|
`),l("span",{class:"hljs-keyword"},"if"),e(" (collection !== "),l("span",{class:"hljs-string"},"'recipes'"),e(") "),l("span",{class:"hljs-keyword"},"return"),e(` input;
|
|
37
37
|
|
|
38
|
-
`),l("span",{class:"hljs-keyword"},"const"),e(" mailService = "),l("span",{class:"hljs-keyword"},"new"),e(),l("span",{class:"hljs-title class_"},"MailService"),e(
|
|
38
|
+
`),l("span",{class:"hljs-keyword"},"const"),e(" mailService = "),l("span",{class:"hljs-keyword"},"new"),e(),l("span",{class:"hljs-title class_"},"MailService"),e("({ schema, "),l("span",{class:"hljs-attr"},"knex"),e(`: database });
|
|
39
39
|
|
|
40
40
|
`),l("span",{class:"hljs-keyword"},"try"),e(` {
|
|
41
41
|
`),l("span",{class:"hljs-keyword"},"await"),e(" axios."),l("span",{class:"hljs-title function_"},"post"),e("("),l("span",{class:"hljs-string"},"'https://example.com/recipes'"),e(`, input);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as i}from"./index.
|
|
1
|
+
import{y as i}from"./index.a6745321.entry.js";import{a as l}from"./htmlmixed.3d063271.js";import{m as a}from"./multiplex.a84ab750.js";function r(n,o){return o.forEach(function(e){e&&typeof e!="string"&&!Array.isArray(e)&&Object.keys(e).forEach(function(m){if(m!=="default"&&!(m in n)){var t=Object.getOwnPropertyDescriptor(e,m);Object.defineProperty(n,m,t.get?t:{enumerable:!0,get:function(){return e[m]}})}})}),Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var c={exports:{}};(function(n,o){(function(e){e(i.exports,l.exports,a.exports)})(function(e){e.defineMode("htmlembedded",function(m,t){var d=t.closeComment||"--%>";return e.multiplexingMode(e.getMode(m,"htmlmixed"),{open:t.openComment||"<%--",close:d,delimStyle:"comment",mode:{token:function(p){return p.skipTo(d)||p.skipToEnd(),"comment"}}},{open:t.open||t.scriptStartRegex||"<%",close:t.close||t.scriptEndRegex||"%>",mode:e.getMode(m,t.scriptingModeSpec)})},"htmlmixed"),e.defineMIME("application/x-ejs",{name:"htmlembedded",scriptingModeSpec:"javascript"}),e.defineMIME("application/x-aspx",{name:"htmlembedded",scriptingModeSpec:"text/x-csharp"}),e.defineMIME("application/x-jsp",{name:"htmlembedded",scriptingModeSpec:"text/x-java"}),e.defineMIME("application/x-erb",{name:"htmlembedded",scriptingModeSpec:"ruby"})})})();var s=c.exports,b=r({__proto__:null,default:s},[c.exports]);export{b as h};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as R,z as _}from"./index.
|
|
1
|
+
import{y as R,z as _}from"./index.a6745321.entry.js";import{a as I}from"./javascript.9e388b6a.js";import{a as z}from"./css.c3f2ba9c.js";function A(g,x){return x.forEach(function(c){c&&typeof c!="string"&&!Array.isArray(c)&&Object.keys(c).forEach(function(u){if(u!=="default"&&!(u in g)){var s=Object.getOwnPropertyDescriptor(c,u);Object.defineProperty(g,u,s.get?s:{enumerable:!0,get:function(){return c[u]}})}})}),Object.freeze(Object.defineProperty(g,Symbol.toStringTag,{value:"Module"}))}var $={exports:{}};(function(g,x){(function(c){c(R.exports,_.exports,I.exports,z.exports)})(function(c){var u={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]};function s(n,l,a){var o=n.current(),r=o.search(l);return r>-1?n.backUp(o.length-r):o.match(/<\/?$/)&&(n.backUp(o.length),n.match(l,!1)||n.match(o)),a}var S={};function k(n){var l=S[n];return l||(S[n]=new RegExp("\\s+"+n+`\\s*=\\s*('|")?([^'"]+)('|")?\\s*`))}function w(n,l){var a=n.match(k(l));return a?/^\s*(.*?)\s*$/.exec(a[2])[1]:""}function y(n,l){return new RegExp((l?"^":"")+"</s*"+n+"s*>","i")}function T(n,l){for(var a in n)for(var o=l[a]||(l[a]=[]),r=n[a],i=r.length-1;i>=0;i--)o.unshift(r[i])}function O(n,l){for(var a=0;a<n.length;a++){var o=n[a];if(!o[0]||o[1].test(w(l,o[0])))return o[2]}}c.defineMode("htmlmixed",function(n,l){var a=c.getMode(n,{name:"xml",htmlMode:!0,multilineTagIndentFactor:l.multilineTagIndentFactor,multilineTagIndentPastTag:l.multilineTagIndentPastTag,allowMissingTagName:l.allowMissingTagName}),o={},r=l&&l.tags,i=l&&l.scriptTypes;if(T(u,o),r&&T(r,o),i)for(var p=i.length-1;p>=0;p--)o.script.unshift(["type",i[p].matches,i[p].mode]);function M(t,e){var f=a.token(t,e.htmlState),b=/\btag\b/.test(f),d;if(b&&!/[<>\s\/]/.test(t.current())&&(d=e.htmlState.tagName&&e.htmlState.tagName.toLowerCase())&&o.hasOwnProperty(d))e.inTag=d+" ";else if(e.inTag&&b&&/>$/.test(t.current())){var h=/^([\S]+) (.*)/.exec(e.inTag);e.inTag=null;var P=t.current()==">"&&O(o[h[1]],h[2]),j=c.getMode(n,P),N=y(h[1],!0),E=y(h[1],!1);e.token=function(v,m){return v.match(N,!1)?(m.token=M,m.localState=m.localMode=null,null):s(v,E,m.localMode.token(v,m.localState))},e.localMode=j,e.localState=c.startState(j,a.indent(e.htmlState,"",""))}else e.inTag&&(e.inTag+=t.current(),t.eol()&&(e.inTag+=" "));return f}return{startState:function(){var t=c.startState(a);return{token:M,inTag:null,localMode:null,localState:null,htmlState:t}},copyState:function(t){var e;return t.localState&&(e=c.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:e,htmlState:c.copyState(a,t.htmlState)}},token:function(t,e){return e.token(t,e)},indent:function(t,e,f){return!t.localMode||/^\s*<\//.test(e)?a.indent(t.htmlState,e,f):t.localMode.indent?t.localMode.indent(t.localState,e,f):c.Pass},innerMode:function(t){return{state:t.localState||t.htmlState,mode:t.localMode||a}}}},"xml","javascript","css"),c.defineMIME("text/html","htmlmixed")})})();var F=$.exports,L=A({__proto__:null,default:F},[$.exports]);export{$ as a,L as h};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y}from"./index.
|
|
1
|
+
import{y}from"./index.a6745321.entry.js";function g(i,s){return s.forEach(function(t){t&&typeof t!="string"&&!Array.isArray(t)&&Object.keys(t).forEach(function(u){if(u!=="default"&&!(u in i)){var c=Object.getOwnPropertyDescriptor(t,u);Object.defineProperty(i,u,c.get?c:{enumerable:!0,get:function(){return t[u]}})}})}),Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var p={exports:{}};(function(i,s){(function(t){t(y.exports)})(function(t){t.defineMode("http",function(){function u(r,e){return r.skipToEnd(),e.cur=f,"error"}function c(r,e){return r.match(/^HTTP\/\d\.\d/)?(e.cur=a,"keyword"):r.match(/^[A-Z]+/)&&/[ \t]/.test(r.peek())?(e.cur=h,"keyword"):u(r,e)}function a(r,e){var o=r.match(/^\d+/);if(!o)return u(r,e);e.cur=d;var n=Number(o[0]);return n>=100&&n<200?"positive informational":n>=200&&n<300?"positive success":n>=300&&n<400?"positive redirect":n>=400&&n<500?"negative client-error":n>=500&&n<600?"negative server-error":"error"}function d(r,e){return r.skipToEnd(),e.cur=f,null}function h(r,e){return r.eatWhile(/\S/),e.cur=v,"string-2"}function v(r,e){return r.match(/^HTTP\/\d\.\d$/)?(e.cur=f,"keyword"):u(r,e)}function f(r){return r.sol()&&!r.eat(/[ \t]/)?r.match(/^.*?:/)?"atom":(r.skipToEnd(),"error"):(r.skipToEnd(),"string")}function l(r){return r.skipToEnd(),null}return{token:function(r,e){var o=e.cur;return o!=f&&o!=l&&r.eatSpace()?null:o(r,e)},blankLine:function(r){r.cur=l},startState:function(){return{cur:c}}}}),t.defineMIME("message/http","http")})})();var T=p.exports,k=g({__proto__:null,default:T},[p.exports]);export{k as h};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as f}from"./index.5552d1ba.entry.js";function u(a,o){return o.forEach(function(t){t&&typeof t!="string"&&!Array.isArray(t)&&Object.keys(t).forEach(function(r){if(r!=="default"&&!(r in a)){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(a,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}})}),Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var l={exports:{}};(function(a,o){(function(t){t(f.exports)})(function(t){function r(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var i=["a_correlate","abs","acos","adapt_hist_equal","alog","alog2","alog10","amoeba","annotate","app_user_dir","app_user_dir_query","arg_present","array_equal","array_indices","arrow","ascii_template","asin","assoc","atan","axis","axis","bandpass_filter","bandreject_filter","barplot","bar_plot","beseli","beselj","beselk","besely","beta","biginteger","bilinear","bin_date","binary_template","bindgen","binomial","bit_ffs","bit_population","blas_axpy","blk_con","boolarr","boolean","boxplot","box_cursor","breakpoint","broyden","bubbleplot","butterworth","bytarr","byte","byteorder","bytscl","c_correlate","calendar","caldat","call_external","call_function","call_method","call_procedure","canny","catch","cd","cdf","ceil","chebyshev","check_math","chisqr_cvf","chisqr_pdf","choldc","cholsol","cindgen","cir_3pnt","clipboard","close","clust_wts","cluster","cluster_tree","cmyk_convert","code_coverage","color_convert","color_exchange","color_quan","color_range_map","colorbar","colorize_sample","colormap_applicable","colormap_gradient","colormap_rotation","colortable","comfit","command_line_args","common","compile_opt","complex","complexarr","complexround","compute_mesh_normals","cond","congrid","conj","constrained_min","contour","contour","convert_coord","convol","convol_fft","coord2to3","copy_lun","correlate","cos","cosh","cpu","cramer","createboxplotdata","create_cursor","create_struct","create_view","crossp","crvlength","ct_luminance","cti_test","cursor","curvefit","cv_coord","cvttobm","cw_animate","cw_animate_getp","cw_animate_load","cw_animate_run","cw_arcball","cw_bgroup","cw_clr_index","cw_colorsel","cw_defroi","cw_field","cw_filesel","cw_form","cw_fslider","cw_light_editor","cw_light_editor_get","cw_light_editor_set","cw_orient","cw_palette_editor","cw_palette_editor_get","cw_palette_editor_set","cw_pdmenu","cw_rgbslider","cw_tmpl","cw_zoom","db_exists","dblarr","dcindgen","dcomplex","dcomplexarr","define_key","define_msgblk","define_msgblk_from_file","defroi","defsysv","delvar","dendro_plot","dendrogram","deriv","derivsig","determ","device","dfpmin","diag_matrix","dialog_dbconnect","dialog_message","dialog_pickfile","dialog_printersetup","dialog_printjob","dialog_read_image","dialog_write_image","dictionary","digital_filter","dilate","dindgen","dissolve","dist","distance_measure","dlm_load","dlm_register","doc_library","double","draw_roi","edge_dog","efont","eigenql","eigenvec","ellipse","elmhes","emboss","empty","enable_sysrtn","eof","eos","erase","erf","erfc","erfcx","erode","errorplot","errplot","estimator_filter","execute","exit","exp","expand","expand_path","expint","extract","extract_slice","f_cvf","f_pdf","factorial","fft","file_basename","file_chmod","file_copy","file_delete","file_dirname","file_expand_path","file_gunzip","file_gzip","file_info","file_lines","file_link","file_mkdir","file_move","file_poll_input","file_readlink","file_same","file_search","file_tar","file_test","file_untar","file_unzip","file_which","file_zip","filepath","findgen","finite","fix","flick","float","floor","flow3","fltarr","flush","format_axis_values","forward_function","free_lun","fstat","fulstr","funct","function","fv_test","fx_root","fz_roots","gamma","gamma_ct","gauss_cvf","gauss_pdf","gauss_smooth","gauss2dfit","gaussfit","gaussian_function","gaussint","get_drive_list","get_dxf_objects","get_kbrd","get_login_info","get_lun","get_screen_size","getenv","getwindows","greg2jul","grib","grid_input","grid_tps","grid3","griddata","gs_iter","h_eq_ct","h_eq_int","hanning","hash","hdf","hdf5","heap_free","heap_gc","heap_nosave","heap_refcount","heap_save","help","hilbert","hist_2d","hist_equal","histogram","hls","hough","hqr","hsv","i18n_multibytetoutf8","i18n_multibytetowidechar","i18n_utf8tomultibyte","i18n_widechartomultibyte","ibeta","icontour","iconvertcoord","idelete","identity","idl_base64","idl_container","idl_validname","idlexbr_assistant","idlitsys_createtool","idlunit","iellipse","igamma","igetcurrent","igetdata","igetid","igetproperty","iimage","image","image_cont","image_statistics","image_threshold","imaginary","imap","indgen","int_2d","int_3d","int_tabulated","intarr","interpol","interpolate","interval_volume","invert","ioctl","iopen","ir_filter","iplot","ipolygon","ipolyline","iputdata","iregister","ireset","iresolve","irotate","isa","isave","iscale","isetcurrent","isetproperty","ishft","isocontour","isosurface","isurface","itext","itranslate","ivector","ivolume","izoom","journal","json_parse","json_serialize","jul2greg","julday","keyword_set","krig2d","kurtosis","kw_test","l64indgen","la_choldc","la_cholmprove","la_cholsol","la_determ","la_eigenproblem","la_eigenql","la_eigenvec","la_elmhes","la_gm_linear_model","la_hqr","la_invert","la_least_square_equality","la_least_squares","la_linear_equation","la_ludc","la_lumprove","la_lusol","la_svd","la_tridc","la_trimprove","la_triql","la_trired","la_trisol","label_date","label_region","ladfit","laguerre","lambda","lambdap","lambertw","laplacian","least_squares_filter","leefilt","legend","legendre","linbcg","lindgen","linfit","linkimage","list","ll_arc_distance","lmfit","lmgr","lngamma","lnp_test","loadct","locale_get","logical_and","logical_or","logical_true","lon64arr","lonarr","long","long64","lsode","lu_complex","ludc","lumprove","lusol","m_correlate","machar","make_array","make_dll","make_rt","map","mapcontinents","mapgrid","map_2points","map_continents","map_grid","map_image","map_patch","map_proj_forward","map_proj_image","map_proj_info","map_proj_init","map_proj_inverse","map_set","matrix_multiply","matrix_power","max","md_test","mean","meanabsdev","mean_filter","median","memory","mesh_clip","mesh_decimate","mesh_issolid","mesh_merge","mesh_numtriangles","mesh_obj","mesh_smooth","mesh_surfacearea","mesh_validate","mesh_volume","message","min","min_curve_surf","mk_html_help","modifyct","moment","morph_close","morph_distance","morph_gradient","morph_hitormiss","morph_open","morph_thin","morph_tophat","multi","n_elements","n_params","n_tags","ncdf","newton","noise_hurl","noise_pick","noise_scatter","noise_slur","norm","obj_class","obj_destroy","obj_hasmethod","obj_isa","obj_new","obj_valid","objarr","on_error","on_ioerror","online_help","openr","openu","openw","oplot","oploterr","orderedhash","p_correlate","parse_url","particle_trace","path_cache","path_sep","pcomp","plot","plot3d","plot","plot_3dbox","plot_field","ploterr","plots","polar_contour","polar_surface","polyfill","polyshade","pnt_line","point_lun","polarplot","poly","poly_2d","poly_area","poly_fit","polyfillv","polygon","polyline","polywarp","popd","powell","pref_commit","pref_get","pref_set","prewitt","primes","print","printf","printd","pro","product","profile","profiler","profiles","project_vol","ps_show_fonts","psafm","pseudo","ptr_free","ptr_new","ptr_valid","ptrarr","pushd","qgrid3","qhull","qromb","qromo","qsimp","query_*","query_ascii","query_bmp","query_csv","query_dicom","query_gif","query_image","query_jpeg","query_jpeg2000","query_mrsid","query_pict","query_png","query_ppm","query_srf","query_tiff","query_video","query_wav","r_correlate","r_test","radon","randomn","randomu","ranks","rdpix","read","readf","read_ascii","read_binary","read_bmp","read_csv","read_dicom","read_gif","read_image","read_interfile","read_jpeg","read_jpeg2000","read_mrsid","read_pict","read_png","read_ppm","read_spr","read_srf","read_sylk","read_tiff","read_video","read_wav","read_wave","read_x11_bitmap","read_xwd","reads","readu","real_part","rebin","recall_commands","recon3","reduce_colors","reform","region_grow","register_cursor","regress","replicate","replicate_inplace","resolve_all","resolve_routine","restore","retall","return","reverse","rk4","roberts","rot","rotate","round","routine_filepath","routine_info","rs_test","s_test","save","savgol","scale3","scale3d","scatterplot","scatterplot3d","scope_level","scope_traceback","scope_varfetch","scope_varname","search2d","search3d","sem_create","sem_delete","sem_lock","sem_release","set_plot","set_shading","setenv","sfit","shade_surf","shade_surf_irr","shade_volume","shift","shift_diff","shmdebug","shmmap","shmunmap","shmvar","show3","showfont","signum","simplex","sin","sindgen","sinh","size","skewness","skip_lun","slicer3","slide_image","smooth","sobel","socket","sort","spawn","sph_4pnt","sph_scat","spher_harm","spl_init","spl_interp","spline","spline_p","sprsab","sprsax","sprsin","sprstp","sqrt","standardize","stddev","stop","strarr","strcmp","strcompress","streamline","streamline","stregex","stretch","string","strjoin","strlen","strlowcase","strmatch","strmessage","strmid","strpos","strput","strsplit","strtrim","struct_assign","struct_hide","strupcase","surface","surface","surfr","svdc","svdfit","svsol","swap_endian","swap_endian_inplace","symbol","systime","t_cvf","t_pdf","t3d","tag_names","tan","tanh","tek_color","temporary","terminal_size","tetra_clip","tetra_surface","tetra_volume","text","thin","thread","threed","tic","time_test2","timegen","timer","timestamp","timestamptovalues","tm_test","toc","total","trace","transpose","tri_surf","triangulate","trigrid","triql","trired","trisol","truncate_lun","ts_coef","ts_diff","ts_fcast","ts_smooth","tv","tvcrs","tvlct","tvrd","tvscl","typename","uindgen","uint","uintarr","ul64indgen","ulindgen","ulon64arr","ulonarr","ulong","ulong64","uniq","unsharp_mask","usersym","value_locate","variance","vector","vector_field","vel","velovect","vert_t3d","voigt","volume","voronoi","voxel_proj","wait","warp_tri","watershed","wdelete","wf_draw","where","widget_base","widget_button","widget_combobox","widget_control","widget_displaycontextmenu","widget_draw","widget_droplist","widget_event","widget_info","widget_label","widget_list","widget_propertysheet","widget_slider","widget_tab","widget_table","widget_text","widget_tree","widget_tree_move","widget_window","wiener_filter","window","window","write_bmp","write_csv","write_gif","write_image","write_jpeg","write_jpeg2000","write_nrif","write_pict","write_png","write_ppm","write_spr","write_srf","write_sylk","write_tiff","write_video","write_wav","write_wave","writeu","wset","wshow","wtn","wv_applet","wv_cwt","wv_cw_wavelet","wv_denoise","wv_dwt","wv_fn_coiflet","wv_fn_daubechies","wv_fn_gaussian","wv_fn_haar","wv_fn_morlet","wv_fn_paul","wv_fn_symlet","wv_import_data","wv_import_wavelet","wv_plot3d_wps","wv_plot_multires","wv_pwt","wv_tool_denoise","xbm_edit","xdisplayfile","xdxf","xfont","xinteranimate","xloadct","xmanager","xmng_tmpl","xmtool","xobjview","xobjview_rotate","xobjview_write_image","xpalette","xpcolor","xplot3d","xregistered","xroi","xsq_test","xsurface","xvaredit","xvolume","xvolume_rotate","xvolume_write_image","xyouts","zlib_compress","zlib_uncompress","zoom","zoom_24"],s=r(i),_=["begin","end","endcase","endfor","endwhile","endif","endrep","endforeach","break","case","continue","for","foreach","goto","if","then","else","repeat","until","switch","while","do","pro","function"],n=r(_);t.registerHelper("hintWords","idl",i.concat(_));var d=new RegExp("^[_a-z\xA1-\uFFFF][_a-z0-9\xA1-\uFFFF]*","i"),c=/[+\-*&=<>\/@#~$]/,p=new RegExp("(and|or|eq|lt|le|gt|ge|ne|not)","i");function m(e){return e.eatSpace()?null:e.match(";")?(e.skipToEnd(),"comment"):e.match(/^[0-9\.+-]/,!1)&&(e.match(/^[+-]?0x[0-9a-fA-F]+/)||e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/)||e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))?"number":e.match(/^"([^"]|(""))*"/)||e.match(/^'([^']|(''))*'/)?"string":e.match(n)?"keyword":e.match(s)?"builtin":e.match(d)?"variable":e.match(c)||e.match(p)?"operator":(e.next(),null)}t.defineMode("idl",function(){return{token:function(e){return m(e)}}}),t.defineMIME("text/x-idl","idl")})})();var g=l.exports,h=u({__proto__:null,default:g},[l.exports]);export{h as i};
|
|
1
|
+
import{y as f}from"./index.a6745321.entry.js";function u(a,o){return o.forEach(function(t){t&&typeof t!="string"&&!Array.isArray(t)&&Object.keys(t).forEach(function(r){if(r!=="default"&&!(r in a)){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(a,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}})}),Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var l={exports:{}};(function(a,o){(function(t){t(f.exports)})(function(t){function r(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var i=["a_correlate","abs","acos","adapt_hist_equal","alog","alog2","alog10","amoeba","annotate","app_user_dir","app_user_dir_query","arg_present","array_equal","array_indices","arrow","ascii_template","asin","assoc","atan","axis","axis","bandpass_filter","bandreject_filter","barplot","bar_plot","beseli","beselj","beselk","besely","beta","biginteger","bilinear","bin_date","binary_template","bindgen","binomial","bit_ffs","bit_population","blas_axpy","blk_con","boolarr","boolean","boxplot","box_cursor","breakpoint","broyden","bubbleplot","butterworth","bytarr","byte","byteorder","bytscl","c_correlate","calendar","caldat","call_external","call_function","call_method","call_procedure","canny","catch","cd","cdf","ceil","chebyshev","check_math","chisqr_cvf","chisqr_pdf","choldc","cholsol","cindgen","cir_3pnt","clipboard","close","clust_wts","cluster","cluster_tree","cmyk_convert","code_coverage","color_convert","color_exchange","color_quan","color_range_map","colorbar","colorize_sample","colormap_applicable","colormap_gradient","colormap_rotation","colortable","comfit","command_line_args","common","compile_opt","complex","complexarr","complexround","compute_mesh_normals","cond","congrid","conj","constrained_min","contour","contour","convert_coord","convol","convol_fft","coord2to3","copy_lun","correlate","cos","cosh","cpu","cramer","createboxplotdata","create_cursor","create_struct","create_view","crossp","crvlength","ct_luminance","cti_test","cursor","curvefit","cv_coord","cvttobm","cw_animate","cw_animate_getp","cw_animate_load","cw_animate_run","cw_arcball","cw_bgroup","cw_clr_index","cw_colorsel","cw_defroi","cw_field","cw_filesel","cw_form","cw_fslider","cw_light_editor","cw_light_editor_get","cw_light_editor_set","cw_orient","cw_palette_editor","cw_palette_editor_get","cw_palette_editor_set","cw_pdmenu","cw_rgbslider","cw_tmpl","cw_zoom","db_exists","dblarr","dcindgen","dcomplex","dcomplexarr","define_key","define_msgblk","define_msgblk_from_file","defroi","defsysv","delvar","dendro_plot","dendrogram","deriv","derivsig","determ","device","dfpmin","diag_matrix","dialog_dbconnect","dialog_message","dialog_pickfile","dialog_printersetup","dialog_printjob","dialog_read_image","dialog_write_image","dictionary","digital_filter","dilate","dindgen","dissolve","dist","distance_measure","dlm_load","dlm_register","doc_library","double","draw_roi","edge_dog","efont","eigenql","eigenvec","ellipse","elmhes","emboss","empty","enable_sysrtn","eof","eos","erase","erf","erfc","erfcx","erode","errorplot","errplot","estimator_filter","execute","exit","exp","expand","expand_path","expint","extract","extract_slice","f_cvf","f_pdf","factorial","fft","file_basename","file_chmod","file_copy","file_delete","file_dirname","file_expand_path","file_gunzip","file_gzip","file_info","file_lines","file_link","file_mkdir","file_move","file_poll_input","file_readlink","file_same","file_search","file_tar","file_test","file_untar","file_unzip","file_which","file_zip","filepath","findgen","finite","fix","flick","float","floor","flow3","fltarr","flush","format_axis_values","forward_function","free_lun","fstat","fulstr","funct","function","fv_test","fx_root","fz_roots","gamma","gamma_ct","gauss_cvf","gauss_pdf","gauss_smooth","gauss2dfit","gaussfit","gaussian_function","gaussint","get_drive_list","get_dxf_objects","get_kbrd","get_login_info","get_lun","get_screen_size","getenv","getwindows","greg2jul","grib","grid_input","grid_tps","grid3","griddata","gs_iter","h_eq_ct","h_eq_int","hanning","hash","hdf","hdf5","heap_free","heap_gc","heap_nosave","heap_refcount","heap_save","help","hilbert","hist_2d","hist_equal","histogram","hls","hough","hqr","hsv","i18n_multibytetoutf8","i18n_multibytetowidechar","i18n_utf8tomultibyte","i18n_widechartomultibyte","ibeta","icontour","iconvertcoord","idelete","identity","idl_base64","idl_container","idl_validname","idlexbr_assistant","idlitsys_createtool","idlunit","iellipse","igamma","igetcurrent","igetdata","igetid","igetproperty","iimage","image","image_cont","image_statistics","image_threshold","imaginary","imap","indgen","int_2d","int_3d","int_tabulated","intarr","interpol","interpolate","interval_volume","invert","ioctl","iopen","ir_filter","iplot","ipolygon","ipolyline","iputdata","iregister","ireset","iresolve","irotate","isa","isave","iscale","isetcurrent","isetproperty","ishft","isocontour","isosurface","isurface","itext","itranslate","ivector","ivolume","izoom","journal","json_parse","json_serialize","jul2greg","julday","keyword_set","krig2d","kurtosis","kw_test","l64indgen","la_choldc","la_cholmprove","la_cholsol","la_determ","la_eigenproblem","la_eigenql","la_eigenvec","la_elmhes","la_gm_linear_model","la_hqr","la_invert","la_least_square_equality","la_least_squares","la_linear_equation","la_ludc","la_lumprove","la_lusol","la_svd","la_tridc","la_trimprove","la_triql","la_trired","la_trisol","label_date","label_region","ladfit","laguerre","lambda","lambdap","lambertw","laplacian","least_squares_filter","leefilt","legend","legendre","linbcg","lindgen","linfit","linkimage","list","ll_arc_distance","lmfit","lmgr","lngamma","lnp_test","loadct","locale_get","logical_and","logical_or","logical_true","lon64arr","lonarr","long","long64","lsode","lu_complex","ludc","lumprove","lusol","m_correlate","machar","make_array","make_dll","make_rt","map","mapcontinents","mapgrid","map_2points","map_continents","map_grid","map_image","map_patch","map_proj_forward","map_proj_image","map_proj_info","map_proj_init","map_proj_inverse","map_set","matrix_multiply","matrix_power","max","md_test","mean","meanabsdev","mean_filter","median","memory","mesh_clip","mesh_decimate","mesh_issolid","mesh_merge","mesh_numtriangles","mesh_obj","mesh_smooth","mesh_surfacearea","mesh_validate","mesh_volume","message","min","min_curve_surf","mk_html_help","modifyct","moment","morph_close","morph_distance","morph_gradient","morph_hitormiss","morph_open","morph_thin","morph_tophat","multi","n_elements","n_params","n_tags","ncdf","newton","noise_hurl","noise_pick","noise_scatter","noise_slur","norm","obj_class","obj_destroy","obj_hasmethod","obj_isa","obj_new","obj_valid","objarr","on_error","on_ioerror","online_help","openr","openu","openw","oplot","oploterr","orderedhash","p_correlate","parse_url","particle_trace","path_cache","path_sep","pcomp","plot","plot3d","plot","plot_3dbox","plot_field","ploterr","plots","polar_contour","polar_surface","polyfill","polyshade","pnt_line","point_lun","polarplot","poly","poly_2d","poly_area","poly_fit","polyfillv","polygon","polyline","polywarp","popd","powell","pref_commit","pref_get","pref_set","prewitt","primes","print","printf","printd","pro","product","profile","profiler","profiles","project_vol","ps_show_fonts","psafm","pseudo","ptr_free","ptr_new","ptr_valid","ptrarr","pushd","qgrid3","qhull","qromb","qromo","qsimp","query_*","query_ascii","query_bmp","query_csv","query_dicom","query_gif","query_image","query_jpeg","query_jpeg2000","query_mrsid","query_pict","query_png","query_ppm","query_srf","query_tiff","query_video","query_wav","r_correlate","r_test","radon","randomn","randomu","ranks","rdpix","read","readf","read_ascii","read_binary","read_bmp","read_csv","read_dicom","read_gif","read_image","read_interfile","read_jpeg","read_jpeg2000","read_mrsid","read_pict","read_png","read_ppm","read_spr","read_srf","read_sylk","read_tiff","read_video","read_wav","read_wave","read_x11_bitmap","read_xwd","reads","readu","real_part","rebin","recall_commands","recon3","reduce_colors","reform","region_grow","register_cursor","regress","replicate","replicate_inplace","resolve_all","resolve_routine","restore","retall","return","reverse","rk4","roberts","rot","rotate","round","routine_filepath","routine_info","rs_test","s_test","save","savgol","scale3","scale3d","scatterplot","scatterplot3d","scope_level","scope_traceback","scope_varfetch","scope_varname","search2d","search3d","sem_create","sem_delete","sem_lock","sem_release","set_plot","set_shading","setenv","sfit","shade_surf","shade_surf_irr","shade_volume","shift","shift_diff","shmdebug","shmmap","shmunmap","shmvar","show3","showfont","signum","simplex","sin","sindgen","sinh","size","skewness","skip_lun","slicer3","slide_image","smooth","sobel","socket","sort","spawn","sph_4pnt","sph_scat","spher_harm","spl_init","spl_interp","spline","spline_p","sprsab","sprsax","sprsin","sprstp","sqrt","standardize","stddev","stop","strarr","strcmp","strcompress","streamline","streamline","stregex","stretch","string","strjoin","strlen","strlowcase","strmatch","strmessage","strmid","strpos","strput","strsplit","strtrim","struct_assign","struct_hide","strupcase","surface","surface","surfr","svdc","svdfit","svsol","swap_endian","swap_endian_inplace","symbol","systime","t_cvf","t_pdf","t3d","tag_names","tan","tanh","tek_color","temporary","terminal_size","tetra_clip","tetra_surface","tetra_volume","text","thin","thread","threed","tic","time_test2","timegen","timer","timestamp","timestamptovalues","tm_test","toc","total","trace","transpose","tri_surf","triangulate","trigrid","triql","trired","trisol","truncate_lun","ts_coef","ts_diff","ts_fcast","ts_smooth","tv","tvcrs","tvlct","tvrd","tvscl","typename","uindgen","uint","uintarr","ul64indgen","ulindgen","ulon64arr","ulonarr","ulong","ulong64","uniq","unsharp_mask","usersym","value_locate","variance","vector","vector_field","vel","velovect","vert_t3d","voigt","volume","voronoi","voxel_proj","wait","warp_tri","watershed","wdelete","wf_draw","where","widget_base","widget_button","widget_combobox","widget_control","widget_displaycontextmenu","widget_draw","widget_droplist","widget_event","widget_info","widget_label","widget_list","widget_propertysheet","widget_slider","widget_tab","widget_table","widget_text","widget_tree","widget_tree_move","widget_window","wiener_filter","window","window","write_bmp","write_csv","write_gif","write_image","write_jpeg","write_jpeg2000","write_nrif","write_pict","write_png","write_ppm","write_spr","write_srf","write_sylk","write_tiff","write_video","write_wav","write_wave","writeu","wset","wshow","wtn","wv_applet","wv_cwt","wv_cw_wavelet","wv_denoise","wv_dwt","wv_fn_coiflet","wv_fn_daubechies","wv_fn_gaussian","wv_fn_haar","wv_fn_morlet","wv_fn_paul","wv_fn_symlet","wv_import_data","wv_import_wavelet","wv_plot3d_wps","wv_plot_multires","wv_pwt","wv_tool_denoise","xbm_edit","xdisplayfile","xdxf","xfont","xinteranimate","xloadct","xmanager","xmng_tmpl","xmtool","xobjview","xobjview_rotate","xobjview_write_image","xpalette","xpcolor","xplot3d","xregistered","xroi","xsq_test","xsurface","xvaredit","xvolume","xvolume_rotate","xvolume_write_image","xyouts","zlib_compress","zlib_uncompress","zoom","zoom_24"],s=r(i),_=["begin","end","endcase","endfor","endwhile","endif","endrep","endforeach","break","case","continue","for","foreach","goto","if","then","else","repeat","until","switch","while","do","pro","function"],n=r(_);t.registerHelper("hintWords","idl",i.concat(_));var d=new RegExp("^[_a-z\xA1-\uFFFF][_a-z0-9\xA1-\uFFFF]*","i"),c=/[+\-*&=<>\/@#~$]/,p=new RegExp("(and|or|eq|lt|le|gt|ge|ne|not)","i");function m(e){return e.eatSpace()?null:e.match(";")?(e.skipToEnd(),"comment"):e.match(/^[0-9\.+-]/,!1)&&(e.match(/^[+-]?0x[0-9a-fA-F]+/)||e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/)||e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))?"number":e.match(/^"([^"]|(""))*"/)||e.match(/^'([^']|(''))*'/)?"string":e.match(n)?"keyword":e.match(s)?"builtin":e.match(d)?"variable":e.match(c)||e.match(p)?"operator":(e.next(),null)}t.defineMode("idl",function(){return{token:function(e){return m(e)}}}),t.defineMIME("text/x-idl","idl")})})();var g=l.exports,h=u({__proto__:null,default:g},[l.exports]);export{h as i};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as t,o as r,b as i,w as o,
|
|
1
|
+
import{a as t,o as r,b as i,w as o,l as e,E as s}from"./runtime-core.esm-bundler.32cac88a.js";const c=e("div",{class:"markdown-body"},[e("p",null,[s("Deploying directus to IIS will require "),e("a",{href:"https://github.com/Azure/iisnode",target:"_blank",rel:"noopener noreferrer"},"iisnode"),s(", the IIS URL Rewrite module, an entrypoint file, and some specific web.config configurations.")]),e("h2",{id:"iisnode",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#iisnode"},"#"),s(" iisnode")]),e("p",null,[s("iisnode can be downloaded from the "),e("a",{href:"https://github.com/Azure/iisnode/releases",target:"_blank",rel:"noopener noreferrer"},"azure/iisnode releases"),s(" page.")]),e("h2",{id:"iis-url-rewrite-module",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#iis-url-rewrite-module"},"#"),s(" IIS URL Rewrite module")]),e("p",null,[s("The URL Rewrite module can be downloaded from the "),e("a",{href:"https://www.iis.net/downloads/microsoft/url-rewrite",target:"_blank",rel:"noopener noreferrer"},"Microsoft IIS website"),s(".")]),e("h2",{id:"entrypoint",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#entrypoint"},"#"),s(" Entrypoint")]),e("p",null,[s("iisnode acts as a reverse proxy, and simply forwards requests to files based on any rewrite rules and the files available. Since iisnode simply pipes requests to files, running the directus CLI directly won\u2019t work. To get around this, use an entrypoint script like the "),e("code",null,"index.js"),s(" below.")]),e("pre",null,[e("code",{class:"language-js"},[e("span",{class:"hljs-keyword"},"var"),s(" { startServer } = "),e("span",{class:"hljs-built_in"},"require"),s("("),e("span",{class:"hljs-string"},"'directus/server'"),s(`);
|
|
2
2
|
|
|
3
3
|
`),e("span",{class:"hljs-title function_"},"startServer"),s(`();
|
|
4
4
|
`)])]),e("h2",{id:"web.config",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#web.config"},"#"),s(" web.config")]),e("p",null,"With an entrypoint created, add a web.config to the root of the project. The following web.config is a simple example of running directus with iisnode"),e("pre",null,[e("code",{class:"language-xml"},[e("span",{class:"hljs-meta"},[s("<?xml version="),e("span",{class:"hljs-string"},'"1.0"'),s(" encoding="),e("span",{class:"hljs-string"},'"utf-8"'),s("?>")]),s(`
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as r,o as d,b as p,w as o,
|
|
1
|
+
import{a as r,o as d,b as p,w as o,l as e,e as l,E as t}from"./runtime-core.esm-bundler.32cac88a.js";const c={class:"markdown-body"},h=e("blockquote",null,[e("p",null,"The Content, User Directory, and File Library modules allow importing and exporting of multiple Items stored as files. This makes it quick and easy to handle tasks like uploading and downloading new customer information; pulling down sales data for transformation, reports, analysis, and beyond.")],-1),m={class:"tip hint"},u=e("div",{class:"hint-title"},"Before You Begin",-1),_=t("To use this utility, you will need to be familiar with "),x=t("Collections"),f=t(", "),g=t("Items"),y=t(", and "),w=t("Fields"),I=t("."),b={class:"tip hint"},v=e("div",{class:"hint-title"},"Import / Export via the API",-1),F=t("This page details Importing and Exporting of Items as files via the no-code app. However, you can also "),C=t("Import"),E=t(" and "),k=t("Export"),L=t(" Items as files programmatically via the API."),T=e("h2",{id:"import-items",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#import-items"},"#"),t(" Import Items")],-1),S=e("video",{autoplay:"",playsinline:"",muted:"",loop:"",controls:"",title:"Import Data From a File"},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/imports-exports/imports-exports-20220415A/import-items-20220416A.mp4",type:"video/mp4"})],-1),A=e("p",null,"To import Items from a file, follow the steps below.",-1),D=e("ol",null,[e("li",null,[t("Navigate to the desired Module and Collection."),e("br"),t(" Note: the User Directory and File Library are each composed of just one Collection.")]),e("li",null,[t("Click "),e("strong",null,"\u201CImport / Export\u201D"),t(" in the Sidebar.")]),e("li",null,"Click into the import search box. A file browser will open."),e("li",null,[t("Select the desired file and click "),e("strong",null,"\u201Copen\u201D"),t(".")]),e("li",null,[t("Click "),e("strong",null,"\u201CStart Import\u201D"),t(" to import the Items.")])],-1),M=e("p",null,"The Items will now be in the Collection. The file itself will not be stored in the Directus Project.",-1),N=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Importing Relational Files"),e("p",null,"It is possible to import relational Field values as well. For this task, the User performing the import will need access permissions for the related Collection and a firm understanding of the relational data model.")],-1),U=e("h2",{id:"export-items",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#export-items"},"#"),t(" Export Items")],-1),V=e("video",{autoplay:"",playsinline:"",muted:"",loop:"",controls:"",title:"Export Data to a File"},[e("source",{src:`https://cdn.directus.io/docs/v9/app-guide/imports-exports/imports-exports-20220415A/export-items-20220416A.mp4
|
|
2
2
|
`,type:"video/mp4"})],-1),B=e("p",null,[t("When exporting Items, the "),e("a",{href:"#export-items-menu"},"Export Items Menu"),t(" provides granular control over exactly which Items and Fields are exported, how they are exported, and where they are exported. To export Items, follow the steps below.")],-1),O=e("ol",null,[e("li",null,[t("Navigate to the desired Module and Collection."),e("br"),t(" Note: the User Directory and File Library are each composed of one Collection.")]),e("li",null,[t("Click "),e("strong",null,"\u201CImport / Export\u201D"),t(" in the Sidebar.")]),e("li",null,[t("Click "),e("strong",null,"\u201CExport Items\u201D"),t(" and the "),e("a",{href:"#export-items-menu"},"Export Items Menu"),t(" will appear.")]),e("li",null,"Choose the desired format: CSV, JSON or XML."),e("li",null,[e("strong",null,"Optional:"),t(" Configure any other export details as desired.")]),e("li",null,[t("Click "),e("span",{mi:"",btn:""},"download"),t(" to download the file.")])],-1),P=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Opening the file in Excel?"),e("p",null,"Export your file to CSV to seamlessly open in excel.")],-1),j=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Exporting to File Library"),e("p",null,"When downloading 2,500 or more Items, you will be required to download into the Directus Project\u2019s File Library. After exporting, go to the File Library to download your file locally.")],-1),q=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Exporting Relational Files"),e("p",null,"It is possible to export relational Field values. For this task, the User performing the export will need access permissions for the related Collection and a firm understanding of the relational data model.")],-1),W=e("h2",{id:"export-items-menu",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#export-items-menu"},"#"),t(" Export Items Menu")],-1),J=e("video",{autoplay:"",playsinline:"",muted:"",loop:"",controls:"",title:"Export Data to a File"},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/imports-exports/imports-exports-20220415A/export-items-menu-20220416A.mp4",type:"video/mp4"})],-1),R=e("p",null,"This menu provides granular control over exactly which Items and Fields are exported, how they are exported, and where they are exported.",-1),X=e("ul",null,[e("li",null,[e("strong",null,"Format"),t(" \u2014 Choose to export Items as CSV, JSON, or XML.")]),e("li",null,[e("strong",null,"Limit"),t(" \u2014 Set the maximum number of Items to be exported.")]),e("li",null,[e("strong",null,"Export Location"),t(" \u2014 Download the export file directly to your machine or to the File Library.")]),e("li",null,[e("strong",null,"Folder"),t(" \u2014 Choose the Folder to download to "),e("em",null,"(if export location is the Folder Library)"),t(".")]),e("li",null,[e("strong",null,"Sort Field"),t(" \u2014 Choose Field to sort Items by.")]),e("li",null,[e("strong",null,"Sort Direction"),t(" \u2014 Choose to sort Items in ascending or descending order.")]),e("li",null,[e("strong",null,"Full-Text Search"),t(" \u2014 Limit exported Items to ones which matched as search results.")]),e("li",null,[e("strong",null,"Filter"),t(" \u2014 Limit exported Items with a Filter.")]),e("li",null,[e("strong",null,"Fields"),t(" \u2014 Add, remove, and re-order the Item Fields that will be exported.")])],-1),H=e("h2",{id:"file-assets-and-media",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#file-assets-and-media"},"#"),t(" File Assets and Media")],-1),Y=e("p",null,"Some Collections may directly or relationally include Fields referencing images, videos or other file types. It is not possible to import or export files with this utility.",-1),z=t("To import and export files, please see the "),G=t("File Library Module"),K=t("."),Q=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"What does Import/Export do in the File Library?!"),e("p",null,[t("Import/Export handles Field Values associated with the file "),e("em",null,"(e.g. id, title, description, etc.)"),t(".")])],-1),oe="Import / Export",ie=!1,le="The Content, User Directory, and File Library modules allow importing and exporting of multiple Items stored as files.",se="4 min read",re={name:"import-export",setup(Z,{expose:n}){const s={title:"Import / Export",modularExtension:!1,description:"The Content, User Directory, and File Library modules allow importing and exporting of multiple Items stored as files.",readTime:"4 min read"};return n({frontmatter:s}),($,ee)=>{const i=r("router-link"),a=r("docs-wrapper");return d(),p(a,{frontmatter:s},{default:o(()=>[e("div",c,[h,e("div",m,[u,e("p",null,[_,l(i,{to:"/docs/getting-started/glossary#collections"},{default:o(()=>[x]),_:1}),f,l(i,{to:"/docs/getting-started/glossary#items"},{default:o(()=>[g]),_:1}),y,l(i,{to:"/docs/getting-started/glossary#fields"},{default:o(()=>[w]),_:1}),I])]),e("div",b,[v,e("p",null,[F,l(i,{to:"/docs/reference/system/utilities#import-data-from-file"},{default:o(()=>[C]),_:1}),E,l(i,{to:"/docs/reference/system/utilities#export-data-to-a-file"},{default:o(()=>[k]),_:1}),L])]),T,S,A,D,M,N,U,V,B,O,P,j,q,W,J,R,X,H,Y,e("p",null,[z,l(i,{to:"/docs/app/file-library"},{default:o(()=>[G]),_:1}),K]),Q])]),_:1})}}};export{re as default,le as description,ie as modularExtension,se as readTime,oe as title};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as j}from"./use-sync.
|
|
1
|
+
import{f as j}from"./use-sync.3af8e920.js";import{b as D,a as q,d as z,c as O}from"./index.2f10fad2.js";function T(n,a){return a.forEach(function(e){e&&typeof e!="string"&&!Array.isArray(e)&&Object.keys(e).forEach(function(i){if(i!=="default"&&!(i in n)){var r=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(n,i,r.get?r:{enumerable:!0,get:function(){return e[i]}})}})}),Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var v={exports:{}},P={exports:{}};(function(n,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=i;var e={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"cerca de 1 hora",other:"cerca de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"cerca de 1 semana",other:"cerca de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"cerca de 1 m\xEAs",other:"cerca de {{count}} meses"},xMonths:{one:"1 m\xEAs",other:"{{count}} meses"},aboutXYears:{one:"cerca de 1 ano",other:"cerca de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}};function i(r,d,o){o=o||{};var t;return typeof e[r]=="string"?t=e[r]:d===1?t=e[r].one:t=e[r].other.replace("{{count}}",d),o.addSuffix?o.comparison>0?"em "+t:"h\xE1 "+t:t}n.exports=a.default})(P,P.exports);var _={exports:{}};(function(n,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var e=i(D.exports);function i(s){return s&&s.__esModule?s:{default:s}}var r={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/yyyy"},d={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},o={full:"{{date}} '\xE0s' {{time}}",long:"{{date}} '\xE0s' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},t={date:(0,e.default)({formats:r,defaultWidth:"full"}),time:(0,e.default)({formats:d,defaultWidth:"full"}),dateTime:(0,e.default)({formats:o,defaultWidth:"full"})},u=t;a.default=u,n.exports=a.default})(_,_.exports);var M={exports:{}};(function(n,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=i;var e={lastWeek:function(r,d,o){var t=r.getUTCDay(),u=t===0||t===6?"\xFAltimo":"\xFAltima";return"'"+u+"' eeee '\xE0s' p"},yesterday:"'ontem \xE0s' p",today:"'hoje \xE0s' p",tomorrow:"'amanh\xE3 \xE0s' p",nextWeek:"eeee '\xE0s' p",other:"P"};function i(r,d,o,t){var u=e[r];return typeof u=="function"?u(d,o,t):u}n.exports=a.default})(M,M.exports);var x={exports:{}};(function(n,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var e=i(q.exports);function i(m){return m&&m.__esModule?m:{default:m}}var r={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","depois de cristo"]},d={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1\xBA trimestre","2\xBA trimestre","3\xBA trimestre","4\xBA trimestre"]},o={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","mar\xE7o","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},t={narrow:["D","S","T","Q","Q","S","S"],short:["dom","seg","ter","qua","qui","sex","sab"],abbreviated:["domingo","segunda","ter\xE7a","quarta","quinta","sexta","s\xE1bado"],wide:["domingo","segunda-feira","ter\xE7a-feira","quarta-feira","quinta-feira","sexta-feira","s\xE1bado"]},u={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"manh\xE3",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manh\xE3",afternoon:"tarde",evening:"tarde",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"manh\xE3",afternoon:"tarde",evening:"tarde",night:"noite"}},s={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da manh\xE3",afternoon:"da tarde",evening:"da tarde",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manh\xE3",afternoon:"da tarde",evening:"da tarde",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"da manh\xE3",afternoon:"da tarde",evening:"da tarde",night:"da noite"}};function l(m,b){var c=Number(m),y=b||{},h=String(y.unit);return h==="week"||h==="isoWeek"?c+"\xAA":c+"\xBA"}var p={ordinalNumber:l,era:(0,e.default)({values:r,defaultWidth:"wide"}),quarter:(0,e.default)({values:d,defaultWidth:"wide",argumentCallback:function(m){return Number(m)-1}}),month:(0,e.default)({values:o,defaultWidth:"wide"}),day:(0,e.default)({values:t,defaultWidth:"wide"}),dayPeriod:(0,e.default)({values:u,defaultWidth:"wide",formattingValues:s,defaultFormattingWidth:"wide"})},g=p;a.default=g,n.exports=a.default})(x,x.exports);var w={exports:{}};(function(n,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var e=r(z.exports),i=r(O.exports);function r(f){return f&&f.__esModule?f:{default:f}}var d=/^(\d+)[ºªo]?/i,o=/\d+/i,t={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|d\.?\s?c\.?)/i,wide:/^(antes de cristo|depois de cristo)/i},u={any:[/^ac/i,/^dc/i],wide:[/^antes de cristo/i,/^depois de cristo/i]},s={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},l={any:[/1/i,/2/i,/3/i,/4/i]},p={narrow:/^[jfmajsond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},g={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^fev/i,/^mar/i,/^abr/i,/^mai/i,/^jun/i,/^jul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dez/i]},m={narrow:/^(dom|[23456]ª?|s[aá]b)/i,short:/^(dom|[23456]ª?|s[aá]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[aá]b)/i,wide:/^(domingo|(segunda|ter[cç]a|quarta|quinta|sexta)([- ]feira)?|s[aá]bado)/i},b={short:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],narrow:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[aá]b/i]},c={narrow:/^(a|p|mn|md|(da) (manhã|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(da) (manhã|tarde|noite))/i},y={any:{am:/^a/i,pm:/^p/i,midnight:/^mn|^meia[-\s]noite/i,noon:/^md|^meio[-\s]dia/i,morning:/manhã/i,afternoon:/tarde/i,evening:/tarde/i,night:/noite/i}},h={ordinalNumber:(0,i.default)({matchPattern:d,parsePattern:o,valueCallback:function(f){return parseInt(f,10)}}),era:(0,e.default)({matchPatterns:t,defaultMatchWidth:"wide",parsePatterns:u,defaultParseWidth:"any"}),quarter:(0,e.default)({matchPatterns:s,defaultMatchWidth:"wide",parsePatterns:l,defaultParseWidth:"any",valueCallback:function(f){return f+1}}),month:(0,e.default)({matchPatterns:p,defaultMatchWidth:"wide",parsePatterns:g,defaultParseWidth:"any"}),day:(0,e.default)({matchPatterns:m,defaultMatchWidth:"wide",parsePatterns:b,defaultParseWidth:"any"}),dayPeriod:(0,e.default)({matchPatterns:c,defaultMatchWidth:"any",parsePatterns:y,defaultParseWidth:"any"})},W=h;a.default=W,n.exports=a.default})(w,w.exports);(function(n,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var e=t(P.exports),i=t(_.exports),r=t(M.exports),d=t(x.exports),o=t(w.exports);function t(l){return l&&l.__esModule?l:{default:l}}var u={code:"pt-BR",formatDistance:e.default,formatLong:i.default,formatRelative:r.default,localize:d.default,match:o.default,options:{weekStartsOn:0,firstWeekContainsDate:1}},s=u;a.default=s,n.exports=a.default})(v,v.exports);var C=j(v.exports),R=T({__proto__:null,default:C},[v.exports]);export{R as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as s,o as c,b as r,w as t,g as e,e as o,B as i}from"./runtime-core.esm-bundler.e3d5f5b7.js";const u={class:"markdown-body"},h=e("blockquote",null,[e("p",null,[i("Fields are database columns. Fields also enable you to manage the backend logic "),e("em",null,"(such as conditional display logic, input verification rules, etc.)"),i(" and frontend design used to display its data "),e("em",null,"(e.g., whether data will display in a table or on a map)"),i(".")])],-1),f=e("h2",{id:"overview",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#overview"},"#"),i(" Overview")],-1),p=e("video",{title:"Fields Overview",autoplay:"",playsinline:"",muted:"",loop:"",controls:""},[e("source",{src:"https://cdn.directus.io/docs/v9/configuration/data-model/data-model-20220805/fields-20220805A.mp4",type:"video/mp4"})],-1),_=e("p",null,[i("To access a collection\u2019s fields, navigate to "),e("strong",null,"Settings > Data Model > [Collection]"),i(". From here, you can click a field to access its "),e("strong",null,"Configuration Drawer"),i(" and make advanced configurations. You also have the following controls for each field.")],-1),m=e("strong",null,"Fields and Layout",-1),g=i(" \u2014 Create, view, and configure a collection\u2019s fields as well as adjust how they are displayed and ordered on the "),v=i("Item Details Page"),y=i(". This section also provides access to the "),w=e("strong",null,"Field Context Menu",-1),b=i(" and "),C=e("strong",null,"Field Configuration Drawer",-1),F=i(", described below."),D=e("p",null,[e("strong",null,[i("Field Context Menu "),e("span",{mi:"",icon:""},"more_vert")]),i(" \u2014 Contains the following controls:")],-1),k=e("ul",null,[e("li",null,[e("a",{href:"#configure-a-field"},[e("span",{mi:"",icon:""},"edit"),i(" Edit Field")]),i(" \u2014 Opens the "),e("strong",null,"Field Configuration Drawer"),i(".")]),e("li",null,[e("a",{href:"#duplicate-a-field"},[e("span",{mi:"",icon:""},"content_copy"),i(" Duplicate Field")]),i(" \u2014 Duplicates a field along with all of its configuration options.")]),e("li",null,[e("a",{href:"#toggle-field-visibility-for-admins"},[e("span",{mi:"",icon:""},"visibility_off"),i(" Hide Field on Detail")]),i(" \u2014 Toggle field visibility on the Item Detail Page for Admin Users.")]),e("li",null,[e("a",{href:"#adjust-field-width"},"Width"),i(" \u2014 Fields have three different width options: "),e("ul",null,[e("li",null,[e("span",{mi:"",icon:""},"border_vertical"),i(" Half Width \u2014 The field input is shown at half the form width. ")]),e("li",null,[e("span",{mi:"",icon:""},"border_right"),i(" Full Width \u2014 The default. The field input is shown at the full form width. ")]),e("li",null,[e("span",{mi:"",icon:""},"aspect_ratio"),i(" Fill Width \u2014 The field input is shown filling the full width of the page area. ")])])])],-1),T=e("p",null,[e("strong",null,"The Field Configuration Drawer"),i(" \u2014 Provides all "),e("a",{href:"#configure-a-field"},"field configuration"),i(" options.")],-1),A=e("h2",{id:"create-a-field-(standard)",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#create-a-field-(standard)"},"#"),i(" Create a Field (Standard)")],-1),x=e("video",{title:"Create a Field (Standard)",autoplay:"",playsinline:"",muted:"",loop:"",controls:""},[e("source",{src:"https://cdn.directus.io/docs/v9/configuration/data-model/fields/fields-20220805/create-a-field-20220805A.mp4",type:"video/mp4"})],-1),S=e("p",null,[i("To make field configuration as intuitive and easy as possible, a template wizard is provided so that you can create fields pre-configured for common use-cases. When you create a field this way, you will still have full power to "),e("a",{href:"#configure-a-field"},"configure the field"),i(" as desired.")],-1),N=e("ol",null,[e("li",null,[i("Navigate to "),e("strong",null,"Settings > Data Model > [Collection]"),i(".")]),e("li",null,[i("Under "),e("strong",null,"Fields & Layout"),i(", click the "),e("strong",null,"Create Field"),i(" button."),e("br"),i(" A side drawer will open, with various pre-configured Interfaces to choose from.")]),e("li",null,"Click to select the desired field and a basic configuration menu will open."),e("li",null,[i("Add a "),e("strong",null,"Field Key"),i(", "),e("em",null,"which is also used as the default field name"),i("."),e("br"),i(" Optional: Configure the other field details as desired."),e("br"),i(" Optional: Click "),e("a",{href:"#create-a-field-advanced"},"Continue in Advanced Field Creation Mode"),i(".")]),e("li",null,[i("When you are ready, click "),e("strong",null,"Save"),i(" to confirm.")])],-1),W=e("h2",{id:"create-a-field-(advanced)",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#create-a-field-(advanced)"},"#"),i(" Create a Field (Advanced)")],-1),M=e("video",{title:"Create a Field (Advanced)",autoplay:"",playsinline:"",muted:"",loop:"",controls:""},[e("source",{src:"https://cdn.directus.io/docs/v9/configuration/data-model/fields/fields-20220805/create-a-field-advanced-20220805A.mp4",type:"video/mp4"})],-1),j=e("p",null,[i("This field creation method opens the "),e("strong",null,"Field Configuration Drawer"),i(" so you can customize every field detail from the start. To create a field in advanced mode, follow these steps.")],-1),I=e("ol",null,[e("li",null,[i("Navigate to "),e("strong",null,"Settings > Data Model > [Collection Name]"),i(".")]),e("li",null,[i("Under "),e("strong",null,"Fields & Layout"),i(", click the "),e("strong",null,"Create Field in Advanced Mode"),i(" button."),e("br"),i(" A dropdown menu will appear with various field types to choose from.")]),e("li",null,[i("Click to choose the field type and the "),e("strong",null,"Field Configuration Drawer"),i(" will open.")]),e("li",null,"Configure your field as desired."),e("li",null,[i("Click "),e("span",{mi:"",btn:""},"check"),i(" to confirm.")])],-1),P=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Database Columns"),e("p",null,"Remember, a field is a database column. Therefore, you can create a column directly in the database and it will automatically appear within Directus. You can then enhance the experience further by configuring it as desired.")],-1),L=e("h2",{id:"configure-a-field",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#configure-a-field"},"#"),i(" Configure a Field")],-1),O=e("video",{title:"Configure a Field",autoplay:"",playsinline:"",muted:"",loop:"",controls:""},[e("source",{src:"https://cdn.directus.io/docs/v9/configuration/data-model/fields/fields-20220805/configure-a-field-20220805A.mp4",type:"video/mp4"})],-1),V=e("p",null,[i("Fields are configured in the "),e("strong",null,"Field Configuration Drawer"),i(", which is composed of eight sections. These provide extensive customization options, from the database column\u2019s details, to how it is displayed and interacted with, and even custom input validation and conditional display logic. To configure a field, follow these steps.")],-1),H=e("li",null,[i("Navigate to "),e("strong",null,"Settings > Data Model > [Collection Name]"),i(".")],-1),B=e("li",null,[i("Under "),e("strong",null,"Fields & Layout"),i(", click the field you want to update."),e("br"),i(" The "),e("strong",null,"Field Configuration Drawer"),i(" will open.")],-1),U=i("Navigate to one of these sections and configure the field as desired: "),z=e("li",null,[e("strong",null,"Schema"),i(" \u2014 Defines the database column schema for the field.")],-1),E=e("li",null,[e("strong",null,"Relationship"),i(" \u2014 Controls "),e("em",null,"and only appears when configuring relational"),i(" field details.")],-1),R=e("li",null,[e("strong",null,"Translations"),i(" \u2014 Controls "),e("em",null,"and only appears when configuring translation"),i(" field details.")],-1),G=e("strong",null,"Field",-1),K=i(" \u2014 Sets details for the field input, which is displayed on the "),Y=i("item page"),q=i("."),J=e("li",null,[e("strong",null,"Interface"),i(" \u2014 Configures how you interact with the field\u2019s values.")],-1),Q=e("li",null,[e("strong",null,"Display"),i(" \u2014 Configures how field values are displayed in the Data Studio.")],-1),X=e("li",null,[e("strong",null,"Validation"),i(" \u2014 Creates a filter to determine valid user input.")],-1),Z=e("li",null,[e("strong",null,"Conditions"),i(" \u2014 Alters the current field\u2019s setup based on the values of other fields.")],-1),$=e("li",null,[i("Click "),e("span",{mi:"",btn:""},"check"),i(" to confirm.")],-1),ee=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Fields in System Collections"),e("p",null,"While all out-of-the-box fields within system collections are locked from configuration or deletion, you are able to create new fields within system collections.")],-1),ie=e("h2",{id:"duplicate-a-field",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#duplicate-a-field"},"#"),i(" Duplicate a Field")],-1),te=e("video",{title:"Duplicate a Field",autoplay:"",playsinline:"",muted:"",loop:"",controls:""},[e("source",{src:"https://cdn.directus.io/docs/v9/configuration/data-model/fields/fields-20220805/duplicate-a-field-20220805A.mp4",type:"video/mp4"})],-1),le=e("p",null,"To duplicate a field, follow these steps.",-1),oe=e("ol",null,[e("li",null,[i("Navigate to "),e("strong",null,"Settings > Data Model > [Collection Name]"),i(".")]),e("li",null,[i("Click the "),e("span",{mi:"",icon:""},"more_vert"),i(" icon for the field you want to duplicate.")]),e("li",null,[i("Click the "),e("span",{mi:"",icon:""},"content_copy"),i(),e("strong",null,"Duplicate Field"),i(" option.")]),e("li",null,"Choose the collection you\u2019d like to create the field in and set the Field Name.")],-1),ne=e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"Relational and Primary Key Fields"),e("p",null,"Currently, it is not possible to duplicate relational fields or a collection\u2019s primary key.")],-1),se=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Duplicates Configurations Only"),e("p",null,"When you duplicate a field, all of its configuration settings will be copied as well. However, values stored within that field will not be copied.")],-1),ae=e("h2",{id:"toggle-field-visibility-(for-admins)",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#toggle-field-visibility-(for-admins)"},"#"),i(" Toggle Field Visibility (for Admins)")],-1),de=e("video",{title:"Toggle Field Visibility (for Admins)",autoplay:"",playsinline:"",muted:"",loop:"",controls:""},[e("source",{src:"https://cdn.directus.io/docs/v9/configuration/data-model/fields/fields-20220805/toggle-field-visibility-20220805A.mp4",type:"video/mp4"})],-1),ce=i("For users with any "),re=e("em",null,"non-admin",-1),ue=i(" role, a field\u2019s visibility can be adjusted via "),he=i("access permissions"),fe=i(". However, you may want to hide certain fields for admins as well. This is handy if the field is distracting or has no need to be seen on the item details page."),pe=e("h2",{id:"adjust-field-width",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#adjust-field-width"},"#"),i(" Adjust Field Width")],-1),_e=e("video",{title:"Group and Sort Field",autoplay:"",playsinline:"",muted:"",loop:"",controls:""},[e("source",{src:"https://cdn.directus.io/docs/v9/configuration/data-model/fields/fields-20220805/adjust-field-width-20220805A.mp4",type:"video/mp4"})],-1),me=i("Adjusting the field width in "),ge=e("strong",null,"Fields and Layout",-1),ve=i(" will change field width on the "),ye=i("Item Detail Page"),we=i(". To adjust field width, follow these steps."),be=e("ol",null,[e("li",null,[i("Click "),e("span",{mi:"",icon:""},"more_vert"),i(" to open the field\u2019s context menu.")]),e("li",null,[i("Choose one of the following: "),e("ul",null,[e("li",null,[e("span",{mi:"",icon:""},"border_vertical"),i(" **Half Width** \u2014 The field is shown at half the form width. ")]),e("li",null,[e("span",{mi:"",icon:""},"border_right"),i(" **Full Width** \u2014 The default. The field is shown at the full form width. ")]),e("li",null,[e("span",{mi:"",icon:""},"aspect_ratio"),i(" **Fill Width** \u2014 The field is shown filling the full width of the page area. ")])])])],-1),Ce=e("h2",{id:"manually-sort-fields",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#manually-sort-fields"},"#"),i(" Manually Sort Fields")],-1),Fe=e("video",{title:"Group and Sort Field",autoplay:"",playsinline:"",muted:"",loop:"",controls:""},[e("source",{src:"https://cdn.directus.io/docs/v9/configuration/data-model/fields/fields-20220805/manually-sort-fields-20220805A.mp4",type:"video/mp4"})],-1),De=i("Adjusting the field order in "),ke=e("strong",null,"Fields and Layout",-1),Te=i(" will change its order on the "),Ae=i("Item Page"),xe=i(". To manually sort fields, click "),Se=e("span",{mi:"",icon:""},"drag_indicator",-1),Ne=i(" to drag and drop the field as desired."),We=e("h2",{id:"delete-a-field",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#delete-a-field"},"#"),i(" Delete a Field")],-1),Me=e("video",{autoplay:"",playsinline:"",muted:"",loop:"",controls:"",title:""},[e("source",{src:"https://cdn.directus.io/docs/v9/configuration/data-model/fields/fields-20220805/delete-a-field-20220805A.mp4",type:"video/mp4"})],-1),je=e("p",null,"To permanently delete a field and all its stored values, follow these steps.",-1),Ie=e("ol",null,[e("li",null,[i("Navigate to "),e("strong",null,"Settings > Data Model > [Collection Name]"),i(".")]),e("li",null,[i("Click the "),e("span",{mi:"",icon:""},"more_vert"),i(" icon for the field you want to delete.")]),e("li",null,[i("Click the "),e("span",{mi:"",icon:"",dngr:""},"delete"),i(),e("strong",null,"Delete Field"),i(" option.")]),e("li",null,[i("Confirm this decision by clicking "),e("strong",null,"Delete"),i(" in the dialog.")])],-1),Pe=e("div",{class:"danger hint"},[e("div",{class:"hint-title"},"Irreversible Change"),e("p",null,"This action is permanent and cannot be undone. Please proceed with caution.")],-1),Be="Fields",Ue=!1,ze={name:"index",setup(Le,{expose:a}){const n={title:"Fields",modularExtension:!1};return a({frontmatter:n}),(Oe,Ve)=>{const l=s("router-link"),d=s("docs-wrapper");return c(),r(d,{frontmatter:n},{default:t(()=>[e("div",u,[h,f,p,_,e("p",null,[m,g,o(l,{to:"/docs/app/content/collections#item-page"},{default:t(()=>[v]),_:1}),y,w,b,C,F]),D,k,T,A,x,S,N,W,M,j,I,P,L,O,V,e("ol",null,[H,B,e("li",null,[U,e("ul",null,[z,E,R,e("li",null,[G,K,o(l,{to:"/docs/app/content/items"},{default:t(()=>[Y]),_:1}),q]),J,Q,X,Z])]),$]),ee,ie,te,le,oe,ne,se,ae,de,e("p",null,[ce,re,ue,o(l,{to:"/docs/configuration/users-roles-permissions.md"},{default:t(()=>[he]),_:1}),fe]),pe,_e,e("p",null,[me,ge,ve,o(l,{to:"/docs/app/content#item-page"},{default:t(()=>[ye]),_:1}),we]),be,Ce,Fe,e("p",null,[De,ke,Te,o(l,{to:"/docs/app/content/collections#item-page"},{default:t(()=>[Ae]),_:1}),xe,Se,Ne]),We,Me,je,Ie,Pe])]),_:1})}}};export{ze as default,Ue as modularExtension,Be as title};
|
|
1
|
+
import{a as s,o as c,b as r,w as t,l as e,e as o,E as i}from"./runtime-core.esm-bundler.32cac88a.js";const u={class:"markdown-body"},h=e("blockquote",null,[e("p",null,[i("Fields are database columns. Fields also enable you to manage the backend logic "),e("em",null,"(such as conditional display logic, input verification rules, etc.)"),i(" and frontend design used to display its data "),e("em",null,"(e.g., whether data will display in a table or on a map)"),i(".")])],-1),f=e("h2",{id:"overview",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#overview"},"#"),i(" Overview")],-1),p=e("video",{title:"Fields Overview",autoplay:"",playsinline:"",muted:"",loop:"",controls:""},[e("source",{src:"https://cdn.directus.io/docs/v9/configuration/data-model/data-model-20220805/fields-20220805A.mp4",type:"video/mp4"})],-1),_=e("p",null,[i("To access a collection\u2019s fields, navigate to "),e("strong",null,"Settings > Data Model > [Collection]"),i(". From here, you can click a field to access its "),e("strong",null,"Configuration Drawer"),i(" and make advanced configurations. You also have the following controls for each field.")],-1),m=e("strong",null,"Fields and Layout",-1),g=i(" \u2014 Create, view, and configure a collection\u2019s fields as well as adjust how they are displayed and ordered on the "),v=i("Item Details Page"),y=i(". This section also provides access to the "),w=e("strong",null,"Field Context Menu",-1),b=i(" and "),C=e("strong",null,"Field Configuration Drawer",-1),F=i(", described below."),D=e("p",null,[e("strong",null,[i("Field Context Menu "),e("span",{mi:"",icon:""},"more_vert")]),i(" \u2014 Contains the following controls:")],-1),k=e("ul",null,[e("li",null,[e("a",{href:"#configure-a-field"},[e("span",{mi:"",icon:""},"edit"),i(" Edit Field")]),i(" \u2014 Opens the "),e("strong",null,"Field Configuration Drawer"),i(".")]),e("li",null,[e("a",{href:"#duplicate-a-field"},[e("span",{mi:"",icon:""},"content_copy"),i(" Duplicate Field")]),i(" \u2014 Duplicates a field along with all of its configuration options.")]),e("li",null,[e("a",{href:"#toggle-field-visibility-for-admins"},[e("span",{mi:"",icon:""},"visibility_off"),i(" Hide Field on Detail")]),i(" \u2014 Toggle field visibility on the Item Detail Page for Admin Users.")]),e("li",null,[e("a",{href:"#adjust-field-width"},"Width"),i(" \u2014 Fields have three different width options: "),e("ul",null,[e("li",null,[e("span",{mi:"",icon:""},"border_vertical"),i(" Half Width \u2014 The field input is shown at half the form width. ")]),e("li",null,[e("span",{mi:"",icon:""},"border_right"),i(" Full Width \u2014 The default. The field input is shown at the full form width. ")]),e("li",null,[e("span",{mi:"",icon:""},"aspect_ratio"),i(" Fill Width \u2014 The field input is shown filling the full width of the page area. ")])])])],-1),T=e("p",null,[e("strong",null,"The Field Configuration Drawer"),i(" \u2014 Provides all "),e("a",{href:"#configure-a-field"},"field configuration"),i(" options.")],-1),A=e("h2",{id:"create-a-field-(standard)",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#create-a-field-(standard)"},"#"),i(" Create a Field (Standard)")],-1),x=e("video",{title:"Create a Field (Standard)",autoplay:"",playsinline:"",muted:"",loop:"",controls:""},[e("source",{src:"https://cdn.directus.io/docs/v9/configuration/data-model/fields/fields-20220805/create-a-field-20220805A.mp4",type:"video/mp4"})],-1),S=e("p",null,[i("To make field configuration as intuitive and easy as possible, a template wizard is provided so that you can create fields pre-configured for common use-cases. When you create a field this way, you will still have full power to "),e("a",{href:"#configure-a-field"},"configure the field"),i(" as desired.")],-1),N=e("ol",null,[e("li",null,[i("Navigate to "),e("strong",null,"Settings > Data Model > [Collection]"),i(".")]),e("li",null,[i("Under "),e("strong",null,"Fields & Layout"),i(", click the "),e("strong",null,"Create Field"),i(" button."),e("br"),i(" A side drawer will open, with various pre-configured Interfaces to choose from.")]),e("li",null,"Click to select the desired field and a basic configuration menu will open."),e("li",null,[i("Add a "),e("strong",null,"Field Key"),i(", "),e("em",null,"which is also used as the default field name"),i("."),e("br"),i(" Optional: Configure the other field details as desired."),e("br"),i(" Optional: Click "),e("a",{href:"#create-a-field-advanced"},"Continue in Advanced Field Creation Mode"),i(".")]),e("li",null,[i("When you are ready, click "),e("strong",null,"Save"),i(" to confirm.")])],-1),W=e("h2",{id:"create-a-field-(advanced)",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#create-a-field-(advanced)"},"#"),i(" Create a Field (Advanced)")],-1),M=e("video",{title:"Create a Field (Advanced)",autoplay:"",playsinline:"",muted:"",loop:"",controls:""},[e("source",{src:"https://cdn.directus.io/docs/v9/configuration/data-model/fields/fields-20220805/create-a-field-advanced-20220805A.mp4",type:"video/mp4"})],-1),j=e("p",null,[i("This field creation method opens the "),e("strong",null,"Field Configuration Drawer"),i(" so you can customize every field detail from the start. To create a field in advanced mode, follow these steps.")],-1),I=e("ol",null,[e("li",null,[i("Navigate to "),e("strong",null,"Settings > Data Model > [Collection Name]"),i(".")]),e("li",null,[i("Under "),e("strong",null,"Fields & Layout"),i(", click the "),e("strong",null,"Create Field in Advanced Mode"),i(" button."),e("br"),i(" A dropdown menu will appear with various field types to choose from.")]),e("li",null,[i("Click to choose the field type and the "),e("strong",null,"Field Configuration Drawer"),i(" will open.")]),e("li",null,"Configure your field as desired."),e("li",null,[i("Click "),e("span",{mi:"",btn:""},"check"),i(" to confirm.")])],-1),P=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Database Columns"),e("p",null,"Remember, a field is a database column. Therefore, you can create a column directly in the database and it will automatically appear within Directus. You can then enhance the experience further by configuring it as desired.")],-1),L=e("h2",{id:"configure-a-field",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#configure-a-field"},"#"),i(" Configure a Field")],-1),O=e("video",{title:"Configure a Field",autoplay:"",playsinline:"",muted:"",loop:"",controls:""},[e("source",{src:"https://cdn.directus.io/docs/v9/configuration/data-model/fields/fields-20220805/configure-a-field-20220805A.mp4",type:"video/mp4"})],-1),V=e("p",null,[i("Fields are configured in the "),e("strong",null,"Field Configuration Drawer"),i(", which is composed of eight sections. These provide extensive customization options, from the database column\u2019s details, to how it is displayed and interacted with, and even custom input validation and conditional display logic. To configure a field, follow these steps.")],-1),H=e("li",null,[i("Navigate to "),e("strong",null,"Settings > Data Model > [Collection Name]"),i(".")],-1),E=e("li",null,[i("Under "),e("strong",null,"Fields & Layout"),i(", click the field you want to update."),e("br"),i(" The "),e("strong",null,"Field Configuration Drawer"),i(" will open.")],-1),U=i("Navigate to one of these sections and configure the field as desired: "),z=e("li",null,[e("strong",null,"Schema"),i(" \u2014 Defines the database column schema for the field.")],-1),B=e("li",null,[e("strong",null,"Relationship"),i(" \u2014 Controls "),e("em",null,"and only appears when configuring relational"),i(" field details.")],-1),R=e("li",null,[e("strong",null,"Translations"),i(" \u2014 Controls "),e("em",null,"and only appears when configuring translation"),i(" field details.")],-1),G=e("strong",null,"Field",-1),K=i(" \u2014 Sets details for the field input, which is displayed on the "),Y=i("item page"),q=i("."),J=e("li",null,[e("strong",null,"Interface"),i(" \u2014 Configures how you interact with the field\u2019s values.")],-1),Q=e("li",null,[e("strong",null,"Display"),i(" \u2014 Configures how field values are displayed in the Data Studio.")],-1),X=e("li",null,[e("strong",null,"Validation"),i(" \u2014 Creates a filter to determine valid user input.")],-1),Z=e("li",null,[e("strong",null,"Conditions"),i(" \u2014 Alters the current field\u2019s setup based on the values of other fields.")],-1),$=e("li",null,[i("Click "),e("span",{mi:"",btn:""},"check"),i(" to confirm.")],-1),ee=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Fields in System Collections"),e("p",null,"While all out-of-the-box fields within system collections are locked from configuration or deletion, you are able to create new fields within system collections.")],-1),ie=e("h2",{id:"duplicate-a-field",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#duplicate-a-field"},"#"),i(" Duplicate a Field")],-1),te=e("video",{title:"Duplicate a Field",autoplay:"",playsinline:"",muted:"",loop:"",controls:""},[e("source",{src:"https://cdn.directus.io/docs/v9/configuration/data-model/fields/fields-20220805/duplicate-a-field-20220805A.mp4",type:"video/mp4"})],-1),le=e("p",null,"To duplicate a field, follow these steps.",-1),oe=e("ol",null,[e("li",null,[i("Navigate to "),e("strong",null,"Settings > Data Model > [Collection Name]"),i(".")]),e("li",null,[i("Click the "),e("span",{mi:"",icon:""},"more_vert"),i(" icon for the field you want to duplicate.")]),e("li",null,[i("Click the "),e("span",{mi:"",icon:""},"content_copy"),i(),e("strong",null,"Duplicate Field"),i(" option.")]),e("li",null,"Choose the collection you\u2019d like to create the field in and set the Field Name.")],-1),ne=e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"Relational and Primary Key Fields"),e("p",null,"Currently, it is not possible to duplicate relational fields or a collection\u2019s primary key.")],-1),se=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Duplicates Configurations Only"),e("p",null,"When you duplicate a field, all of its configuration settings will be copied as well. However, values stored within that field will not be copied.")],-1),ae=e("h2",{id:"toggle-field-visibility-(for-admins)",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#toggle-field-visibility-(for-admins)"},"#"),i(" Toggle Field Visibility (for Admins)")],-1),de=e("video",{title:"Toggle Field Visibility (for Admins)",autoplay:"",playsinline:"",muted:"",loop:"",controls:""},[e("source",{src:"https://cdn.directus.io/docs/v9/configuration/data-model/fields/fields-20220805/toggle-field-visibility-20220805A.mp4",type:"video/mp4"})],-1),ce=i("For users with any "),re=e("em",null,"non-admin",-1),ue=i(" role, a field\u2019s visibility can be adjusted via "),he=i("access permissions"),fe=i(". However, you may want to hide certain fields for admins as well. This is handy if the field is distracting or has no need to be seen on the item details page."),pe=e("h2",{id:"adjust-field-width",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#adjust-field-width"},"#"),i(" Adjust Field Width")],-1),_e=e("video",{title:"Group and Sort Field",autoplay:"",playsinline:"",muted:"",loop:"",controls:""},[e("source",{src:"https://cdn.directus.io/docs/v9/configuration/data-model/fields/fields-20220805/adjust-field-width-20220805A.mp4",type:"video/mp4"})],-1),me=i("Adjusting the field width in "),ge=e("strong",null,"Fields and Layout",-1),ve=i(" will change field width on the "),ye=i("Item Detail Page"),we=i(". To adjust field width, follow these steps."),be=e("ol",null,[e("li",null,[i("Click "),e("span",{mi:"",icon:""},"more_vert"),i(" to open the field\u2019s context menu.")]),e("li",null,[i("Choose one of the following: "),e("ul",null,[e("li",null,[e("span",{mi:"",icon:""},"border_vertical"),i(" **Half Width** \u2014 The field is shown at half the form width. ")]),e("li",null,[e("span",{mi:"",icon:""},"border_right"),i(" **Full Width** \u2014 The default. The field is shown at the full form width. ")]),e("li",null,[e("span",{mi:"",icon:""},"aspect_ratio"),i(" **Fill Width** \u2014 The field is shown filling the full width of the page area. ")])])])],-1),Ce=e("h2",{id:"manually-sort-fields",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#manually-sort-fields"},"#"),i(" Manually Sort Fields")],-1),Fe=e("video",{title:"Group and Sort Field",autoplay:"",playsinline:"",muted:"",loop:"",controls:""},[e("source",{src:"https://cdn.directus.io/docs/v9/configuration/data-model/fields/fields-20220805/manually-sort-fields-20220805A.mp4",type:"video/mp4"})],-1),De=i("Adjusting the field order in "),ke=e("strong",null,"Fields and Layout",-1),Te=i(" will change its order on the "),Ae=i("Item Page"),xe=i(". To manually sort fields, click "),Se=e("span",{mi:"",icon:""},"drag_indicator",-1),Ne=i(" to drag and drop the field as desired."),We=e("h2",{id:"delete-a-field",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#delete-a-field"},"#"),i(" Delete a Field")],-1),Me=e("video",{autoplay:"",playsinline:"",muted:"",loop:"",controls:"",title:""},[e("source",{src:"https://cdn.directus.io/docs/v9/configuration/data-model/fields/fields-20220805/delete-a-field-20220805A.mp4",type:"video/mp4"})],-1),je=e("p",null,"To permanently delete a field and all its stored values, follow these steps.",-1),Ie=e("ol",null,[e("li",null,[i("Navigate to "),e("strong",null,"Settings > Data Model > [Collection Name]"),i(".")]),e("li",null,[i("Click the "),e("span",{mi:"",icon:""},"more_vert"),i(" icon for the field you want to delete.")]),e("li",null,[i("Click the "),e("span",{mi:"",icon:"",dngr:""},"delete"),i(),e("strong",null,"Delete Field"),i(" option.")]),e("li",null,[i("Confirm this decision by clicking "),e("strong",null,"Delete"),i(" in the dialog.")])],-1),Pe=e("div",{class:"danger hint"},[e("div",{class:"hint-title"},"Irreversible Change"),e("p",null,"This action is permanent and cannot be undone. Please proceed with caution.")],-1),Ee="Fields",Ue=!1,ze={name:"index",setup(Le,{expose:a}){const n={title:"Fields",modularExtension:!1};return a({frontmatter:n}),(Oe,Ve)=>{const l=s("router-link"),d=s("docs-wrapper");return c(),r(d,{frontmatter:n},{default:t(()=>[e("div",u,[h,f,p,_,e("p",null,[m,g,o(l,{to:"/docs/app/content/collections#item-page"},{default:t(()=>[v]),_:1}),y,w,b,C,F]),D,k,T,A,x,S,N,W,M,j,I,P,L,O,V,e("ol",null,[H,E,e("li",null,[U,e("ul",null,[z,B,R,e("li",null,[G,K,o(l,{to:"/docs/app/content/items"},{default:t(()=>[Y]),_:1}),q]),J,Q,X,Z])]),$]),ee,ie,te,le,oe,ne,se,ae,de,e("p",null,[ce,re,ue,o(l,{to:"/docs/configuration/users-roles-permissions.md"},{default:t(()=>[he]),_:1}),fe]),pe,_e,e("p",null,[me,ge,ve,o(l,{to:"/docs/app/content#item-page"},{default:t(()=>[ye]),_:1}),we]),be,Ce,Fe,e("p",null,[De,ke,Te,o(l,{to:"/docs/app/content/collections#item-page"},{default:t(()=>[Ae]),_:1}),xe,Se,Ne]),We,Me,je,Ie,Pe])]),_:1})}}};export{ze as default,Ue as modularExtension,Ee as title};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as A}from"./use-sync.1dee2657.js";import{b as D,a as E,d as I,c as O}from"./index.2f10fad2.js";function F(o,t){return t.forEach(function(e){e&&typeof e!="string"&&!Array.isArray(e)&&Object.keys(e).forEach(function(i){if(i!=="default"&&!(i in o)){var a=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(o,i,a.get?a:{enumerable:!0,get:function(){return e[i]}})}})}),Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var c={exports:{}},w={exports:{}};(function(o,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var e={lessThanXSeconds:{one:{standalone:"\u043C\u0430\u045A\u0435 \u043E\u0434 1 \u0441\u0435\u043A\u0443\u043D\u0434\u0435",withPrepositionAgo:"\u043C\u0430\u045A\u0435 \u043E\u0434 1 \u0441\u0435\u043A\u0443\u043D\u0434\u0435",withPrepositionIn:"\u043C\u0430\u045A\u0435 \u043E\u0434 1 \u0441\u0435\u043A\u0443\u043D\u0434\u0443"},dual:"\u043C\u0430\u045A\u0435 \u043E\u0434 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0435",other:"\u043C\u0430\u045A\u0435 \u043E\u0434 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0438"},xSeconds:{one:{standalone:"1 \u0441\u0435\u043A\u0443\u043D\u0434\u0430",withPrepositionAgo:"1 \u0441\u0435\u043A\u0443\u043D\u0434\u0435",withPrepositionIn:"1 \u0441\u0435\u043A\u0443\u043D\u0434\u0443"},dual:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0435",other:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0438"},halfAMinute:"\u043F\u043E\u043B\u0430 \u043C\u0438\u043D\u0443\u0442\u0435",lessThanXMinutes:{one:{standalone:"\u043C\u0430\u045A\u0435 \u043E\u0434 1 \u043C\u0438\u043D\u0443\u0442\u0435",withPrepositionAgo:"\u043C\u0430\u045A\u0435 \u043E\u0434 1 \u043C\u0438\u043D\u0443\u0442\u0435",withPrepositionIn:"\u043C\u0430\u045A\u0435 \u043E\u0434 1 \u043C\u0438\u043D\u0443\u0442\u0443"},dual:"\u043C\u0430\u045A\u0435 \u043E\u0434 {{count}} \u043C\u0438\u043D\u0443\u0442\u0435",other:"\u043C\u0430\u045A\u0435 \u043E\u0434 {{count}} \u043C\u0438\u043D\u0443\u0442\u0430"},xMinutes:{one:{standalone:"1 \u043C\u0438\u043D\u0443\u0442\u0430",withPrepositionAgo:"1 \u043C\u0438\u043D\u0443\u0442\u0435",withPrepositionIn:"1 \u043C\u0438\u043D\u0443\u0442\u0443"},dual:"{{count}} \u043C\u0438\u043D\u0443\u0442\u0435",other:"{{count}} \u043C\u0438\u043D\u0443\u0442\u0430"},aboutXHours:{one:{standalone:"\u043E\u043A\u043E 1 \u0441\u0430\u0442",withPrepositionAgo:"\u043E\u043A\u043E 1 \u0441\u0430\u0442",withPrepositionIn:"\u043E\u043A\u043E 1 \u0441\u0430\u0442"},dual:"\u043E\u043A\u043E {{count}} \u0441\u0430\u0442\u0430",other:"\u043E\u043A\u043E {{count}} \u0441\u0430\u0442\u0438"},xHours:{one:{standalone:"1 \u0441\u0430\u0442",withPrepositionAgo:"1 \u0441\u0430\u0442",withPrepositionIn:"1 \u0441\u0430\u0442"},dual:"{{count}} \u0441\u0430\u0442\u0430",other:"{{count}} \u0441\u0430\u0442\u0438"},xDays:{one:{standalone:"1 \u0434\u0430\u043D",withPrepositionAgo:"1 \u0434\u0430\u043D",withPrepositionIn:"1 \u0434\u0430\u043D"},dual:"{{count}} \u0434\u0430\u043D\u0430",other:"{{count}} \u0434\u0430\u043D\u0430"},aboutXWeeks:{one:{standalone:"\u043E\u043A\u043E 1 \u043D\u0435\u0434\u0435\u0459\u0443",withPrepositionAgo:"\u043E\u043A\u043E 1 \u043D\u0435\u0434\u0435\u0459\u0443",withPrepositionIn:"\u043E\u043A\u043E 1 \u043D\u0435\u0434\u0435\u0459\u0443"},dual:"\u043E\u043A\u043E {{count}} \u043D\u0435\u0434\u0435\u0459\u0435",other:"\u043E\u043A\u043E {{count}} \u043D\u0435\u0434\u0435\u0459\u0435"},xWeeks:{one:{standalone:"1 \u043D\u0435\u0434\u0435\u0459\u0443",withPrepositionAgo:"1 \u043D\u0435\u0434\u0435\u0459\u0443",withPrepositionIn:"1 \u043D\u0435\u0434\u0435\u0459\u0443"},dual:"{{count}} \u043D\u0435\u0434\u0435\u0459\u0435",other:"{{count}} \u043D\u0435\u0434\u0435\u0459\u0435"},aboutXMonths:{one:{standalone:"\u043E\u043A\u043E 1 \u043C\u0435\u0441\u0435\u0446",withPrepositionAgo:"\u043E\u043A\u043E 1 \u043C\u0435\u0441\u0435\u0446",withPrepositionIn:"\u043E\u043A\u043E 1 \u043C\u0435\u0441\u0435\u0446"},dual:"\u043E\u043A\u043E {{count}} \u043C\u0435\u0441\u0435\u0446\u0430",other:"\u043E\u043A\u043E {{count}} \u043C\u0435\u0441\u0435\u0446\u0438"},xMonths:{one:{standalone:"1 \u043C\u0435\u0441\u0435\u0446",withPrepositionAgo:"1 \u043C\u0435\u0441\u0435\u0446",withPrepositionIn:"1 \u043C\u0435\u0441\u0435\u0446"},dual:"{{count}} \u043C\u0435\u0441\u0435\u0446\u0430",other:"{{count}} \u043C\u0435\u0441\u0435\u0446\u0438"},aboutXYears:{one:{standalone:"\u043E\u043A\u043E 1 \u0433\u043E\u0434\u0438\u043D\u0443",withPrepositionAgo:"\u043E\u043A\u043E 1 \u0433\u043E\u0434\u0438\u043D\u0443",withPrepositionIn:"\u043E\u043A\u043E 1 \u0433\u043E\u0434\u0438\u043D\u0443"},dual:"\u043E\u043A\u043E {{count}} \u0433\u043E\u0434\u0438\u043D\u0435",other:"\u043E\u043A\u043E {{count}} \u0433\u043E\u0434\u0438\u043D\u0430"},xYears:{one:{standalone:"1 \u0433\u043E\u0434\u0438\u043D\u0430",withPrepositionAgo:"1 \u0433\u043E\u0434\u0438\u043D\u0435",withPrepositionIn:"1 \u0433\u043E\u0434\u0438\u043D\u0443"},dual:"{{count}} \u0433\u043E\u0434\u0438\u043D\u0435",other:"{{count}} \u0433\u043E\u0434\u0438\u043D\u0430"},overXYears:{one:{standalone:"\u043F\u0440\u0435\u043A\u043E 1 \u0433\u043E\u0434\u0438\u043D\u0443",withPrepositionAgo:"\u043F\u0440\u0435\u043A\u043E 1 \u0433\u043E\u0434\u0438\u043D\u0443",withPrepositionIn:"\u043F\u0440\u0435\u043A\u043E 1 \u0433\u043E\u0434\u0438\u043D\u0443"},dual:"\u043F\u0440\u0435\u043A\u043E {{count}} \u0433\u043E\u0434\u0438\u043D\u0435",other:"\u043F\u0440\u0435\u043A\u043E {{count}} \u0433\u043E\u0434\u0438\u043D\u0430"},almostXYears:{one:{standalone:"\u0433\u043E\u0442\u043E\u0432\u043E 1 \u0433\u043E\u0434\u0438\u043D\u0443",withPrepositionAgo:"\u0433\u043E\u0442\u043E\u0432\u043E 1 \u0433\u043E\u0434\u0438\u043D\u0443",withPrepositionIn:"\u0433\u043E\u0442\u043E\u0432\u043E 1 \u0433\u043E\u0434\u0438\u043D\u0443"},dual:"\u0433\u043E\u0442\u043E\u0432\u043E {{count}} \u0433\u043E\u0434\u0438\u043D\u0435",other:"\u0433\u043E\u0442\u043E\u0432\u043E {{count}} \u0433\u043E\u0434\u0438\u043D\u0430"}};function i(a,n,u){u=u||{};var r;return typeof e[a]=="string"?r=e[a]:n===1?u.addSuffix?u.comparison>0?r=e[a].one.withPrepositionIn:r=e[a].one.withPrepositionAgo:r=e[a].one.standalone:n%10>1&&n%10<5&&String(n).substr(-2,1)!=="1"?r=e[a].dual.replace("{{count}}",n):r=e[a].other.replace("{{count}}",n),u.addSuffix?u.comparison>0?"\u0437\u0430 "+r:"\u043F\u0440\u0435 "+r:r}o.exports=t.default})(w,w.exports);var g={exports:{}};(function(o,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e=i(D.exports);function i(s){return s&&s.__esModule?s:{default:s}}var a={full:"EEEE, d. MMMM yyyy.",long:"d. MMMM yyyy.",medium:"d. MMM yy.",short:"dd. MM. yy."},n={full:"HH:mm:ss (zzzz)",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},u={full:"{{date}} '\u0443' {{time}}",long:"{{date}} '\u0443' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},r={date:(0,e.default)({formats:a,defaultWidth:"full"}),time:(0,e.default)({formats:n,defaultWidth:"full"}),dateTime:(0,e.default)({formats:u,defaultWidth:"full"})},d=r;t.default=d,o.exports=t.default})(g,g.exports);var y={exports:{}};(function(o,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var e={lastWeek:function(a){var n=a.getUTCDay();switch(n){case 0:return"'\u043F\u0440\u043E\u0448\u043B\u0435 \u043D\u0435\u0434\u0435\u0459\u0435 \u0443' p";case 3:return"'\u043F\u0440\u043E\u0448\u043B\u0435 \u0441\u0440\u0435\u0434\u0435 \u0443' p";case 6:return"'\u043F\u0440\u043E\u0448\u043B\u0435 \u0441\u0443\u0431\u043E\u0442\u0435 \u0443' p";default:return"'\u043F\u0440\u043E\u0448\u043B\u0438' EEEE '\u0443' p"}},yesterday:"'\u0458\u0443\u0447\u0435 \u0443' p",today:"'\u0434\u0430\u043D\u0430\u0441 \u0443' p",tomorrow:"'\u0441\u0443\u0442\u0440\u0430 \u0443' p",nextWeek:function(a){var n=a.getUTCDay();switch(n){case 0:return"'\u0441\u043B\u0435\u0434\u0435\u045B\u0435 \u043D\u0435\u0434\u0435\u0459\u0435 \u0443' p";case 3:return"'\u0441\u043B\u0435\u0434\u0435\u045B\u0443 \u0441\u0440\u0435\u0434\u0443 \u0443' p";case 6:return"'\u0441\u043B\u0435\u0434\u0435\u045B\u0443 \u0441\u0443\u0431\u043E\u0442\u0443 \u0443' p";default:return"'\u0441\u043B\u0435\u0434\u0435\u045B\u0438' EEEE '\u0443' p"}},other:"P"};function i(a,n,u,r){var d=e[a];return typeof d=="function"?d(n):d}o.exports=t.default})(y,y.exports);var M={exports:{}};(function(o,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e=i(E.exports);function i(l){return l&&l.__esModule?l:{default:l}}function a(l){var P=Number(l);return String(P).concat(".")}var n={narrow:["\u043F\u0440.\u043D.\u0435.","\u0410\u0414"],abbreviated:["\u043F\u0440. \u0425\u0440.","\u043F\u043E. \u0425\u0440."],wide:["\u041F\u0440\u0435 \u0425\u0440\u0438\u0441\u0442\u0430","\u041F\u043E\u0441\u043B\u0435 \u0425\u0440\u0438\u0441\u0442\u0430"]},u={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["\u0458\u0430\u043D","\u0444\u0435\u0431","\u043C\u0430\u0440","\u0430\u043F\u0440","\u043C\u0430\u0458","\u0458\u0443\u043D","\u0458\u0443\u043B","\u0430\u0432\u0433","\u0441\u0435\u043F","\u043E\u043A\u0442","\u043D\u043E\u0432","\u0434\u0435\u0446"],wide:["\u0458\u0430\u043D\u0443\u0430\u0440","\u0444\u0435\u0431\u0440\u0443\u0430\u0440","\u043C\u0430\u0440\u0442","\u0430\u043F\u0440\u0438\u043B","\u043C\u0430\u0458","\u0458\u0443\u043D","\u0458\u0443\u043B","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043F\u0442\u0435\u043C\u0431\u0430\u0440","\u043E\u043A\u0442\u043E\u0431\u0430\u0440","\u043D\u043E\u0432\u0435\u043C\u0431\u0430\u0440","\u0434\u0435\u0446\u0435\u043C\u0431\u0430\u0440"]},r={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["\u0458\u0430\u043D","\u0444\u0435\u0431","\u043C\u0430\u0440","\u0430\u043F\u0440","\u043C\u0430\u0458","\u0458\u0443\u043D","\u0458\u0443\u043B","\u0430\u0432\u0433","\u0441\u0435\u043F","\u043E\u043A\u0442","\u043D\u043E\u0432","\u0434\u0435\u0446"],wide:["\u0458\u0430\u043D\u0443\u0430\u0440","\u0444\u0435\u0431\u0440\u0443\u0430\u0440","\u043C\u0430\u0440\u0442","\u0430\u043F\u0440\u0438\u043B","\u043C\u0430\u0458","\u0458\u0443\u043D","\u0458\u0443\u043B","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043F\u0442\u0435\u043C\u0431\u0430\u0440","\u043E\u043A\u0442\u043E\u0431\u0430\u0440","\u043D\u043E\u0432\u0435\u043C\u0431\u0430\u0440","\u0434\u0435\u0446\u0435\u043C\u0431\u0430\u0440"]},d={narrow:["1.","2.","3.","4."],abbreviated:["1. \u043A\u0432.","2. \u043A\u0432.","3. \u043A\u0432.","4. \u043A\u0432."],wide:["1. \u043A\u0432\u0430\u0440\u0442\u0430\u043B","2. \u043A\u0432\u0430\u0440\u0442\u0430\u043B","3. \u043A\u0432\u0430\u0440\u0442\u0430\u043B","4. \u043A\u0432\u0430\u0440\u0442\u0430\u043B"]},s={narrow:["\u041D","\u041F","\u0423","\u0421","\u0427","\u041F","\u0421"],short:["\u043D\u0435\u0434","\u043F\u043E\u043D","\u0443\u0442\u043E","\u0441\u0440\u0435","\u0447\u0435\u0442","\u043F\u0435\u0442","\u0441\u0443\u0431"],abbreviated:["\u043D\u0435\u0434","\u043F\u043E\u043D","\u0443\u0442\u043E","\u0441\u0440\u0435","\u0447\u0435\u0442","\u043F\u0435\u0442","\u0441\u0443\u0431"],wide:["\u043D\u0435\u0434\u0435\u0459\u0430","\u043F\u043E\u043D\u0435\u0434\u0435\u0459\u0430\u043A","\u0443\u0442\u043E\u0440\u0430\u043A","\u0441\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043A","\u043F\u0435\u0442\u0430\u043A","\u0441\u0443\u0431\u043E\u0442\u0430"]},f={narrow:{am:"\u0410\u041C",pm:"\u041F\u041C",midnight:"\u043F\u043E\u043D\u043E\u045B",noon:"\u043F\u043E\u0434\u043D\u0435",morning:"\u0443\u0458\u0443\u0442\u0440\u0443",afternoon:"\u043F\u043E\u043F\u043E\u0434\u043D\u0435",evening:"\u0443\u0432\u0435\u0447\u0435",night:"\u043D\u043E\u045B\u0443"},abbreviated:{am:"\u0410\u041C",pm:"\u041F\u041C",midnight:"\u043F\u043E\u043D\u043E\u045B",noon:"\u043F\u043E\u0434\u043D\u0435",morning:"\u0443\u0458\u0443\u0442\u0440\u0443",afternoon:"\u043F\u043E\u043F\u043E\u0434\u043D\u0435",evening:"\u0443\u0432\u0435\u0447\u0435",night:"\u043D\u043E\u045B\u0443"},wide:{am:"AM",pm:"PM",midnight:"\u043F\u043E\u043D\u043E\u045B",noon:"\u043F\u043E\u0434\u043D\u0435",morning:"\u0443\u0458\u0443\u0442\u0440\u0443",afternoon:"\u043F\u043E\u0441\u043B\u0435 \u043F\u043E\u0434\u043D\u0435",evening:"\u0443\u0432\u0435\u0447\u0435",night:"\u043D\u043E\u045B\u0443"}},m={narrow:{am:"AM",pm:"PM",midnight:"\u043F\u043E\u043D\u043E\u045B",noon:"\u043F\u043E\u0434\u043D\u0435",morning:"\u0443\u0458\u0443\u0442\u0440\u0443",afternoon:"\u043F\u043E\u043F\u043E\u0434\u043D\u0435",evening:"\u0443\u0432\u0435\u0447\u0435",night:"\u043D\u043E\u045B\u0443"},abbreviated:{am:"AM",pm:"PM",midnight:"\u043F\u043E\u043D\u043E\u045B",noon:"\u043F\u043E\u0434\u043D\u0435",morning:"\u0443\u0458\u0443\u0442\u0440\u0443",afternoon:"\u043F\u043E\u043F\u043E\u0434\u043D\u0435",evening:"\u0443\u0432\u0435\u0447\u0435",night:"\u043D\u043E\u045B\u0443"},wide:{am:"AM",pm:"PM",midnight:"\u043F\u043E\u043D\u043E\u045B",noon:"\u043F\u043E\u0434\u043D\u0435",morning:"\u0443\u0458\u0443\u0442\u0440\u0443",afternoon:"\u043F\u043E\u0441\u043B\u0435 \u043F\u043E\u0434\u043D\u0435",evening:"\u0443\u0432\u0435\u0447\u0435",night:"\u043D\u043E\u045B\u0443"}},p={ordinalNumber:a,era:(0,e.default)({values:n,defaultWidth:"wide"}),quarter:(0,e.default)({values:d,defaultWidth:"wide",argumentCallback:function(l){return Number(l)-1}}),month:(0,e.default)({values:u,defaultWidth:"wide",formattingValues:r,defaultFormattingWidth:"wide"}),day:(0,e.default)({values:s,defaultWidth:"wide"}),dayPeriod:(0,e.default)({values:m,defaultWidth:"wide",formattingValues:f,defaultFormattingWidth:"wide"})},v=p;t.default=v,o.exports=t.default})(M,M.exports);var b={exports:{}};(function(o,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e=a(I.exports),i=a(O.exports);function a(h){return h&&h.__esModule?h:{default:h}}var n=/^(\d+)\./i,u=/\d+/i,r={narrow:/^(пр\.н\.е\.|АД)/i,abbreviated:/^(пр\.\s?Хр\.|по\.\s?Хр\.)/i,wide:/^(Пре Христа|пре нове ере|После Христа|нова ера)/i},d={any:[/^пр/i,/^(по|нова)/i]},s={narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?кв\.?/i,wide:/^[1234]\. квартал/i},f={any:[/1/i,/2/i,/3/i,/4/i]},m={narrow:/^(10|11|12|[123456789])\./i,abbreviated:/^(јан|феб|мар|апр|мај|јун|јул|авг|сеп|окт|нов|дец)/i,wide:/^((јануар|јануара)|(фебруар|фебруара)|(март|марта)|(април|априла)|(мја|маја)|(јун|јуна)|(јул|јула)|(август|августа)|(септембар|септембра)|(октобар|октобра)|(новембар|новембра)|(децембар|децембра))/i},p={narrow:[/(10|11|12|[123456789])/i],any:[/^ја/i,/^ф/i,/^мар/i,/^ап/i,/^мај/i,/^јун/i,/^јул/i,/^авг/i,/^с/i,/^о/i,/^н/i,/^д/i]},v={narrow:/^[пусчн]/i,short:/^(нед|пон|уто|сре|чет|пет|суб)/i,abbreviated:/^(нед|пон|уто|сре|чет|пет|суб)/i,wide:/^(недеља|понедељак|уторак|среда|четвртак|петак|субота)/i},l={narrow:[/^п/i,/^у/i,/^с/i,/^ч/i,/^н/i],any:[/^нед/i,/^пон/i,/^уто/i,/^сре/i,/^чет/i,/^пет/i,/^суб/i]},P={any:/^(ам|пм|поноћ|(по)?подне|увече|ноћу|после подне|ујутру)/i},_={any:{am:/^a/i,pm:/^p/i,midnight:/^поно/i,noon:/^под/i,morning:/ујутру/i,afternoon:/(после\s|по)+подне/i,evening:/(увече)/i,night:/(ноћу)/i}},x={ordinalNumber:(0,i.default)({matchPattern:n,parsePattern:u,valueCallback:function(h){return parseInt(h,10)}}),era:(0,e.default)({matchPatterns:r,defaultMatchWidth:"wide",parsePatterns:d,defaultParseWidth:"any"}),quarter:(0,e.default)({matchPatterns:s,defaultMatchWidth:"wide",parsePatterns:f,defaultParseWidth:"any",valueCallback:function(h){return h+1}}),month:(0,e.default)({matchPatterns:m,defaultMatchWidth:"wide",parsePatterns:p,defaultParseWidth:"any"}),day:(0,e.default)({matchPatterns:v,defaultMatchWidth:"wide",parsePatterns:l,defaultParseWidth:"any"}),dayPeriod:(0,e.default)({matchPatterns:P,defaultMatchWidth:"any",parsePatterns:_,defaultParseWidth:"any"})},W=x;t.default=W,o.exports=t.default})(b,b.exports);(function(o,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e=r(w.exports),i=r(g.exports),a=r(y.exports),n=r(M.exports),u=r(b.exports);function r(f){return f&&f.__esModule?f:{default:f}}var d={code:"sr",formatDistance:e.default,formatLong:i.default,formatRelative:a.default,localize:n.default,match:u.default,options:{weekStartsOn:1,firstWeekContainsDate:1}},s=d;t.default=s,o.exports=t.default})(c,c.exports);var z=A(c.exports),V=F({__proto__:null,default:z},[c.exports]);export{V as i};
|
|
1
|
+
import{f as A}from"./use-sync.3af8e920.js";import{b as D,a as E,d as I,c as O}from"./index.2f10fad2.js";function F(o,t){return t.forEach(function(e){e&&typeof e!="string"&&!Array.isArray(e)&&Object.keys(e).forEach(function(i){if(i!=="default"&&!(i in o)){var a=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(o,i,a.get?a:{enumerable:!0,get:function(){return e[i]}})}})}),Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var c={exports:{}},w={exports:{}};(function(o,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var e={lessThanXSeconds:{one:{standalone:"\u043C\u0430\u045A\u0435 \u043E\u0434 1 \u0441\u0435\u043A\u0443\u043D\u0434\u0435",withPrepositionAgo:"\u043C\u0430\u045A\u0435 \u043E\u0434 1 \u0441\u0435\u043A\u0443\u043D\u0434\u0435",withPrepositionIn:"\u043C\u0430\u045A\u0435 \u043E\u0434 1 \u0441\u0435\u043A\u0443\u043D\u0434\u0443"},dual:"\u043C\u0430\u045A\u0435 \u043E\u0434 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0435",other:"\u043C\u0430\u045A\u0435 \u043E\u0434 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0438"},xSeconds:{one:{standalone:"1 \u0441\u0435\u043A\u0443\u043D\u0434\u0430",withPrepositionAgo:"1 \u0441\u0435\u043A\u0443\u043D\u0434\u0435",withPrepositionIn:"1 \u0441\u0435\u043A\u0443\u043D\u0434\u0443"},dual:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0435",other:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0438"},halfAMinute:"\u043F\u043E\u043B\u0430 \u043C\u0438\u043D\u0443\u0442\u0435",lessThanXMinutes:{one:{standalone:"\u043C\u0430\u045A\u0435 \u043E\u0434 1 \u043C\u0438\u043D\u0443\u0442\u0435",withPrepositionAgo:"\u043C\u0430\u045A\u0435 \u043E\u0434 1 \u043C\u0438\u043D\u0443\u0442\u0435",withPrepositionIn:"\u043C\u0430\u045A\u0435 \u043E\u0434 1 \u043C\u0438\u043D\u0443\u0442\u0443"},dual:"\u043C\u0430\u045A\u0435 \u043E\u0434 {{count}} \u043C\u0438\u043D\u0443\u0442\u0435",other:"\u043C\u0430\u045A\u0435 \u043E\u0434 {{count}} \u043C\u0438\u043D\u0443\u0442\u0430"},xMinutes:{one:{standalone:"1 \u043C\u0438\u043D\u0443\u0442\u0430",withPrepositionAgo:"1 \u043C\u0438\u043D\u0443\u0442\u0435",withPrepositionIn:"1 \u043C\u0438\u043D\u0443\u0442\u0443"},dual:"{{count}} \u043C\u0438\u043D\u0443\u0442\u0435",other:"{{count}} \u043C\u0438\u043D\u0443\u0442\u0430"},aboutXHours:{one:{standalone:"\u043E\u043A\u043E 1 \u0441\u0430\u0442",withPrepositionAgo:"\u043E\u043A\u043E 1 \u0441\u0430\u0442",withPrepositionIn:"\u043E\u043A\u043E 1 \u0441\u0430\u0442"},dual:"\u043E\u043A\u043E {{count}} \u0441\u0430\u0442\u0430",other:"\u043E\u043A\u043E {{count}} \u0441\u0430\u0442\u0438"},xHours:{one:{standalone:"1 \u0441\u0430\u0442",withPrepositionAgo:"1 \u0441\u0430\u0442",withPrepositionIn:"1 \u0441\u0430\u0442"},dual:"{{count}} \u0441\u0430\u0442\u0430",other:"{{count}} \u0441\u0430\u0442\u0438"},xDays:{one:{standalone:"1 \u0434\u0430\u043D",withPrepositionAgo:"1 \u0434\u0430\u043D",withPrepositionIn:"1 \u0434\u0430\u043D"},dual:"{{count}} \u0434\u0430\u043D\u0430",other:"{{count}} \u0434\u0430\u043D\u0430"},aboutXWeeks:{one:{standalone:"\u043E\u043A\u043E 1 \u043D\u0435\u0434\u0435\u0459\u0443",withPrepositionAgo:"\u043E\u043A\u043E 1 \u043D\u0435\u0434\u0435\u0459\u0443",withPrepositionIn:"\u043E\u043A\u043E 1 \u043D\u0435\u0434\u0435\u0459\u0443"},dual:"\u043E\u043A\u043E {{count}} \u043D\u0435\u0434\u0435\u0459\u0435",other:"\u043E\u043A\u043E {{count}} \u043D\u0435\u0434\u0435\u0459\u0435"},xWeeks:{one:{standalone:"1 \u043D\u0435\u0434\u0435\u0459\u0443",withPrepositionAgo:"1 \u043D\u0435\u0434\u0435\u0459\u0443",withPrepositionIn:"1 \u043D\u0435\u0434\u0435\u0459\u0443"},dual:"{{count}} \u043D\u0435\u0434\u0435\u0459\u0435",other:"{{count}} \u043D\u0435\u0434\u0435\u0459\u0435"},aboutXMonths:{one:{standalone:"\u043E\u043A\u043E 1 \u043C\u0435\u0441\u0435\u0446",withPrepositionAgo:"\u043E\u043A\u043E 1 \u043C\u0435\u0441\u0435\u0446",withPrepositionIn:"\u043E\u043A\u043E 1 \u043C\u0435\u0441\u0435\u0446"},dual:"\u043E\u043A\u043E {{count}} \u043C\u0435\u0441\u0435\u0446\u0430",other:"\u043E\u043A\u043E {{count}} \u043C\u0435\u0441\u0435\u0446\u0438"},xMonths:{one:{standalone:"1 \u043C\u0435\u0441\u0435\u0446",withPrepositionAgo:"1 \u043C\u0435\u0441\u0435\u0446",withPrepositionIn:"1 \u043C\u0435\u0441\u0435\u0446"},dual:"{{count}} \u043C\u0435\u0441\u0435\u0446\u0430",other:"{{count}} \u043C\u0435\u0441\u0435\u0446\u0438"},aboutXYears:{one:{standalone:"\u043E\u043A\u043E 1 \u0433\u043E\u0434\u0438\u043D\u0443",withPrepositionAgo:"\u043E\u043A\u043E 1 \u0433\u043E\u0434\u0438\u043D\u0443",withPrepositionIn:"\u043E\u043A\u043E 1 \u0433\u043E\u0434\u0438\u043D\u0443"},dual:"\u043E\u043A\u043E {{count}} \u0433\u043E\u0434\u0438\u043D\u0435",other:"\u043E\u043A\u043E {{count}} \u0433\u043E\u0434\u0438\u043D\u0430"},xYears:{one:{standalone:"1 \u0433\u043E\u0434\u0438\u043D\u0430",withPrepositionAgo:"1 \u0433\u043E\u0434\u0438\u043D\u0435",withPrepositionIn:"1 \u0433\u043E\u0434\u0438\u043D\u0443"},dual:"{{count}} \u0433\u043E\u0434\u0438\u043D\u0435",other:"{{count}} \u0433\u043E\u0434\u0438\u043D\u0430"},overXYears:{one:{standalone:"\u043F\u0440\u0435\u043A\u043E 1 \u0433\u043E\u0434\u0438\u043D\u0443",withPrepositionAgo:"\u043F\u0440\u0435\u043A\u043E 1 \u0433\u043E\u0434\u0438\u043D\u0443",withPrepositionIn:"\u043F\u0440\u0435\u043A\u043E 1 \u0433\u043E\u0434\u0438\u043D\u0443"},dual:"\u043F\u0440\u0435\u043A\u043E {{count}} \u0433\u043E\u0434\u0438\u043D\u0435",other:"\u043F\u0440\u0435\u043A\u043E {{count}} \u0433\u043E\u0434\u0438\u043D\u0430"},almostXYears:{one:{standalone:"\u0433\u043E\u0442\u043E\u0432\u043E 1 \u0433\u043E\u0434\u0438\u043D\u0443",withPrepositionAgo:"\u0433\u043E\u0442\u043E\u0432\u043E 1 \u0433\u043E\u0434\u0438\u043D\u0443",withPrepositionIn:"\u0433\u043E\u0442\u043E\u0432\u043E 1 \u0433\u043E\u0434\u0438\u043D\u0443"},dual:"\u0433\u043E\u0442\u043E\u0432\u043E {{count}} \u0433\u043E\u0434\u0438\u043D\u0435",other:"\u0433\u043E\u0442\u043E\u0432\u043E {{count}} \u0433\u043E\u0434\u0438\u043D\u0430"}};function i(a,n,u){u=u||{};var r;return typeof e[a]=="string"?r=e[a]:n===1?u.addSuffix?u.comparison>0?r=e[a].one.withPrepositionIn:r=e[a].one.withPrepositionAgo:r=e[a].one.standalone:n%10>1&&n%10<5&&String(n).substr(-2,1)!=="1"?r=e[a].dual.replace("{{count}}",n):r=e[a].other.replace("{{count}}",n),u.addSuffix?u.comparison>0?"\u0437\u0430 "+r:"\u043F\u0440\u0435 "+r:r}o.exports=t.default})(w,w.exports);var g={exports:{}};(function(o,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e=i(D.exports);function i(s){return s&&s.__esModule?s:{default:s}}var a={full:"EEEE, d. MMMM yyyy.",long:"d. MMMM yyyy.",medium:"d. MMM yy.",short:"dd. MM. yy."},n={full:"HH:mm:ss (zzzz)",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},u={full:"{{date}} '\u0443' {{time}}",long:"{{date}} '\u0443' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},r={date:(0,e.default)({formats:a,defaultWidth:"full"}),time:(0,e.default)({formats:n,defaultWidth:"full"}),dateTime:(0,e.default)({formats:u,defaultWidth:"full"})},d=r;t.default=d,o.exports=t.default})(g,g.exports);var y={exports:{}};(function(o,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var e={lastWeek:function(a){var n=a.getUTCDay();switch(n){case 0:return"'\u043F\u0440\u043E\u0448\u043B\u0435 \u043D\u0435\u0434\u0435\u0459\u0435 \u0443' p";case 3:return"'\u043F\u0440\u043E\u0448\u043B\u0435 \u0441\u0440\u0435\u0434\u0435 \u0443' p";case 6:return"'\u043F\u0440\u043E\u0448\u043B\u0435 \u0441\u0443\u0431\u043E\u0442\u0435 \u0443' p";default:return"'\u043F\u0440\u043E\u0448\u043B\u0438' EEEE '\u0443' p"}},yesterday:"'\u0458\u0443\u0447\u0435 \u0443' p",today:"'\u0434\u0430\u043D\u0430\u0441 \u0443' p",tomorrow:"'\u0441\u0443\u0442\u0440\u0430 \u0443' p",nextWeek:function(a){var n=a.getUTCDay();switch(n){case 0:return"'\u0441\u043B\u0435\u0434\u0435\u045B\u0435 \u043D\u0435\u0434\u0435\u0459\u0435 \u0443' p";case 3:return"'\u0441\u043B\u0435\u0434\u0435\u045B\u0443 \u0441\u0440\u0435\u0434\u0443 \u0443' p";case 6:return"'\u0441\u043B\u0435\u0434\u0435\u045B\u0443 \u0441\u0443\u0431\u043E\u0442\u0443 \u0443' p";default:return"'\u0441\u043B\u0435\u0434\u0435\u045B\u0438' EEEE '\u0443' p"}},other:"P"};function i(a,n,u,r){var d=e[a];return typeof d=="function"?d(n):d}o.exports=t.default})(y,y.exports);var M={exports:{}};(function(o,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e=i(E.exports);function i(l){return l&&l.__esModule?l:{default:l}}function a(l){var P=Number(l);return String(P).concat(".")}var n={narrow:["\u043F\u0440.\u043D.\u0435.","\u0410\u0414"],abbreviated:["\u043F\u0440. \u0425\u0440.","\u043F\u043E. \u0425\u0440."],wide:["\u041F\u0440\u0435 \u0425\u0440\u0438\u0441\u0442\u0430","\u041F\u043E\u0441\u043B\u0435 \u0425\u0440\u0438\u0441\u0442\u0430"]},u={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["\u0458\u0430\u043D","\u0444\u0435\u0431","\u043C\u0430\u0440","\u0430\u043F\u0440","\u043C\u0430\u0458","\u0458\u0443\u043D","\u0458\u0443\u043B","\u0430\u0432\u0433","\u0441\u0435\u043F","\u043E\u043A\u0442","\u043D\u043E\u0432","\u0434\u0435\u0446"],wide:["\u0458\u0430\u043D\u0443\u0430\u0440","\u0444\u0435\u0431\u0440\u0443\u0430\u0440","\u043C\u0430\u0440\u0442","\u0430\u043F\u0440\u0438\u043B","\u043C\u0430\u0458","\u0458\u0443\u043D","\u0458\u0443\u043B","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043F\u0442\u0435\u043C\u0431\u0430\u0440","\u043E\u043A\u0442\u043E\u0431\u0430\u0440","\u043D\u043E\u0432\u0435\u043C\u0431\u0430\u0440","\u0434\u0435\u0446\u0435\u043C\u0431\u0430\u0440"]},r={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["\u0458\u0430\u043D","\u0444\u0435\u0431","\u043C\u0430\u0440","\u0430\u043F\u0440","\u043C\u0430\u0458","\u0458\u0443\u043D","\u0458\u0443\u043B","\u0430\u0432\u0433","\u0441\u0435\u043F","\u043E\u043A\u0442","\u043D\u043E\u0432","\u0434\u0435\u0446"],wide:["\u0458\u0430\u043D\u0443\u0430\u0440","\u0444\u0435\u0431\u0440\u0443\u0430\u0440","\u043C\u0430\u0440\u0442","\u0430\u043F\u0440\u0438\u043B","\u043C\u0430\u0458","\u0458\u0443\u043D","\u0458\u0443\u043B","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043F\u0442\u0435\u043C\u0431\u0430\u0440","\u043E\u043A\u0442\u043E\u0431\u0430\u0440","\u043D\u043E\u0432\u0435\u043C\u0431\u0430\u0440","\u0434\u0435\u0446\u0435\u043C\u0431\u0430\u0440"]},d={narrow:["1.","2.","3.","4."],abbreviated:["1. \u043A\u0432.","2. \u043A\u0432.","3. \u043A\u0432.","4. \u043A\u0432."],wide:["1. \u043A\u0432\u0430\u0440\u0442\u0430\u043B","2. \u043A\u0432\u0430\u0440\u0442\u0430\u043B","3. \u043A\u0432\u0430\u0440\u0442\u0430\u043B","4. \u043A\u0432\u0430\u0440\u0442\u0430\u043B"]},s={narrow:["\u041D","\u041F","\u0423","\u0421","\u0427","\u041F","\u0421"],short:["\u043D\u0435\u0434","\u043F\u043E\u043D","\u0443\u0442\u043E","\u0441\u0440\u0435","\u0447\u0435\u0442","\u043F\u0435\u0442","\u0441\u0443\u0431"],abbreviated:["\u043D\u0435\u0434","\u043F\u043E\u043D","\u0443\u0442\u043E","\u0441\u0440\u0435","\u0447\u0435\u0442","\u043F\u0435\u0442","\u0441\u0443\u0431"],wide:["\u043D\u0435\u0434\u0435\u0459\u0430","\u043F\u043E\u043D\u0435\u0434\u0435\u0459\u0430\u043A","\u0443\u0442\u043E\u0440\u0430\u043A","\u0441\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043A","\u043F\u0435\u0442\u0430\u043A","\u0441\u0443\u0431\u043E\u0442\u0430"]},f={narrow:{am:"\u0410\u041C",pm:"\u041F\u041C",midnight:"\u043F\u043E\u043D\u043E\u045B",noon:"\u043F\u043E\u0434\u043D\u0435",morning:"\u0443\u0458\u0443\u0442\u0440\u0443",afternoon:"\u043F\u043E\u043F\u043E\u0434\u043D\u0435",evening:"\u0443\u0432\u0435\u0447\u0435",night:"\u043D\u043E\u045B\u0443"},abbreviated:{am:"\u0410\u041C",pm:"\u041F\u041C",midnight:"\u043F\u043E\u043D\u043E\u045B",noon:"\u043F\u043E\u0434\u043D\u0435",morning:"\u0443\u0458\u0443\u0442\u0440\u0443",afternoon:"\u043F\u043E\u043F\u043E\u0434\u043D\u0435",evening:"\u0443\u0432\u0435\u0447\u0435",night:"\u043D\u043E\u045B\u0443"},wide:{am:"AM",pm:"PM",midnight:"\u043F\u043E\u043D\u043E\u045B",noon:"\u043F\u043E\u0434\u043D\u0435",morning:"\u0443\u0458\u0443\u0442\u0440\u0443",afternoon:"\u043F\u043E\u0441\u043B\u0435 \u043F\u043E\u0434\u043D\u0435",evening:"\u0443\u0432\u0435\u0447\u0435",night:"\u043D\u043E\u045B\u0443"}},m={narrow:{am:"AM",pm:"PM",midnight:"\u043F\u043E\u043D\u043E\u045B",noon:"\u043F\u043E\u0434\u043D\u0435",morning:"\u0443\u0458\u0443\u0442\u0440\u0443",afternoon:"\u043F\u043E\u043F\u043E\u0434\u043D\u0435",evening:"\u0443\u0432\u0435\u0447\u0435",night:"\u043D\u043E\u045B\u0443"},abbreviated:{am:"AM",pm:"PM",midnight:"\u043F\u043E\u043D\u043E\u045B",noon:"\u043F\u043E\u0434\u043D\u0435",morning:"\u0443\u0458\u0443\u0442\u0440\u0443",afternoon:"\u043F\u043E\u043F\u043E\u0434\u043D\u0435",evening:"\u0443\u0432\u0435\u0447\u0435",night:"\u043D\u043E\u045B\u0443"},wide:{am:"AM",pm:"PM",midnight:"\u043F\u043E\u043D\u043E\u045B",noon:"\u043F\u043E\u0434\u043D\u0435",morning:"\u0443\u0458\u0443\u0442\u0440\u0443",afternoon:"\u043F\u043E\u0441\u043B\u0435 \u043F\u043E\u0434\u043D\u0435",evening:"\u0443\u0432\u0435\u0447\u0435",night:"\u043D\u043E\u045B\u0443"}},p={ordinalNumber:a,era:(0,e.default)({values:n,defaultWidth:"wide"}),quarter:(0,e.default)({values:d,defaultWidth:"wide",argumentCallback:function(l){return Number(l)-1}}),month:(0,e.default)({values:u,defaultWidth:"wide",formattingValues:r,defaultFormattingWidth:"wide"}),day:(0,e.default)({values:s,defaultWidth:"wide"}),dayPeriod:(0,e.default)({values:m,defaultWidth:"wide",formattingValues:f,defaultFormattingWidth:"wide"})},v=p;t.default=v,o.exports=t.default})(M,M.exports);var b={exports:{}};(function(o,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e=a(I.exports),i=a(O.exports);function a(h){return h&&h.__esModule?h:{default:h}}var n=/^(\d+)\./i,u=/\d+/i,r={narrow:/^(пр\.н\.е\.|АД)/i,abbreviated:/^(пр\.\s?Хр\.|по\.\s?Хр\.)/i,wide:/^(Пре Христа|пре нове ере|После Христа|нова ера)/i},d={any:[/^пр/i,/^(по|нова)/i]},s={narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?кв\.?/i,wide:/^[1234]\. квартал/i},f={any:[/1/i,/2/i,/3/i,/4/i]},m={narrow:/^(10|11|12|[123456789])\./i,abbreviated:/^(јан|феб|мар|апр|мај|јун|јул|авг|сеп|окт|нов|дец)/i,wide:/^((јануар|јануара)|(фебруар|фебруара)|(март|марта)|(април|априла)|(мја|маја)|(јун|јуна)|(јул|јула)|(август|августа)|(септембар|септембра)|(октобар|октобра)|(новембар|новембра)|(децембар|децембра))/i},p={narrow:[/(10|11|12|[123456789])/i],any:[/^ја/i,/^ф/i,/^мар/i,/^ап/i,/^мај/i,/^јун/i,/^јул/i,/^авг/i,/^с/i,/^о/i,/^н/i,/^д/i]},v={narrow:/^[пусчн]/i,short:/^(нед|пон|уто|сре|чет|пет|суб)/i,abbreviated:/^(нед|пон|уто|сре|чет|пет|суб)/i,wide:/^(недеља|понедељак|уторак|среда|четвртак|петак|субота)/i},l={narrow:[/^п/i,/^у/i,/^с/i,/^ч/i,/^н/i],any:[/^нед/i,/^пон/i,/^уто/i,/^сре/i,/^чет/i,/^пет/i,/^суб/i]},P={any:/^(ам|пм|поноћ|(по)?подне|увече|ноћу|после подне|ујутру)/i},_={any:{am:/^a/i,pm:/^p/i,midnight:/^поно/i,noon:/^под/i,morning:/ујутру/i,afternoon:/(после\s|по)+подне/i,evening:/(увече)/i,night:/(ноћу)/i}},x={ordinalNumber:(0,i.default)({matchPattern:n,parsePattern:u,valueCallback:function(h){return parseInt(h,10)}}),era:(0,e.default)({matchPatterns:r,defaultMatchWidth:"wide",parsePatterns:d,defaultParseWidth:"any"}),quarter:(0,e.default)({matchPatterns:s,defaultMatchWidth:"wide",parsePatterns:f,defaultParseWidth:"any",valueCallback:function(h){return h+1}}),month:(0,e.default)({matchPatterns:m,defaultMatchWidth:"wide",parsePatterns:p,defaultParseWidth:"any"}),day:(0,e.default)({matchPatterns:v,defaultMatchWidth:"wide",parsePatterns:l,defaultParseWidth:"any"}),dayPeriod:(0,e.default)({matchPatterns:P,defaultMatchWidth:"any",parsePatterns:_,defaultParseWidth:"any"})},W=x;t.default=W,o.exports=t.default})(b,b.exports);(function(o,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e=r(w.exports),i=r(g.exports),a=r(y.exports),n=r(M.exports),u=r(b.exports);function r(f){return f&&f.__esModule?f:{default:f}}var d={code:"sr",formatDistance:e.default,formatLong:i.default,formatRelative:a.default,localize:n.default,match:u.default,options:{weekStartsOn:1,firstWeekContainsDate:1}},s=d;t.default=s,o.exports=t.default})(c,c.exports);var z=A(c.exports),V=F({__proto__:null,default:z},[c.exports]);export{V as i};
|