codex 1.6.0a6__py3-none-any.whl → 1.6.0a7__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/exceptions.py +1 -0
- codex/librarian/importer/aggregate_metadata.py +2 -10
- codex/librarian/importer/{covers.py → cache.py} +2 -2
- codex/librarian/importer/importerd.py +5 -3
- codex/librarian/janitor/janitor.py +1 -1
- codex/librarian/librariand.py +1 -1
- codex/permissions.py +1 -1
- codex/serializers/admin.py +1 -2
- codex/serializers/browser/filters.py +8 -101
- codex/serializers/browser/mixins.py +20 -3
- codex/serializers/browser/page.py +2 -2
- codex/serializers/browser/settings.py +2 -0
- codex/serializers/fields.py +123 -0
- codex/serializers/mtime.py +25 -0
- codex/serializers/opds/v2.py +7 -11
- codex/serializers/opds/v2_unused.py +5 -3
- codex/serializers/reader.py +5 -2
- codex/serializers/route.py +7 -3
- codex/static_root/assets/VCheckbox-BOUtyxuo.c690f0cdbe48.js +1 -0
- codex/static_root/assets/VCheckbox-BOUtyxuo.c690f0cdbe48.js.br +0 -0
- codex/static_root/assets/VCheckbox-BOUtyxuo.c690f0cdbe48.js.gz +0 -0
- codex/static_root/assets/VCheckbox-BOUtyxuo.js +1 -0
- codex/static_root/assets/VCheckbox-BOUtyxuo.js.br +0 -0
- codex/static_root/assets/VCheckbox-BOUtyxuo.js.gz +0 -0
- codex/static_root/assets/VCheckboxBtn-B1-m5pEh.e2b8cbdb92c9.js +1 -0
- codex/static_root/assets/VCheckboxBtn-B1-m5pEh.e2b8cbdb92c9.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-B1-m5pEh.e2b8cbdb92c9.js.gz +0 -0
- codex/static_root/assets/VCheckboxBtn-B1-m5pEh.js +1 -0
- codex/static_root/assets/VCheckboxBtn-B1-m5pEh.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-B1-m5pEh.js.gz +0 -0
- codex/static_root/assets/VCombobox-DjkDXe33.22617ea193b1.js +1 -0
- codex/static_root/assets/VCombobox-DjkDXe33.22617ea193b1.js.br +0 -0
- codex/static_root/assets/VCombobox-DjkDXe33.22617ea193b1.js.gz +0 -0
- codex/static_root/assets/VCombobox-DjkDXe33.js +1 -0
- codex/static_root/assets/VCombobox-DjkDXe33.js.br +0 -0
- codex/static_root/assets/VCombobox-DjkDXe33.js.gz +0 -0
- codex/static_root/assets/VDialog-X0zn9AGX.0d89c749b9a6.js +1 -0
- codex/static_root/assets/VDialog-X0zn9AGX.0d89c749b9a6.js.br +0 -0
- codex/static_root/assets/VDialog-X0zn9AGX.0d89c749b9a6.js.gz +0 -0
- codex/static_root/assets/VDialog-X0zn9AGX.js +1 -0
- codex/static_root/assets/VDialog-X0zn9AGX.js.br +0 -0
- codex/static_root/assets/VDialog-X0zn9AGX.js.gz +0 -0
- codex/static_root/assets/VExpansionPanels-CRevojaF.43d65c777c58.js +1 -0
- codex/static_root/assets/VExpansionPanels-CRevojaF.43d65c777c58.js.br +0 -0
- codex/static_root/assets/VExpansionPanels-CRevojaF.43d65c777c58.js.gz +0 -0
- codex/static_root/assets/VExpansionPanels-CRevojaF.js +1 -0
- codex/static_root/assets/VExpansionPanels-CRevojaF.js.br +0 -0
- codex/static_root/assets/VExpansionPanels-CRevojaF.js.gz +0 -0
- codex/static_root/assets/VRadioGroup-8nrrxjDv.2b4dfb984a8c.js +1 -0
- codex/static_root/assets/VRadioGroup-8nrrxjDv.2b4dfb984a8c.js.br +0 -0
- codex/static_root/assets/VRadioGroup-8nrrxjDv.2b4dfb984a8c.js.gz +0 -0
- codex/static_root/assets/VRadioGroup-8nrrxjDv.js +1 -0
- codex/static_root/assets/VRadioGroup-8nrrxjDv.js.br +0 -0
- codex/static_root/assets/VRadioGroup-8nrrxjDv.js.gz +0 -0
- codex/static_root/assets/VSelect-DgfIKRnC.fa7a73a9c415.js +1 -0
- codex/static_root/assets/VSelect-DgfIKRnC.fa7a73a9c415.js.br +0 -0
- codex/static_root/assets/VSelect-DgfIKRnC.fa7a73a9c415.js.gz +0 -0
- codex/static_root/assets/VSelect-DgfIKRnC.js +1 -0
- codex/static_root/assets/VSelect-DgfIKRnC.js.br +0 -0
- codex/static_root/assets/VSelect-DgfIKRnC.js.gz +0 -0
- codex/static_root/assets/VSelectionControl-CGu0oz0K.3030b7a270d6.js +1 -0
- codex/static_root/assets/VSelectionControl-CGu0oz0K.3030b7a270d6.js.br +0 -0
- codex/static_root/assets/VSelectionControl-CGu0oz0K.3030b7a270d6.js.gz +0 -0
- codex/static_root/assets/VSelectionControl-CGu0oz0K.js +1 -0
- codex/static_root/assets/VSelectionControl-CGu0oz0K.js.br +0 -0
- codex/static_root/assets/VSelectionControl-CGu0oz0K.js.gz +0 -0
- codex/static_root/assets/VSlideGroup-D_oNvCOd.71a7101cdddd.js +1 -0
- codex/static_root/assets/VSlideGroup-D_oNvCOd.71a7101cdddd.js.br +0 -0
- codex/static_root/assets/VSlideGroup-D_oNvCOd.71a7101cdddd.js.gz +0 -0
- codex/static_root/assets/VSlideGroup-D_oNvCOd.js +1 -0
- codex/static_root/assets/VSlideGroup-D_oNvCOd.js.br +0 -0
- codex/static_root/assets/VSlideGroup-D_oNvCOd.js.gz +0 -0
- codex/static_root/assets/{VTable-C0gAriFq.fa6e4b60d4ef.js → VTable-C7pKI7gU.087912f706f5.js} +1 -1
- codex/static_root/assets/VTable-C7pKI7gU.087912f706f5.js.br +0 -0
- codex/static_root/assets/VTable-C7pKI7gU.087912f706f5.js.gz +0 -0
- codex/static_root/assets/{VTable-C0gAriFq.js → VTable-C7pKI7gU.js} +1 -1
- codex/static_root/assets/VTable-C7pKI7gU.js.br +0 -0
- codex/static_root/assets/VTable-C7pKI7gU.js.gz +0 -0
- codex/static_root/assets/{VTextField-Da_Hs7ls.c295f24c251e.js → VTextField-Bs8oq9mk.7999fef12a03.js} +1 -1
- codex/static_root/assets/VTextField-Bs8oq9mk.7999fef12a03.js.br +0 -0
- codex/static_root/assets/VTextField-Bs8oq9mk.7999fef12a03.js.gz +0 -0
- codex/static_root/assets/{VTextField-Da_Hs7ls.js → VTextField-Bs8oq9mk.js} +1 -1
- codex/static_root/assets/VTextField-Bs8oq9mk.js.br +0 -0
- codex/static_root/assets/VTextField-Bs8oq9mk.js.gz +0 -0
- codex/static_root/assets/{VWindowItem-CFhKCj49.b2458002a937.js → VWindowItem-iyZ1XOkP.409f7d292253.js} +1 -1
- codex/static_root/assets/VWindowItem-iyZ1XOkP.409f7d292253.js.br +0 -0
- codex/static_root/assets/VWindowItem-iyZ1XOkP.409f7d292253.js.gz +0 -0
- codex/static_root/assets/{VWindowItem-CFhKCj49.js → VWindowItem-iyZ1XOkP.js} +1 -1
- codex/static_root/assets/VWindowItem-iyZ1XOkP.js.br +0 -0
- codex/static_root/assets/VWindowItem-iyZ1XOkP.js.gz +0 -0
- codex/static_root/assets/admin-B0pCBjma.2407da79bd20.js +1 -0
- codex/static_root/assets/admin-B0pCBjma.2407da79bd20.js.br +0 -0
- codex/static_root/assets/admin-B0pCBjma.2407da79bd20.js.gz +0 -0
- codex/static_root/assets/admin-B0pCBjma.js +1 -0
- codex/static_root/assets/admin-B0pCBjma.js.br +0 -0
- codex/static_root/assets/admin-B0pCBjma.js.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-BxoNUHQr.5e2e1a4a255d.js +30 -0
- codex/static_root/assets/admin-drawer-panel-BxoNUHQr.5e2e1a4a255d.js.br +0 -0
- codex/static_root/assets/admin-drawer-panel-BxoNUHQr.5e2e1a4a255d.js.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-BxoNUHQr.js +30 -0
- codex/static_root/assets/admin-drawer-panel-BxoNUHQr.js.br +0 -0
- codex/static_root/assets/admin-drawer-panel-BxoNUHQr.js.gz +0 -0
- codex/static_root/assets/{admin-drawer-panel-BHdNPwzF.bd2c1d6148bb.css → admin-drawer-panel-o87BwD38.ce39427c8201.css} +1 -1
- codex/static_root/assets/admin-drawer-panel-o87BwD38.ce39427c8201.css.br +0 -0
- codex/static_root/assets/{admin-drawer-panel-BHdNPwzF.bd2c1d6148bb.css.gz → admin-drawer-panel-o87BwD38.ce39427c8201.css.gz} +0 -0
- codex/static_root/assets/{admin-drawer-panel-BHdNPwzF.css → admin-drawer-panel-o87BwD38.css} +1 -1
- codex/static_root/assets/admin-drawer-panel-o87BwD38.css.br +0 -0
- codex/static_root/assets/{admin-drawer-panel-BHdNPwzF.css.gz → admin-drawer-panel-o87BwD38.css.gz} +0 -0
- codex/static_root/assets/browser-DbyAjCNh.577a228a966b.js +1 -0
- codex/static_root/assets/browser-DbyAjCNh.577a228a966b.js.br +0 -0
- codex/static_root/assets/browser-DbyAjCNh.577a228a966b.js.gz +0 -0
- codex/static_root/assets/browser-DbyAjCNh.js +1 -0
- codex/static_root/assets/browser-DbyAjCNh.js.br +0 -0
- codex/static_root/assets/browser-DbyAjCNh.js.gz +0 -0
- codex/static_root/assets/browser-VnzNj1t3.cff861ad2ca3.css +1 -0
- codex/static_root/assets/browser-VnzNj1t3.cff861ad2ca3.css.br +0 -0
- codex/static_root/assets/browser-VnzNj1t3.cff861ad2ca3.css.gz +0 -0
- codex/static_root/assets/browser-VnzNj1t3.css +1 -0
- codex/static_root/assets/browser-VnzNj1t3.css.br +0 -0
- codex/static_root/assets/browser-VnzNj1t3.css.gz +0 -0
- codex/static_root/assets/{change-password-dialog-JYM9aAR9.f71d378f4fa6.js → change-password-dialog-DZ9dP8_F.930f4cae3cb0.js} +1 -1
- codex/static_root/assets/change-password-dialog-DZ9dP8_F.930f4cae3cb0.js.br +0 -0
- codex/static_root/assets/change-password-dialog-DZ9dP8_F.930f4cae3cb0.js.gz +0 -0
- codex/static_root/assets/{change-password-dialog-JYM9aAR9.js → change-password-dialog-DZ9dP8_F.js} +1 -1
- codex/static_root/assets/change-password-dialog-DZ9dP8_F.js.br +0 -0
- codex/static_root/assets/change-password-dialog-DZ9dP8_F.js.gz +0 -0
- codex/static_root/assets/{confirm-dialog-ZAZ6P1Rc.515858dd21e8.js → confirm-dialog-RP7JNStF.a752a7c1e697.js} +1 -1
- codex/static_root/assets/confirm-dialog-RP7JNStF.a752a7c1e697.js.br +0 -0
- codex/static_root/assets/confirm-dialog-RP7JNStF.a752a7c1e697.js.gz +0 -0
- codex/static_root/assets/{confirm-dialog-ZAZ6P1Rc.js → confirm-dialog-RP7JNStF.js} +1 -1
- codex/static_root/assets/confirm-dialog-RP7JNStF.js.br +0 -0
- codex/static_root/assets/confirm-dialog-RP7JNStF.js.gz +0 -0
- codex/static_root/assets/copy-to-clipboard-DoUvDJVx.bec27f144aca.js +1 -0
- codex/static_root/assets/copy-to-clipboard-DoUvDJVx.bec27f144aca.js.br +0 -0
- codex/static_root/assets/copy-to-clipboard-DoUvDJVx.js +1 -0
- codex/static_root/assets/copy-to-clipboard-DoUvDJVx.js.br +0 -0
- codex/static_root/assets/{datetime-column-BT1MSP82.9617f6b94ebf.js → datetime-column-Cu3WYyPj.54b4c3817b74.js} +1 -1
- codex/static_root/assets/datetime-column-Cu3WYyPj.54b4c3817b74.js.br +0 -0
- codex/static_root/assets/datetime-column-Cu3WYyPj.54b4c3817b74.js.gz +0 -0
- codex/static_root/assets/{datetime-column-BT1MSP82.js → datetime-column-Cu3WYyPj.js} +1 -1
- codex/static_root/assets/datetime-column-Cu3WYyPj.js.br +0 -0
- codex/static_root/assets/datetime-column-Cu3WYyPj.js.gz +0 -0
- codex/static_root/assets/filter-DAdGUt-1.3261cbcd50b5.js +1 -0
- codex/static_root/assets/filter-DAdGUt-1.3261cbcd50b5.js.br +0 -0
- codex/static_root/assets/filter-DAdGUt-1.3261cbcd50b5.js.gz +0 -0
- codex/static_root/assets/filter-DAdGUt-1.js +1 -0
- codex/static_root/assets/filter-DAdGUt-1.js.br +0 -0
- codex/static_root/assets/filter-DAdGUt-1.js.gz +0 -0
- codex/static_root/assets/flag-tab-BP7Zs7iQ.cb16ef6363d4.js +1 -0
- codex/static_root/assets/flag-tab-BP7Zs7iQ.cb16ef6363d4.js.br +0 -0
- codex/static_root/assets/flag-tab-BP7Zs7iQ.cb16ef6363d4.js.gz +0 -0
- codex/static_root/assets/flag-tab-BP7Zs7iQ.js +1 -0
- codex/static_root/assets/flag-tab-BP7Zs7iQ.js.br +0 -0
- codex/static_root/assets/flag-tab-BP7Zs7iQ.js.gz +0 -0
- codex/static_root/assets/{group-tab-DFma2R-E.879c37b15bbd.js → group-tab-DEwh4jfB.a95097b5e320.js} +1 -1
- codex/static_root/assets/group-tab-DEwh4jfB.a95097b5e320.js.br +0 -0
- codex/static_root/assets/group-tab-DEwh4jfB.a95097b5e320.js.gz +0 -0
- codex/static_root/assets/{group-tab-DFma2R-E.js → group-tab-DEwh4jfB.js} +1 -1
- codex/static_root/assets/group-tab-DEwh4jfB.js.br +0 -0
- codex/static_root/assets/group-tab-DEwh4jfB.js.gz +0 -0
- codex/static_root/assets/http-error-xs3mIL8U.e143c472a96c.js +1 -0
- codex/static_root/assets/http-error-xs3mIL8U.e143c472a96c.js.br +0 -0
- codex/static_root/assets/http-error-xs3mIL8U.e143c472a96c.js.gz +0 -0
- codex/static_root/assets/http-error-xs3mIL8U.js +1 -0
- codex/static_root/assets/http-error-xs3mIL8U.js.br +0 -0
- codex/static_root/assets/http-error-xs3mIL8U.js.gz +0 -0
- codex/static_root/assets/{library-tab-V8DUGoHN.809c548ff347.js → library-tab-DrXvD9B2.f765f9d3bae4.js} +1 -1
- codex/static_root/assets/library-tab-DrXvD9B2.f765f9d3bae4.js.br +0 -0
- codex/static_root/assets/library-tab-DrXvD9B2.f765f9d3bae4.js.gz +0 -0
- codex/static_root/assets/{library-tab-V8DUGoHN.js → library-tab-DrXvD9B2.js} +1 -1
- codex/static_root/assets/library-tab-DrXvD9B2.js.br +0 -0
- codex/static_root/assets/library-tab-DrXvD9B2.js.gz +0 -0
- codex/static_root/assets/main-Dy9Uqpmh.2f99b1914b3e.js +32 -0
- codex/static_root/assets/main-Dy9Uqpmh.2f99b1914b3e.js.br +0 -0
- codex/static_root/assets/main-Dy9Uqpmh.2f99b1914b3e.js.gz +0 -0
- codex/static_root/assets/main-Dy9Uqpmh.js +32 -0
- codex/static_root/assets/main-Dy9Uqpmh.js.br +0 -0
- codex/static_root/assets/main-Dy9Uqpmh.js.gz +0 -0
- codex/static_root/assets/{main-sK7HC5h4.css → main-Ztp855PW.css} +1 -1
- codex/static_root/assets/main-Ztp855PW.css.br +0 -0
- codex/static_root/assets/{main-sK7HC5h4.css.gz → main-Ztp855PW.css.gz} +0 -0
- codex/static_root/assets/{main-sK7HC5h4.6f04ddfc5f1a.css → main-Ztp855PW.d46d718fac45.css} +1 -1
- codex/static_root/assets/main-Ztp855PW.d46d718fac45.css.br +0 -0
- codex/static_root/assets/{main-sK7HC5h4.6f04ddfc5f1a.css.gz → main-Ztp855PW.d46d718fac45.css.gz} +0 -0
- codex/static_root/assets/pagination-toolbar-DbS_HOT1.81222ab51ef4.js +1 -0
- codex/static_root/assets/pagination-toolbar-DbS_HOT1.81222ab51ef4.js.br +0 -0
- codex/static_root/assets/pagination-toolbar-DbS_HOT1.81222ab51ef4.js.gz +0 -0
- codex/static_root/assets/pagination-toolbar-DbS_HOT1.js +1 -0
- codex/static_root/assets/pagination-toolbar-DbS_HOT1.js.br +0 -0
- codex/static_root/assets/pagination-toolbar-DbS_HOT1.js.gz +0 -0
- codex/static_root/assets/{pagination-toolbar-ClZui9Zf.697d7ae11c21.css → pagination-toolbar-r6nbtWxg.4088ab042c0c.css} +1 -1
- codex/static_root/assets/pagination-toolbar-r6nbtWxg.4088ab042c0c.css.br +0 -0
- codex/static_root/assets/pagination-toolbar-r6nbtWxg.4088ab042c0c.css.gz +0 -0
- codex/static_root/assets/{pagination-toolbar-ClZui9Zf.css → pagination-toolbar-r6nbtWxg.css} +1 -1
- codex/static_root/assets/pagination-toolbar-r6nbtWxg.css.br +0 -0
- codex/static_root/assets/pagination-toolbar-r6nbtWxg.css.gz +0 -0
- codex/static_root/assets/pdf-doc-obrBwxa6.ec9bd13a5786.js +305 -0
- codex/static_root/assets/pdf-doc-obrBwxa6.ec9bd13a5786.js.br +0 -0
- codex/static_root/assets/pdf-doc-obrBwxa6.ec9bd13a5786.js.gz +0 -0
- codex/static_root/assets/pdf-doc-obrBwxa6.js +305 -0
- codex/static_root/assets/pdf-doc-obrBwxa6.js.br +0 -0
- codex/static_root/assets/pdf-doc-obrBwxa6.js.gz +0 -0
- codex/static_root/assets/reader-BXKUaUeC.953d30b969ef.js +2 -0
- codex/static_root/assets/reader-BXKUaUeC.953d30b969ef.js.br +0 -0
- codex/static_root/assets/reader-BXKUaUeC.953d30b969ef.js.gz +0 -0
- codex/static_root/assets/reader-BXKUaUeC.js +2 -0
- codex/static_root/assets/reader-BXKUaUeC.js.br +0 -0
- codex/static_root/assets/reader-BXKUaUeC.js.gz +0 -0
- codex/static_root/assets/{reader-N2Ei_y2K.8c0cdc0d513f.css → reader-OXJ1KVaW.a463b19d0508.css} +1 -1
- codex/static_root/assets/reader-OXJ1KVaW.a463b19d0508.css.br +0 -0
- codex/static_root/assets/reader-OXJ1KVaW.a463b19d0508.css.gz +0 -0
- codex/static_root/assets/{reader-N2Ei_y2K.css → reader-OXJ1KVaW.css} +1 -1
- codex/static_root/assets/reader-OXJ1KVaW.css.br +0 -0
- codex/static_root/assets/reader-OXJ1KVaW.css.gz +0 -0
- codex/static_root/assets/relation-chips-CZJcLjc8.1d7426dab654.js +1 -0
- codex/static_root/assets/relation-chips-CZJcLjc8.1d7426dab654.js.br +0 -0
- codex/static_root/assets/relation-chips-CZJcLjc8.1d7426dab654.js.gz +0 -0
- codex/static_root/assets/relation-chips-CZJcLjc8.js +1 -0
- codex/static_root/assets/relation-chips-CZJcLjc8.js.br +0 -0
- codex/static_root/assets/relation-chips-CZJcLjc8.js.gz +0 -0
- codex/static_root/assets/settings-drawer-7iTnAdjf.337eecf2fdbb.js +2 -0
- codex/static_root/assets/settings-drawer-7iTnAdjf.337eecf2fdbb.js.br +0 -0
- codex/static_root/assets/settings-drawer-7iTnAdjf.337eecf2fdbb.js.gz +0 -0
- codex/static_root/assets/settings-drawer-7iTnAdjf.js +2 -0
- codex/static_root/assets/settings-drawer-7iTnAdjf.js.br +0 -0
- codex/static_root/assets/settings-drawer-7iTnAdjf.js.gz +0 -0
- codex/static_root/assets/stats-tab-CQsK1n8O.544bf50ffb22.js +1 -0
- codex/static_root/assets/stats-tab-CQsK1n8O.544bf50ffb22.js.br +0 -0
- codex/static_root/assets/stats-tab-CQsK1n8O.544bf50ffb22.js.gz +0 -0
- codex/static_root/assets/stats-tab-CQsK1n8O.js +1 -0
- codex/static_root/assets/stats-tab-CQsK1n8O.js.br +0 -0
- codex/static_root/assets/stats-tab-CQsK1n8O.js.gz +0 -0
- codex/static_root/assets/task-tab-C60TLP6e.63aa929a4ed6.js +1 -0
- codex/static_root/assets/task-tab-C60TLP6e.63aa929a4ed6.js.br +0 -0
- codex/static_root/assets/task-tab-C60TLP6e.63aa929a4ed6.js.gz +0 -0
- codex/static_root/assets/task-tab-C60TLP6e.js +1 -0
- codex/static_root/assets/task-tab-C60TLP6e.js.br +0 -0
- codex/static_root/assets/task-tab-C60TLP6e.js.gz +0 -0
- codex/static_root/assets/to-case-CR9beRR0.21bb805fdab4.js +1 -0
- codex/static_root/assets/to-case-CR9beRR0.js +1 -0
- codex/static_root/assets/unauthorized-Bs7NSqea.c55650fac055.js +1 -0
- codex/static_root/assets/unauthorized-Bs7NSqea.c55650fac055.js.br +0 -0
- codex/static_root/assets/unauthorized-Bs7NSqea.c55650fac055.js.gz +0 -0
- codex/static_root/assets/unauthorized-Bs7NSqea.js +1 -0
- codex/static_root/assets/unauthorized-Bs7NSqea.js.br +0 -0
- codex/static_root/assets/unauthorized-Bs7NSqea.js.gz +0 -0
- codex/static_root/assets/user-tab-ChuH7Atm.7e80cf1fb78e.js +1 -0
- codex/static_root/assets/user-tab-ChuH7Atm.7e80cf1fb78e.js.br +0 -0
- codex/static_root/assets/user-tab-ChuH7Atm.7e80cf1fb78e.js.gz +0 -0
- codex/static_root/assets/user-tab-ChuH7Atm.js +1 -0
- codex/static_root/assets/user-tab-ChuH7Atm.js.br +0 -0
- codex/static_root/assets/user-tab-ChuH7Atm.js.gz +0 -0
- codex/static_root/js/choices.079a01e0be1a.json +1 -0
- codex/static_root/js/choices.079a01e0be1a.json.br +0 -0
- codex/static_root/js/choices.079a01e0be1a.json.gz +0 -0
- codex/static_root/js/choices.json +1 -1
- codex/static_root/js/choices.json.br +0 -0
- codex/static_root/js/choices.json.gz +0 -0
- codex/static_root/manifest.dad79c8475ae.json +629 -0
- codex/static_root/manifest.dad79c8475ae.json.br +0 -0
- codex/static_root/manifest.dad79c8475ae.json.gz +0 -0
- codex/static_root/manifest.json +263 -276
- codex/static_root/manifest.json.br +0 -0
- codex/static_root/manifest.json.gz +0 -0
- codex/static_root/staticfiles.json +1 -1
- codex/urls/api/auth.py +2 -1
- codex/urls/api/browser.py +2 -2
- codex/urls/api/reader.py +2 -2
- codex/urls/api/v3.py +2 -0
- codex/util.py +10 -0
- codex/views/admin/api_key.py +2 -6
- codex/views/admin/auth.py +30 -0
- codex/views/admin/flag.py +2 -7
- codex/views/admin/group.py +2 -6
- codex/views/admin/library.py +7 -20
- codex/views/admin/stats.py +7 -66
- codex/views/admin/tasks.py +12 -11
- codex/views/admin/user.py +3 -9
- codex/views/auth.py +31 -52
- codex/views/bookmark.py +7 -11
- codex/views/browser/{browser_annotations.py → annotations.py} +91 -61
- codex/views/browser/base.py +23 -71
- codex/views/browser/breadcrumbs.py +200 -0
- codex/views/browser/browser.py +64 -337
- codex/views/browser/choices.py +25 -33
- codex/views/browser/filters/annotations.py +2 -2
- codex/views/browser/filters/bookmark.py +9 -13
- codex/views/browser/filters/field.py +6 -5
- codex/views/browser/filters/group.py +8 -5
- codex/views/browser/filters/search.py +11 -8
- codex/views/browser/metadata.py +3 -7
- codex/views/browser/{browser_order_by.py → order_by.py} +2 -6
- codex/views/browser/paginate.py +106 -0
- codex/views/browser/{session.py → settings.py} +4 -3
- codex/views/browser/title.py +48 -0
- codex/views/browser/validate.py +158 -0
- codex/views/const.py +97 -0
- codex/views/cover.py +4 -6
- codex/views/download.py +5 -8
- codex/views/frontend.py +4 -2
- codex/views/mtime.py +70 -0
- codex/views/opds/auth.py +17 -0
- codex/views/opds/authentication_v1.py +46 -45
- codex/views/opds/binary.py +4 -9
- codex/views/opds/const.py +13 -0
- codex/views/opds/urls.py +5 -4
- codex/views/opds/util.py +2 -8
- codex/views/opds/v1/facets.py +6 -7
- codex/views/opds/v1/feed.py +10 -17
- codex/views/opds/v1/links.py +6 -5
- codex/views/opds/v1/opensearch_v1.py +2 -6
- codex/views/opds/v2/feed.py +12 -15
- codex/views/opds/v2/links.py +3 -2
- codex/views/opds/v2/publications.py +21 -20
- codex/views/opds/v2/top_links.py +2 -2
- codex/views/public.py +38 -0
- codex/views/reader/arcs.py +101 -0
- codex/views/reader/books.py +199 -0
- codex/views/reader/page.py +3 -7
- codex/views/reader/reader.py +53 -298
- codex/views/reader/{session.py → settings.py} +4 -2
- codex/views/session.py +74 -102
- codex/views/settings.py +34 -0
- codex/views/template.py +3 -3
- codex/views/util.py +31 -0
- codex/views/utils.py +26 -0
- codex/views/version.py +2 -2
- {codex-1.6.0a6.dist-info → codex-1.6.0a7.dist-info}/METADATA +12 -8
- {codex-1.6.0a6.dist-info → codex-1.6.0a7.dist-info}/RECORD +332 -320
- codex/static_root/assets/VCheckbox-BS5fdM4M.a5d446e4aeb3.js +0 -1
- codex/static_root/assets/VCheckbox-BS5fdM4M.a5d446e4aeb3.js.br +0 -0
- codex/static_root/assets/VCheckbox-BS5fdM4M.a5d446e4aeb3.js.gz +0 -0
- codex/static_root/assets/VCheckbox-BS5fdM4M.js +0 -1
- codex/static_root/assets/VCheckbox-BS5fdM4M.js.br +0 -0
- codex/static_root/assets/VCheckbox-BS5fdM4M.js.gz +0 -0
- codex/static_root/assets/VCheckboxBtn-m4IbdjEe.f0c4a814ded8.js +0 -1
- codex/static_root/assets/VCheckboxBtn-m4IbdjEe.f0c4a814ded8.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-m4IbdjEe.f0c4a814ded8.js.gz +0 -0
- codex/static_root/assets/VCheckboxBtn-m4IbdjEe.js +0 -1
- codex/static_root/assets/VCheckboxBtn-m4IbdjEe.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-m4IbdjEe.js.gz +0 -0
- codex/static_root/assets/VCombobox-jg7SI5mn.af66f18b4c54.js +0 -1
- codex/static_root/assets/VCombobox-jg7SI5mn.af66f18b4c54.js.br +0 -0
- codex/static_root/assets/VCombobox-jg7SI5mn.af66f18b4c54.js.gz +0 -0
- codex/static_root/assets/VCombobox-jg7SI5mn.js +0 -1
- codex/static_root/assets/VCombobox-jg7SI5mn.js.br +0 -0
- codex/static_root/assets/VCombobox-jg7SI5mn.js.gz +0 -0
- codex/static_root/assets/VDialog-DiixpkQL.f84fd1fd1f84.js +0 -1
- codex/static_root/assets/VDialog-DiixpkQL.f84fd1fd1f84.js.br +0 -0
- codex/static_root/assets/VDialog-DiixpkQL.f84fd1fd1f84.js.gz +0 -0
- codex/static_root/assets/VDialog-DiixpkQL.js +0 -1
- codex/static_root/assets/VDialog-DiixpkQL.js.br +0 -0
- codex/static_root/assets/VDialog-DiixpkQL.js.gz +0 -0
- codex/static_root/assets/VExpansionPanels-Db5mPFue.56d0ad094a62.js +0 -1
- codex/static_root/assets/VExpansionPanels-Db5mPFue.56d0ad094a62.js.br +0 -0
- codex/static_root/assets/VExpansionPanels-Db5mPFue.56d0ad094a62.js.gz +0 -0
- codex/static_root/assets/VExpansionPanels-Db5mPFue.js +0 -1
- codex/static_root/assets/VExpansionPanels-Db5mPFue.js.br +0 -0
- codex/static_root/assets/VExpansionPanels-Db5mPFue.js.gz +0 -0
- codex/static_root/assets/VRadioGroup-DULWiMSI.4ae535e01d2b.js +0 -1
- codex/static_root/assets/VRadioGroup-DULWiMSI.4ae535e01d2b.js.br +0 -0
- codex/static_root/assets/VRadioGroup-DULWiMSI.4ae535e01d2b.js.gz +0 -0
- codex/static_root/assets/VRadioGroup-DULWiMSI.js +0 -1
- codex/static_root/assets/VRadioGroup-DULWiMSI.js.br +0 -0
- codex/static_root/assets/VRadioGroup-DULWiMSI.js.gz +0 -0
- codex/static_root/assets/VSelect-BnoCfCLY.4d50fd11c77c.js +0 -1
- codex/static_root/assets/VSelect-BnoCfCLY.4d50fd11c77c.js.br +0 -0
- codex/static_root/assets/VSelect-BnoCfCLY.4d50fd11c77c.js.gz +0 -0
- codex/static_root/assets/VSelect-BnoCfCLY.js +0 -1
- codex/static_root/assets/VSelect-BnoCfCLY.js.br +0 -0
- codex/static_root/assets/VSelect-BnoCfCLY.js.gz +0 -0
- codex/static_root/assets/VSelectionControl-BSL0qeL9.5b5835d286df.js +0 -1
- codex/static_root/assets/VSelectionControl-BSL0qeL9.5b5835d286df.js.br +0 -0
- codex/static_root/assets/VSelectionControl-BSL0qeL9.5b5835d286df.js.gz +0 -0
- codex/static_root/assets/VSelectionControl-BSL0qeL9.js +0 -1
- codex/static_root/assets/VSelectionControl-BSL0qeL9.js.br +0 -0
- codex/static_root/assets/VSelectionControl-BSL0qeL9.js.gz +0 -0
- codex/static_root/assets/VSlideGroup-BQtz8h9p.ff97dbf209e1.js +0 -1
- codex/static_root/assets/VSlideGroup-BQtz8h9p.ff97dbf209e1.js.br +0 -0
- codex/static_root/assets/VSlideGroup-BQtz8h9p.ff97dbf209e1.js.gz +0 -0
- codex/static_root/assets/VSlideGroup-BQtz8h9p.js +0 -1
- codex/static_root/assets/VSlideGroup-BQtz8h9p.js.br +0 -0
- codex/static_root/assets/VSlideGroup-BQtz8h9p.js.gz +0 -0
- codex/static_root/assets/VTable-C0gAriFq.fa6e4b60d4ef.js.br +0 -0
- codex/static_root/assets/VTable-C0gAriFq.fa6e4b60d4ef.js.gz +0 -0
- codex/static_root/assets/VTable-C0gAriFq.js.br +0 -0
- codex/static_root/assets/VTable-C0gAriFq.js.gz +0 -0
- codex/static_root/assets/VTextField-Da_Hs7ls.c295f24c251e.js.br +0 -0
- codex/static_root/assets/VTextField-Da_Hs7ls.c295f24c251e.js.gz +0 -0
- codex/static_root/assets/VTextField-Da_Hs7ls.js.br +0 -0
- codex/static_root/assets/VTextField-Da_Hs7ls.js.gz +0 -0
- codex/static_root/assets/VWindowItem-CFhKCj49.b2458002a937.js.br +0 -0
- codex/static_root/assets/VWindowItem-CFhKCj49.b2458002a937.js.gz +0 -0
- codex/static_root/assets/VWindowItem-CFhKCj49.js.br +0 -0
- codex/static_root/assets/VWindowItem-CFhKCj49.js.gz +0 -0
- codex/static_root/assets/admin-BpGFsvOH.d7193c78d0dd.js +0 -1
- codex/static_root/assets/admin-BpGFsvOH.d7193c78d0dd.js.br +0 -0
- codex/static_root/assets/admin-BpGFsvOH.d7193c78d0dd.js.gz +0 -0
- codex/static_root/assets/admin-BpGFsvOH.js +0 -1
- codex/static_root/assets/admin-BpGFsvOH.js.br +0 -0
- codex/static_root/assets/admin-BpGFsvOH.js.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-BHdNPwzF.bd2c1d6148bb.css.br +0 -0
- codex/static_root/assets/admin-drawer-panel-BHdNPwzF.css.br +0 -0
- codex/static_root/assets/admin-drawer-panel-C34Ze3-5.113c50cdf2cc.js +0 -30
- codex/static_root/assets/admin-drawer-panel-C34Ze3-5.113c50cdf2cc.js.br +0 -0
- codex/static_root/assets/admin-drawer-panel-C34Ze3-5.113c50cdf2cc.js.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-C34Ze3-5.js +0 -30
- codex/static_root/assets/admin-drawer-panel-C34Ze3-5.js.br +0 -0
- codex/static_root/assets/admin-drawer-panel-C34Ze3-5.js.gz +0 -0
- codex/static_root/assets/browser-CRPvEdqv.f355a71f4380.js +0 -1
- codex/static_root/assets/browser-CRPvEdqv.f355a71f4380.js.br +0 -0
- codex/static_root/assets/browser-CRPvEdqv.f355a71f4380.js.gz +0 -0
- codex/static_root/assets/browser-CRPvEdqv.js +0 -1
- codex/static_root/assets/browser-CRPvEdqv.js.br +0 -0
- codex/static_root/assets/browser-CRPvEdqv.js.gz +0 -0
- codex/static_root/assets/browser-Zqc9cR6T.b7d6ddeff130.css +0 -1
- codex/static_root/assets/browser-Zqc9cR6T.b7d6ddeff130.css.br +0 -0
- codex/static_root/assets/browser-Zqc9cR6T.b7d6ddeff130.css.gz +0 -0
- codex/static_root/assets/browser-Zqc9cR6T.css +0 -1
- codex/static_root/assets/browser-Zqc9cR6T.css.br +0 -0
- codex/static_root/assets/browser-Zqc9cR6T.css.gz +0 -0
- codex/static_root/assets/change-password-dialog-JYM9aAR9.f71d378f4fa6.js.br +0 -0
- codex/static_root/assets/change-password-dialog-JYM9aAR9.f71d378f4fa6.js.gz +0 -0
- codex/static_root/assets/change-password-dialog-JYM9aAR9.js.br +0 -0
- codex/static_root/assets/change-password-dialog-JYM9aAR9.js.gz +0 -0
- codex/static_root/assets/confirm-dialog-ZAZ6P1Rc.515858dd21e8.js.br +0 -0
- codex/static_root/assets/confirm-dialog-ZAZ6P1Rc.515858dd21e8.js.gz +0 -0
- codex/static_root/assets/confirm-dialog-ZAZ6P1Rc.js.br +0 -0
- codex/static_root/assets/confirm-dialog-ZAZ6P1Rc.js.gz +0 -0
- codex/static_root/assets/datetime-column-BT1MSP82.9617f6b94ebf.js.br +0 -0
- codex/static_root/assets/datetime-column-BT1MSP82.9617f6b94ebf.js.gz +0 -0
- codex/static_root/assets/datetime-column-BT1MSP82.js.br +0 -0
- codex/static_root/assets/datetime-column-BT1MSP82.js.gz +0 -0
- codex/static_root/assets/filter-frSNsexx.eab1570bd32d.js +0 -1
- codex/static_root/assets/filter-frSNsexx.eab1570bd32d.js.br +0 -0
- codex/static_root/assets/filter-frSNsexx.eab1570bd32d.js.gz +0 -0
- codex/static_root/assets/filter-frSNsexx.js +0 -1
- codex/static_root/assets/filter-frSNsexx.js.br +0 -0
- codex/static_root/assets/filter-frSNsexx.js.gz +0 -0
- codex/static_root/assets/flag-tab-Ci_XcDT0.a5ea640a08d6.js +0 -1
- codex/static_root/assets/flag-tab-Ci_XcDT0.a5ea640a08d6.js.br +0 -0
- codex/static_root/assets/flag-tab-Ci_XcDT0.a5ea640a08d6.js.gz +0 -0
- codex/static_root/assets/flag-tab-Ci_XcDT0.js +0 -1
- codex/static_root/assets/flag-tab-Ci_XcDT0.js.br +0 -0
- codex/static_root/assets/flag-tab-Ci_XcDT0.js.gz +0 -0
- codex/static_root/assets/group-tab-DFma2R-E.879c37b15bbd.js.br +0 -0
- codex/static_root/assets/group-tab-DFma2R-E.879c37b15bbd.js.gz +0 -0
- codex/static_root/assets/group-tab-DFma2R-E.js.br +0 -0
- codex/static_root/assets/group-tab-DFma2R-E.js.gz +0 -0
- codex/static_root/assets/http-error-B3fQGxpt.9efc29496e30.js +0 -1
- codex/static_root/assets/http-error-B3fQGxpt.9efc29496e30.js.br +0 -0
- codex/static_root/assets/http-error-B3fQGxpt.9efc29496e30.js.gz +0 -0
- codex/static_root/assets/http-error-B3fQGxpt.js +0 -1
- codex/static_root/assets/http-error-B3fQGxpt.js.br +0 -0
- codex/static_root/assets/http-error-B3fQGxpt.js.gz +0 -0
- codex/static_root/assets/index-DUjeNg4x.36d50c91b2c1.js +0 -1
- codex/static_root/assets/index-DUjeNg4x.36d50c91b2c1.js.br +0 -0
- codex/static_root/assets/index-DUjeNg4x.36d50c91b2c1.js.gz +0 -0
- codex/static_root/assets/index-DUjeNg4x.js +0 -1
- codex/static_root/assets/index-DUjeNg4x.js.br +0 -0
- codex/static_root/assets/index-DUjeNg4x.js.gz +0 -0
- codex/static_root/assets/library-tab-V8DUGoHN.809c548ff347.js.br +0 -0
- codex/static_root/assets/library-tab-V8DUGoHN.809c548ff347.js.gz +0 -0
- codex/static_root/assets/library-tab-V8DUGoHN.js.br +0 -0
- codex/static_root/assets/library-tab-V8DUGoHN.js.gz +0 -0
- codex/static_root/assets/main-Cavvqkyp.a9c4df906406.js +0 -32
- codex/static_root/assets/main-Cavvqkyp.a9c4df906406.js.br +0 -0
- codex/static_root/assets/main-Cavvqkyp.a9c4df906406.js.gz +0 -0
- codex/static_root/assets/main-Cavvqkyp.js +0 -32
- codex/static_root/assets/main-Cavvqkyp.js.br +0 -0
- codex/static_root/assets/main-Cavvqkyp.js.gz +0 -0
- codex/static_root/assets/main-sK7HC5h4.6f04ddfc5f1a.css.br +0 -0
- codex/static_root/assets/main-sK7HC5h4.css.br +0 -0
- codex/static_root/assets/pagination-toolbar-ClZui9Zf.697d7ae11c21.css.br +0 -0
- codex/static_root/assets/pagination-toolbar-ClZui9Zf.697d7ae11c21.css.gz +0 -0
- codex/static_root/assets/pagination-toolbar-ClZui9Zf.css.br +0 -0
- codex/static_root/assets/pagination-toolbar-ClZui9Zf.css.gz +0 -0
- codex/static_root/assets/pagination-toolbar-Dg9tH1Ju.b2eb1e0c6985.js +0 -1
- codex/static_root/assets/pagination-toolbar-Dg9tH1Ju.b2eb1e0c6985.js.br +0 -0
- codex/static_root/assets/pagination-toolbar-Dg9tH1Ju.b2eb1e0c6985.js.gz +0 -0
- codex/static_root/assets/pagination-toolbar-Dg9tH1Ju.js +0 -1
- codex/static_root/assets/pagination-toolbar-Dg9tH1Ju.js.br +0 -0
- codex/static_root/assets/pagination-toolbar-Dg9tH1Ju.js.gz +0 -0
- codex/static_root/assets/pdf-doc-4PKLN-Z3.62d8de4d1fd8.js +0 -35
- codex/static_root/assets/pdf-doc-4PKLN-Z3.62d8de4d1fd8.js.br +0 -0
- codex/static_root/assets/pdf-doc-4PKLN-Z3.62d8de4d1fd8.js.gz +0 -0
- codex/static_root/assets/pdf-doc-4PKLN-Z3.js +0 -35
- codex/static_root/assets/pdf-doc-4PKLN-Z3.js.br +0 -0
- codex/static_root/assets/pdf-doc-4PKLN-Z3.js.gz +0 -0
- codex/static_root/assets/reader-C39uGGxn.67b0f324cd5e.js +0 -2
- codex/static_root/assets/reader-C39uGGxn.67b0f324cd5e.js.br +0 -0
- codex/static_root/assets/reader-C39uGGxn.67b0f324cd5e.js.gz +0 -0
- codex/static_root/assets/reader-C39uGGxn.js +0 -2
- codex/static_root/assets/reader-C39uGGxn.js.br +0 -0
- codex/static_root/assets/reader-C39uGGxn.js.gz +0 -0
- codex/static_root/assets/reader-N2Ei_y2K.8c0cdc0d513f.css.br +0 -0
- codex/static_root/assets/reader-N2Ei_y2K.8c0cdc0d513f.css.gz +0 -0
- codex/static_root/assets/reader-N2Ei_y2K.css.br +0 -0
- codex/static_root/assets/reader-N2Ei_y2K.css.gz +0 -0
- codex/static_root/assets/relation-chips-CAC5ytqH.f205d920ffea.js +0 -1
- codex/static_root/assets/relation-chips-CAC5ytqH.f205d920ffea.js.br +0 -0
- codex/static_root/assets/relation-chips-CAC5ytqH.f205d920ffea.js.gz +0 -0
- codex/static_root/assets/relation-chips-CAC5ytqH.js +0 -1
- codex/static_root/assets/relation-chips-CAC5ytqH.js.br +0 -0
- codex/static_root/assets/relation-chips-CAC5ytqH.js.gz +0 -0
- codex/static_root/assets/settings-drawer-CT73ieiV.fac6f69e86ff.js +0 -2
- codex/static_root/assets/settings-drawer-CT73ieiV.fac6f69e86ff.js.br +0 -0
- codex/static_root/assets/settings-drawer-CT73ieiV.fac6f69e86ff.js.gz +0 -0
- codex/static_root/assets/settings-drawer-CT73ieiV.js +0 -2
- codex/static_root/assets/settings-drawer-CT73ieiV.js.br +0 -0
- codex/static_root/assets/settings-drawer-CT73ieiV.js.gz +0 -0
- codex/static_root/assets/stats-tab-C6qAnV6-.f08c46b5f141.js +0 -1
- codex/static_root/assets/stats-tab-C6qAnV6-.f08c46b5f141.js.br +0 -0
- codex/static_root/assets/stats-tab-C6qAnV6-.f08c46b5f141.js.gz +0 -0
- codex/static_root/assets/stats-tab-C6qAnV6-.js +0 -1
- codex/static_root/assets/stats-tab-C6qAnV6-.js.br +0 -0
- codex/static_root/assets/stats-tab-C6qAnV6-.js.gz +0 -0
- codex/static_root/assets/task-tab-JcG2vvgt.eed6e03db487.js +0 -1
- codex/static_root/assets/task-tab-JcG2vvgt.eed6e03db487.js.br +0 -0
- codex/static_root/assets/task-tab-JcG2vvgt.eed6e03db487.js.gz +0 -0
- codex/static_root/assets/task-tab-JcG2vvgt.js +0 -1
- codex/static_root/assets/task-tab-JcG2vvgt.js.br +0 -0
- codex/static_root/assets/task-tab-JcG2vvgt.js.gz +0 -0
- codex/static_root/assets/to-case-kUm8NPpW.5b3369f511b8.js +0 -1
- codex/static_root/assets/to-case-kUm8NPpW.js +0 -1
- codex/static_root/assets/unauthorized-28bmiwAU.c74825b5c16f.js +0 -1
- codex/static_root/assets/unauthorized-28bmiwAU.c74825b5c16f.js.br +0 -0
- codex/static_root/assets/unauthorized-28bmiwAU.c74825b5c16f.js.gz +0 -0
- codex/static_root/assets/unauthorized-28bmiwAU.js +0 -1
- codex/static_root/assets/unauthorized-28bmiwAU.js.br +0 -0
- codex/static_root/assets/unauthorized-28bmiwAU.js.gz +0 -0
- codex/static_root/assets/user-tab-BOq4BMMc.b64ac15dd772.js +0 -1
- codex/static_root/assets/user-tab-BOq4BMMc.b64ac15dd772.js.br +0 -0
- codex/static_root/assets/user-tab-BOq4BMMc.b64ac15dd772.js.gz +0 -0
- codex/static_root/assets/user-tab-BOq4BMMc.js +0 -1
- codex/static_root/assets/user-tab-BOq4BMMc.js.br +0 -0
- codex/static_root/assets/user-tab-BOq4BMMc.js.gz +0 -0
- codex/static_root/js/choices.23fedac2b9ba.json +0 -1
- codex/static_root/js/choices.23fedac2b9ba.json.br +0 -0
- codex/static_root/js/choices.23fedac2b9ba.json.gz +0 -0
- codex/static_root/manifest.ad9da9714e46.json +0 -642
- codex/static_root/manifest.ad9da9714e46.json.br +0 -0
- codex/static_root/manifest.ad9da9714e46.json.gz +0 -0
- codex/views/browser/browser_breadcrumbs.py +0 -175
- codex/views/browser/const.py +0 -3
- {codex-1.6.0a6.dist-info → codex-1.6.0a7.dist-info}/LICENSE +0 -0
- {codex-1.6.0a6.dist-info → codex-1.6.0a7.dist-info}/WHEEL +0 -0
- {codex-1.6.0a6.dist-info → codex-1.6.0a7.dist-info}/entry_points.txt +0 -0
codex/static_root/assets/{VTextField-Da_Hs7ls.c295f24c251e.js → VTextField-Bs8oq9mk.7999fef12a03.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{N as me,k as te,O as be,_ as ye,Q as ge,R as A,aA as D,aN as Ce,M,aB as xe,ai as le,L as t,x as N,E as z,G as O,r as T,K as q,aZ as he,bk as ke,h as m,b0 as H,b3 as oe,b2 as Ve,ba as Y,cV as Z,cT as _e,bb as Fe,F as Ie,I as Pe,cq as Se,bc as Be,J as we,y as Re,aw as $e,ax as Te,an as Ee,a as Le,da as Ae,C as De,aq as pe,cs as Me,d0 as Ne,bd as Oe,ap as W,db as qe,dc as Ue,ar as Ke,a_ as je,as as We,cr as ze,b1 as Ge,dd as Je,n as ne,de as Qe}from"./admin-drawer-panel-C34Ze3-5.js";import{C as Xe,f as ie}from"./VDialog-DiixpkQL.js";import{h as Ye,i as Ze,b as He,m as et,u as se,j as tt,a as lt,V as ae}from"./VSelectionControl-BSL0qeL9.js";const nt={name:"SubmitFooter",components:{ConfirmFooter:Xe},props:{verb:{type:String,required:!0},table:{type:String,required:!0},label:{type:String,default:""},disabled:{type:Boolean,default:!1}},emits:["cancel","submit"],computed:{...me(te,{errors:e=>e.form.errors,success:e=>e.form.success}),confirmText(){const e=this.label||this.table;return`${this.verb} ${e}`}},beforeMount(){this.clearErrors()},methods:{...be(te,["clearErrors"])}},at={key:0,class:"errors"},ot={key:1,class:"success"},it={key:2};function st(e,o,a,k,l,s){const b=ge("ConfirmFooter");return A(),D("footer",null,[Ce("div",null,[e.errors&&e.errors.length>0?(A(),D("small",at,[(A(!0),D(M,null,xe(e.errors,(V,d)=>(A(),D("div",{key:d},le(V),1))),128))])):e.success?(A(),D("small",ot,le(e.success),1)):(A(),D("small",it," "))]),t(b,{"confirm-text":s.confirmText,disabled:a.disabled,onConfirm:o[0]||(o[0]=V=>e.$emit("submit")),onCancel:o[1]||(o[1]=V=>e.$emit("cancel"))},null,8,["confirm-text","disabled"])])}const xt=ye(nt,[["render",st],["__scopeId","data-v-d960409d"]]),rt=N({...z(),...Ye()},"VForm"),ht=O()({name:"VForm",props:rt(),emits:{"update:modelValue":e=>!0,submit:e=>!0},setup(e,o){let{slots:a,emit:k}=o;const l=Ze(e),s=T();function b(d){d.preventDefault(),l.reset()}function V(d){const c=d,r=l.validate();c.then=r.then.bind(r),c.catch=r.catch.bind(r),c.finally=r.finally.bind(r),k("submit",c),c.defaultPrevented||r.then(F=>{var P;let{valid:p}=F;p&&((P=s.value)==null||P.submit())}),c.preventDefault()}return q(()=>{var d;return t("form",{ref:s,class:["v-form",e.class],style:e.style,novalidate:!0,onReset:b,onSubmit:V},[(d=a.default)==null?void 0:d.call(a,l)])}),ie(l,s)}}),ut=N({active:Boolean,disabled:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...z(),...he({transition:{component:ke}})},"VCounter"),dt=O()({name:"VCounter",functional:!0,props:ut(),setup(e,o){let{slots:a}=o;const k=m(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return q(()=>t(Ve,{transition:e.transition},{default:()=>[H(t("div",{class:["v-counter",{"text-error":e.max&&!e.disabled&&parseFloat(e.value)>parseFloat(e.max)},e.class],style:e.style},[a.default?a.default({counter:k.value,max:e.max,value:e.value}):k.value]),[[oe,e.active]])]})),{}}}),ct=N({floating:Boolean,...z()},"VFieldLabel"),j=O()({name:"VFieldLabel",props:ct(),setup(e,o){let{slots:a}=o;return q(()=>t(He,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},a)),{}}}),ft=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],re=N({appendInnerIcon:Y,bgColor:String,clearable:Boolean,clearIcon:{type:Y,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:Y,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>ft.includes(e)},"onClick:clear":Z(),"onClick:appendInner":Z(),"onClick:prependInner":Z(),...z(),..._e(),...Fe(),...Ie()},"VField"),ue=O()({name:"VField",inheritAttrs:!1,props:{id:String,...et(),...re()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,o){let{attrs:a,emit:k,slots:l}=o;const{themeClasses:s}=Pe(e),{loaderClasses:b}=Se(e),{focusClasses:V,isFocused:d,focus:c,blur:r}=se(e),{InputIcon:F}=tt(e),{roundedClasses:p}=Be(e),{rtlClasses:P}=we(),S=m(()=>e.dirty||e.active),C=m(()=>!e.singleLine&&!!(e.label||l.label)),G=Re(),f=m(()=>e.id||`input-${G}`),J=m(()=>`${f.value}-messages`),U=T(),E=T(),K=T(),n=m(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:y,backgroundColorStyles:g}=$e(Te(e,"bgColor")),{textColorClasses:x,textColorStyles:Q}=Ee(m(()=>e.error||e.disabled?void 0:S.value&&d.value?e.color:e.baseColor));Le(S,i=>{if(C.value){const u=U.value.$el,h=E.value.$el;requestAnimationFrame(()=>{const _=Ae(u),v=h.getBoundingClientRect(),L=v.x-_.x,w=v.y-_.y-(_.height/2-v.height/2),R=v.width/.75,$=Math.abs(R-_.width)>1?{maxWidth:De(R)}:void 0,de=getComputedStyle(u),ee=getComputedStyle(h),ce=parseFloat(de.transitionDuration)*1e3||150,fe=parseFloat(ee.getPropertyValue("--v-field-label-scale")),ve=ee.getPropertyValue("color");u.style.visibility="visible",h.style.visibility="hidden",pe(u,{transform:`translate(${L}px, ${w}px) scale(${fe})`,color:ve,...$},{duration:ce,easing:Ke,direction:i?"normal":"reverse"}).finished.then(()=>{u.style.removeProperty("visibility"),h.style.removeProperty("visibility")})})}},{flush:"post"});const B=m(()=>({isActive:S,isFocused:d,controlRef:K,blur:r,focus:c}));function X(i){i.target!==document.activeElement&&i.preventDefault()}function I(i){var u;i.key!=="Enter"&&i.key!==" "||(i.preventDefault(),i.stopPropagation(),(u=e["onClick:clear"])==null||u.call(e,new MouseEvent("click")))}return q(()=>{var L,w,R;const i=e.variant==="outlined",u=!!(l["prepend-inner"]||e.prependInnerIcon),h=!!(e.clearable||l.clear),_=!!(l["append-inner"]||e.appendInnerIcon||h),v=()=>l.label?l.label({...B.value,label:e.label,props:{for:f.value}}):e.label;return t("div",W({class:["v-field",{"v-field--active":S.value,"v-field--appended":_,"v-field--center-affix":e.centerAffix??!n.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":u,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!v(),[`v-field--variant-${e.variant}`]:!0},s.value,y.value,V.value,b.value,p.value,P.value,e.class],style:[g.value,e.style],onClick:X},a),[t("div",{class:"v-field__overlay"},null),t(Me,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:l.loader}),u&&t("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&t(F,{key:"prepend-icon",name:"prependInner"},null),(L=l["prepend-inner"])==null?void 0:L.call(l,B.value)]),t("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&C.value&&t(j,{key:"floating-label",ref:E,class:[x.value],floating:!0,for:f.value,style:Q.value},{default:()=>[v()]}),t(j,{ref:U,for:f.value},{default:()=>[v()]}),(w=l.default)==null?void 0:w.call(l,{...B.value,props:{id:f.value,class:"v-field__input","aria-describedby":J.value},focus:c,blur:r})]),h&&t(Ne,{key:"clear"},{default:()=>[H(t("div",{class:"v-field__clearable",onMousedown:$=>{$.preventDefault(),$.stopPropagation()}},[t(Oe,{defaults:{VIcon:{icon:e.clearIcon}}},{default:()=>[l.clear?l.clear({...B.value,props:{onKeydown:I,onFocus:c,onBlur:r,onClick:e["onClick:clear"]}}):t(F,{name:"clear",onKeydown:I,onFocus:c,onBlur:r},null)]})]),[[oe,e.dirty]])]}),_&&t("div",{key:"append",class:"v-field__append-inner"},[(R=l["append-inner"])==null?void 0:R.call(l,B.value),e.appendInnerIcon&&t(F,{key:"append-icon",name:"appendInner"},null)]),t("div",{class:["v-field__outline",x.value],style:Q.value},[i&&t(M,null,[t("div",{class:"v-field__outline__start"},null),C.value&&t("div",{class:"v-field__outline__notch"},[t(j,{ref:E,floating:!0,for:f.value},{default:()=>[v()]})]),t("div",{class:"v-field__outline__end"},null)]),n.value&&C.value&&t(j,{ref:E,floating:!0,for:f.value},{default:()=>[v()]})])])}),{controlRef:K}}});function vt(e){const o=Object.keys(ue.props).filter(a=>!qe(a)&&a!=="class"&&a!=="style");return Ue(e,o)}const mt=["color","file","time","date","datetime-local","week","month"],bt=N({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...lt(),...re()},"VTextField"),kt=O()({name:"VTextField",directives:{Intersect:je},inheritAttrs:!1,props:bt(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,o){let{attrs:a,emit:k,slots:l}=o;const s=We(e,"modelValue"),{isFocused:b,focus:V,blur:d}=se(e),c=m(()=>typeof e.counterValue=="function"?e.counterValue(s.value):typeof e.counterValue=="number"?e.counterValue:(s.value??"").toString().length),r=m(()=>{if(a.maxlength)return a.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),F=m(()=>["plain","underlined"].includes(e.variant));function p(n,y){var g,x;!e.autofocus||!n||(x=(g=y[0].target)==null?void 0:g.focus)==null||x.call(g)}const P=T(),S=T(),C=T(),G=m(()=>mt.includes(e.type)||e.persistentPlaceholder||b.value||e.active);function f(){var n;C.value!==document.activeElement&&((n=C.value)==null||n.focus()),b.value||V()}function J(n){k("mousedown:control",n),n.target!==C.value&&(f(),n.preventDefault())}function U(n){f(),k("click:control",n)}function E(n){n.stopPropagation(),f(),ne(()=>{s.value=null,Qe(e["onClick:clear"],n)})}function K(n){var g;const y=n.target;if(s.value=y.value,(g=e.modelModifiers)!=null&&g.trim&&["text","search","password","tel","url"].includes(e.type)){const x=[y.selectionStart,y.selectionEnd];ne(()=>{y.selectionStart=x[0],y.selectionEnd=x[1]})}}return q(()=>{const n=!!(l.counter||e.counter!==!1&&e.counter!=null),y=!!(n||l.details),[g,x]=ze(a),{modelValue:Q,...B}=ae.filterProps(e),X=vt(e);return t(ae,W({ref:P,modelValue:s.value,"onUpdate:modelValue":I=>s.value=I,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":F.value},e.class],style:e.style},g,B,{centerAffix:!F.value,focused:b.value}),{...l,default:I=>{let{id:i,isDisabled:u,isDirty:h,isReadonly:_,isValid:v}=I;return t(ue,W({ref:S,onMousedown:J,onClick:U,"onClick:clear":E,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},X,{id:i.value,active:G.value||h.value,dirty:h.value||e.dirty,disabled:u.value,focused:b.value,error:v.value===!1}),{...l,default:L=>{let{props:{class:w,...R}}=L;const $=H(t("input",W({ref:C,value:s.value,onInput:K,autofocus:e.autofocus,readonly:_.value,disabled:u.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:f,onBlur:d},R,x),null),[[Ge("intersect"),{handler:p},null,{once:!0}]]);return t(M,null,[e.prefix&&t("span",{class:"v-text-field__prefix"},[t("span",{class:"v-text-field__prefix__text"},[e.prefix])]),l.default?t("div",{class:w,"data-no-activator":""},[l.default(),$]):Je($,{class:w}),e.suffix&&t("span",{class:"v-text-field__suffix"},[t("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:y?I=>{var i;return t(M,null,[(i=l.details)==null?void 0:i.call(l,I),n&&t(M,null,[t("span",null,null),t(dt,{active:e.persistentCounter||b.value,value:c.value,max:r.value,disabled:e.disabled},l.counter)])])}:void 0})}),ie({},P,S,C)}});export{xt as S,kt as V,ht as a,bt as m};
|
|
1
|
+
import{V as me,D as te,W as be,_ as ye,Y as ge,Z as L,aH as A,aU as Ce,U as M,aI as xe,ap as le,S as t,E as N,M as z,O,r as T,R as U,b4 as he,br as ke,h as m,b7 as J,ba as oe,b9 as Ve,bh as Z,cX as G,cV as _e,bi as Fe,N as Ie,P as Pe,cs as Se,bj as Be,Q as we,F as Re,aD as $e,aE as Te,au as De,a as Ee,dc as Le,K as Ae,ax as pe,cu as Me,d2 as Ne,bk as Oe,aw as W,dd as Ue,de as je,ay as Ke,b5 as qe,az as We,ct as ze,b8 as Xe,df as Ye,n as ne,dg as He}from"./admin-drawer-panel-BxoNUHQr.js";import{C as Qe,f as ie}from"./VDialog-X0zn9AGX.js";import{h as Ze,i as Ge,b as Je,m as et,u as se,j as tt,a as lt,V as ae}from"./VSelectionControl-CGu0oz0K.js";const nt={name:"SubmitFooter",components:{ConfirmFooter:Qe},props:{verb:{type:String,required:!0},table:{type:String,required:!0},label:{type:String,default:""},disabled:{type:Boolean,default:!1}},emits:["cancel","submit"],computed:{...me(te,{errors:e=>e.form.errors,success:e=>e.form.success}),confirmText(){const e=this.label||this.table;return`${this.verb} ${e}`}},beforeMount(){this.clearErrors()},methods:{...be(te,["clearErrors"])}},at={key:0,class:"errors"},ot={key:1,class:"success"},it={key:2};function st(e,o,a,k,l,s){const b=ge("ConfirmFooter");return L(),A("footer",null,[Ce("div",null,[e.errors&&e.errors.length>0?(L(),A("small",at,[(L(!0),A(M,null,xe(e.errors,(V,d)=>(L(),A("div",{key:d},le(V),1))),128))])):e.success?(L(),A("small",ot,le(e.success),1)):(L(),A("small",it," "))]),t(b,{"confirm-text":s.confirmText,disabled:a.disabled,onConfirm:o[0]||(o[0]=V=>e.$emit("submit")),onCancel:o[1]||(o[1]=V=>e.$emit("cancel"))},null,8,["confirm-text","disabled"])])}const xt=ye(nt,[["render",st],["__scopeId","data-v-d960409d"]]),rt=N({...z(),...Ze()},"VForm"),ht=O()({name:"VForm",props:rt(),emits:{"update:modelValue":e=>!0,submit:e=>!0},setup(e,o){let{slots:a,emit:k}=o;const l=Ge(e),s=T();function b(d){d.preventDefault(),l.reset()}function V(d){const c=d,r=l.validate();c.then=r.then.bind(r),c.catch=r.catch.bind(r),c.finally=r.finally.bind(r),k("submit",c),c.defaultPrevented||r.then(F=>{var P;let{valid:p}=F;p&&((P=s.value)==null||P.submit())}),c.preventDefault()}return U(()=>{var d;return t("form",{ref:s,class:["v-form",e.class],style:e.style,novalidate:!0,onReset:b,onSubmit:V},[(d=a.default)==null?void 0:d.call(a,l)])}),ie(l,s)}}),ut=N({active:Boolean,disabled:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...z(),...he({transition:{component:ke}})},"VCounter"),dt=O()({name:"VCounter",functional:!0,props:ut(),setup(e,o){let{slots:a}=o;const k=m(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return U(()=>t(Ve,{transition:e.transition},{default:()=>[J(t("div",{class:["v-counter",{"text-error":e.max&&!e.disabled&&parseFloat(e.value)>parseFloat(e.max)},e.class],style:e.style},[a.default?a.default({counter:k.value,max:e.max,value:e.value}):k.value]),[[oe,e.active]])]})),{}}}),ct=N({floating:Boolean,...z()},"VFieldLabel"),q=O()({name:"VFieldLabel",props:ct(),setup(e,o){let{slots:a}=o;return U(()=>t(Je,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},a)),{}}}),ft=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],re=N({appendInnerIcon:Z,bgColor:String,clearable:Boolean,clearIcon:{type:Z,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:Z,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>ft.includes(e)},"onClick:clear":G(),"onClick:appendInner":G(),"onClick:prependInner":G(),...z(),..._e(),...Fe(),...Ie()},"VField"),ue=O()({name:"VField",inheritAttrs:!1,props:{id:String,...et(),...re()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,o){let{attrs:a,emit:k,slots:l}=o;const{themeClasses:s}=Pe(e),{loaderClasses:b}=Se(e),{focusClasses:V,isFocused:d,focus:c,blur:r}=se(e),{InputIcon:F}=tt(e),{roundedClasses:p}=Be(e),{rtlClasses:P}=we(),S=m(()=>e.dirty||e.active),C=m(()=>!e.singleLine&&!!(e.label||l.label)),X=Re(),f=m(()=>e.id||`input-${X}`),Y=m(()=>`${f.value}-messages`),j=T(),D=T(),K=T(),n=m(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:y,backgroundColorStyles:g}=$e(Te(e,"bgColor")),{textColorClasses:x,textColorStyles:H}=De(m(()=>e.error||e.disabled?void 0:S.value&&d.value?e.color:e.baseColor));Ee(S,i=>{if(C.value){const u=j.value.$el,h=D.value.$el;requestAnimationFrame(()=>{const _=Le(u),v=h.getBoundingClientRect(),E=v.x-_.x,w=v.y-_.y-(_.height/2-v.height/2),R=v.width/.75,$=Math.abs(R-_.width)>1?{maxWidth:Ae(R)}:void 0,de=getComputedStyle(u),ee=getComputedStyle(h),ce=parseFloat(de.transitionDuration)*1e3||150,fe=parseFloat(ee.getPropertyValue("--v-field-label-scale")),ve=ee.getPropertyValue("color");u.style.visibility="visible",h.style.visibility="hidden",pe(u,{transform:`translate(${E}px, ${w}px) scale(${fe})`,color:ve,...$},{duration:ce,easing:Ke,direction:i?"normal":"reverse"}).finished.then(()=>{u.style.removeProperty("visibility"),h.style.removeProperty("visibility")})})}},{flush:"post"});const B=m(()=>({isActive:S,isFocused:d,controlRef:K,blur:r,focus:c}));function Q(i){i.target!==document.activeElement&&i.preventDefault()}function I(i){var u;i.key!=="Enter"&&i.key!==" "||(i.preventDefault(),i.stopPropagation(),(u=e["onClick:clear"])==null||u.call(e,new MouseEvent("click")))}return U(()=>{var E,w,R;const i=e.variant==="outlined",u=!!(l["prepend-inner"]||e.prependInnerIcon),h=!!(e.clearable||l.clear),_=!!(l["append-inner"]||e.appendInnerIcon||h),v=()=>l.label?l.label({...B.value,label:e.label,props:{for:f.value}}):e.label;return t("div",W({class:["v-field",{"v-field--active":S.value,"v-field--appended":_,"v-field--center-affix":e.centerAffix??!n.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":u,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!v(),[`v-field--variant-${e.variant}`]:!0},s.value,y.value,V.value,b.value,p.value,P.value,e.class],style:[g.value,e.style],onClick:Q},a),[t("div",{class:"v-field__overlay"},null),t(Me,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:l.loader}),u&&t("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&t(F,{key:"prepend-icon",name:"prependInner"},null),(E=l["prepend-inner"])==null?void 0:E.call(l,B.value)]),t("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&C.value&&t(q,{key:"floating-label",ref:D,class:[x.value],floating:!0,for:f.value,style:H.value},{default:()=>[v()]}),t(q,{ref:j,for:f.value},{default:()=>[v()]}),(w=l.default)==null?void 0:w.call(l,{...B.value,props:{id:f.value,class:"v-field__input","aria-describedby":Y.value},focus:c,blur:r})]),h&&t(Ne,{key:"clear"},{default:()=>[J(t("div",{class:"v-field__clearable",onMousedown:$=>{$.preventDefault(),$.stopPropagation()}},[t(Oe,{defaults:{VIcon:{icon:e.clearIcon}}},{default:()=>[l.clear?l.clear({...B.value,props:{onKeydown:I,onFocus:c,onBlur:r,onClick:e["onClick:clear"]}}):t(F,{name:"clear",onKeydown:I,onFocus:c,onBlur:r},null)]})]),[[oe,e.dirty]])]}),_&&t("div",{key:"append",class:"v-field__append-inner"},[(R=l["append-inner"])==null?void 0:R.call(l,B.value),e.appendInnerIcon&&t(F,{key:"append-icon",name:"appendInner"},null)]),t("div",{class:["v-field__outline",x.value],style:H.value},[i&&t(M,null,[t("div",{class:"v-field__outline__start"},null),C.value&&t("div",{class:"v-field__outline__notch"},[t(q,{ref:D,floating:!0,for:f.value},{default:()=>[v()]})]),t("div",{class:"v-field__outline__end"},null)]),n.value&&C.value&&t(q,{ref:D,floating:!0,for:f.value},{default:()=>[v()]})])])}),{controlRef:K}}});function vt(e){const o=Object.keys(ue.props).filter(a=>!Ue(a)&&a!=="class"&&a!=="style");return je(e,o)}const mt=["color","file","time","date","datetime-local","week","month"],bt=N({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...lt(),...re()},"VTextField"),kt=O()({name:"VTextField",directives:{Intersect:qe},inheritAttrs:!1,props:bt(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,o){let{attrs:a,emit:k,slots:l}=o;const s=We(e,"modelValue"),{isFocused:b,focus:V,blur:d}=se(e),c=m(()=>typeof e.counterValue=="function"?e.counterValue(s.value):typeof e.counterValue=="number"?e.counterValue:(s.value??"").toString().length),r=m(()=>{if(a.maxlength)return a.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),F=m(()=>["plain","underlined"].includes(e.variant));function p(n,y){var g,x;!e.autofocus||!n||(x=(g=y[0].target)==null?void 0:g.focus)==null||x.call(g)}const P=T(),S=T(),C=T(),X=m(()=>mt.includes(e.type)||e.persistentPlaceholder||b.value||e.active);function f(){var n;C.value!==document.activeElement&&((n=C.value)==null||n.focus()),b.value||V()}function Y(n){k("mousedown:control",n),n.target!==C.value&&(f(),n.preventDefault())}function j(n){f(),k("click:control",n)}function D(n){n.stopPropagation(),f(),ne(()=>{s.value=null,He(e["onClick:clear"],n)})}function K(n){var g;const y=n.target;if(s.value=y.value,(g=e.modelModifiers)!=null&&g.trim&&["text","search","password","tel","url"].includes(e.type)){const x=[y.selectionStart,y.selectionEnd];ne(()=>{y.selectionStart=x[0],y.selectionEnd=x[1]})}}return U(()=>{const n=!!(l.counter||e.counter!==!1&&e.counter!=null),y=!!(n||l.details),[g,x]=ze(a),{modelValue:H,...B}=ae.filterProps(e),Q=vt(e);return t(ae,W({ref:P,modelValue:s.value,"onUpdate:modelValue":I=>s.value=I,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":F.value},e.class],style:e.style},g,B,{centerAffix:!F.value,focused:b.value}),{...l,default:I=>{let{id:i,isDisabled:u,isDirty:h,isReadonly:_,isValid:v}=I;return t(ue,W({ref:S,onMousedown:Y,onClick:j,"onClick:clear":D,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},Q,{id:i.value,active:X.value||h.value,dirty:h.value||e.dirty,disabled:u.value,focused:b.value,error:v.value===!1}),{...l,default:E=>{let{props:{class:w,...R}}=E;const $=J(t("input",W({ref:C,value:s.value,onInput:K,autofocus:e.autofocus,readonly:_.value,disabled:u.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:f,onBlur:d},R,x),null),[[Xe("intersect"),{handler:p},null,{once:!0}]]);return t(M,null,[e.prefix&&t("span",{class:"v-text-field__prefix"},[t("span",{class:"v-text-field__prefix__text"},[e.prefix])]),l.default?t("div",{class:w,"data-no-activator":""},[l.default(),$]):Ye($,{class:w}),e.suffix&&t("span",{class:"v-text-field__suffix"},[t("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:y?I=>{var i;return t(M,null,[(i=l.details)==null?void 0:i.call(l,I),n&&t(M,null,[t("span",null,null),t(dt,{active:e.persistentCounter||b.value,value:c.value,max:r.value,disabled:e.disabled},l.counter)])])}:void 0})}),ie({},P,S,C)}});export{xt as S,kt as V,ht as a,bt as m};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{N as me,k as te,O as be,_ as ye,Q as ge,R as A,aA as D,aN as Ce,M,aB as xe,ai as le,L as t,x as N,E as z,G as O,r as T,K as q,aZ as he,bk as ke,h as m,b0 as H,b3 as oe,b2 as Ve,ba as Y,cV as Z,cT as _e,bb as Fe,F as Ie,I as Pe,cq as Se,bc as Be,J as we,y as Re,aw as $e,ax as Te,an as Ee,a as Le,da as Ae,C as De,aq as pe,cs as Me,d0 as Ne,bd as Oe,ap as W,db as qe,dc as Ue,ar as Ke,a_ as je,as as We,cr as ze,b1 as Ge,dd as Je,n as ne,de as Qe}from"./admin-drawer-panel-C34Ze3-5.js";import{C as Xe,f as ie}from"./VDialog-DiixpkQL.js";import{h as Ye,i as Ze,b as He,m as et,u as se,j as tt,a as lt,V as ae}from"./VSelectionControl-BSL0qeL9.js";const nt={name:"SubmitFooter",components:{ConfirmFooter:Xe},props:{verb:{type:String,required:!0},table:{type:String,required:!0},label:{type:String,default:""},disabled:{type:Boolean,default:!1}},emits:["cancel","submit"],computed:{...me(te,{errors:e=>e.form.errors,success:e=>e.form.success}),confirmText(){const e=this.label||this.table;return`${this.verb} ${e}`}},beforeMount(){this.clearErrors()},methods:{...be(te,["clearErrors"])}},at={key:0,class:"errors"},ot={key:1,class:"success"},it={key:2};function st(e,o,a,k,l,s){const b=ge("ConfirmFooter");return A(),D("footer",null,[Ce("div",null,[e.errors&&e.errors.length>0?(A(),D("small",at,[(A(!0),D(M,null,xe(e.errors,(V,d)=>(A(),D("div",{key:d},le(V),1))),128))])):e.success?(A(),D("small",ot,le(e.success),1)):(A(),D("small",it," "))]),t(b,{"confirm-text":s.confirmText,disabled:a.disabled,onConfirm:o[0]||(o[0]=V=>e.$emit("submit")),onCancel:o[1]||(o[1]=V=>e.$emit("cancel"))},null,8,["confirm-text","disabled"])])}const xt=ye(nt,[["render",st],["__scopeId","data-v-d960409d"]]),rt=N({...z(),...Ye()},"VForm"),ht=O()({name:"VForm",props:rt(),emits:{"update:modelValue":e=>!0,submit:e=>!0},setup(e,o){let{slots:a,emit:k}=o;const l=Ze(e),s=T();function b(d){d.preventDefault(),l.reset()}function V(d){const c=d,r=l.validate();c.then=r.then.bind(r),c.catch=r.catch.bind(r),c.finally=r.finally.bind(r),k("submit",c),c.defaultPrevented||r.then(F=>{var P;let{valid:p}=F;p&&((P=s.value)==null||P.submit())}),c.preventDefault()}return q(()=>{var d;return t("form",{ref:s,class:["v-form",e.class],style:e.style,novalidate:!0,onReset:b,onSubmit:V},[(d=a.default)==null?void 0:d.call(a,l)])}),ie(l,s)}}),ut=N({active:Boolean,disabled:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...z(),...he({transition:{component:ke}})},"VCounter"),dt=O()({name:"VCounter",functional:!0,props:ut(),setup(e,o){let{slots:a}=o;const k=m(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return q(()=>t(Ve,{transition:e.transition},{default:()=>[H(t("div",{class:["v-counter",{"text-error":e.max&&!e.disabled&&parseFloat(e.value)>parseFloat(e.max)},e.class],style:e.style},[a.default?a.default({counter:k.value,max:e.max,value:e.value}):k.value]),[[oe,e.active]])]})),{}}}),ct=N({floating:Boolean,...z()},"VFieldLabel"),j=O()({name:"VFieldLabel",props:ct(),setup(e,o){let{slots:a}=o;return q(()=>t(He,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},a)),{}}}),ft=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],re=N({appendInnerIcon:Y,bgColor:String,clearable:Boolean,clearIcon:{type:Y,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:Y,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>ft.includes(e)},"onClick:clear":Z(),"onClick:appendInner":Z(),"onClick:prependInner":Z(),...z(),..._e(),...Fe(),...Ie()},"VField"),ue=O()({name:"VField",inheritAttrs:!1,props:{id:String,...et(),...re()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,o){let{attrs:a,emit:k,slots:l}=o;const{themeClasses:s}=Pe(e),{loaderClasses:b}=Se(e),{focusClasses:V,isFocused:d,focus:c,blur:r}=se(e),{InputIcon:F}=tt(e),{roundedClasses:p}=Be(e),{rtlClasses:P}=we(),S=m(()=>e.dirty||e.active),C=m(()=>!e.singleLine&&!!(e.label||l.label)),G=Re(),f=m(()=>e.id||`input-${G}`),J=m(()=>`${f.value}-messages`),U=T(),E=T(),K=T(),n=m(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:y,backgroundColorStyles:g}=$e(Te(e,"bgColor")),{textColorClasses:x,textColorStyles:Q}=Ee(m(()=>e.error||e.disabled?void 0:S.value&&d.value?e.color:e.baseColor));Le(S,i=>{if(C.value){const u=U.value.$el,h=E.value.$el;requestAnimationFrame(()=>{const _=Ae(u),v=h.getBoundingClientRect(),L=v.x-_.x,w=v.y-_.y-(_.height/2-v.height/2),R=v.width/.75,$=Math.abs(R-_.width)>1?{maxWidth:De(R)}:void 0,de=getComputedStyle(u),ee=getComputedStyle(h),ce=parseFloat(de.transitionDuration)*1e3||150,fe=parseFloat(ee.getPropertyValue("--v-field-label-scale")),ve=ee.getPropertyValue("color");u.style.visibility="visible",h.style.visibility="hidden",pe(u,{transform:`translate(${L}px, ${w}px) scale(${fe})`,color:ve,...$},{duration:ce,easing:Ke,direction:i?"normal":"reverse"}).finished.then(()=>{u.style.removeProperty("visibility"),h.style.removeProperty("visibility")})})}},{flush:"post"});const B=m(()=>({isActive:S,isFocused:d,controlRef:K,blur:r,focus:c}));function X(i){i.target!==document.activeElement&&i.preventDefault()}function I(i){var u;i.key!=="Enter"&&i.key!==" "||(i.preventDefault(),i.stopPropagation(),(u=e["onClick:clear"])==null||u.call(e,new MouseEvent("click")))}return q(()=>{var L,w,R;const i=e.variant==="outlined",u=!!(l["prepend-inner"]||e.prependInnerIcon),h=!!(e.clearable||l.clear),_=!!(l["append-inner"]||e.appendInnerIcon||h),v=()=>l.label?l.label({...B.value,label:e.label,props:{for:f.value}}):e.label;return t("div",W({class:["v-field",{"v-field--active":S.value,"v-field--appended":_,"v-field--center-affix":e.centerAffix??!n.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":u,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!v(),[`v-field--variant-${e.variant}`]:!0},s.value,y.value,V.value,b.value,p.value,P.value,e.class],style:[g.value,e.style],onClick:X},a),[t("div",{class:"v-field__overlay"},null),t(Me,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:l.loader}),u&&t("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&t(F,{key:"prepend-icon",name:"prependInner"},null),(L=l["prepend-inner"])==null?void 0:L.call(l,B.value)]),t("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&C.value&&t(j,{key:"floating-label",ref:E,class:[x.value],floating:!0,for:f.value,style:Q.value},{default:()=>[v()]}),t(j,{ref:U,for:f.value},{default:()=>[v()]}),(w=l.default)==null?void 0:w.call(l,{...B.value,props:{id:f.value,class:"v-field__input","aria-describedby":J.value},focus:c,blur:r})]),h&&t(Ne,{key:"clear"},{default:()=>[H(t("div",{class:"v-field__clearable",onMousedown:$=>{$.preventDefault(),$.stopPropagation()}},[t(Oe,{defaults:{VIcon:{icon:e.clearIcon}}},{default:()=>[l.clear?l.clear({...B.value,props:{onKeydown:I,onFocus:c,onBlur:r,onClick:e["onClick:clear"]}}):t(F,{name:"clear",onKeydown:I,onFocus:c,onBlur:r},null)]})]),[[oe,e.dirty]])]}),_&&t("div",{key:"append",class:"v-field__append-inner"},[(R=l["append-inner"])==null?void 0:R.call(l,B.value),e.appendInnerIcon&&t(F,{key:"append-icon",name:"appendInner"},null)]),t("div",{class:["v-field__outline",x.value],style:Q.value},[i&&t(M,null,[t("div",{class:"v-field__outline__start"},null),C.value&&t("div",{class:"v-field__outline__notch"},[t(j,{ref:E,floating:!0,for:f.value},{default:()=>[v()]})]),t("div",{class:"v-field__outline__end"},null)]),n.value&&C.value&&t(j,{ref:E,floating:!0,for:f.value},{default:()=>[v()]})])])}),{controlRef:K}}});function vt(e){const o=Object.keys(ue.props).filter(a=>!qe(a)&&a!=="class"&&a!=="style");return Ue(e,o)}const mt=["color","file","time","date","datetime-local","week","month"],bt=N({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...lt(),...re()},"VTextField"),kt=O()({name:"VTextField",directives:{Intersect:je},inheritAttrs:!1,props:bt(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,o){let{attrs:a,emit:k,slots:l}=o;const s=We(e,"modelValue"),{isFocused:b,focus:V,blur:d}=se(e),c=m(()=>typeof e.counterValue=="function"?e.counterValue(s.value):typeof e.counterValue=="number"?e.counterValue:(s.value??"").toString().length),r=m(()=>{if(a.maxlength)return a.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),F=m(()=>["plain","underlined"].includes(e.variant));function p(n,y){var g,x;!e.autofocus||!n||(x=(g=y[0].target)==null?void 0:g.focus)==null||x.call(g)}const P=T(),S=T(),C=T(),G=m(()=>mt.includes(e.type)||e.persistentPlaceholder||b.value||e.active);function f(){var n;C.value!==document.activeElement&&((n=C.value)==null||n.focus()),b.value||V()}function J(n){k("mousedown:control",n),n.target!==C.value&&(f(),n.preventDefault())}function U(n){f(),k("click:control",n)}function E(n){n.stopPropagation(),f(),ne(()=>{s.value=null,Qe(e["onClick:clear"],n)})}function K(n){var g;const y=n.target;if(s.value=y.value,(g=e.modelModifiers)!=null&&g.trim&&["text","search","password","tel","url"].includes(e.type)){const x=[y.selectionStart,y.selectionEnd];ne(()=>{y.selectionStart=x[0],y.selectionEnd=x[1]})}}return q(()=>{const n=!!(l.counter||e.counter!==!1&&e.counter!=null),y=!!(n||l.details),[g,x]=ze(a),{modelValue:Q,...B}=ae.filterProps(e),X=vt(e);return t(ae,W({ref:P,modelValue:s.value,"onUpdate:modelValue":I=>s.value=I,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":F.value},e.class],style:e.style},g,B,{centerAffix:!F.value,focused:b.value}),{...l,default:I=>{let{id:i,isDisabled:u,isDirty:h,isReadonly:_,isValid:v}=I;return t(ue,W({ref:S,onMousedown:J,onClick:U,"onClick:clear":E,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},X,{id:i.value,active:G.value||h.value,dirty:h.value||e.dirty,disabled:u.value,focused:b.value,error:v.value===!1}),{...l,default:L=>{let{props:{class:w,...R}}=L;const $=H(t("input",W({ref:C,value:s.value,onInput:K,autofocus:e.autofocus,readonly:_.value,disabled:u.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:f,onBlur:d},R,x),null),[[Ge("intersect"),{handler:p},null,{once:!0}]]);return t(M,null,[e.prefix&&t("span",{class:"v-text-field__prefix"},[t("span",{class:"v-text-field__prefix__text"},[e.prefix])]),l.default?t("div",{class:w,"data-no-activator":""},[l.default(),$]):Je($,{class:w}),e.suffix&&t("span",{class:"v-text-field__suffix"},[t("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:y?I=>{var i;return t(M,null,[(i=l.details)==null?void 0:i.call(l,I),n&&t(M,null,[t("span",null,null),t(dt,{active:e.persistentCounter||b.value,value:c.value,max:r.value,disabled:e.disabled},l.counter)])])}:void 0})}),ie({},P,S,C)}});export{xt as S,kt as V,ht as a,bt as m};
|
|
1
|
+
import{V as me,D as te,W as be,_ as ye,Y as ge,Z as L,aH as A,aU as Ce,U as M,aI as xe,ap as le,S as t,E as N,M as z,O,r as T,R as U,b4 as he,br as ke,h as m,b7 as J,ba as oe,b9 as Ve,bh as Z,cX as G,cV as _e,bi as Fe,N as Ie,P as Pe,cs as Se,bj as Be,Q as we,F as Re,aD as $e,aE as Te,au as De,a as Ee,dc as Le,K as Ae,ax as pe,cu as Me,d2 as Ne,bk as Oe,aw as W,dd as Ue,de as je,ay as Ke,b5 as qe,az as We,ct as ze,b8 as Xe,df as Ye,n as ne,dg as He}from"./admin-drawer-panel-BxoNUHQr.js";import{C as Qe,f as ie}from"./VDialog-X0zn9AGX.js";import{h as Ze,i as Ge,b as Je,m as et,u as se,j as tt,a as lt,V as ae}from"./VSelectionControl-CGu0oz0K.js";const nt={name:"SubmitFooter",components:{ConfirmFooter:Qe},props:{verb:{type:String,required:!0},table:{type:String,required:!0},label:{type:String,default:""},disabled:{type:Boolean,default:!1}},emits:["cancel","submit"],computed:{...me(te,{errors:e=>e.form.errors,success:e=>e.form.success}),confirmText(){const e=this.label||this.table;return`${this.verb} ${e}`}},beforeMount(){this.clearErrors()},methods:{...be(te,["clearErrors"])}},at={key:0,class:"errors"},ot={key:1,class:"success"},it={key:2};function st(e,o,a,k,l,s){const b=ge("ConfirmFooter");return L(),A("footer",null,[Ce("div",null,[e.errors&&e.errors.length>0?(L(),A("small",at,[(L(!0),A(M,null,xe(e.errors,(V,d)=>(L(),A("div",{key:d},le(V),1))),128))])):e.success?(L(),A("small",ot,le(e.success),1)):(L(),A("small",it," "))]),t(b,{"confirm-text":s.confirmText,disabled:a.disabled,onConfirm:o[0]||(o[0]=V=>e.$emit("submit")),onCancel:o[1]||(o[1]=V=>e.$emit("cancel"))},null,8,["confirm-text","disabled"])])}const xt=ye(nt,[["render",st],["__scopeId","data-v-d960409d"]]),rt=N({...z(),...Ze()},"VForm"),ht=O()({name:"VForm",props:rt(),emits:{"update:modelValue":e=>!0,submit:e=>!0},setup(e,o){let{slots:a,emit:k}=o;const l=Ge(e),s=T();function b(d){d.preventDefault(),l.reset()}function V(d){const c=d,r=l.validate();c.then=r.then.bind(r),c.catch=r.catch.bind(r),c.finally=r.finally.bind(r),k("submit",c),c.defaultPrevented||r.then(F=>{var P;let{valid:p}=F;p&&((P=s.value)==null||P.submit())}),c.preventDefault()}return U(()=>{var d;return t("form",{ref:s,class:["v-form",e.class],style:e.style,novalidate:!0,onReset:b,onSubmit:V},[(d=a.default)==null?void 0:d.call(a,l)])}),ie(l,s)}}),ut=N({active:Boolean,disabled:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...z(),...he({transition:{component:ke}})},"VCounter"),dt=O()({name:"VCounter",functional:!0,props:ut(),setup(e,o){let{slots:a}=o;const k=m(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return U(()=>t(Ve,{transition:e.transition},{default:()=>[J(t("div",{class:["v-counter",{"text-error":e.max&&!e.disabled&&parseFloat(e.value)>parseFloat(e.max)},e.class],style:e.style},[a.default?a.default({counter:k.value,max:e.max,value:e.value}):k.value]),[[oe,e.active]])]})),{}}}),ct=N({floating:Boolean,...z()},"VFieldLabel"),q=O()({name:"VFieldLabel",props:ct(),setup(e,o){let{slots:a}=o;return U(()=>t(Je,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},a)),{}}}),ft=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],re=N({appendInnerIcon:Z,bgColor:String,clearable:Boolean,clearIcon:{type:Z,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:Z,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>ft.includes(e)},"onClick:clear":G(),"onClick:appendInner":G(),"onClick:prependInner":G(),...z(),..._e(),...Fe(),...Ie()},"VField"),ue=O()({name:"VField",inheritAttrs:!1,props:{id:String,...et(),...re()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,o){let{attrs:a,emit:k,slots:l}=o;const{themeClasses:s}=Pe(e),{loaderClasses:b}=Se(e),{focusClasses:V,isFocused:d,focus:c,blur:r}=se(e),{InputIcon:F}=tt(e),{roundedClasses:p}=Be(e),{rtlClasses:P}=we(),S=m(()=>e.dirty||e.active),C=m(()=>!e.singleLine&&!!(e.label||l.label)),X=Re(),f=m(()=>e.id||`input-${X}`),Y=m(()=>`${f.value}-messages`),j=T(),D=T(),K=T(),n=m(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:y,backgroundColorStyles:g}=$e(Te(e,"bgColor")),{textColorClasses:x,textColorStyles:H}=De(m(()=>e.error||e.disabled?void 0:S.value&&d.value?e.color:e.baseColor));Ee(S,i=>{if(C.value){const u=j.value.$el,h=D.value.$el;requestAnimationFrame(()=>{const _=Le(u),v=h.getBoundingClientRect(),E=v.x-_.x,w=v.y-_.y-(_.height/2-v.height/2),R=v.width/.75,$=Math.abs(R-_.width)>1?{maxWidth:Ae(R)}:void 0,de=getComputedStyle(u),ee=getComputedStyle(h),ce=parseFloat(de.transitionDuration)*1e3||150,fe=parseFloat(ee.getPropertyValue("--v-field-label-scale")),ve=ee.getPropertyValue("color");u.style.visibility="visible",h.style.visibility="hidden",pe(u,{transform:`translate(${E}px, ${w}px) scale(${fe})`,color:ve,...$},{duration:ce,easing:Ke,direction:i?"normal":"reverse"}).finished.then(()=>{u.style.removeProperty("visibility"),h.style.removeProperty("visibility")})})}},{flush:"post"});const B=m(()=>({isActive:S,isFocused:d,controlRef:K,blur:r,focus:c}));function Q(i){i.target!==document.activeElement&&i.preventDefault()}function I(i){var u;i.key!=="Enter"&&i.key!==" "||(i.preventDefault(),i.stopPropagation(),(u=e["onClick:clear"])==null||u.call(e,new MouseEvent("click")))}return U(()=>{var E,w,R;const i=e.variant==="outlined",u=!!(l["prepend-inner"]||e.prependInnerIcon),h=!!(e.clearable||l.clear),_=!!(l["append-inner"]||e.appendInnerIcon||h),v=()=>l.label?l.label({...B.value,label:e.label,props:{for:f.value}}):e.label;return t("div",W({class:["v-field",{"v-field--active":S.value,"v-field--appended":_,"v-field--center-affix":e.centerAffix??!n.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":u,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!v(),[`v-field--variant-${e.variant}`]:!0},s.value,y.value,V.value,b.value,p.value,P.value,e.class],style:[g.value,e.style],onClick:Q},a),[t("div",{class:"v-field__overlay"},null),t(Me,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:l.loader}),u&&t("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&t(F,{key:"prepend-icon",name:"prependInner"},null),(E=l["prepend-inner"])==null?void 0:E.call(l,B.value)]),t("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&C.value&&t(q,{key:"floating-label",ref:D,class:[x.value],floating:!0,for:f.value,style:H.value},{default:()=>[v()]}),t(q,{ref:j,for:f.value},{default:()=>[v()]}),(w=l.default)==null?void 0:w.call(l,{...B.value,props:{id:f.value,class:"v-field__input","aria-describedby":Y.value},focus:c,blur:r})]),h&&t(Ne,{key:"clear"},{default:()=>[J(t("div",{class:"v-field__clearable",onMousedown:$=>{$.preventDefault(),$.stopPropagation()}},[t(Oe,{defaults:{VIcon:{icon:e.clearIcon}}},{default:()=>[l.clear?l.clear({...B.value,props:{onKeydown:I,onFocus:c,onBlur:r,onClick:e["onClick:clear"]}}):t(F,{name:"clear",onKeydown:I,onFocus:c,onBlur:r},null)]})]),[[oe,e.dirty]])]}),_&&t("div",{key:"append",class:"v-field__append-inner"},[(R=l["append-inner"])==null?void 0:R.call(l,B.value),e.appendInnerIcon&&t(F,{key:"append-icon",name:"appendInner"},null)]),t("div",{class:["v-field__outline",x.value],style:H.value},[i&&t(M,null,[t("div",{class:"v-field__outline__start"},null),C.value&&t("div",{class:"v-field__outline__notch"},[t(q,{ref:D,floating:!0,for:f.value},{default:()=>[v()]})]),t("div",{class:"v-field__outline__end"},null)]),n.value&&C.value&&t(q,{ref:D,floating:!0,for:f.value},{default:()=>[v()]})])])}),{controlRef:K}}});function vt(e){const o=Object.keys(ue.props).filter(a=>!Ue(a)&&a!=="class"&&a!=="style");return je(e,o)}const mt=["color","file","time","date","datetime-local","week","month"],bt=N({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...lt(),...re()},"VTextField"),kt=O()({name:"VTextField",directives:{Intersect:qe},inheritAttrs:!1,props:bt(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,o){let{attrs:a,emit:k,slots:l}=o;const s=We(e,"modelValue"),{isFocused:b,focus:V,blur:d}=se(e),c=m(()=>typeof e.counterValue=="function"?e.counterValue(s.value):typeof e.counterValue=="number"?e.counterValue:(s.value??"").toString().length),r=m(()=>{if(a.maxlength)return a.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),F=m(()=>["plain","underlined"].includes(e.variant));function p(n,y){var g,x;!e.autofocus||!n||(x=(g=y[0].target)==null?void 0:g.focus)==null||x.call(g)}const P=T(),S=T(),C=T(),X=m(()=>mt.includes(e.type)||e.persistentPlaceholder||b.value||e.active);function f(){var n;C.value!==document.activeElement&&((n=C.value)==null||n.focus()),b.value||V()}function Y(n){k("mousedown:control",n),n.target!==C.value&&(f(),n.preventDefault())}function j(n){f(),k("click:control",n)}function D(n){n.stopPropagation(),f(),ne(()=>{s.value=null,He(e["onClick:clear"],n)})}function K(n){var g;const y=n.target;if(s.value=y.value,(g=e.modelModifiers)!=null&&g.trim&&["text","search","password","tel","url"].includes(e.type)){const x=[y.selectionStart,y.selectionEnd];ne(()=>{y.selectionStart=x[0],y.selectionEnd=x[1]})}}return U(()=>{const n=!!(l.counter||e.counter!==!1&&e.counter!=null),y=!!(n||l.details),[g,x]=ze(a),{modelValue:H,...B}=ae.filterProps(e),Q=vt(e);return t(ae,W({ref:P,modelValue:s.value,"onUpdate:modelValue":I=>s.value=I,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":F.value},e.class],style:e.style},g,B,{centerAffix:!F.value,focused:b.value}),{...l,default:I=>{let{id:i,isDisabled:u,isDirty:h,isReadonly:_,isValid:v}=I;return t(ue,W({ref:S,onMousedown:Y,onClick:j,"onClick:clear":D,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},Q,{id:i.value,active:X.value||h.value,dirty:h.value||e.dirty,disabled:u.value,focused:b.value,error:v.value===!1}),{...l,default:E=>{let{props:{class:w,...R}}=E;const $=J(t("input",W({ref:C,value:s.value,onInput:K,autofocus:e.autofocus,readonly:_.value,disabled:u.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:f,onBlur:d},R,x),null),[[Xe("intersect"),{handler:p},null,{once:!0}]]);return t(M,null,[e.prefix&&t("span",{class:"v-text-field__prefix"},[t("span",{class:"v-text-field__prefix__text"},[e.prefix])]),l.default?t("div",{class:w,"data-no-activator":""},[l.default(),$]):Ye($,{class:w}),e.suffix&&t("span",{class:"v-text-field__suffix"},[t("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:y?I=>{var i;return t(M,null,[(i=l.details)==null?void 0:i.call(l,I),n&&t(M,null,[t("span",null,null),t(dt,{active:e.persistentCounter||b.value,value:c.value,max:r.value,disabled:e.disabled},l.counter)])])}:void 0})}),ie({},P,S,C)}});export{xt as S,kt as V,ht as a,bt as m};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bW as w,E as _,M as H,aB as A,N as O,O as R,P as j,Q as G,bX as F,bY as z,r as S,h,s as x,a as D,p as K,S as m,av as X,R as W,b7 as k,b8 as Q,bZ as U,i as Z,b_ as q,b$ as J,ba as N,b9 as p,K as Y,n as ee}from"./admin-drawer-panel-BxoNUHQr.js";import{m as te,a as ne}from"./VDialog-X0zn9AGX.js";const oe=e=>{const{touchstartX:o,touchendX:t,touchstartY:n,touchendY:i}=e,u=.5,s=16;e.offsetX=t-o,e.offsetY=i-n,Math.abs(e.offsetY)<u*Math.abs(e.offsetX)&&(e.left&&t<o-s&&e.left(e),e.right&&t>o+s&&e.right(e)),Math.abs(e.offsetX)<u*Math.abs(e.offsetY)&&(e.up&&i<n-s&&e.up(e),e.down&&i>n+s&&e.down(e))};function se(e,o){var n;const t=e.changedTouches[0];o.touchstartX=t.clientX,o.touchstartY=t.clientY,(n=o.start)==null||n.call(o,{originalEvent:e,...o})}function ie(e,o){var n;const t=e.changedTouches[0];o.touchendX=t.clientX,o.touchendY=t.clientY,(n=o.end)==null||n.call(o,{originalEvent:e,...o}),oe(o)}function ae(e,o){var n;const t=e.changedTouches[0];o.touchmoveX=t.clientX,o.touchmoveY=t.clientY,(n=o.move)==null||n.call(o,{originalEvent:e,...o})}function ue(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const o={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:e.left,right:e.right,up:e.up,down:e.down,start:e.start,move:e.move,end:e.end};return{touchstart:t=>se(t,o),touchend:t=>ie(t,o),touchmove:t=>ae(t,o)}}function ce(e,o){var v;const t=o.value,n=t!=null&&t.parent?e.parentElement:e,i=(t==null?void 0:t.options)??{passive:!0},u=(v=o.instance)==null?void 0:v.$.uid;if(!n||!u)return;const s=ue(o.value);n._touchHandlers=n._touchHandlers??Object.create(null),n._touchHandlers[u]=s,w(s).forEach(r=>{n.addEventListener(r,s[r],i)})}function le(e,o){var u,s;const t=(u=o.value)!=null&&u.parent?e.parentElement:e,n=(s=o.instance)==null?void 0:s.$.uid;if(!(t!=null&&t._touchHandlers)||!n)return;const i=t._touchHandlers[n];w(i).forEach(v=>{t.removeEventListener(v,i[v])}),delete t._touchHandlers[n]}const V={mounted:ce,unmounted:le},re=V,$=Symbol.for("vuetify:v-window"),P=Symbol.for("vuetify:v-window-group"),ve=_({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:e=>typeof e=="boolean"||e==="hover"},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{type:[Boolean,String],default:"force"},...H(),...A(),...O()},"VWindow"),me=R()({name:"VWindow",directives:{Touch:V},props:ve(),emits:{"update:modelValue":e=>!0},setup(e,o){let{slots:t}=o;const{themeClasses:n}=j(e),{isRtl:i}=G(),{t:u}=F(),s=z(e,P),v=S(),r=h(()=>i.value?!e.reverse:e.reverse),d=x(!1),y=h(()=>{const a=e.direction==="vertical"?"y":"x",f=(r.value?!d.value:d.value)?"-reverse":"";return`v-window-${a}${f}-transition`}),T=x(0),b=S(void 0),g=h(()=>s.items.value.findIndex(a=>s.selected.value.includes(a.id)));D(g,(a,l)=>{const f=s.items.value.length,I=f-1;f<=2?d.value=a<l:a===I&&l===0?d.value=!0:a===0&&l===I?d.value=!1:d.value=a<l}),K($,{transition:y,isReversed:d,transitionCount:T,transitionHeight:b,rootRef:v});const c=h(()=>e.continuous||g.value!==0),B=h(()=>e.continuous||g.value!==s.items.value.length-1);function C(){c.value&&s.prev()}function E(){B.value&&s.next()}const L=h(()=>{const a=[],l={icon:i.value?e.nextIcon:e.prevIcon,class:`v-window__${r.value?"right":"left"}`,onClick:s.prev,"aria-label":u("$vuetify.carousel.prev")};a.push(c.value?t.prev?t.prev({props:l}):m(X,l,null):m("div",null,null));const f={icon:i.value?e.prevIcon:e.nextIcon,class:`v-window__${r.value?"left":"right"}`,onClick:s.next,"aria-label":u("$vuetify.carousel.next")};return a.push(B.value?t.next?t.next({props:f}):m(X,f,null):m("div",null,null)),a}),M=h(()=>e.touch===!1?e.touch:{...{left:()=>{r.value?C():E()},right:()=>{r.value?E():C()},start:l=>{let{originalEvent:f}=l;f.stopPropagation()}},...e.touch===!0?{}:e.touch});return W(()=>k(m(e.tag,{ref:v,class:["v-window",{"v-window--show-arrows-on-hover":e.showArrows==="hover"},n.value,e.class],style:e.style},{default:()=>{var a,l;return[m("div",{class:"v-window__container",style:{height:b.value}},[(a=t.default)==null?void 0:a.call(t,{group:s}),e.showArrows!==!1&&m("div",{class:"v-window__controls"},[L.value])]),(l=t.additional)==null?void 0:l.call(t,{group:s})]}}),[[Q("touch"),M.value]])),{group:s}}}),de=_({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},...H(),...U(),...te()},"VWindowItem"),ge=R()({name:"VWindowItem",directives:{Touch:re},props:de(),emits:{"group:selected":e=>!0},setup(e,o){let{slots:t}=o;const n=Z($),i=q(e,P),{isBooted:u}=J();if(!n||!i)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const s=x(!1),v=h(()=>u.value&&(n.isReversed.value?e.reverseTransition!==!1:e.transition!==!1));function r(){!s.value||!n||(s.value=!1,n.transitionCount.value>0&&(n.transitionCount.value-=1,n.transitionCount.value===0&&(n.transitionHeight.value=void 0)))}function d(){var c;s.value||!n||(s.value=!0,n.transitionCount.value===0&&(n.transitionHeight.value=Y((c=n.rootRef.value)==null?void 0:c.clientHeight)),n.transitionCount.value+=1)}function y(){r()}function T(c){s.value&&ee(()=>{!v.value||!s.value||!n||(n.transitionHeight.value=Y(c.clientHeight))})}const b=h(()=>{const c=n.isReversed.value?e.reverseTransition:e.transition;return v.value?{name:typeof c!="string"?n.transition.value:c,onBeforeEnter:d,onAfterEnter:r,onEnterCancelled:y,onBeforeLeave:d,onAfterLeave:r,onLeaveCancelled:y,onEnter:T}:!1}),{hasContent:g}=ne(e,i.isSelected);return W(()=>m(p,{transition:b.value,disabled:!u.value},{default:()=>{var c;return[k(m("div",{class:["v-window-item",i.selectedClass.value,e.class],style:e.style},[g.value&&((c=t.default)==null?void 0:c.call(t))]),[[N,i.isSelected.value]])]}})),{groupItem:i}}});export{me as V,de as a,ge as b,ve as m};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bW as w,E as _,M as H,aB as A,N as O,O as R,P as j,Q as G,bX as F,bY as z,r as S,h,s as x,a as D,p as K,S as m,av as X,R as W,b7 as k,b8 as Q,bZ as U,i as Z,b_ as q,b$ as J,ba as N,b9 as p,K as Y,n as ee}from"./admin-drawer-panel-BxoNUHQr.js";import{m as te,a as ne}from"./VDialog-X0zn9AGX.js";const oe=e=>{const{touchstartX:o,touchendX:t,touchstartY:n,touchendY:i}=e,u=.5,s=16;e.offsetX=t-o,e.offsetY=i-n,Math.abs(e.offsetY)<u*Math.abs(e.offsetX)&&(e.left&&t<o-s&&e.left(e),e.right&&t>o+s&&e.right(e)),Math.abs(e.offsetX)<u*Math.abs(e.offsetY)&&(e.up&&i<n-s&&e.up(e),e.down&&i>n+s&&e.down(e))};function se(e,o){var n;const t=e.changedTouches[0];o.touchstartX=t.clientX,o.touchstartY=t.clientY,(n=o.start)==null||n.call(o,{originalEvent:e,...o})}function ie(e,o){var n;const t=e.changedTouches[0];o.touchendX=t.clientX,o.touchendY=t.clientY,(n=o.end)==null||n.call(o,{originalEvent:e,...o}),oe(o)}function ae(e,o){var n;const t=e.changedTouches[0];o.touchmoveX=t.clientX,o.touchmoveY=t.clientY,(n=o.move)==null||n.call(o,{originalEvent:e,...o})}function ue(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const o={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:e.left,right:e.right,up:e.up,down:e.down,start:e.start,move:e.move,end:e.end};return{touchstart:t=>se(t,o),touchend:t=>ie(t,o),touchmove:t=>ae(t,o)}}function ce(e,o){var v;const t=o.value,n=t!=null&&t.parent?e.parentElement:e,i=(t==null?void 0:t.options)??{passive:!0},u=(v=o.instance)==null?void 0:v.$.uid;if(!n||!u)return;const s=ue(o.value);n._touchHandlers=n._touchHandlers??Object.create(null),n._touchHandlers[u]=s,w(s).forEach(r=>{n.addEventListener(r,s[r],i)})}function le(e,o){var u,s;const t=(u=o.value)!=null&&u.parent?e.parentElement:e,n=(s=o.instance)==null?void 0:s.$.uid;if(!(t!=null&&t._touchHandlers)||!n)return;const i=t._touchHandlers[n];w(i).forEach(v=>{t.removeEventListener(v,i[v])}),delete t._touchHandlers[n]}const V={mounted:ce,unmounted:le},re=V,$=Symbol.for("vuetify:v-window"),P=Symbol.for("vuetify:v-window-group"),ve=_({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:e=>typeof e=="boolean"||e==="hover"},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{type:[Boolean,String],default:"force"},...H(),...A(),...O()},"VWindow"),me=R()({name:"VWindow",directives:{Touch:V},props:ve(),emits:{"update:modelValue":e=>!0},setup(e,o){let{slots:t}=o;const{themeClasses:n}=j(e),{isRtl:i}=G(),{t:u}=F(),s=z(e,P),v=S(),r=h(()=>i.value?!e.reverse:e.reverse),d=x(!1),y=h(()=>{const a=e.direction==="vertical"?"y":"x",f=(r.value?!d.value:d.value)?"-reverse":"";return`v-window-${a}${f}-transition`}),T=x(0),b=S(void 0),g=h(()=>s.items.value.findIndex(a=>s.selected.value.includes(a.id)));D(g,(a,l)=>{const f=s.items.value.length,I=f-1;f<=2?d.value=a<l:a===I&&l===0?d.value=!0:a===0&&l===I?d.value=!1:d.value=a<l}),K($,{transition:y,isReversed:d,transitionCount:T,transitionHeight:b,rootRef:v});const c=h(()=>e.continuous||g.value!==0),B=h(()=>e.continuous||g.value!==s.items.value.length-1);function C(){c.value&&s.prev()}function E(){B.value&&s.next()}const L=h(()=>{const a=[],l={icon:i.value?e.nextIcon:e.prevIcon,class:`v-window__${r.value?"right":"left"}`,onClick:s.prev,"aria-label":u("$vuetify.carousel.prev")};a.push(c.value?t.prev?t.prev({props:l}):m(X,l,null):m("div",null,null));const f={icon:i.value?e.prevIcon:e.nextIcon,class:`v-window__${r.value?"left":"right"}`,onClick:s.next,"aria-label":u("$vuetify.carousel.next")};return a.push(B.value?t.next?t.next({props:f}):m(X,f,null):m("div",null,null)),a}),M=h(()=>e.touch===!1?e.touch:{...{left:()=>{r.value?C():E()},right:()=>{r.value?E():C()},start:l=>{let{originalEvent:f}=l;f.stopPropagation()}},...e.touch===!0?{}:e.touch});return W(()=>k(m(e.tag,{ref:v,class:["v-window",{"v-window--show-arrows-on-hover":e.showArrows==="hover"},n.value,e.class],style:e.style},{default:()=>{var a,l;return[m("div",{class:"v-window__container",style:{height:b.value}},[(a=t.default)==null?void 0:a.call(t,{group:s}),e.showArrows!==!1&&m("div",{class:"v-window__controls"},[L.value])]),(l=t.additional)==null?void 0:l.call(t,{group:s})]}}),[[Q("touch"),M.value]])),{group:s}}}),de=_({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},...H(),...U(),...te()},"VWindowItem"),ge=R()({name:"VWindowItem",directives:{Touch:re},props:de(),emits:{"group:selected":e=>!0},setup(e,o){let{slots:t}=o;const n=Z($),i=q(e,P),{isBooted:u}=J();if(!n||!i)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const s=x(!1),v=h(()=>u.value&&(n.isReversed.value?e.reverseTransition!==!1:e.transition!==!1));function r(){!s.value||!n||(s.value=!1,n.transitionCount.value>0&&(n.transitionCount.value-=1,n.transitionCount.value===0&&(n.transitionHeight.value=void 0)))}function d(){var c;s.value||!n||(s.value=!0,n.transitionCount.value===0&&(n.transitionHeight.value=Y((c=n.rootRef.value)==null?void 0:c.clientHeight)),n.transitionCount.value+=1)}function y(){r()}function T(c){s.value&&ee(()=>{!v.value||!s.value||!n||(n.transitionHeight.value=Y(c.clientHeight))})}const b=h(()=>{const c=n.isReversed.value?e.reverseTransition:e.transition;return v.value?{name:typeof c!="string"?n.transition.value:c,onBeforeEnter:d,onAfterEnter:r,onEnterCancelled:y,onBeforeLeave:d,onAfterLeave:r,onLeaveCancelled:y,onEnter:T}:!1}),{hasContent:g}=ne(e,i.isSelected);return W(()=>m(p,{transition:b.value,disabled:!u.value},{default:()=>{var c;return[k(m("div",{class:["v-window-item",i.selectedClass.value,e.class],style:e.style},[g.value&&((c=t.default)==null?void 0:c.call(t))]),[[N,i.isSelected.value]])]}})),{groupItem:i}}});export{me as V,de as a,ge as b,ve as m};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as A,Y as g,Z as m,X as v,$ as b,S as r,ak as $,al as M,am as ie,an as O,ao as le,ap as K,aq as de,ar as ce,W as J,D as ue,E as I,as as Z,at as me,O as W,au as be,r as X,h as B,R as L,av as Y,U as P,aw as x,ax as fe,ay as ve,i as we,az as Q,aA as pe,aB as ge,aC as _e,aD as he,aE as h,aF as Te,K as Ve,aG as ye,B as E,V as Se,aH as D,aI as j,aJ as xe,aK as Ae,aL as Ce,m as ke}from"./admin-drawer-panel-BxoNUHQr.js";import{S as De,V as $e,a as Be,b as Pe}from"./settings-drawer-7iTnAdjf.js";import{u as Ie,t as We}from"./main-Dy9Uqpmh.js";import{f as Le,u as Ue}from"./VDialog-X0zn9AGX.js";import{m as ze,V as R,a as Ee,b as G}from"./VWindowItem-iyZ1XOkP.js";import{m as Me,V as q}from"./VSlideGroup-D_oNvCOd.js";import{U as Re,V as Ge}from"./unauthorized-Bs7NSqea.js";import"./copy-to-clipboard-DoUvDJVx.js";import"./change-password-dialog-DZ9dP8_F.js";import"./VTextField-Bs8oq9mk.js";import"./VSelectionControl-CGu0oz0K.js";const Oe={name:"AdminTitleToolbar",components:{SettingsDrawerButton:De},computed:{mdAndDown(){return this.$vuetify.display.mdAndDown}}};function Fe(e,a,l,t,s,i){const o=g("SettingsDrawerButton");return m(),v(Be,{id:"titleBar",class:M(["codexToolbar",{drawerMargin:!i.mdAndDown}]),density:"compact",elevation:"8"},{default:b(()=>[r($e,{class:"codexToolbarTitle"},{default:b(()=>[$(" Codex Administration ")]),_:1}),(m(),v(o,{key:i.mdAndDown,class:M({invisible:!i.mdAndDown}),disabled:!i.mdAndDown},null,8,["class","disabled"]))]),_:1},8,["class"])}const Ne=A(Oe,[["render",Fe],["__scopeId","data-v-355452b0"]]),He={name:"AdminSettingsPanel",data(){return{mdiBookshelf:ie}},computed:{...O(Ie,["lastRoute"])}};function Xe(e,a,l,t,s,i){return m(),v(ce,{ref:"browserLink",to:e.lastRoute},{default:b(()=>[r(de,null,{default:b(()=>[r(le,null,{default:b(()=>[$(K(s.mdiBookshelf),1)]),_:1}),$("Browser ")]),_:1})]),_:1},8,["to"])}const Ye=A(He,[["render",Xe]]),je={name:"AdminSettingsDrawer",components:{SettingsDrawer:Pe,AdminSettingsPanel:Ye},computed:{mdAndDown(){return this.$vuetify.display.mdAndDown}},watch:{mdAndDown(e){e||this.setSettingsDrawerOpen(!0)}},mounted(){this.mdAndDown||this.setSettingsDrawerOpen(!0)},methods:{...J(ue,["setSettingsDrawerOpen"])}};function qe(e,a,l,t,s,i){const o=g("AdminSettingsPanel"),n=g("SettingsDrawer");return m(),v(n,{title:"Admin",temporary:i.mdAndDown},{panel:b(()=>[r(o)]),_:1},8,["temporary"])}const Ke=A(je,[["render",qe]]),F=Symbol.for("vuetify:v-tabs"),Je=I({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...Z(me({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])},"VTab"),ee=W()({name:"VTab",props:Je(),setup(e,a){let{slots:l,attrs:t}=a;const{textColorClasses:s,textColorStyles:i}=be(e,"sliderColor"),o=X(),n=X(),u=B(()=>e.direction==="horizontal"),_=B(()=>{var w,d;return((d=(w=o.value)==null?void 0:w.group)==null?void 0:d.isSelected.value)??!1});function U(w){var c,p;let{value:d}=w;if(d){const f=(p=(c=o.value)==null?void 0:c.$el.parentElement)==null?void 0:p.querySelector(".v-tab--selected .v-tab__slider"),z=n.value;if(!f||!z)return;const te=getComputedStyle(f).color,T=f.getBoundingClientRect(),V=z.getBoundingClientRect(),C=u.value?"x":"y",k=u.value?"X":"Y",N=u.value?"right":"bottom",y=u.value?"width":"height",ae=T[C],se=V[C],S=ae>se?T[N]-V[N]:T[C]-V[C],oe=Math.sign(S)>0?u.value?"right":"bottom":Math.sign(S)<0?u.value?"left":"top":"center",ne=(Math.abs(S)+(Math.sign(S)<0?T[y]:V[y]))/Math.max(T[y],V[y])||0,re=T[y]/V[y]||0,H=1.5;fe(z,{backgroundColor:[te,"currentcolor"],transform:[`translate${k}(${S}px) scale${k}(${re})`,`translate${k}(${S/H}px) scale${k}(${(ne-1)/H+1})`,"none"],transformOrigin:Array(3).fill(oe)},{duration:225,easing:ve})}}return L(()=>{const w=Y.filterProps(e);return r(Y,x({symbol:F,ref:o,class:["v-tab",e.class],style:e.style,tabindex:_.value?0:-1,role:"tab","aria-selected":String(_.value),active:!1},w,t,{block:e.fixed,maxWidth:e.fixed?300:void 0,"onGroup:selected":U}),{...l,default:()=>{var d;return r(P,null,[((d=l.default)==null?void 0:d.call(l))??e.text,!e.hideSlider&&r("div",{ref:n,class:["v-tab__slider",s.value],style:i.value},null)])}})}),Le({},o)}}),Ze=I({...Z(ze(),["continuous","nextIcon","prevIcon","showArrows","touch","mandatory"])},"VTabsWindow"),Qe=W()({name:"VTabsWindow",props:Ze(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:l}=a;const t=we(F,null),s=Q(e,"modelValue"),i=B({get(){var o;return s.value!=null||!t?s.value:(o=t.items.value.find(n=>t.selected.value.includes(n.id)))==null?void 0:o.value},set(o){s.value=o}});return L(()=>{const o=R.filterProps(e);return r(R,x({_as:"VTabsWindow"},o,{modelValue:i.value,"onUpdate:modelValue":n=>i.value=n,class:["v-tabs-window",e.class],style:e.style,mandatory:!1,touch:!1}),l)}),{}}}),et=I({...Ee()},"VTabsWindowItem"),tt=W()({name:"VTabsWindowItem",props:et(),setup(e,a){let{slots:l}=a;return L(()=>{const t=G.filterProps(e);return r(G,x({_as:"VTabsWindowItem"},t,{class:["v-tabs-window-item",e.class],style:e.style}),l)}),{}}});function at(e){return e?e.map(a=>ye(a)?a:{text:a,value:a}):[]}const st=I({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String,...Me({mandatory:"force",selectedClass:"v-tab-item--selected"}),...pe(),...ge()},"VTabs"),ot=W()({name:"VTabs",props:st(),emits:{"update:modelValue":e=>!0},setup(e,a){let{attrs:l,slots:t}=a;const s=Q(e,"modelValue"),i=B(()=>at(e.items)),{densityClasses:o}=_e(e),{backgroundColorClasses:n,backgroundColorStyles:u}=he(h(e,"bgColor")),{scopeId:_}=Ue();return Te({VTab:{color:h(e,"color"),direction:h(e,"direction"),stacked:h(e,"stacked"),fixed:h(e,"fixedTabs"),sliderColor:h(e,"sliderColor"),hideSlider:h(e,"hideSlider")}}),L(()=>{const U=q.filterProps(e),w=!!(t.window||e.items.length>0);return r(P,null,[r(q,x(U,{modelValue:s.value,"onUpdate:modelValue":d=>s.value=d,class:["v-tabs",`v-tabs--${e.direction}`,`v-tabs--align-tabs-${e.alignTabs}`,{"v-tabs--fixed-tabs":e.fixedTabs,"v-tabs--grow":e.grow,"v-tabs--stacked":e.stacked},o.value,n.value,e.class],style:[{"--v-tabs-height":Ve(e.height)},u.value,e.style],role:"tablist",symbol:F},_,l),{default:()=>{var d;return[((d=t.default)==null?void 0:d.call(t))??i.value.map(c=>{var p;return((p=t.tab)==null?void 0:p.call(t,{item:c}))??r(ee,x(c,{key:c.text,value:c.value}),{default:t[`tab.${c.value}`]?()=>{var f;return(f=t[`tab.${c.value}`])==null?void 0:f.call(t,{item:c})}:void 0})})]}}),w&&r(Qe,x({modelValue:s.value,"onUpdate:modelValue":d=>s.value=d,key:"tabs-window"},_),{default:()=>{var d;return[i.value.map(c=>{var p;return((p=t.item)==null?void 0:p.call(t,{item:c}))??r(tt,{value:c.value},{default:()=>{var f;return(f=t[`item.${c.value}`])==null?void 0:f.call(t,{item:c})}})}),(d=t.window)==null?void 0:d.call(t)]}})])}),{}}}),nt={name:"AdminTabs",data(){return{activeTab:"Libraries",tabs:["Users","Groups","Libraries","Flags","Tasks","Stats"]}},computed:{...O(E,["comicLibrariesExist"]),...Se(E,{librariesLoaded:e=>!!e.libraries}),mdAndDown(){return this.$vuetify.display.mdAndDown}},watch:{$route(e){const l=e.path.split("/").at(-1);this.activeTab=We(l)}},mounted(){this.librariesLoaded||this.loadTables(["Library"])},methods:{...J(E,["loadTables"])}},rt={id:"tabContainer"},it={key:0,id:"noLibraries"};function lt(e,a,l,t,s,i){const o=g("router-view");return m(),D("div",rt,[r(ot,{class:M(["adminTabs",{drawerMargin:!i.mdAndDown}]),grow:"","show-arrows":""},{default:b(()=>[(m(!0),D(P,null,j(s.tabs,n=>(m(),v(ee,{key:n,modelValue:s.activeTab,"onUpdate:modelValue":a[0]||(a[0]=u=>s.activeTab=u),to:n.toLowerCase()},{default:b(()=>[$(K(n),1)]),_:2},1032,["modelValue","to"]))),128))]),_:1},8,["class"]),r(R,{id:"tabItems",modelValue:s.activeTab,"onUpdate:modelValue":a[1]||(a[1]=n=>s.activeTab=n),touch:!1},{default:b(()=>[(m(!0),D(P,null,j(s.tabs,n=>(m(),v(o,{key:n},{default:b(({Component:u})=>[r(G,{value:n,class:"tabItemContainer"},{default:b(()=>[(m(),v(xe(u)))]),_:2},1032,["value"])]),_:2},1024))),128))]),_:1},8,["modelValue"]),e.comicLibrariesExist?Ae("",!0):(m(),D("div",it," Codex has no libraries. Select the Libraries tab and add a comic library. "))])}const dt=A(nt,[["render",lt],["__scopeId","data-v-f7a7ae94"]]),ct={name:"MainAdmin",components:{AdminTitleToolbar:Ne,AdminTabs:dt,AdminSettingsDrawer:Ke,Unauthorized:Re},data(){return{mdiLogin:Ce}},computed:{...O(ke,["isUserAdmin"])}};function ut(e,a,l,t,s,i){const o=g("AdminTitleToolbar"),n=g("AdminTabs"),u=g("AdminSettingsDrawer"),_=g("Unauthorized");return e.isUserAdmin?(m(),v(Ge,{key:0},{default:b(()=>[r(o),r(n),r(u)]),_:1})):(m(),v(_,{key:1}))}const St=A(ct,[["render",ut]]);export{St as default};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as A,Y as g,Z as m,X as v,$ as b,S as r,ak as $,al as M,am as ie,an as O,ao as le,ap as K,aq as de,ar as ce,W as J,D as ue,E as I,as as Z,at as me,O as W,au as be,r as X,h as B,R as L,av as Y,U as P,aw as x,ax as fe,ay as ve,i as we,az as Q,aA as pe,aB as ge,aC as _e,aD as he,aE as h,aF as Te,K as Ve,aG as ye,B as E,V as Se,aH as D,aI as j,aJ as xe,aK as Ae,aL as Ce,m as ke}from"./admin-drawer-panel-BxoNUHQr.js";import{S as De,V as $e,a as Be,b as Pe}from"./settings-drawer-7iTnAdjf.js";import{u as Ie,t as We}from"./main-Dy9Uqpmh.js";import{f as Le,u as Ue}from"./VDialog-X0zn9AGX.js";import{m as ze,V as R,a as Ee,b as G}from"./VWindowItem-iyZ1XOkP.js";import{m as Me,V as q}from"./VSlideGroup-D_oNvCOd.js";import{U as Re,V as Ge}from"./unauthorized-Bs7NSqea.js";import"./copy-to-clipboard-DoUvDJVx.js";import"./change-password-dialog-DZ9dP8_F.js";import"./VTextField-Bs8oq9mk.js";import"./VSelectionControl-CGu0oz0K.js";const Oe={name:"AdminTitleToolbar",components:{SettingsDrawerButton:De},computed:{mdAndDown(){return this.$vuetify.display.mdAndDown}}};function Fe(e,a,l,t,s,i){const o=g("SettingsDrawerButton");return m(),v(Be,{id:"titleBar",class:M(["codexToolbar",{drawerMargin:!i.mdAndDown}]),density:"compact",elevation:"8"},{default:b(()=>[r($e,{class:"codexToolbarTitle"},{default:b(()=>[$(" Codex Administration ")]),_:1}),(m(),v(o,{key:i.mdAndDown,class:M({invisible:!i.mdAndDown}),disabled:!i.mdAndDown},null,8,["class","disabled"]))]),_:1},8,["class"])}const Ne=A(Oe,[["render",Fe],["__scopeId","data-v-355452b0"]]),He={name:"AdminSettingsPanel",data(){return{mdiBookshelf:ie}},computed:{...O(Ie,["lastRoute"])}};function Xe(e,a,l,t,s,i){return m(),v(ce,{ref:"browserLink",to:e.lastRoute},{default:b(()=>[r(de,null,{default:b(()=>[r(le,null,{default:b(()=>[$(K(s.mdiBookshelf),1)]),_:1}),$("Browser ")]),_:1})]),_:1},8,["to"])}const Ye=A(He,[["render",Xe]]),je={name:"AdminSettingsDrawer",components:{SettingsDrawer:Pe,AdminSettingsPanel:Ye},computed:{mdAndDown(){return this.$vuetify.display.mdAndDown}},watch:{mdAndDown(e){e||this.setSettingsDrawerOpen(!0)}},mounted(){this.mdAndDown||this.setSettingsDrawerOpen(!0)},methods:{...J(ue,["setSettingsDrawerOpen"])}};function qe(e,a,l,t,s,i){const o=g("AdminSettingsPanel"),n=g("SettingsDrawer");return m(),v(n,{title:"Admin",temporary:i.mdAndDown},{panel:b(()=>[r(o)]),_:1},8,["temporary"])}const Ke=A(je,[["render",qe]]),F=Symbol.for("vuetify:v-tabs"),Je=I({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...Z(me({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])},"VTab"),ee=W()({name:"VTab",props:Je(),setup(e,a){let{slots:l,attrs:t}=a;const{textColorClasses:s,textColorStyles:i}=be(e,"sliderColor"),o=X(),n=X(),u=B(()=>e.direction==="horizontal"),_=B(()=>{var w,d;return((d=(w=o.value)==null?void 0:w.group)==null?void 0:d.isSelected.value)??!1});function U(w){var c,p;let{value:d}=w;if(d){const f=(p=(c=o.value)==null?void 0:c.$el.parentElement)==null?void 0:p.querySelector(".v-tab--selected .v-tab__slider"),z=n.value;if(!f||!z)return;const te=getComputedStyle(f).color,T=f.getBoundingClientRect(),V=z.getBoundingClientRect(),C=u.value?"x":"y",k=u.value?"X":"Y",N=u.value?"right":"bottom",y=u.value?"width":"height",ae=T[C],se=V[C],S=ae>se?T[N]-V[N]:T[C]-V[C],oe=Math.sign(S)>0?u.value?"right":"bottom":Math.sign(S)<0?u.value?"left":"top":"center",ne=(Math.abs(S)+(Math.sign(S)<0?T[y]:V[y]))/Math.max(T[y],V[y])||0,re=T[y]/V[y]||0,H=1.5;fe(z,{backgroundColor:[te,"currentcolor"],transform:[`translate${k}(${S}px) scale${k}(${re})`,`translate${k}(${S/H}px) scale${k}(${(ne-1)/H+1})`,"none"],transformOrigin:Array(3).fill(oe)},{duration:225,easing:ve})}}return L(()=>{const w=Y.filterProps(e);return r(Y,x({symbol:F,ref:o,class:["v-tab",e.class],style:e.style,tabindex:_.value?0:-1,role:"tab","aria-selected":String(_.value),active:!1},w,t,{block:e.fixed,maxWidth:e.fixed?300:void 0,"onGroup:selected":U}),{...l,default:()=>{var d;return r(P,null,[((d=l.default)==null?void 0:d.call(l))??e.text,!e.hideSlider&&r("div",{ref:n,class:["v-tab__slider",s.value],style:i.value},null)])}})}),Le({},o)}}),Ze=I({...Z(ze(),["continuous","nextIcon","prevIcon","showArrows","touch","mandatory"])},"VTabsWindow"),Qe=W()({name:"VTabsWindow",props:Ze(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:l}=a;const t=we(F,null),s=Q(e,"modelValue"),i=B({get(){var o;return s.value!=null||!t?s.value:(o=t.items.value.find(n=>t.selected.value.includes(n.id)))==null?void 0:o.value},set(o){s.value=o}});return L(()=>{const o=R.filterProps(e);return r(R,x({_as:"VTabsWindow"},o,{modelValue:i.value,"onUpdate:modelValue":n=>i.value=n,class:["v-tabs-window",e.class],style:e.style,mandatory:!1,touch:!1}),l)}),{}}}),et=I({...Ee()},"VTabsWindowItem"),tt=W()({name:"VTabsWindowItem",props:et(),setup(e,a){let{slots:l}=a;return L(()=>{const t=G.filterProps(e);return r(G,x({_as:"VTabsWindowItem"},t,{class:["v-tabs-window-item",e.class],style:e.style}),l)}),{}}});function at(e){return e?e.map(a=>ye(a)?a:{text:a,value:a}):[]}const st=I({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String,...Me({mandatory:"force",selectedClass:"v-tab-item--selected"}),...pe(),...ge()},"VTabs"),ot=W()({name:"VTabs",props:st(),emits:{"update:modelValue":e=>!0},setup(e,a){let{attrs:l,slots:t}=a;const s=Q(e,"modelValue"),i=B(()=>at(e.items)),{densityClasses:o}=_e(e),{backgroundColorClasses:n,backgroundColorStyles:u}=he(h(e,"bgColor")),{scopeId:_}=Ue();return Te({VTab:{color:h(e,"color"),direction:h(e,"direction"),stacked:h(e,"stacked"),fixed:h(e,"fixedTabs"),sliderColor:h(e,"sliderColor"),hideSlider:h(e,"hideSlider")}}),L(()=>{const U=q.filterProps(e),w=!!(t.window||e.items.length>0);return r(P,null,[r(q,x(U,{modelValue:s.value,"onUpdate:modelValue":d=>s.value=d,class:["v-tabs",`v-tabs--${e.direction}`,`v-tabs--align-tabs-${e.alignTabs}`,{"v-tabs--fixed-tabs":e.fixedTabs,"v-tabs--grow":e.grow,"v-tabs--stacked":e.stacked},o.value,n.value,e.class],style:[{"--v-tabs-height":Ve(e.height)},u.value,e.style],role:"tablist",symbol:F},_,l),{default:()=>{var d;return[((d=t.default)==null?void 0:d.call(t))??i.value.map(c=>{var p;return((p=t.tab)==null?void 0:p.call(t,{item:c}))??r(ee,x(c,{key:c.text,value:c.value}),{default:t[`tab.${c.value}`]?()=>{var f;return(f=t[`tab.${c.value}`])==null?void 0:f.call(t,{item:c})}:void 0})})]}}),w&&r(Qe,x({modelValue:s.value,"onUpdate:modelValue":d=>s.value=d,key:"tabs-window"},_),{default:()=>{var d;return[i.value.map(c=>{var p;return((p=t.item)==null?void 0:p.call(t,{item:c}))??r(tt,{value:c.value},{default:()=>{var f;return(f=t[`item.${c.value}`])==null?void 0:f.call(t,{item:c})}})}),(d=t.window)==null?void 0:d.call(t)]}})])}),{}}}),nt={name:"AdminTabs",data(){return{activeTab:"Libraries",tabs:["Users","Groups","Libraries","Flags","Tasks","Stats"]}},computed:{...O(E,["comicLibrariesExist"]),...Se(E,{librariesLoaded:e=>!!e.libraries}),mdAndDown(){return this.$vuetify.display.mdAndDown}},watch:{$route(e){const l=e.path.split("/").at(-1);this.activeTab=We(l)}},mounted(){this.librariesLoaded||this.loadTables(["Library"])},methods:{...J(E,["loadTables"])}},rt={id:"tabContainer"},it={key:0,id:"noLibraries"};function lt(e,a,l,t,s,i){const o=g("router-view");return m(),D("div",rt,[r(ot,{class:M(["adminTabs",{drawerMargin:!i.mdAndDown}]),grow:"","show-arrows":""},{default:b(()=>[(m(!0),D(P,null,j(s.tabs,n=>(m(),v(ee,{key:n,modelValue:s.activeTab,"onUpdate:modelValue":a[0]||(a[0]=u=>s.activeTab=u),to:n.toLowerCase()},{default:b(()=>[$(K(n),1)]),_:2},1032,["modelValue","to"]))),128))]),_:1},8,["class"]),r(R,{id:"tabItems",modelValue:s.activeTab,"onUpdate:modelValue":a[1]||(a[1]=n=>s.activeTab=n),touch:!1},{default:b(()=>[(m(!0),D(P,null,j(s.tabs,n=>(m(),v(o,{key:n},{default:b(({Component:u})=>[r(G,{value:n,class:"tabItemContainer"},{default:b(()=>[(m(),v(xe(u)))]),_:2},1032,["value"])]),_:2},1024))),128))]),_:1},8,["modelValue"]),e.comicLibrariesExist?Ae("",!0):(m(),D("div",it," Codex has no libraries. Select the Libraries tab and add a comic library. "))])}const dt=A(nt,[["render",lt],["__scopeId","data-v-f7a7ae94"]]),ct={name:"MainAdmin",components:{AdminTitleToolbar:Ne,AdminTabs:dt,AdminSettingsDrawer:Ke,Unauthorized:Re},data(){return{mdiLogin:Ce}},computed:{...O(ke,["isUserAdmin"])}};function ut(e,a,l,t,s,i){const o=g("AdminTitleToolbar"),n=g("AdminTabs"),u=g("AdminSettingsDrawer"),_=g("Unauthorized");return e.isUserAdmin?(m(),v(Ge,{key:0},{default:b(()=>[r(o),r(n),r(u)]),_:1})):(m(),v(_,{key:1}))}const St=A(ct,[["render",ut]]);export{St as default};
|
|
Binary file
|
|
Binary file
|