codex 1.6.14__py3-none-any.whl → 1.6.16__py3-none-any.whl

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.

Potentially problematic release.


This version of codex might be problematic. Click here for more details.

Files changed (549) hide show
  1. codex/librarian/cron/crond.py +13 -10
  2. codex/librarian/importer/importerd.py +24 -19
  3. codex/librarian/importer/moved.py +176 -73
  4. codex/librarian/importer/query_fks.py +17 -11
  5. codex/librarian/telemeter/telemeter.py +6 -3
  6. codex/librarian/watchdog/dir_snapshot_diff.py +19 -17
  7. codex/search/backend.py +9 -2
  8. codex/settings/settings.py +1 -0
  9. codex/static_root/assets/{VCheckbox-Bf5gdxZe.7edc318a8f33.js → VCheckbox-B_KxeHW4.83cc6be08a2f.js} +1 -1
  10. codex/static_root/assets/VCheckbox-B_KxeHW4.83cc6be08a2f.js.br +0 -0
  11. codex/static_root/assets/VCheckbox-B_KxeHW4.83cc6be08a2f.js.gz +0 -0
  12. codex/static_root/assets/{VCheckbox-Bf5gdxZe.js → VCheckbox-B_KxeHW4.js} +1 -1
  13. codex/static_root/assets/VCheckbox-B_KxeHW4.js.br +0 -0
  14. codex/static_root/assets/VCheckbox-B_KxeHW4.js.gz +0 -0
  15. codex/static_root/assets/{VCheckboxBtn-8Kva6jyD.9e8989b09eeb.js → VCheckboxBtn-D_7rfm4C.f732e47b6674.js} +1 -1
  16. codex/static_root/assets/VCheckboxBtn-D_7rfm4C.f732e47b6674.js.br +0 -0
  17. codex/static_root/assets/VCheckboxBtn-D_7rfm4C.f732e47b6674.js.gz +0 -0
  18. codex/static_root/assets/{VCheckboxBtn-8Kva6jyD.js → VCheckboxBtn-D_7rfm4C.js} +1 -1
  19. codex/static_root/assets/VCheckboxBtn-D_7rfm4C.js.br +0 -0
  20. codex/static_root/assets/VCheckboxBtn-D_7rfm4C.js.gz +0 -0
  21. codex/static_root/assets/{VCombobox-C_LpolHU.26ce6fff76c1.js → VCombobox-EtQ72JMr.dc75b79417ff.js} +1 -1
  22. codex/static_root/assets/VCombobox-EtQ72JMr.dc75b79417ff.js.br +0 -0
  23. codex/static_root/assets/VCombobox-EtQ72JMr.dc75b79417ff.js.gz +0 -0
  24. codex/static_root/assets/{VCombobox-C_LpolHU.js → VCombobox-EtQ72JMr.js} +1 -1
  25. codex/static_root/assets/VCombobox-EtQ72JMr.js.br +0 -0
  26. codex/static_root/assets/VCombobox-EtQ72JMr.js.gz +0 -0
  27. codex/static_root/assets/VCombobox-bwEYrXCg.9f25a34994e2.css +1 -0
  28. codex/static_root/assets/VCombobox-bwEYrXCg.9f25a34994e2.css.br +0 -0
  29. codex/static_root/assets/VCombobox-bwEYrXCg.9f25a34994e2.css.gz +0 -0
  30. codex/static_root/assets/VCombobox-bwEYrXCg.css +1 -0
  31. codex/static_root/assets/VCombobox-bwEYrXCg.css.br +0 -0
  32. codex/static_root/assets/VCombobox-bwEYrXCg.css.gz +0 -0
  33. codex/static_root/assets/VDialog-38np3TSA.5a0cb7a9e56d.css +1 -0
  34. codex/static_root/assets/VDialog-38np3TSA.5a0cb7a9e56d.css.br +0 -0
  35. codex/static_root/assets/VDialog-38np3TSA.5a0cb7a9e56d.css.gz +0 -0
  36. codex/static_root/assets/VDialog-38np3TSA.css +1 -0
  37. codex/static_root/assets/VDialog-38np3TSA.css.br +0 -0
  38. codex/static_root/assets/VDialog-38np3TSA.css.gz +0 -0
  39. codex/static_root/assets/{VDialog-CHWtsyYh.7c566f4cb130.js → VDialog-DLAqK7mg.48b2d71bbff3.js} +1 -1
  40. codex/static_root/assets/VDialog-DLAqK7mg.48b2d71bbff3.js.br +0 -0
  41. codex/static_root/assets/VDialog-DLAqK7mg.48b2d71bbff3.js.gz +0 -0
  42. codex/static_root/assets/{VDialog-CHWtsyYh.js → VDialog-DLAqK7mg.js} +1 -1
  43. codex/static_root/assets/VDialog-DLAqK7mg.js.br +0 -0
  44. codex/static_root/assets/VDialog-DLAqK7mg.js.gz +0 -0
  45. codex/static_root/assets/VExpansionPanels-6G1AUajL.5b17872981df.css +1 -0
  46. codex/static_root/assets/VExpansionPanels-6G1AUajL.5b17872981df.css.br +0 -0
  47. codex/static_root/assets/VExpansionPanels-6G1AUajL.5b17872981df.css.gz +0 -0
  48. codex/static_root/assets/VExpansionPanels-6G1AUajL.css +1 -0
  49. codex/static_root/assets/VExpansionPanels-6G1AUajL.css.br +0 -0
  50. codex/static_root/assets/VExpansionPanels-6G1AUajL.css.gz +0 -0
  51. codex/static_root/assets/{VExpansionPanels-BB_WowGg.464235562bbb.js → VExpansionPanels-CQ-32h2P.c9e5ed81edb6.js} +1 -1
  52. codex/static_root/assets/VExpansionPanels-CQ-32h2P.c9e5ed81edb6.js.br +0 -0
  53. codex/static_root/assets/VExpansionPanels-CQ-32h2P.c9e5ed81edb6.js.gz +0 -0
  54. codex/static_root/assets/{VExpansionPanels-BB_WowGg.js → VExpansionPanels-CQ-32h2P.js} +1 -1
  55. codex/static_root/assets/VExpansionPanels-CQ-32h2P.js.br +0 -0
  56. codex/static_root/assets/VExpansionPanels-CQ-32h2P.js.gz +0 -0
  57. codex/static_root/assets/{VRadioGroup-B9rQQnvl.752f43b11884.js → VRadioGroup-B-Q8axWs.76c929c318fc.js} +1 -1
  58. codex/static_root/assets/VRadioGroup-B-Q8axWs.76c929c318fc.js.br +0 -0
  59. codex/static_root/assets/VRadioGroup-B-Q8axWs.76c929c318fc.js.gz +0 -0
  60. codex/static_root/assets/{VRadioGroup-B9rQQnvl.js → VRadioGroup-B-Q8axWs.js} +1 -1
  61. codex/static_root/assets/VRadioGroup-B-Q8axWs.js.br +0 -0
  62. codex/static_root/assets/VRadioGroup-B-Q8axWs.js.gz +0 -0
  63. codex/static_root/assets/VSelect-B1_LeX22.892619637f5a.js +1 -0
  64. codex/static_root/assets/VSelect-B1_LeX22.892619637f5a.js.br +0 -0
  65. codex/static_root/assets/VSelect-B1_LeX22.892619637f5a.js.gz +0 -0
  66. codex/static_root/assets/VSelect-B1_LeX22.js +1 -0
  67. codex/static_root/assets/VSelect-B1_LeX22.js.br +0 -0
  68. codex/static_root/assets/VSelect-B1_LeX22.js.gz +0 -0
  69. codex/static_root/assets/VSelect-Ca2bIOso.6613989e4c45.css +1 -0
  70. codex/static_root/assets/VSelect-Ca2bIOso.6613989e4c45.css.br +0 -0
  71. codex/static_root/assets/VSelect-Ca2bIOso.6613989e4c45.css.gz +0 -0
  72. codex/static_root/assets/VSelect-Ca2bIOso.css +1 -0
  73. codex/static_root/assets/VSelect-Ca2bIOso.css.br +0 -0
  74. codex/static_root/assets/VSelect-Ca2bIOso.css.gz +0 -0
  75. codex/static_root/assets/{VSelectionControl-DKw4TKuO.ab4dea45204e.js → VSelectionControl-B7a_kuaA.72b1a6e1feb8.js} +1 -1
  76. codex/static_root/assets/VSelectionControl-B7a_kuaA.72b1a6e1feb8.js.br +0 -0
  77. codex/static_root/assets/VSelectionControl-B7a_kuaA.72b1a6e1feb8.js.gz +0 -0
  78. codex/static_root/assets/{VSelectionControl-DKw4TKuO.js → VSelectionControl-B7a_kuaA.js} +1 -1
  79. codex/static_root/assets/VSelectionControl-B7a_kuaA.js.br +0 -0
  80. codex/static_root/assets/VSelectionControl-B7a_kuaA.js.gz +0 -0
  81. codex/static_root/assets/{VSelectionControl-BFq--28I.9687c77461fc.css → VSelectionControl-CiViEYoC.c77bb19a4a06.css} +1 -1
  82. codex/static_root/assets/VSelectionControl-CiViEYoC.c77bb19a4a06.css.br +0 -0
  83. codex/static_root/assets/VSelectionControl-CiViEYoC.c77bb19a4a06.css.gz +0 -0
  84. codex/static_root/assets/{VSelectionControl-BFq--28I.css → VSelectionControl-CiViEYoC.css} +1 -1
  85. codex/static_root/assets/VSelectionControl-CiViEYoC.css.br +0 -0
  86. codex/static_root/assets/VSelectionControl-CiViEYoC.css.gz +0 -0
  87. codex/static_root/assets/{VSlideGroup-B5C2lA7c.70fffff2f577.js → VSlideGroup-BRl45QHs.c4b739d1f83b.js} +1 -1
  88. codex/static_root/assets/VSlideGroup-BRl45QHs.c4b739d1f83b.js.br +0 -0
  89. codex/static_root/assets/VSlideGroup-BRl45QHs.c4b739d1f83b.js.gz +0 -0
  90. codex/static_root/assets/{VSlideGroup-B5C2lA7c.js → VSlideGroup-BRl45QHs.js} +1 -1
  91. codex/static_root/assets/VSlideGroup-BRl45QHs.js.br +0 -0
  92. codex/static_root/assets/VSlideGroup-BRl45QHs.js.gz +0 -0
  93. codex/static_root/assets/{VTable-Lfc0i15y.8bab1b7ae36e.js → VTable-DISTvhO_.bc6f64a341dc.js} +1 -1
  94. codex/static_root/assets/VTable-DISTvhO_.bc6f64a341dc.js.br +0 -0
  95. codex/static_root/assets/VTable-DISTvhO_.bc6f64a341dc.js.gz +0 -0
  96. codex/static_root/assets/{VTable-Lfc0i15y.js → VTable-DISTvhO_.js} +1 -1
  97. codex/static_root/assets/VTable-DISTvhO_.js.br +0 -0
  98. codex/static_root/assets/VTable-DISTvhO_.js.gz +0 -0
  99. codex/static_root/assets/VTable-Y5Sc3hJd.c36f0a6a30cf.css +1 -0
  100. codex/static_root/assets/VTable-Y5Sc3hJd.c36f0a6a30cf.css.br +0 -0
  101. codex/static_root/assets/VTable-Y5Sc3hJd.c36f0a6a30cf.css.gz +0 -0
  102. codex/static_root/assets/VTable-Y5Sc3hJd.css +1 -0
  103. codex/static_root/assets/VTable-Y5Sc3hJd.css.br +0 -0
  104. codex/static_root/assets/VTable-Y5Sc3hJd.css.gz +0 -0
  105. codex/static_root/assets/{VTextField-B4VKy44x.76e6b5eba07d.js → VTextField-C0DUSXBX.fe57b718cbb1.js} +1 -1
  106. codex/static_root/assets/VTextField-C0DUSXBX.fe57b718cbb1.js.br +0 -0
  107. codex/static_root/assets/VTextField-C0DUSXBX.fe57b718cbb1.js.gz +0 -0
  108. codex/static_root/assets/{VTextField-B4VKy44x.js → VTextField-C0DUSXBX.js} +1 -1
  109. codex/static_root/assets/VTextField-C0DUSXBX.js.br +0 -0
  110. codex/static_root/assets/VTextField-C0DUSXBX.js.gz +0 -0
  111. codex/static_root/assets/VTextField-Crc3gdNh.39995ccf4d52.css +1 -0
  112. codex/static_root/assets/VTextField-Crc3gdNh.39995ccf4d52.css.br +0 -0
  113. codex/static_root/assets/VTextField-Crc3gdNh.39995ccf4d52.css.gz +0 -0
  114. codex/static_root/assets/VTextField-Crc3gdNh.css +1 -0
  115. codex/static_root/assets/VTextField-Crc3gdNh.css.br +0 -0
  116. codex/static_root/assets/VTextField-Crc3gdNh.css.gz +0 -0
  117. codex/static_root/assets/{VWindowItem-KLjTqrqt.ce6d5d378d1e.js → VWindowItem-DXOy9qYi.8e1cd08df101.js} +1 -1
  118. codex/static_root/assets/VWindowItem-DXOy9qYi.8e1cd08df101.js.br +0 -0
  119. codex/static_root/assets/VWindowItem-DXOy9qYi.8e1cd08df101.js.gz +0 -0
  120. codex/static_root/assets/{VWindowItem-KLjTqrqt.js → VWindowItem-DXOy9qYi.js} +1 -1
  121. codex/static_root/assets/VWindowItem-DXOy9qYi.js.br +0 -0
  122. codex/static_root/assets/VWindowItem-DXOy9qYi.js.gz +0 -0
  123. codex/static_root/assets/{admin-CWkrgUZ0.a441d70b810c.js → admin-DgLzn7q2.5d4dc6ca61f9.js} +1 -1
  124. codex/static_root/assets/admin-DgLzn7q2.5d4dc6ca61f9.js.br +0 -0
  125. codex/static_root/assets/admin-DgLzn7q2.5d4dc6ca61f9.js.gz +0 -0
  126. codex/static_root/assets/{admin-CWkrgUZ0.js → admin-DgLzn7q2.js} +1 -1
  127. codex/static_root/assets/admin-DgLzn7q2.js.br +0 -0
  128. codex/static_root/assets/admin-DgLzn7q2.js.gz +0 -0
  129. codex/static_root/assets/admin-drawer-panel-COV3Ru1J.b0cd2b71000c.css +1 -0
  130. codex/static_root/assets/admin-drawer-panel-COV3Ru1J.b0cd2b71000c.css.br +0 -0
  131. codex/static_root/assets/admin-drawer-panel-COV3Ru1J.b0cd2b71000c.css.gz +0 -0
  132. codex/static_root/assets/admin-drawer-panel-COV3Ru1J.css +1 -0
  133. codex/static_root/assets/admin-drawer-panel-COV3Ru1J.css.br +0 -0
  134. codex/static_root/assets/admin-drawer-panel-COV3Ru1J.css.gz +0 -0
  135. codex/static_root/assets/admin-drawer-panel-CoRl2h5W.1101513b2b68.js +30 -0
  136. codex/static_root/assets/admin-drawer-panel-CoRl2h5W.1101513b2b68.js.br +0 -0
  137. codex/static_root/assets/admin-drawer-panel-CoRl2h5W.1101513b2b68.js.gz +0 -0
  138. codex/static_root/assets/admin-drawer-panel-CoRl2h5W.js +30 -0
  139. codex/static_root/assets/admin-drawer-panel-CoRl2h5W.js.br +0 -0
  140. codex/static_root/assets/admin-drawer-panel-CoRl2h5W.js.gz +0 -0
  141. codex/static_root/assets/browser-BSwNpa5t.35d2f6a3dea4.js +1 -0
  142. codex/static_root/assets/browser-BSwNpa5t.35d2f6a3dea4.js.br +0 -0
  143. codex/static_root/assets/browser-BSwNpa5t.35d2f6a3dea4.js.gz +0 -0
  144. codex/static_root/assets/browser-BSwNpa5t.js +1 -0
  145. codex/static_root/assets/browser-BSwNpa5t.js.br +0 -0
  146. codex/static_root/assets/browser-BSwNpa5t.js.gz +0 -0
  147. codex/static_root/assets/{browser-BMYALshd.26be271bbdb1.css → browser-DWoo5pGT.29bee2bbd49b.css} +1 -1
  148. codex/static_root/assets/browser-DWoo5pGT.29bee2bbd49b.css.br +0 -0
  149. codex/static_root/assets/browser-DWoo5pGT.29bee2bbd49b.css.gz +0 -0
  150. codex/static_root/assets/{browser-BMYALshd.css → browser-DWoo5pGT.css} +1 -1
  151. codex/static_root/assets/browser-DWoo5pGT.css.br +0 -0
  152. codex/static_root/assets/browser-DWoo5pGT.css.gz +0 -0
  153. codex/static_root/assets/change-password-dialog-Bosys_6j.036c0eea895d.css +1 -0
  154. codex/static_root/assets/change-password-dialog-Bosys_6j.036c0eea895d.css.br +0 -0
  155. codex/static_root/assets/change-password-dialog-Bosys_6j.036c0eea895d.css.gz +0 -0
  156. codex/static_root/assets/change-password-dialog-Bosys_6j.css +1 -0
  157. codex/static_root/assets/change-password-dialog-Bosys_6j.css.br +0 -0
  158. codex/static_root/assets/change-password-dialog-Bosys_6j.css.gz +0 -0
  159. codex/static_root/assets/change-password-dialog-ColNjAlK.4a425e3a6c8d.js +1 -0
  160. codex/static_root/assets/change-password-dialog-ColNjAlK.4a425e3a6c8d.js.br +0 -0
  161. codex/static_root/assets/change-password-dialog-ColNjAlK.4a425e3a6c8d.js.gz +0 -0
  162. codex/static_root/assets/change-password-dialog-ColNjAlK.js +1 -0
  163. codex/static_root/assets/change-password-dialog-ColNjAlK.js.br +0 -0
  164. codex/static_root/assets/change-password-dialog-ColNjAlK.js.gz +0 -0
  165. codex/static_root/assets/{confirm-dialog-CxwshFZG.271c62f45f93.js → confirm-dialog-DPtJ2Fu2.83d1c027b3bc.js} +1 -1
  166. codex/static_root/assets/confirm-dialog-DPtJ2Fu2.83d1c027b3bc.js.br +0 -0
  167. codex/static_root/assets/confirm-dialog-DPtJ2Fu2.83d1c027b3bc.js.gz +0 -0
  168. codex/static_root/assets/{confirm-dialog-CxwshFZG.js → confirm-dialog-DPtJ2Fu2.js} +1 -1
  169. codex/static_root/assets/confirm-dialog-DPtJ2Fu2.js.br +0 -0
  170. codex/static_root/assets/confirm-dialog-DPtJ2Fu2.js.gz +0 -0
  171. codex/static_root/assets/{datetime-column-BlrfINye.91b57f3abe97.js → datetime-column-DnOqpZLy.7b8519c1da50.js} +1 -1
  172. codex/static_root/assets/datetime-column-DnOqpZLy.7b8519c1da50.js.br +0 -0
  173. codex/static_root/assets/datetime-column-DnOqpZLy.7b8519c1da50.js.gz +0 -0
  174. codex/static_root/assets/{datetime-column-BlrfINye.js → datetime-column-DnOqpZLy.js} +1 -1
  175. codex/static_root/assets/datetime-column-DnOqpZLy.js.br +0 -0
  176. codex/static_root/assets/datetime-column-DnOqpZLy.js.gz +0 -0
  177. codex/static_root/assets/{filter-Ds3JJmu2.fd08b28c7278.js → filter-BoSLQk91.3ea0dcc99c0e.js} +1 -1
  178. codex/static_root/assets/filter-BoSLQk91.3ea0dcc99c0e.js.br +0 -0
  179. codex/static_root/assets/filter-BoSLQk91.3ea0dcc99c0e.js.gz +0 -0
  180. codex/static_root/assets/{filter-Ds3JJmu2.js → filter-BoSLQk91.js} +1 -1
  181. codex/static_root/assets/filter-BoSLQk91.js.br +0 -0
  182. codex/static_root/assets/filter-BoSLQk91.js.gz +0 -0
  183. codex/static_root/assets/{flag-tab-BQjZsiTg.082622270a94.js → flag-tab-DNh2mpPr.b1645ec1e536.js} +1 -1
  184. codex/static_root/assets/flag-tab-DNh2mpPr.b1645ec1e536.js.br +0 -0
  185. codex/static_root/assets/flag-tab-DNh2mpPr.b1645ec1e536.js.gz +0 -0
  186. codex/static_root/assets/{flag-tab-BQjZsiTg.js → flag-tab-DNh2mpPr.js} +1 -1
  187. codex/static_root/assets/flag-tab-DNh2mpPr.js.br +0 -0
  188. codex/static_root/assets/flag-tab-DNh2mpPr.js.gz +0 -0
  189. codex/static_root/assets/{group-tab-2t5x5GYZ.c75187a4632a.js → group-tab-B6QT9bUe.0458f4530691.js} +1 -1
  190. codex/static_root/assets/group-tab-B6QT9bUe.0458f4530691.js.br +0 -0
  191. codex/static_root/assets/group-tab-B6QT9bUe.0458f4530691.js.gz +0 -0
  192. codex/static_root/assets/{group-tab-2t5x5GYZ.js → group-tab-B6QT9bUe.js} +1 -1
  193. codex/static_root/assets/group-tab-B6QT9bUe.js.br +0 -0
  194. codex/static_root/assets/group-tab-B6QT9bUe.js.gz +0 -0
  195. codex/static_root/assets/{http-error-RDzOjrxR.960c6c4b0146.js → http-error-DUb0F4qg.4567436c85f0.js} +1 -1
  196. codex/static_root/assets/http-error-DUb0F4qg.4567436c85f0.js.br +0 -0
  197. codex/static_root/assets/http-error-DUb0F4qg.4567436c85f0.js.gz +0 -0
  198. codex/static_root/assets/{http-error-RDzOjrxR.js → http-error-DUb0F4qg.js} +1 -1
  199. codex/static_root/assets/http-error-DUb0F4qg.js.br +0 -0
  200. codex/static_root/assets/http-error-DUb0F4qg.js.gz +0 -0
  201. codex/static_root/assets/library-tab-C_6VqUnE.513fe55019e7.css +1 -0
  202. codex/static_root/assets/library-tab-C_6VqUnE.513fe55019e7.css.br +0 -0
  203. codex/static_root/assets/library-tab-C_6VqUnE.513fe55019e7.css.gz +0 -0
  204. codex/static_root/assets/library-tab-C_6VqUnE.css +1 -0
  205. codex/static_root/assets/library-tab-C_6VqUnE.css.br +0 -0
  206. codex/static_root/assets/library-tab-C_6VqUnE.css.gz +0 -0
  207. codex/static_root/assets/library-tab-DPUHpOfq.3e1b6ec73274.js +1 -0
  208. codex/static_root/assets/library-tab-DPUHpOfq.3e1b6ec73274.js.br +0 -0
  209. codex/static_root/assets/library-tab-DPUHpOfq.3e1b6ec73274.js.gz +0 -0
  210. codex/static_root/assets/library-tab-DPUHpOfq.js +1 -0
  211. codex/static_root/assets/library-tab-DPUHpOfq.js.br +0 -0
  212. codex/static_root/assets/library-tab-DPUHpOfq.js.gz +0 -0
  213. codex/static_root/assets/{main-Ztp855PW.css → main-BZ73p_WW.css} +1 -1
  214. codex/static_root/assets/main-BZ73p_WW.css.br +0 -0
  215. codex/static_root/assets/{main-Ztp855PW.css.gz → main-BZ73p_WW.css.gz} +0 -0
  216. codex/static_root/assets/{main-Ztp855PW.d46d718fac45.css → main-BZ73p_WW.d529e8b3f52a.css} +1 -1
  217. codex/static_root/assets/main-BZ73p_WW.d529e8b3f52a.css.br +0 -0
  218. codex/static_root/assets/{main-Ztp855PW.d46d718fac45.css.gz → main-BZ73p_WW.d529e8b3f52a.css.gz} +0 -0
  219. codex/static_root/assets/main-DyDcAKfE.59ea08f0fb1b.js +6 -0
  220. codex/static_root/assets/main-DyDcAKfE.59ea08f0fb1b.js.br +0 -0
  221. codex/static_root/assets/main-DyDcAKfE.59ea08f0fb1b.js.gz +0 -0
  222. codex/static_root/assets/main-DyDcAKfE.js +6 -0
  223. codex/static_root/assets/main-DyDcAKfE.js.br +0 -0
  224. codex/static_root/assets/main-DyDcAKfE.js.gz +0 -0
  225. codex/static_root/assets/pagination-toolbar-C9SzPo7k.947a0cd8dcc3.js +1 -0
  226. codex/static_root/assets/pagination-toolbar-C9SzPo7k.947a0cd8dcc3.js.br +0 -0
  227. codex/static_root/assets/pagination-toolbar-C9SzPo7k.947a0cd8dcc3.js.gz +0 -0
  228. codex/static_root/assets/pagination-toolbar-C9SzPo7k.js +1 -0
  229. codex/static_root/assets/pagination-toolbar-C9SzPo7k.js.br +0 -0
  230. codex/static_root/assets/pagination-toolbar-C9SzPo7k.js.gz +0 -0
  231. codex/static_root/assets/{pagination-toolbar-fV7Lb1Xa.50b90ccb5d08.css → pagination-toolbar-D6v3_jVe.4f0e62bbb1e5.css} +1 -1
  232. codex/static_root/assets/pagination-toolbar-D6v3_jVe.4f0e62bbb1e5.css.br +0 -0
  233. codex/static_root/assets/pagination-toolbar-D6v3_jVe.4f0e62bbb1e5.css.gz +0 -0
  234. codex/static_root/assets/{pagination-toolbar-fV7Lb1Xa.css → pagination-toolbar-D6v3_jVe.css} +1 -1
  235. codex/static_root/assets/pagination-toolbar-D6v3_jVe.css.br +0 -0
  236. codex/static_root/assets/pagination-toolbar-D6v3_jVe.css.gz +0 -0
  237. codex/static_root/assets/pdf-doc-BeSm40lQ.29f26de72c2d.js +305 -0
  238. codex/static_root/assets/pdf-doc-BeSm40lQ.29f26de72c2d.js.br +0 -0
  239. codex/static_root/assets/pdf-doc-BeSm40lQ.29f26de72c2d.js.gz +0 -0
  240. codex/static_root/assets/pdf-doc-BeSm40lQ.js +305 -0
  241. codex/static_root/assets/pdf-doc-BeSm40lQ.js.br +0 -0
  242. codex/static_root/assets/pdf-doc-BeSm40lQ.js.gz +0 -0
  243. codex/static_root/assets/{reader-Do0jgF5k.aae2010130b4.css → reader-BORfYc0l.css} +1 -1
  244. codex/static_root/assets/reader-BORfYc0l.css.br +0 -0
  245. codex/static_root/assets/{reader-Do0jgF5k.aae2010130b4.css.gz → reader-BORfYc0l.css.gz} +0 -0
  246. codex/static_root/assets/{reader-Do0jgF5k.css → reader-BORfYc0l.e66ce0ded0b6.css} +1 -1
  247. codex/static_root/assets/reader-BORfYc0l.e66ce0ded0b6.css.br +0 -0
  248. codex/static_root/assets/{reader-Do0jgF5k.css.gz → reader-BORfYc0l.e66ce0ded0b6.css.gz} +0 -0
  249. codex/static_root/assets/{reader-Dqp40SW1.js → reader-BuiJ4J_R.b8f859a3106d.js} +2 -2
  250. codex/static_root/assets/reader-BuiJ4J_R.b8f859a3106d.js.br +0 -0
  251. codex/static_root/assets/reader-BuiJ4J_R.b8f859a3106d.js.gz +0 -0
  252. codex/static_root/assets/{reader-Dqp40SW1.278f67931ddc.js → reader-BuiJ4J_R.js} +2 -2
  253. codex/static_root/assets/reader-BuiJ4J_R.js.br +0 -0
  254. codex/static_root/assets/reader-BuiJ4J_R.js.gz +0 -0
  255. codex/static_root/assets/{relation-chips-lu2nFvjg.e7ab76db0936.js → relation-chips-BWrtvPrs.d304eb1bd4b9.js} +1 -1
  256. codex/static_root/assets/relation-chips-BWrtvPrs.d304eb1bd4b9.js.br +0 -0
  257. codex/static_root/assets/relation-chips-BWrtvPrs.d304eb1bd4b9.js.gz +0 -0
  258. codex/static_root/assets/{relation-chips-lu2nFvjg.js → relation-chips-BWrtvPrs.js} +1 -1
  259. codex/static_root/assets/relation-chips-BWrtvPrs.js.br +0 -0
  260. codex/static_root/assets/relation-chips-BWrtvPrs.js.gz +0 -0
  261. codex/static_root/assets/settings-drawer-BUeCNt4i.96bf8b11d9c0.js +2 -0
  262. codex/static_root/assets/settings-drawer-BUeCNt4i.96bf8b11d9c0.js.br +0 -0
  263. codex/static_root/assets/settings-drawer-BUeCNt4i.96bf8b11d9c0.js.gz +0 -0
  264. codex/static_root/assets/settings-drawer-BUeCNt4i.js +2 -0
  265. codex/static_root/assets/settings-drawer-BUeCNt4i.js.br +0 -0
  266. codex/static_root/assets/settings-drawer-BUeCNt4i.js.gz +0 -0
  267. codex/static_root/assets/settings-drawer-DKncO_vX.0a2cd24cd904.css +1 -0
  268. codex/static_root/assets/settings-drawer-DKncO_vX.0a2cd24cd904.css.br +0 -0
  269. codex/static_root/assets/settings-drawer-DKncO_vX.0a2cd24cd904.css.gz +0 -0
  270. codex/static_root/assets/settings-drawer-DKncO_vX.css +1 -0
  271. codex/static_root/assets/settings-drawer-DKncO_vX.css.br +0 -0
  272. codex/static_root/assets/settings-drawer-DKncO_vX.css.gz +0 -0
  273. codex/static_root/assets/{stats-tab-C1O6FCIj.02cbc306f36f.js → stats-tab-D3VbyUqi.dd958058cc1e.js} +1 -1
  274. codex/static_root/assets/stats-tab-D3VbyUqi.dd958058cc1e.js.br +0 -0
  275. codex/static_root/assets/stats-tab-D3VbyUqi.dd958058cc1e.js.gz +0 -0
  276. codex/static_root/assets/{stats-tab-C1O6FCIj.js → stats-tab-D3VbyUqi.js} +1 -1
  277. codex/static_root/assets/stats-tab-D3VbyUqi.js.br +0 -0
  278. codex/static_root/assets/stats-tab-D3VbyUqi.js.gz +0 -0
  279. codex/static_root/assets/{task-tab-CqeHSVhx.4167eaffddd4.js → task-tab-Bosh0alC.852a8529f506.js} +1 -1
  280. codex/static_root/assets/task-tab-Bosh0alC.852a8529f506.js.br +0 -0
  281. codex/static_root/assets/task-tab-Bosh0alC.852a8529f506.js.gz +0 -0
  282. codex/static_root/assets/{task-tab-CqeHSVhx.js → task-tab-Bosh0alC.js} +1 -1
  283. codex/static_root/assets/task-tab-Bosh0alC.js.br +0 -0
  284. codex/static_root/assets/task-tab-Bosh0alC.js.gz +0 -0
  285. codex/static_root/assets/{unauthorized-D87B0TXf.85c5665072a2.css → unauthorized-CQL7W5pA.75124be66863.css} +1 -1
  286. codex/static_root/assets/unauthorized-CQL7W5pA.75124be66863.css.br +0 -0
  287. codex/static_root/assets/unauthorized-CQL7W5pA.75124be66863.css.gz +0 -0
  288. codex/static_root/assets/{unauthorized-D87B0TXf.css → unauthorized-CQL7W5pA.css} +1 -1
  289. codex/static_root/assets/unauthorized-CQL7W5pA.css.br +0 -0
  290. codex/static_root/assets/unauthorized-CQL7W5pA.css.gz +0 -0
  291. codex/static_root/assets/{unauthorized-BdPK_Sdi.785f127a927a.js → unauthorized-Dnq8D35W.4f560e203c18.js} +1 -1
  292. codex/static_root/assets/unauthorized-Dnq8D35W.4f560e203c18.js.br +0 -0
  293. codex/static_root/assets/unauthorized-Dnq8D35W.4f560e203c18.js.gz +0 -0
  294. codex/static_root/assets/{unauthorized-BdPK_Sdi.js → unauthorized-Dnq8D35W.js} +1 -1
  295. codex/static_root/assets/unauthorized-Dnq8D35W.js.br +0 -0
  296. codex/static_root/assets/unauthorized-Dnq8D35W.js.gz +0 -0
  297. codex/static_root/assets/{user-tab-Bp1GOJbE.f7935f7db1fa.js → user-tab-BGlLLXhI.8771bc00ef3a.js} +1 -1
  298. codex/static_root/assets/user-tab-BGlLLXhI.8771bc00ef3a.js.br +0 -0
  299. codex/static_root/assets/user-tab-BGlLLXhI.8771bc00ef3a.js.gz +0 -0
  300. codex/static_root/assets/{user-tab-Bp1GOJbE.js → user-tab-BGlLLXhI.js} +1 -1
  301. codex/static_root/assets/user-tab-BGlLLXhI.js.br +0 -0
  302. codex/static_root/assets/user-tab-BGlLLXhI.js.gz +0 -0
  303. codex/static_root/manifest.aa902634f4fd.json +611 -0
  304. codex/static_root/manifest.aa902634f4fd.json.br +0 -0
  305. codex/static_root/manifest.aa902634f4fd.json.gz +0 -0
  306. codex/static_root/manifest.json +241 -241
  307. codex/static_root/manifest.json.br +0 -0
  308. codex/static_root/manifest.json.gz +0 -0
  309. codex/static_root/staticfiles.json +1 -1
  310. codex/views/browser/filters/annotations.py +5 -4
  311. codex/views/browser/validate.py +4 -7
  312. {codex-1.6.14.dist-info → codex-1.6.16.dist-info}/METADATA +2 -2
  313. {codex-1.6.14.dist-info → codex-1.6.16.dist-info}/RECORD +316 -316
  314. codex/static_root/assets/VCheckbox-Bf5gdxZe.7edc318a8f33.js.br +0 -0
  315. codex/static_root/assets/VCheckbox-Bf5gdxZe.7edc318a8f33.js.gz +0 -0
  316. codex/static_root/assets/VCheckbox-Bf5gdxZe.js.br +0 -0
  317. codex/static_root/assets/VCheckbox-Bf5gdxZe.js.gz +0 -0
  318. codex/static_root/assets/VCheckboxBtn-8Kva6jyD.9e8989b09eeb.js.br +0 -0
  319. codex/static_root/assets/VCheckboxBtn-8Kva6jyD.9e8989b09eeb.js.gz +0 -0
  320. codex/static_root/assets/VCheckboxBtn-8Kva6jyD.js.br +0 -0
  321. codex/static_root/assets/VCheckboxBtn-8Kva6jyD.js.gz +0 -0
  322. codex/static_root/assets/VCombobox-BksEr4D_.73429bb75f42.css +0 -1
  323. codex/static_root/assets/VCombobox-BksEr4D_.73429bb75f42.css.br +0 -0
  324. codex/static_root/assets/VCombobox-BksEr4D_.73429bb75f42.css.gz +0 -0
  325. codex/static_root/assets/VCombobox-BksEr4D_.css +0 -1
  326. codex/static_root/assets/VCombobox-BksEr4D_.css.br +0 -0
  327. codex/static_root/assets/VCombobox-BksEr4D_.css.gz +0 -0
  328. codex/static_root/assets/VCombobox-C_LpolHU.26ce6fff76c1.js.br +0 -0
  329. codex/static_root/assets/VCombobox-C_LpolHU.26ce6fff76c1.js.gz +0 -0
  330. codex/static_root/assets/VCombobox-C_LpolHU.js.br +0 -0
  331. codex/static_root/assets/VCombobox-C_LpolHU.js.gz +0 -0
  332. codex/static_root/assets/VDialog-CHWtsyYh.7c566f4cb130.js.br +0 -0
  333. codex/static_root/assets/VDialog-CHWtsyYh.7c566f4cb130.js.gz +0 -0
  334. codex/static_root/assets/VDialog-CHWtsyYh.js.br +0 -0
  335. codex/static_root/assets/VDialog-CHWtsyYh.js.gz +0 -0
  336. codex/static_root/assets/VDialog-lQ13FnRR.1c801ad756b2.css +0 -1
  337. codex/static_root/assets/VDialog-lQ13FnRR.1c801ad756b2.css.br +0 -0
  338. codex/static_root/assets/VDialog-lQ13FnRR.1c801ad756b2.css.gz +0 -0
  339. codex/static_root/assets/VDialog-lQ13FnRR.css +0 -1
  340. codex/static_root/assets/VDialog-lQ13FnRR.css.br +0 -0
  341. codex/static_root/assets/VDialog-lQ13FnRR.css.gz +0 -0
  342. codex/static_root/assets/VExpansionPanels-BB_WowGg.464235562bbb.js.br +0 -0
  343. codex/static_root/assets/VExpansionPanels-BB_WowGg.464235562bbb.js.gz +0 -0
  344. codex/static_root/assets/VExpansionPanels-BB_WowGg.js.br +0 -0
  345. codex/static_root/assets/VExpansionPanels-BB_WowGg.js.gz +0 -0
  346. codex/static_root/assets/VExpansionPanels-DsEXVcCv.20b475255e66.css +0 -1
  347. codex/static_root/assets/VExpansionPanels-DsEXVcCv.20b475255e66.css.br +0 -0
  348. codex/static_root/assets/VExpansionPanels-DsEXVcCv.20b475255e66.css.gz +0 -0
  349. codex/static_root/assets/VExpansionPanels-DsEXVcCv.css +0 -1
  350. codex/static_root/assets/VExpansionPanels-DsEXVcCv.css.br +0 -0
  351. codex/static_root/assets/VExpansionPanels-DsEXVcCv.css.gz +0 -0
  352. codex/static_root/assets/VRadioGroup-B9rQQnvl.752f43b11884.js.br +0 -0
  353. codex/static_root/assets/VRadioGroup-B9rQQnvl.752f43b11884.js.gz +0 -0
  354. codex/static_root/assets/VRadioGroup-B9rQQnvl.js.br +0 -0
  355. codex/static_root/assets/VRadioGroup-B9rQQnvl.js.gz +0 -0
  356. codex/static_root/assets/VSelect-ARDhJiQK.372c098fb475.css +0 -1
  357. codex/static_root/assets/VSelect-ARDhJiQK.372c098fb475.css.br +0 -0
  358. codex/static_root/assets/VSelect-ARDhJiQK.372c098fb475.css.gz +0 -0
  359. codex/static_root/assets/VSelect-ARDhJiQK.css +0 -1
  360. codex/static_root/assets/VSelect-ARDhJiQK.css.br +0 -0
  361. codex/static_root/assets/VSelect-ARDhJiQK.css.gz +0 -0
  362. codex/static_root/assets/VSelect-Z04T1ZKO.4747404989f3.js +0 -1
  363. codex/static_root/assets/VSelect-Z04T1ZKO.4747404989f3.js.br +0 -0
  364. codex/static_root/assets/VSelect-Z04T1ZKO.4747404989f3.js.gz +0 -0
  365. codex/static_root/assets/VSelect-Z04T1ZKO.js +0 -1
  366. codex/static_root/assets/VSelect-Z04T1ZKO.js.br +0 -0
  367. codex/static_root/assets/VSelect-Z04T1ZKO.js.gz +0 -0
  368. codex/static_root/assets/VSelectionControl-BFq--28I.9687c77461fc.css.br +0 -0
  369. codex/static_root/assets/VSelectionControl-BFq--28I.9687c77461fc.css.gz +0 -0
  370. codex/static_root/assets/VSelectionControl-BFq--28I.css.br +0 -0
  371. codex/static_root/assets/VSelectionControl-BFq--28I.css.gz +0 -0
  372. codex/static_root/assets/VSelectionControl-DKw4TKuO.ab4dea45204e.js.br +0 -0
  373. codex/static_root/assets/VSelectionControl-DKw4TKuO.ab4dea45204e.js.gz +0 -0
  374. codex/static_root/assets/VSelectionControl-DKw4TKuO.js.br +0 -0
  375. codex/static_root/assets/VSelectionControl-DKw4TKuO.js.gz +0 -0
  376. codex/static_root/assets/VSlideGroup-B5C2lA7c.70fffff2f577.js.br +0 -0
  377. codex/static_root/assets/VSlideGroup-B5C2lA7c.70fffff2f577.js.gz +0 -0
  378. codex/static_root/assets/VSlideGroup-B5C2lA7c.js.br +0 -0
  379. codex/static_root/assets/VSlideGroup-B5C2lA7c.js.gz +0 -0
  380. codex/static_root/assets/VTable-DflzroDq.160504d82195.css +0 -1
  381. codex/static_root/assets/VTable-DflzroDq.160504d82195.css.br +0 -0
  382. codex/static_root/assets/VTable-DflzroDq.160504d82195.css.gz +0 -0
  383. codex/static_root/assets/VTable-DflzroDq.css +0 -1
  384. codex/static_root/assets/VTable-DflzroDq.css.br +0 -0
  385. codex/static_root/assets/VTable-DflzroDq.css.gz +0 -0
  386. codex/static_root/assets/VTable-Lfc0i15y.8bab1b7ae36e.js.br +0 -0
  387. codex/static_root/assets/VTable-Lfc0i15y.8bab1b7ae36e.js.gz +0 -0
  388. codex/static_root/assets/VTable-Lfc0i15y.js.br +0 -0
  389. codex/static_root/assets/VTable-Lfc0i15y.js.gz +0 -0
  390. codex/static_root/assets/VTextField-B4VKy44x.76e6b5eba07d.js.br +0 -0
  391. codex/static_root/assets/VTextField-B4VKy44x.76e6b5eba07d.js.gz +0 -0
  392. codex/static_root/assets/VTextField-B4VKy44x.js.br +0 -0
  393. codex/static_root/assets/VTextField-B4VKy44x.js.gz +0 -0
  394. codex/static_root/assets/VTextField-BssVoDhB.4cc388b4aa3c.css +0 -1
  395. codex/static_root/assets/VTextField-BssVoDhB.4cc388b4aa3c.css.br +0 -0
  396. codex/static_root/assets/VTextField-BssVoDhB.4cc388b4aa3c.css.gz +0 -0
  397. codex/static_root/assets/VTextField-BssVoDhB.css +0 -1
  398. codex/static_root/assets/VTextField-BssVoDhB.css.br +0 -0
  399. codex/static_root/assets/VTextField-BssVoDhB.css.gz +0 -0
  400. codex/static_root/assets/VWindowItem-KLjTqrqt.ce6d5d378d1e.js.br +0 -0
  401. codex/static_root/assets/VWindowItem-KLjTqrqt.ce6d5d378d1e.js.gz +0 -0
  402. codex/static_root/assets/VWindowItem-KLjTqrqt.js.br +0 -0
  403. codex/static_root/assets/VWindowItem-KLjTqrqt.js.gz +0 -0
  404. codex/static_root/assets/admin-CWkrgUZ0.a441d70b810c.js.br +0 -0
  405. codex/static_root/assets/admin-CWkrgUZ0.a441d70b810c.js.gz +0 -0
  406. codex/static_root/assets/admin-CWkrgUZ0.js.br +0 -0
  407. codex/static_root/assets/admin-CWkrgUZ0.js.gz +0 -0
  408. codex/static_root/assets/admin-drawer-panel-DOrhl9Nb.3a7af8ec4462.css +0 -1
  409. codex/static_root/assets/admin-drawer-panel-DOrhl9Nb.3a7af8ec4462.css.br +0 -0
  410. codex/static_root/assets/admin-drawer-panel-DOrhl9Nb.3a7af8ec4462.css.gz +0 -0
  411. codex/static_root/assets/admin-drawer-panel-DOrhl9Nb.css +0 -1
  412. codex/static_root/assets/admin-drawer-panel-DOrhl9Nb.css.br +0 -0
  413. codex/static_root/assets/admin-drawer-panel-DOrhl9Nb.css.gz +0 -0
  414. codex/static_root/assets/admin-drawer-panel-THbQH8zq.01c7471d731a.js +0 -30
  415. codex/static_root/assets/admin-drawer-panel-THbQH8zq.01c7471d731a.js.br +0 -0
  416. codex/static_root/assets/admin-drawer-panel-THbQH8zq.01c7471d731a.js.gz +0 -0
  417. codex/static_root/assets/admin-drawer-panel-THbQH8zq.js +0 -30
  418. codex/static_root/assets/admin-drawer-panel-THbQH8zq.js.br +0 -0
  419. codex/static_root/assets/admin-drawer-panel-THbQH8zq.js.gz +0 -0
  420. codex/static_root/assets/browser-BMYALshd.26be271bbdb1.css.br +0 -0
  421. codex/static_root/assets/browser-BMYALshd.26be271bbdb1.css.gz +0 -0
  422. codex/static_root/assets/browser-BMYALshd.css.br +0 -0
  423. codex/static_root/assets/browser-BMYALshd.css.gz +0 -0
  424. codex/static_root/assets/browser-BRvf19XG.8be4fcbab4f0.js +0 -1
  425. codex/static_root/assets/browser-BRvf19XG.8be4fcbab4f0.js.br +0 -0
  426. codex/static_root/assets/browser-BRvf19XG.8be4fcbab4f0.js.gz +0 -0
  427. codex/static_root/assets/browser-BRvf19XG.js +0 -1
  428. codex/static_root/assets/browser-BRvf19XG.js.br +0 -0
  429. codex/static_root/assets/browser-BRvf19XG.js.gz +0 -0
  430. codex/static_root/assets/change-password-dialog-0u6IJA87.5f9a9aa573b7.css +0 -1
  431. codex/static_root/assets/change-password-dialog-0u6IJA87.5f9a9aa573b7.css.br +0 -0
  432. codex/static_root/assets/change-password-dialog-0u6IJA87.5f9a9aa573b7.css.gz +0 -0
  433. codex/static_root/assets/change-password-dialog-0u6IJA87.css +0 -1
  434. codex/static_root/assets/change-password-dialog-0u6IJA87.css.br +0 -0
  435. codex/static_root/assets/change-password-dialog-0u6IJA87.css.gz +0 -0
  436. codex/static_root/assets/change-password-dialog-DmP85-rP.999791e58d4a.js +0 -1
  437. codex/static_root/assets/change-password-dialog-DmP85-rP.999791e58d4a.js.br +0 -0
  438. codex/static_root/assets/change-password-dialog-DmP85-rP.999791e58d4a.js.gz +0 -0
  439. codex/static_root/assets/change-password-dialog-DmP85-rP.js +0 -1
  440. codex/static_root/assets/change-password-dialog-DmP85-rP.js.br +0 -0
  441. codex/static_root/assets/change-password-dialog-DmP85-rP.js.gz +0 -0
  442. codex/static_root/assets/confirm-dialog-CxwshFZG.271c62f45f93.js.br +0 -0
  443. codex/static_root/assets/confirm-dialog-CxwshFZG.271c62f45f93.js.gz +0 -0
  444. codex/static_root/assets/confirm-dialog-CxwshFZG.js.br +0 -0
  445. codex/static_root/assets/confirm-dialog-CxwshFZG.js.gz +0 -0
  446. codex/static_root/assets/datetime-column-BlrfINye.91b57f3abe97.js.br +0 -0
  447. codex/static_root/assets/datetime-column-BlrfINye.91b57f3abe97.js.gz +0 -0
  448. codex/static_root/assets/datetime-column-BlrfINye.js.br +0 -0
  449. codex/static_root/assets/datetime-column-BlrfINye.js.gz +0 -0
  450. codex/static_root/assets/filter-Ds3JJmu2.fd08b28c7278.js.br +0 -0
  451. codex/static_root/assets/filter-Ds3JJmu2.fd08b28c7278.js.gz +0 -0
  452. codex/static_root/assets/filter-Ds3JJmu2.js.br +0 -0
  453. codex/static_root/assets/filter-Ds3JJmu2.js.gz +0 -0
  454. codex/static_root/assets/flag-tab-BQjZsiTg.082622270a94.js.br +0 -0
  455. codex/static_root/assets/flag-tab-BQjZsiTg.082622270a94.js.gz +0 -0
  456. codex/static_root/assets/flag-tab-BQjZsiTg.js.br +0 -0
  457. codex/static_root/assets/flag-tab-BQjZsiTg.js.gz +0 -0
  458. codex/static_root/assets/group-tab-2t5x5GYZ.c75187a4632a.js.br +0 -0
  459. codex/static_root/assets/group-tab-2t5x5GYZ.c75187a4632a.js.gz +0 -0
  460. codex/static_root/assets/group-tab-2t5x5GYZ.js.br +0 -0
  461. codex/static_root/assets/group-tab-2t5x5GYZ.js.gz +0 -0
  462. codex/static_root/assets/http-error-RDzOjrxR.960c6c4b0146.js.br +0 -0
  463. codex/static_root/assets/http-error-RDzOjrxR.960c6c4b0146.js.gz +0 -0
  464. codex/static_root/assets/http-error-RDzOjrxR.js.br +0 -0
  465. codex/static_root/assets/http-error-RDzOjrxR.js.gz +0 -0
  466. codex/static_root/assets/library-tab-DV2jzlXz.be7b5857d1b7.js +0 -1
  467. codex/static_root/assets/library-tab-DV2jzlXz.be7b5857d1b7.js.br +0 -0
  468. codex/static_root/assets/library-tab-DV2jzlXz.be7b5857d1b7.js.gz +0 -0
  469. codex/static_root/assets/library-tab-DV2jzlXz.js +0 -1
  470. codex/static_root/assets/library-tab-DV2jzlXz.js.br +0 -0
  471. codex/static_root/assets/library-tab-DV2jzlXz.js.gz +0 -0
  472. codex/static_root/assets/library-tab-DzRBc0IE.a963111e1349.css +0 -1
  473. codex/static_root/assets/library-tab-DzRBc0IE.a963111e1349.css.br +0 -3
  474. codex/static_root/assets/library-tab-DzRBc0IE.a963111e1349.css.gz +0 -0
  475. codex/static_root/assets/library-tab-DzRBc0IE.css +0 -1
  476. codex/static_root/assets/library-tab-DzRBc0IE.css.br +0 -3
  477. codex/static_root/assets/library-tab-DzRBc0IE.css.gz +0 -0
  478. codex/static_root/assets/main-Dch6DDCJ.bf70fffbe064.js +0 -6
  479. codex/static_root/assets/main-Dch6DDCJ.bf70fffbe064.js.br +0 -0
  480. codex/static_root/assets/main-Dch6DDCJ.bf70fffbe064.js.gz +0 -0
  481. codex/static_root/assets/main-Dch6DDCJ.js +0 -6
  482. codex/static_root/assets/main-Dch6DDCJ.js.br +0 -0
  483. codex/static_root/assets/main-Dch6DDCJ.js.gz +0 -0
  484. codex/static_root/assets/main-Ztp855PW.css.br +0 -0
  485. codex/static_root/assets/main-Ztp855PW.d46d718fac45.css.br +0 -0
  486. codex/static_root/assets/pagination-toolbar-DXg1CvH6.d255272f3d97.js +0 -1
  487. codex/static_root/assets/pagination-toolbar-DXg1CvH6.d255272f3d97.js.br +0 -0
  488. codex/static_root/assets/pagination-toolbar-DXg1CvH6.d255272f3d97.js.gz +0 -0
  489. codex/static_root/assets/pagination-toolbar-DXg1CvH6.js +0 -1
  490. codex/static_root/assets/pagination-toolbar-DXg1CvH6.js.br +0 -0
  491. codex/static_root/assets/pagination-toolbar-DXg1CvH6.js.gz +0 -0
  492. codex/static_root/assets/pagination-toolbar-fV7Lb1Xa.50b90ccb5d08.css.br +0 -0
  493. codex/static_root/assets/pagination-toolbar-fV7Lb1Xa.50b90ccb5d08.css.gz +0 -0
  494. codex/static_root/assets/pagination-toolbar-fV7Lb1Xa.css.br +0 -0
  495. codex/static_root/assets/pagination-toolbar-fV7Lb1Xa.css.gz +0 -0
  496. codex/static_root/assets/pdf-doc-CVviRuB6.0c6b12289d5f.js +0 -305
  497. codex/static_root/assets/pdf-doc-CVviRuB6.0c6b12289d5f.js.br +0 -0
  498. codex/static_root/assets/pdf-doc-CVviRuB6.0c6b12289d5f.js.gz +0 -0
  499. codex/static_root/assets/pdf-doc-CVviRuB6.js +0 -305
  500. codex/static_root/assets/pdf-doc-CVviRuB6.js.br +0 -0
  501. codex/static_root/assets/pdf-doc-CVviRuB6.js.gz +0 -0
  502. codex/static_root/assets/reader-Do0jgF5k.aae2010130b4.css.br +0 -0
  503. codex/static_root/assets/reader-Do0jgF5k.css.br +0 -0
  504. codex/static_root/assets/reader-Dqp40SW1.278f67931ddc.js.br +0 -0
  505. codex/static_root/assets/reader-Dqp40SW1.278f67931ddc.js.gz +0 -0
  506. codex/static_root/assets/reader-Dqp40SW1.js.br +0 -0
  507. codex/static_root/assets/reader-Dqp40SW1.js.gz +0 -0
  508. codex/static_root/assets/relation-chips-lu2nFvjg.e7ab76db0936.js.br +0 -0
  509. codex/static_root/assets/relation-chips-lu2nFvjg.e7ab76db0936.js.gz +0 -0
  510. codex/static_root/assets/relation-chips-lu2nFvjg.js.br +0 -0
  511. codex/static_root/assets/relation-chips-lu2nFvjg.js.gz +0 -0
  512. codex/static_root/assets/settings-drawer-CQ_uhEuE.c6d1a2453b8f.js +0 -2
  513. codex/static_root/assets/settings-drawer-CQ_uhEuE.c6d1a2453b8f.js.br +0 -0
  514. codex/static_root/assets/settings-drawer-CQ_uhEuE.c6d1a2453b8f.js.gz +0 -0
  515. codex/static_root/assets/settings-drawer-CQ_uhEuE.js +0 -2
  516. codex/static_root/assets/settings-drawer-CQ_uhEuE.js.br +0 -0
  517. codex/static_root/assets/settings-drawer-CQ_uhEuE.js.gz +0 -0
  518. codex/static_root/assets/settings-drawer-nZ9HvKSZ.01744e131806.css +0 -1
  519. codex/static_root/assets/settings-drawer-nZ9HvKSZ.01744e131806.css.br +0 -0
  520. codex/static_root/assets/settings-drawer-nZ9HvKSZ.01744e131806.css.gz +0 -0
  521. codex/static_root/assets/settings-drawer-nZ9HvKSZ.css +0 -1
  522. codex/static_root/assets/settings-drawer-nZ9HvKSZ.css.br +0 -0
  523. codex/static_root/assets/settings-drawer-nZ9HvKSZ.css.gz +0 -0
  524. codex/static_root/assets/stats-tab-C1O6FCIj.02cbc306f36f.js.br +0 -0
  525. codex/static_root/assets/stats-tab-C1O6FCIj.02cbc306f36f.js.gz +0 -0
  526. codex/static_root/assets/stats-tab-C1O6FCIj.js.br +0 -0
  527. codex/static_root/assets/stats-tab-C1O6FCIj.js.gz +0 -0
  528. codex/static_root/assets/task-tab-CqeHSVhx.4167eaffddd4.js.br +0 -0
  529. codex/static_root/assets/task-tab-CqeHSVhx.4167eaffddd4.js.gz +0 -0
  530. codex/static_root/assets/task-tab-CqeHSVhx.js.br +0 -0
  531. codex/static_root/assets/task-tab-CqeHSVhx.js.gz +0 -0
  532. codex/static_root/assets/unauthorized-BdPK_Sdi.785f127a927a.js.br +0 -0
  533. codex/static_root/assets/unauthorized-BdPK_Sdi.785f127a927a.js.gz +0 -0
  534. codex/static_root/assets/unauthorized-BdPK_Sdi.js.br +0 -0
  535. codex/static_root/assets/unauthorized-BdPK_Sdi.js.gz +0 -0
  536. codex/static_root/assets/unauthorized-D87B0TXf.85c5665072a2.css.br +0 -0
  537. codex/static_root/assets/unauthorized-D87B0TXf.85c5665072a2.css.gz +0 -0
  538. codex/static_root/assets/unauthorized-D87B0TXf.css.br +0 -0
  539. codex/static_root/assets/unauthorized-D87B0TXf.css.gz +0 -0
  540. codex/static_root/assets/user-tab-Bp1GOJbE.f7935f7db1fa.js.br +0 -0
  541. codex/static_root/assets/user-tab-Bp1GOJbE.f7935f7db1fa.js.gz +0 -0
  542. codex/static_root/assets/user-tab-Bp1GOJbE.js.br +0 -0
  543. codex/static_root/assets/user-tab-Bp1GOJbE.js.gz +0 -0
  544. codex/static_root/manifest.8c459e3a8114.json +0 -611
  545. codex/static_root/manifest.8c459e3a8114.json.br +0 -0
  546. codex/static_root/manifest.8c459e3a8114.json.gz +0 -0
  547. {codex-1.6.14.dist-info → codex-1.6.16.dist-info}/LICENSE +0 -0
  548. {codex-1.6.14.dist-info → codex-1.6.16.dist-info}/WHEEL +0 -0
  549. {codex-1.6.14.dist-info → codex-1.6.16.dist-info}/entry_points.txt +0 -0
@@ -1 +0,0 @@
1
- import{_ as b,aK as Ce,aL as Te,aM as ce,aN as ke,Z as f,$ as l,Y as p,a0 as h,T as i,aq as I,aO as a,aE as w,aF as O,aG as S,V as F,ak as u,aP as k,aQ as de,aR as ue,aS as me,aD as V,q as P,W as v,X as T,aT as U,aU as Y,aI as B,aV as D,aW as Ve,ap as Me,aX as $e,aY as M,aZ as re,a_ as se,a$ as Pe,b0 as oe,b1 as Fe,F as G,N as q,b2 as Ie,aw as Z,b3 as xe,P as E,b4 as De,b5 as Ne,au as Oe,S as z,b6 as Re,b7 as He,b8 as J,b9 as Ae,ba as Le,al as A,bb as Ue,bc as Ge,h as Q,ao as qe,bd as Ee,av as ze,be as je,ay as We,az as x,ax as Ye,bf as Qe,aB as Ke,bg as Xe,l as Ze,bh as he,bi as Je,bj as et,bk as tt,bl as rt,bm as pe,bn as j,bo as ae,bp as st,bq as fe,br as _e,bs as ge,bt as ot,bu as at,bv as nt,bw as it,bx as lt,by as ct,bz as dt,bA as ut,bB as mt}from"./admin-drawer-panel-THbQH8zq.js";import{V as ht}from"./VTable-Lfc0i15y.js";import{V as pt}from"./VDialog-CHWtsyYh.js";import{u as g,f as K,g as ft,a as _t,c as gt}from"./main-Dch6DDCJ.js";import{V as L}from"./VCheckbox-Bf5gdxZe.js";import{b as bt,a as W,V as ne,c as yt,S as vt}from"./settings-drawer-CQ_uhEuE.js";import{M as St,p as wt,B as Bt,g as Ct,V as X,N as ie,t as Tt,T as N,a as kt,P as Vt,b as Mt,c as $t}from"./pagination-toolbar-DXg1CvH6.js";import{C as Pt}from"./confirm-dialog-CxwshFZG.js";import{V as Ft}from"./VSelect-Z04T1ZKO.js";import{E as It,P as xt,V as be,U as Dt}from"./unauthorized-BdPK_Sdi.js";import{V as Nt}from"./VCombobox-C_LpolHU.js";import{V as Ot}from"./VTextField-B4VKy44x.js";import"./VCheckboxBtn-8Kva6jyD.js";import"./VSelectionControl-DKw4TKuO.js";import"./copy-to-clipboard-DoUvDJVx.js";import"./VSlideGroup-B5C2lA7c.js";import"./change-password-dialog-DmP85-rP.js";import"./filter-Ds3JJmu2.js";const Rt=[["characters","CSV","category"],["community_rating","Decimal","communityrating"],["contributor","CSV","author, creator, credit, person, people"],["country","String"],["created_at","DateTime","created"],["critical_rating","Decimal","criticalrating"],["day","Integer"],["date","Date"],["decade","Integer"],["file_type","String","type"],["genres","CSV","genre"],["identifier","CSV","id, nss"],["identifier_type","CSV","id_type, nid"],["imprint","String"],["issue","String","(Combined issue_number and issue_suffix)"],["issue_number","Decimal","number"],["issue_suffix","String"],["language","String"],["location","CSV","location"],["maturity_rating","String"],["monochrome","String","blackandwhite"],["month","Integer"],["reading_direction","String","direction"],["name","String","title"],["notes","String"],["original_format","String","format, orginalformat"],["path","String","folder, folders"],["page_count","Integer","pages, pagecount"],["publisher","String"],["reading_direction","String","direction"],["review","String"],["scan_info","String","scan, scaninfo"],["series","String"],["series_groups","CSV","seriesgroups"],["size","Integer"],["stories","CSV","story"],["story_arcs","CSV","storyarcs"],["summary","String","comments, description"],["tags","CSV","tag"],["tagger","String"],["teams","CSV","team"],["updated_at","Date","updated"],["volume","String"],["web","String"],["year","Integer"]],Ht={name:"SearchHelp",components:{CloseButton:Ce,DrawerItem:Te},data(){return{mdiOpenInNew:ce,mdiArchiveSearchOutline:ke,dialog:!1,FIELD_ROWS:Rt}}},_=e=>(de("data-v-3154aac0"),e=e(),ue(),e),At={id:"searchHelp"},Lt=_(()=>a("h1",null,"Search Help",-1)),Ut={id:"fieldTableContainer"},Gt=_(()=>a("h2",null,"Search Fields",-1)),qt=_(()=>a("thead",null,[a("tr",null,[a("th",null,"Field"),a("th",null,"Type"),a("th",null,"Aliases")])],-1)),Et={class:"aliasCol"},zt={id:"textContainer"},jt=_(()=>a("h2",null,"Whoosh Query Parser",-1)),Wt={href:"https://whoosh.readthedocs.io/en/latest/querylang.html",target:"_blank"},Yt=_(()=>a("h2",null,"Operators",-1)),Qt=_(()=>a("code",null,"and",-1)),Kt=_(()=>a("code",null,"or",-1)),Xt=_(()=>a("code",null,"not",-1)),Zt=_(()=>a("code",null,"andnot",-1)),Jt=_(()=>a("code",null,"andmaybe",-1)),er=_(()=>a("code",null,"require",-1)),tr=_(()=>a("h2",null,"Searching Fields",-1)),rr=_(()=>a("p",null,[u(" Like Codex's filter selector menu, but more powerful. You may search on individual comic metadata fields. using a search token like "),a("code",null,"field:value"),u(". ")],-1)),sr=_(()=>a("h3",null,"Dates and DateTimes",-1)),or={href:"https://whoosh.readthedocs.io/en/latest/dates.html#parsing-date-queries",target:"_blank"},ar=_(()=>a("code",null,"YYYYMMDD",-1)),nr=_(()=>a("code",null,"YYYMMDDHHmmSS",-1)),ir=_(()=>a("h3",null,"Single Quote complex field Queries",-1)),lr=_(()=>a("p",null,[u(" Use "),a("em",null,"single"),u(" quotes to tell Codex that a complex or natural language phrase should be applied to a specific field ")],-1)),cr=_(()=>a("code",null," created:'this year' ",-1)),dr=_(()=>a("h3",null,"Size Byte Multipliers",-1)),ur=_(()=>a("p",null,[u(" The size field can make use of convenient byte multiplier suffixes like "),a("code",null,"kb"),u(" and "),a("code",null,"mb"),u(" as well as binary suffixes like "),a("code",null,"gib"),u(" and "),a("code",null,"tib"),u(". ")],-1)),mr=_(()=>a("h3",null,"Ranges of Fields",-1)),hr=_(()=>a("p",null,[u(" Whoosh uses brackets and the "),a("em",null,"uppercase"),u(" "),a("code",null,"TO"),u(" operator to delineate a range search. ")],-1)),pr=_(()=>a("code",null,"updated:[last sunday TO 10am]",-1)),fr=_(()=>a("p",null," You may leave out the upper or lower bound or use >, <, >=, <= operators. ",-1)),_r=_(()=>a("code",null,"size:<50mb",-1)),gr=_(()=>a("h3",null,"Multi Value Fields",-1)),br=_(()=>a("p",null,[u(" Fields marked type "),a("code",null,"CSV"),u(" in the table to the left may contain comma separated values. This filters by all the supplied values. Multi Value tokens look like: "),a("code",null,"field:term1,term2,term3")],-1)),yr=_(()=>a("h2",null,"Grouped Queries",-1)),vr=_(()=>a("p",null,"Whoosh allows grouping of queries with parenthesis.",-1)),Sr=_(()=>a("h2",null,"Example Search",-1)),wr=_(()=>a("p",null," This example search is more convoluted than most searches but uses many features for demonstration: ",-1)),Br=_(()=>a("code",null,' (Holmes and Tesla date:>=1999-1-2 size:[10mib TO 1gb] Gadzooks) or "Captain Nemo" -Quartermain ',-1)),Cr=_(()=>a("p",{style:{"margin-top":"1em"}},' Search for comics that contain Holmes and Tesla published after the second day of 1999 that are between 10 Mebibytes and 10 Gigabytes that also contain the word "Gadzooks" but also all comics with the the phrase "Captain Nemo" but no comics will contain the word "Quartermain". ',-1)),Tr=_(()=>a("h2",null,"Group and Sorting Behavior",-1)),kr=_(()=>a("p",null," If the search field is empty and then you supply a search query for the first time, Codex navigates you to the to All Issues view and your sets your Sorted By selection to Search Score. If you prefer a different view you may change the group and sort selections after your you make your first search. ",-1)),Vr=_(()=>a("h2",null,"Filter Behavior",-1)),Mr=_(()=>a("p",null,[u(" Codex applies "),a("em",null,"both"),u(" the Filter selection menu filters "),a("em",null,"and"),u(" the search query field filters to the search. Be sure to clear the filter selector or the search field if you prefer to apply only one of them. ")],-1)),$r=_(()=>a("h2",null,"Faster Browsing and Searching",-1)),Pr=_(()=>a("p",null,' Browsing large collections using the group tree and filter dropdown is relatively fast. Searching with the search bar will always be slower. To aid search speed there is a setting for limiting search results which can help with large collections. To see all results, choose Search Result Limit: "Unlimited". ',-1));function Fr(e,t,s,d,o,r){const n=f("DrawerItem"),c=f("CloseButton");return l(),p(pt,{modelValue:o.dialog,"onUpdate:modelValue":t[2]||(t[2]=m=>o.dialog=m),"content-class":"browserSearchHelp",fullscreen:"",scrim:!1,transition:"dialog-bottom-transition"},{activator:h(({props:m})=>[i(n,I(m,{"prepend-icon":o.mdiArchiveSearchOutline,title:"Search Help"}),null,16,["prepend-icon"])]),default:h(()=>[a("div",At,[i(c,{class:"closeButton",title:"Close Help (esc)",size:"x-large",onClick:t[0]||(t[0]=m=>o.dialog=!1)}),Lt,a("div",Ut,[Gt,i(ht,{id:"fieldTable",class:"highlight-table"},{default:h(()=>[qt,a("tbody",null,[(l(!0),w(F,null,O(o.FIELD_ROWS,m=>(l(),w("tr",{key:m[0]},[a("td",null,S(m[0]),1),a("td",null,S(m[1]),1),a("td",Et,S(m[2]||""),1)]))),128))])]),_:1})]),a("div",zt,[jt,a("p",null,[u(" Codex uses the Whoosh search engine to execute your text search queries. Whoosh operates much like other familiar search engines. As such, only some special features are documented on this page. To understand its full power, users are encouraged to read the "),a("a",Wt,[u("Whoosh Query Language "),i(k,{size:"small"},{default:h(()=>[u(S(o.mdiOpenInNew),1)]),_:1})]),u(" documentation. ")]),Yt,u(" Whoosh has the "),Qt,u(", "),Kt,u(", "),Xt,u(", "),Zt,u(", "),Jt,u(", and "),er,u(" operators. "),tr,rr,sr,a("p",null,[u(" Whoosh parses Dates and DateTime values liberally. Read "),a("a",or,[u("Whoosh Parsing Date Queries "),i(k,{size:"small"},{default:h(()=>[u(S(o.mdiOpenInNew),1)]),_:1})]),u(" documentation for what formats and natural language phrases are accepted. If the format you try fails, the "),ar,u(" and "),nr,u(" formats are reliable. ")]),ir,lr,cr,dr,ur,mr,hr,pr,u(". "),fr,_r,u(". "),gr,br,yr,vr,Sr,wr,Br,Cr,Tr,kr,Vr,Mr,$r,Pr]),i(c,{class:"closeButton",title:"Close Help (esc)",size:"x-large",onClick:t[1]||(t[1]=m=>o.dialog=!1)})])]),_:1},8,["modelValue"])}const Ir=b(Ht,[["render",Fr],["__scopeId","data-v-3154aac0"]]),xr="rpisv",Dr={name:"BrowserSettingsPanel",components:{SearchHelp:Ir},data(){return{mdiReload:me,openDelay:2e3}},computed:{...V(P,["isAuthorized"]),...v(P,{isUserAuthorized:e=>!!e.user}),...v(g,{groupChoices:e=>{var t,s;return((s=(t=e.choices)==null?void 0:t.static)==null?void 0:s.settingsGroup)||{}},showSettings:e=>{var t;return((t=e.settings)==null?void 0:t.show)||{}},twentyFourHourTime:e=>{var t;return((t=e.settings)==null?void 0:t.twentyFourHourTime)||!1},twentyFourHourTimeTitle:e=>{var t,s,d;return((d=(s=(t=e.choices)==null?void 0:t.static)==null?void 0:s.twentyFourHourTime)==null?void 0:d.title)||""},dynamicCovers:e=>{var t;return((t=e.settings)==null?void 0:t.dynamicCovers)||!1},customCovers:e=>{var t;return((t=e.settings)==null?void 0:t.customCovers)||!1}}),showShowSettings(){var e,t;return xr.includes((t=(e=this.$route)==null?void 0:e.params)==null?void 0:t.group)}},methods:{...T(g,["loadMtimes","setSettings"]),setShow(e,t){const s={show:{[e]:t===!0}};this.setSettings(s)},set24HourTime(e){const t={twentyFourHourTime:e===!0};this.setSettings(t)},setDynamicCovers(e){const t={dynamicCovers:e===!0};this.setSettings(t)},setCustomCovers(e){const t={customCovers:e===!0};this.setSettings(t)}}},ye=e=>(de("data-v-ba990a67"),e=e(),ue(),e),Nr={key:0,id:"showSettings"},Or=ye(()=>a("h4",{class:"settingsHeader"},"Show Group Levels",-1)),Rr=ye(()=>a("h4",{class:"settingsHeader"},"Covers",-1));function Hr(e,t,s,d,o,r){const n=f("SearchHelp");return l(),w(F,null,[r.showShowSettings?U((l(),w("div",Nr,[Or,(l(!0),w(F,null,O(e.groupChoices,c=>(l(),p(L,{key:c.title,class:"browserGroupCheckbox",density:"compact","hide-details":"auto","model-value":e.showSettings[c.value],"true-value":!0,label:`Show ${c.title}`,"onUpdate:modelValue":m=>r.setShow(c.value,m)},null,8,["model-value","label","onUpdate:modelValue"]))),128))])),[[Y,{openDelay:o.openDelay,text:"Show these groups when navigating the browse tree"}]]):B("",!0),i(D),a("div",null,[Rr,U(i(L,{class:"browserGroupCheckbox",density:"compact","hide-details":"auto","model-value":e.dynamicCovers,"true-value":!0,label:"Dynamic Covers","onUpdate:modelValue":t[0]||(t[0]=c=>r.setDynamicCovers(c))},null,8,["model-value"]),[[Y,{openDelay:o.openDelay,text:"Choose covers by filters, search, and order"}]]),U(i(L,{class:"browserGroupCheckbox",density:"compact","hide-details":"auto","model-value":e.customCovers,"true-value":!0,label:"Custom Covers","onUpdate:modelValue":t[1]||(t[1]=c=>r.setCustomCovers(c))},null,8,["model-value"]),[[Y,{openDelay:o.openDelay,text:"Overlay custom covers if the admin has set them."}]])]),i(D),i(n),i(D),i(L,{class:"browserGroupCheckbox",density:"compact","hide-details":"auto","model-value":e.twentyFourHourTime,"true-value":!0,indeterminate:"",label:"Force 24 Hour Time","onUpdate:modelValue":t[2]||(t[2]=c=>r.set24HourTime(c))},null,8,["model-value"]),i(D)],64)}const Ar=b(Dr,[["render",Hr],["__scopeId","data-v-ba990a67"]]),Lr={name:"BrowserSettingsDrawer",components:{SettingsDrawer:bt,BrowserSettingsPanel:Ar}};function Ur(e,t,s,d,o,r){const n=f("BrowserSettingsPanel"),c=f("SettingsDrawer");return l(),p(c,{title:"Browser",temporary:"","disable-resize-watcher":""},{panel:h(()=>[i(n)]),_:1})}const Gr=b(Lr,[["render",Ur]]),qr={name:"BrowserContainerMenu",components:{ConfirmDialog:Pt},props:{item:{type:Object,required:!0}},data(){return{mdiDotsVertical:Ve,showMenu:!1}},computed:{...v(g,{groupNames:e=>e.choices.static.groupNames}),verb(){return this.item.finished?"Unread":"Read"},confirmText(){return`Mark ${this.verb}`},markReadText(){const e=["Mark"];this.item.group!="c"&&e.push("Entire");let t=this.groupNames[this.item.group];return this.item.group!=="s"&&(t=t.slice(0,-1)),e.push(t,this.verb),e.join(" ")},itemName(){return this.item.name?this.item.name:"(Empty)"}},methods:{...T(g,["setBookmarkFinished"]),toggleRead:function(){this.setBookmarkFinished(this.item,!this.item.finished),this.showMenu=!1}}},Er={class:"background-soft-highlight"};function zr(e,t,s,d,o,r){const n=f("ConfirmDialog");return l(),p(Ft,{modelValue:o.showMenu,"onUpdate:modelValue":t[2]||(t[2]=c=>o.showMenu=c),"offset-y":"",top:""},{activator:h(({props:c})=>[i(Me,I({"aria-label":"action menu",class:"browserCardMenuIcon cardControlButton",icon:"",title:"Action Menu",variant:"text"},c,{onClick:t[0]||(t[0]=$e(()=>{},["prevent"]))}),{default:h(()=>[i(k,null,{default:h(()=>[u(S(o.mdiDotsVertical),1)]),_:1})]),_:2},1040)]),default:h(()=>[a("div",Er,[s.item.group==="c"?(l(),p(M,{key:0,title:r.markReadText,onClick:r.toggleRead},null,8,["title","onClick"])):(l(),p(n,{key:1,"button-text":r.markReadText,"title-text":r.markReadText,"confirm-text":r.confirmText,"object-name":r.itemName,onConfirm:r.toggleRead,onCancel:t[1]||(t[1]=c=>o.showMenu=!1)},null,8,["button-text","title-text","confirm-text","object-name","onConfirm"]))])]),_:1},8,["modelValue"])}const jr=b(qr,[["render",zr]]),Wr={name:"BrowserCardControls",components:{BrowserCardMenu:jr,MetadataButton:St},props:{item:{type:Object,required:!0},eyeOpen:{type:Boolean,required:!0}},data(){return{mdiEye:re,mdiEyeOff:se}},computed:{eyeIcon:function(){return this.eyeOpen?re:se}}},Yr={class:"cardControls"};function Qr(e,t,s,d,o,r){const n=f("MetadataButton"),c=f("BrowserCardMenu");return l(),w("div",Yr,[s.item.group==="c"?(l(),p(k,{key:0,class:"eye"},{default:h(()=>[u(S(r.eyeIcon),1)]),_:1})):B("",!0),i(n,{group:s.item.group,book:s.item,children:s.item.childCount},null,8,["group","book","children"]),i(c,{item:s.item},null,8,["item"])])}const Kr=b(Wr,[["render",Qr],["__scopeId","data-v-6f2c700a"]]),Xr=new Set(["community_rating","critical_rating"]),Zr=new Set(["date"]),Jr=new Set(["bookmark_updated_at","created_at","updated_at"]),es={name:"OrderByCaption",props:{item:{type:Object,required:!0}},computed:{...v(g,{orderBy:e=>e.settings.orderBy,twentyFourHourTime:e=>e.settings.twentyFourHourTime,topGroup:e=>e.settings.topGroup}),orderValue(){let e=this.item.orderValue;try{if(this.orderBy===void 0||this.orderBy===null||this.orderBy==="sort_name"&&(this.item.group!=="c"||this.topGroup!=="f")||this.orderBy==="filename"&&this.item.group==="f"||this.orderBy==="story_arc_number"&&this.item.group==="a"||e===null||e===void 0)e="";else if(Zr.has(this.orderBy)){const t=new Date(e);e=Pe.format(t)}else this.orderBy=="search_score"?e=oe.format(Math.round(Number.parseFloat(e)*10)):Jr.has(this.orderBy)?e=Fe(e,this.twentyFourHourTime,!0):this.orderBy=="page_count"?e=`${oe.format(e)} pages`:this.orderBy=="size"?e=wt(Number.parseInt(e,10)):Xr.has(this.orderBy)&&(e=`★ ${e}`)}catch(t){console.debug(t)}return e}}},ts=["innerHTML"];function rs(e,t,s,d,o,r){return r.orderValue?(l(),w("div",{key:0,class:"orderCaption text-caption",innerHTML:r.orderValue},null,8,ts)):B("",!0)}const ss=b(es,[["render",rs],["__scopeId","data-v-81602057"]]),os={name:"BrowserCardSubtitle",props:{item:{type:Object,required:!0}},computed:{...v(g,{orderByName:e=>e.settings.orderBy=="sort_name",topGroup:e=>e.settings.topGroup,showSeries:e=>e.settings.show.s,showVolume:e=>e.settings.show.v,zeroPad:e=>e.page.zeroPad}),seriesName(){return(this.topGroup==="a"||this.orderByName&&!this.showSeries)&&["c","v"].includes(this.item.group)&&this.item.seriesName?this.item.seriesName:!1},volumeName(){return(this.topGroup==="a"||this.orderByName&&!this.showVolume)&&this.item.group==="c"&&this.item.volumeName?K(this.item.volumeName):!1},headerName:function(){let e;switch(this.item.group){case"i":e=this.item.publisherName;break;case"v":e=this.item.seriesName;break;case"c":e=this.$route.params.group==="f"?ft(this.item,this.zeroPad):_t(this.item,this.zeroPad);break;default:e=""}return e&&this.item.ids&&this.item.ids.length>1?"(Multiple)":e},displayName:function(){return this.item.group==="v"?K(this.item.name):this.item.name},linkLabel:function(){let e="";return e+=this.item.group==="c"?"Read":"Browse to",e+=" "+this.headerName,e}}},as={class:"browserLink cardSubtitle text-caption"},ns={key:0,class:"seriesCaption"},is={key:1,class:"volumeCaption"},ls={key:2,class:"headerName"},cs={class:"displayName"};function ds(e,t,s,d,o,r){return l(),w("div",as,[r.seriesName?(l(),w("div",ns,S(r.seriesName),1)):B("",!0),r.volumeName?(l(),w("div",is,S(r.volumeName),1)):B("",!0),r.headerName?(l(),w("div",ls,S(r.headerName),1)):B("",!0),a("div",cs,S(r.displayName),1)])}const us=b(os,[["render",ds],["__scopeId","data-v-a9a0493b"]]),ms=["iPad","iPhone","iPod"],ve="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0||window.matchMedia("(any-hover: none)").matches,hs=ms.some(e=>navigator.userAgent.includes(e))||ve&&navigator.userAgent.includes("Mac OS"),ps=G({modelValue:Boolean,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},...q(),...Ie(),...Z(),...xe({transition:"fade-transition"})},"VLazy"),fs=E()({name:"VLazy",directives:{intersect:De},props:ps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:s}=t;const{dimensionStyles:d}=Ne(e),o=Oe(e,"modelValue");function r(n){o.value||(o.value=n)}return z(()=>U(i(e.tag,{class:["v-lazy",e.class],style:[d.value,e.style]},{default:()=>[o.value&&i(He,{transition:e.transition,appear:!0},{default:()=>{var n;return[(n=s.default)==null?void 0:n.call(s)]}})]}),[[Re("intersect"),{handler:r,options:e.options},null]])),{}}}),le=100,_s=-170,gs={name:"BrowserCard",components:{BookCover:Bt,BrowserCardControls:Kr,BrowserCardSubtitle:us,OrderByCaption:ss},props:{item:{type:Object,required:!0}},data(){return{doubleTapHovered:!ve||hs}},computed:{...v(g,{importMetadata:e=>e.page.adminFlags.importMetadata}),linkLabel(){let e="";return e+=this.item.group==="c"?"Read":"Browse to",e+=" "+this.item.name,e},ids(){return this.item.ids.join(",")},toRoute(){return this.doubleTapHovered?this.item.group==="c"?Ct(this.item,this.importMetadata):{name:"browser",params:{group:this.item.group,pks:this.ids,page:1},query:{ts:this.item.mtime}}:{}},progressBGOpacity(){return this.item.progress?.1:0}},mounted(){this.scrollToMe()},methods:{scrollToMe:function(){if(!this.$route.hash||this.$route.hash.split("-")[1]!==String(this.ids))return;const e=this.$el;if(!e){console.warn("No element found to scroll to!");return}setTimeout(function(){e.scrollIntoView(),setTimeout(function(){window.scrollBy(0,_s)},le)},le)}}},bs={class:"browserCardTop"},ys={class:"cardFooter"};function vs(e,t,s,d,o,r){const n=f("BookCover"),c=f("BrowserCardControls"),m=f("router-link"),y=f("BrowserCardSubtitle"),C=f("OrderByCaption");return l(),p(fs,{id:`card-${r.ids}`,transition:"scale-transition"},{default:h(()=>[a("div",{class:"browserCardCoverWrapper",onClick:t[0]||(t[0]=$=>o.doubleTapHovered=!0)},[a("div",bs,[i(n,{group:s.item.group,pks:s.item.ids,mtime:s.item.mtime,"child-count":s.item.childCount,finished:s.item.finished},null,8,["group","pks","mtime","child-count","finished"]),i(m,{class:"cardCoverOverlay",to:r.toRoute,"aria-label":r.linkLabel},{default:h(()=>[i(c,{item:s.item,"eye-open":!!r.toRoute},null,8,["item","eye-open"])]),_:1},8,["to","aria-label"])]),i(J,{class:"bookCoverProgress","bg-opacity":r.progressBGOpacity,"model-value":s.item.progress,"aria-label":`${s.item.progress}% read`,rounded:"",height:"2"},null,8,["bg-opacity","model-value","aria-label"]),a("footer",ys,[i(y,{item:s.item},null,8,["item"]),i(C,{item:s.item},null,8,["item"])])])]),_:1},8,["id"])}const Ss=b(gs,[["render",vs],["__scopeId","data-v-635f5a8b"]]),ws={name:"BrowserEmptyResults",components:{EmptyState:It},data(){return{mdiOpenInNew:ce}},computed:{...V(P,["isAuthorized","isUserAdmin"]),...v(P,{registration:e=>e.adminFlags.registration}),...V(g,["isFiltersClearable"]),...v(g,{librariesExist:e=>e.page.librariesExist}),empty(){let e={};return this.librariesExist?(e.headline="No Comics Found",e.title="For these filter and search settings",e.icon=Ae):(e.headline="No Libraries Exist",this.isUserAdmin?e.title="Use the top right ☰ menu to navigate to the admin panel and add a comic library":this.isAuthorized?e.title="An administrator must add some comics libraries":e.title="Use the top right ☰ menu to log in as an administrator to add libraries",e.icon=Le),e},showLinkToReadmeAdmin(){return!this.librariesExist&&this.isUserAdmin},actionText(){return this.isFiltersClearable?"Clear Filters and Search":""}},methods:{...T(g,["clearFilters"])}},Bs={key:0},Cs={href:"https://github.com/ajslater/codex#-administration",target:"_blank"};function Ts(e,t,s,d,o,r){const n=f("EmptyState");return l(),p(n,{class:"browserEmpty",headline:r.empty.headline,title:r.empty.title,icon:r.empty.icon,"action-text":r.actionText,"onClick:action":t[0]||(t[0]=c=>e.clearFilters(!0))},{default:h(()=>[r.showLinkToReadmeAdmin?(l(),w("div",Bs,[u(" See the "),a("a",Cs,[u("README "),i(k,null,{default:h(()=>[u(S(o.mdiOpenInNew),1)]),_:1})]),u(" for help ")])):B("",!0)]),_:1},8,["headline","title","icon","action-text"])}const ks=b(ws,[["render",Ts]]),Vs={name:"BrowserMain",components:{BrowserCard:Ss,BrowserEmptyState:ks,PlaceholderLoading:xt},computed:{...v(P,{nonUsers:e=>e.adminFlags.nonUsers}),...V(P,["isAuthorized"]),...V(g,["isSearchMode"]),...v(g,{librariesExist:e=>e.page.librariesExist,showPlaceHolder(e){return this.nonUsers===void 0||this.isAuthorized&&(this.librariesExist==null||!e.browserPageLoaded)},cards:e=>[...e.page.groups??[],...e.page.books??[]],numPages:e=>e.page.numPages,query:e=>e.settings.q,isSearchOpen:e=>e.isSearchOpen}),browsePaneClasses(){return{padFooter:this.numPages>1,browsePaneSearch:this.isSearchOpen}},showBrowseItems(){return this.cards&&this.cards.length>0&&this.isAuthorized&&!this.showPlaceHolder},searchLimitMessage(){let e="";if(!this.query)return e;const t=+this.$route.params.page,s=100*t;return this.showPlaceHolder?e+=`Searching for ${s} entries...`:this.numPages>t&&(e+=`Search results truncated to ${s} entries.`,e+=" Advance the page to look for more."),e}}},Ms={key:0,id:"browsePaneContainer"},$s={key:3,id:"searchLimitMessage",title:"You may change this in the settings drawer"};function Ps(e,t,s,d,o,r){const n=f("BrowserCard"),c=f("PlaceholderLoading"),m=f("BrowserEmptyState");return l(),p(be,{id:"browsePane",class:A(r.browsePaneClasses)},{default:h(()=>[r.showBrowseItems?(l(),w("div",Ms,[(l(!0),w(F,null,O(e.cards,y=>(l(),p(n,{key:`${y.group}${y.ids}`,item:y},null,8,["item"]))),128))])):e.showPlaceHolder?(l(),p(c,{key:1,class:"placeholder"})):(l(),p(m,{key:2})),r.searchLimitMessage?(l(),w("div",$s,S(r.searchLimitMessage),1)):B("",!0)]),_:1},8,["class"])}const Fs=b(Vs,[["render",Ps],["__scopeId","data-v-142eedfa"]]),Is=G({divider:[Number,String],...q()},"VBreadcrumbsDivider"),xs=E()({name:"VBreadcrumbsDivider",props:Is(),setup(e,t){let{slots:s}=t;return z(()=>{var d;return i("li",{class:["v-breadcrumbs-divider",e.class],style:e.style},[((d=s==null?void 0:s.default)==null?void 0:d.call(s))??e.divider])}),{}}}),Ds=G({active:Boolean,activeClass:String,activeColor:String,color:String,disabled:Boolean,title:String,...q(),...Ue(),...Z({tag:"li"})},"VBreadcrumbsItem"),Se=E()({name:"VBreadcrumbsItem",props:Ds(),setup(e,t){let{slots:s,attrs:d}=t;const o=Ge(e,d),r=Q(()=>{var y;return e.active||((y=o.isActive)==null?void 0:y.value)}),n=Q(()=>r.value?e.activeColor:e.color),{textColorClasses:c,textColorStyles:m}=qe(n);return z(()=>i(e.tag,{class:["v-breadcrumbs-item",{"v-breadcrumbs-item--active":r.value,"v-breadcrumbs-item--disabled":e.disabled,[`${e.activeClass}`]:r.value&&e.activeClass},c.value,e.class],style:[m.value,e.style],"aria-current":r.value?"page":void 0},{default:()=>{var y,C;return[o.isLink.value?i("a",{class:"v-breadcrumbs-item--link",href:o.href.value,"aria-current":r.value?"page":void 0,onClick:o.navigate},[((C=s.default)==null?void 0:C.call(s))??e.title]):((y=s.default)==null?void 0:y.call(s))??e.title]}})),{}}}),Ns=G({activeClass:String,activeColor:String,bgColor:String,color:String,disabled:Boolean,divider:{type:String,default:"/"},icon:Ee,items:{type:Array,default:()=>[]},...q(),...ze(),...je(),...Z({tag:"ul"})},"VBreadcrumbs"),Os=E()({name:"VBreadcrumbs",props:Ns(),setup(e,t){let{slots:s}=t;const{backgroundColorClasses:d,backgroundColorStyles:o}=We(x(e,"bgColor")),{densityClasses:r}=Ye(e),{roundedClasses:n}=Qe(e);Ke({VBreadcrumbsDivider:{divider:x(e,"divider")},VBreadcrumbsItem:{activeClass:x(e,"activeClass"),activeColor:x(e,"activeColor"),color:x(e,"color"),disabled:x(e,"disabled")}});const c=Q(()=>e.items.map(m=>typeof m=="string"?{item:{title:m},raw:m}:{item:m,raw:m}));return z(()=>{const m=!!(s.prepend||e.icon);return i(e.tag,{class:["v-breadcrumbs",d.value,r.value,n.value,e.class],style:[o.value,e.style]},{default:()=>{var y;return[m&&i("li",{key:"prepend",class:"v-breadcrumbs__prepend"},[s.prepend?i(Xe,{key:"prepend-defaults",disabled:!e.icon,defaults:{VIcon:{icon:e.icon,start:!0}}},s.prepend):i(k,{key:"prepend-icon",start:!0,icon:e.icon},null)]),c.value.map((C,$,ee)=>{var te;let{item:R,raw:Be}=C;return i(F,null,[((te=s.item)==null?void 0:te.call(s,{item:R,index:$}))??i(Se,I({key:$,disabled:$>=ee.length-1},typeof R=="string"?{title:R}:R),{default:s.title?()=>{var H;return(H=s.title)==null?void 0:H.call(s,{item:R,index:$})}:void 0}),$<ee.length-1&&i(xs,null,{default:s.divider?()=>{var H;return(H=s.divider)==null?void 0:H.call(s,{item:Be,index:$})}:void 0})])}),(y=s.default)==null?void 0:y.call(s)]}})}),{}}}),Rs={f:"Folder",a:"Story Arc",r:"Top",p:"Publisher",i:"Imprint",s:"Series",v:"Volume"},Hs={f:Je,r:he,p:et,i:tt,s:rt},As={name:"BrowserBreadcrumbs",computed:{...v(g,{breadcrumbs(e){const t=[],s=e.settings.breadcrumbs.slice(0,e.settings.breadcrumbs.length-1);if(!s)return t;let d="";for(const o of s){const r=this.getTo(o,d),n=o.name?o.name:"",c=o.group,m=this.getIcon(o.pks,n,c),y=o.pks==="0"?"Top":Rs[c],C={to:r,title:n,icon:m,tooltip:y};t.push(C),d=o.pks}return t}})},methods:{getTo(e,t){const s=Ze(e);delete s.name;const d={name:"browser",params:s};return t&&(d.hash=`#card-${t}`),d},getIcon(e,t,s){let d;return"rfa".indexOf(s)!=-1&&e==="0"?d=he:t?d="":d=Hs[s],d}}},Ls={key:1};function Us(e,t,s,d,o,r){return l(),p(Os,{id:"browserBreadcrumbs",density:"compact",items:e.breadcrumbs},{item:h(({item:n})=>[i(Se,{to:n.to,title:n.tooltip},{default:h(()=>[n.icon?(l(),p(k,{key:0},{default:h(()=>[u(S(n.icon),1)]),_:2},1024)):(l(),w("span",Ls,S(n.title),1))]),_:2},1032,["to","title"])]),_:1},8,["items"])}const Gs=b(As,[["render",Us],["__scopeId","data-v-b8e7faf5"]]),qs={name:"BrowserHeader",components:{Breadcrumbs:Gs}};function Es(e,t,s,d,o,r){const n=f("Breadcrumbs");return l(),p(W,{id:"breadcrumbsToolbar",height:24,class:"titleToolbar",elevation:"8"},{default:h(()=>[i(n)]),_:1})}const zs=b(qs,[["render",Es],["__scopeId","data-v-fd83bc5e"]]),js={name:"BrowserHeader",data(){return{mdiReload:me}},head(){return{meta:[{hid:"description",name:"description",content:["browse comics",this.longBrowserTitlePrefix,this.longBrowseTitleMain,this.longBrowseTitleSuffix].filter(Boolean).join(" ")}]}},computed:{...v(g,{browserTitle:e=>{var t;return(t=e.page)==null?void 0:t.title},groupNames:e=>e.choices.static.groupNames,modelGroup:e=>e.page.modelGroup}),...V(P,["isUserAdmin"]),title(){let e;if(Number(this.$route.params.pks)===0)e="All";else if(this.browserTitle){let t=[];const{groupName:s,groupCount:d}=this.browserTitle,r=this.$route.params.group==="v"?K(s):s;if(r&&t.push(r),d){const n=`of ${d}`;t.push(n)}e=t.join(" ")}else e="";return e},subtitle(){return this.$route.params.group==="f"?"":this.groupNames[this.modelGroup]}}};function Ws(e,t,s,d,o,r){return l(),p(W,{id:"browserToolbarTitle",height:24,"extension-height":24,elevation:"8"},pe({default:h(()=>[i(ne,{id:"browserTitle",class:"browserTitle"},{default:h(()=>[u(S(r.title),1)]),_:1})]),_:2},[r.subtitle?{name:"extension",fn:h(()=>[i(ne,{id:"browserSubtitle",class:"browserTitle"},{default:h(()=>[u(S(r.subtitle),1)]),_:1})]),key:"0"}:void 0]),1024)}const Ys=b(js,[["render",Ws],["__scopeId","data-v-1f8ac575"]]),Qs=10,Ks={name:"BrowserSearchCombobox",data(){return{mdiMagnify:j,menu:!1,query:"",items:[""]}},computed:{...v(g,{stateQ:e=>e.settings.q})},watch:{stateQ(e){this.query=e,this.addToMenu(e)}},beforeMount(){this.query=this.stateQ},methods:{...T(g,["setSettings","startSearchHideTimeout","clearSearchHideTimeout"]),addToMenu(e){if(!e||this.items.includes(e))return;const t=this.items[0]===""?[]:this.items;t.unshift(e),this.items=t.slice(0,Qs)},doSearch(e=!1){this.menu=!1;const s={q:this.query?this.query.trim():""};e&&(s.orderBy="sort_name",s.orderReverse=!1,this.doBlur()),this.setSettings(s)},doBlur(){this.menu=!1,(this.query?this.query.trim():"")||this.startSearchHideTimeout()}}};function Xs(e,t,s,d,o,r){return l(),p(Nt,{id:"searchbox",ref:"searchbox",modelValue:o.query,"onUpdate:modelValue":t[0]||(t[0]=n=>o.query=n),menu:o.menu,"onUpdate:menu":t[1]||(t[1]=n=>o.menu=n),items:o.items,autofocus:"","aria-label":"search",clearable:"",density:"compact","full-width":"","hide-details":"auto","hide-selected":"","menu-props":{maxHeight:void 0},"no-filter":"","prepend-inner-icon":o.mdiMagnify,variant:"solo","onClick:clear":t[2]||(t[2]=n=>r.doSearch(!0)),"onClick:prependInner":r.doSearch,onKeydown:e.clearSearchHideTimeout,onKeyup:[ae(r.doSearch,["enter"]),ae(r.doBlur,["esc"])],onFocus:e.clearSearchHideTimeout,onBlur:r.doBlur},null,8,["modelValue","menu","items","prepend-inner-icon","onClick:prependInner","onKeydown","onKeyup","onFocus","onBlur"])}const Zs=b(Ks,[["render",Xs]]),Js={name:"BrowserSearchToolbar",components:{BrowserSearchCombobox:Zs},computed:{...v(g,{isSearchOpen:e=>e.isSearchOpen})}};function eo(e,t,s,d,o,r){const n=f("BrowserSearchCombobox");return l(),p(st,null,{default:h(()=>[e.isSearchOpen?(l(),p(W,{key:0,density:"compact",height:64},{default:h(()=>[i(X,{id:"searchToolbarItems"},{default:h(()=>[i(n)]),_:1})]),_:1})):B("",!0)]),_:1})}const to=b(Js,[["render",eo],["__scopeId","data-v-4900943a"]]),ro={name:"BrowserFilterSubMenu",props:{name:{type:String,required:!0}},emits:["selected"],data(){return{mdiChevronLeft:fe,mdiCloseCircleOutline:_e,query:""}},computed:{...v(g,{choices(e){return e.choices.dynamic[this.name]},readingDirectionTitles:e=>e.choices.static.readingDirection,identifierTypeTitles:e=>e.choices.static.identifierType,filter(e){return e.settings.filters[this.name]}}),...ge(g,["filterMode"]),hasNone(){for(const e of this.choices)if(ie.has(e)||e instanceof Object&&ie.has(e.pk))return!0;return!1},vuetifyItems(){return Tt(this.choices,this.query)},title(){return gt(this.name)},lowerTitle(){return this.title.toLowerCase()},filterMenuIcon(){return this.filter&&this.filter.length>0?ot:at},isClearable(){var e;return(e=this.filter)==null?void 0:e.length}},methods:{...T(g,["clearOneFilter","identifierTypeTitle","loadAvailableFilterChoices","loadFilterChoices"]),setUIFilterMode(e){this.filterMode=e,this.query="",e!=="base"&&typeof this.choices!="object"&&this.loadFilterChoices(e)},selected(e){const t={filters:{[this.name]:e}};this.$emit("selected",t)},itemTitle:function(e){return this.name==="readingDirection"?this.readingDirectionTitles[e.value]:this.name==="identifierType"?this.identifierTypeTitle(e.title):e.title},async _loadSubAvailableFilterChoices(){return this.loadAvailableFilterChoices().then(()=>this.loadFilterChoices(this.name))},onClear(){return this.clearOneFilter(this.name).then(()=>this._loadSubAvailableFilterChoices())}}},so={key:0},oo={class:"filterHeader"};function ao(e,t,s,d,o,r){return l(),w("div",null,[i(nt,{"hide-on-leave":""},{default:h(()=>[e.filterMode==="base"?(l(),p(M,{key:0,density:"compact",variant:"plain",title:r.title,"append-icon":r.filterMenuIcon,onClick:t[0]||(t[0]=n=>r.setUIFilterMode(s.name))},null,8,["title","append-icon"])):B("",!0)]),_:1}),i(lt,{"hide-on-leave":""},{default:h(()=>[e.filterMode===s.name?(l(),w("div",so,[a("header",oo,[i(M,{class:"filterHeaderTitle","prepend-icon":o.mdiChevronLeft,title:r.lowerTitle,onClick:t[1]||(t[1]=n=>r.setUIFilterMode("base"))},null,8,["prepend-icon","title"]),r.isClearable?(l(),p(M,{key:0,density:"compact",class:"clearFilter",title:"Clear Filter","append-icon":o.mdiCloseCircleOutline,onClick:r.onClear},null,8,["append-icon","onClick"])):B("",!0),typeof e.choices=="object"?(l(),p(Ot,{key:1,modelValue:o.query,"onUpdate:modelValue":t[2]||(t[2]=n=>o.query=n),placeholder:"Filter","full-width":"",density:"compact",filled:"",rounded:"","hide-details":"auto",onFocus:t[3]||(t[3]=n=>e.filterMode=s.name)},null,8,["modelValue"])):(l(),p(J,{key:2,class:"filterValuesProgress",rounded:"",indeterminate:""}))]),typeof e.choices=="object"?(l(),p(it,{key:0,"model-value":e.filter,class:"filterGroup overflow-y-auto",density:"compact",multiple:"",items:r.vuetifyItems,"onUpdate:selected":r.selected},{default:h(()=>[r.hasNone?(l(),p(M,{key:-1,title:"None",value:-1,class:"noneItem",density:"compact",variant:"plain"})):B("",!0),(l(!0),w(F,null,O(r.vuetifyItems,n=>(l(),p(M,{key:n.value,title:r.itemTitle(n),value:n.value,density:"compact",variant:"plain"},null,8,["title","value"]))),128))]),_:1},8,["model-value","items","onUpdate:selected"])):B("",!0)])):B("",!0)]),_:1})])}const no=b(ro,[["render",ao],["__scopeId","data-v-f1f62462"]]),io={name:"BrowserFilterBySelect",components:{BrowserFilterSubMenu:no,ToolbarSelect:N},extends:N,data(){return{mdiCloseCircleOutline:_e,mdiFilterMultipleOutline:ct,menu:!1}},computed:{...V(g,["filterByChoicesMaxLen","isDynamicFiltersSelected","isFiltersClearable"]),...v(g,{bookmarkChoices:e=>e.choices.static.bookmark,bookmarkFilter:e=>e.settings.filters.bookmark||e.choices.static.bookmark[0],filters:e=>e.settings.filters,filterMenuClass:function(e){let t="filterMenu";return e.filterMode!=="base"&&(t+="Hidden"),t},dynamicChoiceNames:function(e){if(e.choices.dynamic===void 0)return;const t=[];for(const[s,d]of Object.entries(e.choices.dynamic))d&&t.push(s);return t}}),...ge(g,["filterMode"]),padRight(){return this.$vuetify.display.xs&&!this.bookmarkFilter}},methods:{...T(g,["clearFilters","loadAvailableFilterChoices","setSettings"]),onUpdateModelValue(e){const t={filters:{bookmark:e}};this.onSubMenuSelected(t)},onSubMenuSelected(e){this.menu=!1,this.setSettings(e),this.filterMode="base"},onClear(){return this.clearFilters().then(()=>this.loadAvailableFilterChoices()).catch(()=>{console.error("clear filters")})},onMenu(e){e&&this.dynamicChoiceNames===void 0&&this.loadAvailableFilterChoices()}}},lo={class:"codexSelection"};function co(e,t,s,d,o,r){const n=f("BrowserFilterSubMenu"),c=f("ToolbarSelect");return l(),p(c,{menu:o.menu,"onUpdate:menu":[t[0]||(t[0]=m=>o.menu=m),r.onMenu],class:A(["filterBySelect",{filterBySelectXSmall:r.padRight}]),"select-label":"filter by",items:e.bookmarkChoices,"menu-props":{contentClass:e.filterMenuClass,maxHeight:void 0},"model-value":e.bookmarkFilter,"max-select-len":e.filterByChoicesMaxLen-1,"onUpdate:modelValue":r.onUpdateModelValue},{selection:h(({item:m})=>[a("span",lo,S(m.title),1),e.isDynamicFiltersSelected?(l(),p(k,{key:0,class:"filterSuffix",size:"x-small"},{default:h(()=>[u(S(o.mdiFilterMultipleOutline),1)]),_:1})):B("",!0)]),"prepend-item":h(()=>[e.isFiltersClearable?(l(),p(M,{key:0,density:"compact",variant:"plain",class:"clearFilter",title:"Clear All Filters","append-icon":o.mdiCloseCircleOutline,onClick:r.onClear},null,8,["append-icon","onClick"])):B("",!0)]),"append-item":h(()=>[i(D),e.dynamicChoiceNames===void 0?(l(),p(M,{key:0,density:"compact",variant:"plain"},{default:h(()=>[i(J,{indeterminate:"",rounded:""})]),_:1})):e.dynamicChoiceNames.length>0?(l(!0),w(F,{key:1},O(e.dynamicChoiceNames,m=>(l(),p(n,{key:m,name:m,onSelected:r.onSubMenuSelected},null,8,["name","onSelected"]))),128)):(l(),p(M,{key:2,class:"noChoices",density:"compact",variant:"plain",title:"No filters available"}))]),_:1},8,["menu","class","items","menu-props","model-value","max-select-len","onUpdate:modelValue","onUpdate:menu"])}const uo=b(io,[["render",co],["__scopeId","data-v-0d876944"]]),mo={name:"BrowseOrderBySelect",components:{ToolbarSelect:N},extends:N,computed:{...V(g,["orderByChoices","orderByChoicesMaxLen"]),...v(g,{orderBySetting:e=>e.settings.orderBy}),reverseValues(){const e=new Set;for(const t of this.orderByChoices)t.reverse&&e.add(t.value);return e},orderBy:{get(){return this.orderBySetting},set(e){const t={orderBy:e,orderReverse:this.reverseValues.has(e)};this.setSettings(t)}}},methods:{...T(g,["setSettings"])}};function ho(e,t,s,d,o,r){const n=f("ToolbarSelect");return l(),p(n,I({modelValue:r.orderBy,"onUpdate:modelValue":t[0]||(t[0]=c=>r.orderBy=c),class:"orderBySelect","select-label":"order by",items:e.orderByChoices,"max-select-len":e.orderByChoicesMaxLen-4},e.$attrs),null,16,["modelValue","items","max-select-len"])}const po=b(mo,[["render",ho]]),fo={name:"ToolbarButton",components:{ScaleButton:yt}};function _o(e,t,s,d,o,r){const n=f("ScaleButton");return l(),p(n,{variant:"plain",class:"toolbarButton"},pe({_:2},[O(e.$slots,(c,m)=>({name:m,fn:h(y=>[dt(e.$slots,m,I({props:c},y))])}))]),1024)}const we=b(fo,[["render",_o]]),go={name:"BrowseOrderReverseButton",components:{ToolbarButton:we},data(){return{mdiSortVariant:ut}},computed:{...v(g,{orderReverseSetting:e=>e.settings.orderReverse}),title(){return this.orderReverseSetting?"order descending":"order ascending"},iconClasses(){return{inverted:!this.orderReverseSetting}}},methods:{...T(g,["setSettings"]),toggleOrderReverse(){const e={orderReverse:!this.orderReverseSetting};this.setSettings(e)}}};function bo(e,t,s,d,o,r){const n=f("ToolbarButton");return l(),p(n,{class:"orderReverseButton",icon:"",title:r.title,onClick:r.toggleOrderReverse},{default:h(()=>[i(k,{class:A(r.iconClasses)},{default:h(()=>[u(S(o.mdiSortVariant),1)]),_:1},8,["class"])]),_:1},8,["title","onClick"])}const yo=b(go,[["render",bo],["__scopeId","data-v-42884e89"]]),vo={name:"BrowseOrderReverseButton",components:{ToolbarButton:we},data(){return{mdiMagnify:j}},computed:{...v(g,{isSearchOpen:e=>e.isSearchOpen,isQuery:e=>!!e.settings.q})},methods:{...T(g,["setIsSearchOpen"])}};function So(e,t,s,d,o,r){const n=f("ToolbarButton");return e.isSearchOpen?B("",!0):(l(),p(n,I({key:0,class:"searchButton",icon:o.mdiMagnify},e.$attrs,{title:"Search",onClick:t[0]||(t[0]=c=>e.setIsSearchOpen(!0))}),null,16,["icon"]))}const wo=b(vo,[["render",So]]),Bo=new Set(["a","f"]),Co={name:"BrowserTopGroupSelect",components:{ToolbarSelect:N},extends:N,data(){return{DIVIDED_VALUES:Bo}},computed:{...v(g,{topGroupSetting:e=>e.settings.topGroup}),...V(g,["topGroupChoices","topGroupChoicesMaxLen"]),topGroup:{get(){return this.topGroupSetting},set(e){const t={topGroup:e};this.setSettings(t)}}},methods:{...T(g,["setSettings"])}};function To(e,t,s,d,o,r){const n=f("ToolbarSelect");return l(),p(n,{modelValue:r.topGroup,"onUpdate:modelValue":t[0]||(t[0]=c=>r.topGroup=c),class:"topGroupSelect","select-label":"top group",items:e.topGroupChoices,"max-select-len":e.topGroupChoicesMaxLen-2.25},{item:h(({item:c,props:m})=>[o.DIVIDED_VALUES.has(c.value)?(l(),p(D,{key:0})):B("",!0),i(M,I(m,{density:"compact",variant:"plain",title:c.title,value:c.value}),null,16,["title","value"])]),_:1},8,["modelValue","items","max-select-len"])}const ko=b(Co,[["render",To]]),Vo={name:"BrowserTopToolbar",components:{BrowserFilterBySelect:uo,BrowserSearchButton:wo,BrowserTopGroupSelect:ko,BrowserOrderBySelect:po,BrowserOrderReverseButton:yo,SettingsDrawerButton:vt},data(){return{mdiMagnify:j,mdiFamilyTree:mt,browseMode:"filter"}}};function Mo(e,t,s,d,o,r){const n=f("BrowserTopGroupSelect"),c=f("BrowserFilterBySelect"),m=f("BrowserOrderBySelect"),y=f("BrowserOrderReverseButton"),C=f("BrowserSearchButton"),$=f("SettingsDrawerButton");return l(),p(W,{id:"browserToolbarTop",density:"compact",height:48},{default:h(()=>[i(X,{id:"browserToolbarLeftItems"},{default:h(()=>[i(n),i(c),i(m),i(y),i(C)]),_:1}),i(kt),i(X,null,{default:h(()=>[i($)]),_:1})]),_:1})}const $o=b(Vo,[["render",Mo],["__scopeId","data-v-42686e3a"]]),Po={name:"BrowserHeadToolbars",components:{BrowserBreadcrumbsToolbar:zs,BrowserSearchToolbar:to,BrowserTopToolbar:$o,BrowserTitleToolbar:Ys}},Fo={id:"codexHeadToolbarWrapper"};function Io(e,t,s,d,o,r){const n=f("BrowserTopToolbar"),c=f("BrowserSearchToolbar"),m=f("BrowserBreadcrumbsToolbar"),y=f("BrowserTitleToolbar");return l(),w("header",Fo,[i(n,{class:"codexHeadToolbar"}),i(c,{class:"codexHeadToolbar"}),i(m,{class:"codexHeadToolbar"}),i(y,{class:"codexHeadToolbar"})])}const xo=b(Po,[["render",Io],["__scopeId","data-v-508c4760"]]),Do={name:"BrowserNavButton",components:{PaginationNavButton:Vt},props:{back:{type:Boolean,required:!0},more:{type:Boolean,default:!1}},data(){return{mdiChevronLeft:fe,mdiMagnify:j,routeParams:this.$route.params,page:+this.$route.params.page}},computed:{...V(g,["isSearchMode"]),...v(g,{numPages:e=>e.page.numPages}),increment(){return this.back?-1:1},toPage(){return this.page+this.increment},title(){return this.showMore?"Search for More":"Page "+this.toPage},toRoute(){const e=this.toPage;return{params:{...this.routeParams,page:e}}},classes(){return{leftButton:this.back,rightButton:!this.back}},disabled(){return this.back&&this.page<=1||!this.back&&this.page>=this.numPages},showMore(){return this.more&&this.isSearchMode&&this.toPage===this.numPages}},watch:{$route(e){this.params=e.params,this.page=+e.params.page}}};function No(e,t,s,d,o,r){const n=f("PaginationNavButton");return l(),p(n,{key:r.toRoute,class:A(r.classes),disabled:r.disabled,title:r.title,to:r.toRoute},{default:h(()=>[r.showMore?(l(),p(k,{key:0},{default:h(()=>[u(S(o.mdiMagnify),1)]),_:1})):B("",!0),i(k,{class:A({flipHoriz:!s.back})},{default:h(()=>[u(S(o.mdiChevronLeft),1)]),_:1},8,["class"])]),_:1},8,["class","disabled","title","to"])}const Oo=b(Do,[["render",No],["__scopeId","data-v-372671b3"]]),Ro={name:"BrowserNavToolbar",components:{BrowserNavButton:Oo,PaginationSlider:Mt,PaginationToolbar:$t},computed:{...v(g,{numPages:e=>e.page.numPages})},methods:{...T(g,["routeToPage"]),onUpdate(e){this.routeToPage(e)}}};function Ho(e,t,s,d,o,r){const n=f("BrowserNavButton"),c=f("PaginationSlider"),m=f("PaginationToolbar");return e.numPages>1?(l(),p(m,{key:0},{default:h(()=>[i(n,{back:!0}),i(c,{"model-value":+e.$route.params.page,min:1,max:e.numPages,step:1,"onUpdate:modelValue":t[0]||(t[0]=y=>e.routeToPage(y))},null,8,["model-value","max"]),i(n,{back:!1,more:!0})]),_:1})):B("",!0)}const Ao=b(Ro,[["render",Ho]]),Lo={name:"MainBrowser",components:{BrowserHeadToolbars:xo,BrowserMain:Fs,BrowserNavToolbar:Ao,BrowserSettingsDrawer:Gr,Unauthorized:Dt},computed:{...v(P,{user:e=>e.user}),...V(P,["isAuthorized"])},watch:{$route(e){var t;window.scrollTo(0,0),this.setPageMtime((t=e==null?void 0:e.query)==null?void 0:t.ts),this.loadBrowserPage()},user(){this.loadSettings()},isAuthorized(){this.loadSettings()}},created(){this.loadSettings()},methods:{...T(g,["loadBrowserPage","loadSettings","setPageMtime"])}};function Uo(e,t,s,d,o,r){const n=f("BrowserHeadToolbars"),c=f("BrowserMain"),m=f("BrowserNavToolbar"),y=f("BrowserSettingsDrawer"),C=f("Unauthorized");return e.isAuthorized?(l(),p(be,{key:0,id:"browser"},{default:h(()=>[i(n),i(c),i(m),i(y)]),_:1})):(l(),p(C,{key:1}))}const na=b(Lo,[["render",Uo],["__scopeId","data-v-4a8fba7b"]]);export{na as default};
@@ -1 +0,0 @@
1
- import{_ as b,aK as Ce,aL as Te,aM as ce,aN as ke,Z as f,$ as l,Y as p,a0 as h,T as i,aq as I,aO as a,aE as w,aF as O,aG as S,V as F,ak as u,aP as k,aQ as de,aR as ue,aS as me,aD as V,q as P,W as v,X as T,aT as U,aU as Y,aI as B,aV as D,aW as Ve,ap as Me,aX as $e,aY as M,aZ as re,a_ as se,a$ as Pe,b0 as oe,b1 as Fe,F as G,N as q,b2 as Ie,aw as Z,b3 as xe,P as E,b4 as De,b5 as Ne,au as Oe,S as z,b6 as Re,b7 as He,b8 as J,b9 as Ae,ba as Le,al as A,bb as Ue,bc as Ge,h as Q,ao as qe,bd as Ee,av as ze,be as je,ay as We,az as x,ax as Ye,bf as Qe,aB as Ke,bg as Xe,l as Ze,bh as he,bi as Je,bj as et,bk as tt,bl as rt,bm as pe,bn as j,bo as ae,bp as st,bq as fe,br as _e,bs as ge,bt as ot,bu as at,bv as nt,bw as it,bx as lt,by as ct,bz as dt,bA as ut,bB as mt}from"./admin-drawer-panel-THbQH8zq.js";import{V as ht}from"./VTable-Lfc0i15y.js";import{V as pt}from"./VDialog-CHWtsyYh.js";import{u as g,f as K,g as ft,a as _t,c as gt}from"./main-Dch6DDCJ.js";import{V as L}from"./VCheckbox-Bf5gdxZe.js";import{b as bt,a as W,V as ne,c as yt,S as vt}from"./settings-drawer-CQ_uhEuE.js";import{M as St,p as wt,B as Bt,g as Ct,V as X,N as ie,t as Tt,T as N,a as kt,P as Vt,b as Mt,c as $t}from"./pagination-toolbar-DXg1CvH6.js";import{C as Pt}from"./confirm-dialog-CxwshFZG.js";import{V as Ft}from"./VSelect-Z04T1ZKO.js";import{E as It,P as xt,V as be,U as Dt}from"./unauthorized-BdPK_Sdi.js";import{V as Nt}from"./VCombobox-C_LpolHU.js";import{V as Ot}from"./VTextField-B4VKy44x.js";import"./VCheckboxBtn-8Kva6jyD.js";import"./VSelectionControl-DKw4TKuO.js";import"./copy-to-clipboard-DoUvDJVx.js";import"./VSlideGroup-B5C2lA7c.js";import"./change-password-dialog-DmP85-rP.js";import"./filter-Ds3JJmu2.js";const Rt=[["characters","CSV","category"],["community_rating","Decimal","communityrating"],["contributor","CSV","author, creator, credit, person, people"],["country","String"],["created_at","DateTime","created"],["critical_rating","Decimal","criticalrating"],["day","Integer"],["date","Date"],["decade","Integer"],["file_type","String","type"],["genres","CSV","genre"],["identifier","CSV","id, nss"],["identifier_type","CSV","id_type, nid"],["imprint","String"],["issue","String","(Combined issue_number and issue_suffix)"],["issue_number","Decimal","number"],["issue_suffix","String"],["language","String"],["location","CSV","location"],["maturity_rating","String"],["monochrome","String","blackandwhite"],["month","Integer"],["reading_direction","String","direction"],["name","String","title"],["notes","String"],["original_format","String","format, orginalformat"],["path","String","folder, folders"],["page_count","Integer","pages, pagecount"],["publisher","String"],["reading_direction","String","direction"],["review","String"],["scan_info","String","scan, scaninfo"],["series","String"],["series_groups","CSV","seriesgroups"],["size","Integer"],["stories","CSV","story"],["story_arcs","CSV","storyarcs"],["summary","String","comments, description"],["tags","CSV","tag"],["tagger","String"],["teams","CSV","team"],["updated_at","Date","updated"],["volume","String"],["web","String"],["year","Integer"]],Ht={name:"SearchHelp",components:{CloseButton:Ce,DrawerItem:Te},data(){return{mdiOpenInNew:ce,mdiArchiveSearchOutline:ke,dialog:!1,FIELD_ROWS:Rt}}},_=e=>(de("data-v-3154aac0"),e=e(),ue(),e),At={id:"searchHelp"},Lt=_(()=>a("h1",null,"Search Help",-1)),Ut={id:"fieldTableContainer"},Gt=_(()=>a("h2",null,"Search Fields",-1)),qt=_(()=>a("thead",null,[a("tr",null,[a("th",null,"Field"),a("th",null,"Type"),a("th",null,"Aliases")])],-1)),Et={class:"aliasCol"},zt={id:"textContainer"},jt=_(()=>a("h2",null,"Whoosh Query Parser",-1)),Wt={href:"https://whoosh.readthedocs.io/en/latest/querylang.html",target:"_blank"},Yt=_(()=>a("h2",null,"Operators",-1)),Qt=_(()=>a("code",null,"and",-1)),Kt=_(()=>a("code",null,"or",-1)),Xt=_(()=>a("code",null,"not",-1)),Zt=_(()=>a("code",null,"andnot",-1)),Jt=_(()=>a("code",null,"andmaybe",-1)),er=_(()=>a("code",null,"require",-1)),tr=_(()=>a("h2",null,"Searching Fields",-1)),rr=_(()=>a("p",null,[u(" Like Codex's filter selector menu, but more powerful. You may search on individual comic metadata fields. using a search token like "),a("code",null,"field:value"),u(". ")],-1)),sr=_(()=>a("h3",null,"Dates and DateTimes",-1)),or={href:"https://whoosh.readthedocs.io/en/latest/dates.html#parsing-date-queries",target:"_blank"},ar=_(()=>a("code",null,"YYYYMMDD",-1)),nr=_(()=>a("code",null,"YYYMMDDHHmmSS",-1)),ir=_(()=>a("h3",null,"Single Quote complex field Queries",-1)),lr=_(()=>a("p",null,[u(" Use "),a("em",null,"single"),u(" quotes to tell Codex that a complex or natural language phrase should be applied to a specific field ")],-1)),cr=_(()=>a("code",null," created:'this year' ",-1)),dr=_(()=>a("h3",null,"Size Byte Multipliers",-1)),ur=_(()=>a("p",null,[u(" The size field can make use of convenient byte multiplier suffixes like "),a("code",null,"kb"),u(" and "),a("code",null,"mb"),u(" as well as binary suffixes like "),a("code",null,"gib"),u(" and "),a("code",null,"tib"),u(". ")],-1)),mr=_(()=>a("h3",null,"Ranges of Fields",-1)),hr=_(()=>a("p",null,[u(" Whoosh uses brackets and the "),a("em",null,"uppercase"),u(" "),a("code",null,"TO"),u(" operator to delineate a range search. ")],-1)),pr=_(()=>a("code",null,"updated:[last sunday TO 10am]",-1)),fr=_(()=>a("p",null," You may leave out the upper or lower bound or use >, <, >=, <= operators. ",-1)),_r=_(()=>a("code",null,"size:<50mb",-1)),gr=_(()=>a("h3",null,"Multi Value Fields",-1)),br=_(()=>a("p",null,[u(" Fields marked type "),a("code",null,"CSV"),u(" in the table to the left may contain comma separated values. This filters by all the supplied values. Multi Value tokens look like: "),a("code",null,"field:term1,term2,term3")],-1)),yr=_(()=>a("h2",null,"Grouped Queries",-1)),vr=_(()=>a("p",null,"Whoosh allows grouping of queries with parenthesis.",-1)),Sr=_(()=>a("h2",null,"Example Search",-1)),wr=_(()=>a("p",null," This example search is more convoluted than most searches but uses many features for demonstration: ",-1)),Br=_(()=>a("code",null,' (Holmes and Tesla date:>=1999-1-2 size:[10mib TO 1gb] Gadzooks) or "Captain Nemo" -Quartermain ',-1)),Cr=_(()=>a("p",{style:{"margin-top":"1em"}},' Search for comics that contain Holmes and Tesla published after the second day of 1999 that are between 10 Mebibytes and 10 Gigabytes that also contain the word "Gadzooks" but also all comics with the the phrase "Captain Nemo" but no comics will contain the word "Quartermain". ',-1)),Tr=_(()=>a("h2",null,"Group and Sorting Behavior",-1)),kr=_(()=>a("p",null," If the search field is empty and then you supply a search query for the first time, Codex navigates you to the to All Issues view and your sets your Sorted By selection to Search Score. If you prefer a different view you may change the group and sort selections after your you make your first search. ",-1)),Vr=_(()=>a("h2",null,"Filter Behavior",-1)),Mr=_(()=>a("p",null,[u(" Codex applies "),a("em",null,"both"),u(" the Filter selection menu filters "),a("em",null,"and"),u(" the search query field filters to the search. Be sure to clear the filter selector or the search field if you prefer to apply only one of them. ")],-1)),$r=_(()=>a("h2",null,"Faster Browsing and Searching",-1)),Pr=_(()=>a("p",null,' Browsing large collections using the group tree and filter dropdown is relatively fast. Searching with the search bar will always be slower. To aid search speed there is a setting for limiting search results which can help with large collections. To see all results, choose Search Result Limit: "Unlimited". ',-1));function Fr(e,t,s,d,o,r){const n=f("DrawerItem"),c=f("CloseButton");return l(),p(pt,{modelValue:o.dialog,"onUpdate:modelValue":t[2]||(t[2]=m=>o.dialog=m),"content-class":"browserSearchHelp",fullscreen:"",scrim:!1,transition:"dialog-bottom-transition"},{activator:h(({props:m})=>[i(n,I(m,{"prepend-icon":o.mdiArchiveSearchOutline,title:"Search Help"}),null,16,["prepend-icon"])]),default:h(()=>[a("div",At,[i(c,{class:"closeButton",title:"Close Help (esc)",size:"x-large",onClick:t[0]||(t[0]=m=>o.dialog=!1)}),Lt,a("div",Ut,[Gt,i(ht,{id:"fieldTable",class:"highlight-table"},{default:h(()=>[qt,a("tbody",null,[(l(!0),w(F,null,O(o.FIELD_ROWS,m=>(l(),w("tr",{key:m[0]},[a("td",null,S(m[0]),1),a("td",null,S(m[1]),1),a("td",Et,S(m[2]||""),1)]))),128))])]),_:1})]),a("div",zt,[jt,a("p",null,[u(" Codex uses the Whoosh search engine to execute your text search queries. Whoosh operates much like other familiar search engines. As such, only some special features are documented on this page. To understand its full power, users are encouraged to read the "),a("a",Wt,[u("Whoosh Query Language "),i(k,{size:"small"},{default:h(()=>[u(S(o.mdiOpenInNew),1)]),_:1})]),u(" documentation. ")]),Yt,u(" Whoosh has the "),Qt,u(", "),Kt,u(", "),Xt,u(", "),Zt,u(", "),Jt,u(", and "),er,u(" operators. "),tr,rr,sr,a("p",null,[u(" Whoosh parses Dates and DateTime values liberally. Read "),a("a",or,[u("Whoosh Parsing Date Queries "),i(k,{size:"small"},{default:h(()=>[u(S(o.mdiOpenInNew),1)]),_:1})]),u(" documentation for what formats and natural language phrases are accepted. If the format you try fails, the "),ar,u(" and "),nr,u(" formats are reliable. ")]),ir,lr,cr,dr,ur,mr,hr,pr,u(". "),fr,_r,u(". "),gr,br,yr,vr,Sr,wr,Br,Cr,Tr,kr,Vr,Mr,$r,Pr]),i(c,{class:"closeButton",title:"Close Help (esc)",size:"x-large",onClick:t[1]||(t[1]=m=>o.dialog=!1)})])]),_:1},8,["modelValue"])}const Ir=b(Ht,[["render",Fr],["__scopeId","data-v-3154aac0"]]),xr="rpisv",Dr={name:"BrowserSettingsPanel",components:{SearchHelp:Ir},data(){return{mdiReload:me,openDelay:2e3}},computed:{...V(P,["isAuthorized"]),...v(P,{isUserAuthorized:e=>!!e.user}),...v(g,{groupChoices:e=>{var t,s;return((s=(t=e.choices)==null?void 0:t.static)==null?void 0:s.settingsGroup)||{}},showSettings:e=>{var t;return((t=e.settings)==null?void 0:t.show)||{}},twentyFourHourTime:e=>{var t;return((t=e.settings)==null?void 0:t.twentyFourHourTime)||!1},twentyFourHourTimeTitle:e=>{var t,s,d;return((d=(s=(t=e.choices)==null?void 0:t.static)==null?void 0:s.twentyFourHourTime)==null?void 0:d.title)||""},dynamicCovers:e=>{var t;return((t=e.settings)==null?void 0:t.dynamicCovers)||!1},customCovers:e=>{var t;return((t=e.settings)==null?void 0:t.customCovers)||!1}}),showShowSettings(){var e,t;return xr.includes((t=(e=this.$route)==null?void 0:e.params)==null?void 0:t.group)}},methods:{...T(g,["loadMtimes","setSettings"]),setShow(e,t){const s={show:{[e]:t===!0}};this.setSettings(s)},set24HourTime(e){const t={twentyFourHourTime:e===!0};this.setSettings(t)},setDynamicCovers(e){const t={dynamicCovers:e===!0};this.setSettings(t)},setCustomCovers(e){const t={customCovers:e===!0};this.setSettings(t)}}},ye=e=>(de("data-v-ba990a67"),e=e(),ue(),e),Nr={key:0,id:"showSettings"},Or=ye(()=>a("h4",{class:"settingsHeader"},"Show Group Levels",-1)),Rr=ye(()=>a("h4",{class:"settingsHeader"},"Covers",-1));function Hr(e,t,s,d,o,r){const n=f("SearchHelp");return l(),w(F,null,[r.showShowSettings?U((l(),w("div",Nr,[Or,(l(!0),w(F,null,O(e.groupChoices,c=>(l(),p(L,{key:c.title,class:"browserGroupCheckbox",density:"compact","hide-details":"auto","model-value":e.showSettings[c.value],"true-value":!0,label:`Show ${c.title}`,"onUpdate:modelValue":m=>r.setShow(c.value,m)},null,8,["model-value","label","onUpdate:modelValue"]))),128))])),[[Y,{openDelay:o.openDelay,text:"Show these groups when navigating the browse tree"}]]):B("",!0),i(D),a("div",null,[Rr,U(i(L,{class:"browserGroupCheckbox",density:"compact","hide-details":"auto","model-value":e.dynamicCovers,"true-value":!0,label:"Dynamic Covers","onUpdate:modelValue":t[0]||(t[0]=c=>r.setDynamicCovers(c))},null,8,["model-value"]),[[Y,{openDelay:o.openDelay,text:"Choose covers by filters, search, and order"}]]),U(i(L,{class:"browserGroupCheckbox",density:"compact","hide-details":"auto","model-value":e.customCovers,"true-value":!0,label:"Custom Covers","onUpdate:modelValue":t[1]||(t[1]=c=>r.setCustomCovers(c))},null,8,["model-value"]),[[Y,{openDelay:o.openDelay,text:"Overlay custom covers if the admin has set them."}]])]),i(D),i(n),i(D),i(L,{class:"browserGroupCheckbox",density:"compact","hide-details":"auto","model-value":e.twentyFourHourTime,"true-value":!0,indeterminate:"",label:"Force 24 Hour Time","onUpdate:modelValue":t[2]||(t[2]=c=>r.set24HourTime(c))},null,8,["model-value"]),i(D)],64)}const Ar=b(Dr,[["render",Hr],["__scopeId","data-v-ba990a67"]]),Lr={name:"BrowserSettingsDrawer",components:{SettingsDrawer:bt,BrowserSettingsPanel:Ar}};function Ur(e,t,s,d,o,r){const n=f("BrowserSettingsPanel"),c=f("SettingsDrawer");return l(),p(c,{title:"Browser",temporary:"","disable-resize-watcher":""},{panel:h(()=>[i(n)]),_:1})}const Gr=b(Lr,[["render",Ur]]),qr={name:"BrowserContainerMenu",components:{ConfirmDialog:Pt},props:{item:{type:Object,required:!0}},data(){return{mdiDotsVertical:Ve,showMenu:!1}},computed:{...v(g,{groupNames:e=>e.choices.static.groupNames}),verb(){return this.item.finished?"Unread":"Read"},confirmText(){return`Mark ${this.verb}`},markReadText(){const e=["Mark"];this.item.group!="c"&&e.push("Entire");let t=this.groupNames[this.item.group];return this.item.group!=="s"&&(t=t.slice(0,-1)),e.push(t,this.verb),e.join(" ")},itemName(){return this.item.name?this.item.name:"(Empty)"}},methods:{...T(g,["setBookmarkFinished"]),toggleRead:function(){this.setBookmarkFinished(this.item,!this.item.finished),this.showMenu=!1}}},Er={class:"background-soft-highlight"};function zr(e,t,s,d,o,r){const n=f("ConfirmDialog");return l(),p(Ft,{modelValue:o.showMenu,"onUpdate:modelValue":t[2]||(t[2]=c=>o.showMenu=c),"offset-y":"",top:""},{activator:h(({props:c})=>[i(Me,I({"aria-label":"action menu",class:"browserCardMenuIcon cardControlButton",icon:"",title:"Action Menu",variant:"text"},c,{onClick:t[0]||(t[0]=$e(()=>{},["prevent"]))}),{default:h(()=>[i(k,null,{default:h(()=>[u(S(o.mdiDotsVertical),1)]),_:1})]),_:2},1040)]),default:h(()=>[a("div",Er,[s.item.group==="c"?(l(),p(M,{key:0,title:r.markReadText,onClick:r.toggleRead},null,8,["title","onClick"])):(l(),p(n,{key:1,"button-text":r.markReadText,"title-text":r.markReadText,"confirm-text":r.confirmText,"object-name":r.itemName,onConfirm:r.toggleRead,onCancel:t[1]||(t[1]=c=>o.showMenu=!1)},null,8,["button-text","title-text","confirm-text","object-name","onConfirm"]))])]),_:1},8,["modelValue"])}const jr=b(qr,[["render",zr]]),Wr={name:"BrowserCardControls",components:{BrowserCardMenu:jr,MetadataButton:St},props:{item:{type:Object,required:!0},eyeOpen:{type:Boolean,required:!0}},data(){return{mdiEye:re,mdiEyeOff:se}},computed:{eyeIcon:function(){return this.eyeOpen?re:se}}},Yr={class:"cardControls"};function Qr(e,t,s,d,o,r){const n=f("MetadataButton"),c=f("BrowserCardMenu");return l(),w("div",Yr,[s.item.group==="c"?(l(),p(k,{key:0,class:"eye"},{default:h(()=>[u(S(r.eyeIcon),1)]),_:1})):B("",!0),i(n,{group:s.item.group,book:s.item,children:s.item.childCount},null,8,["group","book","children"]),i(c,{item:s.item},null,8,["item"])])}const Kr=b(Wr,[["render",Qr],["__scopeId","data-v-6f2c700a"]]),Xr=new Set(["community_rating","critical_rating"]),Zr=new Set(["date"]),Jr=new Set(["bookmark_updated_at","created_at","updated_at"]),es={name:"OrderByCaption",props:{item:{type:Object,required:!0}},computed:{...v(g,{orderBy:e=>e.settings.orderBy,twentyFourHourTime:e=>e.settings.twentyFourHourTime,topGroup:e=>e.settings.topGroup}),orderValue(){let e=this.item.orderValue;try{if(this.orderBy===void 0||this.orderBy===null||this.orderBy==="sort_name"&&(this.item.group!=="c"||this.topGroup!=="f")||this.orderBy==="filename"&&this.item.group==="f"||this.orderBy==="story_arc_number"&&this.item.group==="a"||e===null||e===void 0)e="";else if(Zr.has(this.orderBy)){const t=new Date(e);e=Pe.format(t)}else this.orderBy=="search_score"?e=oe.format(Math.round(Number.parseFloat(e)*10)):Jr.has(this.orderBy)?e=Fe(e,this.twentyFourHourTime,!0):this.orderBy=="page_count"?e=`${oe.format(e)} pages`:this.orderBy=="size"?e=wt(Number.parseInt(e,10)):Xr.has(this.orderBy)&&(e=`★ ${e}`)}catch(t){console.debug(t)}return e}}},ts=["innerHTML"];function rs(e,t,s,d,o,r){return r.orderValue?(l(),w("div",{key:0,class:"orderCaption text-caption",innerHTML:r.orderValue},null,8,ts)):B("",!0)}const ss=b(es,[["render",rs],["__scopeId","data-v-81602057"]]),os={name:"BrowserCardSubtitle",props:{item:{type:Object,required:!0}},computed:{...v(g,{orderByName:e=>e.settings.orderBy=="sort_name",topGroup:e=>e.settings.topGroup,showSeries:e=>e.settings.show.s,showVolume:e=>e.settings.show.v,zeroPad:e=>e.page.zeroPad}),seriesName(){return(this.topGroup==="a"||this.orderByName&&!this.showSeries)&&["c","v"].includes(this.item.group)&&this.item.seriesName?this.item.seriesName:!1},volumeName(){return(this.topGroup==="a"||this.orderByName&&!this.showVolume)&&this.item.group==="c"&&this.item.volumeName?K(this.item.volumeName):!1},headerName:function(){let e;switch(this.item.group){case"i":e=this.item.publisherName;break;case"v":e=this.item.seriesName;break;case"c":e=this.$route.params.group==="f"?ft(this.item,this.zeroPad):_t(this.item,this.zeroPad);break;default:e=""}return e&&this.item.ids&&this.item.ids.length>1?"(Multiple)":e},displayName:function(){return this.item.group==="v"?K(this.item.name):this.item.name},linkLabel:function(){let e="";return e+=this.item.group==="c"?"Read":"Browse to",e+=" "+this.headerName,e}}},as={class:"browserLink cardSubtitle text-caption"},ns={key:0,class:"seriesCaption"},is={key:1,class:"volumeCaption"},ls={key:2,class:"headerName"},cs={class:"displayName"};function ds(e,t,s,d,o,r){return l(),w("div",as,[r.seriesName?(l(),w("div",ns,S(r.seriesName),1)):B("",!0),r.volumeName?(l(),w("div",is,S(r.volumeName),1)):B("",!0),r.headerName?(l(),w("div",ls,S(r.headerName),1)):B("",!0),a("div",cs,S(r.displayName),1)])}const us=b(os,[["render",ds],["__scopeId","data-v-a9a0493b"]]),ms=["iPad","iPhone","iPod"],ve="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0||window.matchMedia("(any-hover: none)").matches,hs=ms.some(e=>navigator.userAgent.includes(e))||ve&&navigator.userAgent.includes("Mac OS"),ps=G({modelValue:Boolean,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},...q(),...Ie(),...Z(),...xe({transition:"fade-transition"})},"VLazy"),fs=E()({name:"VLazy",directives:{intersect:De},props:ps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:s}=t;const{dimensionStyles:d}=Ne(e),o=Oe(e,"modelValue");function r(n){o.value||(o.value=n)}return z(()=>U(i(e.tag,{class:["v-lazy",e.class],style:[d.value,e.style]},{default:()=>[o.value&&i(He,{transition:e.transition,appear:!0},{default:()=>{var n;return[(n=s.default)==null?void 0:n.call(s)]}})]}),[[Re("intersect"),{handler:r,options:e.options},null]])),{}}}),le=100,_s=-170,gs={name:"BrowserCard",components:{BookCover:Bt,BrowserCardControls:Kr,BrowserCardSubtitle:us,OrderByCaption:ss},props:{item:{type:Object,required:!0}},data(){return{doubleTapHovered:!ve||hs}},computed:{...v(g,{importMetadata:e=>e.page.adminFlags.importMetadata}),linkLabel(){let e="";return e+=this.item.group==="c"?"Read":"Browse to",e+=" "+this.item.name,e},ids(){return this.item.ids.join(",")},toRoute(){return this.doubleTapHovered?this.item.group==="c"?Ct(this.item,this.importMetadata):{name:"browser",params:{group:this.item.group,pks:this.ids,page:1},query:{ts:this.item.mtime}}:{}},progressBGOpacity(){return this.item.progress?.1:0}},mounted(){this.scrollToMe()},methods:{scrollToMe:function(){if(!this.$route.hash||this.$route.hash.split("-")[1]!==String(this.ids))return;const e=this.$el;if(!e){console.warn("No element found to scroll to!");return}setTimeout(function(){e.scrollIntoView(),setTimeout(function(){window.scrollBy(0,_s)},le)},le)}}},bs={class:"browserCardTop"},ys={class:"cardFooter"};function vs(e,t,s,d,o,r){const n=f("BookCover"),c=f("BrowserCardControls"),m=f("router-link"),y=f("BrowserCardSubtitle"),C=f("OrderByCaption");return l(),p(fs,{id:`card-${r.ids}`,transition:"scale-transition"},{default:h(()=>[a("div",{class:"browserCardCoverWrapper",onClick:t[0]||(t[0]=$=>o.doubleTapHovered=!0)},[a("div",bs,[i(n,{group:s.item.group,pks:s.item.ids,mtime:s.item.mtime,"child-count":s.item.childCount,finished:s.item.finished},null,8,["group","pks","mtime","child-count","finished"]),i(m,{class:"cardCoverOverlay",to:r.toRoute,"aria-label":r.linkLabel},{default:h(()=>[i(c,{item:s.item,"eye-open":!!r.toRoute},null,8,["item","eye-open"])]),_:1},8,["to","aria-label"])]),i(J,{class:"bookCoverProgress","bg-opacity":r.progressBGOpacity,"model-value":s.item.progress,"aria-label":`${s.item.progress}% read`,rounded:"",height:"2"},null,8,["bg-opacity","model-value","aria-label"]),a("footer",ys,[i(y,{item:s.item},null,8,["item"]),i(C,{item:s.item},null,8,["item"])])])]),_:1},8,["id"])}const Ss=b(gs,[["render",vs],["__scopeId","data-v-635f5a8b"]]),ws={name:"BrowserEmptyResults",components:{EmptyState:It},data(){return{mdiOpenInNew:ce}},computed:{...V(P,["isAuthorized","isUserAdmin"]),...v(P,{registration:e=>e.adminFlags.registration}),...V(g,["isFiltersClearable"]),...v(g,{librariesExist:e=>e.page.librariesExist}),empty(){let e={};return this.librariesExist?(e.headline="No Comics Found",e.title="For these filter and search settings",e.icon=Ae):(e.headline="No Libraries Exist",this.isUserAdmin?e.title="Use the top right ☰ menu to navigate to the admin panel and add a comic library":this.isAuthorized?e.title="An administrator must add some comics libraries":e.title="Use the top right ☰ menu to log in as an administrator to add libraries",e.icon=Le),e},showLinkToReadmeAdmin(){return!this.librariesExist&&this.isUserAdmin},actionText(){return this.isFiltersClearable?"Clear Filters and Search":""}},methods:{...T(g,["clearFilters"])}},Bs={key:0},Cs={href:"https://github.com/ajslater/codex#-administration",target:"_blank"};function Ts(e,t,s,d,o,r){const n=f("EmptyState");return l(),p(n,{class:"browserEmpty",headline:r.empty.headline,title:r.empty.title,icon:r.empty.icon,"action-text":r.actionText,"onClick:action":t[0]||(t[0]=c=>e.clearFilters(!0))},{default:h(()=>[r.showLinkToReadmeAdmin?(l(),w("div",Bs,[u(" See the "),a("a",Cs,[u("README "),i(k,null,{default:h(()=>[u(S(o.mdiOpenInNew),1)]),_:1})]),u(" for help ")])):B("",!0)]),_:1},8,["headline","title","icon","action-text"])}const ks=b(ws,[["render",Ts]]),Vs={name:"BrowserMain",components:{BrowserCard:Ss,BrowserEmptyState:ks,PlaceholderLoading:xt},computed:{...v(P,{nonUsers:e=>e.adminFlags.nonUsers}),...V(P,["isAuthorized"]),...V(g,["isSearchMode"]),...v(g,{librariesExist:e=>e.page.librariesExist,showPlaceHolder(e){return this.nonUsers===void 0||this.isAuthorized&&(this.librariesExist==null||!e.browserPageLoaded)},cards:e=>[...e.page.groups??[],...e.page.books??[]],numPages:e=>e.page.numPages,query:e=>e.settings.q,isSearchOpen:e=>e.isSearchOpen}),browsePaneClasses(){return{padFooter:this.numPages>1,browsePaneSearch:this.isSearchOpen}},showBrowseItems(){return this.cards&&this.cards.length>0&&this.isAuthorized&&!this.showPlaceHolder},searchLimitMessage(){let e="";if(!this.query)return e;const t=+this.$route.params.page,s=100*t;return this.showPlaceHolder?e+=`Searching for ${s} entries...`:this.numPages>t&&(e+=`Search results truncated to ${s} entries.`,e+=" Advance the page to look for more."),e}}},Ms={key:0,id:"browsePaneContainer"},$s={key:3,id:"searchLimitMessage",title:"You may change this in the settings drawer"};function Ps(e,t,s,d,o,r){const n=f("BrowserCard"),c=f("PlaceholderLoading"),m=f("BrowserEmptyState");return l(),p(be,{id:"browsePane",class:A(r.browsePaneClasses)},{default:h(()=>[r.showBrowseItems?(l(),w("div",Ms,[(l(!0),w(F,null,O(e.cards,y=>(l(),p(n,{key:`${y.group}${y.ids}`,item:y},null,8,["item"]))),128))])):e.showPlaceHolder?(l(),p(c,{key:1,class:"placeholder"})):(l(),p(m,{key:2})),r.searchLimitMessage?(l(),w("div",$s,S(r.searchLimitMessage),1)):B("",!0)]),_:1},8,["class"])}const Fs=b(Vs,[["render",Ps],["__scopeId","data-v-142eedfa"]]),Is=G({divider:[Number,String],...q()},"VBreadcrumbsDivider"),xs=E()({name:"VBreadcrumbsDivider",props:Is(),setup(e,t){let{slots:s}=t;return z(()=>{var d;return i("li",{class:["v-breadcrumbs-divider",e.class],style:e.style},[((d=s==null?void 0:s.default)==null?void 0:d.call(s))??e.divider])}),{}}}),Ds=G({active:Boolean,activeClass:String,activeColor:String,color:String,disabled:Boolean,title:String,...q(),...Ue(),...Z({tag:"li"})},"VBreadcrumbsItem"),Se=E()({name:"VBreadcrumbsItem",props:Ds(),setup(e,t){let{slots:s,attrs:d}=t;const o=Ge(e,d),r=Q(()=>{var y;return e.active||((y=o.isActive)==null?void 0:y.value)}),n=Q(()=>r.value?e.activeColor:e.color),{textColorClasses:c,textColorStyles:m}=qe(n);return z(()=>i(e.tag,{class:["v-breadcrumbs-item",{"v-breadcrumbs-item--active":r.value,"v-breadcrumbs-item--disabled":e.disabled,[`${e.activeClass}`]:r.value&&e.activeClass},c.value,e.class],style:[m.value,e.style],"aria-current":r.value?"page":void 0},{default:()=>{var y,C;return[o.isLink.value?i("a",{class:"v-breadcrumbs-item--link",href:o.href.value,"aria-current":r.value?"page":void 0,onClick:o.navigate},[((C=s.default)==null?void 0:C.call(s))??e.title]):((y=s.default)==null?void 0:y.call(s))??e.title]}})),{}}}),Ns=G({activeClass:String,activeColor:String,bgColor:String,color:String,disabled:Boolean,divider:{type:String,default:"/"},icon:Ee,items:{type:Array,default:()=>[]},...q(),...ze(),...je(),...Z({tag:"ul"})},"VBreadcrumbs"),Os=E()({name:"VBreadcrumbs",props:Ns(),setup(e,t){let{slots:s}=t;const{backgroundColorClasses:d,backgroundColorStyles:o}=We(x(e,"bgColor")),{densityClasses:r}=Ye(e),{roundedClasses:n}=Qe(e);Ke({VBreadcrumbsDivider:{divider:x(e,"divider")},VBreadcrumbsItem:{activeClass:x(e,"activeClass"),activeColor:x(e,"activeColor"),color:x(e,"color"),disabled:x(e,"disabled")}});const c=Q(()=>e.items.map(m=>typeof m=="string"?{item:{title:m},raw:m}:{item:m,raw:m}));return z(()=>{const m=!!(s.prepend||e.icon);return i(e.tag,{class:["v-breadcrumbs",d.value,r.value,n.value,e.class],style:[o.value,e.style]},{default:()=>{var y;return[m&&i("li",{key:"prepend",class:"v-breadcrumbs__prepend"},[s.prepend?i(Xe,{key:"prepend-defaults",disabled:!e.icon,defaults:{VIcon:{icon:e.icon,start:!0}}},s.prepend):i(k,{key:"prepend-icon",start:!0,icon:e.icon},null)]),c.value.map((C,$,ee)=>{var te;let{item:R,raw:Be}=C;return i(F,null,[((te=s.item)==null?void 0:te.call(s,{item:R,index:$}))??i(Se,I({key:$,disabled:$>=ee.length-1},typeof R=="string"?{title:R}:R),{default:s.title?()=>{var H;return(H=s.title)==null?void 0:H.call(s,{item:R,index:$})}:void 0}),$<ee.length-1&&i(xs,null,{default:s.divider?()=>{var H;return(H=s.divider)==null?void 0:H.call(s,{item:Be,index:$})}:void 0})])}),(y=s.default)==null?void 0:y.call(s)]}})}),{}}}),Rs={f:"Folder",a:"Story Arc",r:"Top",p:"Publisher",i:"Imprint",s:"Series",v:"Volume"},Hs={f:Je,r:he,p:et,i:tt,s:rt},As={name:"BrowserBreadcrumbs",computed:{...v(g,{breadcrumbs(e){const t=[],s=e.settings.breadcrumbs.slice(0,e.settings.breadcrumbs.length-1);if(!s)return t;let d="";for(const o of s){const r=this.getTo(o,d),n=o.name?o.name:"",c=o.group,m=this.getIcon(o.pks,n,c),y=o.pks==="0"?"Top":Rs[c],C={to:r,title:n,icon:m,tooltip:y};t.push(C),d=o.pks}return t}})},methods:{getTo(e,t){const s=Ze(e);delete s.name;const d={name:"browser",params:s};return t&&(d.hash=`#card-${t}`),d},getIcon(e,t,s){let d;return"rfa".indexOf(s)!=-1&&e==="0"?d=he:t?d="":d=Hs[s],d}}},Ls={key:1};function Us(e,t,s,d,o,r){return l(),p(Os,{id:"browserBreadcrumbs",density:"compact",items:e.breadcrumbs},{item:h(({item:n})=>[i(Se,{to:n.to,title:n.tooltip},{default:h(()=>[n.icon?(l(),p(k,{key:0},{default:h(()=>[u(S(n.icon),1)]),_:2},1024)):(l(),w("span",Ls,S(n.title),1))]),_:2},1032,["to","title"])]),_:1},8,["items"])}const Gs=b(As,[["render",Us],["__scopeId","data-v-b8e7faf5"]]),qs={name:"BrowserHeader",components:{Breadcrumbs:Gs}};function Es(e,t,s,d,o,r){const n=f("Breadcrumbs");return l(),p(W,{id:"breadcrumbsToolbar",height:24,class:"titleToolbar",elevation:"8"},{default:h(()=>[i(n)]),_:1})}const zs=b(qs,[["render",Es],["__scopeId","data-v-fd83bc5e"]]),js={name:"BrowserHeader",data(){return{mdiReload:me}},head(){return{meta:[{hid:"description",name:"description",content:["browse comics",this.longBrowserTitlePrefix,this.longBrowseTitleMain,this.longBrowseTitleSuffix].filter(Boolean).join(" ")}]}},computed:{...v(g,{browserTitle:e=>{var t;return(t=e.page)==null?void 0:t.title},groupNames:e=>e.choices.static.groupNames,modelGroup:e=>e.page.modelGroup}),...V(P,["isUserAdmin"]),title(){let e;if(Number(this.$route.params.pks)===0)e="All";else if(this.browserTitle){let t=[];const{groupName:s,groupCount:d}=this.browserTitle,r=this.$route.params.group==="v"?K(s):s;if(r&&t.push(r),d){const n=`of ${d}`;t.push(n)}e=t.join(" ")}else e="";return e},subtitle(){return this.$route.params.group==="f"?"":this.groupNames[this.modelGroup]}}};function Ws(e,t,s,d,o,r){return l(),p(W,{id:"browserToolbarTitle",height:24,"extension-height":24,elevation:"8"},pe({default:h(()=>[i(ne,{id:"browserTitle",class:"browserTitle"},{default:h(()=>[u(S(r.title),1)]),_:1})]),_:2},[r.subtitle?{name:"extension",fn:h(()=>[i(ne,{id:"browserSubtitle",class:"browserTitle"},{default:h(()=>[u(S(r.subtitle),1)]),_:1})]),key:"0"}:void 0]),1024)}const Ys=b(js,[["render",Ws],["__scopeId","data-v-1f8ac575"]]),Qs=10,Ks={name:"BrowserSearchCombobox",data(){return{mdiMagnify:j,menu:!1,query:"",items:[""]}},computed:{...v(g,{stateQ:e=>e.settings.q})},watch:{stateQ(e){this.query=e,this.addToMenu(e)}},beforeMount(){this.query=this.stateQ},methods:{...T(g,["setSettings","startSearchHideTimeout","clearSearchHideTimeout"]),addToMenu(e){if(!e||this.items.includes(e))return;const t=this.items[0]===""?[]:this.items;t.unshift(e),this.items=t.slice(0,Qs)},doSearch(e=!1){this.menu=!1;const s={q:this.query?this.query.trim():""};e&&(s.orderBy="sort_name",s.orderReverse=!1,this.doBlur()),this.setSettings(s)},doBlur(){this.menu=!1,(this.query?this.query.trim():"")||this.startSearchHideTimeout()}}};function Xs(e,t,s,d,o,r){return l(),p(Nt,{id:"searchbox",ref:"searchbox",modelValue:o.query,"onUpdate:modelValue":t[0]||(t[0]=n=>o.query=n),menu:o.menu,"onUpdate:menu":t[1]||(t[1]=n=>o.menu=n),items:o.items,autofocus:"","aria-label":"search",clearable:"",density:"compact","full-width":"","hide-details":"auto","hide-selected":"","menu-props":{maxHeight:void 0},"no-filter":"","prepend-inner-icon":o.mdiMagnify,variant:"solo","onClick:clear":t[2]||(t[2]=n=>r.doSearch(!0)),"onClick:prependInner":r.doSearch,onKeydown:e.clearSearchHideTimeout,onKeyup:[ae(r.doSearch,["enter"]),ae(r.doBlur,["esc"])],onFocus:e.clearSearchHideTimeout,onBlur:r.doBlur},null,8,["modelValue","menu","items","prepend-inner-icon","onClick:prependInner","onKeydown","onKeyup","onFocus","onBlur"])}const Zs=b(Ks,[["render",Xs]]),Js={name:"BrowserSearchToolbar",components:{BrowserSearchCombobox:Zs},computed:{...v(g,{isSearchOpen:e=>e.isSearchOpen})}};function eo(e,t,s,d,o,r){const n=f("BrowserSearchCombobox");return l(),p(st,null,{default:h(()=>[e.isSearchOpen?(l(),p(W,{key:0,density:"compact",height:64},{default:h(()=>[i(X,{id:"searchToolbarItems"},{default:h(()=>[i(n)]),_:1})]),_:1})):B("",!0)]),_:1})}const to=b(Js,[["render",eo],["__scopeId","data-v-4900943a"]]),ro={name:"BrowserFilterSubMenu",props:{name:{type:String,required:!0}},emits:["selected"],data(){return{mdiChevronLeft:fe,mdiCloseCircleOutline:_e,query:""}},computed:{...v(g,{choices(e){return e.choices.dynamic[this.name]},readingDirectionTitles:e=>e.choices.static.readingDirection,identifierTypeTitles:e=>e.choices.static.identifierType,filter(e){return e.settings.filters[this.name]}}),...ge(g,["filterMode"]),hasNone(){for(const e of this.choices)if(ie.has(e)||e instanceof Object&&ie.has(e.pk))return!0;return!1},vuetifyItems(){return Tt(this.choices,this.query)},title(){return gt(this.name)},lowerTitle(){return this.title.toLowerCase()},filterMenuIcon(){return this.filter&&this.filter.length>0?ot:at},isClearable(){var e;return(e=this.filter)==null?void 0:e.length}},methods:{...T(g,["clearOneFilter","identifierTypeTitle","loadAvailableFilterChoices","loadFilterChoices"]),setUIFilterMode(e){this.filterMode=e,this.query="",e!=="base"&&typeof this.choices!="object"&&this.loadFilterChoices(e)},selected(e){const t={filters:{[this.name]:e}};this.$emit("selected",t)},itemTitle:function(e){return this.name==="readingDirection"?this.readingDirectionTitles[e.value]:this.name==="identifierType"?this.identifierTypeTitle(e.title):e.title},async _loadSubAvailableFilterChoices(){return this.loadAvailableFilterChoices().then(()=>this.loadFilterChoices(this.name))},onClear(){return this.clearOneFilter(this.name).then(()=>this._loadSubAvailableFilterChoices())}}},so={key:0},oo={class:"filterHeader"};function ao(e,t,s,d,o,r){return l(),w("div",null,[i(nt,{"hide-on-leave":""},{default:h(()=>[e.filterMode==="base"?(l(),p(M,{key:0,density:"compact",variant:"plain",title:r.title,"append-icon":r.filterMenuIcon,onClick:t[0]||(t[0]=n=>r.setUIFilterMode(s.name))},null,8,["title","append-icon"])):B("",!0)]),_:1}),i(lt,{"hide-on-leave":""},{default:h(()=>[e.filterMode===s.name?(l(),w("div",so,[a("header",oo,[i(M,{class:"filterHeaderTitle","prepend-icon":o.mdiChevronLeft,title:r.lowerTitle,onClick:t[1]||(t[1]=n=>r.setUIFilterMode("base"))},null,8,["prepend-icon","title"]),r.isClearable?(l(),p(M,{key:0,density:"compact",class:"clearFilter",title:"Clear Filter","append-icon":o.mdiCloseCircleOutline,onClick:r.onClear},null,8,["append-icon","onClick"])):B("",!0),typeof e.choices=="object"?(l(),p(Ot,{key:1,modelValue:o.query,"onUpdate:modelValue":t[2]||(t[2]=n=>o.query=n),placeholder:"Filter","full-width":"",density:"compact",filled:"",rounded:"","hide-details":"auto",onFocus:t[3]||(t[3]=n=>e.filterMode=s.name)},null,8,["modelValue"])):(l(),p(J,{key:2,class:"filterValuesProgress",rounded:"",indeterminate:""}))]),typeof e.choices=="object"?(l(),p(it,{key:0,"model-value":e.filter,class:"filterGroup overflow-y-auto",density:"compact",multiple:"",items:r.vuetifyItems,"onUpdate:selected":r.selected},{default:h(()=>[r.hasNone?(l(),p(M,{key:-1,title:"None",value:-1,class:"noneItem",density:"compact",variant:"plain"})):B("",!0),(l(!0),w(F,null,O(r.vuetifyItems,n=>(l(),p(M,{key:n.value,title:r.itemTitle(n),value:n.value,density:"compact",variant:"plain"},null,8,["title","value"]))),128))]),_:1},8,["model-value","items","onUpdate:selected"])):B("",!0)])):B("",!0)]),_:1})])}const no=b(ro,[["render",ao],["__scopeId","data-v-f1f62462"]]),io={name:"BrowserFilterBySelect",components:{BrowserFilterSubMenu:no,ToolbarSelect:N},extends:N,data(){return{mdiCloseCircleOutline:_e,mdiFilterMultipleOutline:ct,menu:!1}},computed:{...V(g,["filterByChoicesMaxLen","isDynamicFiltersSelected","isFiltersClearable"]),...v(g,{bookmarkChoices:e=>e.choices.static.bookmark,bookmarkFilter:e=>e.settings.filters.bookmark||e.choices.static.bookmark[0],filters:e=>e.settings.filters,filterMenuClass:function(e){let t="filterMenu";return e.filterMode!=="base"&&(t+="Hidden"),t},dynamicChoiceNames:function(e){if(e.choices.dynamic===void 0)return;const t=[];for(const[s,d]of Object.entries(e.choices.dynamic))d&&t.push(s);return t}}),...ge(g,["filterMode"]),padRight(){return this.$vuetify.display.xs&&!this.bookmarkFilter}},methods:{...T(g,["clearFilters","loadAvailableFilterChoices","setSettings"]),onUpdateModelValue(e){const t={filters:{bookmark:e}};this.onSubMenuSelected(t)},onSubMenuSelected(e){this.menu=!1,this.setSettings(e),this.filterMode="base"},onClear(){return this.clearFilters().then(()=>this.loadAvailableFilterChoices()).catch(()=>{console.error("clear filters")})},onMenu(e){e&&this.dynamicChoiceNames===void 0&&this.loadAvailableFilterChoices()}}},lo={class:"codexSelection"};function co(e,t,s,d,o,r){const n=f("BrowserFilterSubMenu"),c=f("ToolbarSelect");return l(),p(c,{menu:o.menu,"onUpdate:menu":[t[0]||(t[0]=m=>o.menu=m),r.onMenu],class:A(["filterBySelect",{filterBySelectXSmall:r.padRight}]),"select-label":"filter by",items:e.bookmarkChoices,"menu-props":{contentClass:e.filterMenuClass,maxHeight:void 0},"model-value":e.bookmarkFilter,"max-select-len":e.filterByChoicesMaxLen-1,"onUpdate:modelValue":r.onUpdateModelValue},{selection:h(({item:m})=>[a("span",lo,S(m.title),1),e.isDynamicFiltersSelected?(l(),p(k,{key:0,class:"filterSuffix",size:"x-small"},{default:h(()=>[u(S(o.mdiFilterMultipleOutline),1)]),_:1})):B("",!0)]),"prepend-item":h(()=>[e.isFiltersClearable?(l(),p(M,{key:0,density:"compact",variant:"plain",class:"clearFilter",title:"Clear All Filters","append-icon":o.mdiCloseCircleOutline,onClick:r.onClear},null,8,["append-icon","onClick"])):B("",!0)]),"append-item":h(()=>[i(D),e.dynamicChoiceNames===void 0?(l(),p(M,{key:0,density:"compact",variant:"plain"},{default:h(()=>[i(J,{indeterminate:"",rounded:""})]),_:1})):e.dynamicChoiceNames.length>0?(l(!0),w(F,{key:1},O(e.dynamicChoiceNames,m=>(l(),p(n,{key:m,name:m,onSelected:r.onSubMenuSelected},null,8,["name","onSelected"]))),128)):(l(),p(M,{key:2,class:"noChoices",density:"compact",variant:"plain",title:"No filters available"}))]),_:1},8,["menu","class","items","menu-props","model-value","max-select-len","onUpdate:modelValue","onUpdate:menu"])}const uo=b(io,[["render",co],["__scopeId","data-v-0d876944"]]),mo={name:"BrowseOrderBySelect",components:{ToolbarSelect:N},extends:N,computed:{...V(g,["orderByChoices","orderByChoicesMaxLen"]),...v(g,{orderBySetting:e=>e.settings.orderBy}),reverseValues(){const e=new Set;for(const t of this.orderByChoices)t.reverse&&e.add(t.value);return e},orderBy:{get(){return this.orderBySetting},set(e){const t={orderBy:e,orderReverse:this.reverseValues.has(e)};this.setSettings(t)}}},methods:{...T(g,["setSettings"])}};function ho(e,t,s,d,o,r){const n=f("ToolbarSelect");return l(),p(n,I({modelValue:r.orderBy,"onUpdate:modelValue":t[0]||(t[0]=c=>r.orderBy=c),class:"orderBySelect","select-label":"order by",items:e.orderByChoices,"max-select-len":e.orderByChoicesMaxLen-4},e.$attrs),null,16,["modelValue","items","max-select-len"])}const po=b(mo,[["render",ho]]),fo={name:"ToolbarButton",components:{ScaleButton:yt}};function _o(e,t,s,d,o,r){const n=f("ScaleButton");return l(),p(n,{variant:"plain",class:"toolbarButton"},pe({_:2},[O(e.$slots,(c,m)=>({name:m,fn:h(y=>[dt(e.$slots,m,I({props:c},y))])}))]),1024)}const we=b(fo,[["render",_o]]),go={name:"BrowseOrderReverseButton",components:{ToolbarButton:we},data(){return{mdiSortVariant:ut}},computed:{...v(g,{orderReverseSetting:e=>e.settings.orderReverse}),title(){return this.orderReverseSetting?"order descending":"order ascending"},iconClasses(){return{inverted:!this.orderReverseSetting}}},methods:{...T(g,["setSettings"]),toggleOrderReverse(){const e={orderReverse:!this.orderReverseSetting};this.setSettings(e)}}};function bo(e,t,s,d,o,r){const n=f("ToolbarButton");return l(),p(n,{class:"orderReverseButton",icon:"",title:r.title,onClick:r.toggleOrderReverse},{default:h(()=>[i(k,{class:A(r.iconClasses)},{default:h(()=>[u(S(o.mdiSortVariant),1)]),_:1},8,["class"])]),_:1},8,["title","onClick"])}const yo=b(go,[["render",bo],["__scopeId","data-v-42884e89"]]),vo={name:"BrowseOrderReverseButton",components:{ToolbarButton:we},data(){return{mdiMagnify:j}},computed:{...v(g,{isSearchOpen:e=>e.isSearchOpen,isQuery:e=>!!e.settings.q})},methods:{...T(g,["setIsSearchOpen"])}};function So(e,t,s,d,o,r){const n=f("ToolbarButton");return e.isSearchOpen?B("",!0):(l(),p(n,I({key:0,class:"searchButton",icon:o.mdiMagnify},e.$attrs,{title:"Search",onClick:t[0]||(t[0]=c=>e.setIsSearchOpen(!0))}),null,16,["icon"]))}const wo=b(vo,[["render",So]]),Bo=new Set(["a","f"]),Co={name:"BrowserTopGroupSelect",components:{ToolbarSelect:N},extends:N,data(){return{DIVIDED_VALUES:Bo}},computed:{...v(g,{topGroupSetting:e=>e.settings.topGroup}),...V(g,["topGroupChoices","topGroupChoicesMaxLen"]),topGroup:{get(){return this.topGroupSetting},set(e){const t={topGroup:e};this.setSettings(t)}}},methods:{...T(g,["setSettings"])}};function To(e,t,s,d,o,r){const n=f("ToolbarSelect");return l(),p(n,{modelValue:r.topGroup,"onUpdate:modelValue":t[0]||(t[0]=c=>r.topGroup=c),class:"topGroupSelect","select-label":"top group",items:e.topGroupChoices,"max-select-len":e.topGroupChoicesMaxLen-2.25},{item:h(({item:c,props:m})=>[o.DIVIDED_VALUES.has(c.value)?(l(),p(D,{key:0})):B("",!0),i(M,I(m,{density:"compact",variant:"plain",title:c.title,value:c.value}),null,16,["title","value"])]),_:1},8,["modelValue","items","max-select-len"])}const ko=b(Co,[["render",To]]),Vo={name:"BrowserTopToolbar",components:{BrowserFilterBySelect:uo,BrowserSearchButton:wo,BrowserTopGroupSelect:ko,BrowserOrderBySelect:po,BrowserOrderReverseButton:yo,SettingsDrawerButton:vt},data(){return{mdiMagnify:j,mdiFamilyTree:mt,browseMode:"filter"}}};function Mo(e,t,s,d,o,r){const n=f("BrowserTopGroupSelect"),c=f("BrowserFilterBySelect"),m=f("BrowserOrderBySelect"),y=f("BrowserOrderReverseButton"),C=f("BrowserSearchButton"),$=f("SettingsDrawerButton");return l(),p(W,{id:"browserToolbarTop",density:"compact",height:48},{default:h(()=>[i(X,{id:"browserToolbarLeftItems"},{default:h(()=>[i(n),i(c),i(m),i(y),i(C)]),_:1}),i(kt),i(X,null,{default:h(()=>[i($)]),_:1})]),_:1})}const $o=b(Vo,[["render",Mo],["__scopeId","data-v-42686e3a"]]),Po={name:"BrowserHeadToolbars",components:{BrowserBreadcrumbsToolbar:zs,BrowserSearchToolbar:to,BrowserTopToolbar:$o,BrowserTitleToolbar:Ys}},Fo={id:"codexHeadToolbarWrapper"};function Io(e,t,s,d,o,r){const n=f("BrowserTopToolbar"),c=f("BrowserSearchToolbar"),m=f("BrowserBreadcrumbsToolbar"),y=f("BrowserTitleToolbar");return l(),w("header",Fo,[i(n,{class:"codexHeadToolbar"}),i(c,{class:"codexHeadToolbar"}),i(m,{class:"codexHeadToolbar"}),i(y,{class:"codexHeadToolbar"})])}const xo=b(Po,[["render",Io],["__scopeId","data-v-508c4760"]]),Do={name:"BrowserNavButton",components:{PaginationNavButton:Vt},props:{back:{type:Boolean,required:!0},more:{type:Boolean,default:!1}},data(){return{mdiChevronLeft:fe,mdiMagnify:j,routeParams:this.$route.params,page:+this.$route.params.page}},computed:{...V(g,["isSearchMode"]),...v(g,{numPages:e=>e.page.numPages}),increment(){return this.back?-1:1},toPage(){return this.page+this.increment},title(){return this.showMore?"Search for More":"Page "+this.toPage},toRoute(){const e=this.toPage;return{params:{...this.routeParams,page:e}}},classes(){return{leftButton:this.back,rightButton:!this.back}},disabled(){return this.back&&this.page<=1||!this.back&&this.page>=this.numPages},showMore(){return this.more&&this.isSearchMode&&this.toPage===this.numPages}},watch:{$route(e){this.params=e.params,this.page=+e.params.page}}};function No(e,t,s,d,o,r){const n=f("PaginationNavButton");return l(),p(n,{key:r.toRoute,class:A(r.classes),disabled:r.disabled,title:r.title,to:r.toRoute},{default:h(()=>[r.showMore?(l(),p(k,{key:0},{default:h(()=>[u(S(o.mdiMagnify),1)]),_:1})):B("",!0),i(k,{class:A({flipHoriz:!s.back})},{default:h(()=>[u(S(o.mdiChevronLeft),1)]),_:1},8,["class"])]),_:1},8,["class","disabled","title","to"])}const Oo=b(Do,[["render",No],["__scopeId","data-v-372671b3"]]),Ro={name:"BrowserNavToolbar",components:{BrowserNavButton:Oo,PaginationSlider:Mt,PaginationToolbar:$t},computed:{...v(g,{numPages:e=>e.page.numPages})},methods:{...T(g,["routeToPage"]),onUpdate(e){this.routeToPage(e)}}};function Ho(e,t,s,d,o,r){const n=f("BrowserNavButton"),c=f("PaginationSlider"),m=f("PaginationToolbar");return e.numPages>1?(l(),p(m,{key:0},{default:h(()=>[i(n,{back:!0}),i(c,{"model-value":+e.$route.params.page,min:1,max:e.numPages,step:1,"onUpdate:modelValue":t[0]||(t[0]=y=>e.routeToPage(y))},null,8,["model-value","max"]),i(n,{back:!1,more:!0})]),_:1})):B("",!0)}const Ao=b(Ro,[["render",Ho]]),Lo={name:"MainBrowser",components:{BrowserHeadToolbars:xo,BrowserMain:Fs,BrowserNavToolbar:Ao,BrowserSettingsDrawer:Gr,Unauthorized:Dt},computed:{...v(P,{user:e=>e.user}),...V(P,["isAuthorized"])},watch:{$route(e){var t;window.scrollTo(0,0),this.setPageMtime((t=e==null?void 0:e.query)==null?void 0:t.ts),this.loadBrowserPage()},user(){this.loadSettings()},isAuthorized(){this.loadSettings()}},created(){this.loadSettings()},methods:{...T(g,["loadBrowserPage","loadSettings","setPageMtime"])}};function Uo(e,t,s,d,o,r){const n=f("BrowserHeadToolbars"),c=f("BrowserMain"),m=f("BrowserNavToolbar"),y=f("BrowserSettingsDrawer"),C=f("Unauthorized");return e.isAuthorized?(l(),p(be,{key:0,id:"browser"},{default:h(()=>[i(n),i(c),i(m),i(y)]),_:1})):(l(),p(C,{key:1}))}const na=b(Lo,[["render",Uo],["__scopeId","data-v-4a8fba7b"]]);export{na as default};
@@ -1 +0,0 @@
1
- .changePasswordForm[data-v-29c23ebe]{padding:20px}.codexFormSuccess[data-v-29c23ebe]{padding:10px;font-size:larger;color:rgb(var(--v-theme-success));text-align:center}.hidden[data-v-29c23ebe]{display:none}
@@ -1 +0,0 @@
1
- .changePasswordForm[data-v-29c23ebe]{padding:20px}.codexFormSuccess[data-v-29c23ebe]{padding:10px;font-size:larger;color:rgb(var(--v-theme-success));text-align:center}.hidden[data-v-29c23ebe]{display:none}
@@ -1 +0,0 @@
1
- import{aK as k,aL as D,cJ as E,cK as N,W as v,E as w,bs as B,X as f,q as c,D as L,_ as A,Z as i,$ as a,Y as n,a0 as l,ap as U,aq as p,T as d,ak as h,aG as u,aP as _,aE as I,aO as P,bo as b,aI as g}from"./admin-drawer-panel-THbQH8zq.js";import{S as O,a as M,V as m}from"./VTextField-B4VKy44x.js";import{V as F}from"./VDialog-CHWtsyYh.js";const R={name:"ChangePasswordDialog",components:{SubmitFooter:O,CloseButton:k,DrawerItem:D},props:{user:{type:Object,required:!0},isAdminMode:{type:Boolean,default:!1},size:{type:String,default:"default"},density:{type:String,default:"default"}},data(){return{rules:{oldPassword:[e=>!!e||"Old Password is required"],password:[e=>e?e.length<this.MIN_PASSWORD_LENGTH?`Password must be ${this.MIN_PASSWORD_LENGTH} characters long`:e===this.credentials.oldPassword?"New password must be different than old password":!0:"New Password is required"],passwordConfirm:[e=>e===this.credentials.password||"Passwords must match"]},credentials:{oldPassword:"",password:"",passwordConfirm:""},submitButtonEnabled:!1,mdiLockReset:E,mdiLockPlusOutline:N}},computed:{...v(w,{formErrors:e=>e.form.errors,formSuccess:e=>e.form.success,MIN_PASSWORD_LEN:e=>e.MIN_PASSWORD_LEN}),...B(c,["showChangePasswordDialog"])},watch:{showChangePasswordDialog(e){if(e){const s=this.$refs.form;s&&s.reset(),this.clearErrors()}},credentials:{handler(){const e=this.$refs.form;if(!e){this.submitButtonEnabled=!1;return}e.validate().then(({valid:s})=>this.submitButtonEnabled=s).catch(()=>{this.submitButtonEnabled=!1})},deep:!0}},mounted(){window.addEventListener("keyup",this._keyUpListener)},beforeUnmount(){window.removeEventListener("keyup",this._keyUpListener)},methods:{...f(c,["changePassword"]),...f(w,["clearErrors"]),doUserChange(){return L().changeUserPassword(this.user.pk,this.credentials).catch(console.error)},doSelfChange(){return this.changePassword(this.credentials).catch(console.error)},submit(){const e=this.$refs.form;e&&e.validate().then(({valid:s})=>{if(s)return this.isAdminMode?this.doUserChange():this.doSelfChange()}).catch(console.error)},_keyUpListener(e){e.stopImmediatePropagation()}}},W={key:0,class:"codexFormSuccess"},q=["value"];function K(e,s,t,T,r,C){const y=i("DrawerItem"),S=i("CloseButton"),V=i("SubmitFooter");return t.user?(a(),n(F,{key:0,modelValue:e.showChangePasswordDialog,"onUpdate:modelValue":s[7]||(s[7]=o=>e.showChangePasswordDialog=o),origin:"center-top",transition:"slide-y-transition","max-width":"22em"},{activator:l(({props:o})=>[t.isAdminMode?(a(),n(U,p({key:0,icon:""},o,{size:t.size,density:t.density,title:"Change Password"}),{default:l(()=>[d(_,null,{default:l(()=>[h(u(r.mdiLockPlusOutline),1)]),_:1})]),_:2},1040,["size","density"])):(a(),n(y,p({key:1,"prepend-icon":r.mdiLockReset},o,{title:"Change Password"}),null,16,["prepend-icon"]))]),default:l(()=>[e.formSuccess?(a(),I("div",W,[h(u(e.formSuccess)+" ",1),d(S,{onClick:s[0]||(s[0]=o=>e.showChangePasswordDialog=!1)})])):(a(),n(M,{key:1,ref:"form",class:"changePasswordForm"},{default:l(()=>[P("h2",null,"User "+u(t.user.username),1),P("input",{name:"username",autocomplete:"username",disabled:"",type:"text",class:"hidden",value:t.user.username},null,8,q),t.isAdminMode?g("",!0):(a(),n(m,{key:0,ref:"oldPassword",modelValue:r.credentials.oldPassword,"onUpdate:modelValue":s[1]||(s[1]=o=>r.credentials.oldPassword=o),autocomplete:"current-password",label:"Old Password",rules:r.rules.oldPassword,clearable:"",type:"password",autofocus:"",onKeydown:s[2]||(s[2]=b(o=>e.$refs.password.focus(),["enter"]))},null,8,["modelValue","rules"])),d(m,{ref:"password",modelValue:r.credentials.password,"onUpdate:modelValue":s[3]||(s[3]=o=>r.credentials.password=o),autocomplete:"new-password",label:"New Password",rules:r.rules.password,clearable:"",type:"password",autofocus:t.isAdminMode,onKeydown:s[4]||(s[4]=b(o=>e.$refs.passwordConfirm.focus(),["enter"]))},null,8,["modelValue","rules","autofocus"]),d(m,{ref:"passwordConfirm",modelValue:r.credentials.passwordConfirm,"onUpdate:modelValue":s[5]||(s[5]=o=>r.credentials.passwordConfirm=o),autocomplete:"new-password",label:"Confirm Password",rules:r.rules.passwordConfirm,clearable:"",type:"password"},null,8,["modelValue","rules"]),d(V,{verb:"Change",table:"Password",disabled:!r.submitButtonEnabled,onSubmit:C.submit,onCancel:s[6]||(s[6]=o=>e.showChangePasswordDialog=!1)},null,8,["disabled","onSubmit"])]),_:1},512))]),_:1},8,["modelValue"])):g("",!0)}const j=A(R,[["render",K],["__scopeId","data-v-29c23ebe"]]);export{j as C};
@@ -1 +0,0 @@
1
- import{aK as k,aL as D,cJ as E,cK as N,W as v,E as w,bs as B,X as f,q as c,D as L,_ as A,Z as i,$ as a,Y as n,a0 as l,ap as U,aq as p,T as d,ak as h,aG as u,aP as _,aE as I,aO as P,bo as b,aI as g}from"./admin-drawer-panel-THbQH8zq.js";import{S as O,a as M,V as m}from"./VTextField-B4VKy44x.js";import{V as F}from"./VDialog-CHWtsyYh.js";const R={name:"ChangePasswordDialog",components:{SubmitFooter:O,CloseButton:k,DrawerItem:D},props:{user:{type:Object,required:!0},isAdminMode:{type:Boolean,default:!1},size:{type:String,default:"default"},density:{type:String,default:"default"}},data(){return{rules:{oldPassword:[e=>!!e||"Old Password is required"],password:[e=>e?e.length<this.MIN_PASSWORD_LENGTH?`Password must be ${this.MIN_PASSWORD_LENGTH} characters long`:e===this.credentials.oldPassword?"New password must be different than old password":!0:"New Password is required"],passwordConfirm:[e=>e===this.credentials.password||"Passwords must match"]},credentials:{oldPassword:"",password:"",passwordConfirm:""},submitButtonEnabled:!1,mdiLockReset:E,mdiLockPlusOutline:N}},computed:{...v(w,{formErrors:e=>e.form.errors,formSuccess:e=>e.form.success,MIN_PASSWORD_LEN:e=>e.MIN_PASSWORD_LEN}),...B(c,["showChangePasswordDialog"])},watch:{showChangePasswordDialog(e){if(e){const s=this.$refs.form;s&&s.reset(),this.clearErrors()}},credentials:{handler(){const e=this.$refs.form;if(!e){this.submitButtonEnabled=!1;return}e.validate().then(({valid:s})=>this.submitButtonEnabled=s).catch(()=>{this.submitButtonEnabled=!1})},deep:!0}},mounted(){window.addEventListener("keyup",this._keyUpListener)},beforeUnmount(){window.removeEventListener("keyup",this._keyUpListener)},methods:{...f(c,["changePassword"]),...f(w,["clearErrors"]),doUserChange(){return L().changeUserPassword(this.user.pk,this.credentials).catch(console.error)},doSelfChange(){return this.changePassword(this.credentials).catch(console.error)},submit(){const e=this.$refs.form;e&&e.validate().then(({valid:s})=>{if(s)return this.isAdminMode?this.doUserChange():this.doSelfChange()}).catch(console.error)},_keyUpListener(e){e.stopImmediatePropagation()}}},W={key:0,class:"codexFormSuccess"},q=["value"];function K(e,s,t,T,r,C){const y=i("DrawerItem"),S=i("CloseButton"),V=i("SubmitFooter");return t.user?(a(),n(F,{key:0,modelValue:e.showChangePasswordDialog,"onUpdate:modelValue":s[7]||(s[7]=o=>e.showChangePasswordDialog=o),origin:"center-top",transition:"slide-y-transition","max-width":"22em"},{activator:l(({props:o})=>[t.isAdminMode?(a(),n(U,p({key:0,icon:""},o,{size:t.size,density:t.density,title:"Change Password"}),{default:l(()=>[d(_,null,{default:l(()=>[h(u(r.mdiLockPlusOutline),1)]),_:1})]),_:2},1040,["size","density"])):(a(),n(y,p({key:1,"prepend-icon":r.mdiLockReset},o,{title:"Change Password"}),null,16,["prepend-icon"]))]),default:l(()=>[e.formSuccess?(a(),I("div",W,[h(u(e.formSuccess)+" ",1),d(S,{onClick:s[0]||(s[0]=o=>e.showChangePasswordDialog=!1)})])):(a(),n(M,{key:1,ref:"form",class:"changePasswordForm"},{default:l(()=>[P("h2",null,"User "+u(t.user.username),1),P("input",{name:"username",autocomplete:"username",disabled:"",type:"text",class:"hidden",value:t.user.username},null,8,q),t.isAdminMode?g("",!0):(a(),n(m,{key:0,ref:"oldPassword",modelValue:r.credentials.oldPassword,"onUpdate:modelValue":s[1]||(s[1]=o=>r.credentials.oldPassword=o),autocomplete:"current-password",label:"Old Password",rules:r.rules.oldPassword,clearable:"",type:"password",autofocus:"",onKeydown:s[2]||(s[2]=b(o=>e.$refs.password.focus(),["enter"]))},null,8,["modelValue","rules"])),d(m,{ref:"password",modelValue:r.credentials.password,"onUpdate:modelValue":s[3]||(s[3]=o=>r.credentials.password=o),autocomplete:"new-password",label:"New Password",rules:r.rules.password,clearable:"",type:"password",autofocus:t.isAdminMode,onKeydown:s[4]||(s[4]=b(o=>e.$refs.passwordConfirm.focus(),["enter"]))},null,8,["modelValue","rules","autofocus"]),d(m,{ref:"passwordConfirm",modelValue:r.credentials.passwordConfirm,"onUpdate:modelValue":s[5]||(s[5]=o=>r.credentials.passwordConfirm=o),autocomplete:"new-password",label:"Confirm Password",rules:r.rules.passwordConfirm,clearable:"",type:"password"},null,8,["modelValue","rules"]),d(V,{verb:"Change",table:"Password",disabled:!r.submitButtonEnabled,onSubmit:C.submit,onCancel:s[6]||(s[6]=o=>e.showChangePasswordDialog=!1)},null,8,["disabled","onSubmit"])]),_:1},512))]),_:1},8,["modelValue"])):g("",!0)}const j=A(R,[["render",K],["__scopeId","data-v-29c23ebe"]]);export{j as C};
@@ -1 +0,0 @@
1
- import{W as y,D as _,E as $,X as F,_ as C,$ as p,aE as g,T as r,a0 as s,aY as J,aq as O,bo as ee,Y as w,l as A,Z as m,aG as k,aI as P,V as B,cL as te,cM as oe,cN as re,aM as W,bE as N,b1 as le,aO as o,al as se,aQ as R,aR as S,ak as d,cO as ae,bs as ne,aP as U,aF as ie,bR as H}from"./admin-drawer-panel-THbQH8zq.js";import{A as de,a as ce,b as me,c as G,R as ue}from"./relation-chips-lu2nFvjg.js";import{V as pe}from"./VCombobox-C_LpolHU.js";import{V as E}from"./VCheckbox-Bf5gdxZe.js";import{V as he}from"./VTextField-B4VKy44x.js";import{D as M}from"./datetime-column-BlrfINye.js";import{C as fe}from"./confirm-dialog-CxwshFZG.js";import{u as be}from"./main-Dch6DDCJ.js";import{V as z}from"./VCheckboxBtn-8Kva6jyD.js";import{a as T,b as x,c as D,V}from"./VExpansionPanels-BB_WowGg.js";import{V as _e}from"./VTable-Lfc0i15y.js";import"./VDialog-CHWtsyYh.js";import"./VSelect-Z04T1ZKO.js";import"./VSelectionControl-DKw4TKuO.js";import"./VSlideGroup-B5C2lA7c.js";import"./filter-Ds3JJmu2.js";const ye={name:"AdminServerFolderPicker",emits:["change","menu"],data(){return{path:"",originalPath:"",showHidden:!1,menuOpen:!1}},computed:{...y(_,{folders:e=>e.folderPicker.folders,rootFolder:e=>e.folderPicker.rootFolder}),...y($,{formErrors:e=>e.form.errors}),appendOuterIcon(){return this.showHidden?this.mdiFolderHidden:this.mdiFolderOutline},showHiddenTooltipPrefix(){return this.showHidden?"Hide":"Show"}},watch:{menuOpen(e){e&&this.$emit("menu",e)}},created(){this.loadFolders().then(()=>(this.path=this.rootFolder,this.originalPath=this.rootFolder,!0)).catch(console.warn)},methods:{...F(_,["clearFolders","loadFolders"]),...F($,["clearErrors"]),change(e){const t=e?e.startsWith("/")||e.startsWith("\\")?e:[this.rootFolder,e].join("/"):this.rootFolder,a=this.menuOpen;this.clearErrors(),this.loadFolders(t,this.showHidden).then(()=>{this.menuOpen=a;let n="";return this.formErrors.length===0&&(this.path=n=this.rootFolder),this.$emit("change",n)}).catch(console.warn)},onBlur(){this.menuOpen=!1,this.change(this.path)},onClear(){this.clearFolders(this.orignalPath).then(()=>this.change(this.orginalPath)).catch(console.error)},onKeyDownEnter(){this.change(this.path)},onItemClick(e){this.change(e)}}},ve={id:"folderPicker"};function ge(e,t,a,n,l,u){return p(),g("div",ve,[r(pe,O({modelValue:l.path,"onUpdate:modelValue":t[0]||(t[0]=c=>l.path=c),menu:l.menuOpen,"onUpdate:menu":t[1]||(t[1]=c=>l.menuOpen=c)},e.$attrs,{"aria-label":"Library folder",clearable:"","error-messages":e.formErrors,"full-width":"","hide-details":"auto",items:e.folders,"menu-props":{maxHeight:"370px"},"validate-on":"blur",variant:"filled",onBlur:u.onBlur,"onClick:clear":u.onClear,onKeydown:ee(u.onKeyDownEnter,["enter"])}),{item:s(({item:c,props:f})=>[r(J,O(f,{title:c.title,value:c.value,onClick:v=>u.onItemClick(c.value)}),null,16,["title","value","onClick"])]),_:1},16,["modelValue","menu","error-messages","items","onBlur","onClick:clear","onKeydown"]),r(E,{modelValue:l.showHidden,"onUpdate:modelValue":t[2]||(t[2]=c=>l.showHidden=c),density:"compact",class:"showHidden","hide-details":"auto",label:"Show Hidden Folders"},null,8,["modelValue"])])}const we=C(ye,[["render",ge],["__scopeId","data-v-49f10642"]]),Ce={name:"TimeTextField",data(){return{FORMAT:"DDD HH:mm:SS",timeRules:[e=>/^\d{0,3}?[01]\d|2[0-3](?::[0-5]\d){2}$/.test(e)||`Invalid time format ${this.FORMAT}`]}}};function Ie(e,t,a,n,l,u){return p(),w(he,O({ref:"timeField",density:"compact",filled:"",hint:l.FORMAT,round:"",rules:l.timeRules},e.$attrs),null,16,["hint","rules"])}const ke=C(Ce,[["render",Ie]]),K=["events","poll","pollEvery","groups"];Object.freeze(K);const L={path:"",events:!0,poll:!0,pollEvery:"01:00:00",groups:[]};Object.freeze(L);const j=(e,t)=>(e=e.replaceAll("\\","/"),t=t.replaceAll("\\","/"),e.endsWith("/")||(e+="/"),t.endsWith("/")||(t+="/"),t.startsWith(e)),Fe={name:"AdminLibraryCreateUpdateInputs",components:{AdminRelationPicker:de,AdminServerFolderPicker:we,TimeTextField:ke},props:{oldRow:{type:[Object,Boolean],default:!1}},emits:["change"],data(){return{rules:{path:[e=>!!e||"Path is required",e=>{if(!e)return!1;for(const t of this.paths){if(j(t,e))return"Path is a child of an existing library";if(j(e,t))return"Path is a parent of an existing library"}return!0}]},row:A(this.oldRow||L)}},computed:{...y(_,{groups:e=>e.groups,libraries:e=>e.libraries}),paths(){return this.nameSet(this.libraries,"path",this.oldRow,!1)}},watch:{row:{handler(e){this.$emit("change",e)},deep:!0},oldRow:{handler(e){this.row=A(e)},deep:!0}},methods:{...F(_,["nameSet"])},UPDATE_KEYS:K,EMPTY_ROW:L},Ae={key:1};function Pe(e,t,a,n,l,u){const c=m("AdminServerFolderPicker"),f=m("TimeTextField"),v=m("AdminRelationPicker");return p(),g(B,null,[a.oldRow?(p(),g("div",Ae,k(a.oldRow.path),1)):(p(),w(c,{key:0,rules:l.rules.path,autofocus:"",label:"Library Folder",onChange:t[0]||(t[0]=h=>l.row.path=h)},null,8,["rules"])),r(E,{modelValue:l.row.events,"onUpdate:modelValue":t[1]||(t[1]=h=>l.row.events=h),"hide-details":"auto",hint:"Update Codex instantly when the filesystem changes",label:"Watch Filesystem Events","persistent-hint":!0},null,8,["modelValue"]),r(E,{modelValue:l.row.poll,"onUpdate:modelValue":t[2]||(t[2]=h=>l.row.poll=h),label:"Poll Filesystem Periodically","hide-details":"auto",hint:"Periodically poll the library for changes","persistent-hint":!0},null,8,["modelValue"]),r(f,{modelValue:l.row.pollEvery,"onUpdate:modelValue":t[3]||(t[3]=h=>l.row.pollEvery=h),label:"Poll Every",disabled:!l.row.poll},null,8,["modelValue","disabled"]),l.row.coversOnly?P("",!0):(p(),w(v,{key:2,modelValue:l.row.groups,"onUpdate:modelValue":t[4]||(t[4]=h=>l.row.groups=h),label:"Groups",objs:e.groups,"group-type":"","title-key":"name"},null,8,["modelValue","objs"]))],64)}const Y=C(Fe,[["render",Pe]]),Te={name:"AdminLibrariesTab",components:{AdminTable:ce,AdminDeleteRowDialog:me,AdminCreateUpdateDialog:G,RelationChips:ue,ConfirmDialog:fe,DateTimeColumn:M},props:{coversDir:{type:Boolean,default:!1}},data(){return{lastUpdate:{pk:0,field:void 0},mdiCircleOffOutline:te,mdiDatabaseClockOutline:oe,mdiDatabaseSyncOutline:re,mdiOpenInNew:W,AdminLibraryCreateUpdateInputs:N(Y)}},computed:{...y(_,{groups:e=>e.groups,items(e){const t=[];for(const a of e.libraries){const n=A(a);n.label=n.coversOnly?"custom group cover":"comic",t.push(n)}return t},headers(){const e=[{title:"Path",key:"path",align:"start"},{title:"Watch File Events",key:"events"},{title:"Poll Files Periodically",key:"poll"},{title:"Poll Every",key:"pollEvery"},{title:"Last Poll",key:"lastPoll"}];return this.coversDir||e.push({title:"Groups",key:"groups"}),e.push({title:"Actions",key:"actions",sortable:!1}),e}}),...y($,{formErrors:e=>{var t;return(t=e.form)==null?void 0:t.errors}}),...y(be,{twentyFourHourTime:e=>e.settings.twentyFourHourTime})},mounted(){this.loadTables(["Group","Library","FailedImport"])},methods:{...F(_,["updateRow","clearErrors","librarianTask","loadTables"]),formatDateTime:e=>e?le(e,(void 0).twentyFourHourTime):"",changeCol(e,t,a){this.lastUpdate.pk=e,this.lastUpdate.field=t;const n={[t]:a};this.updateRow("Library",e,n)},getFormErrors(e,t){if(e===this.lastUpdate.pk&&t===this.lastUpdate.field)return this.formErrors},libraryLabel(e,t=!0){let a="";return e.coversOnly?(t&&(a+="Custom Group "),a+="Cover Dir"):a+="Library",a},poll(e){const t=this.libraryLabel(e);this.librarianTask("poll",`Poll ${t} ${e.pk}`,e.pk)},forcePoll(e){const t=this.libraryLabel(e);this.librarianTask("poll_force",`Force Poll ${t} ${e.pk}`,e.pk)},pollConfirmText(e){return`Poll ${this.libraryLabel(e,!1)}`},updateLabel(e){return e.coversOnly?"Cover Dir":""}}},xe=e=>(R("data-v-9cc10107"),e=e(),S(),e),De=xe(()=>o("td",{class:"adminNoData",colspan:"100%"}," Add a Library to start using Codex ",-1));function Ve(e,t,a,n,l,u){const c=m("DateTimeColumn"),f=m("RelationChips"),v=m("ConfirmDialog"),h=m("AdminCreateUpdateDialog"),Q=m("AdminDeleteRowDialog"),X=m("AdminTable");return p(),w(X,{headers:e.headers},{"no-data":s(()=>[De]),"item.events":s(({item:i})=>[r(z,{"model-value":i.events,disabled:""},null,8,["model-value"])]),"item.poll":s(({item:i})=>[r(z,{"model-value":i.poll,disabled:""},null,8,["model-value"])]),"item.pollEvery":s(({item:i})=>[o("span",{class:se({disabled:!i.poll})},k(i.pollEvery),3)]),"item.lastPoll":s(({item:i})=>[r(c,{dttm:i.lastPoll},null,8,["dttm"])]),"item.groups":s(({item:i})=>[r(f,{pks:i.groups,objs:e.groups,"group-type":"","title-key":"name"},null,8,["pks","objs"])]),"item.actions":s(({item:i})=>[r(v,{icon:l.mdiDatabaseClockOutline,"title-text":`Poll for updated ${i.label}s`,"object-name":i.path,"confirm-text":u.pollConfirmText(i),size:"small",density:"compact",onConfirm:Z=>u.poll(i)},null,8,["icon","title-text","object-name","confirm-text","onConfirm"]),r(v,{icon:l.mdiDatabaseSyncOutline,"title-text":`Force update every ${i.label}`,"object-name":i.path,"confirm-text":"Force Update",size:"small",density:"compact",onConfirm:Z=>u.forcePoll(i)},null,8,["icon","title-text","object-name","onConfirm"]),r(h,{table:"Library","old-row":i,inputs:l.AdminLibraryCreateUpdateInputs,label:u.updateLabel(i),"max-width":"22em",size:"small",density:"compact"},null,8,["old-row","inputs","label"]),i.coversOnly?P("",!0):(p(),w(Q,{key:0,table:"Library",pk:i.pk,name:i.path,size:"small",density:"compact"},null,8,["pk","name"]))]),_:2},1032,["headers"])}const q=C(Te,[["render",Ve],["__scopeId","data-v-9cc10107"]]),$e={name:"AdminCustomCoversPanel",components:{AdminLibraryTable:q},computed:{...y(_,{coverDirItems(e){const t=[];for(const a of e.libraries)if(a.coversOnly){const n=A(a);n.label=n.coversOnly?"custom group cover":"comic",t.push(n)}return t}})}},b=e=>(R("data-v-589557a2"),e=e(),S(),e),Oe=b(()=>o("h4",{id:"coverDirHeader"},"Custom Covers",-1)),Ee=b(()=>o("h4",null,"Custom Covers Help",-1)),Le=b(()=>o("p",null,"Custom covers may be added to the browser in two locations:",-1)),Re=b(()=>o("h4",null,"Folders",-1)),Se=b(()=>o("p",null,[d(" A library folder with a file named "),o("code",null,".codex-cover.jpg"),d(" will show a custom cover for that folder in Folder view. The addition and removal of these covers by watching filesystem events and polling is handled by the library that folder belongs to. ")],-1)),Ue=b(()=>o("h4",null,"Custom Covers Dir",-1)),He=b(()=>o("p",null,[d(" The Codex config directory has a special folder named "),o("code",null,"custom-covers"),d(" under which are subdirectories for each of the browser groups that may adopt custom covers. Images in these subdirectories that match the name of the browser group will be used as custom covers. For instance: "),o("code",null,".../custom-covers/publishers/American Comics Group.webp"),d(' would be used as the cover for the publisher "American Comics Group". '),o("code",null,".../custom-covers/series/arrow.png"),d(' would be used as the cover for every series named "Arrow", for '),o("em",null,"every"),d(" publisher. Similar to a comic library, the "),o("code",null,"custom-covers"),d(" directory may be watched and polled for changes. By default it is neither watched nor polled and must be enabled by the admin. ")],-1)),ze=b(()=>o("h4",null,"Image Formats & Size",-1)),je=b(()=>o("p",null,[d(" Custom covers are detected only for files with the extensions: "),o("code",null,".bmp, .gif, .jpeg, .jpg, .png, .webp"),d(". ")],-1)),Be=b(()=>o("p",null," Browser covers are transformed from their sources to 165px x 254px thumbnails. Custom covers will transform most aesthetically the closer to that ratio they are. ",-1)),We=b(()=>o("h4",null,"Priority",-1)),Ne=b(()=>o("p",null," Custom covers supersede covers set by the user's individual browser settings. ",-1));function Ge(e,t,a,n,l,u){const c=m("AdminLibraryTable");return p(),w(D,null,{default:s(()=>[r(V,null,{default:s(()=>[r(T,null,{default:s(()=>[Oe]),_:1}),r(x,null,{default:s(()=>[r(c,{items:e.coverDirItems,"disable-sort":"","covers-dir":!0},null,8,["items"]),r(D,null,{default:s(()=>[r(V,{id:"customCoversHelp"},{default:s(()=>[r(T,null,{default:s(()=>[Ee]),_:1}),r(x,null,{default:s(()=>[Le,Re,Se,Ue,He,ze,je,Be,We,Ne]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}const Me=C($e,[["render",Ge],["__scopeId","data-v-589557a2"]]),Ke={name:"AdminFailedImportsPanel",components:{DateTimeColumn:M},data(){return{mdiBookAlert:ae,mdiOpenInNew:W}},computed:{...y(_,["failedImports"]),...ne(_,["unseenFailedImports"])},created(){this.unseenFailedImports=!0}},I=e=>(R("data-v-a99d09dc"),e=e(),S(),e),Ye={key:0},qe=I(()=>o("thead",null,[o("tr",null,[o("th",null,"Path"),o("th",null,"Created")])],-1)),Qe={class:"dateCol"},Xe=I(()=>o("h4",null,"Failed Imports Help",-1)),Ze=I(()=>o("p",null," These are Comic archives that have failed to import. This list is updated every time the library updates. You should probably review these files and fix or remove them. ",-1)),Je=I(()=>o("h4",null,"Fixing comics",-1)),et=I(()=>o("p",null,[d(" Try using the zip fixer to fix comics: "),o("code",{class:"cli"},[d(" cp problem-comic.cbz /somewhere/safe/problem-comic.cbz.backup"),o("br"),d(" zip -F problem-comic.cbz --out fixed.zip"),o("br"),d(" mv fixed.zip problem-comic.cbz ")]),d(" You may also try "),o("code",null,"zip -FF"),d(" to fix comics which uses a different (not necissarily better) algorithm. If you fix some imports, and Codex does not immediately detect the change, poll the library which contains the fixed comics. ")],-1)),tt=I(()=>o("h4",null,"Reporting Issues",-1)),ot={href:"https://github.com/ajslater/codex/issues/",target:"_blank"},rt=I(()=>o("code",null,"config/logs/codex.log",-1));function lt(e,t,a,n,l,u){const c=m("DateTimeColumn");return e.failedImports&&e.failedImports.length>0?(p(),g("div",Ye,[r(D,null,{default:s(()=>[r(V,{id:"failedImportsPanel",onClick:t[0]||(t[0]=f=>e.unseenFailedImports=!1)},{default:s(()=>[r(T,null,{default:s(()=>[o("h4",null,"Failed Imports: "+k(e.failedImports.length),1),e.unseenFailedImports?(p(),w(U,{key:0,id:"failedImportsIcon",title:"New Failed Imports"},{default:s(()=>[d(k(l.mdiBookAlert),1)]),_:1})):P("",!0)]),_:1}),r(x,null,{default:s(()=>[r(_e,{class:"highlight-table"},{default:s(()=>[qe,o("tbody",null,[(p(!0),g(B,null,ie(e.failedImports,f=>(p(),g("tr",{key:`fi:${f.path}`},[o("td",null,k(f.path),1),o("td",Qe,[r(c,{dttm:f.createdAt},null,8,["dttm"])])]))),128))])]),_:1}),r(D,null,{default:s(()=>[r(V,{id:"failedImportsHelp"},{default:s(()=>[r(T,null,{default:s(()=>[Xe]),_:1}),r(x,null,{default:s(()=>[Ze,Je,et,tt,o("p",null,[d(" If the comic looks good to you, but still shows up as a failed import, it might be Codex's fault for not importing it correctly. Please file an "),o("a",ot,[d("Issue Report"),r(U,{size:"small"},{default:s(()=>[d(k(l.mdiOpenInNew),1)]),_:1})]),d(" and include the stack trace from the logs at "),rt,d(" if you can. ")])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})])):P("",!0)}const st=C(Ke,[["render",lt],["__scopeId","data-v-a99d09dc"]]),at={name:"AdminLibrariesTab",components:{AdminFailedImportsPanel:st,AdminLibraryTable:q,AdminCreateUpdateDialog:G,AdminCustomCoversPanel:Me},data(){return{AdminLibraryCreateUpdateInputs:N(Y)}},computed:{...y(_,{libraryItems(e){const t=[];if(!e.libraries)return t;for(const a of e.libraries)if(!a.coversOnly){const n=A(a);n.label=n.coversOnly?"custom group cover":"comic",t.push(n)}return t}})},mounted(){this.loadTables(["Group","Library","FailedImport"])},methods:{...F(_,["loadTables"])}},nt={class:"tabHeader"};function it(e,t,a,n,l,u){const c=m("AdminCreateUpdateDialog"),f=m("AdminLibraryTable"),v=m("AdminFailedImportsPanel"),h=m("AdminCustomCoversPanel");return p(),g("div",null,[o("header",nt,[r(c,{table:"Library",inputs:l.AdminLibraryCreateUpdateInputs},null,8,["inputs"])]),r(f,{items:e.libraryItems,"sort-by":[{key:"path",order:"asc"}]},null,8,["items"]),r(H,null,{default:s(()=>[r(v,{id:"failedImports"})]),_:1}),r(H,null,{default:s(()=>[r(h,{id:"customCovers"})]),_:1})])}const Ft=C(at,[["render",it],["__scopeId","data-v-7582b1ea"]]);export{Ft as default};
@@ -1 +0,0 @@
1
- import{W as y,D as _,E as $,X as F,_ as C,$ as p,aE as g,T as r,a0 as s,aY as J,aq as O,bo as ee,Y as w,l as A,Z as m,aG as k,aI as P,V as B,cL as te,cM as oe,cN as re,aM as W,bE as N,b1 as le,aO as o,al as se,aQ as R,aR as S,ak as d,cO as ae,bs as ne,aP as U,aF as ie,bR as H}from"./admin-drawer-panel-THbQH8zq.js";import{A as de,a as ce,b as me,c as G,R as ue}from"./relation-chips-lu2nFvjg.js";import{V as pe}from"./VCombobox-C_LpolHU.js";import{V as E}from"./VCheckbox-Bf5gdxZe.js";import{V as he}from"./VTextField-B4VKy44x.js";import{D as M}from"./datetime-column-BlrfINye.js";import{C as fe}from"./confirm-dialog-CxwshFZG.js";import{u as be}from"./main-Dch6DDCJ.js";import{V as z}from"./VCheckboxBtn-8Kva6jyD.js";import{a as T,b as x,c as D,V}from"./VExpansionPanels-BB_WowGg.js";import{V as _e}from"./VTable-Lfc0i15y.js";import"./VDialog-CHWtsyYh.js";import"./VSelect-Z04T1ZKO.js";import"./VSelectionControl-DKw4TKuO.js";import"./VSlideGroup-B5C2lA7c.js";import"./filter-Ds3JJmu2.js";const ye={name:"AdminServerFolderPicker",emits:["change","menu"],data(){return{path:"",originalPath:"",showHidden:!1,menuOpen:!1}},computed:{...y(_,{folders:e=>e.folderPicker.folders,rootFolder:e=>e.folderPicker.rootFolder}),...y($,{formErrors:e=>e.form.errors}),appendOuterIcon(){return this.showHidden?this.mdiFolderHidden:this.mdiFolderOutline},showHiddenTooltipPrefix(){return this.showHidden?"Hide":"Show"}},watch:{menuOpen(e){e&&this.$emit("menu",e)}},created(){this.loadFolders().then(()=>(this.path=this.rootFolder,this.originalPath=this.rootFolder,!0)).catch(console.warn)},methods:{...F(_,["clearFolders","loadFolders"]),...F($,["clearErrors"]),change(e){const t=e?e.startsWith("/")||e.startsWith("\\")?e:[this.rootFolder,e].join("/"):this.rootFolder,a=this.menuOpen;this.clearErrors(),this.loadFolders(t,this.showHidden).then(()=>{this.menuOpen=a;let n="";return this.formErrors.length===0&&(this.path=n=this.rootFolder),this.$emit("change",n)}).catch(console.warn)},onBlur(){this.menuOpen=!1,this.change(this.path)},onClear(){this.clearFolders(this.orignalPath).then(()=>this.change(this.orginalPath)).catch(console.error)},onKeyDownEnter(){this.change(this.path)},onItemClick(e){this.change(e)}}},ve={id:"folderPicker"};function ge(e,t,a,n,l,u){return p(),g("div",ve,[r(pe,O({modelValue:l.path,"onUpdate:modelValue":t[0]||(t[0]=c=>l.path=c),menu:l.menuOpen,"onUpdate:menu":t[1]||(t[1]=c=>l.menuOpen=c)},e.$attrs,{"aria-label":"Library folder",clearable:"","error-messages":e.formErrors,"full-width":"","hide-details":"auto",items:e.folders,"menu-props":{maxHeight:"370px"},"validate-on":"blur",variant:"filled",onBlur:u.onBlur,"onClick:clear":u.onClear,onKeydown:ee(u.onKeyDownEnter,["enter"])}),{item:s(({item:c,props:f})=>[r(J,O(f,{title:c.title,value:c.value,onClick:v=>u.onItemClick(c.value)}),null,16,["title","value","onClick"])]),_:1},16,["modelValue","menu","error-messages","items","onBlur","onClick:clear","onKeydown"]),r(E,{modelValue:l.showHidden,"onUpdate:modelValue":t[2]||(t[2]=c=>l.showHidden=c),density:"compact",class:"showHidden","hide-details":"auto",label:"Show Hidden Folders"},null,8,["modelValue"])])}const we=C(ye,[["render",ge],["__scopeId","data-v-49f10642"]]),Ce={name:"TimeTextField",data(){return{FORMAT:"DDD HH:mm:SS",timeRules:[e=>/^\d{0,3}?[01]\d|2[0-3](?::[0-5]\d){2}$/.test(e)||`Invalid time format ${this.FORMAT}`]}}};function Ie(e,t,a,n,l,u){return p(),w(he,O({ref:"timeField",density:"compact",filled:"",hint:l.FORMAT,round:"",rules:l.timeRules},e.$attrs),null,16,["hint","rules"])}const ke=C(Ce,[["render",Ie]]),K=["events","poll","pollEvery","groups"];Object.freeze(K);const L={path:"",events:!0,poll:!0,pollEvery:"01:00:00",groups:[]};Object.freeze(L);const j=(e,t)=>(e=e.replaceAll("\\","/"),t=t.replaceAll("\\","/"),e.endsWith("/")||(e+="/"),t.endsWith("/")||(t+="/"),t.startsWith(e)),Fe={name:"AdminLibraryCreateUpdateInputs",components:{AdminRelationPicker:de,AdminServerFolderPicker:we,TimeTextField:ke},props:{oldRow:{type:[Object,Boolean],default:!1}},emits:["change"],data(){return{rules:{path:[e=>!!e||"Path is required",e=>{if(!e)return!1;for(const t of this.paths){if(j(t,e))return"Path is a child of an existing library";if(j(e,t))return"Path is a parent of an existing library"}return!0}]},row:A(this.oldRow||L)}},computed:{...y(_,{groups:e=>e.groups,libraries:e=>e.libraries}),paths(){return this.nameSet(this.libraries,"path",this.oldRow,!1)}},watch:{row:{handler(e){this.$emit("change",e)},deep:!0},oldRow:{handler(e){this.row=A(e)},deep:!0}},methods:{...F(_,["nameSet"])},UPDATE_KEYS:K,EMPTY_ROW:L},Ae={key:1};function Pe(e,t,a,n,l,u){const c=m("AdminServerFolderPicker"),f=m("TimeTextField"),v=m("AdminRelationPicker");return p(),g(B,null,[a.oldRow?(p(),g("div",Ae,k(a.oldRow.path),1)):(p(),w(c,{key:0,rules:l.rules.path,autofocus:"",label:"Library Folder",onChange:t[0]||(t[0]=h=>l.row.path=h)},null,8,["rules"])),r(E,{modelValue:l.row.events,"onUpdate:modelValue":t[1]||(t[1]=h=>l.row.events=h),"hide-details":"auto",hint:"Update Codex instantly when the filesystem changes",label:"Watch Filesystem Events","persistent-hint":!0},null,8,["modelValue"]),r(E,{modelValue:l.row.poll,"onUpdate:modelValue":t[2]||(t[2]=h=>l.row.poll=h),label:"Poll Filesystem Periodically","hide-details":"auto",hint:"Periodically poll the library for changes","persistent-hint":!0},null,8,["modelValue"]),r(f,{modelValue:l.row.pollEvery,"onUpdate:modelValue":t[3]||(t[3]=h=>l.row.pollEvery=h),label:"Poll Every",disabled:!l.row.poll},null,8,["modelValue","disabled"]),l.row.coversOnly?P("",!0):(p(),w(v,{key:2,modelValue:l.row.groups,"onUpdate:modelValue":t[4]||(t[4]=h=>l.row.groups=h),label:"Groups",objs:e.groups,"group-type":"","title-key":"name"},null,8,["modelValue","objs"]))],64)}const Y=C(Fe,[["render",Pe]]),Te={name:"AdminLibrariesTab",components:{AdminTable:ce,AdminDeleteRowDialog:me,AdminCreateUpdateDialog:G,RelationChips:ue,ConfirmDialog:fe,DateTimeColumn:M},props:{coversDir:{type:Boolean,default:!1}},data(){return{lastUpdate:{pk:0,field:void 0},mdiCircleOffOutline:te,mdiDatabaseClockOutline:oe,mdiDatabaseSyncOutline:re,mdiOpenInNew:W,AdminLibraryCreateUpdateInputs:N(Y)}},computed:{...y(_,{groups:e=>e.groups,items(e){const t=[];for(const a of e.libraries){const n=A(a);n.label=n.coversOnly?"custom group cover":"comic",t.push(n)}return t},headers(){const e=[{title:"Path",key:"path",align:"start"},{title:"Watch File Events",key:"events"},{title:"Poll Files Periodically",key:"poll"},{title:"Poll Every",key:"pollEvery"},{title:"Last Poll",key:"lastPoll"}];return this.coversDir||e.push({title:"Groups",key:"groups"}),e.push({title:"Actions",key:"actions",sortable:!1}),e}}),...y($,{formErrors:e=>{var t;return(t=e.form)==null?void 0:t.errors}}),...y(be,{twentyFourHourTime:e=>e.settings.twentyFourHourTime})},mounted(){this.loadTables(["Group","Library","FailedImport"])},methods:{...F(_,["updateRow","clearErrors","librarianTask","loadTables"]),formatDateTime:e=>e?le(e,(void 0).twentyFourHourTime):"",changeCol(e,t,a){this.lastUpdate.pk=e,this.lastUpdate.field=t;const n={[t]:a};this.updateRow("Library",e,n)},getFormErrors(e,t){if(e===this.lastUpdate.pk&&t===this.lastUpdate.field)return this.formErrors},libraryLabel(e,t=!0){let a="";return e.coversOnly?(t&&(a+="Custom Group "),a+="Cover Dir"):a+="Library",a},poll(e){const t=this.libraryLabel(e);this.librarianTask("poll",`Poll ${t} ${e.pk}`,e.pk)},forcePoll(e){const t=this.libraryLabel(e);this.librarianTask("poll_force",`Force Poll ${t} ${e.pk}`,e.pk)},pollConfirmText(e){return`Poll ${this.libraryLabel(e,!1)}`},updateLabel(e){return e.coversOnly?"Cover Dir":""}}},xe=e=>(R("data-v-9cc10107"),e=e(),S(),e),De=xe(()=>o("td",{class:"adminNoData",colspan:"100%"}," Add a Library to start using Codex ",-1));function Ve(e,t,a,n,l,u){const c=m("DateTimeColumn"),f=m("RelationChips"),v=m("ConfirmDialog"),h=m("AdminCreateUpdateDialog"),Q=m("AdminDeleteRowDialog"),X=m("AdminTable");return p(),w(X,{headers:e.headers},{"no-data":s(()=>[De]),"item.events":s(({item:i})=>[r(z,{"model-value":i.events,disabled:""},null,8,["model-value"])]),"item.poll":s(({item:i})=>[r(z,{"model-value":i.poll,disabled:""},null,8,["model-value"])]),"item.pollEvery":s(({item:i})=>[o("span",{class:se({disabled:!i.poll})},k(i.pollEvery),3)]),"item.lastPoll":s(({item:i})=>[r(c,{dttm:i.lastPoll},null,8,["dttm"])]),"item.groups":s(({item:i})=>[r(f,{pks:i.groups,objs:e.groups,"group-type":"","title-key":"name"},null,8,["pks","objs"])]),"item.actions":s(({item:i})=>[r(v,{icon:l.mdiDatabaseClockOutline,"title-text":`Poll for updated ${i.label}s`,"object-name":i.path,"confirm-text":u.pollConfirmText(i),size:"small",density:"compact",onConfirm:Z=>u.poll(i)},null,8,["icon","title-text","object-name","confirm-text","onConfirm"]),r(v,{icon:l.mdiDatabaseSyncOutline,"title-text":`Force update every ${i.label}`,"object-name":i.path,"confirm-text":"Force Update",size:"small",density:"compact",onConfirm:Z=>u.forcePoll(i)},null,8,["icon","title-text","object-name","onConfirm"]),r(h,{table:"Library","old-row":i,inputs:l.AdminLibraryCreateUpdateInputs,label:u.updateLabel(i),"max-width":"22em",size:"small",density:"compact"},null,8,["old-row","inputs","label"]),i.coversOnly?P("",!0):(p(),w(Q,{key:0,table:"Library",pk:i.pk,name:i.path,size:"small",density:"compact"},null,8,["pk","name"]))]),_:2},1032,["headers"])}const q=C(Te,[["render",Ve],["__scopeId","data-v-9cc10107"]]),$e={name:"AdminCustomCoversPanel",components:{AdminLibraryTable:q},computed:{...y(_,{coverDirItems(e){const t=[];for(const a of e.libraries)if(a.coversOnly){const n=A(a);n.label=n.coversOnly?"custom group cover":"comic",t.push(n)}return t}})}},b=e=>(R("data-v-589557a2"),e=e(),S(),e),Oe=b(()=>o("h4",{id:"coverDirHeader"},"Custom Covers",-1)),Ee=b(()=>o("h4",null,"Custom Covers Help",-1)),Le=b(()=>o("p",null,"Custom covers may be added to the browser in two locations:",-1)),Re=b(()=>o("h4",null,"Folders",-1)),Se=b(()=>o("p",null,[d(" A library folder with a file named "),o("code",null,".codex-cover.jpg"),d(" will show a custom cover for that folder in Folder view. The addition and removal of these covers by watching filesystem events and polling is handled by the library that folder belongs to. ")],-1)),Ue=b(()=>o("h4",null,"Custom Covers Dir",-1)),He=b(()=>o("p",null,[d(" The Codex config directory has a special folder named "),o("code",null,"custom-covers"),d(" under which are subdirectories for each of the browser groups that may adopt custom covers. Images in these subdirectories that match the name of the browser group will be used as custom covers. For instance: "),o("code",null,".../custom-covers/publishers/American Comics Group.webp"),d(' would be used as the cover for the publisher "American Comics Group". '),o("code",null,".../custom-covers/series/arrow.png"),d(' would be used as the cover for every series named "Arrow", for '),o("em",null,"every"),d(" publisher. Similar to a comic library, the "),o("code",null,"custom-covers"),d(" directory may be watched and polled for changes. By default it is neither watched nor polled and must be enabled by the admin. ")],-1)),ze=b(()=>o("h4",null,"Image Formats & Size",-1)),je=b(()=>o("p",null,[d(" Custom covers are detected only for files with the extensions: "),o("code",null,".bmp, .gif, .jpeg, .jpg, .png, .webp"),d(". ")],-1)),Be=b(()=>o("p",null," Browser covers are transformed from their sources to 165px x 254px thumbnails. Custom covers will transform most aesthetically the closer to that ratio they are. ",-1)),We=b(()=>o("h4",null,"Priority",-1)),Ne=b(()=>o("p",null," Custom covers supersede covers set by the user's individual browser settings. ",-1));function Ge(e,t,a,n,l,u){const c=m("AdminLibraryTable");return p(),w(D,null,{default:s(()=>[r(V,null,{default:s(()=>[r(T,null,{default:s(()=>[Oe]),_:1}),r(x,null,{default:s(()=>[r(c,{items:e.coverDirItems,"disable-sort":"","covers-dir":!0},null,8,["items"]),r(D,null,{default:s(()=>[r(V,{id:"customCoversHelp"},{default:s(()=>[r(T,null,{default:s(()=>[Ee]),_:1}),r(x,null,{default:s(()=>[Le,Re,Se,Ue,He,ze,je,Be,We,Ne]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}const Me=C($e,[["render",Ge],["__scopeId","data-v-589557a2"]]),Ke={name:"AdminFailedImportsPanel",components:{DateTimeColumn:M},data(){return{mdiBookAlert:ae,mdiOpenInNew:W}},computed:{...y(_,["failedImports"]),...ne(_,["unseenFailedImports"])},created(){this.unseenFailedImports=!0}},I=e=>(R("data-v-a99d09dc"),e=e(),S(),e),Ye={key:0},qe=I(()=>o("thead",null,[o("tr",null,[o("th",null,"Path"),o("th",null,"Created")])],-1)),Qe={class:"dateCol"},Xe=I(()=>o("h4",null,"Failed Imports Help",-1)),Ze=I(()=>o("p",null," These are Comic archives that have failed to import. This list is updated every time the library updates. You should probably review these files and fix or remove them. ",-1)),Je=I(()=>o("h4",null,"Fixing comics",-1)),et=I(()=>o("p",null,[d(" Try using the zip fixer to fix comics: "),o("code",{class:"cli"},[d(" cp problem-comic.cbz /somewhere/safe/problem-comic.cbz.backup"),o("br"),d(" zip -F problem-comic.cbz --out fixed.zip"),o("br"),d(" mv fixed.zip problem-comic.cbz ")]),d(" You may also try "),o("code",null,"zip -FF"),d(" to fix comics which uses a different (not necissarily better) algorithm. If you fix some imports, and Codex does not immediately detect the change, poll the library which contains the fixed comics. ")],-1)),tt=I(()=>o("h4",null,"Reporting Issues",-1)),ot={href:"https://github.com/ajslater/codex/issues/",target:"_blank"},rt=I(()=>o("code",null,"config/logs/codex.log",-1));function lt(e,t,a,n,l,u){const c=m("DateTimeColumn");return e.failedImports&&e.failedImports.length>0?(p(),g("div",Ye,[r(D,null,{default:s(()=>[r(V,{id:"failedImportsPanel",onClick:t[0]||(t[0]=f=>e.unseenFailedImports=!1)},{default:s(()=>[r(T,null,{default:s(()=>[o("h4",null,"Failed Imports: "+k(e.failedImports.length),1),e.unseenFailedImports?(p(),w(U,{key:0,id:"failedImportsIcon",title:"New Failed Imports"},{default:s(()=>[d(k(l.mdiBookAlert),1)]),_:1})):P("",!0)]),_:1}),r(x,null,{default:s(()=>[r(_e,{class:"highlight-table"},{default:s(()=>[qe,o("tbody",null,[(p(!0),g(B,null,ie(e.failedImports,f=>(p(),g("tr",{key:`fi:${f.path}`},[o("td",null,k(f.path),1),o("td",Qe,[r(c,{dttm:f.createdAt},null,8,["dttm"])])]))),128))])]),_:1}),r(D,null,{default:s(()=>[r(V,{id:"failedImportsHelp"},{default:s(()=>[r(T,null,{default:s(()=>[Xe]),_:1}),r(x,null,{default:s(()=>[Ze,Je,et,tt,o("p",null,[d(" If the comic looks good to you, but still shows up as a failed import, it might be Codex's fault for not importing it correctly. Please file an "),o("a",ot,[d("Issue Report"),r(U,{size:"small"},{default:s(()=>[d(k(l.mdiOpenInNew),1)]),_:1})]),d(" and include the stack trace from the logs at "),rt,d(" if you can. ")])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})])):P("",!0)}const st=C(Ke,[["render",lt],["__scopeId","data-v-a99d09dc"]]),at={name:"AdminLibrariesTab",components:{AdminFailedImportsPanel:st,AdminLibraryTable:q,AdminCreateUpdateDialog:G,AdminCustomCoversPanel:Me},data(){return{AdminLibraryCreateUpdateInputs:N(Y)}},computed:{...y(_,{libraryItems(e){const t=[];if(!e.libraries)return t;for(const a of e.libraries)if(!a.coversOnly){const n=A(a);n.label=n.coversOnly?"custom group cover":"comic",t.push(n)}return t}})},mounted(){this.loadTables(["Group","Library","FailedImport"])},methods:{...F(_,["loadTables"])}},nt={class:"tabHeader"};function it(e,t,a,n,l,u){const c=m("AdminCreateUpdateDialog"),f=m("AdminLibraryTable"),v=m("AdminFailedImportsPanel"),h=m("AdminCustomCoversPanel");return p(),g("div",null,[o("header",nt,[r(c,{table:"Library",inputs:l.AdminLibraryCreateUpdateInputs},null,8,["inputs"])]),r(f,{items:e.libraryItems,"sort-by":[{key:"path",order:"asc"}]},null,8,["items"]),r(H,null,{default:s(()=>[r(v,{id:"failedImports"})]),_:1}),r(H,null,{default:s(()=>[r(h,{id:"customCovers"})]),_:1})])}const Ft=C(at,[["render",it],["__scopeId","data-v-7582b1ea"]]);export{Ft as default};
@@ -1 +0,0 @@
1
- #folderPicker[data-v-49f10642]{border-radius:5px;background-color:rgb(var(--v-theme-surface))}.showHidden[data-v-49f10642] .v-label{color:rgb(var(--v-theme-textSecondary))}.disabled[data-v-9cc10107]{color:rgb(var(--v-theme-textDisabled))!important}#customCoversHelp[data-v-589557a2]{color:rgb(var(--v-theme-textSecondary))}#customCoversHelp .v-expansion-panel-text h4[data-v-589557a2]{margin-top:.5em}.cli[data-v-a99d09dc]{display:block;margin-left:2em}#failedImportsPanel[data-v-a99d09dc]{padding-top:10px}#failedImportsIcon[data-v-a99d09dc]{padding-left:.25em;color:rgb(var(--v-theme-error))!important}#failedImportsHelp[data-v-a99d09dc]{color:rgb(var(--v-theme-textSecondary))}h4[data-v-a99d09dc]{padding-top:.5em}a[data-v-a99d09dc],a>.v-icon[data-v-a99d09dc]{color:rgb(var(--v-theme-primary))!important}a[data-v-a99d09dc]:hover,a:hover>.v-icon[data-v-a99d09dc]{color:rgb(var(--v-theme-textPrimary))!important}a.v-btn>.v-icon[data-v-a99d09dc]{color:rgb(var(--v-theme-textPrimary))}#customCovers[data-v-7582b1ea]{margin-top:60px}
@@ -1,3 +0,0 @@
1
- @�`^}%�t7"��������l,*
2
- ,l�}ca���͆0"�~��T���=R�!+r���耓=�8�3d�2����+>>+ߺtfu��O>X_�+*�k���;�jF��}LϠel�l�T�������w�\�wH�/�</�L/��`��BrQL����f��Ȼ�v>G���P�c#!1��Y޾���E��
3
- �6��h��� dx7U#�
@@ -1 +0,0 @@
1
- #folderPicker[data-v-49f10642]{border-radius:5px;background-color:rgb(var(--v-theme-surface))}.showHidden[data-v-49f10642] .v-label{color:rgb(var(--v-theme-textSecondary))}.disabled[data-v-9cc10107]{color:rgb(var(--v-theme-textDisabled))!important}#customCoversHelp[data-v-589557a2]{color:rgb(var(--v-theme-textSecondary))}#customCoversHelp .v-expansion-panel-text h4[data-v-589557a2]{margin-top:.5em}.cli[data-v-a99d09dc]{display:block;margin-left:2em}#failedImportsPanel[data-v-a99d09dc]{padding-top:10px}#failedImportsIcon[data-v-a99d09dc]{padding-left:.25em;color:rgb(var(--v-theme-error))!important}#failedImportsHelp[data-v-a99d09dc]{color:rgb(var(--v-theme-textSecondary))}h4[data-v-a99d09dc]{padding-top:.5em}a[data-v-a99d09dc],a>.v-icon[data-v-a99d09dc]{color:rgb(var(--v-theme-primary))!important}a[data-v-a99d09dc]:hover,a:hover>.v-icon[data-v-a99d09dc]{color:rgb(var(--v-theme-textPrimary))!important}a.v-btn>.v-icon[data-v-a99d09dc]{color:rgb(var(--v-theme-textPrimary))}#customCovers[data-v-7582b1ea]{margin-top:60px}
@@ -1,3 +0,0 @@
1
- @�`^}%�t7"��������l,*
2
- ,l�}ca���͆0"�~��T���=R�!+r���耓=�8�3d�2����+>>+ߺtfu��O>X_�+*�k���;�jF��}LϠel�l�T�������w�\�wH�/�</�L/��`��BrQL����f��Ȼ�v>G���P�c#!1��Y޾���E��
3
- �6��h��� dx7U#�