codex 1.7.0__py3-none-any.whl → 1.7.0a0__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.
- codex/db.py +17 -32
- codex/exceptions.py +3 -2
- codex/librarian/covers/coverd.py +4 -3
- codex/librarian/covers/create.py +7 -8
- codex/librarian/covers/path.py +2 -1
- codex/librarian/covers/purge.py +2 -2
- codex/librarian/janitor/integrity.py +10 -12
- codex/librarian/janitor/tasks.py +1 -1
- codex/librarian/librariand.py +0 -5
- codex/librarian/watchdog/emitter.py +19 -21
- codex/librarian/watchdog/event_batcherd.py +1 -0
- codex/migrations/0030_nocase_collation_day_month_indexes_status_types.py +0 -4
- codex/models/admin.py +5 -0
- codex/models/functions.py +5 -6
- codex/models/query.py +0 -6
- codex/run.py +9 -11
- codex/serializers/admin/tasks.py +2 -2
- codex/serializers/browser/mixins.py +14 -18
- codex/serializers/browser/settings.py +4 -4
- codex/serializers/choices.py +196 -0
- codex/serializers/fields.py +5 -9
- codex/startup.py +4 -6
- codex/static_root/assets/VCheckbox-CWiqcZ7a.3feebd47daab.js +1 -0
- codex/static_root/assets/VCheckbox-CWiqcZ7a.3feebd47daab.js.br +0 -0
- codex/static_root/assets/VCheckbox-CWiqcZ7a.3feebd47daab.js.gz +0 -0
- codex/static_root/assets/VCheckbox-CWiqcZ7a.js +1 -0
- codex/static_root/assets/VCheckbox-CWiqcZ7a.js.br +0 -0
- codex/static_root/assets/VCheckbox-CWiqcZ7a.js.gz +0 -0
- codex/static_root/assets/VCheckboxBtn-Dk3iB62X.bc66d5351baa.js +1 -0
- codex/static_root/assets/VCheckboxBtn-Dk3iB62X.bc66d5351baa.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-Dk3iB62X.bc66d5351baa.js.gz +0 -0
- codex/static_root/assets/VCheckboxBtn-Dk3iB62X.js +1 -0
- codex/static_root/assets/VCheckboxBtn-Dk3iB62X.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-Dk3iB62X.js.gz +0 -0
- codex/static_root/assets/VCombobox-D1_KU27A.b1d30587a973.js +1 -0
- codex/static_root/assets/VCombobox-D1_KU27A.b1d30587a973.js.br +0 -0
- codex/static_root/assets/VCombobox-D1_KU27A.b1d30587a973.js.gz +0 -0
- codex/static_root/assets/VCombobox-D1_KU27A.js +1 -0
- codex/static_root/assets/VCombobox-D1_KU27A.js.br +0 -0
- codex/static_root/assets/VCombobox-D1_KU27A.js.gz +0 -0
- codex/static_root/assets/VDialog-38np3TSA.5a0cb7a9e56d.css +1 -0
- codex/static_root/assets/VDialog-38np3TSA.5a0cb7a9e56d.css.br +0 -0
- codex/static_root/assets/VDialog-38np3TSA.5a0cb7a9e56d.css.gz +0 -0
- codex/static_root/assets/VDialog-38np3TSA.css +1 -0
- codex/static_root/assets/VDialog-38np3TSA.css.br +0 -0
- codex/static_root/assets/VDialog-38np3TSA.css.gz +0 -0
- codex/static_root/assets/VDialog-GbxvFMMN.594fb3a39ced.js +1 -0
- codex/static_root/assets/VDialog-GbxvFMMN.594fb3a39ced.js.br +0 -0
- codex/static_root/assets/VDialog-GbxvFMMN.594fb3a39ced.js.gz +0 -0
- codex/static_root/assets/VDialog-GbxvFMMN.js +1 -0
- codex/static_root/assets/VDialog-GbxvFMMN.js.br +0 -0
- codex/static_root/assets/VDialog-GbxvFMMN.js.gz +0 -0
- codex/static_root/assets/VExpansionPanels-Cywv_bEj.a762e63858e5.js +1 -0
- codex/static_root/assets/VExpansionPanels-Cywv_bEj.a762e63858e5.js.br +0 -0
- codex/static_root/assets/VExpansionPanels-Cywv_bEj.a762e63858e5.js.gz +0 -0
- codex/static_root/assets/VExpansionPanels-Cywv_bEj.js +1 -0
- codex/static_root/assets/VExpansionPanels-Cywv_bEj.js.br +0 -0
- codex/static_root/assets/VExpansionPanels-Cywv_bEj.js.gz +0 -0
- codex/static_root/assets/VRadioGroup-C0etmxpZ.0eb3009a6300.js +1 -0
- codex/static_root/assets/VRadioGroup-C0etmxpZ.0eb3009a6300.js.br +0 -0
- codex/static_root/assets/VRadioGroup-C0etmxpZ.0eb3009a6300.js.gz +0 -0
- codex/static_root/assets/VRadioGroup-C0etmxpZ.js +1 -0
- codex/static_root/assets/VRadioGroup-C0etmxpZ.js.br +0 -0
- codex/static_root/assets/VRadioGroup-C0etmxpZ.js.gz +0 -0
- codex/static_root/assets/VSelect-Ca2bIOso.6613989e4c45.css +1 -0
- codex/static_root/assets/VSelect-Ca2bIOso.6613989e4c45.css.br +0 -0
- codex/static_root/assets/VSelect-Ca2bIOso.6613989e4c45.css.gz +0 -0
- codex/static_root/assets/VSelect-Ca2bIOso.css +1 -0
- codex/static_root/assets/VSelect-Ca2bIOso.css.br +0 -0
- codex/static_root/assets/VSelect-Ca2bIOso.css.gz +0 -0
- codex/static_root/assets/VSelect-txrnRiNJ.a5625760018c.js +1 -0
- codex/static_root/assets/VSelect-txrnRiNJ.a5625760018c.js.br +0 -0
- codex/static_root/assets/VSelect-txrnRiNJ.a5625760018c.js.gz +0 -0
- codex/static_root/assets/VSelect-txrnRiNJ.js +1 -0
- codex/static_root/assets/VSelect-txrnRiNJ.js.br +0 -0
- codex/static_root/assets/VSelect-txrnRiNJ.js.gz +0 -0
- codex/static_root/assets/VSelectionControl-CY6RmcvW.7e8824224f6c.js +1 -0
- codex/static_root/assets/VSelectionControl-CY6RmcvW.7e8824224f6c.js.br +0 -0
- codex/static_root/assets/VSelectionControl-CY6RmcvW.7e8824224f6c.js.gz +0 -0
- codex/static_root/assets/VSelectionControl-CY6RmcvW.js +1 -0
- codex/static_root/assets/VSelectionControl-CY6RmcvW.js.br +0 -0
- codex/static_root/assets/VSelectionControl-CY6RmcvW.js.gz +0 -0
- codex/static_root/assets/VSlideGroup-Dk_1upHt.2c836070ec75.css +1 -0
- codex/static_root/assets/VSlideGroup-Dk_1upHt.2c836070ec75.css.br +0 -0
- codex/static_root/assets/VSlideGroup-Dk_1upHt.2c836070ec75.css.gz +0 -0
- codex/static_root/assets/VSlideGroup-Dk_1upHt.css +1 -0
- codex/static_root/assets/VSlideGroup-Dk_1upHt.css.br +0 -0
- codex/static_root/assets/VSlideGroup-Dk_1upHt.css.gz +0 -0
- codex/static_root/assets/VSlideGroup-DtEQMwY1.6c72325635ed.js +1 -0
- codex/static_root/assets/VSlideGroup-DtEQMwY1.6c72325635ed.js.br +0 -0
- codex/static_root/assets/VSlideGroup-DtEQMwY1.6c72325635ed.js.gz +0 -0
- codex/static_root/assets/VSlideGroup-DtEQMwY1.js +1 -0
- codex/static_root/assets/VSlideGroup-DtEQMwY1.js.br +0 -0
- codex/static_root/assets/VSlideGroup-DtEQMwY1.js.gz +0 -0
- codex/static_root/assets/VTable-2af995xo.6c5bf36631b2.js +1 -0
- codex/static_root/assets/VTable-2af995xo.6c5bf36631b2.js.br +0 -0
- codex/static_root/assets/VTable-2af995xo.6c5bf36631b2.js.gz +0 -0
- codex/static_root/assets/VTable-2af995xo.js +1 -0
- codex/static_root/assets/VTable-2af995xo.js.br +0 -0
- codex/static_root/assets/VTable-2af995xo.js.gz +0 -0
- codex/static_root/assets/VTextField-Crc3gdNh.39995ccf4d52.css +1 -0
- codex/static_root/assets/VTextField-Crc3gdNh.39995ccf4d52.css.br +0 -0
- codex/static_root/assets/VTextField-Crc3gdNh.39995ccf4d52.css.gz +0 -0
- codex/static_root/assets/VTextField-Crc3gdNh.css +1 -0
- codex/static_root/assets/VTextField-Crc3gdNh.css.br +0 -0
- codex/static_root/assets/VTextField-Crc3gdNh.css.gz +0 -0
- codex/static_root/assets/VTextField-G6CMj7yO.657a130dd302.js +1 -0
- codex/static_root/assets/VTextField-G6CMj7yO.657a130dd302.js.br +0 -0
- codex/static_root/assets/VTextField-G6CMj7yO.657a130dd302.js.gz +0 -0
- codex/static_root/assets/VTextField-G6CMj7yO.js +1 -0
- codex/static_root/assets/VTextField-G6CMj7yO.js.br +0 -0
- codex/static_root/assets/VTextField-G6CMj7yO.js.gz +0 -0
- codex/static_root/assets/VWindowItem-CzoGd6Ul.721e5da11ad4.js +1 -0
- codex/static_root/assets/VWindowItem-CzoGd6Ul.721e5da11ad4.js.br +0 -0
- codex/static_root/assets/VWindowItem-CzoGd6Ul.721e5da11ad4.js.gz +0 -0
- codex/static_root/assets/VWindowItem-CzoGd6Ul.js +1 -0
- codex/static_root/assets/VWindowItem-CzoGd6Ul.js.br +0 -0
- codex/static_root/assets/VWindowItem-CzoGd6Ul.js.gz +0 -0
- codex/static_root/assets/{admin-DJ7pIXDQ.css → admin-CWEjaFr5.7d4523387384.css} +1 -1
- codex/static_root/assets/admin-CWEjaFr5.7d4523387384.css.br +0 -0
- codex/static_root/assets/admin-CWEjaFr5.7d4523387384.css.gz +0 -0
- codex/static_root/assets/{admin-DJ7pIXDQ.e2a77af73ef2.css → admin-CWEjaFr5.css} +1 -1
- codex/static_root/assets/admin-CWEjaFr5.css.br +0 -0
- codex/static_root/assets/admin-CWEjaFr5.css.gz +0 -0
- codex/static_root/assets/admin-CsPAIQeG.5175467148a3.js +1 -0
- codex/static_root/assets/admin-CsPAIQeG.5175467148a3.js.br +0 -0
- codex/static_root/assets/admin-CsPAIQeG.5175467148a3.js.gz +0 -0
- codex/static_root/assets/admin-CsPAIQeG.js +1 -0
- codex/static_root/assets/admin-CsPAIQeG.js.br +0 -0
- codex/static_root/assets/admin-CsPAIQeG.js.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-BAT7GA64.73a064628c19.js +30 -0
- codex/static_root/assets/admin-drawer-panel-BAT7GA64.73a064628c19.js.br +0 -0
- codex/static_root/assets/admin-drawer-panel-BAT7GA64.73a064628c19.js.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-BAT7GA64.js +30 -0
- codex/static_root/assets/admin-drawer-panel-BAT7GA64.js.br +0 -0
- codex/static_root/assets/admin-drawer-panel-BAT7GA64.js.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-Bs2wgKj3.3cb33056e994.css +1 -0
- codex/static_root/assets/admin-drawer-panel-Bs2wgKj3.3cb33056e994.css.br +0 -0
- codex/static_root/assets/admin-drawer-panel-Bs2wgKj3.3cb33056e994.css.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-Bs2wgKj3.css +1 -0
- codex/static_root/assets/admin-drawer-panel-Bs2wgKj3.css.br +0 -0
- codex/static_root/assets/admin-drawer-panel-Bs2wgKj3.css.gz +0 -0
- codex/static_root/assets/browser-C18l93yc.923860009ef4.js +1 -0
- codex/static_root/assets/browser-C18l93yc.923860009ef4.js.br +0 -0
- codex/static_root/assets/browser-C18l93yc.923860009ef4.js.gz +0 -0
- codex/static_root/assets/browser-C18l93yc.js +1 -0
- codex/static_root/assets/browser-C18l93yc.js.br +0 -0
- codex/static_root/assets/browser-C18l93yc.js.gz +0 -0
- codex/static_root/assets/browser-DaAqlBYO.708ecf0904bb.css +1 -0
- codex/static_root/assets/browser-DaAqlBYO.708ecf0904bb.css.br +0 -0
- codex/static_root/assets/browser-DaAqlBYO.708ecf0904bb.css.gz +0 -0
- codex/static_root/assets/browser-DaAqlBYO.css +1 -0
- codex/static_root/assets/browser-DaAqlBYO.css.br +0 -0
- codex/static_root/assets/browser-DaAqlBYO.css.gz +0 -0
- codex/static_root/assets/change-password-dialog-BazJdNs9.0a4e02656a35.js +1 -0
- codex/static_root/assets/change-password-dialog-BazJdNs9.0a4e02656a35.js.br +0 -0
- codex/static_root/assets/change-password-dialog-BazJdNs9.0a4e02656a35.js.gz +0 -0
- codex/static_root/assets/change-password-dialog-BazJdNs9.js +1 -0
- codex/static_root/assets/change-password-dialog-BazJdNs9.js.br +0 -0
- codex/static_root/assets/change-password-dialog-BazJdNs9.js.gz +0 -0
- codex/static_root/assets/change-password-dialog-Mlmvz8_4.111421f51e79.css +1 -0
- codex/static_root/assets/change-password-dialog-Mlmvz8_4.111421f51e79.css.br +0 -0
- codex/static_root/assets/change-password-dialog-Mlmvz8_4.111421f51e79.css.gz +0 -0
- codex/static_root/assets/change-password-dialog-Mlmvz8_4.css +1 -0
- codex/static_root/assets/change-password-dialog-Mlmvz8_4.css.br +0 -0
- codex/static_root/assets/change-password-dialog-Mlmvz8_4.css.gz +0 -0
- codex/static_root/assets/confirm-dialog-BmhedLCx.7c2103d319d4.css +1 -0
- codex/static_root/assets/confirm-dialog-BmhedLCx.css +1 -0
- codex/static_root/assets/confirm-dialog-CbW3hlOp.9dd39b443c31.js +1 -0
- codex/static_root/assets/confirm-dialog-CbW3hlOp.9dd39b443c31.js.br +0 -0
- codex/static_root/assets/confirm-dialog-CbW3hlOp.9dd39b443c31.js.gz +0 -0
- codex/static_root/assets/confirm-dialog-CbW3hlOp.js +1 -0
- codex/static_root/assets/confirm-dialog-CbW3hlOp.js.br +0 -0
- codex/static_root/assets/confirm-dialog-CbW3hlOp.js.gz +0 -0
- codex/static_root/assets/datetime-column-uSqKZU37.b157b0743db5.js +1 -0
- codex/static_root/assets/datetime-column-uSqKZU37.b157b0743db5.js.br +0 -0
- codex/static_root/assets/datetime-column-uSqKZU37.b157b0743db5.js.gz +0 -0
- codex/static_root/assets/datetime-column-uSqKZU37.js +1 -0
- codex/static_root/assets/datetime-column-uSqKZU37.js.br +0 -0
- codex/static_root/assets/datetime-column-uSqKZU37.js.gz +0 -0
- codex/static_root/assets/filter-CBl5KEsB.845a81573c2e.js +1 -0
- codex/static_root/assets/filter-CBl5KEsB.845a81573c2e.js.br +0 -0
- codex/static_root/assets/filter-CBl5KEsB.845a81573c2e.js.gz +0 -0
- codex/static_root/assets/filter-CBl5KEsB.js +1 -0
- codex/static_root/assets/filter-CBl5KEsB.js.br +0 -0
- codex/static_root/assets/filter-CBl5KEsB.js.gz +0 -0
- codex/static_root/assets/flag-tab-CT8pqM4r.ecb6eee2e7a0.js +1 -0
- codex/static_root/assets/flag-tab-CT8pqM4r.ecb6eee2e7a0.js.br +0 -0
- codex/static_root/assets/flag-tab-CT8pqM4r.ecb6eee2e7a0.js.gz +0 -0
- codex/static_root/assets/flag-tab-CT8pqM4r.js +1 -0
- codex/static_root/assets/flag-tab-CT8pqM4r.js.br +0 -0
- codex/static_root/assets/flag-tab-CT8pqM4r.js.gz +0 -0
- codex/static_root/assets/flag-tab-DBqpLKi7.css +1 -0
- codex/static_root/assets/flag-tab-DBqpLKi7.css.br +0 -0
- codex/static_root/assets/flag-tab-DBqpLKi7.css.gz +0 -0
- codex/static_root/assets/flag-tab-DBqpLKi7.dcfef39f541e.css +1 -0
- codex/static_root/assets/flag-tab-DBqpLKi7.dcfef39f541e.css.br +0 -0
- codex/static_root/assets/flag-tab-DBqpLKi7.dcfef39f541e.css.gz +0 -0
- codex/static_root/assets/group-tab-BOW9kigw.7e5007596367.js +1 -0
- codex/static_root/assets/group-tab-BOW9kigw.7e5007596367.js.br +0 -0
- codex/static_root/assets/group-tab-BOW9kigw.7e5007596367.js.gz +0 -0
- codex/static_root/assets/group-tab-BOW9kigw.js +1 -0
- codex/static_root/assets/group-tab-BOW9kigw.js.br +0 -0
- codex/static_root/assets/group-tab-BOW9kigw.js.gz +0 -0
- codex/static_root/assets/group-tab-CBKuS3Iv.7e4746634782.css +1 -0
- codex/static_root/assets/group-tab-CBKuS3Iv.7e4746634782.css.br +0 -0
- codex/static_root/assets/group-tab-CBKuS3Iv.7e4746634782.css.gz +0 -0
- codex/static_root/assets/group-tab-CBKuS3Iv.css +1 -0
- codex/static_root/assets/group-tab-CBKuS3Iv.css.br +0 -0
- codex/static_root/assets/group-tab-CBKuS3Iv.css.gz +0 -0
- codex/static_root/assets/http-error-C6yuLApo.45cf99eb7a70.js +1 -0
- codex/static_root/assets/http-error-C6yuLApo.45cf99eb7a70.js.br +4 -0
- codex/static_root/assets/http-error-C6yuLApo.45cf99eb7a70.js.gz +0 -0
- codex/static_root/assets/http-error-C6yuLApo.js +1 -0
- codex/static_root/assets/http-error-C6yuLApo.js.br +4 -0
- codex/static_root/assets/http-error-C6yuLApo.js.gz +0 -0
- codex/static_root/assets/{library-tab-Wew8YOLv.0c1780a6b68e.css → library-tab-Bh7ErAk7.7c44200ee727.css} +1 -1
- codex/static_root/assets/library-tab-Bh7ErAk7.7c44200ee727.css.br +2 -0
- codex/static_root/assets/library-tab-Bh7ErAk7.7c44200ee727.css.gz +0 -0
- codex/static_root/assets/{library-tab-Wew8YOLv.css → library-tab-Bh7ErAk7.css} +1 -1
- codex/static_root/assets/library-tab-Bh7ErAk7.css.br +2 -0
- codex/static_root/assets/library-tab-Bh7ErAk7.css.gz +0 -0
- codex/static_root/assets/library-tab-D3WOtpE0.9af34e6e7235.js +1 -0
- codex/static_root/assets/library-tab-D3WOtpE0.9af34e6e7235.js.br +0 -0
- codex/static_root/assets/library-tab-D3WOtpE0.9af34e6e7235.js.gz +0 -0
- codex/static_root/assets/library-tab-D3WOtpE0.js +1 -0
- codex/static_root/assets/library-tab-D3WOtpE0.js.br +0 -0
- codex/static_root/assets/library-tab-D3WOtpE0.js.gz +0 -0
- codex/static_root/assets/main-CmjU2oTp.6a471f6900e5.js +6 -0
- codex/static_root/assets/main-CmjU2oTp.6a471f6900e5.js.br +0 -0
- codex/static_root/assets/main-CmjU2oTp.6a471f6900e5.js.gz +0 -0
- codex/static_root/assets/main-CmjU2oTp.js +6 -0
- codex/static_root/assets/main-CmjU2oTp.js.br +0 -0
- codex/static_root/assets/main-CmjU2oTp.js.gz +0 -0
- codex/static_root/assets/pager-full-pdf-BH54_5f6.6e92d0555cd7.js +1 -0
- codex/static_root/assets/pager-full-pdf-BH54_5f6.6e92d0555cd7.js.br +0 -0
- codex/static_root/assets/pager-full-pdf-BH54_5f6.6e92d0555cd7.js.gz +0 -0
- codex/static_root/assets/pager-full-pdf-BH54_5f6.js +1 -0
- codex/static_root/assets/pager-full-pdf-BH54_5f6.js.br +0 -0
- codex/static_root/assets/pager-full-pdf-BH54_5f6.js.gz +0 -0
- codex/static_root/assets/pagination-toolbar-JH3Kbffr.451171f7ac33.js +1 -0
- codex/static_root/assets/pagination-toolbar-JH3Kbffr.451171f7ac33.js.br +0 -0
- codex/static_root/assets/pagination-toolbar-JH3Kbffr.451171f7ac33.js.gz +0 -0
- codex/static_root/assets/pagination-toolbar-JH3Kbffr.js +1 -0
- codex/static_root/assets/pagination-toolbar-JH3Kbffr.js.br +0 -0
- codex/static_root/assets/pagination-toolbar-JH3Kbffr.js.gz +0 -0
- codex/static_root/assets/{pdf-doc-ctqZIwOP.7e7b2c815ea4.js → pdf-doc-BcRNpoaW.882f6e967869.js} +3 -3
- codex/static_root/assets/pdf-doc-BcRNpoaW.882f6e967869.js.br +0 -0
- codex/static_root/assets/pdf-doc-BcRNpoaW.882f6e967869.js.gz +0 -0
- codex/static_root/assets/{pdf-doc-ctqZIwOP.js → pdf-doc-BcRNpoaW.js} +3 -3
- codex/static_root/assets/pdf-doc-BcRNpoaW.js.br +0 -0
- codex/static_root/assets/pdf-doc-BcRNpoaW.js.gz +0 -0
- codex/static_root/assets/reader-DIPRg2VB.900370e097aa.js +2 -0
- codex/static_root/assets/reader-DIPRg2VB.900370e097aa.js.br +0 -0
- codex/static_root/assets/reader-DIPRg2VB.900370e097aa.js.gz +0 -0
- codex/static_root/assets/reader-DIPRg2VB.js +2 -0
- codex/static_root/assets/reader-DIPRg2VB.js.br +0 -0
- codex/static_root/assets/reader-DIPRg2VB.js.gz +0 -0
- codex/static_root/assets/{reader-nD70BeEz.06e85e73c391.css → reader-DveZZr9x.7b21b9f8f628.css} +1 -1
- codex/static_root/assets/reader-DveZZr9x.7b21b9f8f628.css.br +0 -0
- codex/static_root/assets/reader-DveZZr9x.7b21b9f8f628.css.gz +0 -0
- codex/static_root/assets/{reader-nD70BeEz.css → reader-DveZZr9x.css} +1 -1
- codex/static_root/assets/reader-DveZZr9x.css.br +0 -0
- codex/static_root/assets/reader-DveZZr9x.css.gz +0 -0
- codex/static_root/assets/relation-chips-3tTlR5QH.71f18bc92adc.js +1 -0
- codex/static_root/assets/relation-chips-3tTlR5QH.71f18bc92adc.js.br +0 -0
- codex/static_root/assets/relation-chips-3tTlR5QH.71f18bc92adc.js.gz +0 -0
- codex/static_root/assets/relation-chips-3tTlR5QH.js +1 -0
- codex/static_root/assets/relation-chips-3tTlR5QH.js.br +0 -0
- codex/static_root/assets/relation-chips-3tTlR5QH.js.gz +0 -0
- codex/static_root/assets/settings-drawer-BdyFhA_r.151f4c3061ed.js +2 -0
- codex/static_root/assets/settings-drawer-BdyFhA_r.151f4c3061ed.js.br +0 -0
- codex/static_root/assets/settings-drawer-BdyFhA_r.151f4c3061ed.js.gz +0 -0
- codex/static_root/assets/settings-drawer-BdyFhA_r.js +2 -0
- codex/static_root/assets/settings-drawer-BdyFhA_r.js.br +0 -0
- codex/static_root/assets/settings-drawer-BdyFhA_r.js.gz +0 -0
- codex/static_root/assets/stats-tab-DeKjwvmh.7557c71b4cfa.js +1 -0
- codex/static_root/assets/stats-tab-DeKjwvmh.7557c71b4cfa.js.br +0 -0
- codex/static_root/assets/stats-tab-DeKjwvmh.7557c71b4cfa.js.gz +0 -0
- codex/static_root/assets/stats-tab-DeKjwvmh.js +1 -0
- codex/static_root/assets/stats-tab-DeKjwvmh.js.br +0 -0
- codex/static_root/assets/stats-tab-DeKjwvmh.js.gz +0 -0
- codex/static_root/assets/{stats-tab-BAYTqQNg.5f715428c394.css → stats-tab-DpfGsVX3.1cb66f2649a9.css} +1 -1
- codex/static_root/assets/stats-tab-DpfGsVX3.1cb66f2649a9.css.br +0 -0
- codex/static_root/assets/stats-tab-DpfGsVX3.1cb66f2649a9.css.gz +0 -0
- codex/static_root/assets/{stats-tab-BAYTqQNg.css → stats-tab-DpfGsVX3.css} +1 -1
- codex/static_root/assets/stats-tab-DpfGsVX3.css.br +0 -0
- codex/static_root/assets/stats-tab-DpfGsVX3.css.gz +0 -0
- codex/static_root/assets/task-tab-1XiWn9xP.06cb8e1b794d.css +1 -0
- codex/static_root/assets/{task-tab--cXi48kg.5dfd6890a1c2.css.br → task-tab-1XiWn9xP.06cb8e1b794d.css.br} +1 -1
- codex/static_root/assets/task-tab-1XiWn9xP.06cb8e1b794d.css.gz +0 -0
- codex/static_root/assets/task-tab-1XiWn9xP.css +1 -0
- codex/static_root/assets/{task-tab--cXi48kg.css.br → task-tab-1XiWn9xP.css.br} +1 -1
- codex/static_root/assets/task-tab-1XiWn9xP.css.gz +0 -0
- codex/static_root/assets/task-tab-C8D0qRP_.d4ab174c69a3.js +1 -0
- codex/static_root/assets/task-tab-C8D0qRP_.d4ab174c69a3.js.br +0 -0
- codex/static_root/assets/task-tab-C8D0qRP_.d4ab174c69a3.js.gz +0 -0
- codex/static_root/assets/task-tab-C8D0qRP_.js +1 -0
- codex/static_root/assets/task-tab-C8D0qRP_.js.br +0 -0
- codex/static_root/assets/task-tab-C8D0qRP_.js.gz +0 -0
- codex/static_root/assets/unauthorized-BHgBRF4z.8e5c1b9e52b0.js +1 -0
- codex/static_root/assets/unauthorized-BHgBRF4z.8e5c1b9e52b0.js.br +0 -0
- codex/static_root/assets/unauthorized-BHgBRF4z.8e5c1b9e52b0.js.gz +0 -0
- codex/static_root/assets/unauthorized-BHgBRF4z.js +1 -0
- codex/static_root/assets/unauthorized-BHgBRF4z.js.br +0 -0
- codex/static_root/assets/unauthorized-BHgBRF4z.js.gz +0 -0
- codex/static_root/assets/user-tab-BU31Z92y.35613c713faf.js +1 -0
- codex/static_root/assets/user-tab-BU31Z92y.35613c713faf.js.br +0 -0
- codex/static_root/assets/user-tab-BU31Z92y.35613c713faf.js.gz +0 -0
- codex/static_root/assets/user-tab-BU31Z92y.js +1 -0
- codex/static_root/assets/user-tab-BU31Z92y.js.br +0 -0
- codex/static_root/assets/user-tab-BU31Z92y.js.gz +0 -0
- codex/static_root/js/choices-admin.8aa64c911203.json +1 -0
- codex/static_root/js/choices-admin.8aa64c911203.json.br +0 -0
- codex/static_root/js/choices-admin.8aa64c911203.json.gz +0 -0
- codex/static_root/js/choices-admin.json +1 -0
- codex/static_root/js/choices-admin.json.br +0 -0
- codex/static_root/js/choices-admin.json.gz +0 -0
- codex/static_root/js/choices.2f6b0359e1ef.json +1 -0
- codex/static_root/js/choices.2f6b0359e1ef.json.br +0 -0
- codex/static_root/js/choices.2f6b0359e1ef.json.gz +0 -0
- codex/static_root/js/choices.json +1 -0
- codex/static_root/js/choices.json.br +0 -0
- codex/static_root/js/choices.json.gz +0 -0
- codex/static_root/manifest.45cb46e19686.json +635 -0
- codex/static_root/manifest.45cb46e19686.json.br +0 -0
- codex/static_root/manifest.45cb46e19686.json.gz +0 -0
- codex/static_root/manifest.json +300 -377
- codex/static_root/manifest.json.br +0 -0
- codex/static_root/manifest.json.gz +0 -0
- codex/static_root/staticfiles.json +1 -1
- codex/status_controller.py +6 -5
- codex/threads.py +1 -1
- codex/urls/api/auth.py +1 -1
- codex/urls/api/browser.py +1 -1
- codex/views/admin/library.py +13 -18
- codex/views/admin/stats.py +16 -23
- codex/views/admin/tasks.py +2 -1
- codex/views/auth.py +77 -42
- codex/views/bookmark.py +153 -16
- codex/views/browser/annotations.py +339 -0
- codex/views/browser/base.py +139 -0
- codex/views/browser/breadcrumbs.py +11 -90
- codex/views/browser/browser.py +110 -44
- codex/views/browser/choices.py +18 -15
- codex/views/browser/cover.py +20 -10
- codex/views/browser/filters/annotations.py +125 -0
- codex/views/browser/filters/bookmark.py +19 -18
- codex/views/browser/filters/field.py +3 -8
- codex/views/browser/filters/group.py +6 -9
- codex/views/browser/filters/search/fts.py +19 -5
- codex/views/browser/filters/search/parse.py +24 -54
- codex/views/browser/metadata.py +332 -0
- codex/views/browser/mtime.py +10 -2
- codex/views/browser/order_by.py +22 -22
- codex/views/browser/page_in_bounds.py +2 -2
- codex/views/browser/paginate.py +15 -9
- codex/views/browser/title.py +6 -1
- codex/views/browser/validate.py +33 -68
- codex/views/download.py +1 -1
- codex/views/mixins.py +15 -27
- codex/views/opds/const.py +3 -2
- codex/views/opds/urls.py +2 -2
- codex/views/opds/util.py +3 -2
- codex/views/opds/v1/entry/links.py +1 -3
- codex/views/opds/v1/facets.py +12 -65
- codex/views/opds/v1/feed.py +64 -5
- codex/views/opds/v1/links.py +4 -5
- codex/views/opds/v2/feed.py +28 -1
- codex/views/opds/v2/links.py +1 -26
- codex/views/opds/v2/publications.py +6 -5
- codex/views/opds/v2/top_links.py +6 -3
- codex/views/public.py +2 -2
- codex/views/reader/arcs.py +3 -0
- codex/views/reader/books.py +41 -57
- codex/views/reader/{params.py → init.py} +31 -37
- codex/views/reader/page.py +4 -10
- codex/views/reader/reader.py +2 -1
- codex/views/session.py +54 -43
- codex/views/version.py +1 -1
- {codex-1.7.0.dist-info → codex-1.7.0a0.dist-info}/METADATA +5 -2
- {codex-1.7.0.dist-info → codex-1.7.0a0.dist-info}/RECORD +385 -419
- codex/choices.py +0 -419
- codex/choices_to_json.py +0 -122
- codex/librarian/bookmark/__init__.py +0 -1
- codex/librarian/bookmark/bookmarkd.py +0 -38
- codex/librarian/bookmark/tasks.py +0 -19
- codex/librarian/bookmark/update.py +0 -154
- codex/static_root/assets/VCheckbox-D_CWEmqR.84f2b49311e8.js +0 -1
- codex/static_root/assets/VCheckbox-D_CWEmqR.84f2b49311e8.js.br +0 -0
- codex/static_root/assets/VCheckbox-D_CWEmqR.84f2b49311e8.js.gz +0 -0
- codex/static_root/assets/VCheckbox-D_CWEmqR.js +0 -1
- codex/static_root/assets/VCheckbox-D_CWEmqR.js.br +0 -0
- codex/static_root/assets/VCheckbox-D_CWEmqR.js.gz +0 -0
- codex/static_root/assets/VCheckboxBtn-B1BhcFvi.0eaf3c516474.js +0 -1
- codex/static_root/assets/VCheckboxBtn-B1BhcFvi.0eaf3c516474.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-B1BhcFvi.0eaf3c516474.js.gz +0 -0
- codex/static_root/assets/VCheckboxBtn-B1BhcFvi.js +0 -1
- codex/static_root/assets/VCheckboxBtn-B1BhcFvi.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-B1BhcFvi.js.gz +0 -0
- codex/static_root/assets/VCombobox-CZAW6_3Q.0e2401e819a5.js +0 -1
- codex/static_root/assets/VCombobox-CZAW6_3Q.0e2401e819a5.js.br +0 -0
- codex/static_root/assets/VCombobox-CZAW6_3Q.0e2401e819a5.js.gz +0 -0
- codex/static_root/assets/VCombobox-CZAW6_3Q.js +0 -1
- codex/static_root/assets/VCombobox-CZAW6_3Q.js.br +0 -0
- codex/static_root/assets/VCombobox-CZAW6_3Q.js.gz +0 -0
- codex/static_root/assets/VDialog-CSHgHIlG.a0bcd336cb7b.js +0 -1
- codex/static_root/assets/VDialog-CSHgHIlG.a0bcd336cb7b.js.br +0 -0
- codex/static_root/assets/VDialog-CSHgHIlG.a0bcd336cb7b.js.gz +0 -0
- codex/static_root/assets/VDialog-CSHgHIlG.js +0 -1
- codex/static_root/assets/VDialog-CSHgHIlG.js.br +0 -0
- codex/static_root/assets/VDialog-CSHgHIlG.js.gz +0 -0
- codex/static_root/assets/VDialog-CSvrKKb2.css +0 -1
- codex/static_root/assets/VDialog-CSvrKKb2.css.br +0 -0
- codex/static_root/assets/VDialog-CSvrKKb2.css.gz +0 -0
- codex/static_root/assets/VDialog-CSvrKKb2.fd4d50904b17.css +0 -1
- codex/static_root/assets/VDialog-CSvrKKb2.fd4d50904b17.css.br +0 -0
- codex/static_root/assets/VDialog-CSvrKKb2.fd4d50904b17.css.gz +0 -0
- codex/static_root/assets/VExpansionPanels-CG6MpdMC.e96ae8afad97.js +0 -1
- codex/static_root/assets/VExpansionPanels-CG6MpdMC.e96ae8afad97.js.br +0 -0
- codex/static_root/assets/VExpansionPanels-CG6MpdMC.e96ae8afad97.js.gz +0 -0
- codex/static_root/assets/VExpansionPanels-CG6MpdMC.js +0 -1
- codex/static_root/assets/VExpansionPanels-CG6MpdMC.js.br +0 -0
- codex/static_root/assets/VExpansionPanels-CG6MpdMC.js.gz +0 -0
- codex/static_root/assets/VRadioGroup-CAgQxkiU.f26ecb0c3e34.js +0 -1
- codex/static_root/assets/VRadioGroup-CAgQxkiU.f26ecb0c3e34.js.br +0 -0
- codex/static_root/assets/VRadioGroup-CAgQxkiU.f26ecb0c3e34.js.gz +0 -0
- codex/static_root/assets/VRadioGroup-CAgQxkiU.js +0 -1
- codex/static_root/assets/VRadioGroup-CAgQxkiU.js.br +0 -0
- codex/static_root/assets/VRadioGroup-CAgQxkiU.js.gz +0 -0
- codex/static_root/assets/VSelect-C1gez8rl.9b11d2f00faf.js +0 -1
- codex/static_root/assets/VSelect-C1gez8rl.9b11d2f00faf.js.br +0 -0
- codex/static_root/assets/VSelect-C1gez8rl.9b11d2f00faf.js.gz +0 -0
- codex/static_root/assets/VSelect-C1gez8rl.js +0 -1
- codex/static_root/assets/VSelect-C1gez8rl.js.br +0 -0
- codex/static_root/assets/VSelect-C1gez8rl.js.gz +0 -0
- codex/static_root/assets/VSelect-DLu8bpcs.98bdcf35411c.css +0 -1
- codex/static_root/assets/VSelect-DLu8bpcs.98bdcf35411c.css.br +0 -0
- codex/static_root/assets/VSelect-DLu8bpcs.98bdcf35411c.css.gz +0 -0
- codex/static_root/assets/VSelect-DLu8bpcs.css +0 -1
- codex/static_root/assets/VSelect-DLu8bpcs.css.br +0 -0
- codex/static_root/assets/VSelect-DLu8bpcs.css.gz +0 -0
- codex/static_root/assets/VSelectionControl-DBqDlKjK.160beaa1b56c.js +0 -1
- codex/static_root/assets/VSelectionControl-DBqDlKjK.160beaa1b56c.js.br +0 -0
- codex/static_root/assets/VSelectionControl-DBqDlKjK.160beaa1b56c.js.gz +0 -0
- codex/static_root/assets/VSelectionControl-DBqDlKjK.js +0 -1
- codex/static_root/assets/VSelectionControl-DBqDlKjK.js.br +0 -0
- codex/static_root/assets/VSelectionControl-DBqDlKjK.js.gz +0 -0
- codex/static_root/assets/VSlideGroup-BtXPhMOT.830f136ffd41.css +0 -1
- codex/static_root/assets/VSlideGroup-BtXPhMOT.830f136ffd41.css.br +0 -0
- codex/static_root/assets/VSlideGroup-BtXPhMOT.830f136ffd41.css.gz +0 -0
- codex/static_root/assets/VSlideGroup-BtXPhMOT.css +0 -1
- codex/static_root/assets/VSlideGroup-BtXPhMOT.css.br +0 -0
- codex/static_root/assets/VSlideGroup-BtXPhMOT.css.gz +0 -0
- codex/static_root/assets/VSlideGroup-SqR_NAL1.40ba1d838a6e.js +0 -1
- codex/static_root/assets/VSlideGroup-SqR_NAL1.40ba1d838a6e.js.br +0 -0
- codex/static_root/assets/VSlideGroup-SqR_NAL1.40ba1d838a6e.js.gz +0 -0
- codex/static_root/assets/VSlideGroup-SqR_NAL1.js +0 -1
- codex/static_root/assets/VSlideGroup-SqR_NAL1.js.br +0 -0
- codex/static_root/assets/VSlideGroup-SqR_NAL1.js.gz +0 -0
- codex/static_root/assets/VTable-CYC-wMpk.8f15d66044da.js +0 -1
- codex/static_root/assets/VTable-CYC-wMpk.8f15d66044da.js.br +0 -0
- codex/static_root/assets/VTable-CYC-wMpk.8f15d66044da.js.gz +0 -0
- codex/static_root/assets/VTable-CYC-wMpk.js +0 -1
- codex/static_root/assets/VTable-CYC-wMpk.js.br +0 -0
- codex/static_root/assets/VTable-CYC-wMpk.js.gz +0 -0
- codex/static_root/assets/VTextField-BnCEPZIq.b0c32b2c0b14.css +0 -1
- codex/static_root/assets/VTextField-BnCEPZIq.b0c32b2c0b14.css.br +0 -0
- codex/static_root/assets/VTextField-BnCEPZIq.b0c32b2c0b14.css.gz +0 -0
- codex/static_root/assets/VTextField-BnCEPZIq.css +0 -1
- codex/static_root/assets/VTextField-BnCEPZIq.css.br +0 -0
- codex/static_root/assets/VTextField-BnCEPZIq.css.gz +0 -0
- codex/static_root/assets/VTextField-DMRKRbbT.911ac84d8c9d.js +0 -1
- codex/static_root/assets/VTextField-DMRKRbbT.911ac84d8c9d.js.br +0 -0
- codex/static_root/assets/VTextField-DMRKRbbT.911ac84d8c9d.js.gz +0 -0
- codex/static_root/assets/VTextField-DMRKRbbT.js +0 -1
- codex/static_root/assets/VTextField-DMRKRbbT.js.br +0 -0
- codex/static_root/assets/VTextField-DMRKRbbT.js.gz +0 -0
- codex/static_root/assets/VWindowItem-D0P2xNJl.6a10e3f3a153.js +0 -1
- codex/static_root/assets/VWindowItem-D0P2xNJl.6a10e3f3a153.js.br +0 -0
- codex/static_root/assets/VWindowItem-D0P2xNJl.6a10e3f3a153.js.gz +0 -0
- codex/static_root/assets/VWindowItem-D0P2xNJl.js +0 -1
- codex/static_root/assets/VWindowItem-D0P2xNJl.js.br +0 -0
- codex/static_root/assets/VWindowItem-D0P2xNJl.js.gz +0 -0
- codex/static_root/assets/admin-CD90VMen.4c2b6f2a5111.js +0 -1
- codex/static_root/assets/admin-CD90VMen.4c2b6f2a5111.js.br +0 -0
- codex/static_root/assets/admin-CD90VMen.4c2b6f2a5111.js.gz +0 -0
- codex/static_root/assets/admin-CD90VMen.js +0 -1
- codex/static_root/assets/admin-CD90VMen.js.br +0 -0
- codex/static_root/assets/admin-CD90VMen.js.gz +0 -0
- codex/static_root/assets/admin-DJ7pIXDQ.css.br +0 -0
- codex/static_root/assets/admin-DJ7pIXDQ.css.gz +0 -0
- codex/static_root/assets/admin-DJ7pIXDQ.e2a77af73ef2.css.br +0 -0
- codex/static_root/assets/admin-DJ7pIXDQ.e2a77af73ef2.css.gz +0 -0
- codex/static_root/assets/admin-menu-B9bzD6hV.c13b7df2ff57.css +0 -1
- codex/static_root/assets/admin-menu-B9bzD6hV.c13b7df2ff57.css.br +0 -0
- codex/static_root/assets/admin-menu-B9bzD6hV.c13b7df2ff57.css.gz +0 -0
- codex/static_root/assets/admin-menu-B9bzD6hV.css +0 -1
- codex/static_root/assets/admin-menu-B9bzD6hV.css.br +0 -0
- codex/static_root/assets/admin-menu-B9bzD6hV.css.gz +0 -0
- codex/static_root/assets/admin-menu-BpEPGKr_.c9f9178c5a82.js +0 -1
- codex/static_root/assets/admin-menu-BpEPGKr_.c9f9178c5a82.js.br +0 -0
- codex/static_root/assets/admin-menu-BpEPGKr_.c9f9178c5a82.js.gz +0 -0
- codex/static_root/assets/admin-menu-BpEPGKr_.js +0 -1
- codex/static_root/assets/admin-menu-BpEPGKr_.js.br +0 -0
- codex/static_root/assets/admin-menu-BpEPGKr_.js.gz +0 -0
- codex/static_root/assets/admin-settings-button-progress-DDF4rY07.4f1158b650ab.js +0 -1
- codex/static_root/assets/admin-settings-button-progress-DDF4rY07.4f1158b650ab.js.br +0 -0
- codex/static_root/assets/admin-settings-button-progress-DDF4rY07.4f1158b650ab.js.gz +0 -0
- codex/static_root/assets/admin-settings-button-progress-DDF4rY07.js +0 -1
- codex/static_root/assets/admin-settings-button-progress-DDF4rY07.js.br +0 -0
- codex/static_root/assets/admin-settings-button-progress-DDF4rY07.js.gz +0 -0
- codex/static_root/assets/admin-settings-button-progress-DUUQfVsZ.2548c49a853e.css +0 -1
- codex/static_root/assets/admin-settings-button-progress-DUUQfVsZ.css +0 -1
- codex/static_root/assets/browser-C0KS3g2E.0bf1c9c6319c.js +0 -1
- codex/static_root/assets/browser-C0KS3g2E.0bf1c9c6319c.js.br +0 -0
- codex/static_root/assets/browser-C0KS3g2E.0bf1c9c6319c.js.gz +0 -0
- codex/static_root/assets/browser-C0KS3g2E.js +0 -1
- codex/static_root/assets/browser-C0KS3g2E.js.br +0 -0
- codex/static_root/assets/browser-C0KS3g2E.js.gz +0 -0
- codex/static_root/assets/browser-JFL2hLjt.21cb2f7335f7.css +0 -1
- codex/static_root/assets/browser-JFL2hLjt.21cb2f7335f7.css.br +0 -0
- codex/static_root/assets/browser-JFL2hLjt.21cb2f7335f7.css.gz +0 -0
- codex/static_root/assets/browser-JFL2hLjt.css +0 -1
- codex/static_root/assets/browser-JFL2hLjt.css.br +0 -0
- codex/static_root/assets/browser-JFL2hLjt.css.gz +0 -0
- codex/static_root/assets/change-password-dialog-DXJalgW4.a9f34729599d.js +0 -1
- codex/static_root/assets/change-password-dialog-DXJalgW4.a9f34729599d.js.br +0 -0
- codex/static_root/assets/change-password-dialog-DXJalgW4.a9f34729599d.js.gz +0 -0
- codex/static_root/assets/change-password-dialog-DXJalgW4.js +0 -1
- codex/static_root/assets/change-password-dialog-DXJalgW4.js.br +0 -0
- codex/static_root/assets/change-password-dialog-DXJalgW4.js.gz +0 -0
- codex/static_root/assets/change-password-dialog-DrIXdKUC.217574b45b02.css +0 -1
- codex/static_root/assets/change-password-dialog-DrIXdKUC.217574b45b02.css.br +0 -0
- codex/static_root/assets/change-password-dialog-DrIXdKUC.217574b45b02.css.gz +0 -0
- codex/static_root/assets/change-password-dialog-DrIXdKUC.css +0 -1
- codex/static_root/assets/change-password-dialog-DrIXdKUC.css.br +0 -0
- codex/static_root/assets/change-password-dialog-DrIXdKUC.css.gz +0 -0
- codex/static_root/assets/confirm-dialog-B7w6z2rf.472011c06253.css +0 -1
- codex/static_root/assets/confirm-dialog-B7w6z2rf.css +0 -1
- codex/static_root/assets/confirm-dialog-CqDEpU9k.e1811488121d.js +0 -1
- codex/static_root/assets/confirm-dialog-CqDEpU9k.e1811488121d.js.br +0 -0
- codex/static_root/assets/confirm-dialog-CqDEpU9k.e1811488121d.js.gz +0 -0
- codex/static_root/assets/confirm-dialog-CqDEpU9k.js +0 -1
- codex/static_root/assets/confirm-dialog-CqDEpU9k.js.br +0 -0
- codex/static_root/assets/confirm-dialog-CqDEpU9k.js.gz +0 -0
- codex/static_root/assets/datetime-column-UxNaJr8b.c06a11531af3.js +0 -1
- codex/static_root/assets/datetime-column-UxNaJr8b.c06a11531af3.js.br +0 -0
- codex/static_root/assets/datetime-column-UxNaJr8b.c06a11531af3.js.gz +0 -0
- codex/static_root/assets/datetime-column-UxNaJr8b.js +0 -1
- codex/static_root/assets/datetime-column-UxNaJr8b.js.br +0 -0
- codex/static_root/assets/datetime-column-UxNaJr8b.js.gz +0 -0
- codex/static_root/assets/filter-DskcqZHA.e707b5a05b4b.js +0 -1
- codex/static_root/assets/filter-DskcqZHA.e707b5a05b4b.js.br +0 -0
- codex/static_root/assets/filter-DskcqZHA.e707b5a05b4b.js.gz +0 -0
- codex/static_root/assets/filter-DskcqZHA.js +0 -1
- codex/static_root/assets/filter-DskcqZHA.js.br +0 -0
- codex/static_root/assets/filter-DskcqZHA.js.gz +0 -0
- codex/static_root/assets/flag-tab-CqWovuBu.4dfc6b251e85.css +0 -1
- codex/static_root/assets/flag-tab-CqWovuBu.4dfc6b251e85.css.br +0 -0
- codex/static_root/assets/flag-tab-CqWovuBu.4dfc6b251e85.css.gz +0 -0
- codex/static_root/assets/flag-tab-CqWovuBu.css +0 -1
- codex/static_root/assets/flag-tab-CqWovuBu.css.br +0 -0
- codex/static_root/assets/flag-tab-CqWovuBu.css.gz +0 -0
- codex/static_root/assets/flag-tab-xBeWEQ0w.582e77d9e885.js +0 -1
- codex/static_root/assets/flag-tab-xBeWEQ0w.582e77d9e885.js.br +0 -0
- codex/static_root/assets/flag-tab-xBeWEQ0w.582e77d9e885.js.gz +0 -0
- codex/static_root/assets/flag-tab-xBeWEQ0w.js +0 -1
- codex/static_root/assets/flag-tab-xBeWEQ0w.js.br +0 -0
- codex/static_root/assets/flag-tab-xBeWEQ0w.js.gz +0 -0
- codex/static_root/assets/group-tab-Czt2x61x.56e2886b1bac.js +0 -1
- codex/static_root/assets/group-tab-Czt2x61x.56e2886b1bac.js.br +0 -0
- codex/static_root/assets/group-tab-Czt2x61x.56e2886b1bac.js.gz +0 -0
- codex/static_root/assets/group-tab-Czt2x61x.js +0 -1
- codex/static_root/assets/group-tab-Czt2x61x.js.br +0 -0
- codex/static_root/assets/group-tab-Czt2x61x.js.gz +0 -0
- codex/static_root/assets/group-tab-DkIN1Heu.948e907b1e6b.css +0 -1
- codex/static_root/assets/group-tab-DkIN1Heu.948e907b1e6b.css.br +0 -0
- codex/static_root/assets/group-tab-DkIN1Heu.948e907b1e6b.css.gz +0 -0
- codex/static_root/assets/group-tab-DkIN1Heu.css +0 -1
- codex/static_root/assets/group-tab-DkIN1Heu.css.br +0 -0
- codex/static_root/assets/group-tab-DkIN1Heu.css.gz +0 -0
- codex/static_root/assets/http-error-NHcwE5e_.d49089e40589.js +0 -1
- codex/static_root/assets/http-error-NHcwE5e_.d49089e40589.js.br +0 -0
- codex/static_root/assets/http-error-NHcwE5e_.d49089e40589.js.gz +0 -0
- codex/static_root/assets/http-error-NHcwE5e_.js +0 -1
- codex/static_root/assets/http-error-NHcwE5e_.js.br +0 -0
- codex/static_root/assets/http-error-NHcwE5e_.js.gz +0 -0
- codex/static_root/assets/index-CL_6g4tJ.523d7b3d350f.css +0 -1
- codex/static_root/assets/index-CL_6g4tJ.523d7b3d350f.css.br +0 -0
- codex/static_root/assets/index-CL_6g4tJ.523d7b3d350f.css.gz +0 -0
- codex/static_root/assets/index-CL_6g4tJ.css +0 -1
- codex/static_root/assets/index-CL_6g4tJ.css.br +0 -0
- codex/static_root/assets/index-CL_6g4tJ.css.gz +0 -0
- codex/static_root/assets/index-DYNNO5kn.24a2d270253a.js +0 -1
- codex/static_root/assets/index-DYNNO5kn.24a2d270253a.js.br +0 -0
- codex/static_root/assets/index-DYNNO5kn.24a2d270253a.js.gz +0 -0
- codex/static_root/assets/index-DYNNO5kn.js +0 -1
- codex/static_root/assets/index-DYNNO5kn.js.br +0 -0
- codex/static_root/assets/index-DYNNO5kn.js.gz +0 -0
- codex/static_root/assets/library-tab-CgIqcjvj.60327dfa8ecb.js +0 -1
- codex/static_root/assets/library-tab-CgIqcjvj.60327dfa8ecb.js.br +0 -0
- codex/static_root/assets/library-tab-CgIqcjvj.60327dfa8ecb.js.gz +0 -0
- codex/static_root/assets/library-tab-CgIqcjvj.js +0 -1
- codex/static_root/assets/library-tab-CgIqcjvj.js.br +0 -0
- codex/static_root/assets/library-tab-CgIqcjvj.js.gz +0 -0
- codex/static_root/assets/library-tab-Wew8YOLv.0c1780a6b68e.css.br +0 -0
- codex/static_root/assets/library-tab-Wew8YOLv.0c1780a6b68e.css.gz +0 -0
- codex/static_root/assets/library-tab-Wew8YOLv.css.br +0 -0
- codex/static_root/assets/library-tab-Wew8YOLv.css.gz +0 -0
- codex/static_root/assets/main-B3EwXQ3Q.14dfc21e272c.js +0 -35
- codex/static_root/assets/main-B3EwXQ3Q.14dfc21e272c.js.br +0 -0
- codex/static_root/assets/main-B3EwXQ3Q.14dfc21e272c.js.gz +0 -0
- codex/static_root/assets/main-B3EwXQ3Q.js +0 -35
- codex/static_root/assets/main-B3EwXQ3Q.js.br +0 -0
- codex/static_root/assets/main-B3EwXQ3Q.js.gz +0 -0
- codex/static_root/assets/pager-full-pdf-YkzUXx0B.f39d84e2380a.js +0 -1
- codex/static_root/assets/pager-full-pdf-YkzUXx0B.f39d84e2380a.js.br +0 -0
- codex/static_root/assets/pager-full-pdf-YkzUXx0B.f39d84e2380a.js.gz +0 -0
- codex/static_root/assets/pager-full-pdf-YkzUXx0B.js +0 -1
- codex/static_root/assets/pager-full-pdf-YkzUXx0B.js.br +0 -0
- codex/static_root/assets/pager-full-pdf-YkzUXx0B.js.gz +0 -0
- codex/static_root/assets/pagination-toolbar-CrruiVov.3bf9b795350d.js +0 -1
- codex/static_root/assets/pagination-toolbar-CrruiVov.3bf9b795350d.js.br +0 -0
- codex/static_root/assets/pagination-toolbar-CrruiVov.3bf9b795350d.js.gz +0 -0
- codex/static_root/assets/pagination-toolbar-CrruiVov.js +0 -1
- codex/static_root/assets/pagination-toolbar-CrruiVov.js.br +0 -0
- codex/static_root/assets/pagination-toolbar-CrruiVov.js.gz +0 -0
- codex/static_root/assets/pdf-doc-ctqZIwOP.7e7b2c815ea4.js.br +0 -0
- codex/static_root/assets/pdf-doc-ctqZIwOP.7e7b2c815ea4.js.gz +0 -0
- codex/static_root/assets/pdf-doc-ctqZIwOP.js.br +0 -0
- codex/static_root/assets/pdf-doc-ctqZIwOP.js.gz +0 -0
- codex/static_root/assets/reader-DPLhdrJD.268417c618c5.js +0 -2
- codex/static_root/assets/reader-DPLhdrJD.268417c618c5.js.br +0 -0
- codex/static_root/assets/reader-DPLhdrJD.268417c618c5.js.gz +0 -0
- codex/static_root/assets/reader-DPLhdrJD.js +0 -2
- codex/static_root/assets/reader-DPLhdrJD.js.br +0 -0
- codex/static_root/assets/reader-DPLhdrJD.js.gz +0 -0
- codex/static_root/assets/reader-nD70BeEz.06e85e73c391.css.br +0 -0
- codex/static_root/assets/reader-nD70BeEz.06e85e73c391.css.gz +0 -0
- codex/static_root/assets/reader-nD70BeEz.css.br +0 -0
- codex/static_root/assets/reader-nD70BeEz.css.gz +0 -0
- codex/static_root/assets/relation-chips-DOALMcWL.5d3b8100ba03.js +0 -1
- codex/static_root/assets/relation-chips-DOALMcWL.5d3b8100ba03.js.br +0 -0
- codex/static_root/assets/relation-chips-DOALMcWL.5d3b8100ba03.js.gz +0 -0
- codex/static_root/assets/relation-chips-DOALMcWL.js +0 -1
- codex/static_root/assets/relation-chips-DOALMcWL.js.br +0 -0
- codex/static_root/assets/relation-chips-DOALMcWL.js.gz +0 -0
- codex/static_root/assets/settings-drawer-BVj1U_LC.c68369e0c2de.js +0 -2
- codex/static_root/assets/settings-drawer-BVj1U_LC.c68369e0c2de.js.br +0 -0
- codex/static_root/assets/settings-drawer-BVj1U_LC.c68369e0c2de.js.gz +0 -0
- codex/static_root/assets/settings-drawer-BVj1U_LC.js +0 -2
- codex/static_root/assets/settings-drawer-BVj1U_LC.js.br +0 -0
- codex/static_root/assets/settings-drawer-BVj1U_LC.js.gz +0 -0
- codex/static_root/assets/stats-tab-BAYTqQNg.5f715428c394.css.br +0 -0
- codex/static_root/assets/stats-tab-BAYTqQNg.5f715428c394.css.gz +0 -0
- codex/static_root/assets/stats-tab-BAYTqQNg.css.br +0 -0
- codex/static_root/assets/stats-tab-BAYTqQNg.css.gz +0 -0
- codex/static_root/assets/stats-tab-DDLwwwnP.35305258097b.js +0 -1
- codex/static_root/assets/stats-tab-DDLwwwnP.35305258097b.js.br +0 -0
- codex/static_root/assets/stats-tab-DDLwwwnP.35305258097b.js.gz +0 -0
- codex/static_root/assets/stats-tab-DDLwwwnP.js +0 -1
- codex/static_root/assets/stats-tab-DDLwwwnP.js.br +0 -0
- codex/static_root/assets/stats-tab-DDLwwwnP.js.gz +0 -0
- codex/static_root/assets/task-tab--cXi48kg.5dfd6890a1c2.css +0 -1
- codex/static_root/assets/task-tab--cXi48kg.5dfd6890a1c2.css.gz +0 -0
- codex/static_root/assets/task-tab--cXi48kg.css +0 -1
- codex/static_root/assets/task-tab--cXi48kg.css.gz +0 -0
- codex/static_root/assets/task-tab-BpP3n2dO.c853eb565200.js +0 -1
- codex/static_root/assets/task-tab-BpP3n2dO.c853eb565200.js.br +0 -0
- codex/static_root/assets/task-tab-BpP3n2dO.c853eb565200.js.gz +0 -0
- codex/static_root/assets/task-tab-BpP3n2dO.js +0 -1
- codex/static_root/assets/task-tab-BpP3n2dO.js.br +0 -0
- codex/static_root/assets/task-tab-BpP3n2dO.js.gz +0 -0
- codex/static_root/assets/transition-3g2arGgl.c6e6f91b7978.js +0 -1
- codex/static_root/assets/transition-3g2arGgl.c6e6f91b7978.js.br +0 -0
- codex/static_root/assets/transition-3g2arGgl.c6e6f91b7978.js.gz +0 -0
- codex/static_root/assets/transition-3g2arGgl.js +0 -1
- codex/static_root/assets/transition-3g2arGgl.js.br +0 -0
- codex/static_root/assets/transition-3g2arGgl.js.gz +0 -0
- codex/static_root/assets/transition-5LRFTPo5.3d726f9bbcb0.css +0 -1
- codex/static_root/assets/transition-5LRFTPo5.3d726f9bbcb0.css.br +0 -4
- codex/static_root/assets/transition-5LRFTPo5.3d726f9bbcb0.css.gz +0 -0
- codex/static_root/assets/transition-5LRFTPo5.css +0 -1
- codex/static_root/assets/transition-5LRFTPo5.css.br +0 -4
- codex/static_root/assets/transition-5LRFTPo5.css.gz +0 -0
- codex/static_root/assets/unauthorized-CdumQ1Vf.79d9a61eb572.js +0 -1
- codex/static_root/assets/unauthorized-CdumQ1Vf.79d9a61eb572.js.br +0 -0
- codex/static_root/assets/unauthorized-CdumQ1Vf.79d9a61eb572.js.gz +0 -0
- codex/static_root/assets/unauthorized-CdumQ1Vf.js +0 -1
- codex/static_root/assets/unauthorized-CdumQ1Vf.js.br +0 -0
- codex/static_root/assets/unauthorized-CdumQ1Vf.js.gz +0 -0
- codex/static_root/assets/user-tab-D6oOKZTP.05944b00c700.js +0 -1
- codex/static_root/assets/user-tab-D6oOKZTP.05944b00c700.js.br +0 -0
- codex/static_root/assets/user-tab-D6oOKZTP.05944b00c700.js.gz +0 -0
- codex/static_root/assets/user-tab-D6oOKZTP.js +0 -1
- codex/static_root/assets/user-tab-D6oOKZTP.js.br +0 -0
- codex/static_root/assets/user-tab-D6oOKZTP.js.gz +0 -0
- codex/static_root/manifest.c5f1de88b1ac.json +0 -712
- codex/static_root/manifest.c5f1de88b1ac.json.br +0 -0
- codex/static_root/manifest.c5f1de88b1ac.json.gz +0 -0
- codex/views/browser/annotate/__init__.py +0 -1
- codex/views/browser/annotate/bookmark.py +0 -112
- codex/views/browser/annotate/card.py +0 -61
- codex/views/browser/annotate/order.py +0 -247
- codex/views/browser/filters/filter.py +0 -69
- codex/views/browser/group_mtime.py +0 -83
- codex/views/browser/metadata/__init__.py +0 -1
- codex/views/browser/metadata/annotate.py +0 -109
- codex/views/browser/metadata/copy_intersections.py +0 -90
- codex/views/browser/metadata/metadata.py +0 -83
- codex/views/browser/metadata/query_intersections.py +0 -112
- codex/views/browser/params.py +0 -64
- codex/views/timezone.py +0 -54
- {codex-1.7.0.dist-info → codex-1.7.0a0.dist-info}/LICENSE +0 -0
- {codex-1.7.0.dist-info → codex-1.7.0a0.dist-info}/WHEEL +0 -0
- {codex-1.7.0.dist-info → codex-1.7.0a0.dist-info}/entry_points.txt +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.changePasswordForm[data-v-a00a804b]{padding:20px}.codexFormSuccess[data-v-a00a804b]{padding:10px;font-size:larger;color:rgb(var(--v-theme-success));text-align:center}.hidden[data-v-a00a804b]{display:none}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.confirmDialog[data-v-996f6e3c]{padding:20px;text-align:center}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.confirmDialog[data-v-996f6e3c]{padding:20px;text-align:center}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{C as x,V as _}from"./VDialog-GbxvFMMN.js";import{_ as C,U as V,V as a,T as l,W as i,ak as d,am as m,Q as u,af as r,aC as n,aN as D,aJ as g}from"./admin-drawer-panel-BAT7GA64.js";const T={name:"ConfirmDialog",components:{ConfirmFooter:x},props:{icon:{type:String,default:""},buttonText:{type:String,default:""},titleText:{type:String,required:!0},objectName:{type:String,required:!0},confirmText:{type:String,required:!0},size:{type:String,default:"default"},density:{type:String,default:"default"}},data(){return{showDialog:!1}},methods:{close(s){this.$emit(s),this.showDialog=!1}}},S={class:"confirmDialog"};function v(s,t,e,b,f,c){const y=V("ConfirmFooter");return a(),l(_,{modelValue:f.showDialog,"onUpdate:modelValue":t[2]||(t[2]=o=>f.showDialog=o),transition:"fab-transition","max-width":"20em","overlay-opacity":"0.5"},{activator:i(({props:o})=>[e.icon?(a(),l(d,m({key:0,icon:""},o,{size:e.size,density:e.density,title:e.titleText}),{default:i(()=>[u(D,null,{default:i(()=>[r(n(e.icon),1)]),_:1})]),_:2},1040,["size","density","title"])):(a(),l(d,m({key:1,block:""},o),{default:i(()=>[r(n(e.buttonText),1)]),_:2},1040))]),default:i(()=>[g("div",S,[g("h3",null,n(e.titleText),1),r(" "+n(e.objectName)+" ",1),u(y,{"confirm-text":e.confirmText,onConfirm:t[0]||(t[0]=o=>c.close("confirm")),onCancel:t[1]||(t[1]=o=>c.close("cancel"))},null,8,["confirm-text"])])]),_:1},8,["modelValue"])}const w=C(T,[["render",v],["__scopeId","data-v-996f6e3c"]]);export{w as C};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{C as x,V as _}from"./VDialog-GbxvFMMN.js";import{_ as C,U as V,V as a,T as l,W as i,ak as d,am as m,Q as u,af as r,aC as n,aN as D,aJ as g}from"./admin-drawer-panel-BAT7GA64.js";const T={name:"ConfirmDialog",components:{ConfirmFooter:x},props:{icon:{type:String,default:""},buttonText:{type:String,default:""},titleText:{type:String,required:!0},objectName:{type:String,required:!0},confirmText:{type:String,required:!0},size:{type:String,default:"default"},density:{type:String,default:"default"}},data(){return{showDialog:!1}},methods:{close(s){this.$emit(s),this.showDialog=!1}}},S={class:"confirmDialog"};function v(s,t,e,b,f,c){const y=V("ConfirmFooter");return a(),l(_,{modelValue:f.showDialog,"onUpdate:modelValue":t[2]||(t[2]=o=>f.showDialog=o),transition:"fab-transition","max-width":"20em","overlay-opacity":"0.5"},{activator:i(({props:o})=>[e.icon?(a(),l(d,m({key:0,icon:""},o,{size:e.size,density:e.density,title:e.titleText}),{default:i(()=>[u(D,null,{default:i(()=>[r(n(e.icon),1)]),_:1})]),_:2},1040,["size","density","title"])):(a(),l(d,m({key:1,block:""},o),{default:i(()=>[r(n(e.buttonText),1)]),_:2},1040))]),default:i(()=>[g("div",S,[g("h3",null,n(e.titleText),1),r(" "+n(e.objectName)+" ",1),u(y,{"confirm-text":e.confirmText,onConfirm:t[0]||(t[0]=o=>c.close("confirm")),onCancel:t[1]||(t[1]=o=>c.close("cancel"))},null,8,["confirm-text"])])]),_:1},8,["modelValue"])}const w=C(T,[["render",v],["__scopeId","data-v-996f6e3c"]]);export{w as C};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{R as r,aR as m,cT as s,_ as i,V as n,aA as d,af as c,aC as a,aJ as u,aE as f}from"./admin-drawer-panel-BAT7GA64.js";import{u as _}from"./main-CmjU2oTp.js";const T={name:"DateTimeColumn",props:{dttm:{type:String,default:""}},data(){return{date:new Date(this.dttm)}},computed:{...r(_,{twentyFourHourTime:t=>t.settings.twentyFourHourTime}),formattedDate:function(){return m.format(this.date)},formattedTime:function(){return s(this.twentyFourHourTime).format(this.date)}},created(){}},p={key:0,datetime:"formattedDate"},l={class:"colTime",datetime:"formattedTime"};function D(t,h,o,F,y,e){return o.dttm?(n(),d("time",p,[c(a(e.formattedDate)+" ",1),u("time",l,a(e.formattedTime),1)])):f("",!0)}const x=i(T,[["render",D],["__scopeId","data-v-4e9e3015"]]);export{x as D};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{R as r,aR as m,cT as s,_ as i,V as n,aA as d,af as c,aC as a,aJ as u,aE as f}from"./admin-drawer-panel-BAT7GA64.js";import{u as _}from"./main-CmjU2oTp.js";const T={name:"DateTimeColumn",props:{dttm:{type:String,default:""}},data(){return{date:new Date(this.dttm)}},computed:{...r(_,{twentyFourHourTime:t=>t.settings.twentyFourHourTime}),formattedDate:function(){return m.format(this.date)},formattedTime:function(){return s(this.twentyFourHourTime).format(this.date)}},created(){}},p={key:0,datetime:"formattedDate"},l={class:"colTime",datetime:"formattedTime"};function D(t,h,o,F,y,e){return o.dttm?(n(),d("time",p,[c(a(e.formattedDate)+" ",1),u("time",l,a(e.formattedTime),1)])):f("",!0)}const x=i(T,[["render",D],["__scopeId","data-v-4e9e3015"]]);export{x as D};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{B as I,r as v,h as L,u as i,w as j,cQ as w,d3 as O}from"./admin-drawer-panel-BAT7GA64.js";const S=(t,c,e)=>t==null||c==null?-1:t.toString().toLocaleLowerCase().indexOf(c.toString().toLocaleLowerCase()),A=I({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function x(t,c,e){var g;const f=[],s=(e==null?void 0:e.default)??S,m=e!=null&&e.filterKeys?w(e.filterKeys):!1,y=Object.keys((e==null?void 0:e.customKeyFilter)??{}).length;if(!(t!=null&&t.length))return f;e:for(let r=0;r<t.length;r++){const[a,M=a]=w(t[r]),d={},u={};let l=-1;if((c||y>0)&&!(e!=null&&e.noFilter)){if(typeof a=="object"){const K=m||Object.keys(M);for(const n of K){const b=O(M,n),k=(g=e==null?void 0:e.customKeyFilter)==null?void 0:g[n];if(l=k?k(b,c,a):s(b,c,a),l!==-1&&l!==!1)k?d[n]=l:u[n]=l;else if((e==null?void 0:e.filterMode)==="every")continue e}}else l=s(a,c,a),l!==-1&&l!==!1&&(u.title=l);const h=Object.keys(u).length,F=Object.keys(d).length;if(!h&&!F||(e==null?void 0:e.filterMode)==="union"&&F!==y&&!h||(e==null?void 0:e.filterMode)==="intersection"&&(F!==y||!h))continue}f.push({index:r,matches:{...u,...d}})}return f}function B(t,c,e,f){const s=v([]),m=v(new Map),y=L(()=>f!=null&&f.transform?i(c).map(r=>[r,f.transform(r)]):i(c));j(()=>{const r=typeof e=="function"?e():i(e),a=typeof r!="string"&&typeof r!="number"?"":String(r),M=x(y.value,a,{customKeyFilter:{...t.customKeyFilter,...i(f==null?void 0:f.customKeyFilter)},default:t.customFilter,filterKeys:t.filterKeys,filterMode:t.filterMode,noFilter:t.noFilter}),d=i(c),u=[],l=new Map;M.forEach(h=>{let{index:F,matches:K}=h;const n=d[F];u.push(n),l.set(n.value,K)}),s.value=u,m.value=l});function g(r){return m.value.get(r.value)}return{filteredItems:s,filteredMatches:m,getMatches:g}}export{A as m,B as u};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{B as I,r as v,h as L,u as i,w as j,cQ as w,d3 as O}from"./admin-drawer-panel-BAT7GA64.js";const S=(t,c,e)=>t==null||c==null?-1:t.toString().toLocaleLowerCase().indexOf(c.toString().toLocaleLowerCase()),A=I({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function x(t,c,e){var g;const f=[],s=(e==null?void 0:e.default)??S,m=e!=null&&e.filterKeys?w(e.filterKeys):!1,y=Object.keys((e==null?void 0:e.customKeyFilter)??{}).length;if(!(t!=null&&t.length))return f;e:for(let r=0;r<t.length;r++){const[a,M=a]=w(t[r]),d={},u={};let l=-1;if((c||y>0)&&!(e!=null&&e.noFilter)){if(typeof a=="object"){const K=m||Object.keys(M);for(const n of K){const b=O(M,n),k=(g=e==null?void 0:e.customKeyFilter)==null?void 0:g[n];if(l=k?k(b,c,a):s(b,c,a),l!==-1&&l!==!1)k?d[n]=l:u[n]=l;else if((e==null?void 0:e.filterMode)==="every")continue e}}else l=s(a,c,a),l!==-1&&l!==!1&&(u.title=l);const h=Object.keys(u).length,F=Object.keys(d).length;if(!h&&!F||(e==null?void 0:e.filterMode)==="union"&&F!==y&&!h||(e==null?void 0:e.filterMode)==="intersection"&&(F!==y||!h))continue}f.push({index:r,matches:{...u,...d}})}return f}function B(t,c,e,f){const s=v([]),m=v(new Map),y=L(()=>f!=null&&f.transform?i(c).map(r=>[r,f.transform(r)]):i(c));j(()=>{const r=typeof e=="function"?e():i(e),a=typeof r!="string"&&typeof r!="number"?"":String(r),M=x(y.value,a,{customKeyFilter:{...t.customKeyFilter,...i(f==null?void 0:f.customKeyFilter)},default:t.customFilter,filterKeys:t.filterKeys,filterMode:t.filterMode,noFilter:t.noFilter}),d=i(c),u=[],l=new Map;M.forEach(h=>{let{index:F,matches:K}=h;const n=d[F];u.push(n),l.set(n.value,K)}),s.value=u,m.value=l});function g(r){return m.value.get(r.value)}return{filteredItems:s,filteredMatches:m,getMatches:g}}export{A as m,B as u};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as f,R as i,A as p,z as d,S as b,cC as y,T as g,W as w,V as r,aJ as a,aA as c,aB as k,aC as m,Q as v,al as x}from"./admin-drawer-panel-BAT7GA64.js";import{V as C}from"./VTable-2af995xo.js";import{V as T}from"./VCheckbox-CWiqcZ7a.js";import"./VCheckboxBtn-Dk3iB62X.js";import"./VSelectionControl-CY6RmcvW.js";const A="If enabled, codex will attempt to update the codex python package once a day and restart the server if an update occurred. Not advisable if running from Docker as running containers aren't meant to hold state and will be rebuilt if you update the image. Look into services that automatically update docker images instead.",U="By default all Codex features, including bookmarking, are available to users who are not logged in. You may disable this feature and Codex will hide its browser and reader and disable its API from anyone who is not logged in as a user.",V="By default users' bookmarks and preferences are saved in an anonymous browser session. Users can create a username and password to save their bookmarks between browsers. You may disable this feature. Admins may still create users.",_=`By default, codex provides a "Folder View" which mimics the directory hierarchy of the libraries that you've added to Codex. You may disable this feature. The database style browser view is always available. This flag also enables and disables the "Filename" sort option and the path from search indexing.`,F="If disabled, Codex will not bulk import metadata from comic libraries when they are scanned and only import folders and filenames. Instead, metadata will be loaded lazily as comics are read. This makes importing comics fast, but disables most of the metadata browser functionality, making codex mostly a file tree browser.",S="Anonymously send the contents of the Admin Stats tab once a week to understand how people use Codex and improve the software. The server collecting the stats does not log or store your IP. The author considers all personally identifying information and the names and metadata of your comics to be a radioactive privacy violation and will never be exposed to it. Only the information you see on the stats page is collected. Your API Key is not sent. Stats are not sent for the first 24 hours to allow opt-out.",E={AU:A,NU:U,RG:V,FV:_,IM:F,ST:S},I={name:"AdminFlagsTab",components:{},data(){return{lastUpdate:{name:"",field:void 0},DESC:E}},computed:{...i(p,["formErrors"]),...i(d,["flags"])},mounted(){this.loadTables(["Flag"])},methods:{...b(d,["updateRow","clearErrors","loadTables"]),changeCol(e,t,n){this.lastUpdate.name=e,this.lastUpdate.field=t;const l={[t]:n};this.updateRow("Flag",e,l)},getFormErrors(e,t){if(e===this.lastUpdate.name&&t===this.lastUpdate.field)return this.formErrors},title(e){return y[e.key]}}},B={class:"nameCol"},D={class:"desc"};function N(e,t,n,l,u,s){return r(),g(C,{class:"highlight-table flags-table",items:e.flags,"fixed-header":""},{default:w(()=>[t[0]||(t[0]=a("thead",null,[a("tr",null,[a("th",null,"Description"),a("th",null,"Enabled")])],-1)),a("tbody",null,[(r(!0),c(x,null,k(e.flags,o=>(r(),c("tr",{key:`f${o.key}`},[a("td",B,[a("h4",null,m(s.title(o)),1),a("p",D,m(u.DESC[o.key]),1)]),a("td",null,[v(T,{"model-value":o.on,"true-value":!0,"error-messages":s.getFormErrors(o.key,"on"),"hide-details":"auto","onUpdate:modelValue":h=>s.changeCol(o.key,"on",h)},null,8,["model-value","error-messages","onUpdate:modelValue"])])]))),128))])]),_:1},8,["items"])}const L=f(I,[["render",N],["__scopeId","data-v-43c13cb0"]]);export{L as default};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as f,R as i,A as p,z as d,S as b,cC as y,T as g,W as w,V as r,aJ as a,aA as c,aB as k,aC as m,Q as v,al as x}from"./admin-drawer-panel-BAT7GA64.js";import{V as C}from"./VTable-2af995xo.js";import{V as T}from"./VCheckbox-CWiqcZ7a.js";import"./VCheckboxBtn-Dk3iB62X.js";import"./VSelectionControl-CY6RmcvW.js";const A="If enabled, codex will attempt to update the codex python package once a day and restart the server if an update occurred. Not advisable if running from Docker as running containers aren't meant to hold state and will be rebuilt if you update the image. Look into services that automatically update docker images instead.",U="By default all Codex features, including bookmarking, are available to users who are not logged in. You may disable this feature and Codex will hide its browser and reader and disable its API from anyone who is not logged in as a user.",V="By default users' bookmarks and preferences are saved in an anonymous browser session. Users can create a username and password to save their bookmarks between browsers. You may disable this feature. Admins may still create users.",_=`By default, codex provides a "Folder View" which mimics the directory hierarchy of the libraries that you've added to Codex. You may disable this feature. The database style browser view is always available. This flag also enables and disables the "Filename" sort option and the path from search indexing.`,F="If disabled, Codex will not bulk import metadata from comic libraries when they are scanned and only import folders and filenames. Instead, metadata will be loaded lazily as comics are read. This makes importing comics fast, but disables most of the metadata browser functionality, making codex mostly a file tree browser.",S="Anonymously send the contents of the Admin Stats tab once a week to understand how people use Codex and improve the software. The server collecting the stats does not log or store your IP. The author considers all personally identifying information and the names and metadata of your comics to be a radioactive privacy violation and will never be exposed to it. Only the information you see on the stats page is collected. Your API Key is not sent. Stats are not sent for the first 24 hours to allow opt-out.",E={AU:A,NU:U,RG:V,FV:_,IM:F,ST:S},I={name:"AdminFlagsTab",components:{},data(){return{lastUpdate:{name:"",field:void 0},DESC:E}},computed:{...i(p,["formErrors"]),...i(d,["flags"])},mounted(){this.loadTables(["Flag"])},methods:{...b(d,["updateRow","clearErrors","loadTables"]),changeCol(e,t,n){this.lastUpdate.name=e,this.lastUpdate.field=t;const l={[t]:n};this.updateRow("Flag",e,l)},getFormErrors(e,t){if(e===this.lastUpdate.name&&t===this.lastUpdate.field)return this.formErrors},title(e){return y[e.key]}}},B={class:"nameCol"},D={class:"desc"};function N(e,t,n,l,u,s){return r(),g(C,{class:"highlight-table flags-table",items:e.flags,"fixed-header":""},{default:w(()=>[t[0]||(t[0]=a("thead",null,[a("tr",null,[a("th",null,"Description"),a("th",null,"Enabled")])],-1)),a("tbody",null,[(r(!0),c(x,null,k(e.flags,o=>(r(),c("tr",{key:`f${o.key}`},[a("td",B,[a("h4",null,m(s.title(o)),1),a("p",D,m(u.DESC[o.key]),1)]),a("td",null,[v(T,{"model-value":o.on,"true-value":!0,"error-messages":s.getFormErrors(o.key,"on"),"hide-details":"auto","onUpdate:modelValue":h=>s.changeCol(o.key,"on",h)},null,8,["model-value","error-messages","onUpdate:modelValue"])])]))),128))])]),_:1},8,["items"])}const L=f(I,[["render",N],["__scopeId","data-v-43c13cb0"]]);export{L as default};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.flags-table[data-v-43c13cb0]{max-width:100vw!important;margin-bottom:24px}.nameCol[data-v-43c13cb0]{padding-top:.5em!important}.desc[data-v-43c13cb0]{margin-top:1em;margin-bottom:.5em;color:rgb(var(--v-theme-textSecondary))}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.flags-table[data-v-43c13cb0]{max-width:100vw!important;margin-bottom:24px}.nameCol[data-v-43c13cb0]{padding-top:.5em!important}.desc[data-v-43c13cb0]{margin-top:1em;margin-bottom:.5em;color:rgb(var(--v-theme-textSecondary))}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{R as k,z as m,S as w,_ as A,U as i,V as G,aA as h,Q as s,W as a,bx as T,aJ as t,af as p}from"./admin-drawer-panel-BAT7GA64.js";import{A as V,G as S,a as v,b as I,c as j,R as D}from"./relation-chips-3tTlR5QH.js";import{d as g}from"./main-CmjU2oTp.js";import{V as E}from"./VTextField-G6CMj7yO.js";import{V as f,a as N}from"./VRadioGroup-C0etmxpZ.js";import"./VDialog-GbxvFMMN.js";import"./VSelect-txrnRiNJ.js";import"./VSelectionControl-CY6RmcvW.js";import"./VCheckboxBtn-Dk3iB62X.js";import"./VSlideGroup-DtEQMwY1.js";import"./VTable-2af995xo.js";import"./filter-CBl5KEsB.js";import"./confirm-dialog-CbW3hlOp.js";const C=["name","userSet","librarySet","exclude"];Object.freeze(C);const b={name:"",userSet:[],librarySet:[],exclude:!1};Object.freeze(b);const H={name:"AdminGroupCreateUpdateInputs",components:{AdminRelationPicker:V,GroupChip:S},props:{oldRow:{type:[Object,Boolean],default:!1}},emits:["change"],data(){return{rules:{name:[l=>!!l||"Name is required",l=>!!l&&!this.names.has(l.trim())||"Name already used"]},row:{...b,...g(this.oldRow)}}},computed:{...k(m,{groups:l=>l.groups,libraries:l=>l.libraries,users:l=>l.users}),names(){return this.nameSet(this.groups,"name",this.oldRow,!0)}},watch:{row:{handler(l){this.$emit("change",l)},deep:!0},oldRow:{handler(l){this.row=g(l)},deep:!0}},methods:{...w(m,["nameSet"])},UPDATE_KEYS:C,EMPTY_ROW:b};function P(l,e,y,x,o,c){const d=i("GroupChip"),u=i("AdminRelationPicker");return G(),h("div",null,[s(E,{modelValue:o.row.name,"onUpdate:modelValue":e[0]||(e[0]=r=>o.row.name=r),label:"Group Name",rules:o.rules.name,clearable:"",autofocus:""},null,8,["modelValue","rules"]),s(N,{inline:"",label:"Type","model-value":o.row.exclude,"hide-details":"auto","onUpdate:modelValue":e[1]||(e[1]=r=>o.row.exclude=r)},{default:a(()=>[s(f,{value:!1},{label:a(()=>[s(d,{item:{name:"Include",exclude:!1},"title-key":"name","group-type":""})]),_:1}),s(f,{value:!0},{label:a(()=>[s(d,{item:{name:"Exclude",exclude:!0},"title-key":"name","group-type":""})]),_:1})]),_:1},8,["model-value"]),s(u,{"model-value":o.row.userSet,label:"Users",objs:l.users,"title-key":"username","onUpdate:modelValue":e[2]||(e[2]=r=>o.row.userSet=r)},null,8,["model-value","objs"]),s(u,{"model-value":o.row.librarySet,label:"Libraries",objs:l.libraries,"title-key":"path","onUpdate:modelValue":e[3]||(e[3]=r=>o.row.librarySet=r)},null,8,["model-value","objs"])])}const L=A(H,[["render",P]]),O=180,z={name:"AdminGroupsTab",components:{AdminTable:v,AdminDeleteRowDialog:I,AdminCreateUpdateDialog:j,RelationChips:D,GroupChip:S},data(){return{lastUpdate:{pk:0,field:void 0},AdminGroupCreateUpdateInputs:T(L),GROUP_HELP_HEIGHT:O,headers:[{title:"Name",key:"name",align:"start"},{title:"Type",key:"exclude",align:"start"},{title:"Users",key:"userSet"},{title:"Libraries",key:"librarySet"},{title:"Actions",key:"actions",sortable:!1}]}},computed:{...k(m,{groups:l=>l.groups,libraries:l=>l.libraries,users:l=>l.users})},mounted(){this.loadTables(["User","Library","Group"])},methods:{...w(m,["loadTables"]),groupType(l){const e=l.exclude;return{name:e?"Exclude ":"Include",exclude:e}}}},B={class:"tabHeader"},_={id:"groupHelp"},W={id:"groupTable"};function Y(l,e,y,x,o,c){const d=i("AdminCreateUpdateDialog"),u=i("GroupChip"),r=i("RelationChips"),U=i("AdminDeleteRowDialog"),R=i("AdminTable");return G(),h("div",null,[t("header",B,[s(d,{table:"Group","max-width":"20em",inputs:o.AdminGroupCreateUpdateInputs},null,8,["inputs"])]),s(R,{"item-title":"name",headers:o.headers,items:l.groups},{"no-data":a(()=>e[0]||(e[0]=[t("td",{class:"adminNoData",colspan:"100%"},"No groups",-1)])),"item.exclude":a(({item:n})=>[s(u,{"group-type":"",item:c.groupType(n),"title-key":"name"},null,8,["item"])]),"item.userSet":a(({item:n})=>[s(r,{pks:n.userSet,objs:l.users,"title-key":"username"},null,8,["pks","objs"])]),"item.librarySet":a(({item:n})=>[s(r,{pks:n.librarySet,objs:l.libraries,"title-key":"path"},null,8,["pks","objs"])]),"item.actions":a(({item:n})=>[s(d,{table:"Group","old-row":n,"max-width":"20em",inputs:o.AdminGroupCreateUpdateInputs,size:"small",density:"compact"},null,8,["old-row","inputs"]),s(U,{table:"Group",pk:n.pk,name:n.name,size:"small",density:"compact"},null,8,["pk","name"])]),_:2},1032,["headers","items"]),t("div",_,[e[9]||(e[9]=t("h3",null,"Group Logic",-1)),e[10]||(e[10]=t("p",null," A library in no groups is accessible to every user and non-users if those are enabled. ",-1)),e[11]||(e[11]=t("p",null,[p(" A library with "),t("em",null,"any"),p(" Include groups is accessible "),t("em",null,"only"),p(" to users who are in those groups. ")],-1)),e[12]||(e[12]=t("p",null,[p(" A library with "),t("em",null,"any"),p(" Exclude groups is not accessible to Guest users but is acccessable to any logged in users that are not in the Exclude groups. ")],-1)),e[13]||(e[13]=t("p",null," If you have libraries added and you do not see them in your browser, check to see if the library and your user are in the same group. ",-1)),t("table",W,[e[8]||(e[8]=t("thead",null,[t("tr",null,[t("th",null,"Library in Group Type"),t("th",null,"Guest"),t("th",null,"User Out of Group"),t("th",null,"User In Group")])],-1)),t("tbody",null,[e[7]||(e[7]=t("tr",null,[t("td",null,"Not in a Group"),t("td",{class:"see"},"Can See"),t("td",{class:"see"},"Can See"),t("td",{class:"see"},"Can See")],-1)),t("tr",null,[t("td",null,[s(u,{item:{name:"Include",exclude:!1},"title-key":"name","group-type":""})]),e[1]||(e[1]=t("td",{class:"hidden"},"Hidden",-1)),e[2]||(e[2]=t("td",{class:"hidden"},"Hidden",-1)),e[3]||(e[3]=t("td",{class:"see"},"Can See",-1))]),t("tr",null,[t("td",null,[s(u,{item:{name:"Exclude",exclude:!0},"title-key":"name","group-type":""})]),e[4]||(e[4]=t("td",{class:"hidden"},"Hidden",-1)),e[5]||(e[5]=t("td",{class:"see"},"Can See",-1)),e[6]||(e[6]=t("td",{class:"hidden"},"Hidden",-1))])])])])])}const oe=A(z,[["render",Y],["__scopeId","data-v-0893032c"]]);export{oe as default};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{R as k,z as m,S as w,_ as A,U as i,V as G,aA as h,Q as s,W as a,bx as T,aJ as t,af as p}from"./admin-drawer-panel-BAT7GA64.js";import{A as V,G as S,a as v,b as I,c as j,R as D}from"./relation-chips-3tTlR5QH.js";import{d as g}from"./main-CmjU2oTp.js";import{V as E}from"./VTextField-G6CMj7yO.js";import{V as f,a as N}from"./VRadioGroup-C0etmxpZ.js";import"./VDialog-GbxvFMMN.js";import"./VSelect-txrnRiNJ.js";import"./VSelectionControl-CY6RmcvW.js";import"./VCheckboxBtn-Dk3iB62X.js";import"./VSlideGroup-DtEQMwY1.js";import"./VTable-2af995xo.js";import"./filter-CBl5KEsB.js";import"./confirm-dialog-CbW3hlOp.js";const C=["name","userSet","librarySet","exclude"];Object.freeze(C);const b={name:"",userSet:[],librarySet:[],exclude:!1};Object.freeze(b);const H={name:"AdminGroupCreateUpdateInputs",components:{AdminRelationPicker:V,GroupChip:S},props:{oldRow:{type:[Object,Boolean],default:!1}},emits:["change"],data(){return{rules:{name:[l=>!!l||"Name is required",l=>!!l&&!this.names.has(l.trim())||"Name already used"]},row:{...b,...g(this.oldRow)}}},computed:{...k(m,{groups:l=>l.groups,libraries:l=>l.libraries,users:l=>l.users}),names(){return this.nameSet(this.groups,"name",this.oldRow,!0)}},watch:{row:{handler(l){this.$emit("change",l)},deep:!0},oldRow:{handler(l){this.row=g(l)},deep:!0}},methods:{...w(m,["nameSet"])},UPDATE_KEYS:C,EMPTY_ROW:b};function P(l,e,y,x,o,c){const d=i("GroupChip"),u=i("AdminRelationPicker");return G(),h("div",null,[s(E,{modelValue:o.row.name,"onUpdate:modelValue":e[0]||(e[0]=r=>o.row.name=r),label:"Group Name",rules:o.rules.name,clearable:"",autofocus:""},null,8,["modelValue","rules"]),s(N,{inline:"",label:"Type","model-value":o.row.exclude,"hide-details":"auto","onUpdate:modelValue":e[1]||(e[1]=r=>o.row.exclude=r)},{default:a(()=>[s(f,{value:!1},{label:a(()=>[s(d,{item:{name:"Include",exclude:!1},"title-key":"name","group-type":""})]),_:1}),s(f,{value:!0},{label:a(()=>[s(d,{item:{name:"Exclude",exclude:!0},"title-key":"name","group-type":""})]),_:1})]),_:1},8,["model-value"]),s(u,{"model-value":o.row.userSet,label:"Users",objs:l.users,"title-key":"username","onUpdate:modelValue":e[2]||(e[2]=r=>o.row.userSet=r)},null,8,["model-value","objs"]),s(u,{"model-value":o.row.librarySet,label:"Libraries",objs:l.libraries,"title-key":"path","onUpdate:modelValue":e[3]||(e[3]=r=>o.row.librarySet=r)},null,8,["model-value","objs"])])}const L=A(H,[["render",P]]),O=180,z={name:"AdminGroupsTab",components:{AdminTable:v,AdminDeleteRowDialog:I,AdminCreateUpdateDialog:j,RelationChips:D,GroupChip:S},data(){return{lastUpdate:{pk:0,field:void 0},AdminGroupCreateUpdateInputs:T(L),GROUP_HELP_HEIGHT:O,headers:[{title:"Name",key:"name",align:"start"},{title:"Type",key:"exclude",align:"start"},{title:"Users",key:"userSet"},{title:"Libraries",key:"librarySet"},{title:"Actions",key:"actions",sortable:!1}]}},computed:{...k(m,{groups:l=>l.groups,libraries:l=>l.libraries,users:l=>l.users})},mounted(){this.loadTables(["User","Library","Group"])},methods:{...w(m,["loadTables"]),groupType(l){const e=l.exclude;return{name:e?"Exclude ":"Include",exclude:e}}}},B={class:"tabHeader"},_={id:"groupHelp"},W={id:"groupTable"};function Y(l,e,y,x,o,c){const d=i("AdminCreateUpdateDialog"),u=i("GroupChip"),r=i("RelationChips"),U=i("AdminDeleteRowDialog"),R=i("AdminTable");return G(),h("div",null,[t("header",B,[s(d,{table:"Group","max-width":"20em",inputs:o.AdminGroupCreateUpdateInputs},null,8,["inputs"])]),s(R,{"item-title":"name",headers:o.headers,items:l.groups},{"no-data":a(()=>e[0]||(e[0]=[t("td",{class:"adminNoData",colspan:"100%"},"No groups",-1)])),"item.exclude":a(({item:n})=>[s(u,{"group-type":"",item:c.groupType(n),"title-key":"name"},null,8,["item"])]),"item.userSet":a(({item:n})=>[s(r,{pks:n.userSet,objs:l.users,"title-key":"username"},null,8,["pks","objs"])]),"item.librarySet":a(({item:n})=>[s(r,{pks:n.librarySet,objs:l.libraries,"title-key":"path"},null,8,["pks","objs"])]),"item.actions":a(({item:n})=>[s(d,{table:"Group","old-row":n,"max-width":"20em",inputs:o.AdminGroupCreateUpdateInputs,size:"small",density:"compact"},null,8,["old-row","inputs"]),s(U,{table:"Group",pk:n.pk,name:n.name,size:"small",density:"compact"},null,8,["pk","name"])]),_:2},1032,["headers","items"]),t("div",_,[e[9]||(e[9]=t("h3",null,"Group Logic",-1)),e[10]||(e[10]=t("p",null," A library in no groups is accessible to every user and non-users if those are enabled. ",-1)),e[11]||(e[11]=t("p",null,[p(" A library with "),t("em",null,"any"),p(" Include groups is accessible "),t("em",null,"only"),p(" to users who are in those groups. ")],-1)),e[12]||(e[12]=t("p",null,[p(" A library with "),t("em",null,"any"),p(" Exclude groups is not accessible to Guest users but is acccessable to any logged in users that are not in the Exclude groups. ")],-1)),e[13]||(e[13]=t("p",null," If you have libraries added and you do not see them in your browser, check to see if the library and your user are in the same group. ",-1)),t("table",W,[e[8]||(e[8]=t("thead",null,[t("tr",null,[t("th",null,"Library in Group Type"),t("th",null,"Guest"),t("th",null,"User Out of Group"),t("th",null,"User In Group")])],-1)),t("tbody",null,[e[7]||(e[7]=t("tr",null,[t("td",null,"Not in a Group"),t("td",{class:"see"},"Can See"),t("td",{class:"see"},"Can See"),t("td",{class:"see"},"Can See")],-1)),t("tr",null,[t("td",null,[s(u,{item:{name:"Include",exclude:!1},"title-key":"name","group-type":""})]),e[1]||(e[1]=t("td",{class:"hidden"},"Hidden",-1)),e[2]||(e[2]=t("td",{class:"hidden"},"Hidden",-1)),e[3]||(e[3]=t("td",{class:"see"},"Can See",-1))]),t("tr",null,[t("td",null,[s(u,{item:{name:"Exclude",exclude:!0},"title-key":"name","group-type":""})]),e[4]||(e[4]=t("td",{class:"hidden"},"Hidden",-1)),e[5]||(e[5]=t("td",{class:"see"},"Can See",-1)),e[6]||(e[6]=t("td",{class:"hidden"},"Hidden",-1))])])])])])}const oe=A(z,[["render",Y],["__scopeId","data-v-0893032c"]]);export{oe as default};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#groupHelp[data-v-0893032c]{margin-top:2em;margin-bottom:2em;color:rgb(var(--v-theme-textSecondary))}#groupTable[data-v-0893032c]{border:solid thin;margin-top:1em}#groupTable th[data-v-0893032c],#groupTable td[data-v-0893032c]{padding:.25em}.see[data-v-0893032c]{background-color:rgb(var(--v-theme-includeGroup))}.hidden[data-v-0893032c]{background-color:rgb(var(--v-theme-excludeGroup))}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#groupHelp[data-v-0893032c]{margin-top:2em;margin-bottom:2em;color:rgb(var(--v-theme-textSecondary))}#groupTable[data-v-0893032c]{border:solid thin;margin-top:1em}#groupTable th[data-v-0893032c],#groupTable td[data-v-0893032c]{padding:.25em}.see[data-v-0893032c]{background-color:rgb(var(--v-theme-includeGroup))}.hidden[data-v-0893032c]{background-color:rgb(var(--v-theme-excludeGroup))}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as m,az as _,m as h,T as n,W as a,U as s,V as i,aJ as e,aC as d,Q as l}from"./admin-drawer-panel-BAT7GA64.js";import{U as f,V as k}from"./unauthorized-BHgBRF4z.js";import"./main-CmjU2oTp.js";import"./change-password-dialog-BazJdNs9.js";import"./VTextField-G6CMj7yO.js";import"./VDialog-GbxvFMMN.js";import"./VSelectionControl-CY6RmcvW.js";const c={400:"Bad Request",403:"Forbidden",404:"Page Not Found",500:"Server Error"};Object.freeze(c);const z={name:"HttpError",components:{Unauthorized:f},data(){return{}},computed:{..._(h,["isAuthorized"]),code:function(){return+this.$route.params.code},title:function(){let t=c[this.code];return t||(t="Unknown Error"),t}}},E={id:"httpCode"},U={id:"title"};function C(t,o,V,x,B,r){const p=s("router-link"),u=s("Unauthorized");return t.isAuthorized?(i(),n(k,{key:0,id:"httpError"},{default:a(()=>[e("h1",E,d(r.code),1),e("h1",U,d(r.title),1),l(p,{id:"link",to:{name:"home"}},{default:a(()=>o[0]||(o[0]=[e("h2",null,"Codex Home",-1)])),_:1})]),_:1})):(i(),n(u,{key:1}))}const b=m(z,[["render",C],["__scopeId","data-v-c7d80e26"]]);export{b as default};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
K`�¶���p�� a�����y�r�����)��QKj)8|�Vw�����,�Ц�s�w[h%-�&��M& o�x$R^��VZ`A�����$^����#�l�;Xa�����a�j:,U�XO���˼ �a_�݄��3����~���J��ɗX
|
|
2
|
+
M�D>
|
|
3
|
+
�����������0��Ep�61��'��`�X8���͵J��,�1|B����b���5���a��K*m��b��T��%��"�MR]{w��
|
|
4
|
+
u�)��^Υ��$�A��M!WJg���>�t�:�g��@DpڎIR�$�ڏ��D�0����Dhew��R�+�AH��b�(@c�b_$*N����e��&�\� N�4���E���}�X�M|F�3�'�pT-�"Q�ױM�@<Ͳ}��eǕ���"�[0�ժ�u+�˹��i��L��RЭd��������
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as m,az as _,m as h,T as n,W as a,U as s,V as i,aJ as e,aC as d,Q as l}from"./admin-drawer-panel-BAT7GA64.js";import{U as f,V as k}from"./unauthorized-BHgBRF4z.js";import"./main-CmjU2oTp.js";import"./change-password-dialog-BazJdNs9.js";import"./VTextField-G6CMj7yO.js";import"./VDialog-GbxvFMMN.js";import"./VSelectionControl-CY6RmcvW.js";const c={400:"Bad Request",403:"Forbidden",404:"Page Not Found",500:"Server Error"};Object.freeze(c);const z={name:"HttpError",components:{Unauthorized:f},data(){return{}},computed:{..._(h,["isAuthorized"]),code:function(){return+this.$route.params.code},title:function(){let t=c[this.code];return t||(t="Unknown Error"),t}}},E={id:"httpCode"},U={id:"title"};function C(t,o,V,x,B,r){const p=s("router-link"),u=s("Unauthorized");return t.isAuthorized?(i(),n(k,{key:0,id:"httpError"},{default:a(()=>[e("h1",E,d(r.code),1),e("h1",U,d(r.title),1),l(p,{id:"link",to:{name:"home"}},{default:a(()=>o[0]||(o[0]=[e("h2",null,"Codex Home",-1)])),_:1})]),_:1})):(i(),n(u,{key:1}))}const b=m(z,[["render",C],["__scopeId","data-v-c7d80e26"]]);export{b as default};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
K`�¶���p�� a�����y�r�����)��QKj)8|�Vw�����,�Ц�s�w[h%-�&��M& o�x$R^��VZ`A�����$^����#�l�;Xa�����a�j:,U�XO���˼ �a_�݄��3����~���J��ɗX
|
|
2
|
+
M�D>
|
|
3
|
+
�����������0��Ep�61��'��`�X8���͵J��,�1|B����b���5���a��K*m��b��T��%��"�MR]{w��
|
|
4
|
+
u�)��^Υ��$�A��M!WJg���>�t�:�g��@DpڎIR�$�ڏ��D�0����Dhew��R�+�AH��b�(@c�b_$*N����e��&�\� N�4���E���}�X�M|F�3�'�pT-�"Q�ױM�@<Ͳ}��eǕ���"�[0�ժ�u+�˹��i��L��RЭd��������
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
#folderPicker[data-v-8f7dd090]{border-radius:5px;background-color:rgb(var(--v-theme-surface))}.showHidden[data-v-8f7dd090] .v-label{color:rgb(var(--v-theme-textSecondary))}.disabled[data-v-
|
|
1
|
+
#folderPicker[data-v-8f7dd090]{border-radius:5px;background-color:rgb(var(--v-theme-surface))}.showHidden[data-v-8f7dd090] .v-label{color:rgb(var(--v-theme-textSecondary))}.disabled[data-v-dc8b0e11]{color:rgb(var(--v-theme-textDisabled))!important}.actionButtonCell[data-v-dc8b0e11]>button{opacity:.7}.actionButtonCell[data-v-dc8b0e11]>button:hover{opacity:1}#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-a5ce4ee5]{display:block;margin-left:2em}#failedImportsPanel[data-v-a5ce4ee5]{padding-top:10px}#failedImportsIcon[data-v-a5ce4ee5]{padding-left:.25em;color:rgb(var(--v-theme-error))!important}#failedImportsHelp[data-v-a5ce4ee5]{color:rgb(var(--v-theme-textSecondary))}h4[data-v-a5ce4ee5]{padding-top:.5em}a[data-v-a5ce4ee5],a>.v-icon[data-v-a5ce4ee5]{color:rgb(var(--v-theme-primary))!important}a[data-v-a5ce4ee5]:hover,a:hover>.v-icon[data-v-a5ce4ee5]{color:rgb(var(--v-theme-textPrimary))!important}a.v-btn>.v-icon[data-v-a5ce4ee5]{color:rgb(var(--v-theme-textPrimary))}#customCovers[data-v-7582b1ea]{margin-top:60px}
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
#folderPicker[data-v-8f7dd090]{border-radius:5px;background-color:rgb(var(--v-theme-surface))}.showHidden[data-v-8f7dd090] .v-label{color:rgb(var(--v-theme-textSecondary))}.disabled[data-v-
|
|
1
|
+
#folderPicker[data-v-8f7dd090]{border-radius:5px;background-color:rgb(var(--v-theme-surface))}.showHidden[data-v-8f7dd090] .v-label{color:rgb(var(--v-theme-textSecondary))}.disabled[data-v-dc8b0e11]{color:rgb(var(--v-theme-textDisabled))!important}.actionButtonCell[data-v-dc8b0e11]>button{opacity:.7}.actionButtonCell[data-v-dc8b0e11]>button:hover{opacity:1}#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-a5ce4ee5]{display:block;margin-left:2em}#failedImportsPanel[data-v-a5ce4ee5]{padding-top:10px}#failedImportsIcon[data-v-a5ce4ee5]{padding-left:.25em;color:rgb(var(--v-theme-error))!important}#failedImportsHelp[data-v-a5ce4ee5]{color:rgb(var(--v-theme-textSecondary))}h4[data-v-a5ce4ee5]{padding-top:.5em}a[data-v-a5ce4ee5],a>.v-icon[data-v-a5ce4ee5]{color:rgb(var(--v-theme-primary))!important}a[data-v-a5ce4ee5]:hover,a:hover>.v-icon[data-v-a5ce4ee5]{color:rgb(var(--v-theme-textPrimary))!important}a.v-btn>.v-icon[data-v-a5ce4ee5]{color:rgb(var(--v-theme-textPrimary))}#customCovers[data-v-7582b1ea]{margin-top:60px}
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as F,u as J}from"./main-CmjU2oTp.js";import{R as y,z as b,A as D,S as k,_ as C,V as c,aA as g,Q as r,W as s,aO as Q,am as V,bf as X,T as w,U as p,aC as _,aE as I,al as $,cF as Z,cG as ee,cH as te,a$ as H,bx as B,aS as oe,aJ as o,ag as re,af as d,cI as le,bl as se,aN as L,aB as ne,bL as U}from"./admin-drawer-panel-BAT7GA64.js";import{A as ae,a as ie,b as de,c as j,R as me}from"./relation-chips-3tTlR5QH.js";import{V as ue}from"./VCombobox-D1_KU27A.js";import{V as E}from"./VCheckbox-CWiqcZ7a.js";import{V as pe}from"./VTextField-G6CMj7yO.js";import{D as W}from"./datetime-column-uSqKZU37.js";import{C as ce}from"./confirm-dialog-CbW3hlOp.js";import{V as z}from"./VCheckboxBtn-Dk3iB62X.js";import{a as A,b as T,c as P,V as x}from"./VExpansionPanels-Cywv_bEj.js";import{V as he}from"./VTable-2af995xo.js";import"./VDialog-GbxvFMMN.js";import"./VSelect-txrnRiNJ.js";import"./VSelectionControl-CY6RmcvW.js";import"./VSlideGroup-DtEQMwY1.js";import"./filter-CBl5KEsB.js";const fe={name:"AdminServerFolderPicker",emits:["change","menu"],data(){return{path:"",originalPath:"",showHidden:!1,menuOpen:!1}},computed:{...y(b,{folders:e=>e.folderPicker.folders,rootFolder:e=>e.folderPicker.rootFolder}),...y(D,{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:{...k(b,["clearFolders","loadFolders"]),...k(D,["clearErrors"]),change(e){let t;e?e.startsWith("/")||e.startsWith("\\")?t=e:t=[this.rootFolder,e].join("/"):t=this.rootFolder;const n=this.menuOpen;this.clearErrors(),this.loadFolders(t,this.showHidden).then(()=>{this.menuOpen=n;let a="";return this.formErrors.length===0&&(this.path=a=this.rootFolder),this.$emit("change",a)}).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)}}},be={id:"folderPicker"};function ye(e,t,n,a,l,u){return c(),g("div",be,[r(ue,V({modelValue:l.path,"onUpdate:modelValue":t[0]||(t[0]=m=>l.path=m),menu:l.menuOpen,"onUpdate:menu":t[1]||(t[1]=m=>l.menuOpen=m)},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:X(u.onKeyDownEnter,["enter"])}),{item:s(({item:m,props:f})=>[r(Q,V(f,{title:m.title,value:m.value,onClick:v=>u.onItemClick(m.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]=m=>l.showHidden=m),density:"compact",class:"showHidden","hide-details":"auto",label:"Show Hidden Folders"},null,8,["modelValue"])])}const ve=C(fe,[["render",ye],["__scopeId","data-v-8f7dd090"]]),R="DDD HH:mm:SS",ge=/^(?:[0-3]?\d?\d\s)?(?:[01]?\d|2[0-3])(?::[0-5]\d){2}$/,we={name:"TimeTextField",data(){return{FORMAT:R,timeRules:[e=>ge.test(e)||`Invalid time format ${R}`]}}};function Ce(e,t,n,a,l,u){return c(),w(pe,V({ref:"timeField",density:"compact",filled:"",hint:l.FORMAT,round:"",rules:l.timeRules},e.$attrs),null,16,["hint","rules"])}const _e=C(we,[["render",Ce]]),N=["events","poll","pollEvery","groups"];Object.freeze(N);const O={path:"",events:!0,poll:!0,pollEvery:"01:00:00",groups:[]};Object.freeze(O);const S=(e,t)=>(e=e.replaceAll("\\","/"),t=t.replaceAll("\\","/"),e.endsWith("/")||(e+="/"),t.endsWith("/")||(t+="/"),t.startsWith(e)),Fe={name:"AdminLibraryCreateUpdateInputs",components:{AdminRelationPicker:ae,AdminServerFolderPicker:ve,TimeTextField:_e},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(S(t,e))return"Path is a child of an existing library";if(S(e,t))return"Path is a parent of an existing library"}return!0}]},row:F(this.oldRow||O)}},computed:{...y(b,{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=F(e)},deep:!0}},methods:{...k(b,["nameSet"])},UPDATE_KEYS:N,EMPTY_ROW:O},ke={key:1};function Ie(e,t,n,a,l,u){const m=p("AdminServerFolderPicker"),f=p("TimeTextField"),v=p("AdminRelationPicker");return c(),g($,null,[n.oldRow?(c(),g("div",ke,_(n.oldRow.path),1)):(c(),w(m,{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?I("",!0):(c(),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 G=C(Fe,[["render",Ie]]),Ae={name:"AdminLibrariesTab",components:{AdminTable:ie,AdminDeleteRowDialog:de,AdminCreateUpdateDialog:j,RelationChips:me,ConfirmDialog:ce,DateTimeColumn:W},props:{coversDir:{type:Boolean,default:!1}},data(){return{lastUpdate:{pk:0,field:void 0},mdiCircleOffOutline:Z,mdiDatabaseClockOutline:ee,mdiDatabaseSyncOutline:te,mdiOpenInNew:H,AdminLibraryCreateUpdateInputs:B(G)}},computed:{...y(b,{groups:e=>e.groups,items(e){const t=[];for(const n of e.libraries){const a=F(n);a.label=a.coversOnly?"custom group cover":"comic",t.push(a)}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(D,{formErrors:e=>{var t;return(t=e.form)==null?void 0:t.errors}}),...y(J,{twentyFourHourTime:e=>e.settings.twentyFourHourTime}),iconSize(){const e=this.$vuetify.display;return e.xlAndUp?"x-large":e.lgAndUp?"large":e.mdAndUp?"default":"small"}},mounted(){this.loadTables(["Group","Library","FailedImport"])},methods:{...k(b,["updateRow","clearErrors","librarianTask","loadTables"]),formatDateTime:e=>e?oe(e,(void 0).twentyFourHourTime):"",changeCol(e,t,n){this.lastUpdate.pk=e,this.lastUpdate.field=t;const a={[t]:n};this.updateRow("Library",e,a)},getFormErrors(e,t){if(e===this.lastUpdate.pk&&t===this.lastUpdate.field)return this.formErrors},libraryLabel(e,t=!0){let n="";return e.coversOnly?(t&&(n+="Custom Group "),n+="Cover Dir"):n+="Library",n},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":""}}},Te={class:"actionButtonCell"};function Pe(e,t,n,a,l,u){const m=p("DateTimeColumn"),f=p("RelationChips"),v=p("ConfirmDialog"),h=p("AdminCreateUpdateDialog"),M=p("AdminDeleteRowDialog"),Y=p("AdminTable");return c(),w(Y,{headers:e.headers},{"no-data":s(()=>t[0]||(t[0]=[o("td",{class:"adminNoData",colspan:"100%"}," Add a Library to start using Codex ",-1)])),"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:re({disabled:!i.poll})},_(i.pollEvery),3)]),"item.lastPoll":s(({item:i})=>[r(m,{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})=>[o("span",Te,[r(v,{icon:l.mdiDatabaseClockOutline,"title-text":`Poll for updated ${i.label}s`,"object-name":i.path,"confirm-text":u.pollConfirmText(i),size:u.iconSize,density:"compact",onConfirm:q=>u.poll(i)},null,8,["icon","title-text","object-name","confirm-text","size","onConfirm"]),r(v,{icon:l.mdiDatabaseSyncOutline,"title-text":`Force update every ${i.label}`,"object-name":i.path,"confirm-text":"Force Update",size:u.iconSize,density:"compact",onConfirm:q=>u.forcePoll(i)},null,8,["icon","title-text","object-name","size","onConfirm"]),r(h,{table:"Library","old-row":i,inputs:l.AdminLibraryCreateUpdateInputs,label:u.updateLabel(i),"max-width":"22em",size:u.iconSize,density:"compact"},null,8,["old-row","inputs","label","size"]),i.coversOnly?I("",!0):(c(),w(M,{key:0,table:"Library",pk:i.pk,name:i.path,size:u.iconSize,density:"compact"},null,8,["pk","name","size"]))])]),_:2},1032,["headers"])}const K=C(Ae,[["render",Pe],["__scopeId","data-v-dc8b0e11"]]),xe={name:"AdminCustomCoversPanel",components:{AdminLibraryTable:K},computed:{...y(b,{coverDirItems(e){const t=[];for(const n of e.libraries)if(n.coversOnly){const a=F(n);a.label=a.coversOnly?"custom group cover":"comic",t.push(a)}return t}})}};function De(e,t,n,a,l,u){const m=p("AdminLibraryTable");return c(),w(P,null,{default:s(()=>[r(x,null,{default:s(()=>[r(A,null,{default:s(()=>t[0]||(t[0]=[o("h4",{id:"coverDirHeader"},"Custom Covers",-1)])),_:1}),r(T,null,{default:s(()=>[r(m,{items:e.coverDirItems,"disable-sort":"","covers-dir":!0},null,8,["items"]),r(P,null,{default:s(()=>[r(x,{id:"customCoversHelp"},{default:s(()=>[r(A,null,{default:s(()=>t[1]||(t[1]=[o("h4",null,"Custom Covers Help",-1)])),_:1}),r(T,null,{default:s(()=>t[2]||(t[2]=[o("p",null,"Custom covers may be added to the browser in two locations:",-1),o("h4",null,"Folders",-1),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),o("h4",null,"Custom Covers Dir",-1),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),o("h4",null,"Image Formats & Size",-1),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),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),o("h4",null,"Priority",-1),o("p",null," Custom covers supersede covers set by the user's individual browser settings. ",-1)])),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}const Ve=C(xe,[["render",De],["__scopeId","data-v-589557a2"]]),Ee={name:"AdminFailedImportsPanel",components:{DateTimeColumn:W},data(){return{mdiBookAlert:le,mdiOpenInNew:H}},computed:{...y(b,{failedImports:e=>e.failedImports,showFailedImports:e=>e.failedImports&&e.failedImports.length>0}),...se(b,["unseenFailedImports"])}},Oe={key:0},Le={class:"dateCol"},Ue={href:"https://github.com/ajslater/codex/issues/",target:"_blank"};function ze(e,t,n,a,l,u){const m=p("DateTimeColumn");return e.showFailedImports?(c(),g("div",Oe,[r(P,null,{default:s(()=>[r(x,{id:"failedImportsPanel",onClick:t[0]||(t[0]=f=>e.unseenFailedImports=!1)},{default:s(()=>[r(A,null,{default:s(()=>[o("h4",null,"Failed Imports: "+_(e.failedImports.length),1),e.unseenFailedImports?(c(),w(L,{key:0,id:"failedImportsIcon",title:"New Failed Imports"},{default:s(()=>[d(_(l.mdiBookAlert),1)]),_:1})):I("",!0)]),_:1}),r(T,null,{default:s(()=>[r(he,{class:"highlight-table"},{default:s(()=>[t[1]||(t[1]=o("thead",null,[o("tr",null,[o("th",null,"Path"),o("th",null,"Created")])],-1)),o("tbody",null,[(c(!0),g($,null,ne(e.failedImports,f=>(c(),g("tr",{key:`fi:${f.path}`},[o("td",null,_(f.path),1),o("td",Le,[r(m,{dttm:f.createdAt},null,8,["dttm"])])]))),128))])]),_:1}),r(P,null,{default:s(()=>[r(x,{id:"failedImportsHelp"},{default:s(()=>[r(A,null,{default:s(()=>t[2]||(t[2]=[o("h4",null,"Failed Imports Help",-1)])),_:1}),r(T,null,{default:s(()=>[t[8]||(t[8]=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)),t[9]||(t[9]=o("h4",null,"Fixing comics",-1)),t[10]||(t[10]=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)),t[11]||(t[11]=o("h4",null,"Reporting Issues",-1)),o("p",null,[t[4]||(t[4]=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",Ue,[t[3]||(t[3]=d("Issue Report")),r(L,{size:"small"},{default:s(()=>[d(_(l.mdiOpenInNew),1)]),_:1})]),t[5]||(t[5]=d(" and include the stack trace from the logs at ")),t[6]||(t[6]=o("code",null,"config/logs/codex.log",-1)),t[7]||(t[7]=d(" if you can. "))])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})])):I("",!0)}const Re=C(Ee,[["render",ze],["__scopeId","data-v-a5ce4ee5"]]),Se={name:"AdminLibrariesTab",components:{AdminFailedImportsPanel:Re,AdminLibraryTable:K,AdminCreateUpdateDialog:j,AdminCustomCoversPanel:Ve},data(){return{AdminLibraryCreateUpdateInputs:B(G)}},computed:{...y(b,{libraryItems(e){const t=[];if(!e.libraries)return t;for(const n of e.libraries)if(!n.coversOnly){const a=F(n);a.label=a.coversOnly?"custom group cover":"comic",t.push(a)}return t}})},mounted(){this.loadTables(["Group","Library","FailedImport"])},methods:{...k(b,["loadTables"])}},$e={class:"tabHeader"};function He(e,t,n,a,l,u){const m=p("AdminCreateUpdateDialog"),f=p("AdminLibraryTable"),v=p("AdminFailedImportsPanel"),h=p("AdminCustomCoversPanel");return c(),g("div",null,[o("header",$e,[r(m,{table:"Library",inputs:l.AdminLibraryCreateUpdateInputs},null,8,["inputs"])]),r(f,{items:e.libraryItems,"sort-by":[{key:"path",order:"asc"}]},null,8,["items"]),r(U,null,{default:s(()=>[r(v,{id:"failedImports"})]),_:1}),r(U,null,{default:s(()=>[r(h,{id:"customCovers"})]),_:1})])}const rt=C(Se,[["render",He],["__scopeId","data-v-7582b1ea"]]);export{rt as default};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as F,u as J}from"./main-CmjU2oTp.js";import{R as y,z as b,A as D,S as k,_ as C,V as c,aA as g,Q as r,W as s,aO as Q,am as V,bf as X,T as w,U as p,aC as _,aE as I,al as $,cF as Z,cG as ee,cH as te,a$ as H,bx as B,aS as oe,aJ as o,ag as re,af as d,cI as le,bl as se,aN as L,aB as ne,bL as U}from"./admin-drawer-panel-BAT7GA64.js";import{A as ae,a as ie,b as de,c as j,R as me}from"./relation-chips-3tTlR5QH.js";import{V as ue}from"./VCombobox-D1_KU27A.js";import{V as E}from"./VCheckbox-CWiqcZ7a.js";import{V as pe}from"./VTextField-G6CMj7yO.js";import{D as W}from"./datetime-column-uSqKZU37.js";import{C as ce}from"./confirm-dialog-CbW3hlOp.js";import{V as z}from"./VCheckboxBtn-Dk3iB62X.js";import{a as A,b as T,c as P,V as x}from"./VExpansionPanels-Cywv_bEj.js";import{V as he}from"./VTable-2af995xo.js";import"./VDialog-GbxvFMMN.js";import"./VSelect-txrnRiNJ.js";import"./VSelectionControl-CY6RmcvW.js";import"./VSlideGroup-DtEQMwY1.js";import"./filter-CBl5KEsB.js";const fe={name:"AdminServerFolderPicker",emits:["change","menu"],data(){return{path:"",originalPath:"",showHidden:!1,menuOpen:!1}},computed:{...y(b,{folders:e=>e.folderPicker.folders,rootFolder:e=>e.folderPicker.rootFolder}),...y(D,{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:{...k(b,["clearFolders","loadFolders"]),...k(D,["clearErrors"]),change(e){let t;e?e.startsWith("/")||e.startsWith("\\")?t=e:t=[this.rootFolder,e].join("/"):t=this.rootFolder;const n=this.menuOpen;this.clearErrors(),this.loadFolders(t,this.showHidden).then(()=>{this.menuOpen=n;let a="";return this.formErrors.length===0&&(this.path=a=this.rootFolder),this.$emit("change",a)}).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)}}},be={id:"folderPicker"};function ye(e,t,n,a,l,u){return c(),g("div",be,[r(ue,V({modelValue:l.path,"onUpdate:modelValue":t[0]||(t[0]=m=>l.path=m),menu:l.menuOpen,"onUpdate:menu":t[1]||(t[1]=m=>l.menuOpen=m)},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:X(u.onKeyDownEnter,["enter"])}),{item:s(({item:m,props:f})=>[r(Q,V(f,{title:m.title,value:m.value,onClick:v=>u.onItemClick(m.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]=m=>l.showHidden=m),density:"compact",class:"showHidden","hide-details":"auto",label:"Show Hidden Folders"},null,8,["modelValue"])])}const ve=C(fe,[["render",ye],["__scopeId","data-v-8f7dd090"]]),R="DDD HH:mm:SS",ge=/^(?:[0-3]?\d?\d\s)?(?:[01]?\d|2[0-3])(?::[0-5]\d){2}$/,we={name:"TimeTextField",data(){return{FORMAT:R,timeRules:[e=>ge.test(e)||`Invalid time format ${R}`]}}};function Ce(e,t,n,a,l,u){return c(),w(pe,V({ref:"timeField",density:"compact",filled:"",hint:l.FORMAT,round:"",rules:l.timeRules},e.$attrs),null,16,["hint","rules"])}const _e=C(we,[["render",Ce]]),N=["events","poll","pollEvery","groups"];Object.freeze(N);const O={path:"",events:!0,poll:!0,pollEvery:"01:00:00",groups:[]};Object.freeze(O);const S=(e,t)=>(e=e.replaceAll("\\","/"),t=t.replaceAll("\\","/"),e.endsWith("/")||(e+="/"),t.endsWith("/")||(t+="/"),t.startsWith(e)),Fe={name:"AdminLibraryCreateUpdateInputs",components:{AdminRelationPicker:ae,AdminServerFolderPicker:ve,TimeTextField:_e},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(S(t,e))return"Path is a child of an existing library";if(S(e,t))return"Path is a parent of an existing library"}return!0}]},row:F(this.oldRow||O)}},computed:{...y(b,{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=F(e)},deep:!0}},methods:{...k(b,["nameSet"])},UPDATE_KEYS:N,EMPTY_ROW:O},ke={key:1};function Ie(e,t,n,a,l,u){const m=p("AdminServerFolderPicker"),f=p("TimeTextField"),v=p("AdminRelationPicker");return c(),g($,null,[n.oldRow?(c(),g("div",ke,_(n.oldRow.path),1)):(c(),w(m,{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?I("",!0):(c(),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 G=C(Fe,[["render",Ie]]),Ae={name:"AdminLibrariesTab",components:{AdminTable:ie,AdminDeleteRowDialog:de,AdminCreateUpdateDialog:j,RelationChips:me,ConfirmDialog:ce,DateTimeColumn:W},props:{coversDir:{type:Boolean,default:!1}},data(){return{lastUpdate:{pk:0,field:void 0},mdiCircleOffOutline:Z,mdiDatabaseClockOutline:ee,mdiDatabaseSyncOutline:te,mdiOpenInNew:H,AdminLibraryCreateUpdateInputs:B(G)}},computed:{...y(b,{groups:e=>e.groups,items(e){const t=[];for(const n of e.libraries){const a=F(n);a.label=a.coversOnly?"custom group cover":"comic",t.push(a)}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(D,{formErrors:e=>{var t;return(t=e.form)==null?void 0:t.errors}}),...y(J,{twentyFourHourTime:e=>e.settings.twentyFourHourTime}),iconSize(){const e=this.$vuetify.display;return e.xlAndUp?"x-large":e.lgAndUp?"large":e.mdAndUp?"default":"small"}},mounted(){this.loadTables(["Group","Library","FailedImport"])},methods:{...k(b,["updateRow","clearErrors","librarianTask","loadTables"]),formatDateTime:e=>e?oe(e,(void 0).twentyFourHourTime):"",changeCol(e,t,n){this.lastUpdate.pk=e,this.lastUpdate.field=t;const a={[t]:n};this.updateRow("Library",e,a)},getFormErrors(e,t){if(e===this.lastUpdate.pk&&t===this.lastUpdate.field)return this.formErrors},libraryLabel(e,t=!0){let n="";return e.coversOnly?(t&&(n+="Custom Group "),n+="Cover Dir"):n+="Library",n},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":""}}},Te={class:"actionButtonCell"};function Pe(e,t,n,a,l,u){const m=p("DateTimeColumn"),f=p("RelationChips"),v=p("ConfirmDialog"),h=p("AdminCreateUpdateDialog"),M=p("AdminDeleteRowDialog"),Y=p("AdminTable");return c(),w(Y,{headers:e.headers},{"no-data":s(()=>t[0]||(t[0]=[o("td",{class:"adminNoData",colspan:"100%"}," Add a Library to start using Codex ",-1)])),"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:re({disabled:!i.poll})},_(i.pollEvery),3)]),"item.lastPoll":s(({item:i})=>[r(m,{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})=>[o("span",Te,[r(v,{icon:l.mdiDatabaseClockOutline,"title-text":`Poll for updated ${i.label}s`,"object-name":i.path,"confirm-text":u.pollConfirmText(i),size:u.iconSize,density:"compact",onConfirm:q=>u.poll(i)},null,8,["icon","title-text","object-name","confirm-text","size","onConfirm"]),r(v,{icon:l.mdiDatabaseSyncOutline,"title-text":`Force update every ${i.label}`,"object-name":i.path,"confirm-text":"Force Update",size:u.iconSize,density:"compact",onConfirm:q=>u.forcePoll(i)},null,8,["icon","title-text","object-name","size","onConfirm"]),r(h,{table:"Library","old-row":i,inputs:l.AdminLibraryCreateUpdateInputs,label:u.updateLabel(i),"max-width":"22em",size:u.iconSize,density:"compact"},null,8,["old-row","inputs","label","size"]),i.coversOnly?I("",!0):(c(),w(M,{key:0,table:"Library",pk:i.pk,name:i.path,size:u.iconSize,density:"compact"},null,8,["pk","name","size"]))])]),_:2},1032,["headers"])}const K=C(Ae,[["render",Pe],["__scopeId","data-v-dc8b0e11"]]),xe={name:"AdminCustomCoversPanel",components:{AdminLibraryTable:K},computed:{...y(b,{coverDirItems(e){const t=[];for(const n of e.libraries)if(n.coversOnly){const a=F(n);a.label=a.coversOnly?"custom group cover":"comic",t.push(a)}return t}})}};function De(e,t,n,a,l,u){const m=p("AdminLibraryTable");return c(),w(P,null,{default:s(()=>[r(x,null,{default:s(()=>[r(A,null,{default:s(()=>t[0]||(t[0]=[o("h4",{id:"coverDirHeader"},"Custom Covers",-1)])),_:1}),r(T,null,{default:s(()=>[r(m,{items:e.coverDirItems,"disable-sort":"","covers-dir":!0},null,8,["items"]),r(P,null,{default:s(()=>[r(x,{id:"customCoversHelp"},{default:s(()=>[r(A,null,{default:s(()=>t[1]||(t[1]=[o("h4",null,"Custom Covers Help",-1)])),_:1}),r(T,null,{default:s(()=>t[2]||(t[2]=[o("p",null,"Custom covers may be added to the browser in two locations:",-1),o("h4",null,"Folders",-1),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),o("h4",null,"Custom Covers Dir",-1),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),o("h4",null,"Image Formats & Size",-1),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),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),o("h4",null,"Priority",-1),o("p",null," Custom covers supersede covers set by the user's individual browser settings. ",-1)])),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}const Ve=C(xe,[["render",De],["__scopeId","data-v-589557a2"]]),Ee={name:"AdminFailedImportsPanel",components:{DateTimeColumn:W},data(){return{mdiBookAlert:le,mdiOpenInNew:H}},computed:{...y(b,{failedImports:e=>e.failedImports,showFailedImports:e=>e.failedImports&&e.failedImports.length>0}),...se(b,["unseenFailedImports"])}},Oe={key:0},Le={class:"dateCol"},Ue={href:"https://github.com/ajslater/codex/issues/",target:"_blank"};function ze(e,t,n,a,l,u){const m=p("DateTimeColumn");return e.showFailedImports?(c(),g("div",Oe,[r(P,null,{default:s(()=>[r(x,{id:"failedImportsPanel",onClick:t[0]||(t[0]=f=>e.unseenFailedImports=!1)},{default:s(()=>[r(A,null,{default:s(()=>[o("h4",null,"Failed Imports: "+_(e.failedImports.length),1),e.unseenFailedImports?(c(),w(L,{key:0,id:"failedImportsIcon",title:"New Failed Imports"},{default:s(()=>[d(_(l.mdiBookAlert),1)]),_:1})):I("",!0)]),_:1}),r(T,null,{default:s(()=>[r(he,{class:"highlight-table"},{default:s(()=>[t[1]||(t[1]=o("thead",null,[o("tr",null,[o("th",null,"Path"),o("th",null,"Created")])],-1)),o("tbody",null,[(c(!0),g($,null,ne(e.failedImports,f=>(c(),g("tr",{key:`fi:${f.path}`},[o("td",null,_(f.path),1),o("td",Le,[r(m,{dttm:f.createdAt},null,8,["dttm"])])]))),128))])]),_:1}),r(P,null,{default:s(()=>[r(x,{id:"failedImportsHelp"},{default:s(()=>[r(A,null,{default:s(()=>t[2]||(t[2]=[o("h4",null,"Failed Imports Help",-1)])),_:1}),r(T,null,{default:s(()=>[t[8]||(t[8]=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)),t[9]||(t[9]=o("h4",null,"Fixing comics",-1)),t[10]||(t[10]=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)),t[11]||(t[11]=o("h4",null,"Reporting Issues",-1)),o("p",null,[t[4]||(t[4]=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",Ue,[t[3]||(t[3]=d("Issue Report")),r(L,{size:"small"},{default:s(()=>[d(_(l.mdiOpenInNew),1)]),_:1})]),t[5]||(t[5]=d(" and include the stack trace from the logs at ")),t[6]||(t[6]=o("code",null,"config/logs/codex.log",-1)),t[7]||(t[7]=d(" if you can. "))])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})])):I("",!0)}const Re=C(Ee,[["render",ze],["__scopeId","data-v-a5ce4ee5"]]),Se={name:"AdminLibrariesTab",components:{AdminFailedImportsPanel:Re,AdminLibraryTable:K,AdminCreateUpdateDialog:j,AdminCustomCoversPanel:Ve},data(){return{AdminLibraryCreateUpdateInputs:B(G)}},computed:{...y(b,{libraryItems(e){const t=[];if(!e.libraries)return t;for(const n of e.libraries)if(!n.coversOnly){const a=F(n);a.label=a.coversOnly?"custom group cover":"comic",t.push(a)}return t}})},mounted(){this.loadTables(["Group","Library","FailedImport"])},methods:{...k(b,["loadTables"])}},$e={class:"tabHeader"};function He(e,t,n,a,l,u){const m=p("AdminCreateUpdateDialog"),f=p("AdminLibraryTable"),v=p("AdminFailedImportsPanel"),h=p("AdminCustomCoversPanel");return c(),g("div",null,[o("header",$e,[r(m,{table:"Library",inputs:l.AdminLibraryCreateUpdateInputs},null,8,["inputs"])]),r(f,{items:e.libraryItems,"sort-by":[{key:"path",order:"asc"}]},null,8,["items"]),r(U,null,{default:s(()=>[r(v,{id:"failedImports"})]),_:1}),r(U,null,{default:s(()=>[r(h,{id:"customCovers"})]),_:1})])}const rt=C(Se,[["render",He],["__scopeId","data-v-7582b1ea"]]);export{rt as default};
|
|
Binary file
|
|
Binary file
|