@directus/app 9.6.0 → 9.7.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.27762347.entry.js → @directus_extensions-sdk.2337631a.entry.js} +1 -1
- package/dist/assets/{active-line.e9818888.js → active-line.6699d1d4.js} +1 -1
- package/dist/assets/{activity-log.85daf7a4.js → activity-log.22054141.js} +1 -1
- package/dist/assets/{activity.d0569cd2.js → activity.8c430e94.js} +1 -1
- package/dist/assets/{apl.8277d513.js → apl.7775d50b.js} +1 -1
- package/dist/assets/{ar-SA.ea40e3a9.js → ar-SA.0a552a0b.js} +1 -1
- package/dist/assets/{asciiarmor.c653ded3.js → asciiarmor.5e2beed1.js} +1 -1
- package/dist/assets/{asn.1.bd4bac01.js → asn.1.d025eb38.js} +1 -1
- package/dist/assets/{asterisk.dd04622f.js → asterisk.c4708b9e.js} +1 -1
- package/dist/assets/{authentication.60521067.js → authentication.f05edf0f.js} +1 -1
- package/dist/assets/{autorefresh.fcc43bee.js → autorefresh.55a3f0da.js} +1 -1
- package/dist/assets/{aws.76e96460.js → aws.9b80a703.js} +1 -1
- package/dist/assets/{backing-directus.64e6ef1f.js → backing-directus.c1723485.js} +1 -1
- package/dist/assets/{bg-BG.0d877a81.js → bg-BG.396b2faa.js} +2 -2
- package/dist/assets/br-FR.5cd59909.js +1 -0
- package/dist/assets/{brainfuck.88714c3d.js → brainfuck.70365580.js} +1 -1
- package/dist/assets/ca-ES.65d1acd8.js +1 -0
- package/dist/assets/{cli.9b6582a5.js → cli.d6690abf.js} +9 -8
- package/dist/assets/{cli.c91d5269.js → cli.fc9c4fe3.js} +1 -1
- package/dist/assets/{clike.a23032a9.js → clike.3e9dee98.js} +1 -1
- package/dist/assets/{clojure.77bd41dc.js → clojure.ce130fa7.js} +1 -1
- package/dist/assets/{cloudron.52aa95ca.js → cloudron.6e7dd837.js} +1 -1
- package/dist/assets/{cmake.d6a02425.js → cmake.fab973de.js} +1 -1
- package/dist/assets/{cobol.12648bf5.js → cobol.7a64bbbe.js} +1 -1
- package/dist/assets/{codebase-overview.8d89aaef.js → codebase-overview.fd823572.js} +1 -1
- package/dist/assets/{coffeescript.c039cbb4.js → coffeescript.9d4b8f5f.js} +1 -1
- package/dist/assets/{collections.dc3b49e6.js → collections.8af56d21.js} +1 -1
- package/dist/assets/{commonlisp.f2084a1d.js → commonlisp.5428daad.js} +1 -1
- package/dist/assets/{config-options.4f623f71.js → config-options.f925fec1.js} +16 -16
- package/dist/assets/{content-collections.ac942019.js → content-collections.6ba530d0.js} +1 -1
- package/dist/assets/{content-items.5657df9d.js → content-items.646094ea.js} +1 -1
- package/dist/assets/{content.3725ebd8.js → content.b15cd000.js} +1 -1
- package/dist/assets/{creating-extensions.26964364.js → creating-extensions.91c8f8ab.js} +1 -1
- package/dist/assets/{crystal.67f22611.js → crystal.75b4be8e.js} +1 -1
- package/dist/assets/cs-CZ.b18be214.js +1 -0
- package/dist/assets/{css.7d0bb97e.js → css.f630d758.js} +1 -1
- package/dist/assets/{cypher.79c6a384.js → cypher.eb908369.js} +1 -1
- package/dist/assets/{d.9f3975bc.js → d.2ca3ff68.js} +1 -1
- package/dist/assets/da-DK.64f2463b.js +1 -0
- package/dist/assets/{dart.2413f6a0.js → dart.74222142.js} +1 -1
- package/dist/assets/{data-model.d6b27512.js → data-model.f7fcb9d7.js} +1 -1
- package/dist/assets/de-DE.924c4f0c.js +1 -0
- package/dist/assets/{diff.e65cc025.js → diff.62bebf2e.js} +1 -1
- package/dist/assets/{digitalocean-app-platform.1a64c7ed.js → digitalocean-app-platform.540a6b04.js} +1 -1
- package/dist/assets/{displays.3a79683e.js → displays.a8cb30df.js} +1 -1
- package/dist/assets/{django.9bb11ca6.js → django.4a919dce.js} +1 -1
- package/dist/assets/{docker.790722c7.js → docker.7709b030.js} +1 -1
- package/dist/assets/{dockerfile.6abd4f99.js → dockerfile.45a795cd.js} +1 -1
- package/dist/assets/{documentation.d06bab23.js → documentation.50eb6684.js} +1 -1
- package/dist/assets/{dtd.658f232c.js → dtd.e849d54b.js} +1 -1
- package/dist/assets/{dylan.bb250d49.js → dylan.9bddc9f7.js} +1 -1
- package/dist/assets/{ebnf.7167c45f.js → ebnf.38e716c6.js} +1 -1
- package/dist/assets/{ecl.faa546da.js → ecl.81e3d74e.js} +1 -1
- package/dist/assets/{eiffel.bdc2ca84.js → eiffel.c99e3e69.js} +1 -1
- package/dist/assets/{elm.fc9c507a.js → elm.2039c837.js} +1 -1
- package/dist/assets/{email-templates.79e5e2ca.js → email-templates.dcdc7831.js} +1 -1
- package/dist/assets/en-CA.36509acf.js +1 -0
- package/dist/assets/en-GB.426d1575.js +1 -0
- package/dist/assets/{endpoints.04e33b95.js → endpoints.7c9a686c.js} +1 -1
- package/dist/assets/{erlang.63538b7a.js → erlang.b4ea5ae2.js} +1 -1
- package/dist/assets/es-419.6e38424a.js +1 -0
- package/dist/assets/es-CL.5ceef757.js +1 -0
- package/dist/assets/es-ES.9856a734.js +1 -0
- package/dist/assets/et-EE.17e0caa0.js +3 -0
- package/dist/assets/{extensions.771f89ad.js → extensions.a926868d.js} +1 -1
- package/dist/assets/fa-IR.f419c15f.js +1 -0
- package/dist/assets/{factor.9f9f4abb.js → factor.ec067b03.js} +1 -1
- package/dist/assets/{faq.0cd56497.js → faq.099805d8.js} +1 -1
- package/dist/assets/{fcl.f9869b95.js → fcl.d64b77e4.js} +1 -1
- package/dist/assets/fi-FI.7602b87c.js +1 -0
- package/dist/assets/{fields.a96528be.js → fields.d3d4b155.js} +1 -1
- package/dist/assets/file-library.d1612880.js +1 -0
- package/dist/assets/{files.f21bf259.js → files.b0d7fda4.js} +1 -1
- package/dist/assets/{filter-rules.e04beb8f.js → filter-rules.8a621a85.js} +3 -3
- package/dist/assets/filters.6a5b112f.js +1 -0
- package/dist/assets/{folders.c3b0e112.js → folders.5baf146b.js} +1 -1
- package/dist/assets/{forth.c127aeeb.js → forth.af979d85.js} +1 -1
- package/dist/assets/{fortran.971bd1fd.js → fortran.ec9dff42.js} +1 -1
- package/dist/assets/fr-CA.4275731a.js +1 -0
- package/dist/assets/fr-FR.e00afdf2.js +1 -0
- package/dist/assets/{gas.bf045d26.js → gas.e92cddf0.js} +1 -1
- package/dist/assets/{gcp.678c6445.js → gcp.8f8fc1fa.js} +1 -1
- package/dist/assets/{gfm.4b4dba16.js → gfm.16df016c.js} +1 -1
- package/dist/assets/{gherkin.28e46387.js → gherkin.bcaa97fb.js} +1 -1
- package/dist/assets/{github-ci.23ecb36d.js → github-ci.e9b192ca.js} +1 -1
- package/dist/assets/glossary.fc7f9bc9.js +1 -0
- package/dist/assets/{go.37f05be2.js → go.f0f402de.js} +1 -1
- package/dist/assets/{groovy.caed6356.js → groovy.3e813dc1.js} +1 -1
- package/dist/assets/{haml.6d0c1fb8.js → haml.dd21ea02.js} +1 -1
- package/dist/assets/{handlebars.29c511b2.js → handlebars.00325274.js} +1 -1
- package/dist/assets/{haskell-literate.212af0aa.js → haskell-literate.89ac509a.js} +1 -1
- package/dist/assets/{haskell.701a5e5e.js → haskell.0b50e3c4.js} +1 -1
- package/dist/assets/{haxe.0989c172.js → haxe.70694597.js} +1 -1
- package/dist/assets/{he-IL.80c0db1b.js → he-IL.bc84c4a0.js} +1 -1
- package/dist/assets/hi-IN.8c11e9ab.js +1 -0
- package/dist/assets/{hooks.0082d595.js → hooks.0145a3bd.js} +2 -2
- package/dist/assets/hr-HR.20250a9e.js +1 -0
- package/dist/assets/{htmlembedded.4af5b785.js → htmlembedded.ff1b7ddb.js} +1 -1
- package/dist/assets/htmlmixed.c336d32d.js +1 -0
- package/dist/assets/{http.d4f19e67.js → http.89caf601.js} +1 -1
- package/dist/assets/hu-HU.cff882cf.js +1 -0
- package/dist/assets/id-ID.b2378473.js +1 -0
- package/dist/assets/{idl.eeda14ab.js → idl.9b5e4cad.js} +1 -1
- package/dist/assets/{iis.330abbee.js → iis.40c66643.js} +1 -1
- package/dist/assets/{index.f6a253b6.js → index.041df172.js} +1 -1
- package/dist/assets/{index.37cffa7d.js → index.0628e8bd.js} +1 -1
- package/dist/assets/{index.6260e453.js → index.097853f8.js} +1 -1
- package/dist/assets/{index.7a98f173.js → index.0ab24219.js} +1 -1
- package/dist/assets/{index.cf683d8c.js → index.0ca9a796.js} +1 -1
- package/dist/assets/{index.f3c9fe2a.js → index.0cd9d9b7.js} +1 -1
- package/dist/assets/{index.c922886d.js → index.1266cd27.js} +1 -1
- package/dist/assets/{index.0dddca1a.js → index.1b050638.js} +1 -1
- package/dist/assets/{index.cd1e1e40.js → index.1e66a9ec.js} +1 -1
- package/dist/assets/{index.4aa69d22.js → index.202f3d05.js} +1 -1
- package/dist/assets/{index.d74fe2b2.js → index.23b9c348.js} +3 -3
- package/dist/assets/{index.d4834d17.js → index.2a3e5b79.js} +1 -1
- package/dist/assets/{index.146fba14.js → index.2a7526a7.js} +1 -1
- package/dist/assets/{index.3677702f.css → index.31e06860.css} +1 -1
- package/dist/assets/index.32751ec3.css +1 -0
- package/dist/assets/{index.e7e6179d.js → index.3b3f6323.js} +1 -1
- package/dist/assets/{index.8dee4a35.js → index.3e96c8d9.js} +1 -1
- package/dist/assets/{index.a2ff10ff.js → index.4396317f.js} +1 -1
- package/dist/assets/{index.4f13b227.js → index.46f67576.js} +1 -1
- package/dist/assets/{index.6e92d608.js → index.477b71be.js} +1 -1
- package/dist/assets/{index.ff32b7e4.js → index.4f7ab11c.js} +1 -1
- package/dist/assets/{index.205e1dad.js → index.4ff778a9.js} +1 -1
- package/dist/assets/{index.90abf85c.js → index.541dd63b.js} +1 -1
- package/dist/assets/{index.3ae28004.js → index.548ad5db.js} +1 -1
- package/dist/assets/{index.10548c32.js → index.54e5beb6.js} +1 -1
- package/dist/assets/{index.62fd2872.js → index.59078669.js} +1 -1
- package/dist/assets/{index.7badc515.js → index.5e62ad71.js} +1 -1
- package/dist/assets/{index.7e95afe7.js → index.62e7e8b6.js} +1 -1
- package/dist/assets/{index.41b6a5ee.js → index.63004979.js} +1 -1
- package/dist/assets/{index.51882a25.js → index.643526b8.js} +1 -1
- package/dist/assets/{index.98841743.js → index.66422446.js} +1 -1
- package/dist/assets/{index.51574b0e.js → index.66bdbbb9.js} +1 -1
- package/dist/assets/{index.eacd68de.js → index.66fe04cd.js} +1 -1
- package/dist/assets/{index.fc02ea02.js → index.67ff908a.js} +1 -1
- package/dist/assets/{index.d03f4b8b.js → index.6a59ef10.js} +1 -1
- package/dist/assets/{index.c208f0fd.js → index.6d5fb415.js} +1 -1
- package/dist/assets/{index.8fe44535.js → index.6d7f4e6d.js} +1 -1
- package/dist/assets/{index.a09c6735.js → index.6d9ec5c6.js} +1 -1
- package/dist/assets/{index.7a271708.js → index.6e0139ff.js} +1 -1
- package/dist/assets/{index.7472dc76.js → index.76a7d8c0.js} +1 -1
- package/dist/assets/{index.b6a98b96.js → index.7a2c04d6.js} +1 -1
- package/dist/assets/{index.5ea5bfa5.js → index.7c53a0fb.js} +1 -1
- package/dist/assets/{index.a6e1eaac.js → index.7f69c41b.js} +1 -1
- package/dist/assets/{index.93380fe6.js → index.7fb3a6c7.js} +1 -1
- package/dist/assets/{index.e787f33f.js → index.8164fb75.js} +1 -1
- package/dist/assets/{index.1806be1f.js → index.8f5c464b.js} +1 -1
- package/dist/assets/{index.e041364c.js → index.902d1387.js} +1 -1
- package/dist/assets/{index.73b63f0e.js → index.932d2697.js} +1 -1
- package/dist/assets/{index.071a9c3a.js → index.964d1c61.js} +1 -1
- package/dist/assets/{index.f10b280f.js → index.97148b30.js} +1 -1
- package/dist/assets/{index.4b8ae547.js → index.982ed1da.js} +1 -1
- package/dist/assets/{index.60c6d36d.js → index.995d747a.js} +1 -1
- package/dist/assets/{index.14876b51.js → index.a1662cc9.js} +1 -1
- package/dist/assets/{index.913c3bcb.js → index.a4957bf2.js} +1 -1
- package/dist/assets/{index.fc550611.js → index.a4ba49e2.js} +1 -1
- package/dist/assets/{index.625e71a7.js → index.a5aaff63.js} +1 -1
- package/dist/assets/{index.326bb798.js → index.a6b09209.js} +1 -1
- package/dist/assets/{index.68a087d1.js → index.a74d5392.js} +1 -1
- package/dist/assets/{index.525f3896.js → index.a837d852.js} +1 -1
- package/dist/assets/{index.7cfb4e9f.js → index.a890db0a.js} +1 -1
- package/dist/assets/{index.3fc14165.js → index.a98f3f41.js} +1 -1
- package/dist/assets/{index.51e43e6a.js → index.b0f1559f.js} +1 -1
- package/dist/assets/{index.9c5d89ae.js → index.b308ebfd.js} +1 -1
- package/dist/assets/{index.5e04a811.js → index.b3443003.js} +1 -1
- package/dist/assets/{index.d0b4ff86.js → index.b560747b.js} +1 -1
- package/dist/assets/{index.cfae1a8b.js → index.b917f2e8.js} +1 -1
- package/dist/assets/{index.c440596f.js → index.b9b1c925.js} +1 -1
- package/dist/assets/{index.f52f3569.js → index.c2d63958.js} +1 -1
- package/dist/assets/{index.0d6f77da.js → index.c43800ac.js} +1 -1
- package/dist/assets/{index.4e0946be.js → index.c5407073.js} +1 -1
- package/dist/assets/{index.76e3ec1d.js → index.da489414.js} +1 -1
- package/dist/assets/{index.cd89a422.js → index.e42e1497.js} +1 -1
- package/dist/assets/{index.e96faed1.js → index.e58fb4ca.js} +1 -1
- package/dist/assets/{index.a97e922c.js → index.e638432f.js} +1 -1
- package/dist/assets/{index.10925874.js → index.e981a8c0.js} +1 -1
- package/dist/assets/{index.a002e680.js → index.eb9266b6.js} +1 -1
- package/dist/assets/{index.a2862ce9.js → index.ec02e1a8.js} +1 -1
- package/dist/assets/{index.caf343d8.js → index.ecb8cbfe.js} +1 -1
- package/dist/assets/{index.df4b8c75.js → index.ed3b1798.js} +1 -1
- package/dist/assets/index.efa579c8.entry.js +531 -0
- package/dist/assets/{index.e7be0f01.js → index.f5c1b36c.js} +1 -1
- package/dist/assets/{index.ac67a5f3.js → index.f8010139.js} +1 -1
- package/dist/assets/{index.415d63b7.js → index.fa3d01c6.js} +1 -1
- package/dist/assets/{index.b3b7693f.js → index.fd3546d2.js} +1 -1
- package/dist/assets/{input-rich-text-html.1d6673ff.css → input-rich-text-html.13cfe672.css} +1 -1
- package/dist/assets/{input-rich-text-html.12cfd6d6.js → input-rich-text-html.2c73599b.js} +42 -42
- package/dist/assets/{insights.7e720aaa.js → insights.0c264b98.js} +1 -1
- package/dist/assets/{installation.ac1195fb.js → installation.922b399f.js} +1 -1
- package/dist/assets/{interfaces.85a891f8.js → interfaces.6a856f56.js} +1 -1
- package/dist/assets/{introduction.16cf3345.js → introduction.3be9176c.js} +1 -1
- package/dist/assets/{introduction.f1b59346.js → introduction.4bd801ef.js} +1 -1
- package/dist/assets/{introduction.d2c3a9b1.js → introduction.527bed5f.js} +1 -1
- package/dist/assets/{introduction.14ab0709.js → introduction.74d56187.js} +1 -1
- package/dist/assets/it-IT.41ec56b2.js +1 -0
- package/dist/assets/{items.ce1274b9.js → items.15f19b41.js} +1 -1
- package/dist/assets/ja-JP.9041d966.js +1 -0
- package/dist/assets/{javascript-hint.2d9f90b8.js → javascript-hint.85fe04bc.js} +1 -1
- package/dist/assets/{javascript.aa968f57.js → javascript.6df53894.js} +1 -1
- package/dist/assets/{jinja2.36c237ca.js → jinja2.e8b68774.js} +1 -1
- package/dist/assets/{jsx.197dce43.js → jsx.b60e0b30.js} +1 -1
- package/dist/assets/{julia.c102dfd3.js → julia.f22a76b4.js} +1 -1
- package/dist/assets/{layouts.ff5441c6.js → layouts.e9d0662e.js} +1 -1
- package/dist/assets/{livescript.21105db8.js → livescript.4491b18d.js} +1 -1
- package/dist/assets/{localization.27364f2b.js → localization.fd9d3ced.js} +1 -1
- package/dist/assets/lt-LT.471e35c1.js +1 -0
- package/dist/assets/{lua.1d09048d.js → lua.a1149722.js} +1 -1
- package/dist/assets/{manual.63f9c5d3.js → manual.cbc801ad.js} +1 -1
- package/dist/assets/{mark-selection.48a3dbe8.js → mark-selection.76435845.js} +1 -1
- package/dist/assets/{match-highlighter.0df5b4f1.js → match-highlighter.b956d6f5.js} +1 -1
- package/dist/assets/{mathematica.2fe90942.js → mathematica.a4a9ec16.js} +1 -1
- package/dist/assets/{mbox.5cb538b6.js → mbox.01d57c38.js} +1 -1
- package/dist/assets/{migrations.1bc30d80.js → migrations.18341e47.js} +1 -1
- package/dist/assets/{mirc.96079655.js → mirc.a547c0ce.js} +1 -1
- package/dist/assets/{mllike.7a80c37b.js → mllike.7d6bc859.js} +1 -1
- package/dist/assets/{modelica.f87d9a24.js → modelica.f4947669.js} +1 -1
- package/dist/assets/{modules.dfe4aa4e.js → modules.6f758e4f.js} +1 -1
- package/dist/assets/{ms-MY.3db62076.js → ms-MY.3afe9a48.js} +1 -1
- package/dist/assets/{mscgen.1e50688f.js → mscgen.720142b6.js} +1 -1
- package/dist/assets/{multiplex.90c2363b.js → multiplex.04dbee0d.js} +1 -1
- package/dist/assets/{mumps.aa5704c7.js → mumps.fec4f954.js} +1 -1
- package/dist/assets/{nginx.f40bad27.js → nginx.7539be81.js} +1 -1
- package/dist/assets/nl-NL.9517ed64.js +1 -0
- package/dist/assets/no-NO.6684a30b.js +1 -0
- package/dist/assets/{notifications.20bde137.js → notifications.41663018.js} +1 -1
- package/dist/assets/{nsis.99bbd756.js → nsis.f65a3a36.js} +1 -1
- package/dist/assets/{ntriples.2e5020c8.js → ntriples.4062190c.js} +1 -1
- package/dist/assets/{octave.ee1a6e70.js → octave.727eba6c.js} +1 -1
- package/dist/assets/{overlay.8ec15b1b.js → overlay.992bb21f.js} +1 -1
- package/dist/assets/{overview.01ff825c.js → overview.2ee9fc7c.js} +1 -1
- package/dist/assets/{overview.3a8bd973.js → overview.8efdff51.js} +1 -1
- package/dist/assets/{oz.9fbab86e.js → oz.db891ae9.js} +1 -1
- package/dist/assets/{panels.84ef6a84.js → panels.f7de183c.js} +1 -1
- package/dist/assets/{pascal.c44d5320.js → pascal.c4ab202f.js} +1 -1
- package/dist/assets/{pegjs.b32c7ead.js → pegjs.6fc0ee07.js} +1 -1
- package/dist/assets/{perl.2729cf31.js → perl.e231799e.js} +1 -1
- package/dist/assets/{permissions.47d65b17.js → permissions.264879f9.js} +1 -1
- package/dist/assets/{php.d6a66d9d.js → php.452d2ae6.js} +1 -1
- package/dist/assets/{pig.47fa025c.js → pig.75deee74.js} +1 -1
- package/dist/assets/pinia.dbc55615.entry.js +1 -0
- package/dist/assets/pl-PL.2fd6f24d.js +1 -0
- package/dist/assets/{plesk.0483440c.js → plesk.a0981648.js} +1 -1
- package/dist/assets/{powershell.99a55b30.js → powershell.69dd2c72.js} +1 -1
- package/dist/assets/{presets-bookmarks.82f3f9ef.js → presets-bookmarks.1530d971.js} +1 -1
- package/dist/assets/{presets.6ace4e86.js → presets.80f5e858.js} +1 -1
- package/dist/assets/{project-settings.b6942d32.js → project-settings.2c9e864e.js} +1 -1
- package/dist/assets/{properties.1055d639.js → properties.c3e318ad.js} +1 -1
- package/dist/assets/{protobuf.4b3eb57a.js → protobuf.2150de0e.js} +1 -1
- package/dist/assets/pt-BR.b7887762.js +1 -0
- package/dist/assets/pt-PT.9d22af9f.js +1 -0
- package/dist/assets/{pug.000c324e.js → pug.b2ff6b0f.js} +1 -1
- package/dist/assets/{puppet.25546d2c.js → puppet.1d462dc8.js} +1 -1
- package/dist/assets/{python.8450efc6.js → python.dce994e2.js} +1 -1
- package/dist/assets/{q.0ad76756.js → q.bf8f610c.js} +1 -1
- package/dist/assets/{query.d7cae937.js → query.92eb12f1.js} +1 -1
- package/dist/assets/{quickstart.7dce1be9.js → quickstart.1f445650.js} +1 -1
- package/dist/assets/{r.2e3f1373.js → r.b447ab61.js} +1 -1
- package/dist/assets/{relations.143e59a4.js → relations.0d8e12f7.js} +1 -1
- package/dist/assets/{relationships.8a6a55ea.js → relationships.7bab6750.js} +1 -1
- package/dist/assets/{revisions.4a380f31.js → revisions.9348dc1c.js} +1 -1
- package/dist/assets/ro-RO.13404884.js +1 -0
- package/dist/assets/{roles.9a467f51.js → roles.231416c7.js} +1 -1
- package/dist/assets/{rpm.0f41e62d.js → rpm.f4abf330.js} +1 -1
- package/dist/assets/{rst.a4f3ba5f.js → rst.5697007e.js} +1 -1
- package/dist/assets/ru-RU.c800aa80.js +1 -0
- package/dist/assets/{ruby.5cb0ba51.js → ruby.69583d0f.js} +1 -1
- package/dist/assets/{running-locally.b2de8da4.js → running-locally.7e946754.js} +1 -1
- package/dist/assets/{rust.b7493419.js → rust.0a9779c7.js} +1 -1
- package/dist/assets/{sas.0cd3626d.js → sas.ed18a9d8.js} +1 -1
- package/dist/assets/{sass.cd694623.js → sass.bb0431ec.js} +1 -1
- package/dist/assets/{scheme.3aaec68e.js → scheme.d302b72a.js} +1 -1
- package/dist/assets/{sdk.accde57c.js → sdk.50580642.js} +1 -1
- package/dist/assets/{security.c7ae152d.js → security.79ae2a57.js} +1 -1
- package/dist/assets/{server.4707997f.js → server.fadb1767.js} +1 -1
- package/dist/assets/settings.962b566d.js +1 -0
- package/dist/assets/{settings.16ae0506.js → settings.dbd7dc00.js} +1 -1
- package/dist/assets/{shell.330154a1.js → shell.a98c5df7.js} +1 -1
- package/dist/assets/{show-hint.08ce5b35.js → show-hint.82972b3b.js} +1 -1
- package/dist/assets/sieve.2a4b8b32.js +1 -0
- package/dist/assets/{simple.8763f2ec.js → simple.4d388fb2.js} +1 -1
- package/dist/assets/sl-SI.4d31a782.js +2 -0
- package/dist/assets/{slim.9ea94231.js → slim.4c69adbc.js} +1 -1
- package/dist/assets/{smalltalk.8b61c119.js → smalltalk.dcf26835.js} +1 -1
- package/dist/assets/{smarty.706bb089.js → smarty.fa1c7fdc.js} +1 -1
- package/dist/assets/{solr.67c7ee7a.js → solr.19c19a86.js} +1 -1
- package/dist/assets/{soy.be473048.js → soy.50b5b6b0.js} +1 -1
- package/dist/assets/{sparql.51a25620.js → sparql.d48c3147.js} +1 -1
- package/dist/assets/{spreadsheet.fcb893e8.js → spreadsheet.b5c59ea4.js} +1 -1
- package/dist/assets/{sql.4dc1acac.js → sql.a0697343.js} +1 -1
- package/dist/assets/sr-CS.2c599d6f.js +1 -0
- package/dist/assets/{sso.e2f0df9a.js → sso.8a97bee3.js} +1 -1
- package/dist/assets/{stex.84747908.js → stex.90b916aa.js} +1 -1
- package/dist/assets/{stylus.7b96e081.js → stylus.ebfabd1e.js} +1 -1
- package/dist/assets/{support.0b9bd95f.js → support.ef8b3e6f.js} +1 -1
- package/dist/assets/sv-SE.379bf27b.js +1 -0
- package/dist/assets/{swift.79848d55.js → swift.d438815e.js} +1 -1
- package/dist/assets/{tcl.1970681b.js → tcl.21f82383.js} +1 -1
- package/dist/assets/{textile.e83320ea.js → textile.55314c2b.js} +1 -1
- package/dist/assets/th-TH.5c6acfee.js +2 -0
- package/dist/assets/{themes.323d2c59.js → themes.e36c3621.js} +1 -1
- package/dist/assets/{tiddlywiki.2b2e4ff7.js → tiddlywiki.ef965bfa.js} +1 -1
- package/dist/assets/{tiki.9cc4254e.js → tiki.85b9e632.js} +1 -1
- package/dist/assets/{toml.9be02e0b.js → toml.f1a6752b.js} +1 -1
- package/dist/assets/{tornado.073889de.js → tornado.0ccb5d7b.js} +1 -1
- package/dist/assets/tr-TR.7cec66df.js +1 -0
- package/dist/assets/{translations.bd6e2f4c.js → translations.cbf49b08.js} +1 -1
- package/dist/assets/{troff.8fa79cbc.js → troff.7aef1c50.js} +1 -1
- package/dist/assets/{ttcn-cfg.e7bac5a1.js → ttcn-cfg.e4f6b5a8.js} +1 -1
- package/dist/assets/{ttcn.1cc44c93.js → ttcn.ff893952.js} +1 -1
- package/dist/assets/{turtle.d5e9ffb3.js → turtle.7ae8406c.js} +1 -1
- package/dist/assets/{twig.b04e6f4c.js → twig.e1e35aed.js} +1 -1
- package/dist/assets/{ubuntu.2e2a920e.js → ubuntu.dd0d797a.js} +1 -1
- package/dist/assets/uk-UA.fde73b19.js +1 -0
- package/dist/assets/{upgrades-migrations.6b40146f.js → upgrades-migrations.fef45684.js} +1 -1
- package/dist/assets/use-sync.c3bd7fae.js +1 -0
- package/dist/assets/user-directory.dd69d11f.js +1 -0
- package/dist/assets/{users-roles-permissions.9d570863.js → users-roles-permissions.84c3d85a.js} +1 -1
- package/dist/assets/{users.2bcfad1a.js → users.e8dc25da.js} +1 -1
- package/dist/assets/{utilities.e5c07634.js → utilities.85f4e01c.js} +20 -6
- package/dist/assets/{vb.c986b370.js → vb.5097b30b.js} +1 -1
- package/dist/assets/{vbscript.92f83a08.js → vbscript.d846d94b.js} +1 -1
- package/dist/assets/{velocity.f11f1d03.js → velocity.d5b05c86.js} +1 -1
- package/dist/assets/{vendor.546e1516.js → vendor.32937068.js} +1 -1
- package/dist/assets/{verilog.a24f0500.js → verilog.5dacce20.js} +1 -1
- package/dist/assets/{vhdl.a49602e6.js → vhdl.0939b1d2.js} +1 -1
- package/dist/assets/vi-VN.3c48e9bb.js +1 -0
- package/dist/assets/vue-i18n.dac36308.entry.js +1 -0
- package/dist/assets/vue-router.81a8d739.entry.js +1 -0
- package/dist/assets/vue.5073c0a4.entry.js +1 -0
- package/dist/assets/{vue.c4de942a.js → vue.5b9edc33.js} +1 -1
- package/dist/assets/{wast.6c6c82f6.js → wast.7c42f4e1.js} +1 -1
- package/dist/assets/{webhooks.6086e8a1.js → webhooks.75cbebd1.js} +1 -1
- package/dist/assets/{webhooks.6b93563c.js → webhooks.e8a8da30.js} +1 -1
- package/dist/assets/{webidl.7ab89b46.js → webidl.c0830ceb.js} +1 -1
- package/dist/assets/{xquery.0bb89cc8.js → xquery.61a87c2d.js} +1 -1
- package/dist/assets/{yacas.ed921cd2.js → yacas.085c1388.js} +1 -1
- package/dist/assets/{yaml-frontmatter.1248294d.js → yaml-frontmatter.27df0d99.js} +1 -1
- package/dist/assets/{yaml.b6cf6fc7.js → yaml.ae2e6559.js} +1 -1
- package/dist/assets/{z80.84dfc6fb.js → z80.61db2f81.js} +1 -1
- package/dist/assets/zh-CN.7e52130c.js +1 -0
- package/dist/assets/zh-TW.68a59250.js +1 -0
- package/dist/index.html +4 -4
- package/package.json +6 -6
- package/dist/assets/br-FR.b5bf22f7.js +0 -1
- package/dist/assets/ca-ES.4ec66903.js +0 -1
- package/dist/assets/cs-CZ.8dfd2141.js +0 -1
- package/dist/assets/da-DK.e4e3715f.js +0 -1
- package/dist/assets/de-DE.7cd8edca.js +0 -1
- package/dist/assets/en-CA.54b75dac.js +0 -1
- package/dist/assets/en-GB.5d984991.js +0 -1
- package/dist/assets/es-419.768b23e7.js +0 -1
- package/dist/assets/es-CL.e4d38d3f.js +0 -1
- package/dist/assets/es-ES.5ed14f46.js +0 -1
- package/dist/assets/et-EE.3c82a2a7.js +0 -3
- package/dist/assets/fa-IR.bc4949d0.js +0 -1
- package/dist/assets/fi-FI.ea8c811c.js +0 -1
- package/dist/assets/file-library.680d5840.js +0 -1
- package/dist/assets/fr-CA.98b1ca99.js +0 -1
- package/dist/assets/fr-FR.76a38bd1.js +0 -1
- package/dist/assets/glossary.3288b825.js +0 -1
- package/dist/assets/hi-IN.89190874.js +0 -1
- package/dist/assets/hr-HR.17ae4a7f.js +0 -1
- package/dist/assets/htmlmixed.a51c7358.js +0 -1
- package/dist/assets/hu-HU.94582835.js +0 -1
- package/dist/assets/id-ID.730079b9.js +0 -1
- package/dist/assets/index.d91c6632.css +0 -1
- package/dist/assets/index.f7322f54.entry.js +0 -531
- package/dist/assets/it-IT.c887dd87.js +0 -1
- package/dist/assets/ja-JP.8078d1fc.js +0 -1
- package/dist/assets/lt-LT.2ee93d0f.js +0 -1
- package/dist/assets/nl-NL.a0c67bbb.js +0 -1
- package/dist/assets/no-NO.13f7014c.js +0 -1
- package/dist/assets/pinia.f515d45e.entry.js +0 -1
- package/dist/assets/pl-PL.c389638f.js +0 -1
- package/dist/assets/pt-BR.fcdcd0d6.js +0 -1
- package/dist/assets/pt-PT.76e3ba8f.js +0 -1
- package/dist/assets/ro-RO.97f46d61.js +0 -1
- package/dist/assets/ru-RU.08ba5d6b.js +0 -1
- package/dist/assets/settings.d10a56a2.js +0 -1
- package/dist/assets/sieve.b4c7728e.js +0 -1
- package/dist/assets/sl-SI.59c76b0a.js +0 -2
- package/dist/assets/sr-CS.9a714a93.js +0 -1
- package/dist/assets/sv-SE.7051901e.js +0 -1
- package/dist/assets/th-TH.ed8c9ce8.js +0 -2
- package/dist/assets/tr-TR.51f6d3f2.js +0 -1
- package/dist/assets/uk-UA.1bd8aa98.js +0 -1
- package/dist/assets/use-sync.6d20172a.js +0 -1
- package/dist/assets/user-directory.c5340005.js +0 -1
- package/dist/assets/vi-VN.b39fb470.js +0 -1
- package/dist/assets/vue-i18n.feba4fda.entry.js +0 -1
- package/dist/assets/vue-router.9dd9c3aa.entry.js +0 -1
- package/dist/assets/vue.b07aacca.entry.js +0 -1
- package/dist/assets/zh-CN.39bd6632.js +0 -1
- package/dist/assets/zh-TW.ed00cc7a.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as n,p as c,q as d,w as o,z as e,t as i,S as s}from"./vendor.32937068.js";const u={class:"markdown-body"},h=s("The User Directory is the management system for all Users within a Project. "),p=s("Users"),_=s(" are the individual accounts for logging in to the App. Each user belongs to a "),g=s("Role"),m=s(" which defines its "),f=s("Permissions"),y=s("."),b=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/user-directory/user-directory-20220222A/user-directory-20220222A.webp",alt:"User Directory Page"})],-1),w=e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#how-it-works"},"How it Works")]),e("li",null,[e("a",{href:"#access-permissions"},"Access Permissions")]),e("li",null,[e("a",{href:"#user-directory-page"},"User Directory Page")]),e("li",null,[e("a",{href:"#viewing-a-user"},"Viewing a User")]),e("li",null,[e("a",{href:"#user-profile-page"},"User Profile Page")]),e("li",null,[e("a",{href:"#more-help"},"More Help")])])])],-1),v=e("h2",{id:"how-it-works"},[s("How it Works "),e("a",{class:"header-anchor",href:"#how-it-works"},"#")],-1),U=s("This Module is a management system that enables one to view, invite, create, edit, and delete Users. In order to understand and use this Module effectively, you will need to understand "),A=s("Users, Roles, and Permissions"),S=s("."),D=e("h2",{id:"access-permissions"},[s("Access Permissions "),e("a",{class:"header-anchor",href:"#access-permissions"},"#")],-1),P=e("p",null,[s("The permissions configured for your Role will determine what you can see and do inside the User Directory. Roles with "),e("em",null,"Admin Access"),s(" enabled are created with full Permissions. Roles with "),e("em",null,"App Access"),s(" enabled are created with some limited Permissions configured by default. Roles that have neither "),e("em",null,"Admin"),s(" nor "),e("em",null,"App Access"),s(" enabled (such as the built-in "),e("em",null,"Public"),s(" Role) are created with no access permissions "),e("em",null,"(to anything)"),s(" by default. Default permissions can be fully configured in "),e("strong",null,"Settings > Roles & Permissions"),s(".")],-1),T=e("h2",{id:"user-directory-page"},[s("User Directory Page "),e("a",{class:"header-anchor",href:"#user-directory-page"},"#")],-1),k=s("Lists all Users in a Project, with a navigation that allows quick access to Users by Role. This page has the same functionality as other "),L=s("Content Pages"),R=s("."),I=e("video",{title:"User Directory Options",autoplay:"",muted:"",loop:"",controls:""},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/user-directory/user-directory-20220222A/user-directory-options-20220222A.mp4"}),e("p",null,[s(" Your browser is not displaying the video for some reason. Here's a "),e("a",{href:"https://cdn.directus.io/docs/v9/app-guide/user-directory/user-directory-20220222A/user-directory-options-20220222A.mp4"},"link to the video"),s(" instead. ")])],-1),x=e("li",null,[e("strong",null,"Select All"),s(" \u2013 Selects all Users currently in queue.")],-1),F=e("li",null,[e("strong",null,"Card Size"),s(" \u2013 Toggles size of User Displays.")],-1),O=e("li",null,[e("strong",null,"Sort Field"),s(" \u2013 Selects Field used to Users by.")],-1),C=e("li",null,[e("strong",null,"Sort Direction"),s(" \u2013 Toggles ascending & descending sort order.")],-1),M=e("li",null,[e("strong",null,"Search"),s(" \u2013 Enables classic type-based searching.")],-1),E=e("li",null,[e("strong",null,"Filter"),s(" \u2013 Enables advanced query-based search.")],-1),H=e("span",{mi:"",btn:"",sec:""},"person_add",-1),q=s(" \u2013 "),z=s("Invite people"),N=s(" to become Users via email."),j=e("span",{mi:"",btn:""},"add",-1),V=s(" \u2013 "),B=s("Create User"),W=s(" manually."),K=e("p",null,[e("em",null,"The following are only visible once Users are selected.")],-1),Y=e("ul",null,[e("li",null,[e("span",{mi:"",btn:"",warn:""},"edit"),s(" \u2013 Opens a User Details page to apply a single edit across multiple Users.")]),e("li",null,[e("strong",null,[e("span",{mi:"",btn:"",dngr:""},"delete")]),s(" \u2013 Deletes one or more Users.")])],-1),G=e("h3",{id:"layout-options"},[s("Layout Options "),e("a",{class:"header-anchor",href:"#layout-options"},"#")],-1),J=e("p",null,[s("The "),e("strong",null,"Sidebar > Layout Options"),s(),e("em",null,[s("(denoted by "),e("span",{mi:"",icon:""},"layers"),s(" when Sidebar is minimized)")]),s(" allows you to adjust how Users are displayed on the User Directory.")],-1),Q=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/user-directory/user-directory-20220222A/user-directory-layout-options-20220222A.webp",alt:"User Directory Layout Options"})],-1),X=e("h4",{id:"layout"},[s("Layout "),e("a",{class:"header-anchor",href:"#layout"},"#")],-1),Z=e("ul",null,[e("li",null,[e("strong",null,"Layout"),s(" \u2013 Toggles User Display from a dropdown menu.")]),e("li",null,[e("strong",null,"Image Source"),s(" \u2013 Selects the image Field for the User Display.")]),e("li",null,[e("strong",null,"Title"),s(" \u2013 Sets a title for the User via Display Templates.")]),e("li",null,[e("strong",null,"Subtitle"),s(" \u2013 Sets a subtitle for the User via Display Templates.")])],-1),$=e("h4",{id:"layout-setup"},[s("Layout Setup "),e("a",{class:"header-anchor",href:"#layout-setup"},"#")],-1),ee=e("ul",null,[e("li",null,[e("strong",null,"Image Fit"),s(" \u2013 Displays the image as cropped or contained.")]),e("li",null,[e("strong",null,"Fallback Icon"),s(" \u2013 Sets a default icon for Users that have no image set.")])],-1),se=e("h2",{id:"viewing-a-user"},[s("Viewing a User "),e("a",{class:"header-anchor",href:"#viewing-a-user"},"#")],-1),oe=e("video",{autoplay:"",muted:"",loop:"",controls:""},[e("source",{src:"https://cdn.directus.io/docs/v9/app-guide/user-directory/user-directory-20220222A/viewing-a-user-20220222A.mp4"}),e("p",null,[s(" Your browser is not displaying the video for some reason. Here's a "),e("a",{href:"https://cdn.directus.io/docs/v9/app-guide/user-directory/user-directory-20220222A/viewing-a-user-20220222A.mp4"},"link to the video"),s(" instead. ")])],-1),te=e("p",null,"Users are referenced throughout the app, often for accountability purposes. Hovering over a User in this context will provide a popover with basic information. Clicking that popover will navigate you to a view of that User\u2019s profile page.",-1),ie=e("h2",{id:"user-profile-page"},[s("User Profile Page "),e("a",{class:"header-anchor",href:"#user-profile-page"},"#")],-1),re=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/user-directory/user-directory-20220222A/user-profile-20220222A.webp",alt:"The User Page"})],-1),ne=s("A User\u2019s profile page can be accessed from the User Directory or by clicking the User Menu at the bottom of the "),le=s("Module Bar"),ae=s(". The profile page has the same features and functionality as the "),ce=s("Item Page"),de=s(". Administrators can customize the Fields on this page, but the following are available by default."),ue=e("h3",{id:"user-details"},[s("User Details "),e("a",{class:"header-anchor",href:"#user-details"},"#")],-1),he=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/user-directory/user-directory-20220222A/user-details-20220222A.webp",alt:"User Details"})],-1),pe=e("ul",null,[e("li",null,[e("strong",null,"First Name"),s(" \u2013 The given name.")]),e("li",null,[e("strong",null,"Last Name"),s(" \u2013 The family/surname.")]),e("li",null,[e("strong",null,"Email"),s(" \u2013 A unique email address.")]),e("li",null,[e("strong",null,"Password"),s(" \u2013 A hashed system password.")]),e("li",null,[e("strong",null,"Avatar"),s(" \u2013 An image to represent the User.")]),e("li",null,[e("strong",null,"Location"),s(" \u2013 The city, country, office, or branch name.")]),e("li",null,[e("strong",null,"Title"),s(" \u2013 The professional staff title.")]),e("li",null,[e("strong",null,"Description"),s(" \u2013 A freeform text description.")]),e("li",null,[e("strong",null,"Tags"),s(" \u2013 Keywords for search-ability.")])],-1),_e=e("h3",{id:"user-preferences"},[s("User Preferences "),e("a",{class:"header-anchor",href:"#user-preferences"},"#")],-1),ge=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/user-directory/user-directory-20220222A/user-preferences-20220222A.webp",alt:"User Preferences"})],-1),me=e("ul",null,[e("li",null,[e("strong",null,"Language"),s(" \u2013 The preferred App language/locale.")]),e("li",null,[e("strong",null,"Theme"),s(" \u2013 Light or Dark mode (or based on system preferences).")]),e("li",null,[e("strong",null,"Multi-Factor Authentication"),s(" \u2013 Configuration for MFA.")]),e("li",null,[e("strong",null,"Email Notifications"),s(" \u2013 Receive emails for notifications.")])],-1),fe=e("h3",{id:"admin-options"},[s("Admin Options "),e("a",{class:"header-anchor",href:"#admin-options"},"#")],-1),ye=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/user-directory/user-directory-20220222A/admin-options-20220222A.webp",alt:"Admin Options"})],-1),be=e("li",null,[e("strong",null,"Status"),s(" \u2013 Sets User status as Draft, Invited, Active, Suspended, Archived.")],-1),we=e("li",null,[e("strong",null,"Role"),s(" \u2013 Defines the User\u2019s Role.")],-1),ve=e("li",null,[e("strong",null,"Token"),s(" \u2013 Accepts any string as User access token. At least 19-20 characters recommended, but we give you the tools and flexibility to set this according to you own internal security policies.")],-1),Ue=e("strong",null,"Provider",-1),Ae=s(" \u2013 "),Se=e("em",null,"read-only:",-1),De=s(" SSO provider associated with User. See our built-in "),Pe=s("SSO options"),Te=s("."),ke=e("li",null,[e("strong",null,"External Identifier"),s(" \u2013 Displays external identifier generated by SSO provider.")],-1),Le=e("h3",{id:"read-only-info"},[s("Read-only Info "),e("a",{class:"header-anchor",href:"#read-only-info"},"#")],-1),Re=e("p",null,[e("img",{src:"https://cdn.directus.io/docs/v9/app-guide/user-directory/user-directory-20220222A/user-profile-sidebar-information-20220309A.webp",alt:"User Profile Sidebar Information"})],-1),Ie=e("p",null,[s("Information in the Sidebar "),e("em",null,[s("(denoted by "),e("span",{mi:"",icon:"",dark:""},"info"),s(" when Sidebar is minimized)")]),s(" also includes the following read-only details:")],-1),xe=e("ul",null,[e("li",null,[e("strong",null,"User Key"),s(" \u2013 The Primary Key of the Usser.")]),e("li",null,[e("strong",null,"Last Page"),s(" \u2013 The last App page accessed by the user.")]),e("li",null,[e("strong",null,"Last Access"),s(" \u2013 The timestamp of the User\u2019s last App or API action.")])],-1),Fe=e("h2",{id:"more-help"},[s("More Help "),e("a",{class:"header-anchor",href:"#more-help"},"#")],-1),Oe=e("p",null,[s("Looking for technical support for your non-enterprise project? Chat with thousands of engineers within our growing "),e("a",{href:"https://discord.com/invite/directus",target:"_blank",rel:"noopener noreferrer"},"Community on Discord")],-1),qe={setup(Ce,{expose:l}){const r={title:"User Directory",modularExtension:!1};return l({frontmatter:r}),(Me,Ee)=>{const t=n("router-link"),a=n("DocsWrapper");return c(),d(a,{frontmatter:r},{default:o(()=>[e("div",u,[e("blockquote",null,[e("p",null,[h,i(t,{to:"/docs/getting-started/glossary#users"},{default:o(()=>[p]),_:1}),_,i(t,{to:"/docs/getting-started/glossary#roles"},{default:o(()=>[g]),_:1}),m,i(t,{to:"/docs/getting-started/glossary#permissions"},{default:o(()=>[f]),_:1}),y])]),b,w,v,e("p",null,[U,i(t,{to:"/docs/configuration/users-roles-permissions.md"},{default:o(()=>[A]),_:1}),S]),D,P,T,e("p",null,[k,i(t,{to:"/docs/app/content-collections/"},{default:o(()=>[L]),_:1}),R]),I,e("ul",null,[x,F,O,C,M,E,e("li",null,[H,q,i(t,{to:"/docs/configuration/users-roles-permissions/#inviting-a-user"},{default:o(()=>[z]),_:1}),N]),e("li",null,[j,V,i(t,{to:"/docs/configuration/users-roles-permissions/#creating-a-user"},{default:o(()=>[B]),_:1}),W])]),K,Y,G,J,Q,X,Z,$,ee,se,oe,te,ie,re,e("p",null,[ne,i(t,{to:"/docs/app/overview/#_1-module-bar"},{default:o(()=>[le]),_:1}),ae,i(t,{to:"/docs/app/content-items/"},{default:o(()=>[ce]),_:1}),de]),ue,he,pe,_e,ge,me,fe,ye,e("ul",null,[be,we,ve,e("li",null,[Ue,Ae,Se,De,i(t,{to:"/docs/configuration/sso"},{default:o(()=>[Pe]),_:1}),Te]),ke]),Le,Re,Ie,xe,Fe,Oe])]),_:1})}}};export{qe as default};
|
package/dist/assets/{users-roles-permissions.9d570863.js → users-roles-permissions.84c3d85a.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,p as c,q as u,w as t,z as e,t as l,S as s}from"./vendor.546e1516.js";const d={class:"markdown-body"},h=s("Users"),g=s(" are the individual accounts for authenticating into the API and App. Each user belongs to a "),_=s("Role"),p=s(" which defines its access "),f=s("Permissions"),m=s("."),v=e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#creating-a-user"},"Creating a User")]),e("li",null,[e("a",{href:"#inviting-a-user"},"Inviting a User")]),e("li",null,[e("a",{href:"#configuring-a-user"},"Configuring a User")]),e("li",null,[e("a",{href:"#archiving-a-user"},"Archiving a User")]),e("li",null,[e("a",{href:"#deleting-a-user"},"Deleting a User")]),e("li",null,[e("a",{href:"#creating-a-role"},"Creating a Role")]),e("li",null,[e("a",{href:"#configuring-a-role"},"Configuring a Role")]),e("li",null,[e("a",{href:"#deleting-a-role"},"Deleting a Role")]),e("li",null,[e("a",{href:"#configuring-permissions"},"Configuring Permissions")]),e("li",null,[e("a",{href:"#configuring-workflows"},"Configuring Workflows")])])])],-1),b=e("h2",{id:"creating-a-user"},[s("Creating a User "),e("a",{class:"header-anchor",href:"#creating-a-user"},"#")],-1),y=e("ol",null,[e("li",null,[s("Navigate to the "),e("strong",null,"User Library")]),e("li",null,[s("Click "),e("span",{mi:"",btn:""},"add"),s(" in the header")]),e("li",null,[s("Enter an "),e("strong",null,"Email Address")]),e("li",null,[s("Optional: Complete the "),e("strong",null,"other user form fields")]),e("li",null,[s("Click "),e("span",{mi:"",btn:""},"check"),s(" to save the user.")])],-1),w=e("h2",{id:"inviting-a-user"},[s("Inviting a User "),e("a",{class:"header-anchor",href:"#inviting-a-user"},"#")],-1),A=e("ol",null,[e("li",null,[s("Navigate to the "),e("strong",null,"User Library")]),e("li",null,[s("Click "),e("span",{mi:"",btn:"",sec:""},"person_add"),s(" in the header")]),e("li",null,[s("Enter "),e("strong",null,"one or more email addresses"),s(", separated by new lines, in the modal")]),e("li",null,[s("Select the "),e("strong",null,"Role"),s(" you want to assign to the user(s)")]),e("li",null,[s("Click "),e("strong",null,"Invite")])],-1),k=e("p",null,"At this point the invited user(s) will receive an email with a link to the App where they set a password and enable their account.",-1),C=e("h2",{id:"configuring-a-user"},[s("Configuring a User "),e("a",{class:"header-anchor",href:"#configuring-a-user"},"#")],-1),P=e("li",null,[s("Navigate to the "),e("strong",null,"User Library")],-1),R=e("li",null,[e("strong",null,"Click on the user"),s(" you wish to manage")],-1),U=e("strong",null,"Complete the form",-1),I=s(" of "),D=s("User Fields"),T=e("p",null,"The User Detail is only editable by the current user and admins, and the following fields are only available to admins:",-1),F=e("li",null,[e("strong",null,"Status"),s(" \u2014 Determines if an account is able to access the platform or not. Only the "),e("code",null,"active"),s(" state is able to authenticate, all others are simply descriptive inactive states. "),e("ul",null,[e("li",null,[e("strong",null,"Draft"),s(" \u2014 An incomplete user; no App/API access")]),e("li",null,[e("strong",null,"Invited"),s(" \u2014 Has a pending invite to the project; no App/API access until accepted")]),e("li",null,[e("strong",null,"Active"),s(" \u2014 The only status that has proper access to the App and API")]),e("li",null,[e("strong",null,"Suspended"),s(" \u2014 A user that has been temporarily disabled; no App/API access")]),e("li",null,[e("strong",null,"Archived"),s(" \u2014 A soft-deleted user; no App/API access")])])],-1),N=e("li",null,[e("strong",null,"Role"),s(" \u2014 The user\u2019s role determines their permissions and access")],-1),S=e("strong",null,"Token",-1),x=s(" \u2014 A user\u2019s token is an alternate way to "),L=s("authenticate into the API"),E=s(" using a static string. When NULL, the token is disabled. When enabled, ensure that a secure string is used."),q=e("h2",{id:"archiving-a-user"},[s("Archiving a User "),e("a",{class:"header-anchor",href:"#archiving-a-user"},"#")],-1),W=e("ol",null,[e("li",null,[s("Navigate to the "),e("strong",null,"User Library")]),e("li",null,"Click the user you with to archive to go to their User Detail page"),e("li",null,[s("Click on "),e("span",{mi:"",btn:"",warn:""},"archive"),s(" in the header")]),e("li",null,[s("Confirm this decision by clicking "),e("strong",null,"Archive"),s(" in the dialog")])],-1),j=e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"Disables Access"),e("p",null,[s("Archiving uses "),e("em",null,"soft-delete"),s(", therefore archived users are unable to access the App or API.")])],-1),V=e("h2",{id:"deleting-a-user"},[s("Deleting a User "),e("a",{class:"header-anchor",href:"#deleting-a-user"},"#")],-1),z=e("ol",null,[e("li",null,[s("Navigate to the "),e("strong",null,"User Library")]),e("li",null,"Select one or more users you wish to delete"),e("li",null,[s("Click on "),e("span",{mi:"",btn:"",dngr:""},"delete"),s(" in the header")]),e("li",null,[s("Confirm this decision by clicking "),e("strong",null,"Delete"),s(" in the dialog")])],-1),B=e("div",{class:"danger hint"},[e("div",{class:"hint-title"},"Irreversible Change"),e("p",null,"Unlike the soft-delete of archiving, this process is a hard-delete. Therefore, this action is permanent and can not be undone. Please proceed with caution.")],-1),M=e("h2",{id:"creating-a-role"},[s("Creating a Role "),e("a",{class:"header-anchor",href:"#creating-a-role"},"#")],-1),O=e("ol",null,[e("li",null,[s("Navigate to "),e("strong",null,[s("Settings "),e("span",{mi:"",icon:"",dark:""},"chevron_right"),s(" Roles & Permissions")])]),e("li",null,[s("Click "),e("span",{mi:"",btn:""},"add"),s(" in the header")]),e("li",null,[s("Enter a unique "),e("strong",null,"Role Name")]),e("li",null,[s("Enabling "),e("strong",null,"App Access"),s(" allows logging in to the App")]),e("li",null,[s("Enabling "),e("strong",null,"Admin Access"),s(" gives full permission to project data and Settings")]),e("li",null,[s("Click on "),e("strong",null,"Save"),s(" to save the role")])],-1),Y=e("h2",{id:"configuring-a-role"},[s("Configuring a Role "),e("a",{class:"header-anchor",href:"#configuring-a-role"},"#")],-1),G=e("ul",null,[e("li",null,[e("strong",null,"Permissions"),s(" \u2014 Defines the role\u2019s access permissions")]),e("li",null,[e("strong",null,"Role Name"),s(" \u2014 This is the name of the role")]),e("li",null,[e("strong",null,"Role Icon"),s(" \u2014 The icon used throughout the App when referencing this role")]),e("li",null,[e("strong",null,"Description"),s(" \u2014 A helpful note that explains the role\u2019s purpose")]),e("li",null,[e("strong",null,"App Access"),s(" \u2014 Allows logging in to the App")]),e("li",null,[e("strong",null,"Admin Access"),s(" \u2014 Gives full permission to project data and Settings")]),e("li",null,[e("strong",null,"IP Access"),s(" \u2014 An allow-list of IP addresses from which the platform can be accessed, empty allows all")]),e("li",null,[e("strong",null,"Require 2FA"),s(" \u2014 Forces all users within this role to use two-factor authentication")]),e("li",null,[e("strong",null,"Users in Role"),s(" \u2014 A list of all users within this role")])],-1),H=e("h2",{id:"deleting-a-role"},[s("Deleting a Role "),e("a",{class:"header-anchor",href:"#deleting-a-role"},"#")],-1),K=e("ol",null,[e("li",null,[s("Navigate to "),e("strong",null,[s("Settings "),e("span",{mi:"",icon:"",dark:""},"chevron_right"),s(" Roles & Permissions "),e("span",{mi:"",icon:"",dark:""},"chevron_right"),s(" [Role Name]")])]),e("li",null,[s("Click "),e("span",{mi:"",btn:"",dngr:""},"delete"),s(" in the header")]),e("li",null,[s("Confirm this decision by clicking "),e("strong",null,"Delete"),s(" in the dialog")])],-1),J={class:"warning hint"},Q=e("div",{class:"hint-title"},"Users in a Deleted Role",-1),X=s("If you delete a role that still has users in it, those users will be given a "),Z=e("code",null,"NULL",-1),$=s(" role, which denies their App access and limits them to the "),ee=s("Public Role"),se=s(" permissions. They can then be reassigned to a new role by an admin."),te=e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"Last Admin"),e("p",null,"You must maintain at least one role/user with Admin Access so that you can still properly manage the project.")],-1),ne=e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"Public Role"),e("p",null,"You can not delete the Public role, as it is part of the core platform. To disable it completely, simply turn off all Public access permissions.")],-1),le=e("h2",{id:"configuring-permissions"},[s("Configuring Permissions "),e("a",{class:"header-anchor",href:"#configuring-permissions"},"#")],-1),ie=e("p",null,"Directus possesses an extremely granular, yet easy to configure, permissions system. When creating a new role, permissions are disabled for all project collections by default \u2014 allowing you to give explicit access to only what is required. Individual permissions are applied to the role, and each is scoped to a specific collection and CRUD action (create, read, update, delete).",-1),oe=e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"Saves Automatically"),e("p",null,"Every change made to the permissions of a role is saved automatically and instantly.")],-1),ae=e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"Admin Roles"),e("p",null,[s("If a role is set to "),e("strong",null,"Admin Access"),s(" then it is granted complete access to the platform, and therefore the permission configuration field is disabled.")])],-1),re=e("ol",null,[e("li",null,[s("Navigate to "),e("strong",null,[s("Settings "),e("span",{mi:"",icon:"",dark:""},"chevron_right"),s(" Roles & Permissions "),e("span",{mi:"",icon:"",dark:""},"chevron_right"),s(" [Role Name]")])]),e("li",null,[s("Scroll to the "),e("strong",null,"Permissions"),s(" section")]),e("li",null,[e("strong",null,"Click the icon"),s(" for the collection (row) and action (column) you want to set")]),e("li",null,[s("Choose the desired permission level: "),e("span",{mi:"",icon:""},"check"),s(),e("strong",null,"All Access"),s(", "),e("span",{mi:"",icon:""},"block"),s(),e("strong",null,"No Access"),s(", or "),e("span",{mi:"",icon:""},"rule"),s(),e("strong",null,"Use Custom")])],-1),ce=e("p",null,[e("strong",null,[s("If you selected \u201C"),e("span",{mi:"",icon:""},"check"),s(" All Access\u201D or \u201C"),e("span",{mi:"",icon:""},"block"),s(" No Access\u201D then setup is complete.")]),s(" If you chose to customize permissions then continue with the appropriate guide below based on the relevant "),e("em",null,"action"),s(".")],-1),ue=e("h3",{id:"create-(custom-access)"},[s("Create (Custom Access) "),e("a",{class:"header-anchor",href:"#create-(custom-access)"},"#")],-1),de=e("ol",{start:"5"},[e("li",null,[e("strong",null,"Field Permissions"),s(" control which fields accept a value on create. Fields are individually toggled.")]),e("li",null,[e("strong",null,"Field Validation"),s(" define the rules for field values on create")]),e("li",null,[e("strong",null,"Field Presets"),s(" control the field defaults when creating an item")])],-1),he=e("h3",{id:"read-(custom-access)"},[s("Read (Custom Access) "),e("a",{class:"header-anchor",href:"#read-(custom-access)"},"#")],-1),ge={start:"5"},_e=e("strong",null,"Item Permissions",-1),pe=s(" control which items can be read, as defined by the "),fe=s("Filter Rules"),me=s(" entered."),ve=e("li",null,[e("strong",null,"Field Permissions"),s(" control which fields can be read. Fields are individually toggled.")],-1),be=e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"Read Field Permissions"),e("p",null,[s("The Directus App always requires read access to the Primary Key field (eg: "),e("code",null,"id"),s(") so it can uniquely identify items. Also, if a Collection has \u201CArchive\u201D or \u201CSort\u201D fields configured, those fields will also need read access to use the App\u2019s soft-delete and manual sorting features.")])],-1),ye=e("h3",{id:"update-(custom-access)"},[s("Update (Custom Access) "),e("a",{class:"header-anchor",href:"#update-(custom-access)"},"#")],-1),we={start:"5"},Ae=e("strong",null,"Item Permissions",-1),ke=s(" control which items can be updated, as defined by "),Ce=s("Filter Rules"),Pe=s("."),Re=e("li",null,[e("strong",null,"Field Permissions"),s(" control which fields can be updated. Fields are individually toggled.")],-1),Ue=e("strong",null,"Field Validation",-1),Ie=s(" define the rules for field values on update, as defined by "),De=s("Filter Rules"),Te=s("."),Fe=e("li",null,[e("strong",null,"Field Presets"),s(" control the field defaults when updating an item")],-1),Ne=e("h3",{id:"delete-(custom-access)"},[s("Delete (Custom Access) "),e("a",{class:"header-anchor",href:"#delete-(custom-access)"},"#")],-1),Se={start:"5"},xe=e("strong",null,"Item Permissions",-1),Le=s(" control which items can be deleted, as defined by the "),Ee=s("Filter Rules"),qe=s(" entered."),We=e("hr",null,null,-1),je=e("h3",{id:"configuring-public-permissions"},[s("Configuring Public Permissions "),e("a",{class:"header-anchor",href:"#configuring-public-permissions"},"#")],-1),Ve=e("p",null,"The Public permissions control what project data is accessible without authentication. This is managed via the Public \u201Crole\u201D, which is included in the system by default and can not be deleted.",-1),ze=e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"Private by Default"),e("p",null,"All of the data within the platform is private by default. Permissions for the public role can be granted on a case-by-case basis by administrators.")],-1),Be=e("h3",{id:"configuring-system-permissions"},[s("Configuring System Permissions "),e("a",{class:"header-anchor",href:"#configuring-system-permissions"},"#")],-1),Me=e("p",null,[s("In addition to permissions for "),e("em",null,"your"),s(" custom collections, you can also customize the permissions for "),e("em",null,"system"),s(" collections. It is important to note that when App Access is enabled for a role, Directus will automatically add permission for the necessary system collections. To edit system permissions, simply click \u201CSystem Collections\u201D at the bottom of the permissions configuration.")],-1),Oe=e("p",null,"There are two pre-configured options you can use for resetting the role\u2019s system permissions and ensure proper App access. To access these, click \u201CSystem Collections\u201D to expand, and then click one of the buttons at the bottom of the listing.",-1),Ye=e("ul",null,[e("li",null,[e("strong",null,"App Access Minimum"),s(" \u2014 The minimum permissions required to properly access the App")]),e("li",null,[e("strong",null,"Recommended Defaults"),s(" \u2014 More permissive but balanced for a better App user experience")])],-1),Ge=e("h2",{id:"configuring-workflows"},[s("Configuring Workflows "),e("a",{class:"header-anchor",href:"#configuring-workflows"},"#")],-1),He=e("p",null,"Workflows are a way to add structured stages to the flow of content authoring. They are primarily defined through the permissions for a Collection, but can be further enhanced via email notifications, custom interfaces, and automation. Directus supports endlessly configurable workflows, so we will only cover one simple example below.",-1),Ke=s("To create a structured workflow for "),Je=e("strong",null,"Articles",-1),Qe=s(", the first step is "),Xe=s("Creating a Field"),Ze=s(" to track the article \u201Cstatus\u201D \u2014 we\u2019ll call it "),$e=e("strong",null,"Status",-1),es=s(", but it can be named anything."),ss=e("li",null,[s("Next, create different Roles for each stage of the workflow, such as "),e("code",null,"author"),s(" and "),e("code",null,"manager"),s(".")],-1),ts=e("li",null,[s("Finally, configure the Role permissions based on the possible values of that Status field, such as "),e("code",null,"draft"),s(", "),e("code",null,"review"),s(", "),e("code",null,"approved"),s(", and "),e("code",null,"published"),s(", so that they are properly restricted to create content and update the status. "),e("ul",null,[e("li",null,[s("The Author can create content, but only save a status of "),e("code",null,"draft"),s(" or "),e("code",null,"review"),s(".")]),e("li",null,[s("The Manager has additional permissions that allow them to save statuses of "),e("code",null,"approved"),s(" or "),e("code",null,"published"),s(".")])])],-1),as={setup(ns,{expose:a}){const i={title:"Users, Roles & Permissions",modularExtension:!1};return a({frontmatter:i}),(ls,is)=>{const n=o("router-link"),r=o("DocsWrapper");return c(),u(r,{frontmatter:i},{default:t(()=>[e("div",d,[e("blockquote",null,[e("p",null,[l(n,{to:"/docs/getting-started/glossary/#users"},{default:t(()=>[h]),_:1}),g,l(n,{to:"/docs/getting-started/glossary/#roles"},{default:t(()=>[_]),_:1}),p,l(n,{to:"/docs/getting-started/glossary/#permissions"},{default:t(()=>[f]),_:1}),m])]),v,b,y,w,A,k,C,e("ol",null,[P,R,e("li",null,[U,I,l(n,{to:"/docs/app/user-directory/#editing-a-user"},{default:t(()=>[D]),_:1})])]),T,e("ul",null,[F,N,e("li",null,[S,x,l(n,{to:"/docs/reference/authentication/"},{default:t(()=>[L]),_:1}),E])]),q,W,j,V,z,B,M,O,Y,G,H,K,e("div",J,[Q,e("p",null,[X,Z,$,l(n,{to:"/docs/configuration/users-roles-permissions/#configuring-public-permissions"},{default:t(()=>[ee]),_:1}),se])]),te,ne,le,ie,oe,ae,re,ce,ue,de,he,e("ol",ge,[e("li",null,[_e,pe,l(n,{to:"/docs/configuration/filter-rules"},{default:t(()=>[fe]),_:1}),me]),ve]),be,ye,e("ol",we,[e("li",null,[Ae,ke,l(n,{to:"/docs/configuration/filter-rules/"},{default:t(()=>[Ce]),_:1}),Pe]),Re,e("li",null,[Ue,Ie,l(n,{to:"/docs/configuration/filter-rules/"},{default:t(()=>[De]),_:1}),Te]),Fe]),Ne,e("ol",Se,[e("li",null,[xe,Le,l(n,{to:"/docs/configuration/filter-rules/"},{default:t(()=>[Ee]),_:1}),qe])]),We,je,Ve,ze,Be,Me,Oe,Ye,Ge,He,e("ol",null,[e("li",null,[Ke,Je,Qe,l(n,{to:"/docs/configuration/data-model/#creating-a-field"},{default:t(()=>[Xe]),_:1}),Ze,$e,es]),ss,ts])])]),_:1})}}};export{as as default};
|
|
1
|
+
import{r as o,p as c,q as u,w as t,z as e,t as l,S as s}from"./vendor.32937068.js";const d={class:"markdown-body"},h=s("Users"),g=s(" are the individual accounts for authenticating into the API and App. Each user belongs to a "),_=s("Role"),p=s(" which defines its access "),f=s("Permissions"),m=s("."),v=e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#creating-a-user"},"Creating a User")]),e("li",null,[e("a",{href:"#inviting-a-user"},"Inviting a User")]),e("li",null,[e("a",{href:"#configuring-a-user"},"Configuring a User")]),e("li",null,[e("a",{href:"#archiving-a-user"},"Archiving a User")]),e("li",null,[e("a",{href:"#deleting-a-user"},"Deleting a User")]),e("li",null,[e("a",{href:"#creating-a-role"},"Creating a Role")]),e("li",null,[e("a",{href:"#configuring-a-role"},"Configuring a Role")]),e("li",null,[e("a",{href:"#deleting-a-role"},"Deleting a Role")]),e("li",null,[e("a",{href:"#configuring-permissions"},"Configuring Permissions")]),e("li",null,[e("a",{href:"#configuring-workflows"},"Configuring Workflows")])])])],-1),b=e("h2",{id:"creating-a-user"},[s("Creating a User "),e("a",{class:"header-anchor",href:"#creating-a-user"},"#")],-1),y=e("ol",null,[e("li",null,[s("Navigate to the "),e("strong",null,"User Library")]),e("li",null,[s("Click "),e("span",{mi:"",btn:""},"add"),s(" in the header")]),e("li",null,[s("Enter an "),e("strong",null,"Email Address")]),e("li",null,[s("Optional: Complete the "),e("strong",null,"other user form fields")]),e("li",null,[s("Click "),e("span",{mi:"",btn:""},"check"),s(" to save the user.")])],-1),w=e("h2",{id:"inviting-a-user"},[s("Inviting a User "),e("a",{class:"header-anchor",href:"#inviting-a-user"},"#")],-1),A=e("ol",null,[e("li",null,[s("Navigate to the "),e("strong",null,"User Library")]),e("li",null,[s("Click "),e("span",{mi:"",btn:"",sec:""},"person_add"),s(" in the header")]),e("li",null,[s("Enter "),e("strong",null,"one or more email addresses"),s(", separated by new lines, in the modal")]),e("li",null,[s("Select the "),e("strong",null,"Role"),s(" you want to assign to the user(s)")]),e("li",null,[s("Click "),e("strong",null,"Invite")])],-1),k=e("p",null,"At this point the invited user(s) will receive an email with a link to the App where they set a password and enable their account.",-1),C=e("h2",{id:"configuring-a-user"},[s("Configuring a User "),e("a",{class:"header-anchor",href:"#configuring-a-user"},"#")],-1),P=e("li",null,[s("Navigate to the "),e("strong",null,"User Library")],-1),R=e("li",null,[e("strong",null,"Click on the user"),s(" you wish to manage")],-1),U=e("strong",null,"Complete the form",-1),I=s(" of "),D=s("User Fields"),T=e("p",null,"The User Detail is only editable by the current user and admins, and the following fields are only available to admins:",-1),F=e("li",null,[e("strong",null,"Status"),s(" \u2014 Determines if an account is able to access the platform or not. Only the "),e("code",null,"active"),s(" state is able to authenticate, all others are simply descriptive inactive states. "),e("ul",null,[e("li",null,[e("strong",null,"Draft"),s(" \u2014 An incomplete user; no App/API access")]),e("li",null,[e("strong",null,"Invited"),s(" \u2014 Has a pending invite to the project; no App/API access until accepted")]),e("li",null,[e("strong",null,"Active"),s(" \u2014 The only status that has proper access to the App and API")]),e("li",null,[e("strong",null,"Suspended"),s(" \u2014 A user that has been temporarily disabled; no App/API access")]),e("li",null,[e("strong",null,"Archived"),s(" \u2014 A soft-deleted user; no App/API access")])])],-1),N=e("li",null,[e("strong",null,"Role"),s(" \u2014 The user\u2019s role determines their permissions and access")],-1),S=e("strong",null,"Token",-1),x=s(" \u2014 A user\u2019s token is an alternate way to "),L=s("authenticate into the API"),E=s(" using a static string. When NULL, the token is disabled. When enabled, ensure that a secure string is used."),q=e("h2",{id:"archiving-a-user"},[s("Archiving a User "),e("a",{class:"header-anchor",href:"#archiving-a-user"},"#")],-1),W=e("ol",null,[e("li",null,[s("Navigate to the "),e("strong",null,"User Library")]),e("li",null,"Click the user you with to archive to go to their User Detail page"),e("li",null,[s("Click on "),e("span",{mi:"",btn:"",warn:""},"archive"),s(" in the header")]),e("li",null,[s("Confirm this decision by clicking "),e("strong",null,"Archive"),s(" in the dialog")])],-1),j=e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"Disables Access"),e("p",null,[s("Archiving uses "),e("em",null,"soft-delete"),s(", therefore archived users are unable to access the App or API.")])],-1),V=e("h2",{id:"deleting-a-user"},[s("Deleting a User "),e("a",{class:"header-anchor",href:"#deleting-a-user"},"#")],-1),z=e("ol",null,[e("li",null,[s("Navigate to the "),e("strong",null,"User Library")]),e("li",null,"Select one or more users you wish to delete"),e("li",null,[s("Click on "),e("span",{mi:"",btn:"",dngr:""},"delete"),s(" in the header")]),e("li",null,[s("Confirm this decision by clicking "),e("strong",null,"Delete"),s(" in the dialog")])],-1),B=e("div",{class:"danger hint"},[e("div",{class:"hint-title"},"Irreversible Change"),e("p",null,"Unlike the soft-delete of archiving, this process is a hard-delete. Therefore, this action is permanent and can not be undone. Please proceed with caution.")],-1),M=e("h2",{id:"creating-a-role"},[s("Creating a Role "),e("a",{class:"header-anchor",href:"#creating-a-role"},"#")],-1),O=e("ol",null,[e("li",null,[s("Navigate to "),e("strong",null,[s("Settings "),e("span",{mi:"",icon:"",dark:""},"chevron_right"),s(" Roles & Permissions")])]),e("li",null,[s("Click "),e("span",{mi:"",btn:""},"add"),s(" in the header")]),e("li",null,[s("Enter a unique "),e("strong",null,"Role Name")]),e("li",null,[s("Enabling "),e("strong",null,"App Access"),s(" allows logging in to the App")]),e("li",null,[s("Enabling "),e("strong",null,"Admin Access"),s(" gives full permission to project data and Settings")]),e("li",null,[s("Click on "),e("strong",null,"Save"),s(" to save the role")])],-1),Y=e("h2",{id:"configuring-a-role"},[s("Configuring a Role "),e("a",{class:"header-anchor",href:"#configuring-a-role"},"#")],-1),G=e("ul",null,[e("li",null,[e("strong",null,"Permissions"),s(" \u2014 Defines the role\u2019s access permissions")]),e("li",null,[e("strong",null,"Role Name"),s(" \u2014 This is the name of the role")]),e("li",null,[e("strong",null,"Role Icon"),s(" \u2014 The icon used throughout the App when referencing this role")]),e("li",null,[e("strong",null,"Description"),s(" \u2014 A helpful note that explains the role\u2019s purpose")]),e("li",null,[e("strong",null,"App Access"),s(" \u2014 Allows logging in to the App")]),e("li",null,[e("strong",null,"Admin Access"),s(" \u2014 Gives full permission to project data and Settings")]),e("li",null,[e("strong",null,"IP Access"),s(" \u2014 An allow-list of IP addresses from which the platform can be accessed, empty allows all")]),e("li",null,[e("strong",null,"Require 2FA"),s(" \u2014 Forces all users within this role to use two-factor authentication")]),e("li",null,[e("strong",null,"Users in Role"),s(" \u2014 A list of all users within this role")])],-1),H=e("h2",{id:"deleting-a-role"},[s("Deleting a Role "),e("a",{class:"header-anchor",href:"#deleting-a-role"},"#")],-1),K=e("ol",null,[e("li",null,[s("Navigate to "),e("strong",null,[s("Settings "),e("span",{mi:"",icon:"",dark:""},"chevron_right"),s(" Roles & Permissions "),e("span",{mi:"",icon:"",dark:""},"chevron_right"),s(" [Role Name]")])]),e("li",null,[s("Click "),e("span",{mi:"",btn:"",dngr:""},"delete"),s(" in the header")]),e("li",null,[s("Confirm this decision by clicking "),e("strong",null,"Delete"),s(" in the dialog")])],-1),J={class:"warning hint"},Q=e("div",{class:"hint-title"},"Users in a Deleted Role",-1),X=s("If you delete a role that still has users in it, those users will be given a "),Z=e("code",null,"NULL",-1),$=s(" role, which denies their App access and limits them to the "),ee=s("Public Role"),se=s(" permissions. They can then be reassigned to a new role by an admin."),te=e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"Last Admin"),e("p",null,"You must maintain at least one role/user with Admin Access so that you can still properly manage the project.")],-1),ne=e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"Public Role"),e("p",null,"You can not delete the Public role, as it is part of the core platform. To disable it completely, simply turn off all Public access permissions.")],-1),le=e("h2",{id:"configuring-permissions"},[s("Configuring Permissions "),e("a",{class:"header-anchor",href:"#configuring-permissions"},"#")],-1),ie=e("p",null,"Directus possesses an extremely granular, yet easy to configure, permissions system. When creating a new role, permissions are disabled for all project collections by default \u2014 allowing you to give explicit access to only what is required. Individual permissions are applied to the role, and each is scoped to a specific collection and CRUD action (create, read, update, delete).",-1),oe=e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"Saves Automatically"),e("p",null,"Every change made to the permissions of a role is saved automatically and instantly.")],-1),ae=e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"Admin Roles"),e("p",null,[s("If a role is set to "),e("strong",null,"Admin Access"),s(" then it is granted complete access to the platform, and therefore the permission configuration field is disabled.")])],-1),re=e("ol",null,[e("li",null,[s("Navigate to "),e("strong",null,[s("Settings "),e("span",{mi:"",icon:"",dark:""},"chevron_right"),s(" Roles & Permissions "),e("span",{mi:"",icon:"",dark:""},"chevron_right"),s(" [Role Name]")])]),e("li",null,[s("Scroll to the "),e("strong",null,"Permissions"),s(" section")]),e("li",null,[e("strong",null,"Click the icon"),s(" for the collection (row) and action (column) you want to set")]),e("li",null,[s("Choose the desired permission level: "),e("span",{mi:"",icon:""},"check"),s(),e("strong",null,"All Access"),s(", "),e("span",{mi:"",icon:""},"block"),s(),e("strong",null,"No Access"),s(", or "),e("span",{mi:"",icon:""},"rule"),s(),e("strong",null,"Use Custom")])],-1),ce=e("p",null,[e("strong",null,[s("If you selected \u201C"),e("span",{mi:"",icon:""},"check"),s(" All Access\u201D or \u201C"),e("span",{mi:"",icon:""},"block"),s(" No Access\u201D then setup is complete.")]),s(" If you chose to customize permissions then continue with the appropriate guide below based on the relevant "),e("em",null,"action"),s(".")],-1),ue=e("h3",{id:"create-(custom-access)"},[s("Create (Custom Access) "),e("a",{class:"header-anchor",href:"#create-(custom-access)"},"#")],-1),de=e("ol",{start:"5"},[e("li",null,[e("strong",null,"Field Permissions"),s(" control which fields accept a value on create. Fields are individually toggled.")]),e("li",null,[e("strong",null,"Field Validation"),s(" define the rules for field values on create")]),e("li",null,[e("strong",null,"Field Presets"),s(" control the field defaults when creating an item")])],-1),he=e("h3",{id:"read-(custom-access)"},[s("Read (Custom Access) "),e("a",{class:"header-anchor",href:"#read-(custom-access)"},"#")],-1),ge={start:"5"},_e=e("strong",null,"Item Permissions",-1),pe=s(" control which items can be read, as defined by the "),fe=s("Filter Rules"),me=s(" entered."),ve=e("li",null,[e("strong",null,"Field Permissions"),s(" control which fields can be read. Fields are individually toggled.")],-1),be=e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"Read Field Permissions"),e("p",null,[s("The Directus App always requires read access to the Primary Key field (eg: "),e("code",null,"id"),s(") so it can uniquely identify items. Also, if a Collection has \u201CArchive\u201D or \u201CSort\u201D fields configured, those fields will also need read access to use the App\u2019s soft-delete and manual sorting features.")])],-1),ye=e("h3",{id:"update-(custom-access)"},[s("Update (Custom Access) "),e("a",{class:"header-anchor",href:"#update-(custom-access)"},"#")],-1),we={start:"5"},Ae=e("strong",null,"Item Permissions",-1),ke=s(" control which items can be updated, as defined by "),Ce=s("Filter Rules"),Pe=s("."),Re=e("li",null,[e("strong",null,"Field Permissions"),s(" control which fields can be updated. Fields are individually toggled.")],-1),Ue=e("strong",null,"Field Validation",-1),Ie=s(" define the rules for field values on update, as defined by "),De=s("Filter Rules"),Te=s("."),Fe=e("li",null,[e("strong",null,"Field Presets"),s(" control the field defaults when updating an item")],-1),Ne=e("h3",{id:"delete-(custom-access)"},[s("Delete (Custom Access) "),e("a",{class:"header-anchor",href:"#delete-(custom-access)"},"#")],-1),Se={start:"5"},xe=e("strong",null,"Item Permissions",-1),Le=s(" control which items can be deleted, as defined by the "),Ee=s("Filter Rules"),qe=s(" entered."),We=e("hr",null,null,-1),je=e("h3",{id:"configuring-public-permissions"},[s("Configuring Public Permissions "),e("a",{class:"header-anchor",href:"#configuring-public-permissions"},"#")],-1),Ve=e("p",null,"The Public permissions control what project data is accessible without authentication. This is managed via the Public \u201Crole\u201D, which is included in the system by default and can not be deleted.",-1),ze=e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"Private by Default"),e("p",null,"All of the data within the platform is private by default. Permissions for the public role can be granted on a case-by-case basis by administrators.")],-1),Be=e("h3",{id:"configuring-system-permissions"},[s("Configuring System Permissions "),e("a",{class:"header-anchor",href:"#configuring-system-permissions"},"#")],-1),Me=e("p",null,[s("In addition to permissions for "),e("em",null,"your"),s(" custom collections, you can also customize the permissions for "),e("em",null,"system"),s(" collections. It is important to note that when App Access is enabled for a role, Directus will automatically add permission for the necessary system collections. To edit system permissions, simply click \u201CSystem Collections\u201D at the bottom of the permissions configuration.")],-1),Oe=e("p",null,"There are two pre-configured options you can use for resetting the role\u2019s system permissions and ensure proper App access. To access these, click \u201CSystem Collections\u201D to expand, and then click one of the buttons at the bottom of the listing.",-1),Ye=e("ul",null,[e("li",null,[e("strong",null,"App Access Minimum"),s(" \u2014 The minimum permissions required to properly access the App")]),e("li",null,[e("strong",null,"Recommended Defaults"),s(" \u2014 More permissive but balanced for a better App user experience")])],-1),Ge=e("h2",{id:"configuring-workflows"},[s("Configuring Workflows "),e("a",{class:"header-anchor",href:"#configuring-workflows"},"#")],-1),He=e("p",null,"Workflows are a way to add structured stages to the flow of content authoring. They are primarily defined through the permissions for a Collection, but can be further enhanced via email notifications, custom interfaces, and automation. Directus supports endlessly configurable workflows, so we will only cover one simple example below.",-1),Ke=s("To create a structured workflow for "),Je=e("strong",null,"Articles",-1),Qe=s(", the first step is "),Xe=s("Creating a Field"),Ze=s(" to track the article \u201Cstatus\u201D \u2014 we\u2019ll call it "),$e=e("strong",null,"Status",-1),es=s(", but it can be named anything."),ss=e("li",null,[s("Next, create different Roles for each stage of the workflow, such as "),e("code",null,"author"),s(" and "),e("code",null,"manager"),s(".")],-1),ts=e("li",null,[s("Finally, configure the Role permissions based on the possible values of that Status field, such as "),e("code",null,"draft"),s(", "),e("code",null,"review"),s(", "),e("code",null,"approved"),s(", and "),e("code",null,"published"),s(", so that they are properly restricted to create content and update the status. "),e("ul",null,[e("li",null,[s("The Author can create content, but only save a status of "),e("code",null,"draft"),s(" or "),e("code",null,"review"),s(".")]),e("li",null,[s("The Manager has additional permissions that allow them to save statuses of "),e("code",null,"approved"),s(" or "),e("code",null,"published"),s(".")])])],-1),as={setup(ns,{expose:a}){const i={title:"Users, Roles & Permissions",modularExtension:!1};return a({frontmatter:i}),(ls,is)=>{const n=o("router-link"),r=o("DocsWrapper");return c(),u(r,{frontmatter:i},{default:t(()=>[e("div",d,[e("blockquote",null,[e("p",null,[l(n,{to:"/docs/getting-started/glossary/#users"},{default:t(()=>[h]),_:1}),g,l(n,{to:"/docs/getting-started/glossary/#roles"},{default:t(()=>[_]),_:1}),p,l(n,{to:"/docs/getting-started/glossary/#permissions"},{default:t(()=>[f]),_:1}),m])]),v,b,y,w,A,k,C,e("ol",null,[P,R,e("li",null,[U,I,l(n,{to:"/docs/app/user-directory/#editing-a-user"},{default:t(()=>[D]),_:1})])]),T,e("ul",null,[F,N,e("li",null,[S,x,l(n,{to:"/docs/reference/authentication/"},{default:t(()=>[L]),_:1}),E])]),q,W,j,V,z,B,M,O,Y,G,H,K,e("div",J,[Q,e("p",null,[X,Z,$,l(n,{to:"/docs/configuration/users-roles-permissions/#configuring-public-permissions"},{default:t(()=>[ee]),_:1}),se])]),te,ne,le,ie,oe,ae,re,ce,ue,de,he,e("ol",ge,[e("li",null,[_e,pe,l(n,{to:"/docs/configuration/filter-rules"},{default:t(()=>[fe]),_:1}),me]),ve]),be,ye,e("ol",we,[e("li",null,[Ae,ke,l(n,{to:"/docs/configuration/filter-rules/"},{default:t(()=>[Ce]),_:1}),Pe]),Re,e("li",null,[Ue,Ie,l(n,{to:"/docs/configuration/filter-rules/"},{default:t(()=>[De]),_:1}),Te]),Fe]),Ne,e("ol",Se,[e("li",null,[xe,Le,l(n,{to:"/docs/configuration/filter-rules/"},{default:t(()=>[Ee]),_:1}),qe])]),We,je,Ve,ze,Be,Me,Oe,Ye,Ge,He,e("ol",null,[e("li",null,[Ke,Je,Qe,l(n,{to:"/docs/configuration/data-model/#creating-a-field"},{default:t(()=>[Xe]),_:1}),Ze,$e,es]),ss,ts])])]),_:1})}}};export{as as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r,p as h,q as i,w as a,z as e,t as l,S as s}from"./vendor.
|
|
1
|
+
import{r,p as h,q as i,w as a,z as e,t as l,S as s}from"./vendor.32937068.js";const d={class:"markdown-body"},u={class:"two-up"},p={class:"left"},_=s("Directus Users are the individual accounts that let you authenticate into the API and App. Each user belongs to a Role which defines its granular Permissions. "),g=s("Learn more about Users"),m=s("."),f=e("div",{class:"right"},[e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#the-user-object"},"The User Object")]),e("li",null,[e("a",{href:"#list-users"},"List Users")]),e("li",null,[e("a",{href:"#retrieve-a-user"},"Retrieve a User")]),e("li",null,[e("a",{href:"#retrieve-the-current-user"},"Retrieve the Current User")]),e("li",null,[e("a",{href:"#update-the-current-user"},"Update the Current User")]),e("li",null,[e("a",{href:"#create-a-user"},"Create a User")]),e("li",null,[e("a",{href:"#create-multiple-users"},"Create Multiple Users")]),e("li",null,[e("a",{href:"#update-a-user"},"Update a User")]),e("li",null,[e("a",{href:"#update-multiple-users"},"Update Multiple Users")]),e("li",null,[e("a",{href:"#delete-a-user"},"Delete a User")]),e("li",null,[e("a",{href:"#delete-multiple-users"},"Delete Multiple Users")]),e("li",null,[e("a",{href:"#invite-a-new-user"},"Invite a new User")]),e("li",null,[e("a",{href:"#accept-user-invite"},"Accept User Invite")]),e("li",null,[e("a",{href:"#generate-two-factor-authentication-secret"},"Generate Two-Factor Authentication Secret")]),e("li",null,[e("a",{href:"#enable-two-factor-authentication"},"Enable Two-Factor Authentication")]),e("li",null,[e("a",{href:"#disable-two-factor-authentication"},"Disable Two-Factor Authentication")])])])])],-1),j=e("hr",null,null,-1),y=e("h2",{id:"the-user-object"},[s("The User Object "),e("a",{class:"header-anchor",href:"#the-user-object"},"#")],-1),q={class:"two-up"},b={class:"left"},v={class:"definitions"},w=e("p",null,[e("code",null,"id"),s(),e("strong",null,"uuid"),e("br"),s(" Primary key of the user.")],-1),x=e("p",null,[e("code",null,"first_name"),s(),e("strong",null,"string"),e("br"),s(" First name of the user.")],-1),T=e("p",null,[e("code",null,"last_name"),s(),e("strong",null,"string"),e("br"),s(" Last name of the user.")],-1),E=e("p",null,[e("code",null,"email"),s(),e("strong",null,"string"),e("br"),s(" Email address of the user.")],-1),R=e("p",null,[e("code",null,"password"),s(),e("strong",null,"hash"),e("br"),s(" Password of the user.")],-1),S=e("p",null,[e("code",null,"location"),s(),e("strong",null,"string"),e("br"),s(" Location of the user.")],-1),P=e("p",null,[e("code",null,"title"),s(),e("strong",null,"string"),e("br"),s(" Title of the user.")],-1),k=e("p",null,[e("code",null,"description"),s(),e("strong",null,"string"),e("br"),s(" Description of the user.")],-1),A=e("p",null,[e("code",null,"tags"),s(),e("strong",null,"csv"),e("br"),s(" Tags for the user.")],-1),U=e("code",null,"avatar",-1),O=s(),L=e("strong",null,"many-to-one",-1),C=e("br",null,null,-1),I=s(" Avatar file. Many-to-one to "),Q=s("files"),D=s("."),G=e("p",null,[e("code",null,"language"),s(),e("strong",null,"string"),e("br"),s(" Language the Admin App is rendered in. See "),e("a",{href:"https://locales.directus.io",target:"_blank",rel:"noopener noreferrer"},"our Crowdin page"),s(" for all available languages and translations.")],-1),B=e("p",null,[e("code",null,"theme"),s(),e("strong",null,"string"),e("br"),s(" One of "),e("code",null,"auto"),s(", "),e("code",null,"light"),s(", "),e("code",null,"dark"),s(".")],-1),M=e("p",null,[e("code",null,"tfa_secret"),s(),e("strong",null,"string"),e("br"),s(" When TFA is enabled, this holds the secret key for it.")],-1),F=e("p",null,[e("code",null,"email_notifications"),s(),e("strong",null,"boolean"),e("br"),s(" When this is enabled, the user will receive emails for notifications.")],-1),H=e("div",{class:"right"},[e("pre",null,[e("code",{class:"language-json"},[s(`{
|
|
2
2
|
`),e("span",{class:"hljs-attr"},'"id"'),s(": "),e("span",{class:"hljs-string"},'"0bc7b36a-9ba9-4ce0-83f0-0a526f354e07"'),s(`,
|
|
3
3
|
`),e("span",{class:"hljs-attr"},'"first_name"'),s(": "),e("span",{class:"hljs-string"},'"Admin"'),s(`,
|
|
4
4
|
`),e("span",{class:"hljs-attr"},'"last_name"'),s(": "),e("span",{class:"hljs-string"},'"User"'),s(`,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r,p as i,q as c,w as a,z as e,t,S as s}from"./vendor.
|
|
1
|
+
import{r,p as i,q as c,w as a,z as e,t,S as s}from"./vendor.32937068.js";const d={class:"markdown-body"},u=e("div",{class:"two-up"},[e("div",{class:"left"},[e("blockquote",null,[e("p",null,"Utilities are the various helper endpoints located within the API.")])]),e("div",{class:"right"},[e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#generate-a-hash"},"Generate a Hash")]),e("li",null,[e("a",{href:"#verify-a-hash"},"Verify a Hash")]),e("li",null,[e("a",{href:"#manually-sort-items-in-collection"},"Manually Sort Items in Collection")]),e("li",null,[e("a",{href:"#import-data-from-file"},"Import Data from File")]),e("li",null,[e("a",{href:"#export-data-to-a-file"},"Export Data to a File")]),e("li",null,[e("a",{href:"#clear-the-internal-cache"},"Clear the Internal Cache")])])])])])],-1),p=e("hr",null,null,-1),_=e("h2",{id:"generate-a-hash"},[s("Generate a Hash "),e("a",{class:"header-anchor",href:"#generate-a-hash"},"#")],-1),f=e("p",null,"Generate a hash for a given string.",-1),m=e("div",{class:"two-up"},[e("div",{class:"left"},[e("h3",{id:"request-body"},[s("Request Body "),e("a",{class:"header-anchor",href:"#request-body"},"#")]),e("div",{class:"definitions"},[e("p",null,[e("code",null,"string"),s(),e("strong",null,"Required"),e("br"),s(" String to hash.")])]),e("h3",{id:"returns"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns"},"#")]),e("p",null,"Hashed string.")]),e("div",{class:"right"},[e("h3",{id:"rest-api"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api"},"#")]),e("pre",null,[e("code",null,`POST /utils/hash/generate
|
|
2
2
|
`)]),e("h5",{id:"example"},[s("Example "),e("a",{class:"header-anchor",href:"#example"},"#")]),e("pre",null,[e("code",{class:"language-json"},[e("span",{class:"hljs-comment"},"// POST /utils/hash/generate"),s(`
|
|
3
3
|
|
|
4
4
|
{
|
|
@@ -22,7 +22,7 @@ import{r,p as i,q as c,w as a,z as e,t,S as s}from"./vendor.546e1516.js";const d
|
|
|
22
22
|
`)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Mutation"),s(` {
|
|
23
23
|
utils_hash_verify(hash:`),e("span",{class:"hljs-type"}," String"),s("!, string:"),e("span",{class:"hljs-type"}," String"),s("!):"),e("span",{class:"hljs-type"}," Boolean"),s(`
|
|
24
24
|
}
|
|
25
|
-
`)])])])],-1),
|
|
25
|
+
`)])])])],-1),b=e("hr",null,null,-1),v=e("h2",{id:"manually-sort-items-in-collection"},[s("Manually Sort Items in Collection "),e("a",{class:"header-anchor",href:"#manually-sort-items-in-collection"},"#")],-1),x=e("p",null,"If a collection has a sort field, this util can be used to move items in that manual order.",-1),A=e("div",{class:"two-up"},[e("div",{class:"left"},[e("h3",{id:"request-body-3"},[s("Request Body "),e("a",{class:"header-anchor",href:"#request-body-3"},"#")]),e("div",{class:"definitions"},[e("p",null,[e("code",null,"item"),s(),e("strong",null,"Required"),e("br"),s(" Primary key of the item you\u2019re moving in the collection.")]),e("p",null,[e("code",null,"to"),s(),e("strong",null,"Required"),e("br"),s(" Primary key of the item you\u2019re moving the source item too.")])]),e("h3",{id:"returns-3"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-3"},"#")]),e("p",null,"Empty body.")]),e("div",{class:"right"},[e("h3",{id:"rest-api-3"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-3"},"#")]),e("pre",null,[e("code",null,`POST /utils/sort/:collection
|
|
26
26
|
`)]),e("h5",{id:"example-4"},[s("Example "),e("a",{class:"header-anchor",href:"#example-4"},"#")]),e("pre",null,[e("code",{class:"language-json"},[e("span",{class:"hljs-comment"},"// POST /utils/sort/articles"),s(`
|
|
27
27
|
|
|
28
28
|
{
|
|
@@ -36,7 +36,7 @@ import{r,p as i,q as c,w as a,z as e,t,S as s}from"./vendor.546e1516.js";const d
|
|
|
36
36
|
`)])]),e("h5",{id:"example-5"},[s("Example "),e("a",{class:"header-anchor",href:"#example-5"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"mutation"),s(` {
|
|
37
37
|
utils_sort(collection: `),e("span",{class:"hljs-string"},'"articles"'),s(", item: "),e("span",{class:"hljs-number"},"16"),s(", to: "),e("span",{class:"hljs-number"},"51"),s(`)
|
|
38
38
|
}
|
|
39
|
-
`)])])])],-1),
|
|
39
|
+
`)])])])],-1),S=e("hr",null,null,-1),E=e("h2",{id:"import-data-from-file"},[s("Import Data from File "),e("a",{class:"header-anchor",href:"#import-data-from-file"},"#")],-1),R=s("Import multiple records from a JSON or CSV file into a collection. Relies on a "),T=e("code",null,"multipart/form-data",-1),P=s(" encoded request, just like regular file uploads. Check "),w=s("Upload a File"),C=s(" for more information."),O=s("The import endpoint expects the file structure to match "),F=s("the export query parameter"),k=s(". For JSON, this is an array of objects, where every object is an item. For CSV, the first line has to be the columns header."),I={class:"two-up"},B={class:"left"},D=e("h3",{id:"request-body-4"},[s("Request Body "),e("a",{class:"header-anchor",href:"#request-body-4"},"#")],-1),M=s("Send the file in a "),G=e("code",null,"multipart/form-data",-1),H=s(" request. See "),L=s("Upload a File"),V=s(" for more information."),N=e("h3",{id:"returns-4"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-4"},"#")],-1),Q=e("p",null,"Empty body.",-1),U=e("div",{class:"right"},[e("h3",{id:"rest-api-4"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-4"},"#")]),e("pre",null,[e("code",null,`POST /utils/import/:collection
|
|
40
40
|
`)]),e("h5",{id:"example-6"},[s("Example "),e("a",{class:"header-anchor",href:"#example-6"},"#")]),e("pre",null,[e("code",null,`POST /utils/import/articles
|
|
41
41
|
|
|
42
42
|
Content-Type: multipart/form-data; charset=utf-8; boundary=__X_BOUNDARY__
|
|
@@ -53,8 +53,22 @@ Content-Type: text/csv
|
|
|
53
53
|
4,"My Fourth Article","abc","506385A2-E444-4AE2-A860-F00957A62C8A"
|
|
54
54
|
5,"My Fifth Article","abc","506385A2-E444-4AE2-A860-F00957A62C8A"
|
|
55
55
|
...
|
|
56
|
-
`)]),e("h3",{id:"graphql-4"},[s("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-4"},"#")]),e("p",null,"n/a")],-1),W=e("hr",null,null,-1),J=e("h2",{id:"
|
|
57
|
-
`)]),e("
|
|
56
|
+
`)]),e("h3",{id:"graphql-4"},[s("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-4"},"#")]),e("p",null,"n/a")],-1),W=e("hr",null,null,-1),J=e("h2",{id:"export-data-to-a-file"},[s("Export Data to a File "),e("a",{class:"header-anchor",href:"#export-data-to-a-file"},"#")],-1),X=e("p",null,"Export a larger data set to a file in the File Library",-1),Y={class:"two-up"},z={class:"left"},$=e("h3",{id:"query-parameters"},[s("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters"},"#")],-1),K=e("p",null,"Doesn\u2019t use any query parameters.",-1),Z=e("h3",{id:"request-body-5"},[s("Request Body "),e("a",{class:"header-anchor",href:"#request-body-5"},"#")],-1),ee={class:"definitions"},se=e("p",null,[e("code",null,"format"),s(),e("strong",null,"Required"),e("br"),s(" What file format to save the export to. One of "),e("code",null,"csv"),s(", "),e("code",null,"xml"),s(", "),e("code",null,"json"),s(".")],-1),ae=e("code",null,"query",-1),le=s(),te=e("strong",null,"Required",-1),ne=e("br",null,null,-1),re=s(" The query object to use for the export. Supports the "),oe=s("global query parameters"),he=s("."),ie=e("p",null,[e("code",null,"file"),s(),e("strong",null,"File Object"),e("br"),s(" Partial file object to tweak where / how the export file is saved.")],-1),ce=e("h3",{id:"returns-5"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-5"},"#")],-1),de=e("p",null,"Empty body",-1),ue=e("div",{class:"right"},[e("h3",{id:"rest-api-5"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-5"},"#")]),e("pre",null,[e("code",null,`POST /utils/export/:collection
|
|
57
|
+
`)]),e("h5",{id:"example-7"},[s("Example "),e("a",{class:"header-anchor",href:"#example-7"},"#")]),e("pre",null,[e("code",null,`POST /utils/export/articles
|
|
58
|
+
`)]),e("pre",null,[e("code",{class:"language-json"},[s(`{
|
|
59
|
+
`),e("span",{class:"hljs-attr"},'"query"'),s(`: {
|
|
60
|
+
`),e("span",{class:"hljs-attr"},'"filter"'),s(`: {
|
|
61
|
+
`),e("span",{class:"hljs-attr"},'"status"'),s(`: {
|
|
62
|
+
`),e("span",{class:"hljs-attr"},'"_eq"'),s(": "),e("span",{class:"hljs-string"},'"published"'),s(`
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
`),e("span",{class:"hljs-attr"},'"file"'),s(`: {
|
|
67
|
+
`),e("span",{class:"hljs-attr"},'"folder"'),s(": "),e("span",{class:"hljs-string"},'"34e95c19-cc50-42f2-83c8-b97616ac2390"'),s(`
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
`)])]),e("h3",{id:"graphql-5"},[s("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-5"},"#")]),e("p",null,"n/a")],-1),pe=e("hr",null,null,-1),_e=e("h2",{id:"clear-the-internal-cache"},[s("Clear the Internal Cache "),e("a",{class:"header-anchor",href:"#clear-the-internal-cache"},"#")],-1),fe=e("p",null,"Resets both the data and schema cache of Directus. This endpoint is only available to admin users.",-1),me=e("div",{class:"two-up"},[e("div",{class:"left"},[e("h3",{id:"request-body-6"},[s("Request Body "),e("a",{class:"header-anchor",href:"#request-body-6"},"#")]),e("p",null,"n/a"),e("h3",{id:"returns-6"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns-6"},"#")]),e("p",null,"Empty body")]),e("div",{class:"right"},[e("h3",{id:"rest-api-6"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api-6"},"#")]),e("pre",null,[e("code",null,`POST /utils/cache/clear
|
|
71
|
+
`)]),e("h3",{id:"graphql-6"},[s("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-6"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"mutation"),s(` {
|
|
58
72
|
utils_cache_clear
|
|
59
73
|
}
|
|
60
|
-
`)])])])],-1),
|
|
74
|
+
`)])])])],-1),be={setup(ge,{expose:o}){const n={title:"Utilities",modularExtension:!1,pageClass:"page-reference"};return o({frontmatter:n}),(ye,qe)=>{const l=r("router-link"),h=r("DocsWrapper");return i(),c(h,{frontmatter:n},{default:a(()=>[e("div",d,[u,p,_,f,m,g,y,q,j,b,v,x,A,S,E,e("p",null,[R,T,P,t(l,{to:"/docs/reference/files/#upload-a-file"},{default:a(()=>[w]),_:1}),C]),e("p",null,[O,t(l,{to:"/docs/reference/query/#export"},{default:a(()=>[F]),_:1}),k]),e("div",I,[e("div",B,[D,e("p",null,[M,G,H,t(l,{to:"/docs/reference/files/#upload-a-file"},{default:a(()=>[L]),_:1}),V]),N,Q]),U]),W,J,X,e("div",Y,[e("div",z,[$,K,Z,e("div",ee,[se,e("p",null,[ae,le,te,ne,re,t(l,{to:"/docs/reference/query"},{default:a(()=>[oe]),_:1}),he]),ie]),ce,de]),ue]),pe,_e,fe,me])]),_:1})}}};export{be as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bN as U}from"./vendor.32937068.js";function $(l,v){return v.forEach(function(i){i&&typeof i!="string"&&!Array.isArray(i)&&Object.keys(i).forEach(function(c){if(c!=="default"&&!(c in l)){var d=Object.getOwnPropertyDescriptor(i,c);Object.defineProperty(l,c,d.get?d:{enumerable:!0,get:function(){return i[c]}})}})}),Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var O={exports:{}};(function(l,v){(function(i){i(U.exports)})(function(i){i.defineMode("vb",function(c,d){var a="error";function u(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var E=new RegExp("^[\\+\\-\\*/%&\\\\|\\^~<>!]"),R=new RegExp("^[\\(\\)\\[\\]\\{\\}@,:`=;\\.]"),z=new RegExp("^((==)|(<>)|(<=)|(>=)|(<>)|(<<)|(>>)|(//)|(\\*\\*))"),S=new RegExp("^((\\+=)|(\\-=)|(\\*=)|(%=)|(/=)|(&=)|(\\|=)|(\\^=))"),_=new RegExp("^((//=)|(>>=)|(<<=)|(\\*\\*=))"),j=new RegExp("^[_A-Za-z][_A-Za-z0-9]*"),h=["class","module","sub","enum","select","while","if","function","get","set","property","try","structure","synclock","using","with"],g=["else","elseif","case","catch","finally"],y=["next","loop"],b=["and","andalso","or","orelse","xor","in","not","is","isnot","like"],C=u(b),w=["#const","#else","#elseif","#end","#if","#region","addhandler","addressof","alias","as","byref","byval","cbool","cbyte","cchar","cdate","cdbl","cdec","cint","clng","cobj","compare","const","continue","csbyte","cshort","csng","cstr","cuint","culng","cushort","declare","default","delegate","dim","directcast","each","erase","error","event","exit","explicit","false","for","friend","gettype","goto","handles","implements","imports","infer","inherits","interface","isfalse","istrue","lib","me","mod","mustinherit","mustoverride","my","mybase","myclass","namespace","narrowing","new","nothing","notinheritable","notoverridable","of","off","on","operator","option","optional","out","overloads","overridable","overrides","paramarray","partial","private","protected","public","raiseevent","readonly","redim","removehandler","resume","return","shadows","shared","static","step","stop","strict","then","throw","to","true","trycast","typeof","until","until","when","widening","withevents","writeonly"],x=["object","boolean","char","string","byte","sbyte","short","ushort","int16","uint16","integer","uinteger","int32","uint32","long","ulong","int64","uint64","decimal","single","double","float","date","datetime","intptr","uintptr"],T=u(w),A=u(x),F='"',L=u(h),m=u(g),k=u(y),I=u(["end"]),D=u(["do"]);i.registerHelper("hintWords","vb",h.concat(g).concat(y).concat(b).concat(w).concat(x));function s(e,n){n.currentIndent++}function f(e,n){n.currentIndent--}function p(e,n){if(e.eatSpace())return null;var r=e.peek();if(r==="'")return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.a-f]/i,!1)){var t=!1;if((e.match(/^\d*\.\d+F?/i)||e.match(/^\d+\.\d*F?/)||e.match(/^\.\d+F?/))&&(t=!0),t)return e.eat(/J/i),"number";var o=!1;if(e.match(/^&H[0-9a-f]+/i)||e.match(/^&O[0-7]+/i)?o=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),o=!0):e.match(/^0(?![\dx])/i)&&(o=!0),o)return e.eat(/L/i),"number"}return e.match(F)?(n.tokenize=K(e.current()),n.tokenize(e,n)):e.match(_)||e.match(S)?null:e.match(z)||e.match(E)||e.match(C)?"operator":e.match(R)?null:e.match(D)?(s(e,n),n.doInCurrentLine=!0,"keyword"):e.match(L)?(n.doInCurrentLine?n.doInCurrentLine=!1:s(e,n),"keyword"):e.match(m)?"keyword":e.match(I)?(f(e,n),f(e,n),"keyword"):e.match(k)?(f(e,n),"keyword"):e.match(A)||e.match(T)?"keyword":e.match(j)?"variable":(e.next(),a)}function K(e){var n=e.length==1,r="string";return function(t,o){for(;!t.eol();){if(t.eatWhile(/[^'"]/),t.match(e))return o.tokenize=p,r;t.eat(/['"]/)}if(n){if(d.singleLineStringErrors)return a;o.tokenize=p}return r}}function P(e,n){var r=n.tokenize(e,n),t=e.current();if(t===".")return r=n.tokenize(e,n),r==="variable"?"variable":a;var o="[({".indexOf(t);return o!==-1&&s(e,n),o="])}".indexOf(t),o!==-1&&f(e,n)?a:r}var H={electricChars:"dDpPtTfFeE ",startState:function(){return{tokenize:p,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1}},token:function(e,n){e.sol()&&(n.currentIndent+=n.nextLineIndent,n.nextLineIndent=0,n.doInCurrentLine=0);var r=P(e,n);return n.lastToken={style:r,content:e.current()},r},indent:function(e,n){var r=n.replace(/^\s+|\s+$/g,"");return r.match(k)||r.match(I)||r.match(m)?c.indentUnit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*c.indentUnit},lineComment:"'"};return H}),i.defineMIME("text/x-vb","vb")})})();var J=O.exports,N=$({__proto__:null,default:J},[O.exports]);export{N as v};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bN as Q}from"./vendor.32937068.js";function X(l,p){return p.forEach(function(o){o&&typeof o!="string"&&!Array.isArray(o)&&Object.keys(o).forEach(function(a){if(a!=="default"&&!(a in l)){var v=Object.getOwnPropertyDescriptor(o,a);Object.defineProperty(l,a,v.get?v:{enumerable:!0,get:function(){return o[a]}})}})}),Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var x={exports:{}};(function(l,p){(function(o){o(Q.exports)})(function(o){o.defineMode("vbscript",function(a,v){var d="error";function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var w=new RegExp("^[\\+\\-\\*/&\\\\\\^<>=]"),k=new RegExp("^((<>)|(<=)|(>=))"),O=new RegExp("^[\\.,]"),C=new RegExp("^[\\(\\)]"),I=new RegExp("^[A-Za-z][_A-Za-z0-9]*"),S=["class","sub","select","while","if","function","property","with","for"],j=["else","elseif","case"],E=["next","loop","wend"],D=t(["and","or","not","xor","is","mod","eqv","imp"]),T=["dim","redim","then","until","randomize","byval","byref","new","property","exit","in","const","private","public","get","set","let","stop","on error resume next","on error goto 0","option explicit","call","me"],L=["true","false","nothing","empty","null"],R=["abs","array","asc","atn","cbool","cbyte","ccur","cdate","cdbl","chr","cint","clng","cos","csng","cstr","date","dateadd","datediff","datepart","dateserial","datevalue","day","escape","eval","execute","exp","filter","formatcurrency","formatdatetime","formatnumber","formatpercent","getlocale","getobject","getref","hex","hour","inputbox","instr","instrrev","int","fix","isarray","isdate","isempty","isnull","isnumeric","isobject","join","lbound","lcase","left","len","loadpicture","log","ltrim","rtrim","trim","maths","mid","minute","month","monthname","msgbox","now","oct","replace","rgb","right","rnd","round","scriptengine","scriptenginebuildversion","scriptenginemajorversion","scriptengineminorversion","second","setlocale","sgn","sin","space","split","sqr","strcomp","string","strreverse","tan","time","timer","timeserial","timevalue","typename","ubound","ucase","unescape","vartype","weekday","weekdayname","year"],F=["vbBlack","vbRed","vbGreen","vbYellow","vbBlue","vbMagenta","vbCyan","vbWhite","vbBinaryCompare","vbTextCompare","vbSunday","vbMonday","vbTuesday","vbWednesday","vbThursday","vbFriday","vbSaturday","vbUseSystemDayOfWeek","vbFirstJan1","vbFirstFourDays","vbFirstFullWeek","vbGeneralDate","vbLongDate","vbShortDate","vbLongTime","vbShortTime","vbObjectError","vbOKOnly","vbOKCancel","vbAbortRetryIgnore","vbYesNoCancel","vbYesNo","vbRetryCancel","vbCritical","vbQuestion","vbExclamation","vbInformation","vbDefaultButton1","vbDefaultButton2","vbDefaultButton3","vbDefaultButton4","vbApplicationModal","vbSystemModal","vbOK","vbCancel","vbAbort","vbRetry","vbIgnore","vbYes","vbNo","vbCr","VbCrLf","vbFormFeed","vbLf","vbNewLine","vbNullChar","vbNullString","vbTab","vbVerticalTab","vbUseDefault","vbTrue","vbFalse","vbEmpty","vbNull","vbInteger","vbLong","vbSingle","vbDouble","vbCurrency","vbDate","vbString","vbObject","vbError","vbBoolean","vbVariant","vbDataObject","vbDecimal","vbByte","vbArray"],u=["WScript","err","debug","RegExp"],z=["description","firstindex","global","helpcontext","helpfile","ignorecase","length","number","pattern","source","value","count"],W=["clear","execute","raise","replace","test","write","writeline","close","open","state","eof","update","addnew","end","createobject","quit"],A=["server","response","request","session","application"],B=["buffer","cachecontrol","charset","contenttype","expires","expiresabsolute","isclientconnected","pics","status","clientcertificate","cookies","form","querystring","servervariables","totalbytes","contents","staticobjects","codepage","lcid","sessionid","timeout","scripttimeout"],K=["addheader","appendtolog","binarywrite","end","flush","redirect","binaryread","remove","removeall","lock","unlock","abandon","getlasterror","htmlencode","mappath","transfer","urlencode"],b=W.concat(z);u=u.concat(F),a.isASP&&(u=u.concat(A),b=b.concat(K,B));var M=t(T),N=t(L),_=t(R),P=t(u),q=t(b),U='"',Y=t(S),y=t(j),g=t(E),h=t(["end"]),H=t(["do"]),J=t(["on error resume next","exit"]),V=t(["rem"]);function m(e,r){r.currentIndent++}function s(e,r){r.currentIndent--}function f(e,r){if(e.eatSpace())return"space";var n=e.peek();if(n==="'"||e.match(V))return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.]/i,!1)&&!e.match(/^((&H)|(&O))?[0-9\.]+[a-z_]/i,!1)){var i=!1;if((e.match(/^\d*\.\d+/i)||e.match(/^\d+\.\d*/)||e.match(/^\.\d+/))&&(i=!0),i)return e.eat(/J/i),"number";var c=!1;if(e.match(/^&H[0-9a-f]+/i)||e.match(/^&O[0-7]+/i)?c=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),c=!0):e.match(/^0(?![\dx])/i)&&(c=!0),c)return e.eat(/L/i),"number"}return e.match(U)?(r.tokenize=$(e.current()),r.tokenize(e,r)):e.match(k)||e.match(w)||e.match(D)?"operator":e.match(O)?null:e.match(C)?"bracket":e.match(J)?(r.doInCurrentLine=!0,"keyword"):e.match(H)?(m(e,r),r.doInCurrentLine=!0,"keyword"):e.match(Y)?(r.doInCurrentLine?r.doInCurrentLine=!1:m(e,r),"keyword"):e.match(y)?"keyword":e.match(h)?(s(e,r),s(e,r),"keyword"):e.match(g)?(r.doInCurrentLine?r.doInCurrentLine=!1:s(e,r),"keyword"):e.match(M)?"keyword":e.match(N)?"atom":e.match(q)?"variable-2":e.match(_)?"builtin":e.match(P)?"variable-2":e.match(I)?"variable":(e.next(),d)}function $(e){var r=e.length==1,n="string";return function(i,c){for(;!i.eol();){if(i.eatWhile(/[^'"]/),i.match(e))return c.tokenize=f,n;i.eat(/['"]/)}if(r){if(v.singleLineStringErrors)return d;c.tokenize=f}return n}}function G(e,r){var n=r.tokenize(e,r),i=e.current();return i==="."?(n=r.tokenize(e,r),i=e.current(),n&&(n.substr(0,8)==="variable"||n==="builtin"||n==="keyword")?((n==="builtin"||n==="keyword")&&(n="variable"),b.indexOf(i.substr(1))>-1&&(n="variable-2"),n):d):n}var Z={electricChars:"dDpPtTfFeE ",startState:function(){return{tokenize:f,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1,ignoreKeyword:!1}},token:function(e,r){e.sol()&&(r.currentIndent+=r.nextLineIndent,r.nextLineIndent=0,r.doInCurrentLine=0);var n=G(e,r);return r.lastToken={style:n,content:e.current()},n==="space"&&(n=null),n},indent:function(e,r){var n=r.replace(/^\s+|\s+$/g,"");return n.match(g)||n.match(h)||n.match(y)?a.indentUnit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*a.indentUnit}};return Z}),o.defineMIME("text/vbscript","vbscript")})})();var ee=x.exports,ne=X({__proto__:null,default:ee},[x.exports]);export{ne as v};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bN as g}from"./vendor.32937068.js";function $(f,k){return k.forEach(function(t){t&&typeof t!="string"&&!Array.isArray(t)&&Object.keys(t).forEach(function(o){if(o!=="default"&&!(o in f)){var a=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(f,o,a.get?a:{enumerable:!0,get:function(){return t[o]}})}})}),Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var v={exports:{}};(function(f,k){(function(t){t(g.exports)})(function(t){t.defineMode("velocity",function(){function o(n){for(var e={},i=n.split(" "),r=0;r<i.length;++r)e[i[r]]=!0;return e}var a=o("#end #else #break #stop #[[ #]] #{end} #{else} #{break} #{stop}"),u=o("#if #elseif #foreach #set #include #parse #macro #define #evaluate #{if} #{elseif} #{foreach} #{set} #{include} #{parse} #{macro} #{define} #{evaluate}"),b=o("$foreach.count $foreach.hasNext $foreach.first $foreach.last $foreach.topmost $foreach.parent.count $foreach.parent.hasNext $foreach.parent.first $foreach.parent.last $foreach.parent $velocityCount $!bodyContent $bodyContent"),h=/[+\-*&%=<>!?:\/|]/;function s(n,e,i){return e.tokenize=i,i(n,e)}function c(n,e){var i=e.beforeParams;e.beforeParams=!1;var r=n.next();if(r=="'"&&!e.inString&&e.inParams)return e.lastTokenWasBuiltin=!1,s(n,e,d(r));if(r=='"'){if(e.lastTokenWasBuiltin=!1,e.inString)return e.inString=!1,"string";if(e.inParams)return s(n,e,d(r))}else{if(/[\[\]{}\(\),;\.]/.test(r))return r=="("&&i?e.inParams=!0:r==")"&&(e.inParams=!1,e.lastTokenWasBuiltin=!0),null;if(/\d/.test(r))return e.lastTokenWasBuiltin=!1,n.eatWhile(/[\w\.]/),"number";if(r=="#"&&n.eat("*"))return e.lastTokenWasBuiltin=!1,s(n,e,y);if(r=="#"&&n.match(/ *\[ *\[/))return e.lastTokenWasBuiltin=!1,s(n,e,m);if(r=="#"&&n.eat("#"))return e.lastTokenWasBuiltin=!1,n.skipToEnd(),"comment";if(r=="$")return n.eat("!"),n.eatWhile(/[\w\d\$_\.{}-]/),b&&b.propertyIsEnumerable(n.current())?"keyword":(e.lastTokenWasBuiltin=!0,e.beforeParams=!0,"builtin");if(h.test(r))return e.lastTokenWasBuiltin=!1,n.eatWhile(h),"operator";n.eatWhile(/[\w\$_{}@]/);var l=n.current();return a&&a.propertyIsEnumerable(l)?"keyword":u&&u.propertyIsEnumerable(l)||n.current().match(/^#@?[a-z0-9_]+ *$/i)&&n.peek()=="("&&!(u&&u.propertyIsEnumerable(l.toLowerCase()))?(e.beforeParams=!0,e.lastTokenWasBuiltin=!1,"keyword"):e.inString?(e.lastTokenWasBuiltin=!1,"string"):n.pos>l.length&&n.string.charAt(n.pos-l.length-1)=="."&&e.lastTokenWasBuiltin?"builtin":(e.lastTokenWasBuiltin=!1,null)}}function d(n){return function(e,i){for(var r=!1,l,p=!1;(l=e.next())!=null;){if(l==n&&!r){p=!0;break}if(n=='"'&&e.peek()=="$"&&!r){i.inString=!0,p=!0;break}r=!r&&l=="\\"}return p&&(i.tokenize=c),"string"}}function y(n,e){for(var i=!1,r;r=n.next();){if(r=="#"&&i){e.tokenize=c;break}i=r=="*"}return"comment"}function m(n,e){for(var i=0,r;r=n.next();){if(r=="#"&&i==2){e.tokenize=c;break}r=="]"?i++:r!=" "&&(i=0)}return"meta"}return{startState:function(){return{tokenize:c,beforeParams:!1,inParams:!1,inString:!1,lastTokenWasBuiltin:!1}},token:function(n,e){return n.eatSpace()?null:e.tokenize(n,e)},blockCommentStart:"#*",blockCommentEnd:"*#",lineComment:"##",fold:"velocity"}}),t.defineMIME("text/velocity","velocity")})})();var W=v.exports,B=$({__proto__:null,default:W},[v.exports]);export{B as v};
|
|
@@ -1973,4 +1973,4 @@ Docs & License: https://fullcalendar.io/
|
|
|
1973
1973
|
FullCalendar v5.10.1
|
|
1974
1974
|
Docs & License: https://fullcalendar.io/
|
|
1975
1975
|
(c) 2021 Adam Shaw
|
|
1976
|
-
*/var Nge=function(e){Hn(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getKeyInfo=function(){return{allDay:{},timed:{}}},t.prototype.getKeysForDateSpan=function(r){return r.allDay?["allDay"]:["timed"]},t.prototype.getKeysForEventDef=function(r){return r.allDay?Ppe(r)?["timed","allDay"]:["allDay"]:["timed"]},t}(b2e),Fge=Cs({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"});function zO(e){var t=["fc-timegrid-slot","fc-timegrid-slot-label",e.isLabeled?"fc-scrollgrid-shrink":"fc-timegrid-slot-minor"];return At(Gd.Consumer,null,function(r){if(!e.isLabeled)return At("td",{className:t.join(" "),"data-time":e.isoTimeStr});var n=r.dateEnv,a=r.options,o=r.viewApi,i=a.slotLabelFormat==null?Fge:Array.isArray(a.slotLabelFormat)?Cs(a.slotLabelFormat[0]):Cs(a.slotLabelFormat),l={level:0,time:e.time,date:n.toDate(e.date),view:o,text:n.format(e.date,i)};return At(nf,{hookProps:l,classNames:a.slotLabelClassNames,content:a.slotLabelContent,defaultContent:Bge,didMount:a.slotLabelDidMount,willUnmount:a.slotLabelWillUnmount},function(f,g,m,p){return At("td",{ref:f,className:t.concat(g).join(" "),"data-time":e.isoTimeStr},At("div",{className:"fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame"},At("div",{className:"fc-timegrid-slot-label-cushion fc-scrollgrid-shrink-cushion",ref:m},p)))})})}function Bge(e){return e.text}var Hge=function(e){Hn(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(){return this.props.slatMetas.map(function(r){return At("tr",{key:r.key},At(zO,jt({},r)))})},t}(Ha),Vge=Cs({week:"short"}),Uge=5,jge=function(e){Hn(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.allDaySplitter=new Nge,r.headerElRef=ic(),r.rootElRef=ic(),r.scrollerElRef=ic(),r.state={slatCoords:null},r.handleScrollTopRequest=function(n){var a=r.scrollerElRef.current;a&&(a.scrollTop=n)},r.renderHeadAxis=function(n,a){a===void 0&&(a="");var o=r.context.options,i=r.props.dateProfile,l=i.renderRange,f=b2(l.start,l.end),g=f===1?$g(r.context,l.start,"week"):{};return o.weekNumbers&&n==="day"?At(vO,{date:l.start,defaultFormat:Vge},function(m,p,v,A){return At("th",{ref:m,"aria-hidden":!0,className:["fc-timegrid-axis","fc-scrollgrid-shrink"].concat(p).join(" ")},At("div",{className:"fc-timegrid-axis-frame fc-scrollgrid-shrink-frame fc-timegrid-axis-frame-liquid",style:{height:a}},At("a",jt({ref:v,className:"fc-timegrid-axis-cushion fc-scrollgrid-shrink-cushion fc-scrollgrid-sync-inner"},g),A)))}):At("th",{"aria-hidden":!0,className:"fc-timegrid-axis"},At("div",{className:"fc-timegrid-axis-frame",style:{height:a}}))},r.renderTableRowAxis=function(n){var a=r.context,o=a.options,i=a.viewApi,l={text:o.allDayText,view:i};return At(nf,{hookProps:l,classNames:o.allDayClassNames,content:o.allDayContent,defaultContent:Wge,didMount:o.allDayDidMount,willUnmount:o.allDayWillUnmount},function(f,g,m,p){return At("td",{ref:f,"aria-hidden":!0,className:["fc-timegrid-axis","fc-scrollgrid-shrink"].concat(g).join(" ")},At("div",{className:"fc-timegrid-axis-frame fc-scrollgrid-shrink-frame"+(n==null?" fc-timegrid-axis-frame-liquid":""),style:{height:n}},At("span",{className:"fc-timegrid-axis-cushion fc-scrollgrid-shrink-cushion fc-scrollgrid-sync-inner",ref:m},p)))})},r.handleSlatCoords=function(n){r.setState({slatCoords:n})},r}return t.prototype.renderSimpleLayout=function(r,n,a){var o=this,i=o.context,l=o.props,f=[],g=I8(i.options);return r&&f.push({type:"header",key:"header",isSticky:g,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:r}}),n&&(f.push({type:"body",key:"all-day",chunk:{content:n}}),f.push({type:"body",key:"all-day-divider",outerContent:At("tr",{role:"presentation",className:"fc-scrollgrid-section"},At("td",{className:"fc-timegrid-divider "+i.theme.getClass("tableCellShaded")}))})),f.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(i.options.expandRows),chunk:{scrollerElRef:this.scrollerElRef,content:a}}),At(qg,{viewSpec:i.viewSpec,elRef:this.rootElRef},function(m,p){return At("div",{className:["fc-timegrid"].concat(p).join(" "),ref:m},At(MS,{liquid:!l.isHeightAuto&&!l.forPrint,collapsibleWidth:l.forPrint,cols:[{width:"shrink"}],sections:f}))})},t.prototype.renderHScrollLayout=function(r,n,a,o,i,l,f){var g=this,m=this.context.pluginHooks.scrollGridImpl;if(!m)throw new Error("No ScrollGrid implementation");var p=this,v=p.context,A=p.props,w=!A.forPrint&&I8(v.options),k=!A.forPrint&&hO(v.options),_=[];r&&_.push({type:"header",key:"header",isSticky:w,syncRowHeights:!0,chunks:[{key:"axis",rowContent:function(M){return At("tr",{role:"presentation"},g.renderHeadAxis("day",M.rowSyncHeights[0]))}},{key:"cols",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:r}]}),n&&(_.push({type:"body",key:"all-day",syncRowHeights:!0,chunks:[{key:"axis",rowContent:function(M){return At("tr",{role:"presentation"},g.renderTableRowAxis(M.rowSyncHeights[0]))}},{key:"cols",content:n}]}),_.push({key:"all-day-divider",type:"body",outerContent:At("tr",{role:"presentation",className:"fc-scrollgrid-section"},At("td",{colSpan:2,className:"fc-timegrid-divider "+v.theme.getClass("tableCellShaded")}))}));var I=v.options.nowIndicator;return _.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(v.options.expandRows),chunks:[{key:"axis",content:function(M){return At("div",{className:"fc-timegrid-axis-chunk"},At("table",{"aria-hidden":!0,style:{height:M.expandRows?M.clientHeight:""}},M.tableColGroupNode,At("tbody",null,At(Hge,{slatMetas:l}))),At("div",{className:"fc-timegrid-now-indicator-container"},At(m4,{unit:I?"minute":"day"},function(z){var E=I&&f&&f.safeComputeTop(z);return typeof E=="number"?At(DS,{isAxis:!0,date:z},function(H,$,q,F){return At("div",{ref:H,className:["fc-timegrid-now-indicator-arrow"].concat($).join(" "),style:{top:E}},F)}):null})))}},{key:"cols",scrollerElRef:this.scrollerElRef,content:a}]}),k&&_.push({key:"footer",type:"footer",isSticky:!0,chunks:[{key:"axis",content:TS},{key:"cols",content:TS}]}),At(qg,{viewSpec:v.viewSpec,elRef:this.rootElRef},function(M,z){return At("div",{className:["fc-timegrid"].concat(z).join(" "),ref:M},At(m,{liquid:!A.isHeightAuto&&!A.forPrint,collapsibleWidth:!1,colGroups:[{width:"shrink",cols:[{width:"shrink"}]},{cols:[{span:o,minWidth:i}]}],sections:_}))})},t.prototype.getAllDayMaxEventProps=function(){var r=this.context.options,n=r.dayMaxEvents,a=r.dayMaxEventRows;return(n===!0||a===!0)&&(n=void 0,a=Uge),{dayMaxEvents:n,dayMaxEventRows:a}},t}(Xh);function Wge(e){return e.text}var $ge=function(){function e(t,r,n){this.positions=t,this.dateProfile=r,this.slotDuration=n}return e.prototype.safeComputeTop=function(t){var r=this.dateProfile;if(_2(r.currentRange,t)){var n=Bo(t),a=t.valueOf()-n.valueOf();if(a>=ch(r.slotMinTime)&&a<ch(r.slotMaxTime))return this.computeTimeTop(Pa(a))}return null},e.prototype.computeDateTop=function(t,r){return r||(r=Bo(t)),this.computeTimeTop(Pa(t.valueOf()-r.valueOf()))},e.prototype.computeTimeTop=function(t){var r=this,n=r.positions,a=r.dateProfile,o=n.els.length,i=(t.milliseconds-ch(a.slotMinTime))/ch(this.slotDuration),l,f;return i=Math.max(0,i),i=Math.min(o,i),l=Math.floor(i),l=Math.min(l,o-1),f=i-l,n.tops[l]+n.getHeight(l)*f},e}(),qge=function(e){Hn(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(){var r=this,n=r.props,a=r.context,o=a.options,i=n.slatElRefs;return At("tbody",null,n.slatMetas.map(function(l,f){var g={time:l.time,date:a.dateEnv.toDate(l.date),view:a.viewApi},m=["fc-timegrid-slot","fc-timegrid-slot-lane",l.isLabeled?"":"fc-timegrid-slot-minor"];return At("tr",{key:l.key,ref:i.createRef(l.key)},n.axis&&At(zO,jt({},l)),At(nf,{hookProps:g,classNames:o.slotLaneClassNames,content:o.slotLaneContent,didMount:o.slotLaneDidMount,willUnmount:o.slotLaneWillUnmount},function(p,v,A,w){return At("td",{ref:p,className:m.concat(v).join(" "),"data-time":l.isoTimeStr},w)}))}))},t}(Ha),Yge=function(e){Hn(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.rootElRef=ic(),r.slatElRefs=new Xd,r}return t.prototype.render=function(){var r=this,n=r.props,a=r.context;return At("div",{ref:this.rootElRef,className:"fc-timegrid-slots"},At("table",{"aria-hidden":!0,className:a.theme.getClass("table"),style:{minWidth:n.tableMinWidth,width:n.clientWidth,height:n.minHeight}},n.tableColGroupNode,At(qge,{slatElRefs:this.slatElRefs,axis:n.axis,slatMetas:n.slatMetas})))},t.prototype.componentDidMount=function(){this.updateSizing()},t.prototype.componentDidUpdate=function(){this.updateSizing()},t.prototype.componentWillUnmount=function(){this.props.onCoords&&this.props.onCoords(null)},t.prototype.updateSizing=function(){var r=this,n=r.context,a=r.props;if(a.onCoords&&a.clientWidth!==null){var o=this.rootElRef.current;o.offsetHeight&&a.onCoords(new $ge(new d4(this.rootElRef.current,Gge(this.slatElRefs.currentMap,a.slatMetas),!1,!0),this.props.dateProfile,n.options.slotDuration))}},t}(Ha);function Gge(e,t){return t.map(function(r){return e[r.key]})}function v4(e,t){var r=[],n;for(n=0;n<t;n+=1)r.push([]);if(e)for(n=0;n<e.length;n+=1)r[e[n].col].push(e[n]);return r}function OO(e,t){var r=[];if(e){for(var n=0;n<t;n+=1)r[n]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(var a=0,o=e.segs;a<o.length;a++){var i=o[a];r[i.col].segs.push(i)}}else for(var n=0;n<t;n+=1)r[n]=null;return r}var Xge=function(e){Hn(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.rootElRef=ic(),r}return t.prototype.render=function(){var r=this,n=this.props;return At(yO,{allDayDate:null,moreCnt:n.hiddenSegs.length,allSegs:n.hiddenSegs,hiddenSegs:n.hiddenSegs,alignmentElRef:this.rootElRef,defaultContent:Zge,extraDateSpan:n.extraDateSpan,dateProfile:n.dateProfile,todayRange:n.todayRange,popoverContent:function(){return HO(n.hiddenSegs,n)}},function(a,o,i,l,f,g,m,p){return At("a",{ref:function(v){uh(a,v),uh(r.rootElRef,v)},className:["fc-timegrid-more-link"].concat(o).join(" "),style:{top:n.top,bottom:n.bottom},onClick:f,title:g,"aria-expanded":m,"aria-controls":p},At("div",{ref:i,className:"fc-timegrid-more-link-inner fc-sticky"},l))})},t}(Ha);function Zge(e){return e.shortText}function Kge(e,t,r){var n=new Kz;t!=null&&(n.strictOrder=t),r!=null&&(n.maxStackCnt=r);var a=n.addSegs(e),o=Z0e(a),i=Jge(n);i=r3e(i,1);var l=n3e(i);return{segRects:l,hiddenGroups:o}}function Jge(e){var t=e.entriesByLevel,r=NS(function(n,a){return n+":"+a},function(n,a){var o=t3e(e,n,a),i=NO(o,r),l=t[n][a];return[jt(jt({},l),{nextLevelNodes:i[0]}),l.thickness+i[1]]});return NO(t.length?{level:0,lateralStart:0,lateralEnd:t[0].length}:null,r)[0]}function NO(e,t){if(!e)return[[],0];for(var r=e.level,n=e.lateralStart,a=e.lateralEnd,o=n,i=[];o<a;)i.push(t(r,o)),o+=1;return i.sort(Qge),[i.map(e3e),i[0][1]]}function Qge(e,t){return t[1]-e[1]}function e3e(e){return e[0]}function t3e(e,t,r){for(var n=e.levelCoords,a=e.entriesByLevel,o=a[t][r],i=n[t]+o.thickness,l=n.length,f=t;f<l&&n[f]<i;f+=1);for(;f<l;f+=1){for(var g=a[f],m=void 0,p=_S(g,o.span.start,bS),v=p[0]+p[1],A=v;(m=g[A])&&m.span.start<o.span.end;)A+=1;if(v<A)return{level:f,lateralStart:v,lateralEnd:A}}return null}function r3e(e,t){var r=NS(function(n,a,o){return W0(n)},function(n,a,o){var i=n.nextLevelNodes,l=n.thickness,f=l+o,g=l/f,m,p=[];if(!i.length)m=t;else for(var v=0,A=i;v<A.length;v++){var w=A[v];if(m===void 0){var k=r(w,a,f);m=k[0],p.push(k[1])}else{var k=r(w,m,0);p.push(k[1])}}var _=(m-a)*g;return[m-_,jt(jt({},n),{thickness:_,nextLevelNodes:p})]});return e.map(function(n){return r(n,0,0)[1]})}function n3e(e){var t=[],r=NS(function(a,o,i){return W0(a)},function(a,o,i){var l=jt(jt({},a),{levelCoord:o,stackDepth:i,stackForward:0});return t.push(l),l.stackForward=n(a.nextLevelNodes,o+a.thickness,i+1)+1});function n(a,o,i){for(var l=0,f=0,g=a;f<g.length;f++){var m=g[f];l=Math.max(r(m,o,i),l)}return l}return n(e,0,0),t}function NS(e,t){var r={};return function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var o=e.apply(void 0,n);return o in r?r[o]:r[o]=t.apply(void 0,n)}}function FO(e,t,r,n){r===void 0&&(r=null),n===void 0&&(n=0);var a=[];if(r)for(var o=0;o<e.length;o+=1){var i=e[o],l=r.computeDateTop(i.start,t),f=Math.max(l+(n||0),r.computeDateTop(i.end,t));a.push({start:Math.round(l),end:Math.round(f)})}return a}function i3e(e,t,r,n){for(var a=[],o=[],i=0;i<e.length;i+=1){var l=t[i];l?a.push({index:i,thickness:1,span:l}):o.push(e[i])}for(var f=Kge(a,r,n),g=f.segRects,m=f.hiddenGroups,p=[],v=0,A=g;v<A.length;v++){var w=A[v];p.push({seg:e[w.index],rect:w})}for(var k=0,_=o;k<_.length;k++){var I=_[k];p.push({seg:I,rect:null})}return{segPlacements:p,hiddenGroups:m}}var a3e=Cs({hour:"numeric",minute:"2-digit",meridiem:!1}),BO=function(e){Hn(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(){var r=["fc-timegrid-event","fc-v-event"];return this.props.isShort&&r.push("fc-timegrid-event-short"),At(dO,jt({},this.props,{defaultTimeFormat:a3e,extraClassNames:r}))},t}(Ha),o3e=function(e){Hn(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(){var r=this.props;return At(IS,{date:r.date,dateProfile:r.dateProfile,todayRange:r.todayRange,extraHookProps:r.extraHookProps},function(n,a){return a&&At("div",{className:"fc-timegrid-col-misc",ref:n},a)})},t}(Ha),s3e=function(e){Hn(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.sortEventSegs=vi(nS),r}return t.prototype.render=function(){var r=this,n=this,a=n.props,o=n.context,i=o.options.selectMirror,l=a.eventDrag&&a.eventDrag.segs||a.eventResize&&a.eventResize.segs||i&&a.dateSelectionSegs||[],f=a.eventDrag&&a.eventDrag.affectedInstances||a.eventResize&&a.eventResize.affectedInstances||{},g=this.sortEventSegs(a.fgEventSegs,o.options.eventOrder);return At(LS,{elRef:a.elRef,date:a.date,dateProfile:a.dateProfile,todayRange:a.todayRange,extraHookProps:a.extraHookProps},function(m,p,v){return At("td",jt({ref:m,role:"gridcell",className:["fc-timegrid-col"].concat(p,a.extraClassNames||[]).join(" ")},v,a.extraDataAttrs),At("div",{className:"fc-timegrid-col-frame"},At("div",{className:"fc-timegrid-col-bg"},r.renderFillSegs(a.businessHourSegs,"non-business"),r.renderFillSegs(a.bgEventSegs,"bg-event"),r.renderFillSegs(a.dateSelectionSegs,"highlight")),At("div",{className:"fc-timegrid-col-events"},r.renderFgSegs(g,f,!1,!1,!1)),At("div",{className:"fc-timegrid-col-events"},r.renderFgSegs(l,{},Boolean(a.eventDrag),Boolean(a.eventResize),Boolean(i))),At("div",{className:"fc-timegrid-now-indicator-container"},r.renderNowIndicator(a.nowIndicatorSegs)),At(o3e,{date:a.date,dateProfile:a.dateProfile,todayRange:a.todayRange,extraHookProps:a.extraHookProps})))})},t.prototype.renderFgSegs=function(r,n,a,o,i){var l=this.props;return l.forPrint?HO(r,l):this.renderPositionedFgSegs(r,n,a,o,i)},t.prototype.renderPositionedFgSegs=function(r,n,a,o,i){var l=this,f=this.context.options,g=f.eventMaxStack,m=f.eventShortHeight,p=f.eventOrderStrict,v=f.eventMinHeight,A=this.props,w=A.date,k=A.slatCoords,_=A.eventSelection,I=A.todayRange,M=A.nowDate,z=a||o||i,E=FO(r,w,k,v),H=i3e(r,E,p,g),$=H.segPlacements,q=H.hiddenGroups;return At(ac,null,this.renderHiddenGroups(q,r),$.map(function(F){var X=F.seg,ee=F.rect,fe=X.eventRange.instance.instanceId,be=z||Boolean(!n[fe]&&ee),Se=FS(ee&&ee.span),Oe=!z&&ee?l.computeSegHStyle(ee):{left:0,right:0},je=Boolean(ee)&&ee.stackForward>0,ut=Boolean(ee)&&ee.span.end-ee.span.start<m;return At("div",{className:"fc-timegrid-event-harness"+(je?" fc-timegrid-event-harness-inset":""),key:fe,style:jt(jt({visibility:be?"":"hidden"},Se),Oe)},At(BO,jt({seg:X,isDragging:a,isResizing:o,isDateSelecting:i,isSelected:fe===_,isShort:ut},Yd(X,I,M))))}))},t.prototype.renderHiddenGroups=function(r,n){var a=this.props,o=a.extraDateSpan,i=a.dateProfile,l=a.todayRange,f=a.nowDate,g=a.eventSelection,m=a.eventDrag,p=a.eventResize;return At(ac,null,r.map(function(v){var A=FS(v.span),w=l3e(v.entries,n);return At(Xge,{key:QR(xO(w)),hiddenSegs:w,top:A.top,bottom:A.bottom,extraDateSpan:o,dateProfile:i,todayRange:l,nowDate:f,eventSelection:g,eventDrag:m,eventResize:p})}))},t.prototype.renderFillSegs=function(r,n){var a=this,o=a.props,i=a.context,l=FO(r,o.date,o.slatCoords,i.options.eventMinHeight),f=l.map(function(g,m){var p=r[m];return At("div",{key:pz(p.eventRange),className:"fc-timegrid-bg-harness",style:FS(g)},n==="bg-event"?At(gO,jt({seg:p},Yd(p,o.todayRange,o.nowDate))):mO(n))});return At(ac,null,f)},t.prototype.renderNowIndicator=function(r){var n=this.props,a=n.slatCoords,o=n.date;return a?r.map(function(i,l){return At(DS,{isAxis:!1,date:o,key:l},function(f,g,m,p){return At("div",{ref:f,className:["fc-timegrid-now-indicator-line"].concat(g).join(" "),style:{top:a.computeDateTop(i.start,o)}},p)})}):null},t.prototype.computeSegHStyle=function(r){var n=this.context,a=n.isRtl,o=n.options,i=o.slotEventOverlap,l=r.levelCoord,f=r.levelCoord+r.thickness,g,m;i&&(f=Math.min(1,l+(f-l)*2)),a?(g=1-f,m=l):(g=l,m=1-f);var p={zIndex:r.stackDepth+1,left:g*100+"%",right:m*100+"%"};return i&&!r.stackForward&&(p[a?"marginLeft":"marginRight"]=10*2),p},t}(Ha);function HO(e,t){var r=t.todayRange,n=t.nowDate,a=t.eventSelection,o=t.eventDrag,i=t.eventResize,l=(o?o.affectedInstances:null)||(i?i.affectedInstances:null)||{};return At(ac,null,e.map(function(f){var g=f.eventRange.instance.instanceId;return At("div",{key:g,style:{visibility:l[g]?"hidden":""}},At(BO,jt({seg:f,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:g===a,isShort:!1},Yd(f,r,n))))}))}function FS(e){return e?{top:e.start,bottom:-e.end}:{top:"",bottom:""}}function l3e(e,t){return e.map(function(r){return t[r.index]})}var c3e=function(e){Hn(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.splitFgEventSegs=vi(v4),r.splitBgEventSegs=vi(v4),r.splitBusinessHourSegs=vi(v4),r.splitNowIndicatorSegs=vi(v4),r.splitDateSelectionSegs=vi(v4),r.splitEventDrag=vi(OO),r.splitEventResize=vi(OO),r.rootElRef=ic(),r.cellElRefs=new Xd,r}return t.prototype.render=function(){var r=this,n=this,a=n.props,o=n.context,i=o.options.nowIndicator&&a.slatCoords&&a.slatCoords.safeComputeTop(a.nowDate),l=a.cells.length,f=this.splitFgEventSegs(a.fgEventSegs,l),g=this.splitBgEventSegs(a.bgEventSegs,l),m=this.splitBusinessHourSegs(a.businessHourSegs,l),p=this.splitNowIndicatorSegs(a.nowIndicatorSegs,l),v=this.splitDateSelectionSegs(a.dateSelectionSegs,l),A=this.splitEventDrag(a.eventDrag,l),w=this.splitEventResize(a.eventResize,l);return At("div",{className:"fc-timegrid-cols",ref:this.rootElRef},At("table",{role:"presentation",style:{minWidth:a.tableMinWidth,width:a.clientWidth}},a.tableColGroupNode,At("tbody",{role:"presentation"},At("tr",{role:"row"},a.axis&&At("td",{"aria-hidden":!0,className:"fc-timegrid-col fc-timegrid-axis"},At("div",{className:"fc-timegrid-col-frame"},At("div",{className:"fc-timegrid-now-indicator-container"},typeof i=="number"&&At(DS,{isAxis:!0,date:a.nowDate},function(k,_,I,M){return At("div",{ref:k,className:["fc-timegrid-now-indicator-arrow"].concat(_).join(" "),style:{top:i}},M)})))),a.cells.map(function(k,_){return At(s3e,{key:k.key,elRef:r.cellElRefs.createRef(k.key),dateProfile:a.dateProfile,date:k.date,nowDate:a.nowDate,todayRange:a.todayRange,extraHookProps:k.extraHookProps,extraDataAttrs:k.extraDataAttrs,extraClassNames:k.extraClassNames,extraDateSpan:k.extraDateSpan,fgEventSegs:f[_],bgEventSegs:g[_],businessHourSegs:m[_],nowIndicatorSegs:p[_],dateSelectionSegs:v[_],eventDrag:A[_],eventResize:w[_],slatCoords:a.slatCoords,eventSelection:a.eventSelection,forPrint:a.forPrint})})))))},t.prototype.componentDidMount=function(){this.updateCoords()},t.prototype.componentDidUpdate=function(){this.updateCoords()},t.prototype.updateCoords=function(){var r=this.props;r.onColCoords&&r.clientWidth!==null&&r.onColCoords(new d4(this.rootElRef.current,u3e(this.cellElRefs.currentMap,r.cells),!0,!1))},t}(Ha);function u3e(e,t){return t.map(function(r){return e[r.key]})}var f3e=function(e){Hn(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.processSlotOptions=vi(h3e),r.state={slatCoords:null},r.handleRootEl=function(n){n?r.context.registerInteractiveComponent(r,{el:n,isHitComboAllowed:r.props.isHitComboAllowed}):r.context.unregisterInteractiveComponent(r)},r.handleScrollRequest=function(n){var a=r.props.onScrollTopRequest,o=r.state.slatCoords;if(a&&o){if(n.time){var i=o.computeTimeTop(n.time);i=Math.ceil(i),i&&(i+=1),a(i)}return!0}return!1},r.handleColCoords=function(n){r.colCoords=n},r.handleSlatCoords=function(n){r.setState({slatCoords:n}),r.props.onSlatCoords&&r.props.onSlatCoords(n)},r}return t.prototype.render=function(){var r=this,n=r.props,a=r.state;return At("div",{className:"fc-timegrid-body",ref:this.handleRootEl,style:{width:n.clientWidth,minWidth:n.tableMinWidth}},At(Yge,{axis:n.axis,dateProfile:n.dateProfile,slatMetas:n.slatMetas,clientWidth:n.clientWidth,minHeight:n.expandRows?n.clientHeight:"",tableMinWidth:n.tableMinWidth,tableColGroupNode:n.axis?n.tableColGroupNode:null,onCoords:this.handleSlatCoords}),At(c3e,{cells:n.cells,axis:n.axis,dateProfile:n.dateProfile,businessHourSegs:n.businessHourSegs,bgEventSegs:n.bgEventSegs,fgEventSegs:n.fgEventSegs,dateSelectionSegs:n.dateSelectionSegs,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,todayRange:n.todayRange,nowDate:n.nowDate,nowIndicatorSegs:n.nowIndicatorSegs,clientWidth:n.clientWidth,tableMinWidth:n.tableMinWidth,tableColGroupNode:n.tableColGroupNode,slatCoords:a.slatCoords,onColCoords:this.handleColCoords,forPrint:n.forPrint}))},t.prototype.componentDidMount=function(){this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)},t.prototype.componentDidUpdate=function(r){this.scrollResponder.update(r.dateProfile!==this.props.dateProfile)},t.prototype.componentWillUnmount=function(){this.scrollResponder.detach()},t.prototype.queryHit=function(r,n){var a=this.context,o=a.dateEnv,i=a.options,l=this.colCoords,f=this.props.dateProfile,g=this.state.slatCoords,m=this.processSlotOptions(this.props.slotDuration,i.snapDuration),p=m.snapDuration,v=m.snapsPerSlot,A=l.leftToIndex(r),w=g.positions.topToIndex(n);if(A!=null&&w!=null){var k=this.props.cells[A],_=g.positions.tops[w],I=g.positions.getHeight(w),M=(n-_)/I,z=Math.floor(M*v),E=w*v+z,H=this.props.cells[A].date,$=V_(f.slotMinTime,epe(p,E)),q=o.add(H,$),F=o.add(q,p);return{dateProfile:f,dateSpan:jt({range:{start:q,end:F},allDay:!1},k.extraDateSpan),dayEl:l.els[A],rect:{left:l.lefts[A],right:l.rights[A],top:_,bottom:_+I},layer:0}}return null},t}(Xh);function h3e(e,t){var r=t||e,n=U_(e,r);return n===null&&(r=e,n=1),{snapDuration:r,snapsPerSlot:n}}var d3e=function(e){Hn(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.sliceRange=function(r,n){for(var a=[],o=0;o<n.length;o+=1){var i=U0(r,n[o]);i&&a.push({start:i.start,end:i.end,isStart:i.start.valueOf()===r.start.valueOf(),isEnd:i.end.valueOf()===r.end.valueOf(),col:o})}return a},t}(oO),p3e=function(e){Hn(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.buildDayRanges=vi(m3e),r.slicer=new d3e,r.timeColsRef=ic(),r}return t.prototype.render=function(){var r=this,n=this,a=n.props,o=n.context,i=a.dateProfile,l=a.dayTableModel,f=o.options.nowIndicator,g=this.buildDayRanges(l,i,o.dateEnv);return At(m4,{unit:f?"minute":"day"},function(m,p){return At(f3e,jt({ref:r.timeColsRef},r.slicer.sliceProps(a,i,null,o,g),{forPrint:a.forPrint,axis:a.axis,dateProfile:i,slatMetas:a.slatMetas,slotDuration:a.slotDuration,cells:l.cells[0],tableColGroupNode:a.tableColGroupNode,tableMinWidth:a.tableMinWidth,clientWidth:a.clientWidth,clientHeight:a.clientHeight,expandRows:a.expandRows,nowDate:m,nowIndicatorSegs:f&&r.slicer.sliceNowDate(m,o,g),todayRange:p,onScrollTopRequest:a.onScrollTopRequest,onSlatCoords:a.onSlatCoords}))})},t}(Xh);function m3e(e,t,r){for(var n=[],a=0,o=e.headerDates;a<o.length;a++){var i=o[a];n.push({start:r.add(i,t.slotMinTime),end:r.add(i,t.slotMaxTime)})}return n}var VO=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}];function g3e(e,t,r,n,a){for(var o=new Date(0),i=e,l=Pa(0),f=r||v3e(n),g=[];ch(i)<ch(t);){var m=a.add(o,i),p=U_(l,f)!==null;g.push({date:m,time:i,key:m.toISOString(),isoTimeStr:npe(m),isLabeled:p}),i=V_(i,n),l=V_(l,n)}return g}function v3e(e){var t,r,n;for(t=VO.length-1;t>=0;t-=1)if(r=Pa(VO[t]),n=U_(r,e),n!==null&&n>1)return r;return e}var y3e=function(e){Hn(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.buildTimeColsModel=vi(b3e),r.buildSlatMetas=vi(g3e),r}return t.prototype.render=function(){var r=this,n=this.context,a=n.options,o=n.dateEnv,i=n.dateProfileGenerator,l=this.props,f=l.dateProfile,g=this.buildTimeColsModel(f,i),m=this.allDaySplitter.splitProps(l),p=this.buildSlatMetas(f.slotMinTime,f.slotMaxTime,a.slotLabelInterval,a.slotDuration,o),v=a.dayMinWidth,A=!v,w=v,k=a.dayHeaders&&At(nO,{dates:g.headerDates,dateProfile:f,datesRepDistinctDays:!0,renderIntro:A?this.renderHeadAxis:null}),_=a.allDaySlot!==!1&&function(M){return At(kO,jt({},m.allDay,{dateProfile:f,dayTableModel:g,nextDayThreshold:a.nextDayThreshold,tableMinWidth:M.tableMinWidth,colGroupNode:M.tableColGroupNode,renderRowIntro:A?r.renderTableRowAxis:null,showWeekNumbers:!1,expandRows:!1,headerAlignElRef:r.headerElRef,clientWidth:M.clientWidth,clientHeight:M.clientHeight,forPrint:l.forPrint},r.getAllDayMaxEventProps()))},I=function(M){return At(p3e,jt({},m.timed,{dayTableModel:g,dateProfile:f,axis:A,slotDuration:a.slotDuration,slatMetas:p,forPrint:l.forPrint,tableColGroupNode:M.tableColGroupNode,tableMinWidth:M.tableMinWidth,clientWidth:M.clientWidth,clientHeight:M.clientHeight,onSlatCoords:r.handleSlatCoords,expandRows:M.expandRows,onScrollTopRequest:r.handleScrollTopRequest}))};return w?this.renderHScrollLayout(k,_,I,g.colCnt,v,p,this.state.slatCoords):this.renderSimpleLayout(k,_,I)},t}(jge);function b3e(e,t){var r=new iO(e.renderRange,t);return new aO(r,!1)}var x3e={allDaySlot:Boolean},r4e=Zh({initialView:"timeGridWeek",optionRefiners:x3e,views:{timeGrid:{component:y3e,usesMinMaxTime:!0,allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0},timeGridDay:{type:"timeGrid",duration:{days:1}},timeGridWeek:{type:"timeGrid",duration:{weeks:1}}}});export{mV as $,tC as A,V3e as B,$B as C,qB as D,Em as E,Hs as F,f0 as G,Vc as H,FB as I,AB as J,dV as K,jB as L,aA as M,ym as N,NB as O,KS as P,hE as Q,dE as R,cb as S,$3e as T,k3 as U,G3e as V,BB as W,Lh as X,D$ as Y,Jl as Z,X3e as _,qve as a,Z3e as a$,WB as a0,TC as a1,KF as a2,JF as a3,J3e as a4,dve as a5,mve as a6,pve as a7,hH as a8,ive as a9,Eve as aA,Cve as aB,Ave as aC,kve as aD,Tve as aE,Ab as aF,RB as aG,rV as aH,YB as aI,Gk as aJ,z5 as aK,Mve as aL,UB as aM,Dve as aN,WI as aO,tee as aP,Ive as aQ,Lve as aR,Pve as aS,Ice as aT,Ove as aU,Nve as aV,zce as aW,zve as aX,Mce as aY,Rve as aZ,K3e as a_,ave as aa,nve as ab,gve as ac,U3e as ad,vve as ae,NC as af,b5 as ag,q3e as ah,wm as ai,bve as aj,sG as ak,yve as al,xve as am,I5 as an,rY as ao,l0 as ap,JG as aq,_ve as ar,wve as as,vM as at,Y3e as au,YW as av,Sve as aw,la as ax,vm as ay,P3e as az,n9 as b,rA as b$,sve as b0,rc as b1,eve as b2,rT as b3,ay as b4,uve as b5,O$ as b6,cve as b7,z$ as b8,lve as b9,Qve as bA,r4e as bB,t4e as bC,e4e as bD,Jve as bE,vV as bF,C3e as bG,Sa as bH,Y7 as bI,G7 as bJ,Bu as bK,jve as bL,Xw as bM,kL as bN,yj as bO,_3e as bP,R5 as bQ,yV as bR,VE as bS,GH as bT,uA as bU,bV,Db as bW,ZH as bX,Tb as bY,cV as bZ,Mb as b_,P$ as ba,E9 as bb,fve as bc,N$ as bd,tve as be,A9 as bf,hve as bg,F$ as bh,Fve as bi,Bve as bj,Q3e as bk,ove as bl,rve as bm,Hve as bn,Vve as bo,Uve as bp,hB as bq,KH as br,gI as bs,Ffe as bt,Kve as bu,Zve as bv,Yve as bw,Xve as bx,Gve as by,Y6 as bz,z3e as c,hF as c$,W7 as c0,Lu as c1,pB as c2,d0 as c3,oB as c4,Pp as c5,U1 as c6,Ih as c7,zp as c8,DH as c9,MC as cA,u0 as cB,IE as cC,TH as cD,HB as cE,xH as cF,CH as cG,bH as cH,j7 as cI,PE as cJ,wE as cK,kE as cL,dH as cM,SH as cN,yH as cO,AH as cP,QF as cQ,S7 as cR,S3 as cS,YF as cT,mF as cU,C7 as cV,fF as cW,R7 as cX,kh as cY,P7 as cZ,c0 as c_,iE as ca,_H as cb,nE as cc,gH as cd,vH as ce,mH as cf,_m as cg,ou as ch,g5 as ci,p0 as cj,EH as ck,LE as cl,QB as cm,Rp as cn,wH as co,FC as cp,UC as cq,VC as cr,HC as cs,BC as ct,y5 as cu,xb as cv,JB as cw,MH as cx,Cm as cy,ob as cz,k3e as d,N7 as d0,L7 as d1,EC as d2,UF as d3,gF as d4,_a as d5,F7 as d6,WF as d7,Bc as d8,Tp as d9,m9 as dA,_$ as dB,g9 as dC,ry as dD,v9 as dE,qk as dF,Ak as dG,n0 as da,$3 as db,R3e as dc,E3e as dd,S3e as de,I3e as df,D3e as dg,PV as dh,M3e as di,L3e as dj,W3 as dk,T3e as dl,A3e as dm,ZA as dn,XA as dp,YA as dq,WU as dr,JU as ds,Nk as dt,A$ as du,qp as dv,j3e as dw,i$ as dx,W3e as dy,x0 as dz,F3e as e,N3e as f,O3e as g,bj as h,B3e as i,xj as j,H3e as k,tk as l,Wve as m,T3 as n,Hc as o,C5 as p,sb as q,OB as r,AC as s,Oo as t,t9 as u,Sf as v,H7 as w,$ve as x,Md as y,lb as z};
|
|
1976
|
+
*/var Nge=function(e){Hn(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getKeyInfo=function(){return{allDay:{},timed:{}}},t.prototype.getKeysForDateSpan=function(r){return r.allDay?["allDay"]:["timed"]},t.prototype.getKeysForEventDef=function(r){return r.allDay?Ppe(r)?["timed","allDay"]:["allDay"]:["timed"]},t}(b2e),Fge=Cs({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"});function zO(e){var t=["fc-timegrid-slot","fc-timegrid-slot-label",e.isLabeled?"fc-scrollgrid-shrink":"fc-timegrid-slot-minor"];return At(Gd.Consumer,null,function(r){if(!e.isLabeled)return At("td",{className:t.join(" "),"data-time":e.isoTimeStr});var n=r.dateEnv,a=r.options,o=r.viewApi,i=a.slotLabelFormat==null?Fge:Array.isArray(a.slotLabelFormat)?Cs(a.slotLabelFormat[0]):Cs(a.slotLabelFormat),l={level:0,time:e.time,date:n.toDate(e.date),view:o,text:n.format(e.date,i)};return At(nf,{hookProps:l,classNames:a.slotLabelClassNames,content:a.slotLabelContent,defaultContent:Bge,didMount:a.slotLabelDidMount,willUnmount:a.slotLabelWillUnmount},function(f,g,m,p){return At("td",{ref:f,className:t.concat(g).join(" "),"data-time":e.isoTimeStr},At("div",{className:"fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame"},At("div",{className:"fc-timegrid-slot-label-cushion fc-scrollgrid-shrink-cushion",ref:m},p)))})})}function Bge(e){return e.text}var Hge=function(e){Hn(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(){return this.props.slatMetas.map(function(r){return At("tr",{key:r.key},At(zO,jt({},r)))})},t}(Ha),Vge=Cs({week:"short"}),Uge=5,jge=function(e){Hn(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.allDaySplitter=new Nge,r.headerElRef=ic(),r.rootElRef=ic(),r.scrollerElRef=ic(),r.state={slatCoords:null},r.handleScrollTopRequest=function(n){var a=r.scrollerElRef.current;a&&(a.scrollTop=n)},r.renderHeadAxis=function(n,a){a===void 0&&(a="");var o=r.context.options,i=r.props.dateProfile,l=i.renderRange,f=b2(l.start,l.end),g=f===1?$g(r.context,l.start,"week"):{};return o.weekNumbers&&n==="day"?At(vO,{date:l.start,defaultFormat:Vge},function(m,p,v,A){return At("th",{ref:m,"aria-hidden":!0,className:["fc-timegrid-axis","fc-scrollgrid-shrink"].concat(p).join(" ")},At("div",{className:"fc-timegrid-axis-frame fc-scrollgrid-shrink-frame fc-timegrid-axis-frame-liquid",style:{height:a}},At("a",jt({ref:v,className:"fc-timegrid-axis-cushion fc-scrollgrid-shrink-cushion fc-scrollgrid-sync-inner"},g),A)))}):At("th",{"aria-hidden":!0,className:"fc-timegrid-axis"},At("div",{className:"fc-timegrid-axis-frame",style:{height:a}}))},r.renderTableRowAxis=function(n){var a=r.context,o=a.options,i=a.viewApi,l={text:o.allDayText,view:i};return At(nf,{hookProps:l,classNames:o.allDayClassNames,content:o.allDayContent,defaultContent:Wge,didMount:o.allDayDidMount,willUnmount:o.allDayWillUnmount},function(f,g,m,p){return At("td",{ref:f,"aria-hidden":!0,className:["fc-timegrid-axis","fc-scrollgrid-shrink"].concat(g).join(" ")},At("div",{className:"fc-timegrid-axis-frame fc-scrollgrid-shrink-frame"+(n==null?" fc-timegrid-axis-frame-liquid":""),style:{height:n}},At("span",{className:"fc-timegrid-axis-cushion fc-scrollgrid-shrink-cushion fc-scrollgrid-sync-inner",ref:m},p)))})},r.handleSlatCoords=function(n){r.setState({slatCoords:n})},r}return t.prototype.renderSimpleLayout=function(r,n,a){var o=this,i=o.context,l=o.props,f=[],g=I8(i.options);return r&&f.push({type:"header",key:"header",isSticky:g,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:r}}),n&&(f.push({type:"body",key:"all-day",chunk:{content:n}}),f.push({type:"body",key:"all-day-divider",outerContent:At("tr",{role:"presentation",className:"fc-scrollgrid-section"},At("td",{className:"fc-timegrid-divider "+i.theme.getClass("tableCellShaded")}))})),f.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(i.options.expandRows),chunk:{scrollerElRef:this.scrollerElRef,content:a}}),At(qg,{viewSpec:i.viewSpec,elRef:this.rootElRef},function(m,p){return At("div",{className:["fc-timegrid"].concat(p).join(" "),ref:m},At(MS,{liquid:!l.isHeightAuto&&!l.forPrint,collapsibleWidth:l.forPrint,cols:[{width:"shrink"}],sections:f}))})},t.prototype.renderHScrollLayout=function(r,n,a,o,i,l,f){var g=this,m=this.context.pluginHooks.scrollGridImpl;if(!m)throw new Error("No ScrollGrid implementation");var p=this,v=p.context,A=p.props,w=!A.forPrint&&I8(v.options),k=!A.forPrint&&hO(v.options),_=[];r&&_.push({type:"header",key:"header",isSticky:w,syncRowHeights:!0,chunks:[{key:"axis",rowContent:function(M){return At("tr",{role:"presentation"},g.renderHeadAxis("day",M.rowSyncHeights[0]))}},{key:"cols",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:r}]}),n&&(_.push({type:"body",key:"all-day",syncRowHeights:!0,chunks:[{key:"axis",rowContent:function(M){return At("tr",{role:"presentation"},g.renderTableRowAxis(M.rowSyncHeights[0]))}},{key:"cols",content:n}]}),_.push({key:"all-day-divider",type:"body",outerContent:At("tr",{role:"presentation",className:"fc-scrollgrid-section"},At("td",{colSpan:2,className:"fc-timegrid-divider "+v.theme.getClass("tableCellShaded")}))}));var I=v.options.nowIndicator;return _.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(v.options.expandRows),chunks:[{key:"axis",content:function(M){return At("div",{className:"fc-timegrid-axis-chunk"},At("table",{"aria-hidden":!0,style:{height:M.expandRows?M.clientHeight:""}},M.tableColGroupNode,At("tbody",null,At(Hge,{slatMetas:l}))),At("div",{className:"fc-timegrid-now-indicator-container"},At(m4,{unit:I?"minute":"day"},function(z){var E=I&&f&&f.safeComputeTop(z);return typeof E=="number"?At(DS,{isAxis:!0,date:z},function(H,$,q,F){return At("div",{ref:H,className:["fc-timegrid-now-indicator-arrow"].concat($).join(" "),style:{top:E}},F)}):null})))}},{key:"cols",scrollerElRef:this.scrollerElRef,content:a}]}),k&&_.push({key:"footer",type:"footer",isSticky:!0,chunks:[{key:"axis",content:TS},{key:"cols",content:TS}]}),At(qg,{viewSpec:v.viewSpec,elRef:this.rootElRef},function(M,z){return At("div",{className:["fc-timegrid"].concat(z).join(" "),ref:M},At(m,{liquid:!A.isHeightAuto&&!A.forPrint,collapsibleWidth:!1,colGroups:[{width:"shrink",cols:[{width:"shrink"}]},{cols:[{span:o,minWidth:i}]}],sections:_}))})},t.prototype.getAllDayMaxEventProps=function(){var r=this.context.options,n=r.dayMaxEvents,a=r.dayMaxEventRows;return(n===!0||a===!0)&&(n=void 0,a=Uge),{dayMaxEvents:n,dayMaxEventRows:a}},t}(Xh);function Wge(e){return e.text}var $ge=function(){function e(t,r,n){this.positions=t,this.dateProfile=r,this.slotDuration=n}return e.prototype.safeComputeTop=function(t){var r=this.dateProfile;if(_2(r.currentRange,t)){var n=Bo(t),a=t.valueOf()-n.valueOf();if(a>=ch(r.slotMinTime)&&a<ch(r.slotMaxTime))return this.computeTimeTop(Pa(a))}return null},e.prototype.computeDateTop=function(t,r){return r||(r=Bo(t)),this.computeTimeTop(Pa(t.valueOf()-r.valueOf()))},e.prototype.computeTimeTop=function(t){var r=this,n=r.positions,a=r.dateProfile,o=n.els.length,i=(t.milliseconds-ch(a.slotMinTime))/ch(this.slotDuration),l,f;return i=Math.max(0,i),i=Math.min(o,i),l=Math.floor(i),l=Math.min(l,o-1),f=i-l,n.tops[l]+n.getHeight(l)*f},e}(),qge=function(e){Hn(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(){var r=this,n=r.props,a=r.context,o=a.options,i=n.slatElRefs;return At("tbody",null,n.slatMetas.map(function(l,f){var g={time:l.time,date:a.dateEnv.toDate(l.date),view:a.viewApi},m=["fc-timegrid-slot","fc-timegrid-slot-lane",l.isLabeled?"":"fc-timegrid-slot-minor"];return At("tr",{key:l.key,ref:i.createRef(l.key)},n.axis&&At(zO,jt({},l)),At(nf,{hookProps:g,classNames:o.slotLaneClassNames,content:o.slotLaneContent,didMount:o.slotLaneDidMount,willUnmount:o.slotLaneWillUnmount},function(p,v,A,w){return At("td",{ref:p,className:m.concat(v).join(" "),"data-time":l.isoTimeStr},w)}))}))},t}(Ha),Yge=function(e){Hn(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.rootElRef=ic(),r.slatElRefs=new Xd,r}return t.prototype.render=function(){var r=this,n=r.props,a=r.context;return At("div",{ref:this.rootElRef,className:"fc-timegrid-slots"},At("table",{"aria-hidden":!0,className:a.theme.getClass("table"),style:{minWidth:n.tableMinWidth,width:n.clientWidth,height:n.minHeight}},n.tableColGroupNode,At(qge,{slatElRefs:this.slatElRefs,axis:n.axis,slatMetas:n.slatMetas})))},t.prototype.componentDidMount=function(){this.updateSizing()},t.prototype.componentDidUpdate=function(){this.updateSizing()},t.prototype.componentWillUnmount=function(){this.props.onCoords&&this.props.onCoords(null)},t.prototype.updateSizing=function(){var r=this,n=r.context,a=r.props;if(a.onCoords&&a.clientWidth!==null){var o=this.rootElRef.current;o.offsetHeight&&a.onCoords(new $ge(new d4(this.rootElRef.current,Gge(this.slatElRefs.currentMap,a.slatMetas),!1,!0),this.props.dateProfile,n.options.slotDuration))}},t}(Ha);function Gge(e,t){return t.map(function(r){return e[r.key]})}function v4(e,t){var r=[],n;for(n=0;n<t;n+=1)r.push([]);if(e)for(n=0;n<e.length;n+=1)r[e[n].col].push(e[n]);return r}function OO(e,t){var r=[];if(e){for(var n=0;n<t;n+=1)r[n]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(var a=0,o=e.segs;a<o.length;a++){var i=o[a];r[i.col].segs.push(i)}}else for(var n=0;n<t;n+=1)r[n]=null;return r}var Xge=function(e){Hn(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.rootElRef=ic(),r}return t.prototype.render=function(){var r=this,n=this.props;return At(yO,{allDayDate:null,moreCnt:n.hiddenSegs.length,allSegs:n.hiddenSegs,hiddenSegs:n.hiddenSegs,alignmentElRef:this.rootElRef,defaultContent:Zge,extraDateSpan:n.extraDateSpan,dateProfile:n.dateProfile,todayRange:n.todayRange,popoverContent:function(){return HO(n.hiddenSegs,n)}},function(a,o,i,l,f,g,m,p){return At("a",{ref:function(v){uh(a,v),uh(r.rootElRef,v)},className:["fc-timegrid-more-link"].concat(o).join(" "),style:{top:n.top,bottom:n.bottom},onClick:f,title:g,"aria-expanded":m,"aria-controls":p},At("div",{ref:i,className:"fc-timegrid-more-link-inner fc-sticky"},l))})},t}(Ha);function Zge(e){return e.shortText}function Kge(e,t,r){var n=new Kz;t!=null&&(n.strictOrder=t),r!=null&&(n.maxStackCnt=r);var a=n.addSegs(e),o=Z0e(a),i=Jge(n);i=r3e(i,1);var l=n3e(i);return{segRects:l,hiddenGroups:o}}function Jge(e){var t=e.entriesByLevel,r=NS(function(n,a){return n+":"+a},function(n,a){var o=t3e(e,n,a),i=NO(o,r),l=t[n][a];return[jt(jt({},l),{nextLevelNodes:i[0]}),l.thickness+i[1]]});return NO(t.length?{level:0,lateralStart:0,lateralEnd:t[0].length}:null,r)[0]}function NO(e,t){if(!e)return[[],0];for(var r=e.level,n=e.lateralStart,a=e.lateralEnd,o=n,i=[];o<a;)i.push(t(r,o)),o+=1;return i.sort(Qge),[i.map(e3e),i[0][1]]}function Qge(e,t){return t[1]-e[1]}function e3e(e){return e[0]}function t3e(e,t,r){for(var n=e.levelCoords,a=e.entriesByLevel,o=a[t][r],i=n[t]+o.thickness,l=n.length,f=t;f<l&&n[f]<i;f+=1);for(;f<l;f+=1){for(var g=a[f],m=void 0,p=_S(g,o.span.start,bS),v=p[0]+p[1],A=v;(m=g[A])&&m.span.start<o.span.end;)A+=1;if(v<A)return{level:f,lateralStart:v,lateralEnd:A}}return null}function r3e(e,t){var r=NS(function(n,a,o){return W0(n)},function(n,a,o){var i=n.nextLevelNodes,l=n.thickness,f=l+o,g=l/f,m,p=[];if(!i.length)m=t;else for(var v=0,A=i;v<A.length;v++){var w=A[v];if(m===void 0){var k=r(w,a,f);m=k[0],p.push(k[1])}else{var k=r(w,m,0);p.push(k[1])}}var _=(m-a)*g;return[m-_,jt(jt({},n),{thickness:_,nextLevelNodes:p})]});return e.map(function(n){return r(n,0,0)[1]})}function n3e(e){var t=[],r=NS(function(a,o,i){return W0(a)},function(a,o,i){var l=jt(jt({},a),{levelCoord:o,stackDepth:i,stackForward:0});return t.push(l),l.stackForward=n(a.nextLevelNodes,o+a.thickness,i+1)+1});function n(a,o,i){for(var l=0,f=0,g=a;f<g.length;f++){var m=g[f];l=Math.max(r(m,o,i),l)}return l}return n(e,0,0),t}function NS(e,t){var r={};return function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var o=e.apply(void 0,n);return o in r?r[o]:r[o]=t.apply(void 0,n)}}function FO(e,t,r,n){r===void 0&&(r=null),n===void 0&&(n=0);var a=[];if(r)for(var o=0;o<e.length;o+=1){var i=e[o],l=r.computeDateTop(i.start,t),f=Math.max(l+(n||0),r.computeDateTop(i.end,t));a.push({start:Math.round(l),end:Math.round(f)})}return a}function i3e(e,t,r,n){for(var a=[],o=[],i=0;i<e.length;i+=1){var l=t[i];l?a.push({index:i,thickness:1,span:l}):o.push(e[i])}for(var f=Kge(a,r,n),g=f.segRects,m=f.hiddenGroups,p=[],v=0,A=g;v<A.length;v++){var w=A[v];p.push({seg:e[w.index],rect:w})}for(var k=0,_=o;k<_.length;k++){var I=_[k];p.push({seg:I,rect:null})}return{segPlacements:p,hiddenGroups:m}}var a3e=Cs({hour:"numeric",minute:"2-digit",meridiem:!1}),BO=function(e){Hn(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(){var r=["fc-timegrid-event","fc-v-event"];return this.props.isShort&&r.push("fc-timegrid-event-short"),At(dO,jt({},this.props,{defaultTimeFormat:a3e,extraClassNames:r}))},t}(Ha),o3e=function(e){Hn(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(){var r=this.props;return At(IS,{date:r.date,dateProfile:r.dateProfile,todayRange:r.todayRange,extraHookProps:r.extraHookProps},function(n,a){return a&&At("div",{className:"fc-timegrid-col-misc",ref:n},a)})},t}(Ha),s3e=function(e){Hn(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.sortEventSegs=vi(nS),r}return t.prototype.render=function(){var r=this,n=this,a=n.props,o=n.context,i=o.options.selectMirror,l=a.eventDrag&&a.eventDrag.segs||a.eventResize&&a.eventResize.segs||i&&a.dateSelectionSegs||[],f=a.eventDrag&&a.eventDrag.affectedInstances||a.eventResize&&a.eventResize.affectedInstances||{},g=this.sortEventSegs(a.fgEventSegs,o.options.eventOrder);return At(LS,{elRef:a.elRef,date:a.date,dateProfile:a.dateProfile,todayRange:a.todayRange,extraHookProps:a.extraHookProps},function(m,p,v){return At("td",jt({ref:m,role:"gridcell",className:["fc-timegrid-col"].concat(p,a.extraClassNames||[]).join(" ")},v,a.extraDataAttrs),At("div",{className:"fc-timegrid-col-frame"},At("div",{className:"fc-timegrid-col-bg"},r.renderFillSegs(a.businessHourSegs,"non-business"),r.renderFillSegs(a.bgEventSegs,"bg-event"),r.renderFillSegs(a.dateSelectionSegs,"highlight")),At("div",{className:"fc-timegrid-col-events"},r.renderFgSegs(g,f,!1,!1,!1)),At("div",{className:"fc-timegrid-col-events"},r.renderFgSegs(l,{},Boolean(a.eventDrag),Boolean(a.eventResize),Boolean(i))),At("div",{className:"fc-timegrid-now-indicator-container"},r.renderNowIndicator(a.nowIndicatorSegs)),At(o3e,{date:a.date,dateProfile:a.dateProfile,todayRange:a.todayRange,extraHookProps:a.extraHookProps})))})},t.prototype.renderFgSegs=function(r,n,a,o,i){var l=this.props;return l.forPrint?HO(r,l):this.renderPositionedFgSegs(r,n,a,o,i)},t.prototype.renderPositionedFgSegs=function(r,n,a,o,i){var l=this,f=this.context.options,g=f.eventMaxStack,m=f.eventShortHeight,p=f.eventOrderStrict,v=f.eventMinHeight,A=this.props,w=A.date,k=A.slatCoords,_=A.eventSelection,I=A.todayRange,M=A.nowDate,z=a||o||i,E=FO(r,w,k,v),H=i3e(r,E,p,g),$=H.segPlacements,q=H.hiddenGroups;return At(ac,null,this.renderHiddenGroups(q,r),$.map(function(F){var X=F.seg,ee=F.rect,fe=X.eventRange.instance.instanceId,be=z||Boolean(!n[fe]&&ee),Se=FS(ee&&ee.span),Oe=!z&&ee?l.computeSegHStyle(ee):{left:0,right:0},je=Boolean(ee)&&ee.stackForward>0,ut=Boolean(ee)&&ee.span.end-ee.span.start<m;return At("div",{className:"fc-timegrid-event-harness"+(je?" fc-timegrid-event-harness-inset":""),key:fe,style:jt(jt({visibility:be?"":"hidden"},Se),Oe)},At(BO,jt({seg:X,isDragging:a,isResizing:o,isDateSelecting:i,isSelected:fe===_,isShort:ut},Yd(X,I,M))))}))},t.prototype.renderHiddenGroups=function(r,n){var a=this.props,o=a.extraDateSpan,i=a.dateProfile,l=a.todayRange,f=a.nowDate,g=a.eventSelection,m=a.eventDrag,p=a.eventResize;return At(ac,null,r.map(function(v){var A=FS(v.span),w=l3e(v.entries,n);return At(Xge,{key:QR(xO(w)),hiddenSegs:w,top:A.top,bottom:A.bottom,extraDateSpan:o,dateProfile:i,todayRange:l,nowDate:f,eventSelection:g,eventDrag:m,eventResize:p})}))},t.prototype.renderFillSegs=function(r,n){var a=this,o=a.props,i=a.context,l=FO(r,o.date,o.slatCoords,i.options.eventMinHeight),f=l.map(function(g,m){var p=r[m];return At("div",{key:pz(p.eventRange),className:"fc-timegrid-bg-harness",style:FS(g)},n==="bg-event"?At(gO,jt({seg:p},Yd(p,o.todayRange,o.nowDate))):mO(n))});return At(ac,null,f)},t.prototype.renderNowIndicator=function(r){var n=this.props,a=n.slatCoords,o=n.date;return a?r.map(function(i,l){return At(DS,{isAxis:!1,date:o,key:l},function(f,g,m,p){return At("div",{ref:f,className:["fc-timegrid-now-indicator-line"].concat(g).join(" "),style:{top:a.computeDateTop(i.start,o)}},p)})}):null},t.prototype.computeSegHStyle=function(r){var n=this.context,a=n.isRtl,o=n.options,i=o.slotEventOverlap,l=r.levelCoord,f=r.levelCoord+r.thickness,g,m;i&&(f=Math.min(1,l+(f-l)*2)),a?(g=1-f,m=l):(g=l,m=1-f);var p={zIndex:r.stackDepth+1,left:g*100+"%",right:m*100+"%"};return i&&!r.stackForward&&(p[a?"marginLeft":"marginRight"]=10*2),p},t}(Ha);function HO(e,t){var r=t.todayRange,n=t.nowDate,a=t.eventSelection,o=t.eventDrag,i=t.eventResize,l=(o?o.affectedInstances:null)||(i?i.affectedInstances:null)||{};return At(ac,null,e.map(function(f){var g=f.eventRange.instance.instanceId;return At("div",{key:g,style:{visibility:l[g]?"hidden":""}},At(BO,jt({seg:f,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:g===a,isShort:!1},Yd(f,r,n))))}))}function FS(e){return e?{top:e.start,bottom:-e.end}:{top:"",bottom:""}}function l3e(e,t){return e.map(function(r){return t[r.index]})}var c3e=function(e){Hn(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.splitFgEventSegs=vi(v4),r.splitBgEventSegs=vi(v4),r.splitBusinessHourSegs=vi(v4),r.splitNowIndicatorSegs=vi(v4),r.splitDateSelectionSegs=vi(v4),r.splitEventDrag=vi(OO),r.splitEventResize=vi(OO),r.rootElRef=ic(),r.cellElRefs=new Xd,r}return t.prototype.render=function(){var r=this,n=this,a=n.props,o=n.context,i=o.options.nowIndicator&&a.slatCoords&&a.slatCoords.safeComputeTop(a.nowDate),l=a.cells.length,f=this.splitFgEventSegs(a.fgEventSegs,l),g=this.splitBgEventSegs(a.bgEventSegs,l),m=this.splitBusinessHourSegs(a.businessHourSegs,l),p=this.splitNowIndicatorSegs(a.nowIndicatorSegs,l),v=this.splitDateSelectionSegs(a.dateSelectionSegs,l),A=this.splitEventDrag(a.eventDrag,l),w=this.splitEventResize(a.eventResize,l);return At("div",{className:"fc-timegrid-cols",ref:this.rootElRef},At("table",{role:"presentation",style:{minWidth:a.tableMinWidth,width:a.clientWidth}},a.tableColGroupNode,At("tbody",{role:"presentation"},At("tr",{role:"row"},a.axis&&At("td",{"aria-hidden":!0,className:"fc-timegrid-col fc-timegrid-axis"},At("div",{className:"fc-timegrid-col-frame"},At("div",{className:"fc-timegrid-now-indicator-container"},typeof i=="number"&&At(DS,{isAxis:!0,date:a.nowDate},function(k,_,I,M){return At("div",{ref:k,className:["fc-timegrid-now-indicator-arrow"].concat(_).join(" "),style:{top:i}},M)})))),a.cells.map(function(k,_){return At(s3e,{key:k.key,elRef:r.cellElRefs.createRef(k.key),dateProfile:a.dateProfile,date:k.date,nowDate:a.nowDate,todayRange:a.todayRange,extraHookProps:k.extraHookProps,extraDataAttrs:k.extraDataAttrs,extraClassNames:k.extraClassNames,extraDateSpan:k.extraDateSpan,fgEventSegs:f[_],bgEventSegs:g[_],businessHourSegs:m[_],nowIndicatorSegs:p[_],dateSelectionSegs:v[_],eventDrag:A[_],eventResize:w[_],slatCoords:a.slatCoords,eventSelection:a.eventSelection,forPrint:a.forPrint})})))))},t.prototype.componentDidMount=function(){this.updateCoords()},t.prototype.componentDidUpdate=function(){this.updateCoords()},t.prototype.updateCoords=function(){var r=this.props;r.onColCoords&&r.clientWidth!==null&&r.onColCoords(new d4(this.rootElRef.current,u3e(this.cellElRefs.currentMap,r.cells),!0,!1))},t}(Ha);function u3e(e,t){return t.map(function(r){return e[r.key]})}var f3e=function(e){Hn(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.processSlotOptions=vi(h3e),r.state={slatCoords:null},r.handleRootEl=function(n){n?r.context.registerInteractiveComponent(r,{el:n,isHitComboAllowed:r.props.isHitComboAllowed}):r.context.unregisterInteractiveComponent(r)},r.handleScrollRequest=function(n){var a=r.props.onScrollTopRequest,o=r.state.slatCoords;if(a&&o){if(n.time){var i=o.computeTimeTop(n.time);i=Math.ceil(i),i&&(i+=1),a(i)}return!0}return!1},r.handleColCoords=function(n){r.colCoords=n},r.handleSlatCoords=function(n){r.setState({slatCoords:n}),r.props.onSlatCoords&&r.props.onSlatCoords(n)},r}return t.prototype.render=function(){var r=this,n=r.props,a=r.state;return At("div",{className:"fc-timegrid-body",ref:this.handleRootEl,style:{width:n.clientWidth,minWidth:n.tableMinWidth}},At(Yge,{axis:n.axis,dateProfile:n.dateProfile,slatMetas:n.slatMetas,clientWidth:n.clientWidth,minHeight:n.expandRows?n.clientHeight:"",tableMinWidth:n.tableMinWidth,tableColGroupNode:n.axis?n.tableColGroupNode:null,onCoords:this.handleSlatCoords}),At(c3e,{cells:n.cells,axis:n.axis,dateProfile:n.dateProfile,businessHourSegs:n.businessHourSegs,bgEventSegs:n.bgEventSegs,fgEventSegs:n.fgEventSegs,dateSelectionSegs:n.dateSelectionSegs,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,todayRange:n.todayRange,nowDate:n.nowDate,nowIndicatorSegs:n.nowIndicatorSegs,clientWidth:n.clientWidth,tableMinWidth:n.tableMinWidth,tableColGroupNode:n.tableColGroupNode,slatCoords:a.slatCoords,onColCoords:this.handleColCoords,forPrint:n.forPrint}))},t.prototype.componentDidMount=function(){this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)},t.prototype.componentDidUpdate=function(r){this.scrollResponder.update(r.dateProfile!==this.props.dateProfile)},t.prototype.componentWillUnmount=function(){this.scrollResponder.detach()},t.prototype.queryHit=function(r,n){var a=this.context,o=a.dateEnv,i=a.options,l=this.colCoords,f=this.props.dateProfile,g=this.state.slatCoords,m=this.processSlotOptions(this.props.slotDuration,i.snapDuration),p=m.snapDuration,v=m.snapsPerSlot,A=l.leftToIndex(r),w=g.positions.topToIndex(n);if(A!=null&&w!=null){var k=this.props.cells[A],_=g.positions.tops[w],I=g.positions.getHeight(w),M=(n-_)/I,z=Math.floor(M*v),E=w*v+z,H=this.props.cells[A].date,$=V_(f.slotMinTime,epe(p,E)),q=o.add(H,$),F=o.add(q,p);return{dateProfile:f,dateSpan:jt({range:{start:q,end:F},allDay:!1},k.extraDateSpan),dayEl:l.els[A],rect:{left:l.lefts[A],right:l.rights[A],top:_,bottom:_+I},layer:0}}return null},t}(Xh);function h3e(e,t){var r=t||e,n=U_(e,r);return n===null&&(r=e,n=1),{snapDuration:r,snapsPerSlot:n}}var d3e=function(e){Hn(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.sliceRange=function(r,n){for(var a=[],o=0;o<n.length;o+=1){var i=U0(r,n[o]);i&&a.push({start:i.start,end:i.end,isStart:i.start.valueOf()===r.start.valueOf(),isEnd:i.end.valueOf()===r.end.valueOf(),col:o})}return a},t}(oO),p3e=function(e){Hn(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.buildDayRanges=vi(m3e),r.slicer=new d3e,r.timeColsRef=ic(),r}return t.prototype.render=function(){var r=this,n=this,a=n.props,o=n.context,i=a.dateProfile,l=a.dayTableModel,f=o.options.nowIndicator,g=this.buildDayRanges(l,i,o.dateEnv);return At(m4,{unit:f?"minute":"day"},function(m,p){return At(f3e,jt({ref:r.timeColsRef},r.slicer.sliceProps(a,i,null,o,g),{forPrint:a.forPrint,axis:a.axis,dateProfile:i,slatMetas:a.slatMetas,slotDuration:a.slotDuration,cells:l.cells[0],tableColGroupNode:a.tableColGroupNode,tableMinWidth:a.tableMinWidth,clientWidth:a.clientWidth,clientHeight:a.clientHeight,expandRows:a.expandRows,nowDate:m,nowIndicatorSegs:f&&r.slicer.sliceNowDate(m,o,g),todayRange:p,onScrollTopRequest:a.onScrollTopRequest,onSlatCoords:a.onSlatCoords}))})},t}(Xh);function m3e(e,t,r){for(var n=[],a=0,o=e.headerDates;a<o.length;a++){var i=o[a];n.push({start:r.add(i,t.slotMinTime),end:r.add(i,t.slotMaxTime)})}return n}var VO=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}];function g3e(e,t,r,n,a){for(var o=new Date(0),i=e,l=Pa(0),f=r||v3e(n),g=[];ch(i)<ch(t);){var m=a.add(o,i),p=U_(l,f)!==null;g.push({date:m,time:i,key:m.toISOString(),isoTimeStr:npe(m),isLabeled:p}),i=V_(i,n),l=V_(l,n)}return g}function v3e(e){var t,r,n;for(t=VO.length-1;t>=0;t-=1)if(r=Pa(VO[t]),n=U_(r,e),n!==null&&n>1)return r;return e}var y3e=function(e){Hn(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.buildTimeColsModel=vi(b3e),r.buildSlatMetas=vi(g3e),r}return t.prototype.render=function(){var r=this,n=this.context,a=n.options,o=n.dateEnv,i=n.dateProfileGenerator,l=this.props,f=l.dateProfile,g=this.buildTimeColsModel(f,i),m=this.allDaySplitter.splitProps(l),p=this.buildSlatMetas(f.slotMinTime,f.slotMaxTime,a.slotLabelInterval,a.slotDuration,o),v=a.dayMinWidth,A=!v,w=v,k=a.dayHeaders&&At(nO,{dates:g.headerDates,dateProfile:f,datesRepDistinctDays:!0,renderIntro:A?this.renderHeadAxis:null}),_=a.allDaySlot!==!1&&function(M){return At(kO,jt({},m.allDay,{dateProfile:f,dayTableModel:g,nextDayThreshold:a.nextDayThreshold,tableMinWidth:M.tableMinWidth,colGroupNode:M.tableColGroupNode,renderRowIntro:A?r.renderTableRowAxis:null,showWeekNumbers:!1,expandRows:!1,headerAlignElRef:r.headerElRef,clientWidth:M.clientWidth,clientHeight:M.clientHeight,forPrint:l.forPrint},r.getAllDayMaxEventProps()))},I=function(M){return At(p3e,jt({},m.timed,{dayTableModel:g,dateProfile:f,axis:A,slotDuration:a.slotDuration,slatMetas:p,forPrint:l.forPrint,tableColGroupNode:M.tableColGroupNode,tableMinWidth:M.tableMinWidth,clientWidth:M.clientWidth,clientHeight:M.clientHeight,onSlatCoords:r.handleSlatCoords,expandRows:M.expandRows,onScrollTopRequest:r.handleScrollTopRequest}))};return w?this.renderHScrollLayout(k,_,I,g.colCnt,v,p,this.state.slatCoords):this.renderSimpleLayout(k,_,I)},t}(jge);function b3e(e,t){var r=new iO(e.renderRange,t);return new aO(r,!1)}var x3e={allDaySlot:Boolean},r4e=Zh({initialView:"timeGridWeek",optionRefiners:x3e,views:{timeGrid:{component:y3e,usesMinMaxTime:!0,allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0},timeGridDay:{type:"timeGrid",duration:{days:1}},timeGridWeek:{type:"timeGrid",duration:{weeks:1}}}});export{mV as $,tC as A,V3e as B,$B as C,qB as D,Em as E,Hs as F,f0 as G,Vc as H,FB as I,AB as J,dV as K,jB as L,aA as M,ym as N,NB as O,KS as P,hE as Q,dE as R,cb as S,$3e as T,k3 as U,G3e as V,BB as W,Lh as X,D$ as Y,Jl as Z,X3e as _,qve as a,Mce as a$,WB as a0,TC as a1,l0 as a2,wm as a3,KF as a4,JF as a5,J3e as a6,dve as a7,mve as a8,pve as a9,P3e as aA,Eve as aB,Cve as aC,Ave as aD,kve as aE,Tve as aF,Ab as aG,RB as aH,rV as aI,YB as aJ,Gk as aK,z5 as aL,FC as aM,Mve as aN,UB as aO,Dve as aP,WI as aQ,tee as aR,Ive as aS,xH as aT,Lve as aU,Pve as aV,Ice as aW,Ove as aX,Nve as aY,zce as aZ,zve as a_,hH as aa,ive as ab,ave as ac,nve as ad,gve as ae,U3e as af,KH as ag,vve as ah,NC as ai,b5 as aj,q3e as ak,bve as al,sG as am,yve as an,xve as ao,I5 as ap,rY as aq,JG as ar,_ve as as,wve as at,vM as au,Y3e as av,YW as aw,Sve as ax,la as ay,vm as az,n9 as b,Tb as b$,Rve as b0,bH as b1,K3e as b2,Z3e as b3,sve as b4,rc as b5,eve as b6,rT as b7,ay as b8,uve as b9,Xve as bA,Gve as bB,Y6 as bC,Qve as bD,r4e as bE,t4e as bF,e4e as bG,Jve as bH,vV as bI,C3e as bJ,Sa as bK,Y7 as bL,G7 as bM,Bu as bN,jve as bO,Xw as bP,kL as bQ,yj as bR,_3e as bS,R5 as bT,yV as bU,VE as bV,GH as bW,uA as bX,bV as bY,Db as bZ,ZH as b_,O$ as ba,cve as bb,z$ as bc,lve as bd,P$ as be,E9 as bf,fve as bg,N$ as bh,tve as bi,A9 as bj,hve as bk,F$ as bl,Fve as bm,Bve as bn,Q3e as bo,ove as bp,rve as bq,Hve as br,Vve as bs,Uve as bt,hB as bu,gI as bv,Ffe as bw,Kve as bx,Zve as by,Yve as bz,z3e as c,hF as c$,cV as c0,Mb as c1,rA as c2,W7 as c3,Lu as c4,pB as c5,d0 as c6,oB as c7,Pp as c8,U1 as c9,Cm as cA,ob as cB,MC as cC,u0 as cD,IE as cE,TH as cF,HB as cG,CH as cH,j7 as cI,PE as cJ,wE as cK,kE as cL,dH as cM,SH as cN,yH as cO,AH as cP,QF as cQ,S7 as cR,S3 as cS,YF as cT,mF as cU,C7 as cV,fF as cW,R7 as cX,kh as cY,P7 as cZ,c0 as c_,Ih as ca,zp as cb,DH as cc,iE as cd,_H as ce,nE as cf,gH as cg,vH as ch,mH as ci,_m as cj,ou as ck,g5 as cl,p0 as cm,EH as cn,LE as co,QB as cp,Rp as cq,wH as cr,UC as cs,VC as ct,HC as cu,BC as cv,y5 as cw,xb as cx,JB as cy,MH as cz,k3e as d,N7 as d0,L7 as d1,EC as d2,UF as d3,gF as d4,_a as d5,F7 as d6,WF as d7,Bc as d8,Tp as d9,m9 as dA,_$ as dB,g9 as dC,ry as dD,v9 as dE,qk as dF,Ak as dG,n0 as da,$3 as db,R3e as dc,E3e as dd,S3e as de,I3e as df,D3e as dg,PV as dh,M3e as di,L3e as dj,W3 as dk,T3e as dl,A3e as dm,ZA as dn,XA as dp,YA as dq,WU as dr,JU as ds,Nk as dt,A$ as du,qp as dv,j3e as dw,i$ as dx,W3e as dy,x0 as dz,F3e as e,N3e as f,O3e as g,bj as h,B3e as i,xj as j,H3e as k,tk as l,Wve as m,T3 as n,Hc as o,C5 as p,sb as q,OB as r,AC as s,Oo as t,t9 as u,Sf as v,H7 as w,$ve as x,Md as y,lb as z};
|