codex 1.5.0a2__py3-none-any.whl → 1.5.0rc2__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/static_root/assets/{VCheckbox-tTkeubf8.f27220f11f32.js → VCheckbox-MGquS0QE.fa4200601992.js} +1 -1
- codex/static_root/assets/VCheckbox-MGquS0QE.fa4200601992.js.br +0 -0
- codex/static_root/assets/VCheckbox-MGquS0QE.fa4200601992.js.gz +0 -0
- codex/static_root/assets/{VCheckbox-tTkeubf8.js → VCheckbox-MGquS0QE.js} +1 -1
- codex/static_root/assets/VCheckbox-MGquS0QE.js.br +0 -0
- codex/static_root/assets/VCheckbox-MGquS0QE.js.gz +0 -0
- codex/static_root/assets/{VCheckboxBtn-WKexthxJ.9423d3f6f1fd.js → VCheckboxBtn-yxvU5omH.988a7b938375.js} +1 -1
- codex/static_root/assets/VCheckboxBtn-yxvU5omH.988a7b938375.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-yxvU5omH.988a7b938375.js.gz +0 -0
- codex/static_root/assets/{VCheckboxBtn-WKexthxJ.js → VCheckboxBtn-yxvU5omH.js} +1 -1
- codex/static_root/assets/VCheckboxBtn-yxvU5omH.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-yxvU5omH.js.gz +0 -0
- codex/static_root/assets/{VCombobox-Y594p6q7.3569a5f7d24e.js → VCombobox-w65JObkI.97abe248659d.js} +1 -1
- codex/static_root/assets/VCombobox-w65JObkI.97abe248659d.js.br +0 -0
- codex/static_root/assets/VCombobox-w65JObkI.97abe248659d.js.gz +0 -0
- codex/static_root/assets/{VCombobox-Y594p6q7.js → VCombobox-w65JObkI.js} +1 -1
- codex/static_root/assets/VCombobox-w65JObkI.js.br +0 -0
- codex/static_root/assets/VCombobox-w65JObkI.js.gz +0 -0
- codex/static_root/assets/{VDataTableVirtual-HbBa_J70.c2728233069c.js → VDataTableVirtual-oL2PAKTi.a8a17160d7ef.js} +1 -1
- codex/static_root/assets/VDataTableVirtual-oL2PAKTi.a8a17160d7ef.js.br +0 -0
- codex/static_root/assets/VDataTableVirtual-oL2PAKTi.a8a17160d7ef.js.gz +0 -0
- codex/static_root/assets/{VDataTableVirtual-HbBa_J70.js → VDataTableVirtual-oL2PAKTi.js} +1 -1
- codex/static_root/assets/VDataTableVirtual-oL2PAKTi.js.br +0 -0
- codex/static_root/assets/VDataTableVirtual-oL2PAKTi.js.gz +0 -0
- codex/static_root/assets/{VExpansionPanel-qavjnSBS.84942ce8999c.js → VExpansionPanel-EX1vU7wN.f746ab10168a.js} +1 -1
- codex/static_root/assets/VExpansionPanel-EX1vU7wN.f746ab10168a.js.br +0 -0
- codex/static_root/assets/VExpansionPanel-EX1vU7wN.f746ab10168a.js.gz +0 -0
- codex/static_root/assets/{VExpansionPanel-qavjnSBS.js → VExpansionPanel-EX1vU7wN.js} +1 -1
- codex/static_root/assets/VExpansionPanel-EX1vU7wN.js.br +0 -0
- codex/static_root/assets/VExpansionPanel-EX1vU7wN.js.gz +0 -0
- codex/static_root/assets/{VMain-v9LFWFNT.8adc69f0bdfb.js → VMain-VT-qZQ__.c0547e61f15f.js} +1 -1
- codex/static_root/assets/VMain-VT-qZQ__.c0547e61f15f.js.br +0 -0
- codex/static_root/assets/VMain-VT-qZQ__.c0547e61f15f.js.gz +0 -0
- codex/static_root/assets/{VMain-v9LFWFNT.js → VMain-VT-qZQ__.js} +1 -1
- codex/static_root/assets/VMain-VT-qZQ__.js.br +0 -0
- codex/static_root/assets/VMain-VT-qZQ__.js.gz +0 -0
- codex/static_root/assets/{VRadioGroup-FBfPhvIz.369d5c0ce728.js → VRadioGroup-TtGu5WYN.82313d607c3b.js} +1 -1
- codex/static_root/assets/VRadioGroup-TtGu5WYN.82313d607c3b.js.br +3 -0
- codex/static_root/assets/VRadioGroup-TtGu5WYN.82313d607c3b.js.gz +0 -0
- codex/static_root/assets/{VRadioGroup-FBfPhvIz.js → VRadioGroup-TtGu5WYN.js} +1 -1
- codex/static_root/assets/VRadioGroup-TtGu5WYN.js.br +3 -0
- codex/static_root/assets/VRadioGroup-TtGu5WYN.js.gz +0 -0
- codex/static_root/assets/{VSelect-LwrRxfjs.a027c91f4ea0.js → VSelect-Yw9YsgjJ.343b4b0ef067.js} +1 -1
- codex/static_root/assets/VSelect-Yw9YsgjJ.343b4b0ef067.js.br +0 -0
- codex/static_root/assets/VSelect-Yw9YsgjJ.343b4b0ef067.js.gz +0 -0
- codex/static_root/assets/{VSelect-LwrRxfjs.js → VSelect-Yw9YsgjJ.js} +1 -1
- codex/static_root/assets/VSelect-Yw9YsgjJ.js.br +0 -0
- codex/static_root/assets/VSelect-Yw9YsgjJ.js.gz +0 -0
- codex/static_root/assets/{VSelectionControl-Ervl02ph.c4f8e01901ad.js → VSelectionControl-9CzKd8rG.94ddb0376ad2.js} +1 -1
- codex/static_root/assets/VSelectionControl-9CzKd8rG.94ddb0376ad2.js.br +0 -0
- codex/static_root/assets/VSelectionControl-9CzKd8rG.94ddb0376ad2.js.gz +0 -0
- codex/static_root/assets/{VSelectionControl-Ervl02ph.js → VSelectionControl-9CzKd8rG.js} +1 -1
- codex/static_root/assets/VSelectionControl-9CzKd8rG.js.br +0 -0
- codex/static_root/assets/VSelectionControl-9CzKd8rG.js.gz +0 -0
- codex/static_root/assets/{VTable-jVOjaHdB.da950a339a97.js → VTable-q30xy1Qm.a295a3c5b1fd.js} +1 -1
- codex/static_root/assets/VTable-q30xy1Qm.a295a3c5b1fd.js.br +0 -0
- codex/static_root/assets/VTable-q30xy1Qm.a295a3c5b1fd.js.gz +0 -0
- codex/static_root/assets/{VTable-jVOjaHdB.js → VTable-q30xy1Qm.js} +1 -1
- codex/static_root/assets/VTable-q30xy1Qm.js.br +0 -0
- codex/static_root/assets/VTable-q30xy1Qm.js.gz +0 -0
- codex/static_root/assets/{VTextField-h1EP0NAs.js → VTextField-1s8i2nK8.28e3377981c8.js} +1 -1
- codex/static_root/assets/VTextField-1s8i2nK8.28e3377981c8.js.br +0 -0
- codex/static_root/assets/VTextField-1s8i2nK8.28e3377981c8.js.gz +0 -0
- codex/static_root/assets/{VTextField-h1EP0NAs.7949ca527d37.js → VTextField-1s8i2nK8.js} +1 -1
- codex/static_root/assets/VTextField-1s8i2nK8.js.br +0 -0
- codex/static_root/assets/VTextField-1s8i2nK8.js.gz +0 -0
- codex/static_root/assets/{VToolbar-l9UdbYjt.js → VToolbar-BBzymioO.ec12d95a725e.js} +2 -2
- codex/static_root/assets/VToolbar-BBzymioO.ec12d95a725e.js.br +0 -0
- codex/static_root/assets/VToolbar-BBzymioO.ec12d95a725e.js.gz +0 -0
- codex/static_root/assets/{VToolbar-l9UdbYjt.31f4cab5164e.js → VToolbar-BBzymioO.js} +2 -2
- codex/static_root/assets/VToolbar-BBzymioO.js.br +0 -0
- codex/static_root/assets/VToolbar-BBzymioO.js.gz +0 -0
- codex/static_root/assets/{VWindowItem-tHjlSrOR.ad9f2f08beaa.js → VWindowItem-J3hy1lxS.b8e6081f6afc.js} +1 -1
- codex/static_root/assets/VWindowItem-J3hy1lxS.b8e6081f6afc.js.br +0 -0
- codex/static_root/assets/VWindowItem-J3hy1lxS.b8e6081f6afc.js.gz +0 -0
- codex/static_root/assets/{VWindowItem-tHjlSrOR.js → VWindowItem-J3hy1lxS.js} +1 -1
- codex/static_root/assets/VWindowItem-J3hy1lxS.js.br +0 -0
- codex/static_root/assets/VWindowItem-J3hy1lxS.js.gz +0 -0
- codex/static_root/assets/{admin-HhANGIs6.js → admin-NMv29Iqq.9918d0dee7ba.js} +1 -1
- codex/static_root/assets/admin-NMv29Iqq.9918d0dee7ba.js.br +0 -0
- codex/static_root/assets/admin-NMv29Iqq.9918d0dee7ba.js.gz +0 -0
- codex/static_root/assets/{admin-HhANGIs6.0c2a5bd8a141.js → admin-NMv29Iqq.js} +1 -1
- codex/static_root/assets/admin-NMv29Iqq.js.br +0 -0
- codex/static_root/assets/admin-NMv29Iqq.js.gz +0 -0
- codex/static_root/assets/{admin-drawer-panel-lvSt_rmS.d8b5b8784722.js → admin-drawer-panel-JjJ1iA6R.a2371ad685d2.js} +7 -7
- codex/static_root/assets/admin-drawer-panel-JjJ1iA6R.a2371ad685d2.js.br +0 -0
- codex/static_root/assets/admin-drawer-panel-JjJ1iA6R.a2371ad685d2.js.gz +0 -0
- codex/static_root/assets/{admin-drawer-panel-lvSt_rmS.js → admin-drawer-panel-JjJ1iA6R.js} +7 -7
- codex/static_root/assets/admin-drawer-panel-JjJ1iA6R.js.br +0 -0
- codex/static_root/assets/admin-drawer-panel-JjJ1iA6R.js.gz +0 -0
- codex/static_root/assets/{browser-ScCrcWvS.25fba696244a.js → browser-zvI8XpnW.3f264709f471.js} +1 -1
- codex/static_root/assets/browser-zvI8XpnW.3f264709f471.js.br +0 -0
- codex/static_root/assets/browser-zvI8XpnW.3f264709f471.js.gz +0 -0
- codex/static_root/assets/{browser-ScCrcWvS.js → browser-zvI8XpnW.js} +1 -1
- codex/static_root/assets/browser-zvI8XpnW.js.br +0 -0
- codex/static_root/assets/browser-zvI8XpnW.js.gz +0 -0
- codex/static_root/assets/{change-password-dialog-USKvhqKL.07f0e9bac4ca.js → change-password-dialog-9i9SZGmU.83b35cb4309c.js} +1 -1
- codex/static_root/assets/change-password-dialog-9i9SZGmU.83b35cb4309c.js.br +0 -0
- codex/static_root/assets/change-password-dialog-9i9SZGmU.83b35cb4309c.js.gz +0 -0
- codex/static_root/assets/{change-password-dialog-USKvhqKL.js → change-password-dialog-9i9SZGmU.js} +1 -1
- codex/static_root/assets/change-password-dialog-9i9SZGmU.js.br +0 -0
- codex/static_root/assets/change-password-dialog-9i9SZGmU.js.gz +0 -0
- codex/static_root/assets/{confirm-dialog-Avb2JqKf.530cc69b8db4.js → confirm-dialog-3RjVRgsv.46d811c7f837.js} +1 -1
- codex/static_root/assets/confirm-dialog-3RjVRgsv.46d811c7f837.js.br +0 -0
- codex/static_root/assets/confirm-dialog-3RjVRgsv.46d811c7f837.js.gz +0 -0
- codex/static_root/assets/{confirm-dialog-Avb2JqKf.js → confirm-dialog-3RjVRgsv.js} +1 -1
- codex/static_root/assets/confirm-dialog-3RjVRgsv.js.br +0 -0
- codex/static_root/assets/confirm-dialog-3RjVRgsv.js.gz +0 -0
- codex/static_root/assets/{confirm-footer-c31QW5F5.js → confirm-footer-IJHq21-K.8e9be6e41786.js} +1 -1
- codex/static_root/assets/confirm-footer-IJHq21-K.8e9be6e41786.js.br +0 -0
- codex/static_root/assets/confirm-footer-IJHq21-K.8e9be6e41786.js.gz +0 -0
- codex/static_root/assets/{confirm-footer-c31QW5F5.8c384032dd7d.js → confirm-footer-IJHq21-K.js} +1 -1
- codex/static_root/assets/confirm-footer-IJHq21-K.js.br +0 -0
- codex/static_root/assets/confirm-footer-IJHq21-K.js.gz +0 -0
- codex/static_root/assets/{datetime-column-tO3kEqPv.8768e3feca4f.js → datetime-column-hS6FHx6v.1158c5db4d07.js} +1 -1
- codex/static_root/assets/datetime-column-hS6FHx6v.1158c5db4d07.js.br +0 -0
- codex/static_root/assets/datetime-column-hS6FHx6v.1158c5db4d07.js.gz +0 -0
- codex/static_root/assets/{datetime-column-tO3kEqPv.js → datetime-column-hS6FHx6v.js} +1 -1
- codex/static_root/assets/datetime-column-hS6FHx6v.js.br +0 -0
- codex/static_root/assets/datetime-column-hS6FHx6v.js.gz +0 -0
- codex/static_root/assets/{filter-8wm0zu1v.f12bece6bbad.js → filter-jwn1nJiw.5001415d600e.js} +1 -1
- codex/static_root/assets/filter-jwn1nJiw.5001415d600e.js.br +0 -0
- codex/static_root/assets/filter-jwn1nJiw.5001415d600e.js.gz +0 -0
- codex/static_root/assets/{filter-8wm0zu1v.js → filter-jwn1nJiw.js} +1 -1
- codex/static_root/assets/filter-jwn1nJiw.js.br +0 -0
- codex/static_root/assets/filter-jwn1nJiw.js.gz +0 -0
- codex/static_root/assets/{flag-tab-zuqhCB44.caaef1ddd594.js → flag-tab--ch0e4rD.58776d26590c.js} +1 -1
- codex/static_root/assets/flag-tab--ch0e4rD.58776d26590c.js.br +0 -0
- codex/static_root/assets/flag-tab--ch0e4rD.58776d26590c.js.gz +0 -0
- codex/static_root/assets/{flag-tab-zuqhCB44.js → flag-tab--ch0e4rD.js} +1 -1
- codex/static_root/assets/flag-tab--ch0e4rD.js.br +0 -0
- codex/static_root/assets/flag-tab--ch0e4rD.js.gz +0 -0
- codex/static_root/assets/{group-tab-QdGBW0DM.bb4ae4e0452a.js → group-tab-ArQ1w79f.cc06faf5e6b9.js} +1 -1
- codex/static_root/assets/group-tab-ArQ1w79f.cc06faf5e6b9.js.br +0 -0
- codex/static_root/assets/group-tab-ArQ1w79f.cc06faf5e6b9.js.gz +0 -0
- codex/static_root/assets/{group-tab-QdGBW0DM.js → group-tab-ArQ1w79f.js} +1 -1
- codex/static_root/assets/group-tab-ArQ1w79f.js.br +0 -0
- codex/static_root/assets/group-tab-ArQ1w79f.js.gz +0 -0
- codex/static_root/assets/{http-error-MGTSWtb6.f9aa4b31fa18.js → http-error--_xFbHmk.4ac657568407.js} +1 -1
- codex/static_root/assets/http-error--_xFbHmk.4ac657568407.js.br +0 -0
- codex/static_root/assets/http-error--_xFbHmk.4ac657568407.js.gz +0 -0
- codex/static_root/assets/{http-error-MGTSWtb6.js → http-error--_xFbHmk.js} +1 -1
- codex/static_root/assets/http-error--_xFbHmk.js.br +0 -0
- codex/static_root/assets/http-error--_xFbHmk.js.gz +0 -0
- codex/static_root/assets/{library-tab-9J09VnVi.03b72198f471.js → library-tab-DTSk7xJH.c19461f4ea09.js} +1 -1
- codex/static_root/assets/library-tab-DTSk7xJH.c19461f4ea09.js.br +0 -0
- codex/static_root/assets/library-tab-DTSk7xJH.c19461f4ea09.js.gz +0 -0
- codex/static_root/assets/{library-tab-9J09VnVi.js → library-tab-DTSk7xJH.js} +1 -1
- codex/static_root/assets/library-tab-DTSk7xJH.js.br +0 -0
- codex/static_root/assets/library-tab-DTSk7xJH.js.gz +0 -0
- codex/static_root/assets/{main-OIrebd4D.js → main-fEXxBNBg.d57876a83567.js} +3 -3
- codex/static_root/assets/main-fEXxBNBg.d57876a83567.js.br +0 -0
- codex/static_root/assets/main-fEXxBNBg.d57876a83567.js.gz +0 -0
- codex/static_root/assets/{main-OIrebd4D.4125e97258cc.js → main-fEXxBNBg.js} +3 -3
- codex/static_root/assets/main-fEXxBNBg.js.br +0 -0
- codex/static_root/assets/main-fEXxBNBg.js.gz +0 -0
- codex/static_root/assets/{metadata-dialog-59F6cY-t.71c5ceeec80f.js → metadata-dialog-JnnKcg8a.ab72001734ab.js} +1 -1
- codex/static_root/assets/metadata-dialog-JnnKcg8a.ab72001734ab.js.br +0 -0
- codex/static_root/assets/metadata-dialog-JnnKcg8a.ab72001734ab.js.gz +0 -0
- codex/static_root/assets/{metadata-dialog-59F6cY-t.js → metadata-dialog-JnnKcg8a.js} +1 -1
- codex/static_root/assets/metadata-dialog-JnnKcg8a.js.br +0 -0
- codex/static_root/assets/metadata-dialog-JnnKcg8a.js.gz +0 -0
- codex/static_root/assets/{page-pdf-qKVxs5Fl.fe22b6bb58e7.js → page-pdf-g4F4Ke5z.389bdaf4fdf0.js} +1 -1
- codex/static_root/assets/page-pdf-g4F4Ke5z.389bdaf4fdf0.js.br +0 -0
- codex/static_root/assets/page-pdf-g4F4Ke5z.389bdaf4fdf0.js.gz +0 -0
- codex/static_root/assets/{page-pdf-qKVxs5Fl.js → page-pdf-g4F4Ke5z.js} +1 -1
- codex/static_root/assets/page-pdf-g4F4Ke5z.js.br +0 -0
- codex/static_root/assets/page-pdf-g4F4Ke5z.js.gz +0 -0
- codex/static_root/assets/{reader-pWdsr8PS.js → reader-QLyUuSWQ.9e6c0e79fcc4.js} +2 -2
- codex/static_root/assets/reader-QLyUuSWQ.9e6c0e79fcc4.js.br +0 -0
- codex/static_root/assets/reader-QLyUuSWQ.9e6c0e79fcc4.js.gz +0 -0
- codex/static_root/assets/{reader-pWdsr8PS.9a739c93107c.js → reader-QLyUuSWQ.js} +2 -2
- codex/static_root/assets/reader-QLyUuSWQ.js.br +0 -0
- codex/static_root/assets/reader-QLyUuSWQ.js.gz +0 -0
- codex/static_root/assets/{stats-tab-XqhicAZ7.efad45822b55.js → stats-tab-Uk5KYfnH.577928e85d6f.js} +1 -1
- codex/static_root/assets/stats-tab-Uk5KYfnH.577928e85d6f.js.br +0 -0
- codex/static_root/assets/stats-tab-Uk5KYfnH.577928e85d6f.js.gz +0 -0
- codex/static_root/assets/{stats-tab-XqhicAZ7.js → stats-tab-Uk5KYfnH.js} +1 -1
- codex/static_root/assets/stats-tab-Uk5KYfnH.js.br +0 -0
- codex/static_root/assets/stats-tab-Uk5KYfnH.js.gz +0 -0
- codex/static_root/assets/{task-tab-ouDLbTWk.ed835abfa80a.js → task-tab-yrzb0Yg7.acca63d69906.js} +1 -1
- codex/static_root/assets/task-tab-yrzb0Yg7.acca63d69906.js.br +0 -0
- codex/static_root/assets/task-tab-yrzb0Yg7.acca63d69906.js.gz +0 -0
- codex/static_root/assets/{task-tab-ouDLbTWk.js → task-tab-yrzb0Yg7.js} +1 -1
- codex/static_root/assets/task-tab-yrzb0Yg7.js.br +0 -0
- codex/static_root/assets/task-tab-yrzb0Yg7.js.gz +0 -0
- codex/static_root/assets/{user-tab-oEx5iXby.238dba3d3dd0.js → user-tab-tjEgknk-.03270572c181.js} +1 -1
- codex/static_root/assets/user-tab-tjEgknk-.03270572c181.js.br +0 -0
- codex/static_root/assets/user-tab-tjEgknk-.03270572c181.js.gz +0 -0
- codex/static_root/assets/{user-tab-oEx5iXby.js → user-tab-tjEgknk-.js} +1 -1
- codex/static_root/assets/user-tab-tjEgknk-.js.br +0 -0
- codex/static_root/assets/user-tab-tjEgknk-.js.gz +0 -0
- codex/static_root/{manifest.8104a0d32057.json → manifest.e029798eeec1.json} +205 -205
- codex/static_root/manifest.e029798eeec1.json.br +0 -0
- codex/static_root/manifest.e029798eeec1.json.gz +0 -0
- codex/static_root/manifest.json +205 -205
- codex/static_root/manifest.json.br +0 -0
- codex/static_root/manifest.json.gz +0 -0
- codex/static_root/staticfiles.json +1 -1
- {codex-1.5.0a2.dist-info → codex-1.5.0rc2.dist-info}/METADATA +2 -2
- {codex-1.5.0a2.dist-info → codex-1.5.0rc2.dist-info}/RECORD +204 -204
- codex/static_root/assets/VCheckbox-tTkeubf8.f27220f11f32.js.br +0 -0
- codex/static_root/assets/VCheckbox-tTkeubf8.f27220f11f32.js.gz +0 -0
- codex/static_root/assets/VCheckbox-tTkeubf8.js.br +0 -0
- codex/static_root/assets/VCheckbox-tTkeubf8.js.gz +0 -0
- codex/static_root/assets/VCheckboxBtn-WKexthxJ.9423d3f6f1fd.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-WKexthxJ.9423d3f6f1fd.js.gz +0 -0
- codex/static_root/assets/VCheckboxBtn-WKexthxJ.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-WKexthxJ.js.gz +0 -0
- codex/static_root/assets/VCombobox-Y594p6q7.3569a5f7d24e.js.br +0 -0
- codex/static_root/assets/VCombobox-Y594p6q7.3569a5f7d24e.js.gz +0 -0
- codex/static_root/assets/VCombobox-Y594p6q7.js.br +0 -0
- codex/static_root/assets/VCombobox-Y594p6q7.js.gz +0 -0
- codex/static_root/assets/VDataTableVirtual-HbBa_J70.c2728233069c.js.br +0 -0
- codex/static_root/assets/VDataTableVirtual-HbBa_J70.c2728233069c.js.gz +0 -0
- codex/static_root/assets/VDataTableVirtual-HbBa_J70.js.br +0 -0
- codex/static_root/assets/VDataTableVirtual-HbBa_J70.js.gz +0 -0
- codex/static_root/assets/VExpansionPanel-qavjnSBS.84942ce8999c.js.br +0 -0
- codex/static_root/assets/VExpansionPanel-qavjnSBS.84942ce8999c.js.gz +0 -0
- codex/static_root/assets/VExpansionPanel-qavjnSBS.js.br +0 -0
- codex/static_root/assets/VExpansionPanel-qavjnSBS.js.gz +0 -0
- codex/static_root/assets/VMain-v9LFWFNT.8adc69f0bdfb.js.br +0 -0
- codex/static_root/assets/VMain-v9LFWFNT.8adc69f0bdfb.js.gz +0 -0
- codex/static_root/assets/VMain-v9LFWFNT.js.br +0 -0
- codex/static_root/assets/VMain-v9LFWFNT.js.gz +0 -0
- codex/static_root/assets/VRadioGroup-FBfPhvIz.369d5c0ce728.js.br +0 -0
- codex/static_root/assets/VRadioGroup-FBfPhvIz.369d5c0ce728.js.gz +0 -0
- codex/static_root/assets/VRadioGroup-FBfPhvIz.js.br +0 -0
- codex/static_root/assets/VRadioGroup-FBfPhvIz.js.gz +0 -0
- codex/static_root/assets/VSelect-LwrRxfjs.a027c91f4ea0.js.br +0 -0
- codex/static_root/assets/VSelect-LwrRxfjs.a027c91f4ea0.js.gz +0 -0
- codex/static_root/assets/VSelect-LwrRxfjs.js.br +0 -0
- codex/static_root/assets/VSelect-LwrRxfjs.js.gz +0 -0
- codex/static_root/assets/VSelectionControl-Ervl02ph.c4f8e01901ad.js.br +0 -0
- codex/static_root/assets/VSelectionControl-Ervl02ph.c4f8e01901ad.js.gz +0 -0
- codex/static_root/assets/VSelectionControl-Ervl02ph.js.br +0 -0
- codex/static_root/assets/VSelectionControl-Ervl02ph.js.gz +0 -0
- codex/static_root/assets/VTable-jVOjaHdB.da950a339a97.js.br +0 -0
- codex/static_root/assets/VTable-jVOjaHdB.da950a339a97.js.gz +0 -0
- codex/static_root/assets/VTable-jVOjaHdB.js.br +0 -0
- codex/static_root/assets/VTable-jVOjaHdB.js.gz +0 -0
- codex/static_root/assets/VTextField-h1EP0NAs.7949ca527d37.js.br +0 -0
- codex/static_root/assets/VTextField-h1EP0NAs.7949ca527d37.js.gz +0 -0
- codex/static_root/assets/VTextField-h1EP0NAs.js.br +0 -0
- codex/static_root/assets/VTextField-h1EP0NAs.js.gz +0 -0
- codex/static_root/assets/VToolbar-l9UdbYjt.31f4cab5164e.js.br +0 -0
- codex/static_root/assets/VToolbar-l9UdbYjt.31f4cab5164e.js.gz +0 -0
- codex/static_root/assets/VToolbar-l9UdbYjt.js.br +0 -0
- codex/static_root/assets/VToolbar-l9UdbYjt.js.gz +0 -0
- codex/static_root/assets/VWindowItem-tHjlSrOR.ad9f2f08beaa.js.br +0 -0
- codex/static_root/assets/VWindowItem-tHjlSrOR.ad9f2f08beaa.js.gz +0 -0
- codex/static_root/assets/VWindowItem-tHjlSrOR.js.br +0 -0
- codex/static_root/assets/VWindowItem-tHjlSrOR.js.gz +0 -0
- codex/static_root/assets/admin-HhANGIs6.0c2a5bd8a141.js.br +0 -0
- codex/static_root/assets/admin-HhANGIs6.0c2a5bd8a141.js.gz +0 -0
- codex/static_root/assets/admin-HhANGIs6.js.br +0 -0
- codex/static_root/assets/admin-HhANGIs6.js.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-lvSt_rmS.d8b5b8784722.js.br +0 -0
- codex/static_root/assets/admin-drawer-panel-lvSt_rmS.d8b5b8784722.js.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-lvSt_rmS.js.br +0 -0
- codex/static_root/assets/admin-drawer-panel-lvSt_rmS.js.gz +0 -0
- codex/static_root/assets/browser-ScCrcWvS.25fba696244a.js.br +0 -0
- codex/static_root/assets/browser-ScCrcWvS.25fba696244a.js.gz +0 -0
- codex/static_root/assets/browser-ScCrcWvS.js.br +0 -0
- codex/static_root/assets/browser-ScCrcWvS.js.gz +0 -0
- codex/static_root/assets/change-password-dialog-USKvhqKL.07f0e9bac4ca.js.br +0 -0
- codex/static_root/assets/change-password-dialog-USKvhqKL.07f0e9bac4ca.js.gz +0 -0
- codex/static_root/assets/change-password-dialog-USKvhqKL.js.br +0 -0
- codex/static_root/assets/change-password-dialog-USKvhqKL.js.gz +0 -0
- codex/static_root/assets/confirm-dialog-Avb2JqKf.530cc69b8db4.js.br +0 -0
- codex/static_root/assets/confirm-dialog-Avb2JqKf.530cc69b8db4.js.gz +0 -0
- codex/static_root/assets/confirm-dialog-Avb2JqKf.js.br +0 -0
- codex/static_root/assets/confirm-dialog-Avb2JqKf.js.gz +0 -0
- codex/static_root/assets/confirm-footer-c31QW5F5.8c384032dd7d.js.br +0 -0
- codex/static_root/assets/confirm-footer-c31QW5F5.8c384032dd7d.js.gz +0 -0
- codex/static_root/assets/confirm-footer-c31QW5F5.js.br +0 -0
- codex/static_root/assets/confirm-footer-c31QW5F5.js.gz +0 -0
- codex/static_root/assets/datetime-column-tO3kEqPv.8768e3feca4f.js.br +0 -0
- codex/static_root/assets/datetime-column-tO3kEqPv.8768e3feca4f.js.gz +0 -0
- codex/static_root/assets/datetime-column-tO3kEqPv.js.br +0 -0
- codex/static_root/assets/datetime-column-tO3kEqPv.js.gz +0 -0
- codex/static_root/assets/filter-8wm0zu1v.f12bece6bbad.js.br +0 -0
- codex/static_root/assets/filter-8wm0zu1v.f12bece6bbad.js.gz +0 -0
- codex/static_root/assets/filter-8wm0zu1v.js.br +0 -0
- codex/static_root/assets/filter-8wm0zu1v.js.gz +0 -0
- codex/static_root/assets/flag-tab-zuqhCB44.caaef1ddd594.js.br +0 -0
- codex/static_root/assets/flag-tab-zuqhCB44.caaef1ddd594.js.gz +0 -0
- codex/static_root/assets/flag-tab-zuqhCB44.js.br +0 -0
- codex/static_root/assets/flag-tab-zuqhCB44.js.gz +0 -0
- codex/static_root/assets/group-tab-QdGBW0DM.bb4ae4e0452a.js.br +0 -0
- codex/static_root/assets/group-tab-QdGBW0DM.bb4ae4e0452a.js.gz +0 -0
- codex/static_root/assets/group-tab-QdGBW0DM.js.br +0 -0
- codex/static_root/assets/group-tab-QdGBW0DM.js.gz +0 -0
- codex/static_root/assets/http-error-MGTSWtb6.f9aa4b31fa18.js.br +0 -0
- codex/static_root/assets/http-error-MGTSWtb6.f9aa4b31fa18.js.gz +0 -0
- codex/static_root/assets/http-error-MGTSWtb6.js.br +0 -0
- codex/static_root/assets/http-error-MGTSWtb6.js.gz +0 -0
- codex/static_root/assets/library-tab-9J09VnVi.03b72198f471.js.br +0 -0
- codex/static_root/assets/library-tab-9J09VnVi.03b72198f471.js.gz +0 -0
- codex/static_root/assets/library-tab-9J09VnVi.js.br +0 -0
- codex/static_root/assets/library-tab-9J09VnVi.js.gz +0 -0
- codex/static_root/assets/main-OIrebd4D.4125e97258cc.js.br +0 -0
- codex/static_root/assets/main-OIrebd4D.4125e97258cc.js.gz +0 -0
- codex/static_root/assets/main-OIrebd4D.js.br +0 -0
- codex/static_root/assets/main-OIrebd4D.js.gz +0 -0
- codex/static_root/assets/metadata-dialog-59F6cY-t.71c5ceeec80f.js.br +0 -0
- codex/static_root/assets/metadata-dialog-59F6cY-t.71c5ceeec80f.js.gz +0 -0
- codex/static_root/assets/metadata-dialog-59F6cY-t.js.br +0 -0
- codex/static_root/assets/metadata-dialog-59F6cY-t.js.gz +0 -0
- codex/static_root/assets/page-pdf-qKVxs5Fl.fe22b6bb58e7.js.br +0 -0
- codex/static_root/assets/page-pdf-qKVxs5Fl.fe22b6bb58e7.js.gz +0 -0
- codex/static_root/assets/page-pdf-qKVxs5Fl.js.br +0 -0
- codex/static_root/assets/page-pdf-qKVxs5Fl.js.gz +0 -0
- codex/static_root/assets/reader-pWdsr8PS.9a739c93107c.js.br +0 -0
- codex/static_root/assets/reader-pWdsr8PS.9a739c93107c.js.gz +0 -0
- codex/static_root/assets/reader-pWdsr8PS.js.br +0 -0
- codex/static_root/assets/reader-pWdsr8PS.js.gz +0 -0
- codex/static_root/assets/stats-tab-XqhicAZ7.efad45822b55.js.br +0 -0
- codex/static_root/assets/stats-tab-XqhicAZ7.efad45822b55.js.gz +0 -0
- codex/static_root/assets/stats-tab-XqhicAZ7.js.br +0 -0
- codex/static_root/assets/stats-tab-XqhicAZ7.js.gz +0 -0
- codex/static_root/assets/task-tab-ouDLbTWk.ed835abfa80a.js.br +0 -0
- codex/static_root/assets/task-tab-ouDLbTWk.ed835abfa80a.js.gz +0 -0
- codex/static_root/assets/task-tab-ouDLbTWk.js.br +0 -0
- codex/static_root/assets/task-tab-ouDLbTWk.js.gz +0 -0
- codex/static_root/assets/user-tab-oEx5iXby.238dba3d3dd0.js.br +0 -0
- codex/static_root/assets/user-tab-oEx5iXby.238dba3d3dd0.js.gz +0 -0
- codex/static_root/assets/user-tab-oEx5iXby.js.br +0 -0
- codex/static_root/assets/user-tab-oEx5iXby.js.gz +0 -0
- codex/static_root/manifest.8104a0d32057.json.br +0 -0
- codex/static_root/manifest.8104a0d32057.json.gz +0 -0
- {codex-1.5.0a2.dist-info → codex-1.5.0rc2.dist-info}/LICENSE +0 -0
- {codex-1.5.0a2.dist-info → codex-1.5.0rc2.dist-info}/WHEEL +0 -0
- {codex-1.5.0a2.dist-info → codex-1.5.0rc2.dist-info}/entry_points.txt +0 -0
codex/static_root/assets/{confirm-footer-c31QW5F5.js → confirm-footer-IJHq21-K.8e9be6e41786.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{x as z,r as V,V as q,ch as ue,a as k,cW as $,d5 as ze,d6 as je,d7 as me,d8 as te,d9 as ne,da as ge,h as O,n as K,db as Ge,dc as J,dd as oe,de as ye,df as he,z as M,av as be,c$ as Ue,w as fe,dg as Re,dh as Ye,di as Ke,A as ve,i as Te,dj as we,dk as Xe,am as W,dl as Je,c_ as Ze,s as j,B as Qe,f as Be,p as et,dm as tt,dn as nt,dp as Fe,E as ot,bg as at,F as rt,bh as lt,G as Le,ax as _e,I as it,J as st,az as ct,aA as ut,bj as ft,o as vt,cf as dt,cY as mt,an as gt,K as Me,L as B,dq as yt,bm as ht,bk as bt,bn as wt,bl as St,al as xt,cj as Et,dr as pt,ao as Ot,cT as Pt,ck as Ct,au as kt,_ as At,R as Rt,aE as Tt,P as Se,aa as xe,ae as Bt,ak as Ee}from"./admin-drawer-panel-lvSt_rmS.js";import{a as Ft}from"./main-OIrebd4D.js";function ae(e,n){return{x:e.x+n.x,y:e.y+n.y}}function Lt(e,n){return{x:e.x-n.x,y:e.y-n.y}}function pe(e,n){if(e.side==="top"||e.side==="bottom"){const{side:t,align:a}=e,i=a==="left"?0:a==="center"?n.width/2:a==="right"?n.width:a,o=t==="top"?0:t==="bottom"?n.height:t;return ae({x:i,y:o},n)}else if(e.side==="left"||e.side==="right"){const{side:t,align:a}=e,i=t==="left"?0:t==="right"?n.width:t,o=a==="top"?0:a==="center"?n.height/2:a==="bottom"?n.height:a;return ae({x:i,y:o},n)}return ae({x:n.width/2,y:n.height/2},n)}const Ve={static:Vt,connected:It},_t=z({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in Ve},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function Mt(e,n){const t=V({}),a=V();q&&ue(()=>!!(n.isActive.value&&e.locationStrategy),o=>{var r,l;k(()=>e.locationStrategy,o),$(()=>{window.removeEventListener("resize",i),a.value=void 0}),window.addEventListener("resize",i,{passive:!0}),typeof e.locationStrategy=="function"?a.value=(r=e.locationStrategy(n,e,t))==null?void 0:r.updateLocation:a.value=(l=Ve[e.locationStrategy](n,e,t))==null?void 0:l.updateLocation});function i(o){var r;(r=a.value)==null||r.call(a,o)}return{contentStyles:t,updateLocation:a}}function Vt(){}function Dt(e,n){n?e.style.removeProperty("left"):e.style.removeProperty("right");const t=Ue(e);return n?t.x+=parseFloat(e.style.right||0):t.x-=parseFloat(e.style.left||0),t.y-=parseFloat(e.style.top||0),t}function It(e,n,t){(Array.isArray(e.target.value)||ze(e.target.value))&&Object.assign(t.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:i,preferredOrigin:o}=je(()=>{const v=me(n.location,e.isRtl.value),d=n.origin==="overlap"?v:n.origin==="auto"?te(v):me(n.origin,e.isRtl.value);return v.side===d.side&&v.align===ne(d).align?{preferredAnchor:ge(v),preferredOrigin:ge(d)}:{preferredAnchor:v,preferredOrigin:d}}),[r,l,u,c]=["minWidth","minHeight","maxWidth","maxHeight"].map(v=>O(()=>{const d=parseFloat(n[v]);return isNaN(d)?1/0:d})),f=O(()=>{if(Array.isArray(n.offset))return n.offset;if(typeof n.offset=="string"){const v=n.offset.split(" ").map(parseFloat);return v.length<2&&v.push(0),v}return typeof n.offset=="number"?[n.offset,0]:[0,0]});let g=!1;const y=new ResizeObserver(()=>{g&&h()});k([e.target,e.contentEl],(v,d)=>{let[A,R]=v,[x,w]=d;x&&!Array.isArray(x)&&y.unobserve(x),A&&!Array.isArray(A)&&y.observe(A),w&&y.unobserve(w),R&&y.observe(R)},{immediate:!0}),$(()=>{y.disconnect()});function h(){if(g=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>g=!0)}),!e.target.value||!e.contentEl.value)return;const v=Ge(e.target.value),d=Dt(e.contentEl.value,e.isRtl.value),A=J(e.contentEl.value),R=12;A.length||(A.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(d.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),d.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const x=A.reduce((p,S)=>{const m=S.getBoundingClientRect(),b=new oe({x:S===document.documentElement?0:m.x,y:S===document.documentElement?0:m.y,width:S.clientWidth,height:S.clientHeight});return p?new oe({x:Math.max(p.left,b.left),y:Math.max(p.top,b.top),width:Math.min(p.right,b.right)-Math.max(p.left,b.left),height:Math.min(p.bottom,b.bottom)-Math.max(p.top,b.top)}):b},void 0);x.x+=R,x.y+=R,x.width-=R*2,x.height-=R*2;let w={anchor:i.value,origin:o.value};function H(p){const S=new oe(d),m=pe(p.anchor,v),b=pe(p.origin,S);let{x:F,y:_}=Lt(m,b);switch(p.anchor.side){case"top":_-=f.value[0];break;case"bottom":_+=f.value[0];break;case"left":F-=f.value[0];break;case"right":F+=f.value[0];break}switch(p.anchor.align){case"top":_-=f.value[1];break;case"bottom":_+=f.value[1];break;case"left":F-=f.value[1];break;case"right":F+=f.value[1];break}return S.x+=F,S.y+=_,S.width=Math.min(S.width,u.value),S.height=Math.min(S.height,c.value),{overflows:he(S,x),x:F,y:_}}let L=0,C=0;const s={x:0,y:0},T={x:!1,y:!1};let Q=-1;for(;!(Q++>10);){const{x:p,y:S,overflows:m}=H(w);L+=p,C+=S,d.x+=p,d.y+=S;{const b=ye(w.anchor),F=m.x.before||m.x.after,_=m.y.before||m.y.after;let G=!1;if(["x","y"].forEach(P=>{if(P==="x"&&F&&!T.x||P==="y"&&_&&!T.y){const N={anchor:{...w.anchor},origin:{...w.origin}},U=P==="x"?b==="y"?ne:te:b==="y"?te:ne;N.anchor=U(N.anchor),N.origin=U(N.origin);const{overflows:D}=H(N);(D[P].before<=m[P].before&&D[P].after<=m[P].after||D[P].before+D[P].after<(m[P].before+m[P].after)/2)&&(w=N,G=T[P]=!0)}}),G)continue}m.x.before&&(L+=m.x.before,d.x+=m.x.before),m.x.after&&(L-=m.x.after,d.x-=m.x.after),m.y.before&&(C+=m.y.before,d.y+=m.y.before),m.y.after&&(C-=m.y.after,d.y-=m.y.after);{const b=he(d,x);s.x=x.width-b.x.before-b.x.after,s.y=x.height-b.y.before-b.y.after,L+=b.x.before,d.x+=b.x.before,C+=b.y.before,d.y+=b.y.before}break}const ee=ye(w.anchor);return Object.assign(t.value,{"--v-overlay-anchor-origin":`${w.anchor.side} ${w.anchor.align}`,transformOrigin:`${w.origin.side} ${w.origin.align}`,top:M(re(C)),left:e.isRtl.value?void 0:M(re(L)),right:e.isRtl.value?M(re(-L)):void 0,minWidth:M(ee==="y"?Math.min(r.value,v.width):r.value),maxWidth:M(Oe(be(s.x,r.value===1/0?0:r.value,u.value))),maxHeight:M(Oe(be(s.y,l.value===1/0?0:l.value,c.value)))}),{available:s,contentBox:d}}return k(()=>[i.value,o.value,n.offset,n.minWidth,n.minHeight,n.maxWidth,n.maxHeight],()=>h()),K(()=>{const v=h();if(!v)return;const{available:d,contentBox:A}=v;A.height>d.y&&requestAnimationFrame(()=>{h(),requestAnimationFrame(()=>{h()})})}),{updateLocation:h}}function re(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function Oe(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let se=!0;const Z=[];function Wt(e){!se||Z.length?(Z.push(e),ce()):(se=!1,e(),ce())}let Pe=-1;function ce(){cancelAnimationFrame(Pe),Pe=requestAnimationFrame(()=>{const e=Z.shift();e&&e(),Z.length?ce():se=!0})}const X={none:null,close:Nt,block:qt,reposition:zt},$t=z({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in X}},"VOverlay-scroll-strategies");function Ht(e,n){if(!q)return;let t;fe(async()=>{t==null||t.stop(),n.isActive.value&&e.scrollStrategy&&(t=Re(),await K(),t.active&&t.run(()=>{var a;typeof e.scrollStrategy=="function"?e.scrollStrategy(n,e,t):(a=X[e.scrollStrategy])==null||a.call(X,n,e,t)}))}),$(()=>{t==null||t.stop()})}function Nt(e){function n(t){e.isActive.value=!1}De(e.targetEl.value??e.contentEl.value,n)}function qt(e,n){var r;const t=(r=e.root.value)==null?void 0:r.offsetParent,a=[...new Set([...J(e.targetEl.value,n.contained?t:void 0),...J(e.contentEl.value,n.contained?t:void 0)])].filter(l=>!l.classList.contains("v-overlay-scroll-blocked")),i=window.innerWidth-document.documentElement.offsetWidth,o=(l=>Ye(l)&&l)(t||document.documentElement);o&&e.root.value.classList.add("v-overlay--scroll-blocked"),a.forEach((l,u)=>{l.style.setProperty("--v-body-scroll-x",M(-l.scrollLeft)),l.style.setProperty("--v-body-scroll-y",M(-l.scrollTop)),l!==document.documentElement&&l.style.setProperty("--v-scrollbar-offset",M(i)),l.classList.add("v-overlay-scroll-blocked")}),$(()=>{a.forEach((l,u)=>{const c=parseFloat(l.style.getPropertyValue("--v-body-scroll-x")),f=parseFloat(l.style.getPropertyValue("--v-body-scroll-y"));l.style.removeProperty("--v-body-scroll-x"),l.style.removeProperty("--v-body-scroll-y"),l.style.removeProperty("--v-scrollbar-offset"),l.classList.remove("v-overlay-scroll-blocked"),l.scrollLeft=-c,l.scrollTop=-f}),o&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function zt(e,n,t){let a=!1,i=-1,o=-1;function r(l){Wt(()=>{var f,g;const u=performance.now();(g=(f=e.updateLocation).value)==null||g.call(f,l),a=(performance.now()-u)/(1e3/60)>2})}o=(typeof requestIdleCallback>"u"?l=>l():requestIdleCallback)(()=>{t.run(()=>{De(e.targetEl.value??e.contentEl.value,l=>{a?(cancelAnimationFrame(i),i=requestAnimationFrame(()=>{i=requestAnimationFrame(()=>{r(l)})})):r(l)})})}),$(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(o),cancelAnimationFrame(i)})}function De(e,n){const t=[document,...J(e)];t.forEach(a=>{a.addEventListener("scroll",n,{passive:!0})}),$(()=>{t.forEach(a=>{a.removeEventListener("scroll",n)})})}const jt=Symbol.for("vuetify:v-menu"),Gt=z({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function Ut(e,n){let t=()=>{};function a(r){t==null||t();const l=Number(r?e.openDelay:e.closeDelay);return new Promise(u=>{t=Ke(l,()=>{n==null||n(r),u(r)})})}function i(){return a(!0)}function o(){return a(!1)}return{clearDelay:t,runOpenDelay:i,runCloseDelay:o}}const Yt=z({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...Gt()},"VOverlay-activator");function Kt(e,n){let{isActive:t,isTop:a}=n;const i=ve("useActivator"),o=V();let r=!1,l=!1,u=!0;const c=O(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),f=O(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!c.value),{runOpenDelay:g,runCloseDelay:y}=Ut(e,s=>{s===(e.openOnHover&&r||c.value&&l)&&!(e.openOnHover&&t.value&&!a.value)&&(t.value!==s&&(u=!0),t.value=s)}),h=V(),v={onClick:s=>{s.stopPropagation(),o.value=s.currentTarget||s.target,t.value||(h.value=[s.clientX,s.clientY]),t.value=!t.value},onMouseenter:s=>{var T;(T=s.sourceCapabilities)!=null&&T.firesTouchEvents||(r=!0,o.value=s.currentTarget||s.target,g())},onMouseleave:s=>{r=!1,y()},onFocus:s=>{Ze(s.target,":focus-visible")!==!1&&(l=!0,s.stopPropagation(),o.value=s.currentTarget||s.target,g())},onBlur:s=>{l=!1,s.stopPropagation(),y()}},d=O(()=>{const s={};return f.value&&(s.onClick=v.onClick),e.openOnHover&&(s.onMouseenter=v.onMouseenter,s.onMouseleave=v.onMouseleave),c.value&&(s.onFocus=v.onFocus,s.onBlur=v.onBlur),s}),A=O(()=>{const s={};if(e.openOnHover&&(s.onMouseenter=()=>{r=!0,g()},s.onMouseleave=()=>{r=!1,y()}),c.value&&(s.onFocusin=()=>{l=!0,g()},s.onFocusout=()=>{l=!1,y()}),e.closeOnContentClick){const T=Te(jt,null);s.onClick=()=>{t.value=!1,T==null||T.closeParents()}}return s}),R=O(()=>{const s={};return e.openOnHover&&(s.onMouseenter=()=>{u&&(r=!0,u=!1,g())},s.onMouseleave=()=>{r=!1,y()}),s});k(a,s=>{s&&(e.openOnHover&&!r&&(!c.value||!l)||c.value&&!l&&(!e.openOnHover||!r))&&(t.value=!1)}),k(t,s=>{s||setTimeout(()=>{h.value=void 0})},{flush:"post"});const x=V();fe(()=>{x.value&&K(()=>{o.value=we(x.value)})});const w=V(),H=O(()=>e.target==="cursor"&&h.value?h.value:w.value?we(w.value):Ie(e.target,i)||o.value),L=O(()=>Array.isArray(H.value)?void 0:H.value);let C;return k(()=>!!e.activator,s=>{s&&q?(C=Re(),C.run(()=>{Xt(e,i,{activatorEl:o,activatorEvents:d})})):C&&C.stop()},{flush:"post",immediate:!0}),$(()=>{C==null||C.stop()}),{activatorEl:o,activatorRef:x,target:H,targetEl:L,targetRef:w,activatorEvents:d,contentEvents:A,scrimEvents:R}}function Xt(e,n,t){let{activatorEl:a,activatorEvents:i}=t;k(()=>e.activator,(u,c)=>{if(c&&u!==c){const f=l(c);f&&r(f)}u&&K(()=>o())},{immediate:!0}),k(()=>e.activatorProps,()=>{o()}),$(()=>{r()});function o(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:l(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;u&&Xe(u,W(i.value,c))}function r(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:l(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;u&&Je(u,W(i.value,c))}function l(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator;const c=Ie(u,n);return a.value=(c==null?void 0:c.nodeType)===Node.ELEMENT_NODE?c:void 0,a.value}}function Ie(e,n){var a,i;if(!e)return;let t;if(e==="parent"){let o=(i=(a=n==null?void 0:n.proxy)==null?void 0:a.$el)==null?void 0:i.parentNode;for(;o!=null&&o.hasAttribute("data-no-activator");)o=o.parentNode;t=o}else typeof e=="string"?t=document.querySelector(e):"$el"in e?t=e.$el:t=e;return t}function Jt(){if(!q)return j(!1);const{ssr:e}=Ft();if(e){const n=j(!1);return Qe(()=>{n.value=!0}),n}else return j(!0)}const Zt=z({eager:Boolean},"lazy");function Qt(e,n){const t=j(!1),a=O(()=>t.value||e.eager||n.value);k(n,()=>t.value=!0);function i(){e.eager||(t.value=!1)}return{isBooted:t,hasContent:a,onAfterLeave:i}}function We(){const n=ve("useScopeId").vnode.scopeId;return{scopeId:n?{[n]:""}:void 0}}const Ce=Symbol.for("vuetify:stack"),Y=Be([]);function en(e,n,t){const a=ve("useStack"),i=!t,o=Te(Ce,void 0),r=Be({activeChildren:new Set});et(Ce,r);const l=j(+n.value);ue(e,()=>{var g;const f=(g=Y.at(-1))==null?void 0:g[1];l.value=f?f+10:+n.value,i&&Y.push([a.uid,l.value]),o==null||o.activeChildren.add(a.uid),$(()=>{if(i){const y=tt(Y).findIndex(h=>h[0]===a.uid);Y.splice(y,1)}o==null||o.activeChildren.delete(a.uid)})});const u=j(!0);i&&fe(()=>{var g;const f=((g=Y.at(-1))==null?void 0:g[0])===a.uid;setTimeout(()=>u.value=f)});const c=O(()=>!r.activeChildren.size);return{globalTop:nt(u),localTop:c,stackStyles:O(()=>({zIndex:l.value}))}}function tn(e){return{teleportTarget:O(()=>{const t=e.value;if(t===!0||!q)return;const a=t===!1?document.body:typeof t=="string"?document.querySelector(t):t;if(a==null)return;let i=a.querySelector(":scope > .v-overlay-container");return i||(i=document.createElement("div"),i.className="v-overlay-container",a.appendChild(i)),i})}}function nn(){return!0}function $e(e,n,t){if(!e||He(e,t)===!1)return!1;const a=Fe(n);if(typeof ShadowRoot<"u"&&a instanceof ShadowRoot&&a.host===e.target)return!1;const i=(typeof t.value=="object"&&t.value.include||(()=>[]))();return i.push(n),!i.some(o=>o==null?void 0:o.contains(e.target))}function He(e,n){return(typeof n.value=="object"&&n.value.closeConditional||nn)(e)}function on(e,n,t){const a=typeof t.value=="function"?t.value:t.value.handler;n._clickOutside.lastMousedownWasOutside&&$e(e,n,t)&&setTimeout(()=>{He(e,t)&&a&&a(e)},0)}function ke(e,n){const t=Fe(e);n(document),typeof ShadowRoot<"u"&&t instanceof ShadowRoot&&n(t)}const an={mounted(e,n){const t=i=>on(i,e,n),a=i=>{e._clickOutside.lastMousedownWasOutside=$e(i,e,n)};ke(e,i=>{i.addEventListener("click",t,!0),i.addEventListener("mousedown",a,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[n.instance.$.uid]={onClick:t,onMousedown:a}},unmounted(e,n){e._clickOutside&&(ke(e,t=>{var o;if(!t||!((o=e._clickOutside)!=null&&o[n.instance.$.uid]))return;const{onClick:a,onMousedown:i}=e._clickOutside[n.instance.$.uid];t.removeEventListener("click",a,!0),t.removeEventListener("mousedown",i,!0)}),delete e._clickOutside[n.instance.$.uid])}};function rn(e){const{modelValue:n,color:t,...a}=e;return B(Et,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&B("div",W({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},a),null)]})}const Ne=z({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...Yt(),...ot(),...at(),...Zt(),..._t(),...$t(),...rt(),...lt()},"VOverlay"),Ae=Le()({name:"VOverlay",directives:{ClickOutside:an},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...Ne()},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,afterLeave:()=>!0},setup(e,n){let{slots:t,attrs:a,emit:i}=n;const o=_e(e,"modelValue"),r=O({get:()=>o.value,set:E=>{E&&e.disabled||(o.value=E)}}),{teleportTarget:l}=tn(O(()=>e.attach||e.contained)),{themeClasses:u}=it(e),{rtlClasses:c,isRtl:f}=st(),{hasContent:g,onAfterLeave:y}=Qt(e,r),h=ct(O(()=>typeof e.scrim=="string"?e.scrim:null)),{globalTop:v,localTop:d,stackStyles:A}=en(r,ut(e,"zIndex"),e._disableGlobalStack),{activatorEl:R,activatorRef:x,target:w,targetEl:H,targetRef:L,activatorEvents:C,contentEvents:s,scrimEvents:T}=Kt(e,{isActive:r,isTop:d}),{dimensionStyles:Q}=ft(e),ee=Jt(),{scopeId:p}=We();k(()=>e.disabled,E=>{E&&(r.value=!1)});const S=V(),m=V(),{contentStyles:b,updateLocation:F}=Mt(e,{isRtl:f,contentEl:m,target:w,isActive:r});Ht(e,{root:S,contentEl:m,targetEl:H,isActive:r,updateLocation:F});function _(E){i("click:outside",E),e.persistent?D():r.value=!1}function G(){return r.value&&v.value}q&&k(r,E=>{E?window.addEventListener("keydown",P):window.removeEventListener("keydown",P)},{immediate:!0}),vt(()=>{q&&window.removeEventListener("keydown",P)});function P(E){var I,de;E.key==="Escape"&&v.value&&(e.persistent?D():(r.value=!1,(I=m.value)!=null&&I.contains(document.activeElement)&&((de=R.value)==null||de.focus())))}const N=dt();ue(()=>e.closeOnBack,()=>{pt(N,E=>{v.value&&r.value?(E(!1),e.persistent?D():r.value=!1):E()})});const U=V();k(()=>r.value&&(e.absolute||e.contained)&&l.value==null,E=>{if(E){const I=mt(S.value);I&&I!==document.scrollingElement&&(U.value=I.scrollTop)}});function D(){e.noClickAnimation||m.value&>(m.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:Ot})}function qe(){y(),i("afterLeave")}return Me(()=>{var E;return B(xt,null,[(E=t.activator)==null?void 0:E.call(t,{isActive:r.value,props:W({ref:x,targetRef:L},C.value,e.activatorProps)}),!e.disabled&&ee.value&&g.value&&B(yt,{disabled:!l.value,to:l.value},{default:()=>[B("div",W({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":r.value,"v-overlay--contained":e.contained},u.value,c.value,e.class],style:[A.value,{top:M(U.value)},e.style],ref:S},p,a),[B(rn,W({color:h,modelValue:!!e.scrim&&r.value},T.value),null),B(ht,{appear:!0,persisted:!0,transition:e.transition,target:w.value,onAfterLeave:qe},{default:()=>{var I;return[bt(B("div",W({ref:m,class:["v-overlay__content",e.contentClass],style:[Q.value,b.value]},s.value,e.contentProps),[(I=t.default)==null?void 0:I.call(t,{isActive:r})]),[[wt,r.value],[St("click-outside"),{handler:_,closeConditional:G,include:()=>[R.value]}]])]}})])]})])}),{activatorEl:R,target:w,animateClick:D,contentEl:m,globalTop:v,localTop:d,updateLocation:F}}}),le=Symbol("Forwarded refs");function ie(e,n){let t=e;for(;t;){const a=Reflect.getOwnPropertyDescriptor(t,n);if(a)return a;t=Object.getPrototypeOf(t)}}function ln(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),a=1;a<n;a++)t[a-1]=arguments[a];return e[le]=t,new Proxy(e,{get(i,o){if(Reflect.has(i,o))return Reflect.get(i,o);if(!(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))){for(const r of t)if(r.value&&Reflect.has(r.value,o)){const l=Reflect.get(r.value,o);return typeof l=="function"?l.bind(r.value):l}}},has(i,o){if(Reflect.has(i,o))return!0;if(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))return!1;for(const r of t)if(r.value&&Reflect.has(r.value,o))return!0;return!1},set(i,o,r){if(Reflect.has(i,o))return Reflect.set(i,o,r);if(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))return!1;for(const l of t)if(l.value&&Reflect.has(l.value,o))return Reflect.set(l.value,o,r);return!1},getOwnPropertyDescriptor(i,o){var l;const r=Reflect.getOwnPropertyDescriptor(i,o);if(r)return r;if(!(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))){for(const u of t){if(!u.value)continue;const c=ie(u.value,o)??("_"in u.value?ie((l=u.value._)==null?void 0:l.setupState,o):void 0);if(c)return c}for(const u of t){const c=u.value&&u.value[le];if(!c)continue;const f=c.slice();for(;f.length;){const g=f.shift(),y=ie(g.value,o);if(y)return y;const h=g.value&&g.value[le];h&&f.push(...h)}}}}})}const sn=z({fullscreen:Boolean,retainFocus:{type:Boolean,default:!0},scrollable:Boolean,...Ne({origin:"center center",scrollStrategy:"block",transition:{component:Pt},zIndex:2400})},"VDialog"),mn=Le()({name:"VDialog",props:sn(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:t}=n;const a=_e(e,"modelValue"),{scopeId:i}=We(),o=V();function r(u){var g,y;const c=u.relatedTarget,f=u.target;if(c!==f&&((g=o.value)!=null&&g.contentEl)&&((y=o.value)!=null&&y.globalTop)&&![document,o.value.contentEl].includes(f)&&!o.value.contentEl.contains(f)){const h=kt(o.value.contentEl);if(!h.length)return;const v=h[0],d=h[h.length-1];c===v?d.focus():v.focus()}}q&&k(()=>a.value&&e.retainFocus,u=>{u?document.addEventListener("focusin",r):document.removeEventListener("focusin",r)},{immediate:!0}),k(a,async u=>{var c,f;await K(),u?(c=o.value.contentEl)==null||c.focus({preventScroll:!0}):(f=o.value.activatorEl)==null||f.focus({preventScroll:!0})});const l=O(()=>W({"aria-haspopup":"dialog","aria-expanded":String(a.value)},e.activatorProps));return Me(()=>{const u=Ae.filterProps(e);return B(Ae,W({ref:o,class:["v-dialog",{"v-dialog--fullscreen":e.fullscreen,"v-dialog--scrollable":e.scrollable},e.class],style:e.style},u,{modelValue:a.value,"onUpdate:modelValue":c=>a.value=c,"aria-modal":"true",activatorProps:l.value,role:"dialog"},i),{activator:t.activator,default:function(){for(var c=arguments.length,f=new Array(c),g=0;g<c;g++)f[g]=arguments[g];return B(Ct,{root:"VDialog"},{default:()=>{var y;return[(y=t.default)==null?void 0:y.call(t,...f)]}})}})}),ln({},o)}}),cn={name:"ConfirmFooter",props:{confirmText:{type:String,required:!0},disabled:{type:Boolean,default:!1}},emits:["confirm","cancel"]},un={class:"confirmFooter"};function fn(e,n,t,a,i,o){return Rt(),Tt("footer",un,[B(Ee,{class:"confirmButton",disabled:t.disabled,onClick:n[0]||(n[0]=r=>e.$emit("confirm"))},{default:Se(()=>[xe(Bt(t.confirmText),1)]),_:1},8,["disabled"]),B(Ee,{class:"cancelButton",onClick:n[1]||(n[1]=r=>e.$emit("cancel"))},{default:Se(()=>[xe("Cancel")]),_:1})])}const gn=At(cn,[["render",fn],["__scopeId","data-v-1663262a"]]);export{mn as V,gn as _,We as a,Ne as b,jt as c,Ae as d,ln as f,Zt as m,Qt as u};
|
|
1
|
+
import{x as z,r as V,V as q,ch as ue,a as k,cW as $,d5 as ze,d6 as je,d7 as me,d8 as te,d9 as ne,da as ge,h as O,n as K,db as Ge,dc as J,dd as oe,de as ye,df as he,z as M,av as be,c$ as Ue,w as fe,dg as Re,dh as Ye,di as Ke,A as ve,i as Te,dj as we,dk as Xe,am as W,dl as Je,c_ as Ze,s as j,B as Qe,f as Be,p as et,dm as tt,dn as nt,dp as Fe,E as ot,bg as at,F as rt,bh as lt,G as Le,ax as _e,I as it,J as st,az as ct,aA as ut,bj as ft,o as vt,cf as dt,cY as mt,an as gt,K as Me,L as B,dq as yt,bm as ht,bk as bt,bn as wt,bl as St,al as xt,cj as Et,dr as pt,ao as Ot,cT as Pt,ck as Ct,au as kt,_ as At,R as Rt,aE as Tt,P as Se,aa as xe,ae as Bt,ak as Ee}from"./admin-drawer-panel-JjJ1iA6R.js";import{a as Ft}from"./main-fEXxBNBg.js";function ae(e,n){return{x:e.x+n.x,y:e.y+n.y}}function Lt(e,n){return{x:e.x-n.x,y:e.y-n.y}}function pe(e,n){if(e.side==="top"||e.side==="bottom"){const{side:t,align:a}=e,i=a==="left"?0:a==="center"?n.width/2:a==="right"?n.width:a,o=t==="top"?0:t==="bottom"?n.height:t;return ae({x:i,y:o},n)}else if(e.side==="left"||e.side==="right"){const{side:t,align:a}=e,i=t==="left"?0:t==="right"?n.width:t,o=a==="top"?0:a==="center"?n.height/2:a==="bottom"?n.height:a;return ae({x:i,y:o},n)}return ae({x:n.width/2,y:n.height/2},n)}const Ve={static:Vt,connected:It},_t=z({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in Ve},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function Mt(e,n){const t=V({}),a=V();q&&ue(()=>!!(n.isActive.value&&e.locationStrategy),o=>{var r,l;k(()=>e.locationStrategy,o),$(()=>{window.removeEventListener("resize",i),a.value=void 0}),window.addEventListener("resize",i,{passive:!0}),typeof e.locationStrategy=="function"?a.value=(r=e.locationStrategy(n,e,t))==null?void 0:r.updateLocation:a.value=(l=Ve[e.locationStrategy](n,e,t))==null?void 0:l.updateLocation});function i(o){var r;(r=a.value)==null||r.call(a,o)}return{contentStyles:t,updateLocation:a}}function Vt(){}function Dt(e,n){n?e.style.removeProperty("left"):e.style.removeProperty("right");const t=Ue(e);return n?t.x+=parseFloat(e.style.right||0):t.x-=parseFloat(e.style.left||0),t.y-=parseFloat(e.style.top||0),t}function It(e,n,t){(Array.isArray(e.target.value)||ze(e.target.value))&&Object.assign(t.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:i,preferredOrigin:o}=je(()=>{const v=me(n.location,e.isRtl.value),d=n.origin==="overlap"?v:n.origin==="auto"?te(v):me(n.origin,e.isRtl.value);return v.side===d.side&&v.align===ne(d).align?{preferredAnchor:ge(v),preferredOrigin:ge(d)}:{preferredAnchor:v,preferredOrigin:d}}),[r,l,u,c]=["minWidth","minHeight","maxWidth","maxHeight"].map(v=>O(()=>{const d=parseFloat(n[v]);return isNaN(d)?1/0:d})),f=O(()=>{if(Array.isArray(n.offset))return n.offset;if(typeof n.offset=="string"){const v=n.offset.split(" ").map(parseFloat);return v.length<2&&v.push(0),v}return typeof n.offset=="number"?[n.offset,0]:[0,0]});let g=!1;const y=new ResizeObserver(()=>{g&&h()});k([e.target,e.contentEl],(v,d)=>{let[A,R]=v,[x,w]=d;x&&!Array.isArray(x)&&y.unobserve(x),A&&!Array.isArray(A)&&y.observe(A),w&&y.unobserve(w),R&&y.observe(R)},{immediate:!0}),$(()=>{y.disconnect()});function h(){if(g=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>g=!0)}),!e.target.value||!e.contentEl.value)return;const v=Ge(e.target.value),d=Dt(e.contentEl.value,e.isRtl.value),A=J(e.contentEl.value),R=12;A.length||(A.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(d.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),d.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const x=A.reduce((p,S)=>{const m=S.getBoundingClientRect(),b=new oe({x:S===document.documentElement?0:m.x,y:S===document.documentElement?0:m.y,width:S.clientWidth,height:S.clientHeight});return p?new oe({x:Math.max(p.left,b.left),y:Math.max(p.top,b.top),width:Math.min(p.right,b.right)-Math.max(p.left,b.left),height:Math.min(p.bottom,b.bottom)-Math.max(p.top,b.top)}):b},void 0);x.x+=R,x.y+=R,x.width-=R*2,x.height-=R*2;let w={anchor:i.value,origin:o.value};function H(p){const S=new oe(d),m=pe(p.anchor,v),b=pe(p.origin,S);let{x:F,y:_}=Lt(m,b);switch(p.anchor.side){case"top":_-=f.value[0];break;case"bottom":_+=f.value[0];break;case"left":F-=f.value[0];break;case"right":F+=f.value[0];break}switch(p.anchor.align){case"top":_-=f.value[1];break;case"bottom":_+=f.value[1];break;case"left":F-=f.value[1];break;case"right":F+=f.value[1];break}return S.x+=F,S.y+=_,S.width=Math.min(S.width,u.value),S.height=Math.min(S.height,c.value),{overflows:he(S,x),x:F,y:_}}let L=0,C=0;const s={x:0,y:0},T={x:!1,y:!1};let Q=-1;for(;!(Q++>10);){const{x:p,y:S,overflows:m}=H(w);L+=p,C+=S,d.x+=p,d.y+=S;{const b=ye(w.anchor),F=m.x.before||m.x.after,_=m.y.before||m.y.after;let G=!1;if(["x","y"].forEach(P=>{if(P==="x"&&F&&!T.x||P==="y"&&_&&!T.y){const N={anchor:{...w.anchor},origin:{...w.origin}},U=P==="x"?b==="y"?ne:te:b==="y"?te:ne;N.anchor=U(N.anchor),N.origin=U(N.origin);const{overflows:D}=H(N);(D[P].before<=m[P].before&&D[P].after<=m[P].after||D[P].before+D[P].after<(m[P].before+m[P].after)/2)&&(w=N,G=T[P]=!0)}}),G)continue}m.x.before&&(L+=m.x.before,d.x+=m.x.before),m.x.after&&(L-=m.x.after,d.x-=m.x.after),m.y.before&&(C+=m.y.before,d.y+=m.y.before),m.y.after&&(C-=m.y.after,d.y-=m.y.after);{const b=he(d,x);s.x=x.width-b.x.before-b.x.after,s.y=x.height-b.y.before-b.y.after,L+=b.x.before,d.x+=b.x.before,C+=b.y.before,d.y+=b.y.before}break}const ee=ye(w.anchor);return Object.assign(t.value,{"--v-overlay-anchor-origin":`${w.anchor.side} ${w.anchor.align}`,transformOrigin:`${w.origin.side} ${w.origin.align}`,top:M(re(C)),left:e.isRtl.value?void 0:M(re(L)),right:e.isRtl.value?M(re(-L)):void 0,minWidth:M(ee==="y"?Math.min(r.value,v.width):r.value),maxWidth:M(Oe(be(s.x,r.value===1/0?0:r.value,u.value))),maxHeight:M(Oe(be(s.y,l.value===1/0?0:l.value,c.value)))}),{available:s,contentBox:d}}return k(()=>[i.value,o.value,n.offset,n.minWidth,n.minHeight,n.maxWidth,n.maxHeight],()=>h()),K(()=>{const v=h();if(!v)return;const{available:d,contentBox:A}=v;A.height>d.y&&requestAnimationFrame(()=>{h(),requestAnimationFrame(()=>{h()})})}),{updateLocation:h}}function re(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function Oe(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let se=!0;const Z=[];function Wt(e){!se||Z.length?(Z.push(e),ce()):(se=!1,e(),ce())}let Pe=-1;function ce(){cancelAnimationFrame(Pe),Pe=requestAnimationFrame(()=>{const e=Z.shift();e&&e(),Z.length?ce():se=!0})}const X={none:null,close:Nt,block:qt,reposition:zt},$t=z({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in X}},"VOverlay-scroll-strategies");function Ht(e,n){if(!q)return;let t;fe(async()=>{t==null||t.stop(),n.isActive.value&&e.scrollStrategy&&(t=Re(),await K(),t.active&&t.run(()=>{var a;typeof e.scrollStrategy=="function"?e.scrollStrategy(n,e,t):(a=X[e.scrollStrategy])==null||a.call(X,n,e,t)}))}),$(()=>{t==null||t.stop()})}function Nt(e){function n(t){e.isActive.value=!1}De(e.targetEl.value??e.contentEl.value,n)}function qt(e,n){var r;const t=(r=e.root.value)==null?void 0:r.offsetParent,a=[...new Set([...J(e.targetEl.value,n.contained?t:void 0),...J(e.contentEl.value,n.contained?t:void 0)])].filter(l=>!l.classList.contains("v-overlay-scroll-blocked")),i=window.innerWidth-document.documentElement.offsetWidth,o=(l=>Ye(l)&&l)(t||document.documentElement);o&&e.root.value.classList.add("v-overlay--scroll-blocked"),a.forEach((l,u)=>{l.style.setProperty("--v-body-scroll-x",M(-l.scrollLeft)),l.style.setProperty("--v-body-scroll-y",M(-l.scrollTop)),l!==document.documentElement&&l.style.setProperty("--v-scrollbar-offset",M(i)),l.classList.add("v-overlay-scroll-blocked")}),$(()=>{a.forEach((l,u)=>{const c=parseFloat(l.style.getPropertyValue("--v-body-scroll-x")),f=parseFloat(l.style.getPropertyValue("--v-body-scroll-y"));l.style.removeProperty("--v-body-scroll-x"),l.style.removeProperty("--v-body-scroll-y"),l.style.removeProperty("--v-scrollbar-offset"),l.classList.remove("v-overlay-scroll-blocked"),l.scrollLeft=-c,l.scrollTop=-f}),o&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function zt(e,n,t){let a=!1,i=-1,o=-1;function r(l){Wt(()=>{var f,g;const u=performance.now();(g=(f=e.updateLocation).value)==null||g.call(f,l),a=(performance.now()-u)/(1e3/60)>2})}o=(typeof requestIdleCallback>"u"?l=>l():requestIdleCallback)(()=>{t.run(()=>{De(e.targetEl.value??e.contentEl.value,l=>{a?(cancelAnimationFrame(i),i=requestAnimationFrame(()=>{i=requestAnimationFrame(()=>{r(l)})})):r(l)})})}),$(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(o),cancelAnimationFrame(i)})}function De(e,n){const t=[document,...J(e)];t.forEach(a=>{a.addEventListener("scroll",n,{passive:!0})}),$(()=>{t.forEach(a=>{a.removeEventListener("scroll",n)})})}const jt=Symbol.for("vuetify:v-menu"),Gt=z({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function Ut(e,n){let t=()=>{};function a(r){t==null||t();const l=Number(r?e.openDelay:e.closeDelay);return new Promise(u=>{t=Ke(l,()=>{n==null||n(r),u(r)})})}function i(){return a(!0)}function o(){return a(!1)}return{clearDelay:t,runOpenDelay:i,runCloseDelay:o}}const Yt=z({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...Gt()},"VOverlay-activator");function Kt(e,n){let{isActive:t,isTop:a}=n;const i=ve("useActivator"),o=V();let r=!1,l=!1,u=!0;const c=O(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),f=O(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!c.value),{runOpenDelay:g,runCloseDelay:y}=Ut(e,s=>{s===(e.openOnHover&&r||c.value&&l)&&!(e.openOnHover&&t.value&&!a.value)&&(t.value!==s&&(u=!0),t.value=s)}),h=V(),v={onClick:s=>{s.stopPropagation(),o.value=s.currentTarget||s.target,t.value||(h.value=[s.clientX,s.clientY]),t.value=!t.value},onMouseenter:s=>{var T;(T=s.sourceCapabilities)!=null&&T.firesTouchEvents||(r=!0,o.value=s.currentTarget||s.target,g())},onMouseleave:s=>{r=!1,y()},onFocus:s=>{Ze(s.target,":focus-visible")!==!1&&(l=!0,s.stopPropagation(),o.value=s.currentTarget||s.target,g())},onBlur:s=>{l=!1,s.stopPropagation(),y()}},d=O(()=>{const s={};return f.value&&(s.onClick=v.onClick),e.openOnHover&&(s.onMouseenter=v.onMouseenter,s.onMouseleave=v.onMouseleave),c.value&&(s.onFocus=v.onFocus,s.onBlur=v.onBlur),s}),A=O(()=>{const s={};if(e.openOnHover&&(s.onMouseenter=()=>{r=!0,g()},s.onMouseleave=()=>{r=!1,y()}),c.value&&(s.onFocusin=()=>{l=!0,g()},s.onFocusout=()=>{l=!1,y()}),e.closeOnContentClick){const T=Te(jt,null);s.onClick=()=>{t.value=!1,T==null||T.closeParents()}}return s}),R=O(()=>{const s={};return e.openOnHover&&(s.onMouseenter=()=>{u&&(r=!0,u=!1,g())},s.onMouseleave=()=>{r=!1,y()}),s});k(a,s=>{s&&(e.openOnHover&&!r&&(!c.value||!l)||c.value&&!l&&(!e.openOnHover||!r))&&(t.value=!1)}),k(t,s=>{s||setTimeout(()=>{h.value=void 0})},{flush:"post"});const x=V();fe(()=>{x.value&&K(()=>{o.value=we(x.value)})});const w=V(),H=O(()=>e.target==="cursor"&&h.value?h.value:w.value?we(w.value):Ie(e.target,i)||o.value),L=O(()=>Array.isArray(H.value)?void 0:H.value);let C;return k(()=>!!e.activator,s=>{s&&q?(C=Re(),C.run(()=>{Xt(e,i,{activatorEl:o,activatorEvents:d})})):C&&C.stop()},{flush:"post",immediate:!0}),$(()=>{C==null||C.stop()}),{activatorEl:o,activatorRef:x,target:H,targetEl:L,targetRef:w,activatorEvents:d,contentEvents:A,scrimEvents:R}}function Xt(e,n,t){let{activatorEl:a,activatorEvents:i}=t;k(()=>e.activator,(u,c)=>{if(c&&u!==c){const f=l(c);f&&r(f)}u&&K(()=>o())},{immediate:!0}),k(()=>e.activatorProps,()=>{o()}),$(()=>{r()});function o(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:l(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;u&&Xe(u,W(i.value,c))}function r(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:l(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;u&&Je(u,W(i.value,c))}function l(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator;const c=Ie(u,n);return a.value=(c==null?void 0:c.nodeType)===Node.ELEMENT_NODE?c:void 0,a.value}}function Ie(e,n){var a,i;if(!e)return;let t;if(e==="parent"){let o=(i=(a=n==null?void 0:n.proxy)==null?void 0:a.$el)==null?void 0:i.parentNode;for(;o!=null&&o.hasAttribute("data-no-activator");)o=o.parentNode;t=o}else typeof e=="string"?t=document.querySelector(e):"$el"in e?t=e.$el:t=e;return t}function Jt(){if(!q)return j(!1);const{ssr:e}=Ft();if(e){const n=j(!1);return Qe(()=>{n.value=!0}),n}else return j(!0)}const Zt=z({eager:Boolean},"lazy");function Qt(e,n){const t=j(!1),a=O(()=>t.value||e.eager||n.value);k(n,()=>t.value=!0);function i(){e.eager||(t.value=!1)}return{isBooted:t,hasContent:a,onAfterLeave:i}}function We(){const n=ve("useScopeId").vnode.scopeId;return{scopeId:n?{[n]:""}:void 0}}const Ce=Symbol.for("vuetify:stack"),Y=Be([]);function en(e,n,t){const a=ve("useStack"),i=!t,o=Te(Ce,void 0),r=Be({activeChildren:new Set});et(Ce,r);const l=j(+n.value);ue(e,()=>{var g;const f=(g=Y.at(-1))==null?void 0:g[1];l.value=f?f+10:+n.value,i&&Y.push([a.uid,l.value]),o==null||o.activeChildren.add(a.uid),$(()=>{if(i){const y=tt(Y).findIndex(h=>h[0]===a.uid);Y.splice(y,1)}o==null||o.activeChildren.delete(a.uid)})});const u=j(!0);i&&fe(()=>{var g;const f=((g=Y.at(-1))==null?void 0:g[0])===a.uid;setTimeout(()=>u.value=f)});const c=O(()=>!r.activeChildren.size);return{globalTop:nt(u),localTop:c,stackStyles:O(()=>({zIndex:l.value}))}}function tn(e){return{teleportTarget:O(()=>{const t=e.value;if(t===!0||!q)return;const a=t===!1?document.body:typeof t=="string"?document.querySelector(t):t;if(a==null)return;let i=a.querySelector(":scope > .v-overlay-container");return i||(i=document.createElement("div"),i.className="v-overlay-container",a.appendChild(i)),i})}}function nn(){return!0}function $e(e,n,t){if(!e||He(e,t)===!1)return!1;const a=Fe(n);if(typeof ShadowRoot<"u"&&a instanceof ShadowRoot&&a.host===e.target)return!1;const i=(typeof t.value=="object"&&t.value.include||(()=>[]))();return i.push(n),!i.some(o=>o==null?void 0:o.contains(e.target))}function He(e,n){return(typeof n.value=="object"&&n.value.closeConditional||nn)(e)}function on(e,n,t){const a=typeof t.value=="function"?t.value:t.value.handler;n._clickOutside.lastMousedownWasOutside&&$e(e,n,t)&&setTimeout(()=>{He(e,t)&&a&&a(e)},0)}function ke(e,n){const t=Fe(e);n(document),typeof ShadowRoot<"u"&&t instanceof ShadowRoot&&n(t)}const an={mounted(e,n){const t=i=>on(i,e,n),a=i=>{e._clickOutside.lastMousedownWasOutside=$e(i,e,n)};ke(e,i=>{i.addEventListener("click",t,!0),i.addEventListener("mousedown",a,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[n.instance.$.uid]={onClick:t,onMousedown:a}},unmounted(e,n){e._clickOutside&&(ke(e,t=>{var o;if(!t||!((o=e._clickOutside)!=null&&o[n.instance.$.uid]))return;const{onClick:a,onMousedown:i}=e._clickOutside[n.instance.$.uid];t.removeEventListener("click",a,!0),t.removeEventListener("mousedown",i,!0)}),delete e._clickOutside[n.instance.$.uid])}};function rn(e){const{modelValue:n,color:t,...a}=e;return B(Et,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&B("div",W({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},a),null)]})}const Ne=z({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...Yt(),...ot(),...at(),...Zt(),..._t(),...$t(),...rt(),...lt()},"VOverlay"),Ae=Le()({name:"VOverlay",directives:{ClickOutside:an},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...Ne()},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,afterLeave:()=>!0},setup(e,n){let{slots:t,attrs:a,emit:i}=n;const o=_e(e,"modelValue"),r=O({get:()=>o.value,set:E=>{E&&e.disabled||(o.value=E)}}),{teleportTarget:l}=tn(O(()=>e.attach||e.contained)),{themeClasses:u}=it(e),{rtlClasses:c,isRtl:f}=st(),{hasContent:g,onAfterLeave:y}=Qt(e,r),h=ct(O(()=>typeof e.scrim=="string"?e.scrim:null)),{globalTop:v,localTop:d,stackStyles:A}=en(r,ut(e,"zIndex"),e._disableGlobalStack),{activatorEl:R,activatorRef:x,target:w,targetEl:H,targetRef:L,activatorEvents:C,contentEvents:s,scrimEvents:T}=Kt(e,{isActive:r,isTop:d}),{dimensionStyles:Q}=ft(e),ee=Jt(),{scopeId:p}=We();k(()=>e.disabled,E=>{E&&(r.value=!1)});const S=V(),m=V(),{contentStyles:b,updateLocation:F}=Mt(e,{isRtl:f,contentEl:m,target:w,isActive:r});Ht(e,{root:S,contentEl:m,targetEl:H,isActive:r,updateLocation:F});function _(E){i("click:outside",E),e.persistent?D():r.value=!1}function G(){return r.value&&v.value}q&&k(r,E=>{E?window.addEventListener("keydown",P):window.removeEventListener("keydown",P)},{immediate:!0}),vt(()=>{q&&window.removeEventListener("keydown",P)});function P(E){var I,de;E.key==="Escape"&&v.value&&(e.persistent?D():(r.value=!1,(I=m.value)!=null&&I.contains(document.activeElement)&&((de=R.value)==null||de.focus())))}const N=dt();ue(()=>e.closeOnBack,()=>{pt(N,E=>{v.value&&r.value?(E(!1),e.persistent?D():r.value=!1):E()})});const U=V();k(()=>r.value&&(e.absolute||e.contained)&&l.value==null,E=>{if(E){const I=mt(S.value);I&&I!==document.scrollingElement&&(U.value=I.scrollTop)}});function D(){e.noClickAnimation||m.value&>(m.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:Ot})}function qe(){y(),i("afterLeave")}return Me(()=>{var E;return B(xt,null,[(E=t.activator)==null?void 0:E.call(t,{isActive:r.value,props:W({ref:x,targetRef:L},C.value,e.activatorProps)}),!e.disabled&&ee.value&&g.value&&B(yt,{disabled:!l.value,to:l.value},{default:()=>[B("div",W({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":r.value,"v-overlay--contained":e.contained},u.value,c.value,e.class],style:[A.value,{top:M(U.value)},e.style],ref:S},p,a),[B(rn,W({color:h,modelValue:!!e.scrim&&r.value},T.value),null),B(ht,{appear:!0,persisted:!0,transition:e.transition,target:w.value,onAfterLeave:qe},{default:()=>{var I;return[bt(B("div",W({ref:m,class:["v-overlay__content",e.contentClass],style:[Q.value,b.value]},s.value,e.contentProps),[(I=t.default)==null?void 0:I.call(t,{isActive:r})]),[[wt,r.value],[St("click-outside"),{handler:_,closeConditional:G,include:()=>[R.value]}]])]}})])]})])}),{activatorEl:R,target:w,animateClick:D,contentEl:m,globalTop:v,localTop:d,updateLocation:F}}}),le=Symbol("Forwarded refs");function ie(e,n){let t=e;for(;t;){const a=Reflect.getOwnPropertyDescriptor(t,n);if(a)return a;t=Object.getPrototypeOf(t)}}function ln(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),a=1;a<n;a++)t[a-1]=arguments[a];return e[le]=t,new Proxy(e,{get(i,o){if(Reflect.has(i,o))return Reflect.get(i,o);if(!(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))){for(const r of t)if(r.value&&Reflect.has(r.value,o)){const l=Reflect.get(r.value,o);return typeof l=="function"?l.bind(r.value):l}}},has(i,o){if(Reflect.has(i,o))return!0;if(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))return!1;for(const r of t)if(r.value&&Reflect.has(r.value,o))return!0;return!1},set(i,o,r){if(Reflect.has(i,o))return Reflect.set(i,o,r);if(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))return!1;for(const l of t)if(l.value&&Reflect.has(l.value,o))return Reflect.set(l.value,o,r);return!1},getOwnPropertyDescriptor(i,o){var l;const r=Reflect.getOwnPropertyDescriptor(i,o);if(r)return r;if(!(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))){for(const u of t){if(!u.value)continue;const c=ie(u.value,o)??("_"in u.value?ie((l=u.value._)==null?void 0:l.setupState,o):void 0);if(c)return c}for(const u of t){const c=u.value&&u.value[le];if(!c)continue;const f=c.slice();for(;f.length;){const g=f.shift(),y=ie(g.value,o);if(y)return y;const h=g.value&&g.value[le];h&&f.push(...h)}}}}})}const sn=z({fullscreen:Boolean,retainFocus:{type:Boolean,default:!0},scrollable:Boolean,...Ne({origin:"center center",scrollStrategy:"block",transition:{component:Pt},zIndex:2400})},"VDialog"),mn=Le()({name:"VDialog",props:sn(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:t}=n;const a=_e(e,"modelValue"),{scopeId:i}=We(),o=V();function r(u){var g,y;const c=u.relatedTarget,f=u.target;if(c!==f&&((g=o.value)!=null&&g.contentEl)&&((y=o.value)!=null&&y.globalTop)&&![document,o.value.contentEl].includes(f)&&!o.value.contentEl.contains(f)){const h=kt(o.value.contentEl);if(!h.length)return;const v=h[0],d=h[h.length-1];c===v?d.focus():v.focus()}}q&&k(()=>a.value&&e.retainFocus,u=>{u?document.addEventListener("focusin",r):document.removeEventListener("focusin",r)},{immediate:!0}),k(a,async u=>{var c,f;await K(),u?(c=o.value.contentEl)==null||c.focus({preventScroll:!0}):(f=o.value.activatorEl)==null||f.focus({preventScroll:!0})});const l=O(()=>W({"aria-haspopup":"dialog","aria-expanded":String(a.value)},e.activatorProps));return Me(()=>{const u=Ae.filterProps(e);return B(Ae,W({ref:o,class:["v-dialog",{"v-dialog--fullscreen":e.fullscreen,"v-dialog--scrollable":e.scrollable},e.class],style:e.style},u,{modelValue:a.value,"onUpdate:modelValue":c=>a.value=c,"aria-modal":"true",activatorProps:l.value,role:"dialog"},i),{activator:t.activator,default:function(){for(var c=arguments.length,f=new Array(c),g=0;g<c;g++)f[g]=arguments[g];return B(Ct,{root:"VDialog"},{default:()=>{var y;return[(y=t.default)==null?void 0:y.call(t,...f)]}})}})}),ln({},o)}}),cn={name:"ConfirmFooter",props:{confirmText:{type:String,required:!0},disabled:{type:Boolean,default:!1}},emits:["confirm","cancel"]},un={class:"confirmFooter"};function fn(e,n,t,a,i,o){return Rt(),Tt("footer",un,[B(Ee,{class:"confirmButton",disabled:t.disabled,onClick:n[0]||(n[0]=r=>e.$emit("confirm"))},{default:Se(()=>[xe(Bt(t.confirmText),1)]),_:1},8,["disabled"]),B(Ee,{class:"cancelButton",onClick:n[1]||(n[1]=r=>e.$emit("cancel"))},{default:Se(()=>[xe("Cancel")]),_:1})])}const gn=At(cn,[["render",fn],["__scopeId","data-v-1663262a"]]);export{mn as V,gn as _,We as a,Ne as b,jt as c,Ae as d,ln as f,Zt as m,Qt as u};
|
|
Binary file
|
|
Binary file
|
codex/static_root/assets/{confirm-footer-c31QW5F5.8c384032dd7d.js → confirm-footer-IJHq21-K.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{x as z,r as V,V as q,ch as ue,a as k,cW as $,d5 as ze,d6 as je,d7 as me,d8 as te,d9 as ne,da as ge,h as O,n as K,db as Ge,dc as J,dd as oe,de as ye,df as he,z as M,av as be,c$ as Ue,w as fe,dg as Re,dh as Ye,di as Ke,A as ve,i as Te,dj as we,dk as Xe,am as W,dl as Je,c_ as Ze,s as j,B as Qe,f as Be,p as et,dm as tt,dn as nt,dp as Fe,E as ot,bg as at,F as rt,bh as lt,G as Le,ax as _e,I as it,J as st,az as ct,aA as ut,bj as ft,o as vt,cf as dt,cY as mt,an as gt,K as Me,L as B,dq as yt,bm as ht,bk as bt,bn as wt,bl as St,al as xt,cj as Et,dr as pt,ao as Ot,cT as Pt,ck as Ct,au as kt,_ as At,R as Rt,aE as Tt,P as Se,aa as xe,ae as Bt,ak as Ee}from"./admin-drawer-panel-lvSt_rmS.js";import{a as Ft}from"./main-OIrebd4D.js";function ae(e,n){return{x:e.x+n.x,y:e.y+n.y}}function Lt(e,n){return{x:e.x-n.x,y:e.y-n.y}}function pe(e,n){if(e.side==="top"||e.side==="bottom"){const{side:t,align:a}=e,i=a==="left"?0:a==="center"?n.width/2:a==="right"?n.width:a,o=t==="top"?0:t==="bottom"?n.height:t;return ae({x:i,y:o},n)}else if(e.side==="left"||e.side==="right"){const{side:t,align:a}=e,i=t==="left"?0:t==="right"?n.width:t,o=a==="top"?0:a==="center"?n.height/2:a==="bottom"?n.height:a;return ae({x:i,y:o},n)}return ae({x:n.width/2,y:n.height/2},n)}const Ve={static:Vt,connected:It},_t=z({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in Ve},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function Mt(e,n){const t=V({}),a=V();q&&ue(()=>!!(n.isActive.value&&e.locationStrategy),o=>{var r,l;k(()=>e.locationStrategy,o),$(()=>{window.removeEventListener("resize",i),a.value=void 0}),window.addEventListener("resize",i,{passive:!0}),typeof e.locationStrategy=="function"?a.value=(r=e.locationStrategy(n,e,t))==null?void 0:r.updateLocation:a.value=(l=Ve[e.locationStrategy](n,e,t))==null?void 0:l.updateLocation});function i(o){var r;(r=a.value)==null||r.call(a,o)}return{contentStyles:t,updateLocation:a}}function Vt(){}function Dt(e,n){n?e.style.removeProperty("left"):e.style.removeProperty("right");const t=Ue(e);return n?t.x+=parseFloat(e.style.right||0):t.x-=parseFloat(e.style.left||0),t.y-=parseFloat(e.style.top||0),t}function It(e,n,t){(Array.isArray(e.target.value)||ze(e.target.value))&&Object.assign(t.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:i,preferredOrigin:o}=je(()=>{const v=me(n.location,e.isRtl.value),d=n.origin==="overlap"?v:n.origin==="auto"?te(v):me(n.origin,e.isRtl.value);return v.side===d.side&&v.align===ne(d).align?{preferredAnchor:ge(v),preferredOrigin:ge(d)}:{preferredAnchor:v,preferredOrigin:d}}),[r,l,u,c]=["minWidth","minHeight","maxWidth","maxHeight"].map(v=>O(()=>{const d=parseFloat(n[v]);return isNaN(d)?1/0:d})),f=O(()=>{if(Array.isArray(n.offset))return n.offset;if(typeof n.offset=="string"){const v=n.offset.split(" ").map(parseFloat);return v.length<2&&v.push(0),v}return typeof n.offset=="number"?[n.offset,0]:[0,0]});let g=!1;const y=new ResizeObserver(()=>{g&&h()});k([e.target,e.contentEl],(v,d)=>{let[A,R]=v,[x,w]=d;x&&!Array.isArray(x)&&y.unobserve(x),A&&!Array.isArray(A)&&y.observe(A),w&&y.unobserve(w),R&&y.observe(R)},{immediate:!0}),$(()=>{y.disconnect()});function h(){if(g=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>g=!0)}),!e.target.value||!e.contentEl.value)return;const v=Ge(e.target.value),d=Dt(e.contentEl.value,e.isRtl.value),A=J(e.contentEl.value),R=12;A.length||(A.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(d.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),d.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const x=A.reduce((p,S)=>{const m=S.getBoundingClientRect(),b=new oe({x:S===document.documentElement?0:m.x,y:S===document.documentElement?0:m.y,width:S.clientWidth,height:S.clientHeight});return p?new oe({x:Math.max(p.left,b.left),y:Math.max(p.top,b.top),width:Math.min(p.right,b.right)-Math.max(p.left,b.left),height:Math.min(p.bottom,b.bottom)-Math.max(p.top,b.top)}):b},void 0);x.x+=R,x.y+=R,x.width-=R*2,x.height-=R*2;let w={anchor:i.value,origin:o.value};function H(p){const S=new oe(d),m=pe(p.anchor,v),b=pe(p.origin,S);let{x:F,y:_}=Lt(m,b);switch(p.anchor.side){case"top":_-=f.value[0];break;case"bottom":_+=f.value[0];break;case"left":F-=f.value[0];break;case"right":F+=f.value[0];break}switch(p.anchor.align){case"top":_-=f.value[1];break;case"bottom":_+=f.value[1];break;case"left":F-=f.value[1];break;case"right":F+=f.value[1];break}return S.x+=F,S.y+=_,S.width=Math.min(S.width,u.value),S.height=Math.min(S.height,c.value),{overflows:he(S,x),x:F,y:_}}let L=0,C=0;const s={x:0,y:0},T={x:!1,y:!1};let Q=-1;for(;!(Q++>10);){const{x:p,y:S,overflows:m}=H(w);L+=p,C+=S,d.x+=p,d.y+=S;{const b=ye(w.anchor),F=m.x.before||m.x.after,_=m.y.before||m.y.after;let G=!1;if(["x","y"].forEach(P=>{if(P==="x"&&F&&!T.x||P==="y"&&_&&!T.y){const N={anchor:{...w.anchor},origin:{...w.origin}},U=P==="x"?b==="y"?ne:te:b==="y"?te:ne;N.anchor=U(N.anchor),N.origin=U(N.origin);const{overflows:D}=H(N);(D[P].before<=m[P].before&&D[P].after<=m[P].after||D[P].before+D[P].after<(m[P].before+m[P].after)/2)&&(w=N,G=T[P]=!0)}}),G)continue}m.x.before&&(L+=m.x.before,d.x+=m.x.before),m.x.after&&(L-=m.x.after,d.x-=m.x.after),m.y.before&&(C+=m.y.before,d.y+=m.y.before),m.y.after&&(C-=m.y.after,d.y-=m.y.after);{const b=he(d,x);s.x=x.width-b.x.before-b.x.after,s.y=x.height-b.y.before-b.y.after,L+=b.x.before,d.x+=b.x.before,C+=b.y.before,d.y+=b.y.before}break}const ee=ye(w.anchor);return Object.assign(t.value,{"--v-overlay-anchor-origin":`${w.anchor.side} ${w.anchor.align}`,transformOrigin:`${w.origin.side} ${w.origin.align}`,top:M(re(C)),left:e.isRtl.value?void 0:M(re(L)),right:e.isRtl.value?M(re(-L)):void 0,minWidth:M(ee==="y"?Math.min(r.value,v.width):r.value),maxWidth:M(Oe(be(s.x,r.value===1/0?0:r.value,u.value))),maxHeight:M(Oe(be(s.y,l.value===1/0?0:l.value,c.value)))}),{available:s,contentBox:d}}return k(()=>[i.value,o.value,n.offset,n.minWidth,n.minHeight,n.maxWidth,n.maxHeight],()=>h()),K(()=>{const v=h();if(!v)return;const{available:d,contentBox:A}=v;A.height>d.y&&requestAnimationFrame(()=>{h(),requestAnimationFrame(()=>{h()})})}),{updateLocation:h}}function re(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function Oe(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let se=!0;const Z=[];function Wt(e){!se||Z.length?(Z.push(e),ce()):(se=!1,e(),ce())}let Pe=-1;function ce(){cancelAnimationFrame(Pe),Pe=requestAnimationFrame(()=>{const e=Z.shift();e&&e(),Z.length?ce():se=!0})}const X={none:null,close:Nt,block:qt,reposition:zt},$t=z({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in X}},"VOverlay-scroll-strategies");function Ht(e,n){if(!q)return;let t;fe(async()=>{t==null||t.stop(),n.isActive.value&&e.scrollStrategy&&(t=Re(),await K(),t.active&&t.run(()=>{var a;typeof e.scrollStrategy=="function"?e.scrollStrategy(n,e,t):(a=X[e.scrollStrategy])==null||a.call(X,n,e,t)}))}),$(()=>{t==null||t.stop()})}function Nt(e){function n(t){e.isActive.value=!1}De(e.targetEl.value??e.contentEl.value,n)}function qt(e,n){var r;const t=(r=e.root.value)==null?void 0:r.offsetParent,a=[...new Set([...J(e.targetEl.value,n.contained?t:void 0),...J(e.contentEl.value,n.contained?t:void 0)])].filter(l=>!l.classList.contains("v-overlay-scroll-blocked")),i=window.innerWidth-document.documentElement.offsetWidth,o=(l=>Ye(l)&&l)(t||document.documentElement);o&&e.root.value.classList.add("v-overlay--scroll-blocked"),a.forEach((l,u)=>{l.style.setProperty("--v-body-scroll-x",M(-l.scrollLeft)),l.style.setProperty("--v-body-scroll-y",M(-l.scrollTop)),l!==document.documentElement&&l.style.setProperty("--v-scrollbar-offset",M(i)),l.classList.add("v-overlay-scroll-blocked")}),$(()=>{a.forEach((l,u)=>{const c=parseFloat(l.style.getPropertyValue("--v-body-scroll-x")),f=parseFloat(l.style.getPropertyValue("--v-body-scroll-y"));l.style.removeProperty("--v-body-scroll-x"),l.style.removeProperty("--v-body-scroll-y"),l.style.removeProperty("--v-scrollbar-offset"),l.classList.remove("v-overlay-scroll-blocked"),l.scrollLeft=-c,l.scrollTop=-f}),o&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function zt(e,n,t){let a=!1,i=-1,o=-1;function r(l){Wt(()=>{var f,g;const u=performance.now();(g=(f=e.updateLocation).value)==null||g.call(f,l),a=(performance.now()-u)/(1e3/60)>2})}o=(typeof requestIdleCallback>"u"?l=>l():requestIdleCallback)(()=>{t.run(()=>{De(e.targetEl.value??e.contentEl.value,l=>{a?(cancelAnimationFrame(i),i=requestAnimationFrame(()=>{i=requestAnimationFrame(()=>{r(l)})})):r(l)})})}),$(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(o),cancelAnimationFrame(i)})}function De(e,n){const t=[document,...J(e)];t.forEach(a=>{a.addEventListener("scroll",n,{passive:!0})}),$(()=>{t.forEach(a=>{a.removeEventListener("scroll",n)})})}const jt=Symbol.for("vuetify:v-menu"),Gt=z({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function Ut(e,n){let t=()=>{};function a(r){t==null||t();const l=Number(r?e.openDelay:e.closeDelay);return new Promise(u=>{t=Ke(l,()=>{n==null||n(r),u(r)})})}function i(){return a(!0)}function o(){return a(!1)}return{clearDelay:t,runOpenDelay:i,runCloseDelay:o}}const Yt=z({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...Gt()},"VOverlay-activator");function Kt(e,n){let{isActive:t,isTop:a}=n;const i=ve("useActivator"),o=V();let r=!1,l=!1,u=!0;const c=O(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),f=O(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!c.value),{runOpenDelay:g,runCloseDelay:y}=Ut(e,s=>{s===(e.openOnHover&&r||c.value&&l)&&!(e.openOnHover&&t.value&&!a.value)&&(t.value!==s&&(u=!0),t.value=s)}),h=V(),v={onClick:s=>{s.stopPropagation(),o.value=s.currentTarget||s.target,t.value||(h.value=[s.clientX,s.clientY]),t.value=!t.value},onMouseenter:s=>{var T;(T=s.sourceCapabilities)!=null&&T.firesTouchEvents||(r=!0,o.value=s.currentTarget||s.target,g())},onMouseleave:s=>{r=!1,y()},onFocus:s=>{Ze(s.target,":focus-visible")!==!1&&(l=!0,s.stopPropagation(),o.value=s.currentTarget||s.target,g())},onBlur:s=>{l=!1,s.stopPropagation(),y()}},d=O(()=>{const s={};return f.value&&(s.onClick=v.onClick),e.openOnHover&&(s.onMouseenter=v.onMouseenter,s.onMouseleave=v.onMouseleave),c.value&&(s.onFocus=v.onFocus,s.onBlur=v.onBlur),s}),A=O(()=>{const s={};if(e.openOnHover&&(s.onMouseenter=()=>{r=!0,g()},s.onMouseleave=()=>{r=!1,y()}),c.value&&(s.onFocusin=()=>{l=!0,g()},s.onFocusout=()=>{l=!1,y()}),e.closeOnContentClick){const T=Te(jt,null);s.onClick=()=>{t.value=!1,T==null||T.closeParents()}}return s}),R=O(()=>{const s={};return e.openOnHover&&(s.onMouseenter=()=>{u&&(r=!0,u=!1,g())},s.onMouseleave=()=>{r=!1,y()}),s});k(a,s=>{s&&(e.openOnHover&&!r&&(!c.value||!l)||c.value&&!l&&(!e.openOnHover||!r))&&(t.value=!1)}),k(t,s=>{s||setTimeout(()=>{h.value=void 0})},{flush:"post"});const x=V();fe(()=>{x.value&&K(()=>{o.value=we(x.value)})});const w=V(),H=O(()=>e.target==="cursor"&&h.value?h.value:w.value?we(w.value):Ie(e.target,i)||o.value),L=O(()=>Array.isArray(H.value)?void 0:H.value);let C;return k(()=>!!e.activator,s=>{s&&q?(C=Re(),C.run(()=>{Xt(e,i,{activatorEl:o,activatorEvents:d})})):C&&C.stop()},{flush:"post",immediate:!0}),$(()=>{C==null||C.stop()}),{activatorEl:o,activatorRef:x,target:H,targetEl:L,targetRef:w,activatorEvents:d,contentEvents:A,scrimEvents:R}}function Xt(e,n,t){let{activatorEl:a,activatorEvents:i}=t;k(()=>e.activator,(u,c)=>{if(c&&u!==c){const f=l(c);f&&r(f)}u&&K(()=>o())},{immediate:!0}),k(()=>e.activatorProps,()=>{o()}),$(()=>{r()});function o(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:l(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;u&&Xe(u,W(i.value,c))}function r(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:l(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;u&&Je(u,W(i.value,c))}function l(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator;const c=Ie(u,n);return a.value=(c==null?void 0:c.nodeType)===Node.ELEMENT_NODE?c:void 0,a.value}}function Ie(e,n){var a,i;if(!e)return;let t;if(e==="parent"){let o=(i=(a=n==null?void 0:n.proxy)==null?void 0:a.$el)==null?void 0:i.parentNode;for(;o!=null&&o.hasAttribute("data-no-activator");)o=o.parentNode;t=o}else typeof e=="string"?t=document.querySelector(e):"$el"in e?t=e.$el:t=e;return t}function Jt(){if(!q)return j(!1);const{ssr:e}=Ft();if(e){const n=j(!1);return Qe(()=>{n.value=!0}),n}else return j(!0)}const Zt=z({eager:Boolean},"lazy");function Qt(e,n){const t=j(!1),a=O(()=>t.value||e.eager||n.value);k(n,()=>t.value=!0);function i(){e.eager||(t.value=!1)}return{isBooted:t,hasContent:a,onAfterLeave:i}}function We(){const n=ve("useScopeId").vnode.scopeId;return{scopeId:n?{[n]:""}:void 0}}const Ce=Symbol.for("vuetify:stack"),Y=Be([]);function en(e,n,t){const a=ve("useStack"),i=!t,o=Te(Ce,void 0),r=Be({activeChildren:new Set});et(Ce,r);const l=j(+n.value);ue(e,()=>{var g;const f=(g=Y.at(-1))==null?void 0:g[1];l.value=f?f+10:+n.value,i&&Y.push([a.uid,l.value]),o==null||o.activeChildren.add(a.uid),$(()=>{if(i){const y=tt(Y).findIndex(h=>h[0]===a.uid);Y.splice(y,1)}o==null||o.activeChildren.delete(a.uid)})});const u=j(!0);i&&fe(()=>{var g;const f=((g=Y.at(-1))==null?void 0:g[0])===a.uid;setTimeout(()=>u.value=f)});const c=O(()=>!r.activeChildren.size);return{globalTop:nt(u),localTop:c,stackStyles:O(()=>({zIndex:l.value}))}}function tn(e){return{teleportTarget:O(()=>{const t=e.value;if(t===!0||!q)return;const a=t===!1?document.body:typeof t=="string"?document.querySelector(t):t;if(a==null)return;let i=a.querySelector(":scope > .v-overlay-container");return i||(i=document.createElement("div"),i.className="v-overlay-container",a.appendChild(i)),i})}}function nn(){return!0}function $e(e,n,t){if(!e||He(e,t)===!1)return!1;const a=Fe(n);if(typeof ShadowRoot<"u"&&a instanceof ShadowRoot&&a.host===e.target)return!1;const i=(typeof t.value=="object"&&t.value.include||(()=>[]))();return i.push(n),!i.some(o=>o==null?void 0:o.contains(e.target))}function He(e,n){return(typeof n.value=="object"&&n.value.closeConditional||nn)(e)}function on(e,n,t){const a=typeof t.value=="function"?t.value:t.value.handler;n._clickOutside.lastMousedownWasOutside&&$e(e,n,t)&&setTimeout(()=>{He(e,t)&&a&&a(e)},0)}function ke(e,n){const t=Fe(e);n(document),typeof ShadowRoot<"u"&&t instanceof ShadowRoot&&n(t)}const an={mounted(e,n){const t=i=>on(i,e,n),a=i=>{e._clickOutside.lastMousedownWasOutside=$e(i,e,n)};ke(e,i=>{i.addEventListener("click",t,!0),i.addEventListener("mousedown",a,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[n.instance.$.uid]={onClick:t,onMousedown:a}},unmounted(e,n){e._clickOutside&&(ke(e,t=>{var o;if(!t||!((o=e._clickOutside)!=null&&o[n.instance.$.uid]))return;const{onClick:a,onMousedown:i}=e._clickOutside[n.instance.$.uid];t.removeEventListener("click",a,!0),t.removeEventListener("mousedown",i,!0)}),delete e._clickOutside[n.instance.$.uid])}};function rn(e){const{modelValue:n,color:t,...a}=e;return B(Et,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&B("div",W({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},a),null)]})}const Ne=z({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...Yt(),...ot(),...at(),...Zt(),..._t(),...$t(),...rt(),...lt()},"VOverlay"),Ae=Le()({name:"VOverlay",directives:{ClickOutside:an},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...Ne()},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,afterLeave:()=>!0},setup(e,n){let{slots:t,attrs:a,emit:i}=n;const o=_e(e,"modelValue"),r=O({get:()=>o.value,set:E=>{E&&e.disabled||(o.value=E)}}),{teleportTarget:l}=tn(O(()=>e.attach||e.contained)),{themeClasses:u}=it(e),{rtlClasses:c,isRtl:f}=st(),{hasContent:g,onAfterLeave:y}=Qt(e,r),h=ct(O(()=>typeof e.scrim=="string"?e.scrim:null)),{globalTop:v,localTop:d,stackStyles:A}=en(r,ut(e,"zIndex"),e._disableGlobalStack),{activatorEl:R,activatorRef:x,target:w,targetEl:H,targetRef:L,activatorEvents:C,contentEvents:s,scrimEvents:T}=Kt(e,{isActive:r,isTop:d}),{dimensionStyles:Q}=ft(e),ee=Jt(),{scopeId:p}=We();k(()=>e.disabled,E=>{E&&(r.value=!1)});const S=V(),m=V(),{contentStyles:b,updateLocation:F}=Mt(e,{isRtl:f,contentEl:m,target:w,isActive:r});Ht(e,{root:S,contentEl:m,targetEl:H,isActive:r,updateLocation:F});function _(E){i("click:outside",E),e.persistent?D():r.value=!1}function G(){return r.value&&v.value}q&&k(r,E=>{E?window.addEventListener("keydown",P):window.removeEventListener("keydown",P)},{immediate:!0}),vt(()=>{q&&window.removeEventListener("keydown",P)});function P(E){var I,de;E.key==="Escape"&&v.value&&(e.persistent?D():(r.value=!1,(I=m.value)!=null&&I.contains(document.activeElement)&&((de=R.value)==null||de.focus())))}const N=dt();ue(()=>e.closeOnBack,()=>{pt(N,E=>{v.value&&r.value?(E(!1),e.persistent?D():r.value=!1):E()})});const U=V();k(()=>r.value&&(e.absolute||e.contained)&&l.value==null,E=>{if(E){const I=mt(S.value);I&&I!==document.scrollingElement&&(U.value=I.scrollTop)}});function D(){e.noClickAnimation||m.value&>(m.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:Ot})}function qe(){y(),i("afterLeave")}return Me(()=>{var E;return B(xt,null,[(E=t.activator)==null?void 0:E.call(t,{isActive:r.value,props:W({ref:x,targetRef:L},C.value,e.activatorProps)}),!e.disabled&&ee.value&&g.value&&B(yt,{disabled:!l.value,to:l.value},{default:()=>[B("div",W({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":r.value,"v-overlay--contained":e.contained},u.value,c.value,e.class],style:[A.value,{top:M(U.value)},e.style],ref:S},p,a),[B(rn,W({color:h,modelValue:!!e.scrim&&r.value},T.value),null),B(ht,{appear:!0,persisted:!0,transition:e.transition,target:w.value,onAfterLeave:qe},{default:()=>{var I;return[bt(B("div",W({ref:m,class:["v-overlay__content",e.contentClass],style:[Q.value,b.value]},s.value,e.contentProps),[(I=t.default)==null?void 0:I.call(t,{isActive:r})]),[[wt,r.value],[St("click-outside"),{handler:_,closeConditional:G,include:()=>[R.value]}]])]}})])]})])}),{activatorEl:R,target:w,animateClick:D,contentEl:m,globalTop:v,localTop:d,updateLocation:F}}}),le=Symbol("Forwarded refs");function ie(e,n){let t=e;for(;t;){const a=Reflect.getOwnPropertyDescriptor(t,n);if(a)return a;t=Object.getPrototypeOf(t)}}function ln(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),a=1;a<n;a++)t[a-1]=arguments[a];return e[le]=t,new Proxy(e,{get(i,o){if(Reflect.has(i,o))return Reflect.get(i,o);if(!(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))){for(const r of t)if(r.value&&Reflect.has(r.value,o)){const l=Reflect.get(r.value,o);return typeof l=="function"?l.bind(r.value):l}}},has(i,o){if(Reflect.has(i,o))return!0;if(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))return!1;for(const r of t)if(r.value&&Reflect.has(r.value,o))return!0;return!1},set(i,o,r){if(Reflect.has(i,o))return Reflect.set(i,o,r);if(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))return!1;for(const l of t)if(l.value&&Reflect.has(l.value,o))return Reflect.set(l.value,o,r);return!1},getOwnPropertyDescriptor(i,o){var l;const r=Reflect.getOwnPropertyDescriptor(i,o);if(r)return r;if(!(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))){for(const u of t){if(!u.value)continue;const c=ie(u.value,o)??("_"in u.value?ie((l=u.value._)==null?void 0:l.setupState,o):void 0);if(c)return c}for(const u of t){const c=u.value&&u.value[le];if(!c)continue;const f=c.slice();for(;f.length;){const g=f.shift(),y=ie(g.value,o);if(y)return y;const h=g.value&&g.value[le];h&&f.push(...h)}}}}})}const sn=z({fullscreen:Boolean,retainFocus:{type:Boolean,default:!0},scrollable:Boolean,...Ne({origin:"center center",scrollStrategy:"block",transition:{component:Pt},zIndex:2400})},"VDialog"),mn=Le()({name:"VDialog",props:sn(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:t}=n;const a=_e(e,"modelValue"),{scopeId:i}=We(),o=V();function r(u){var g,y;const c=u.relatedTarget,f=u.target;if(c!==f&&((g=o.value)!=null&&g.contentEl)&&((y=o.value)!=null&&y.globalTop)&&![document,o.value.contentEl].includes(f)&&!o.value.contentEl.contains(f)){const h=kt(o.value.contentEl);if(!h.length)return;const v=h[0],d=h[h.length-1];c===v?d.focus():v.focus()}}q&&k(()=>a.value&&e.retainFocus,u=>{u?document.addEventListener("focusin",r):document.removeEventListener("focusin",r)},{immediate:!0}),k(a,async u=>{var c,f;await K(),u?(c=o.value.contentEl)==null||c.focus({preventScroll:!0}):(f=o.value.activatorEl)==null||f.focus({preventScroll:!0})});const l=O(()=>W({"aria-haspopup":"dialog","aria-expanded":String(a.value)},e.activatorProps));return Me(()=>{const u=Ae.filterProps(e);return B(Ae,W({ref:o,class:["v-dialog",{"v-dialog--fullscreen":e.fullscreen,"v-dialog--scrollable":e.scrollable},e.class],style:e.style},u,{modelValue:a.value,"onUpdate:modelValue":c=>a.value=c,"aria-modal":"true",activatorProps:l.value,role:"dialog"},i),{activator:t.activator,default:function(){for(var c=arguments.length,f=new Array(c),g=0;g<c;g++)f[g]=arguments[g];return B(Ct,{root:"VDialog"},{default:()=>{var y;return[(y=t.default)==null?void 0:y.call(t,...f)]}})}})}),ln({},o)}}),cn={name:"ConfirmFooter",props:{confirmText:{type:String,required:!0},disabled:{type:Boolean,default:!1}},emits:["confirm","cancel"]},un={class:"confirmFooter"};function fn(e,n,t,a,i,o){return Rt(),Tt("footer",un,[B(Ee,{class:"confirmButton",disabled:t.disabled,onClick:n[0]||(n[0]=r=>e.$emit("confirm"))},{default:Se(()=>[xe(Bt(t.confirmText),1)]),_:1},8,["disabled"]),B(Ee,{class:"cancelButton",onClick:n[1]||(n[1]=r=>e.$emit("cancel"))},{default:Se(()=>[xe("Cancel")]),_:1})])}const gn=At(cn,[["render",fn],["__scopeId","data-v-1663262a"]]);export{mn as V,gn as _,We as a,Ne as b,jt as c,Ae as d,ln as f,Zt as m,Qt as u};
|
|
1
|
+
import{x as z,r as V,V as q,ch as ue,a as k,cW as $,d5 as ze,d6 as je,d7 as me,d8 as te,d9 as ne,da as ge,h as O,n as K,db as Ge,dc as J,dd as oe,de as ye,df as he,z as M,av as be,c$ as Ue,w as fe,dg as Re,dh as Ye,di as Ke,A as ve,i as Te,dj as we,dk as Xe,am as W,dl as Je,c_ as Ze,s as j,B as Qe,f as Be,p as et,dm as tt,dn as nt,dp as Fe,E as ot,bg as at,F as rt,bh as lt,G as Le,ax as _e,I as it,J as st,az as ct,aA as ut,bj as ft,o as vt,cf as dt,cY as mt,an as gt,K as Me,L as B,dq as yt,bm as ht,bk as bt,bn as wt,bl as St,al as xt,cj as Et,dr as pt,ao as Ot,cT as Pt,ck as Ct,au as kt,_ as At,R as Rt,aE as Tt,P as Se,aa as xe,ae as Bt,ak as Ee}from"./admin-drawer-panel-JjJ1iA6R.js";import{a as Ft}from"./main-fEXxBNBg.js";function ae(e,n){return{x:e.x+n.x,y:e.y+n.y}}function Lt(e,n){return{x:e.x-n.x,y:e.y-n.y}}function pe(e,n){if(e.side==="top"||e.side==="bottom"){const{side:t,align:a}=e,i=a==="left"?0:a==="center"?n.width/2:a==="right"?n.width:a,o=t==="top"?0:t==="bottom"?n.height:t;return ae({x:i,y:o},n)}else if(e.side==="left"||e.side==="right"){const{side:t,align:a}=e,i=t==="left"?0:t==="right"?n.width:t,o=a==="top"?0:a==="center"?n.height/2:a==="bottom"?n.height:a;return ae({x:i,y:o},n)}return ae({x:n.width/2,y:n.height/2},n)}const Ve={static:Vt,connected:It},_t=z({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in Ve},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function Mt(e,n){const t=V({}),a=V();q&&ue(()=>!!(n.isActive.value&&e.locationStrategy),o=>{var r,l;k(()=>e.locationStrategy,o),$(()=>{window.removeEventListener("resize",i),a.value=void 0}),window.addEventListener("resize",i,{passive:!0}),typeof e.locationStrategy=="function"?a.value=(r=e.locationStrategy(n,e,t))==null?void 0:r.updateLocation:a.value=(l=Ve[e.locationStrategy](n,e,t))==null?void 0:l.updateLocation});function i(o){var r;(r=a.value)==null||r.call(a,o)}return{contentStyles:t,updateLocation:a}}function Vt(){}function Dt(e,n){n?e.style.removeProperty("left"):e.style.removeProperty("right");const t=Ue(e);return n?t.x+=parseFloat(e.style.right||0):t.x-=parseFloat(e.style.left||0),t.y-=parseFloat(e.style.top||0),t}function It(e,n,t){(Array.isArray(e.target.value)||ze(e.target.value))&&Object.assign(t.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:i,preferredOrigin:o}=je(()=>{const v=me(n.location,e.isRtl.value),d=n.origin==="overlap"?v:n.origin==="auto"?te(v):me(n.origin,e.isRtl.value);return v.side===d.side&&v.align===ne(d).align?{preferredAnchor:ge(v),preferredOrigin:ge(d)}:{preferredAnchor:v,preferredOrigin:d}}),[r,l,u,c]=["minWidth","minHeight","maxWidth","maxHeight"].map(v=>O(()=>{const d=parseFloat(n[v]);return isNaN(d)?1/0:d})),f=O(()=>{if(Array.isArray(n.offset))return n.offset;if(typeof n.offset=="string"){const v=n.offset.split(" ").map(parseFloat);return v.length<2&&v.push(0),v}return typeof n.offset=="number"?[n.offset,0]:[0,0]});let g=!1;const y=new ResizeObserver(()=>{g&&h()});k([e.target,e.contentEl],(v,d)=>{let[A,R]=v,[x,w]=d;x&&!Array.isArray(x)&&y.unobserve(x),A&&!Array.isArray(A)&&y.observe(A),w&&y.unobserve(w),R&&y.observe(R)},{immediate:!0}),$(()=>{y.disconnect()});function h(){if(g=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>g=!0)}),!e.target.value||!e.contentEl.value)return;const v=Ge(e.target.value),d=Dt(e.contentEl.value,e.isRtl.value),A=J(e.contentEl.value),R=12;A.length||(A.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(d.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),d.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const x=A.reduce((p,S)=>{const m=S.getBoundingClientRect(),b=new oe({x:S===document.documentElement?0:m.x,y:S===document.documentElement?0:m.y,width:S.clientWidth,height:S.clientHeight});return p?new oe({x:Math.max(p.left,b.left),y:Math.max(p.top,b.top),width:Math.min(p.right,b.right)-Math.max(p.left,b.left),height:Math.min(p.bottom,b.bottom)-Math.max(p.top,b.top)}):b},void 0);x.x+=R,x.y+=R,x.width-=R*2,x.height-=R*2;let w={anchor:i.value,origin:o.value};function H(p){const S=new oe(d),m=pe(p.anchor,v),b=pe(p.origin,S);let{x:F,y:_}=Lt(m,b);switch(p.anchor.side){case"top":_-=f.value[0];break;case"bottom":_+=f.value[0];break;case"left":F-=f.value[0];break;case"right":F+=f.value[0];break}switch(p.anchor.align){case"top":_-=f.value[1];break;case"bottom":_+=f.value[1];break;case"left":F-=f.value[1];break;case"right":F+=f.value[1];break}return S.x+=F,S.y+=_,S.width=Math.min(S.width,u.value),S.height=Math.min(S.height,c.value),{overflows:he(S,x),x:F,y:_}}let L=0,C=0;const s={x:0,y:0},T={x:!1,y:!1};let Q=-1;for(;!(Q++>10);){const{x:p,y:S,overflows:m}=H(w);L+=p,C+=S,d.x+=p,d.y+=S;{const b=ye(w.anchor),F=m.x.before||m.x.after,_=m.y.before||m.y.after;let G=!1;if(["x","y"].forEach(P=>{if(P==="x"&&F&&!T.x||P==="y"&&_&&!T.y){const N={anchor:{...w.anchor},origin:{...w.origin}},U=P==="x"?b==="y"?ne:te:b==="y"?te:ne;N.anchor=U(N.anchor),N.origin=U(N.origin);const{overflows:D}=H(N);(D[P].before<=m[P].before&&D[P].after<=m[P].after||D[P].before+D[P].after<(m[P].before+m[P].after)/2)&&(w=N,G=T[P]=!0)}}),G)continue}m.x.before&&(L+=m.x.before,d.x+=m.x.before),m.x.after&&(L-=m.x.after,d.x-=m.x.after),m.y.before&&(C+=m.y.before,d.y+=m.y.before),m.y.after&&(C-=m.y.after,d.y-=m.y.after);{const b=he(d,x);s.x=x.width-b.x.before-b.x.after,s.y=x.height-b.y.before-b.y.after,L+=b.x.before,d.x+=b.x.before,C+=b.y.before,d.y+=b.y.before}break}const ee=ye(w.anchor);return Object.assign(t.value,{"--v-overlay-anchor-origin":`${w.anchor.side} ${w.anchor.align}`,transformOrigin:`${w.origin.side} ${w.origin.align}`,top:M(re(C)),left:e.isRtl.value?void 0:M(re(L)),right:e.isRtl.value?M(re(-L)):void 0,minWidth:M(ee==="y"?Math.min(r.value,v.width):r.value),maxWidth:M(Oe(be(s.x,r.value===1/0?0:r.value,u.value))),maxHeight:M(Oe(be(s.y,l.value===1/0?0:l.value,c.value)))}),{available:s,contentBox:d}}return k(()=>[i.value,o.value,n.offset,n.minWidth,n.minHeight,n.maxWidth,n.maxHeight],()=>h()),K(()=>{const v=h();if(!v)return;const{available:d,contentBox:A}=v;A.height>d.y&&requestAnimationFrame(()=>{h(),requestAnimationFrame(()=>{h()})})}),{updateLocation:h}}function re(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function Oe(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let se=!0;const Z=[];function Wt(e){!se||Z.length?(Z.push(e),ce()):(se=!1,e(),ce())}let Pe=-1;function ce(){cancelAnimationFrame(Pe),Pe=requestAnimationFrame(()=>{const e=Z.shift();e&&e(),Z.length?ce():se=!0})}const X={none:null,close:Nt,block:qt,reposition:zt},$t=z({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in X}},"VOverlay-scroll-strategies");function Ht(e,n){if(!q)return;let t;fe(async()=>{t==null||t.stop(),n.isActive.value&&e.scrollStrategy&&(t=Re(),await K(),t.active&&t.run(()=>{var a;typeof e.scrollStrategy=="function"?e.scrollStrategy(n,e,t):(a=X[e.scrollStrategy])==null||a.call(X,n,e,t)}))}),$(()=>{t==null||t.stop()})}function Nt(e){function n(t){e.isActive.value=!1}De(e.targetEl.value??e.contentEl.value,n)}function qt(e,n){var r;const t=(r=e.root.value)==null?void 0:r.offsetParent,a=[...new Set([...J(e.targetEl.value,n.contained?t:void 0),...J(e.contentEl.value,n.contained?t:void 0)])].filter(l=>!l.classList.contains("v-overlay-scroll-blocked")),i=window.innerWidth-document.documentElement.offsetWidth,o=(l=>Ye(l)&&l)(t||document.documentElement);o&&e.root.value.classList.add("v-overlay--scroll-blocked"),a.forEach((l,u)=>{l.style.setProperty("--v-body-scroll-x",M(-l.scrollLeft)),l.style.setProperty("--v-body-scroll-y",M(-l.scrollTop)),l!==document.documentElement&&l.style.setProperty("--v-scrollbar-offset",M(i)),l.classList.add("v-overlay-scroll-blocked")}),$(()=>{a.forEach((l,u)=>{const c=parseFloat(l.style.getPropertyValue("--v-body-scroll-x")),f=parseFloat(l.style.getPropertyValue("--v-body-scroll-y"));l.style.removeProperty("--v-body-scroll-x"),l.style.removeProperty("--v-body-scroll-y"),l.style.removeProperty("--v-scrollbar-offset"),l.classList.remove("v-overlay-scroll-blocked"),l.scrollLeft=-c,l.scrollTop=-f}),o&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function zt(e,n,t){let a=!1,i=-1,o=-1;function r(l){Wt(()=>{var f,g;const u=performance.now();(g=(f=e.updateLocation).value)==null||g.call(f,l),a=(performance.now()-u)/(1e3/60)>2})}o=(typeof requestIdleCallback>"u"?l=>l():requestIdleCallback)(()=>{t.run(()=>{De(e.targetEl.value??e.contentEl.value,l=>{a?(cancelAnimationFrame(i),i=requestAnimationFrame(()=>{i=requestAnimationFrame(()=>{r(l)})})):r(l)})})}),$(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(o),cancelAnimationFrame(i)})}function De(e,n){const t=[document,...J(e)];t.forEach(a=>{a.addEventListener("scroll",n,{passive:!0})}),$(()=>{t.forEach(a=>{a.removeEventListener("scroll",n)})})}const jt=Symbol.for("vuetify:v-menu"),Gt=z({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function Ut(e,n){let t=()=>{};function a(r){t==null||t();const l=Number(r?e.openDelay:e.closeDelay);return new Promise(u=>{t=Ke(l,()=>{n==null||n(r),u(r)})})}function i(){return a(!0)}function o(){return a(!1)}return{clearDelay:t,runOpenDelay:i,runCloseDelay:o}}const Yt=z({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...Gt()},"VOverlay-activator");function Kt(e,n){let{isActive:t,isTop:a}=n;const i=ve("useActivator"),o=V();let r=!1,l=!1,u=!0;const c=O(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),f=O(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!c.value),{runOpenDelay:g,runCloseDelay:y}=Ut(e,s=>{s===(e.openOnHover&&r||c.value&&l)&&!(e.openOnHover&&t.value&&!a.value)&&(t.value!==s&&(u=!0),t.value=s)}),h=V(),v={onClick:s=>{s.stopPropagation(),o.value=s.currentTarget||s.target,t.value||(h.value=[s.clientX,s.clientY]),t.value=!t.value},onMouseenter:s=>{var T;(T=s.sourceCapabilities)!=null&&T.firesTouchEvents||(r=!0,o.value=s.currentTarget||s.target,g())},onMouseleave:s=>{r=!1,y()},onFocus:s=>{Ze(s.target,":focus-visible")!==!1&&(l=!0,s.stopPropagation(),o.value=s.currentTarget||s.target,g())},onBlur:s=>{l=!1,s.stopPropagation(),y()}},d=O(()=>{const s={};return f.value&&(s.onClick=v.onClick),e.openOnHover&&(s.onMouseenter=v.onMouseenter,s.onMouseleave=v.onMouseleave),c.value&&(s.onFocus=v.onFocus,s.onBlur=v.onBlur),s}),A=O(()=>{const s={};if(e.openOnHover&&(s.onMouseenter=()=>{r=!0,g()},s.onMouseleave=()=>{r=!1,y()}),c.value&&(s.onFocusin=()=>{l=!0,g()},s.onFocusout=()=>{l=!1,y()}),e.closeOnContentClick){const T=Te(jt,null);s.onClick=()=>{t.value=!1,T==null||T.closeParents()}}return s}),R=O(()=>{const s={};return e.openOnHover&&(s.onMouseenter=()=>{u&&(r=!0,u=!1,g())},s.onMouseleave=()=>{r=!1,y()}),s});k(a,s=>{s&&(e.openOnHover&&!r&&(!c.value||!l)||c.value&&!l&&(!e.openOnHover||!r))&&(t.value=!1)}),k(t,s=>{s||setTimeout(()=>{h.value=void 0})},{flush:"post"});const x=V();fe(()=>{x.value&&K(()=>{o.value=we(x.value)})});const w=V(),H=O(()=>e.target==="cursor"&&h.value?h.value:w.value?we(w.value):Ie(e.target,i)||o.value),L=O(()=>Array.isArray(H.value)?void 0:H.value);let C;return k(()=>!!e.activator,s=>{s&&q?(C=Re(),C.run(()=>{Xt(e,i,{activatorEl:o,activatorEvents:d})})):C&&C.stop()},{flush:"post",immediate:!0}),$(()=>{C==null||C.stop()}),{activatorEl:o,activatorRef:x,target:H,targetEl:L,targetRef:w,activatorEvents:d,contentEvents:A,scrimEvents:R}}function Xt(e,n,t){let{activatorEl:a,activatorEvents:i}=t;k(()=>e.activator,(u,c)=>{if(c&&u!==c){const f=l(c);f&&r(f)}u&&K(()=>o())},{immediate:!0}),k(()=>e.activatorProps,()=>{o()}),$(()=>{r()});function o(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:l(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;u&&Xe(u,W(i.value,c))}function r(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:l(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;u&&Je(u,W(i.value,c))}function l(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator;const c=Ie(u,n);return a.value=(c==null?void 0:c.nodeType)===Node.ELEMENT_NODE?c:void 0,a.value}}function Ie(e,n){var a,i;if(!e)return;let t;if(e==="parent"){let o=(i=(a=n==null?void 0:n.proxy)==null?void 0:a.$el)==null?void 0:i.parentNode;for(;o!=null&&o.hasAttribute("data-no-activator");)o=o.parentNode;t=o}else typeof e=="string"?t=document.querySelector(e):"$el"in e?t=e.$el:t=e;return t}function Jt(){if(!q)return j(!1);const{ssr:e}=Ft();if(e){const n=j(!1);return Qe(()=>{n.value=!0}),n}else return j(!0)}const Zt=z({eager:Boolean},"lazy");function Qt(e,n){const t=j(!1),a=O(()=>t.value||e.eager||n.value);k(n,()=>t.value=!0);function i(){e.eager||(t.value=!1)}return{isBooted:t,hasContent:a,onAfterLeave:i}}function We(){const n=ve("useScopeId").vnode.scopeId;return{scopeId:n?{[n]:""}:void 0}}const Ce=Symbol.for("vuetify:stack"),Y=Be([]);function en(e,n,t){const a=ve("useStack"),i=!t,o=Te(Ce,void 0),r=Be({activeChildren:new Set});et(Ce,r);const l=j(+n.value);ue(e,()=>{var g;const f=(g=Y.at(-1))==null?void 0:g[1];l.value=f?f+10:+n.value,i&&Y.push([a.uid,l.value]),o==null||o.activeChildren.add(a.uid),$(()=>{if(i){const y=tt(Y).findIndex(h=>h[0]===a.uid);Y.splice(y,1)}o==null||o.activeChildren.delete(a.uid)})});const u=j(!0);i&&fe(()=>{var g;const f=((g=Y.at(-1))==null?void 0:g[0])===a.uid;setTimeout(()=>u.value=f)});const c=O(()=>!r.activeChildren.size);return{globalTop:nt(u),localTop:c,stackStyles:O(()=>({zIndex:l.value}))}}function tn(e){return{teleportTarget:O(()=>{const t=e.value;if(t===!0||!q)return;const a=t===!1?document.body:typeof t=="string"?document.querySelector(t):t;if(a==null)return;let i=a.querySelector(":scope > .v-overlay-container");return i||(i=document.createElement("div"),i.className="v-overlay-container",a.appendChild(i)),i})}}function nn(){return!0}function $e(e,n,t){if(!e||He(e,t)===!1)return!1;const a=Fe(n);if(typeof ShadowRoot<"u"&&a instanceof ShadowRoot&&a.host===e.target)return!1;const i=(typeof t.value=="object"&&t.value.include||(()=>[]))();return i.push(n),!i.some(o=>o==null?void 0:o.contains(e.target))}function He(e,n){return(typeof n.value=="object"&&n.value.closeConditional||nn)(e)}function on(e,n,t){const a=typeof t.value=="function"?t.value:t.value.handler;n._clickOutside.lastMousedownWasOutside&&$e(e,n,t)&&setTimeout(()=>{He(e,t)&&a&&a(e)},0)}function ke(e,n){const t=Fe(e);n(document),typeof ShadowRoot<"u"&&t instanceof ShadowRoot&&n(t)}const an={mounted(e,n){const t=i=>on(i,e,n),a=i=>{e._clickOutside.lastMousedownWasOutside=$e(i,e,n)};ke(e,i=>{i.addEventListener("click",t,!0),i.addEventListener("mousedown",a,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[n.instance.$.uid]={onClick:t,onMousedown:a}},unmounted(e,n){e._clickOutside&&(ke(e,t=>{var o;if(!t||!((o=e._clickOutside)!=null&&o[n.instance.$.uid]))return;const{onClick:a,onMousedown:i}=e._clickOutside[n.instance.$.uid];t.removeEventListener("click",a,!0),t.removeEventListener("mousedown",i,!0)}),delete e._clickOutside[n.instance.$.uid])}};function rn(e){const{modelValue:n,color:t,...a}=e;return B(Et,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&B("div",W({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},a),null)]})}const Ne=z({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...Yt(),...ot(),...at(),...Zt(),..._t(),...$t(),...rt(),...lt()},"VOverlay"),Ae=Le()({name:"VOverlay",directives:{ClickOutside:an},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...Ne()},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,afterLeave:()=>!0},setup(e,n){let{slots:t,attrs:a,emit:i}=n;const o=_e(e,"modelValue"),r=O({get:()=>o.value,set:E=>{E&&e.disabled||(o.value=E)}}),{teleportTarget:l}=tn(O(()=>e.attach||e.contained)),{themeClasses:u}=it(e),{rtlClasses:c,isRtl:f}=st(),{hasContent:g,onAfterLeave:y}=Qt(e,r),h=ct(O(()=>typeof e.scrim=="string"?e.scrim:null)),{globalTop:v,localTop:d,stackStyles:A}=en(r,ut(e,"zIndex"),e._disableGlobalStack),{activatorEl:R,activatorRef:x,target:w,targetEl:H,targetRef:L,activatorEvents:C,contentEvents:s,scrimEvents:T}=Kt(e,{isActive:r,isTop:d}),{dimensionStyles:Q}=ft(e),ee=Jt(),{scopeId:p}=We();k(()=>e.disabled,E=>{E&&(r.value=!1)});const S=V(),m=V(),{contentStyles:b,updateLocation:F}=Mt(e,{isRtl:f,contentEl:m,target:w,isActive:r});Ht(e,{root:S,contentEl:m,targetEl:H,isActive:r,updateLocation:F});function _(E){i("click:outside",E),e.persistent?D():r.value=!1}function G(){return r.value&&v.value}q&&k(r,E=>{E?window.addEventListener("keydown",P):window.removeEventListener("keydown",P)},{immediate:!0}),vt(()=>{q&&window.removeEventListener("keydown",P)});function P(E){var I,de;E.key==="Escape"&&v.value&&(e.persistent?D():(r.value=!1,(I=m.value)!=null&&I.contains(document.activeElement)&&((de=R.value)==null||de.focus())))}const N=dt();ue(()=>e.closeOnBack,()=>{pt(N,E=>{v.value&&r.value?(E(!1),e.persistent?D():r.value=!1):E()})});const U=V();k(()=>r.value&&(e.absolute||e.contained)&&l.value==null,E=>{if(E){const I=mt(S.value);I&&I!==document.scrollingElement&&(U.value=I.scrollTop)}});function D(){e.noClickAnimation||m.value&>(m.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:Ot})}function qe(){y(),i("afterLeave")}return Me(()=>{var E;return B(xt,null,[(E=t.activator)==null?void 0:E.call(t,{isActive:r.value,props:W({ref:x,targetRef:L},C.value,e.activatorProps)}),!e.disabled&&ee.value&&g.value&&B(yt,{disabled:!l.value,to:l.value},{default:()=>[B("div",W({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":r.value,"v-overlay--contained":e.contained},u.value,c.value,e.class],style:[A.value,{top:M(U.value)},e.style],ref:S},p,a),[B(rn,W({color:h,modelValue:!!e.scrim&&r.value},T.value),null),B(ht,{appear:!0,persisted:!0,transition:e.transition,target:w.value,onAfterLeave:qe},{default:()=>{var I;return[bt(B("div",W({ref:m,class:["v-overlay__content",e.contentClass],style:[Q.value,b.value]},s.value,e.contentProps),[(I=t.default)==null?void 0:I.call(t,{isActive:r})]),[[wt,r.value],[St("click-outside"),{handler:_,closeConditional:G,include:()=>[R.value]}]])]}})])]})])}),{activatorEl:R,target:w,animateClick:D,contentEl:m,globalTop:v,localTop:d,updateLocation:F}}}),le=Symbol("Forwarded refs");function ie(e,n){let t=e;for(;t;){const a=Reflect.getOwnPropertyDescriptor(t,n);if(a)return a;t=Object.getPrototypeOf(t)}}function ln(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),a=1;a<n;a++)t[a-1]=arguments[a];return e[le]=t,new Proxy(e,{get(i,o){if(Reflect.has(i,o))return Reflect.get(i,o);if(!(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))){for(const r of t)if(r.value&&Reflect.has(r.value,o)){const l=Reflect.get(r.value,o);return typeof l=="function"?l.bind(r.value):l}}},has(i,o){if(Reflect.has(i,o))return!0;if(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))return!1;for(const r of t)if(r.value&&Reflect.has(r.value,o))return!0;return!1},set(i,o,r){if(Reflect.has(i,o))return Reflect.set(i,o,r);if(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))return!1;for(const l of t)if(l.value&&Reflect.has(l.value,o))return Reflect.set(l.value,o,r);return!1},getOwnPropertyDescriptor(i,o){var l;const r=Reflect.getOwnPropertyDescriptor(i,o);if(r)return r;if(!(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))){for(const u of t){if(!u.value)continue;const c=ie(u.value,o)??("_"in u.value?ie((l=u.value._)==null?void 0:l.setupState,o):void 0);if(c)return c}for(const u of t){const c=u.value&&u.value[le];if(!c)continue;const f=c.slice();for(;f.length;){const g=f.shift(),y=ie(g.value,o);if(y)return y;const h=g.value&&g.value[le];h&&f.push(...h)}}}}})}const sn=z({fullscreen:Boolean,retainFocus:{type:Boolean,default:!0},scrollable:Boolean,...Ne({origin:"center center",scrollStrategy:"block",transition:{component:Pt},zIndex:2400})},"VDialog"),mn=Le()({name:"VDialog",props:sn(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:t}=n;const a=_e(e,"modelValue"),{scopeId:i}=We(),o=V();function r(u){var g,y;const c=u.relatedTarget,f=u.target;if(c!==f&&((g=o.value)!=null&&g.contentEl)&&((y=o.value)!=null&&y.globalTop)&&![document,o.value.contentEl].includes(f)&&!o.value.contentEl.contains(f)){const h=kt(o.value.contentEl);if(!h.length)return;const v=h[0],d=h[h.length-1];c===v?d.focus():v.focus()}}q&&k(()=>a.value&&e.retainFocus,u=>{u?document.addEventListener("focusin",r):document.removeEventListener("focusin",r)},{immediate:!0}),k(a,async u=>{var c,f;await K(),u?(c=o.value.contentEl)==null||c.focus({preventScroll:!0}):(f=o.value.activatorEl)==null||f.focus({preventScroll:!0})});const l=O(()=>W({"aria-haspopup":"dialog","aria-expanded":String(a.value)},e.activatorProps));return Me(()=>{const u=Ae.filterProps(e);return B(Ae,W({ref:o,class:["v-dialog",{"v-dialog--fullscreen":e.fullscreen,"v-dialog--scrollable":e.scrollable},e.class],style:e.style},u,{modelValue:a.value,"onUpdate:modelValue":c=>a.value=c,"aria-modal":"true",activatorProps:l.value,role:"dialog"},i),{activator:t.activator,default:function(){for(var c=arguments.length,f=new Array(c),g=0;g<c;g++)f[g]=arguments[g];return B(Ct,{root:"VDialog"},{default:()=>{var y;return[(y=t.default)==null?void 0:y.call(t,...f)]}})}})}),ln({},o)}}),cn={name:"ConfirmFooter",props:{confirmText:{type:String,required:!0},disabled:{type:Boolean,default:!1}},emits:["confirm","cancel"]},un={class:"confirmFooter"};function fn(e,n,t,a,i,o){return Rt(),Tt("footer",un,[B(Ee,{class:"confirmButton",disabled:t.disabled,onClick:n[0]||(n[0]=r=>e.$emit("confirm"))},{default:Se(()=>[xe(Bt(t.confirmText),1)]),_:1},8,["disabled"]),B(Ee,{class:"cancelButton",onClick:n[1]||(n[1]=r=>e.$emit("cancel"))},{default:Se(()=>[xe("Cancel")]),_:1})])}const gn=At(cn,[["render",fn],["__scopeId","data-v-1663262a"]]);export{mn as V,gn as _,We as a,Ne as b,jt as c,Ae as d,ln as f,Zt as m,Qt as u};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{M as r,b9 as m,cy as s,_ as n,R as i,aE as d,aa as c,ae as a,aJ as u,aH as _}from"./admin-drawer-panel-
|
|
1
|
+
import{M as r,b9 as m,cy as s,_ as n,R as i,aE as d,aa as c,ae as a,aJ as u,aH as _}from"./admin-drawer-panel-JjJ1iA6R.js";import{u as f}from"./main-fEXxBNBg.js";const p={name:"DateTimeColumn",props:{dttm:{type:String,default:""}},data(){return{date:new Date(this.dttm)}},computed:{...r(f,{twentyFourHourTime:t=>t.settings.twentyFourHourTime}),formattedDate:function(){return m.format(this.date)},formattedTime:function(){return s(this.twentyFourHourTime).format(this.date)}},created(){}},T={key:0},l={class:"colTime"};function D(t,h,o,y,F,e){return o.dttm?(i(),d("div",T,[c(a(e.formattedDate)+" ",1),u("div",l,a(e.formattedTime),1)])):_("",!0)}const x=n(p,[["render",D],["__scopeId","data-v-b06bd477"]]);export{x as D};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{M as r,b9 as m,cy as s,_ as n,R as i,aE as d,aa as c,ae as a,aJ as u,aH as _}from"./admin-drawer-panel-
|
|
1
|
+
import{M as r,b9 as m,cy as s,_ as n,R as i,aE as d,aa as c,ae as a,aJ as u,aH as _}from"./admin-drawer-panel-JjJ1iA6R.js";import{u as f}from"./main-fEXxBNBg.js";const p={name:"DateTimeColumn",props:{dttm:{type:String,default:""}},data(){return{date:new Date(this.dttm)}},computed:{...r(f,{twentyFourHourTime:t=>t.settings.twentyFourHourTime}),formattedDate:function(){return m.format(this.date)},formattedTime:function(){return s(this.twentyFourHourTime).format(this.date)}},created(){}},T={key:0},l={class:"colTime"};function D(t,h,o,y,F,e){return o.dttm?(i(),d("div",T,[c(a(e.formattedDate)+" ",1),u("div",l,a(e.formattedTime),1)])):_("",!0)}const x=n(p,[["render",D],["__scopeId","data-v-b06bd477"]]);export{x as D};
|
|
Binary file
|
|
Binary file
|
codex/static_root/assets/{filter-8wm0zu1v.f12bece6bbad.js → filter-jwn1nJiw.5001415d600e.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{x as I,r as v,h as L,u as i,w as j,cx as w,cM as x}from"./admin-drawer-panel-
|
|
1
|
+
import{x as I,r as v,h as L,u as i,w as j,cx as w,cM as x}from"./admin-drawer-panel-JjJ1iA6R.js";const O=(t,l,e)=>t==null||l==null?-1:t.toString().toLocaleLowerCase().indexOf(l.toString().toLocaleLowerCase()),A=I({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function S(t,l,e){var M;const f=[],s=(e==null?void 0:e.default)??O,m=e!=null&&e.filterKeys?w(e.filterKeys):!1,g=Object.keys((e==null?void 0:e.customKeyFilter)??{}).length;if(!(t!=null&&t.length))return f;e:for(let r=0;r<t.length;r++){const[a,y=a]=w(t[r]),h={},u={};let c=-1;if(l&&!(e!=null&&e.noFilter)){if(typeof a=="object"){const K=m||Object.keys(y);for(const n of K){const b=x(y,n,y),k=(M=e==null?void 0:e.customKeyFilter)==null?void 0:M[n];if(c=k?k(b,l,a):s(b,l,a),c!==-1&&c!==!1)k?h[n]=c:u[n]=c;else if((e==null?void 0:e.filterMode)==="every")continue e}}else c=s(a,l,a),c!==-1&&c!==!1&&(u.title=c);const d=Object.keys(u).length,F=Object.keys(h).length;if(!d&&!F||(e==null?void 0:e.filterMode)==="union"&&F!==g&&!d||(e==null?void 0:e.filterMode)==="intersection"&&(F!==g||!d))continue}f.push({index:r,matches:{...u,...h}})}return f}function C(t,l,e,f){const s=v([]),m=v(new Map),g=L(()=>f!=null&&f.transform?i(l).map(r=>[r,f.transform(r)]):i(l));j(()=>{const r=typeof e=="function"?e():i(e),a=typeof r!="string"&&typeof r!="number"?"":String(r),y=S(g.value,a,{customKeyFilter:{...t.customKeyFilter,...i(f==null?void 0:f.customKeyFilter)},default:t.customFilter,filterKeys:t.filterKeys,filterMode:t.filterMode,noFilter:t.noFilter}),h=i(l),u=[],c=new Map;y.forEach(d=>{let{index:F,matches:K}=d;const n=h[F];u.push(n),c.set(n.value,K)}),s.value=u,m.value=c});function M(r){return m.value.get(r.value)}return{filteredItems:s,filteredMatches:m,getMatches:M}}export{A as m,C as u};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{x as I,r as v,h as L,u as i,w as j,cx as w,cM as x}from"./admin-drawer-panel-
|
|
1
|
+
import{x as I,r as v,h as L,u as i,w as j,cx as w,cM as x}from"./admin-drawer-panel-JjJ1iA6R.js";const O=(t,l,e)=>t==null||l==null?-1:t.toString().toLocaleLowerCase().indexOf(l.toString().toLocaleLowerCase()),A=I({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function S(t,l,e){var M;const f=[],s=(e==null?void 0:e.default)??O,m=e!=null&&e.filterKeys?w(e.filterKeys):!1,g=Object.keys((e==null?void 0:e.customKeyFilter)??{}).length;if(!(t!=null&&t.length))return f;e:for(let r=0;r<t.length;r++){const[a,y=a]=w(t[r]),h={},u={};let c=-1;if(l&&!(e!=null&&e.noFilter)){if(typeof a=="object"){const K=m||Object.keys(y);for(const n of K){const b=x(y,n,y),k=(M=e==null?void 0:e.customKeyFilter)==null?void 0:M[n];if(c=k?k(b,l,a):s(b,l,a),c!==-1&&c!==!1)k?h[n]=c:u[n]=c;else if((e==null?void 0:e.filterMode)==="every")continue e}}else c=s(a,l,a),c!==-1&&c!==!1&&(u.title=c);const d=Object.keys(u).length,F=Object.keys(h).length;if(!d&&!F||(e==null?void 0:e.filterMode)==="union"&&F!==g&&!d||(e==null?void 0:e.filterMode)==="intersection"&&(F!==g||!d))continue}f.push({index:r,matches:{...u,...h}})}return f}function C(t,l,e,f){const s=v([]),m=v(new Map),g=L(()=>f!=null&&f.transform?i(l).map(r=>[r,f.transform(r)]):i(l));j(()=>{const r=typeof e=="function"?e():i(e),a=typeof r!="string"&&typeof r!="number"?"":String(r),y=S(g.value,a,{customKeyFilter:{...t.customKeyFilter,...i(f==null?void 0:f.customKeyFilter)},default:t.customFilter,filterKeys:t.filterKeys,filterMode:t.filterMode,noFilter:t.noFilter}),h=i(l),u=[],c=new Map;y.forEach(d=>{let{index:F,matches:K}=d;const n=h[F];u.push(n),c.set(n.value,K)}),s.value=u,m.value=c});function M(r){return m.value.get(r.value)}return{filteredItems:s,filteredMatches:m,getMatches:M}}export{A as m,C as u};
|
|
Binary file
|
|
Binary file
|
codex/static_root/assets/{flag-tab-zuqhCB44.caaef1ddd594.js → flag-tab--ch0e4rD.58776d26590c.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as f,M as d,k as b,t as n,N as g,cl as y,O as k,P as w,R as r,aJ as a,aE as u,aF as _,ae as c,L as v,al as F,aN as x,aO as C}from"./admin-drawer-panel-
|
|
1
|
+
import{_ as f,M as d,k as b,t as n,N as g,cl as y,O as k,P as w,R as r,aJ as a,aE as u,aF as _,ae as c,L as v,al as F,aN as x,aO as C}from"./admin-drawer-panel-JjJ1iA6R.js";import{V as E}from"./VTable-q30xy1Qm.js";import{V as S}from"./VCheckbox-MGquS0QE.js";import"./VCheckboxBtn-yxvU5omH.js";import"./VSelectionControl-9CzKd8rG.js";const h={AU:"If enabled, codex will attempt to update the codex python package once a day and restart the server if an update occurred. Not advisable if running from Docker as running containers aren't meant to hold state and will be rebuilt if you update the image. Look into services that automatically update docker images instead.",NU:"By default all Codex features, including bookmarking, are available to users who are not logged in. You may disable this feature and Codex will hide its browser and reader and disable its API from anyone who is not logged in as a user.",RG:"By default users' bookmarks and preferences are saved in an anonymous browser session. Users can create a username and password to save their bookmarks between browsers. You may disable this feature. Admins may still create users.",FV:`By default, codex provides a "Folder View" which mimics the directory hierarchy of the libraries that you've added to Codex. You may disable this feature. The database style browser view is always available. This flag also enables and disables the "Filename" sort option.`,SO:"Fully optimize the search index each night. Disabling this flag will instead run a partial optimization which only merges small files. You should only disable this if the nightly optimization stresses your system too much."};Object.freeze(h);const U={name:"AdminFlagsTab",components:{},data(){return{lastUpdate:{name:"",field:void 0},DESC:h}},computed:{...d(b,["formErrors"]),...d(n,["flags"])},mounted(){this.loadTables(["Flag"])},methods:{...g(n,["updateRow","clearErrors","loadTables"]),changeCol(e,s,l){this.lastUpdate.name=e,this.lastUpdate.field=s;const i={[s]:l};this.updateRow("Flag",e,i)},getFormErrors(e,s){if(e===this.lastUpdate.name&&s===this.lastUpdate.field)return this.formErrors},title(e){return y[e.key]}}},V=e=>(x("data-v-d71546eb"),e=e(),C(),e),B=V(()=>a("thead",null,[a("tr",null,[a("th",null,"Description"),a("th",null,"Enabled")])],-1)),T={class:"nameCol"},A={class:"desc"};function D(e,s,l,i,m,o){return r(),k(E,{class:"highlight-table flags-table",items:e.flags,"fixed-header":""},{default:w(()=>[B,a("tbody",null,[(r(!0),u(F,null,_(e.flags,t=>(r(),u("tr",{key:`f${t.key}`},[a("td",T,[a("h4",null,c(o.title(t)),1),a("p",A,c(m.DESC[t.key]),1)]),a("td",null,[v(S,{"model-value":t.on,"true-value":!0,"error-messages":o.getFormErrors(t.key,"on"),"hide-details":"auto","onUpdate:modelValue":p=>o.changeCol(t.key,"on",p)},null,8,["model-value","error-messages","onUpdate:modelValue"])])]))),128))])]),_:1},8,["items"])}const Y=f(U,[["render",D],["__scopeId","data-v-d71546eb"]]);export{Y as default};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as f,M as d,k as b,t as n,N as g,cl as y,O as k,P as w,R as r,aJ as a,aE as u,aF as _,ae as c,L as v,al as F,aN as x,aO as C}from"./admin-drawer-panel-
|
|
1
|
+
import{_ as f,M as d,k as b,t as n,N as g,cl as y,O as k,P as w,R as r,aJ as a,aE as u,aF as _,ae as c,L as v,al as F,aN as x,aO as C}from"./admin-drawer-panel-JjJ1iA6R.js";import{V as E}from"./VTable-q30xy1Qm.js";import{V as S}from"./VCheckbox-MGquS0QE.js";import"./VCheckboxBtn-yxvU5omH.js";import"./VSelectionControl-9CzKd8rG.js";const h={AU:"If enabled, codex will attempt to update the codex python package once a day and restart the server if an update occurred. Not advisable if running from Docker as running containers aren't meant to hold state and will be rebuilt if you update the image. Look into services that automatically update docker images instead.",NU:"By default all Codex features, including bookmarking, are available to users who are not logged in. You may disable this feature and Codex will hide its browser and reader and disable its API from anyone who is not logged in as a user.",RG:"By default users' bookmarks and preferences are saved in an anonymous browser session. Users can create a username and password to save their bookmarks between browsers. You may disable this feature. Admins may still create users.",FV:`By default, codex provides a "Folder View" which mimics the directory hierarchy of the libraries that you've added to Codex. You may disable this feature. The database style browser view is always available. This flag also enables and disables the "Filename" sort option.`,SO:"Fully optimize the search index each night. Disabling this flag will instead run a partial optimization which only merges small files. You should only disable this if the nightly optimization stresses your system too much."};Object.freeze(h);const U={name:"AdminFlagsTab",components:{},data(){return{lastUpdate:{name:"",field:void 0},DESC:h}},computed:{...d(b,["formErrors"]),...d(n,["flags"])},mounted(){this.loadTables(["Flag"])},methods:{...g(n,["updateRow","clearErrors","loadTables"]),changeCol(e,s,l){this.lastUpdate.name=e,this.lastUpdate.field=s;const i={[s]:l};this.updateRow("Flag",e,i)},getFormErrors(e,s){if(e===this.lastUpdate.name&&s===this.lastUpdate.field)return this.formErrors},title(e){return y[e.key]}}},V=e=>(x("data-v-d71546eb"),e=e(),C(),e),B=V(()=>a("thead",null,[a("tr",null,[a("th",null,"Description"),a("th",null,"Enabled")])],-1)),T={class:"nameCol"},A={class:"desc"};function D(e,s,l,i,m,o){return r(),k(E,{class:"highlight-table flags-table",items:e.flags,"fixed-header":""},{default:w(()=>[B,a("tbody",null,[(r(!0),u(F,null,_(e.flags,t=>(r(),u("tr",{key:`f${t.key}`},[a("td",T,[a("h4",null,c(o.title(t)),1),a("p",A,c(m.DESC[t.key]),1)]),a("td",null,[v(S,{"model-value":t.on,"true-value":!0,"error-messages":o.getFormErrors(t.key,"on"),"hide-details":"auto","onUpdate:modelValue":p=>o.changeCol(t.key,"on",p)},null,8,["model-value","error-messages","onUpdate:modelValue"])])]))),128))])]),_:1},8,["items"])}const Y=f(U,[["render",D],["__scopeId","data-v-d71546eb"]]);export{Y as default};
|
|
Binary file
|
|
Binary file
|
codex/static_root/assets/{group-tab-QdGBW0DM.bb4ae4e0452a.js → group-tab-ArQ1w79f.cc06faf5e6b9.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as I,c as _,a as V,b as v,_ as f,V as T}from"./VDataTableVirtual-
|
|
1
|
+
import{A as I,c as _,a as V,b as v,_ as f,V as T}from"./VDataTableVirtual-oL2PAKTi.js";import{M as k,t as m,N as w,_ as S,Q as c,R as G,aE as A,L as s,P as i,aI as D,aJ as t,aN as j,aO as E,aa as p}from"./admin-drawer-panel-JjJ1iA6R.js";import{b as y}from"./main-fEXxBNBg.js";import{V as N}from"./VTextField-1s8i2nK8.js";import{V as g,a as H}from"./VRadioGroup-TtGu5WYN.js";import"./confirm-footer-IJHq21-K.js";import"./confirm-dialog-3RjVRgsv.js";import"./VSelect-Yw9YsgjJ.js";import"./VSelectionControl-9CzKd8rG.js";import"./VCheckboxBtn-yxvU5omH.js";import"./VTable-q30xy1Qm.js";import"./filter-jwn1nJiw.js";const x=["name","userSet","librarySet"];Object.freeze(x);const b={name:"",userSet:[],librarySet:[]};Object.freeze(b);const O={name:"AdminGroupCreateUpdateInputs",components:{AdminRelationPicker:I},props:{oldRow:{type:[Object,Boolean],default:!1}},emits:["change"],data(){return{rules:{name:[e=>!!e||"Name is required",e=>!!e&&!this.names.has(e.trim())||"Name already used"]},row:y.cloneDeep(this.oldRow||b)}},computed:{...k(m,{groups:e=>e.groups,libraries:e=>e.libraries,users:e=>e.users}),names(){return this.nameSet(this.groups,"name",this.oldRow,!0)}},watch:{row:{handler(e){this.$emit("change",e)},deep:!0},oldRow:{handler(e){this.row=y.cloneDeep(e)},deep:!0}},methods:{...w(m,["nameSet"])},UPDATE_KEYS:x,EMPTY_ROW:b};function P(e,l,C,U,a,h){const d=_,u=c("AdminRelationPicker");return G(),A("div",null,[s(N,{modelValue:a.row.name,"onUpdate:modelValue":l[0]||(l[0]=n=>a.row.name=n),label:"Group Name",rules:a.rules.name,clearable:"",autofocus:""},null,8,["modelValue","rules"]),s(H,{inline:"",label:"Type","model-value":a.row.exclude,"hide-details":"auto","onUpdate:modelValue":l[1]||(l[1]=n=>a.row.exclude=n)},{default:i(()=>[s(g,{value:!1},{label:i(()=>[s(d,{item:{name:"Include",exclude:!1},"title-key":"name","group-type":""})]),_:1}),s(g,{value:!0},{label:i(()=>[s(d,{item:{name:"Exclude",exclude:!0},"title-key":"name","group-type":""})]),_:1})]),_:1},8,["model-value"]),s(u,{"model-value":a.row.userSet,label:"Users",objs:e.users,"title-key":"username","onUpdate:modelValue":l[2]||(l[2]=n=>a.row.userSet=n)},null,8,["model-value","objs"]),s(u,{"model-value":a.row.librarySet,label:"Libraries",objs:e.libraries,"title-key":"path","onUpdate:modelValue":l[3]||(l[3]=n=>a.row.librarySet=n)},null,8,["model-value","objs"])])}const L=S(O,[["render",P]]),z=180,B={name:"AdminGroupsTab",components:{AdminDeleteRowDialog:V,AdminCreateUpdateDialog:v,RelationChips:f,GroupChip:_},data(){return{lastUpdate:{pk:0,field:void 0},AdminGroupCreateUpdateInputs:D(L),GROUP_HELP_HEIGHT:z,headers:[{title:"Name",key:"name",align:"start"},{title:"Type",key:"exclude",align:"start"},{title:"Users",key:"userSet"},{title:"Libraries",key:"librarySet"},{title:"Actions",key:"actions",sortable:!1}]}},computed:{...k(m,{groups:e=>e.groups,libraries:e=>e.libraries,users:e=>e.users})},mounted(){this.loadTables(["User","Library","Group"])},methods:{...w(m,["loadTables"]),typeObj(e){return{name:e.exclude?"Exclude ":"Include",exclude:e.exclude}}}},o=e=>(j("data-v-e0c04bb9"),e=e(),E(),e),M={class:"tabHeader"},Y=o(()=>t("td",{class:"adminNoData",colspan:"100%"},"No groups",-1)),q={id:"groupHelp"},F=o(()=>t("h3",null,"Group Logic",-1)),J=o(()=>t("p",null," A library in no groups is accessible to every user and non-users if those are enabled. ",-1)),K=o(()=>t("p",null,[p(" A library with "),t("em",null,"any"),p(" Include groups is accessible "),t("em",null,"only"),p(" to users who are in those groups. ")],-1)),Q=o(()=>t("p",null,[p(" A library with "),t("em",null,"any"),p(" Exclude groups is not accessible to Guest users but is acccessable to any logged in users that are not in the Exclude groups. ")],-1)),W=o(()=>t("p",null," If you have libraries added and you do not see them in your browser, check to see if the library and your user are in the same group. ",-1)),X={id:"groupTable"},Z=o(()=>t("thead",null,[t("tr",null,[t("th",null,"Library in Group Type"),t("th",null,"Guest"),t("th",null,"User Out of Group"),t("th",null,"User In Group")])],-1)),$=o(()=>t("tr",null,[t("td",null,"Not in a Group"),t("td",{class:"see"},"Can See"),t("td",{class:"see"},"Can See"),t("td",{class:"see"},"Can See")],-1)),ee=o(()=>t("td",{class:"hidden"},"Hidden",-1)),te=o(()=>t("td",{class:"hidden"},"Hidden",-1)),se=o(()=>t("td",{class:"see"},"Can See",-1)),oe=o(()=>t("td",{class:"hidden"},"Hidden",-1)),ae=o(()=>t("td",{class:"see"},"Can See",-1)),le=o(()=>t("td",{class:"hidden"},"Hidden",-1));function ne(e,l,C,U,a,h){const d=c("AdminCreateUpdateDialog"),u=_,n=f,R=c("AdminDeleteRowDialog");return G(),A("div",null,[t("header",M,[s(d,{table:"Group","max-width":"20em",inputs:a.AdminGroupCreateUpdateInputs},null,8,["inputs"])]),s(T,{class:"adminTable","fixed-header":"","item-value":"pk","item-title":"name",headers:a.headers,items:e.groups},{"no-data":i(()=>[Y]),"item.exclude":i(({item:r})=>[s(u,{"group-type":"",item:h.typeObj(r),"title-key":"name"},null,8,["item"])]),"item.userSet":i(({item:r})=>[s(n,{pks:r.userSet,objs:e.users,"title-key":"username"},null,8,["pks","objs"])]),"item.librarySet":i(({item:r})=>[s(n,{pks:r.librarySet,objs:e.libraries,"title-key":"path"},null,8,["pks","objs"])]),"item.actions":i(({item:r})=>[s(d,{table:"Group","old-row":r,"max-width":"20em",inputs:a.AdminGroupCreateUpdateInputs,size:"small",density:"compact"},null,8,["old-row","inputs"]),s(R,{table:"Group",pk:r.pk,name:r.name,size:"small",density:"compact"},null,8,["pk","name"])]),_:2},1032,["headers","items"]),t("div",q,[F,J,K,Q,W,t("table",X,[Z,t("tbody",null,[$,t("tr",null,[t("td",null,[s(u,{item:{name:"Include",exclude:!1},"title-key":"name","group-type":""})]),ee,te,se]),t("tr",null,[t("td",null,[s(u,{item:{name:"Exclude",exclude:!0},"title-key":"name","group-type":""})]),oe,ae,le])])])])])}const fe=S(B,[["render",ne],["__scopeId","data-v-e0c04bb9"]]);export{fe as default};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as I,c as _,a as V,b as v,_ as f,V as T}from"./VDataTableVirtual-
|
|
1
|
+
import{A as I,c as _,a as V,b as v,_ as f,V as T}from"./VDataTableVirtual-oL2PAKTi.js";import{M as k,t as m,N as w,_ as S,Q as c,R as G,aE as A,L as s,P as i,aI as D,aJ as t,aN as j,aO as E,aa as p}from"./admin-drawer-panel-JjJ1iA6R.js";import{b as y}from"./main-fEXxBNBg.js";import{V as N}from"./VTextField-1s8i2nK8.js";import{V as g,a as H}from"./VRadioGroup-TtGu5WYN.js";import"./confirm-footer-IJHq21-K.js";import"./confirm-dialog-3RjVRgsv.js";import"./VSelect-Yw9YsgjJ.js";import"./VSelectionControl-9CzKd8rG.js";import"./VCheckboxBtn-yxvU5omH.js";import"./VTable-q30xy1Qm.js";import"./filter-jwn1nJiw.js";const x=["name","userSet","librarySet"];Object.freeze(x);const b={name:"",userSet:[],librarySet:[]};Object.freeze(b);const O={name:"AdminGroupCreateUpdateInputs",components:{AdminRelationPicker:I},props:{oldRow:{type:[Object,Boolean],default:!1}},emits:["change"],data(){return{rules:{name:[e=>!!e||"Name is required",e=>!!e&&!this.names.has(e.trim())||"Name already used"]},row:y.cloneDeep(this.oldRow||b)}},computed:{...k(m,{groups:e=>e.groups,libraries:e=>e.libraries,users:e=>e.users}),names(){return this.nameSet(this.groups,"name",this.oldRow,!0)}},watch:{row:{handler(e){this.$emit("change",e)},deep:!0},oldRow:{handler(e){this.row=y.cloneDeep(e)},deep:!0}},methods:{...w(m,["nameSet"])},UPDATE_KEYS:x,EMPTY_ROW:b};function P(e,l,C,U,a,h){const d=_,u=c("AdminRelationPicker");return G(),A("div",null,[s(N,{modelValue:a.row.name,"onUpdate:modelValue":l[0]||(l[0]=n=>a.row.name=n),label:"Group Name",rules:a.rules.name,clearable:"",autofocus:""},null,8,["modelValue","rules"]),s(H,{inline:"",label:"Type","model-value":a.row.exclude,"hide-details":"auto","onUpdate:modelValue":l[1]||(l[1]=n=>a.row.exclude=n)},{default:i(()=>[s(g,{value:!1},{label:i(()=>[s(d,{item:{name:"Include",exclude:!1},"title-key":"name","group-type":""})]),_:1}),s(g,{value:!0},{label:i(()=>[s(d,{item:{name:"Exclude",exclude:!0},"title-key":"name","group-type":""})]),_:1})]),_:1},8,["model-value"]),s(u,{"model-value":a.row.userSet,label:"Users",objs:e.users,"title-key":"username","onUpdate:modelValue":l[2]||(l[2]=n=>a.row.userSet=n)},null,8,["model-value","objs"]),s(u,{"model-value":a.row.librarySet,label:"Libraries",objs:e.libraries,"title-key":"path","onUpdate:modelValue":l[3]||(l[3]=n=>a.row.librarySet=n)},null,8,["model-value","objs"])])}const L=S(O,[["render",P]]),z=180,B={name:"AdminGroupsTab",components:{AdminDeleteRowDialog:V,AdminCreateUpdateDialog:v,RelationChips:f,GroupChip:_},data(){return{lastUpdate:{pk:0,field:void 0},AdminGroupCreateUpdateInputs:D(L),GROUP_HELP_HEIGHT:z,headers:[{title:"Name",key:"name",align:"start"},{title:"Type",key:"exclude",align:"start"},{title:"Users",key:"userSet"},{title:"Libraries",key:"librarySet"},{title:"Actions",key:"actions",sortable:!1}]}},computed:{...k(m,{groups:e=>e.groups,libraries:e=>e.libraries,users:e=>e.users})},mounted(){this.loadTables(["User","Library","Group"])},methods:{...w(m,["loadTables"]),typeObj(e){return{name:e.exclude?"Exclude ":"Include",exclude:e.exclude}}}},o=e=>(j("data-v-e0c04bb9"),e=e(),E(),e),M={class:"tabHeader"},Y=o(()=>t("td",{class:"adminNoData",colspan:"100%"},"No groups",-1)),q={id:"groupHelp"},F=o(()=>t("h3",null,"Group Logic",-1)),J=o(()=>t("p",null," A library in no groups is accessible to every user and non-users if those are enabled. ",-1)),K=o(()=>t("p",null,[p(" A library with "),t("em",null,"any"),p(" Include groups is accessible "),t("em",null,"only"),p(" to users who are in those groups. ")],-1)),Q=o(()=>t("p",null,[p(" A library with "),t("em",null,"any"),p(" Exclude groups is not accessible to Guest users but is acccessable to any logged in users that are not in the Exclude groups. ")],-1)),W=o(()=>t("p",null," If you have libraries added and you do not see them in your browser, check to see if the library and your user are in the same group. ",-1)),X={id:"groupTable"},Z=o(()=>t("thead",null,[t("tr",null,[t("th",null,"Library in Group Type"),t("th",null,"Guest"),t("th",null,"User Out of Group"),t("th",null,"User In Group")])],-1)),$=o(()=>t("tr",null,[t("td",null,"Not in a Group"),t("td",{class:"see"},"Can See"),t("td",{class:"see"},"Can See"),t("td",{class:"see"},"Can See")],-1)),ee=o(()=>t("td",{class:"hidden"},"Hidden",-1)),te=o(()=>t("td",{class:"hidden"},"Hidden",-1)),se=o(()=>t("td",{class:"see"},"Can See",-1)),oe=o(()=>t("td",{class:"hidden"},"Hidden",-1)),ae=o(()=>t("td",{class:"see"},"Can See",-1)),le=o(()=>t("td",{class:"hidden"},"Hidden",-1));function ne(e,l,C,U,a,h){const d=c("AdminCreateUpdateDialog"),u=_,n=f,R=c("AdminDeleteRowDialog");return G(),A("div",null,[t("header",M,[s(d,{table:"Group","max-width":"20em",inputs:a.AdminGroupCreateUpdateInputs},null,8,["inputs"])]),s(T,{class:"adminTable","fixed-header":"","item-value":"pk","item-title":"name",headers:a.headers,items:e.groups},{"no-data":i(()=>[Y]),"item.exclude":i(({item:r})=>[s(u,{"group-type":"",item:h.typeObj(r),"title-key":"name"},null,8,["item"])]),"item.userSet":i(({item:r})=>[s(n,{pks:r.userSet,objs:e.users,"title-key":"username"},null,8,["pks","objs"])]),"item.librarySet":i(({item:r})=>[s(n,{pks:r.librarySet,objs:e.libraries,"title-key":"path"},null,8,["pks","objs"])]),"item.actions":i(({item:r})=>[s(d,{table:"Group","old-row":r,"max-width":"20em",inputs:a.AdminGroupCreateUpdateInputs,size:"small",density:"compact"},null,8,["old-row","inputs"]),s(R,{table:"Group",pk:r.pk,name:r.name,size:"small",density:"compact"},null,8,["pk","name"])]),_:2},1032,["headers","items"]),t("div",q,[F,J,K,Q,W,t("table",X,[Z,t("tbody",null,[$,t("tr",null,[t("td",null,[s(u,{item:{name:"Include",exclude:!1},"title-key":"name","group-type":""})]),ee,te,se]),t("tr",null,[t("td",null,[s(u,{item:{name:"Exclude",exclude:!0},"title-key":"name","group-type":""})]),oe,ae,le])])])])])}const fe=S(B,[["render",ne],["__scopeId","data-v-e0c04bb9"]]);export{fe as default};
|
|
Binary file
|
|
Binary file
|
codex/static_root/assets/{http-error-MGTSWtb6.f9aa4b31fa18.js → http-error--_xFbHmk.4ac657568407.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as c,O as d,P as r,Q as i,R as p,aJ as t,ae as a,L as _,aN as u,aO as l}from"./admin-drawer-panel-
|
|
1
|
+
import{_ as c,O as d,P as r,Q as i,R as p,aJ as t,ae as a,L as _,aN as u,aO as l}from"./admin-drawer-panel-JjJ1iA6R.js";import{V as h}from"./VMain-VT-qZQ__.js";import"./main-fEXxBNBg.js";const n={400:"Bad Request",403:"Forbidden",404:"Page Not Found",500:"Server Error"};Object.freeze(n);const m={name:"HttpError",data(){return{}},computed:{code:function(){return+this.$route.params.code},title:function(){let e=n[this.code];return e||(e="Unknown Error"),e}}},f=e=>(u("data-v-e215aa2c"),e=e(),l(),e),k={id:"httpCode"},S={id:"title"},x=f(()=>t("h2",null,"Codex Home",-1));function E(e,I,v,B,C,o){const s=i("router-link");return p(),d(h,{id:"main"},{default:r(()=>[t("h1",k,a(o.code),1),t("h1",S,a(o.title),1),_(s,{id:"link",to:{name:"home"}},{default:r(()=>[x]),_:1})]),_:1})}const O=c(m,[["render",E],["__scopeId","data-v-e215aa2c"]]);export{O as default};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as c,O as d,P as r,Q as i,R as p,aJ as t,ae as a,L as _,aN as u,aO as l}from"./admin-drawer-panel-
|
|
1
|
+
import{_ as c,O as d,P as r,Q as i,R as p,aJ as t,ae as a,L as _,aN as u,aO as l}from"./admin-drawer-panel-JjJ1iA6R.js";import{V as h}from"./VMain-VT-qZQ__.js";import"./main-fEXxBNBg.js";const n={400:"Bad Request",403:"Forbidden",404:"Page Not Found",500:"Server Error"};Object.freeze(n);const m={name:"HttpError",data(){return{}},computed:{code:function(){return+this.$route.params.code},title:function(){let e=n[this.code];return e||(e="Unknown Error"),e}}},f=e=>(u("data-v-e215aa2c"),e=e(),l(),e),k={id:"httpCode"},S={id:"title"},x=f(()=>t("h2",null,"Codex Home",-1));function E(e,I,v,B,C,o){const s=i("router-link");return p(),d(h,{id:"main"},{default:r(()=>[t("h1",k,a(o.code),1),t("h1",S,a(o.title),1),_(s,{id:"link",to:{name:"home"}},{default:r(()=>[x]),_:1})]),_:1})}const O=c(m,[["render",E],["__scopeId","data-v-e215aa2c"]]);export{O as default};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as L}from"./confirm-dialog-Avb2JqKf.js";import{A as J,a as Q,b as X,_ as z,V as Z}from"./VDataTableVirtual-HbBa_J70.js";import{co as ee,b5 as $,M as w,t as f,a9 as te,_ as k,Q as b,R as c,aE as _,L as l,P as s,aJ as r,ae as g,O as V,aa as d,ad as T,aH as A,al as j,aF as oe,aN as B,aO as N,am as P,k as x,N as v,ag as le,b1 as re,cp as se,cq as ae,aI as ie,bb as ne,c8 as de,ab as me}from"./admin-drawer-panel-lvSt_rmS.js";import{D as W}from"./datetime-column-tO3kEqPv.js";import{V as D,a as E,b as R,c as O}from"./VExpansionPanel-qavjnSBS.js";import{V as ue}from"./VTable-jVOjaHdB.js";import{V as pe}from"./VTextField-h1EP0NAs.js";import{b as S,u as ce}from"./main-OIrebd4D.js";import{V as he}from"./VCombobox-Y594p6q7.js";import{V as I}from"./VCheckbox-tTkeubf8.js";import{V as U}from"./VCheckboxBtn-WKexthxJ.js";import"./confirm-footer-c31QW5F5.js";import"./VSelect-LwrRxfjs.js";import"./VSelectionControl-Ervl02ph.js";import"./filter-8wm0zu1v.js";const fe={name:"AdminFailedImportsPanel",components:{DateTimeColumn:W},data(){return{mdiBookAlert:ee,mdiOpenInNew:$}},computed:{...w(f,["failedImports"]),...te(f,["unseenFailedImports"])},created(){this.unseenFailedImports=!0}},y=e=>(B("data-v-bc6470a2"),e=e(),N(),e),be={key:0,id:"failedImports"},_e=y(()=>r("thead",null,[r("tr",null,[r("th",null,"Path"),r("th",null,"Created")])],-1)),ye={class:"dateCol"},ge=y(()=>r("h4",null,"Failed Imports Help",-1)),we=y(()=>r("p",null," These are Comic archives that have failed to import. This list is updated every time the library updates. You should probably review these files and fix or remove them. ",-1)),ke=y(()=>r("h4",null,"Fixing comics",-1)),Fe=y(()=>r("p",null,[d(" Try using the zip fixer to fix comics: "),r("code",{class:"cli"},[d(" cp problem-comic.cbz /somewhere/safe/problem-comic.cbz.backup"),r("br"),d(" zip -F problem-comic.cbz --out fixed.zip"),r("br"),d(" mv fixed.zip problem-comic.cbz ")]),d(" You may also try "),r("code",null,"zip -FF"),d(" to fix comics which uses a different (not necissarily better) algorithm. If you fix some imports, and Codex does not immediately detect the change, poll the library which contains the fixed comics. ")],-1)),ve=y(()=>r("h4",null,"Reporting Issues",-1)),Pe={href:"https://github.com/ajslater/codex/issues/",target:"_blank"},Ie=y(()=>r("code",null,"config/logs/codex.log",-1));function Ce(e,t,m,h,o,u){const i=b("DateTimeColumn");return e.failedImports&&e.failedImports.length>0?(c(),_("div",be,[l(O,null,{default:s(()=>[l(D,{id:"failedImportsPanel",onClick:t[0]||(t[0]=p=>e.unseenFailedImports=!1)},{default:s(()=>[l(E,null,{default:s(()=>[r("h4",null,"Failed Imports: "+g(e.failedImports.length),1),e.unseenFailedImports?(c(),V(T,{key:0,id:"failedImportsIcon",title:"New Failed Imports"},{default:s(()=>[d(g(o.mdiBookAlert),1)]),_:1})):A("",!0)]),_:1}),l(R,null,{default:s(()=>[l(ue,{class:"highlight-table"},{default:s(()=>[_e,r("tbody",null,[(c(!0),_(j,null,oe(e.failedImports,p=>(c(),_("tr",{key:`fi:${p.path}`},[r("td",null,g(p.path),1),r("td",ye,[l(i,{dttm:p.createdAt},null,8,["dttm"])])]))),128))])]),_:1}),l(O,null,{default:s(()=>[l(D,{id:"failedImportsHelp"},{default:s(()=>[l(E,null,{default:s(()=>[ge]),_:1}),l(R,null,{default:s(()=>[we,ke,Fe,ve,r("p",null,[d(" If the comic looks good to you, but still shows up as a failed import, it might be Codex's fault for not importing it correctly. Please file an "),r("a",Pe,[d("Issue Report"),l(T,{size:"small"},{default:s(()=>[d(g(o.mdiOpenInNew),1)]),_:1})]),d(" and include the stack trace from the logs at "),Ie,d(" if you can. ")])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})])):A("",!0)}const Ve=k(fe,[["render",Ce],["__scopeId","data-v-bc6470a2"]]),Te={name:"TimeTextField",data(){return{FORMAT:"DDD HH:mm:SS",timeRules:[e=>/^(\d{1,3} )?([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/.test(e)||`Invalid time format ${this.FORMAT}`]}}};function Ae(e,t,m,h,o,u){return c(),V(pe,P({ref:"timeField",density:"compact",filled:"",hint:o.FORMAT,round:"",rules:o.timeRules},e.$attrs),null,16,["hint","rules"])}const K=k(Te,[["render",Ae]]),xe={name:"AdminServerFolderPicker",emits:["change","menu"],data(){return{path:"",originalPath:"",showHidden:!1,menuOpen:!1}},computed:{...w(f,{folders:e=>e.folderPicker.folders,rootFolder:e=>e.folderPicker.rootFolder}),...w(x,{formErrors:e=>e.form.errors}),appendOuterIcon(){return this.showHidden?this.mdiFolderHidden:this.mdiFolderOutline},showHiddenTooltipPrefix(){return this.showHidden?"Hide":"Show"}},watch:{menuOpen(e){e&&this.$emit("menu",e)}},created(){this.loadFolders().then(()=>(this.path=this.rootFolder,this.originalPath=this.rootFolder,!0)).catch(console.warn)},methods:{...v(f,["clearFolders","loadFolders"]),...v(x,["clearErrors"]),change(e){const t=e?e.startsWith("/")||e.startsWith("\\")?e:[this.rootFolder,e].join("/"):this.rootFolder,m=this.menuOpen;this.clearErrors(),this.loadFolders(t,this.showHidden).then(()=>{this.menuOpen=m;let h="";return this.formErrors.length===0&&(this.path=h=this.rootFolder),this.$emit("change",h)}).catch(console.warn)},onBlur(){this.menuOpen=!1,this.change(this.path)},onClear(){this.clearFolders(this.orignalPath).then(()=>this.change(this.orginalPath)).catch(console.error)},onKeyDownEnter(){this.change(this.path)},onItemClick(e){this.change(e)}}},De={id:"folderPicker"};function Ee(e,t,m,h,o,u){return c(),_("div",De,[l(he,P({modelValue:o.path,"onUpdate:modelValue":t[0]||(t[0]=i=>o.path=i),menu:o.menuOpen,"onUpdate:menu":t[1]||(t[1]=i=>o.menuOpen=i)},e.$attrs,{"aria-label":"Library folder",clearable:"","error-messages":e.formErrors,"full-width":"","hide-details":"auto",items:e.folders,"menu-props":{maxHeight:"370px"},"validate-on":"blur",variant:"filled",onBlur:u.onBlur,"onClick:clear":u.onClear,onKeydown:re(u.onKeyDownEnter,["enter"])}),{item:s(({item:i,props:p})=>[l(le,P(p,{title:i.title,value:i.value,onClick:F=>u.onItemClick(i.value)}),null,16,["title","value","onClick"])]),_:1},16,["modelValue","menu","error-messages","items","onBlur","onClick:clear","onKeydown"]),l(I,{modelValue:o.showHidden,"onUpdate:modelValue":t[2]||(t[2]=i=>o.showHidden=i),density:"compact",class:"showHidden","hide-details":"auto",label:"Show Hidden Folders"},null,8,["modelValue"])])}const Re=k(xe,[["render",Ee],["__scopeId","data-v-3cf2705f"]]),M=["events","poll","pollEvery","groups"];Object.freeze(M);const C={path:"",events:!0,poll:!0,pollEvery:"01:00:00",groups:[]};Object.freeze(C);const H=(e,t)=>(e=e.replaceAll("\\","/"),t=t.replaceAll("\\","/"),e.endsWith("/")||(e+="/"),t.endsWith("/")||(t+="/"),t.startsWith(e)),Oe={name:"AdminLibraryCreateUpdateInputs",components:{AdminRelationPicker:J,AdminServerFolderPicker:Re,TimeTextField:K},props:{oldRow:{type:[Object,Boolean],default:!1}},emits:["change"],data(){return{rules:{path:[e=>!!e||"Path is required",e=>{if(!e)return!1;for(const t of this.paths){if(H(t,e))return"Path is a child of an existing library";if(H(e,t))return"Path is a parent of an existing library"}return!0}]},row:S.cloneDeep(this.oldRow||C)}},computed:{...w(f,{groups:e=>e.groups,libraries:e=>e.libraries}),paths(){return this.nameSet(this.libraries,"path",this.oldRow,!1)}},watch:{row:{handler(e){this.$emit("change",e)},deep:!0},oldRow:{handler(e){this.row=S.cloneDeep(e)},deep:!0}},methods:{...v(f,["nameSet"])},UPDATE_KEYS:M,EMPTY_ROW:C},Se={key:1};function Ue(e,t,m,h,o,u){const i=b("AdminServerFolderPicker"),p=K,F=b("AdminRelationPicker");return c(),_(j,null,[m.oldRow?(c(),_("div",Se,g(m.oldRow.path),1)):(c(),V(i,{key:0,rules:o.rules.path,autofocus:"",label:"Library Folder",onChange:t[0]||(t[0]=n=>o.row.path=n)},null,8,["rules"])),l(I,{modelValue:o.row.events,"onUpdate:modelValue":t[1]||(t[1]=n=>o.row.events=n),"hide-details":"auto",hint:"Update Codex instantly when the filesystem changes",label:"Watch Filesystem Events","persistent-hint":!0},null,8,["modelValue"]),l(I,{modelValue:o.row.poll,"onUpdate:modelValue":t[2]||(t[2]=n=>o.row.poll=n),label:"Poll Filesystem Periodically","hide-details":"auto",hint:"Periodically poll the library for changes","persistent-hint":!0},null,8,["modelValue"]),l(p,{modelValue:o.row.pollEvery,"onUpdate:modelValue":t[3]||(t[3]=n=>o.row.pollEvery=n),label:"Poll Every",disabled:!o.row.poll},null,8,["modelValue","disabled"]),l(F,{modelValue:o.row.groups,"onUpdate:modelValue":t[4]||(t[4]=n=>o.row.groups=n),label:"Groups",objs:e.groups,"group-type":"","title-key":"name"},null,8,["modelValue","objs"])],64)}const He=k(Oe,[["render",Ue]]),Le={name:"AdminLibrariesTab",components:{AdminDeleteRowDialog:Q,AdminFailedImportsPanel:Ve,AdminCreateUpdateDialog:X,RelationChips:z,ConfirmDialog:L,DateTimeColumn:W},data(){return{lastUpdate:{pk:0,field:void 0},mdiDatabaseClockOutline:se,mdiDatabaseSyncOutline:ae,mdiOpenInNew:$,AdminLibraryCreateUpdateInputs:ie(He),headers:[{title:"Path",key:"path",align:"start"},{title:"Watch File Events",key:"events"},{title:"Poll Files Periodically",key:"poll"},{title:"Poll Every",key:"pollEvery"},{title:"Last Poll",key:"lastPoll"},{title:"Groups",key:"groups"},{title:"Actions",key:"actions",sortable:!1}]}},computed:{...w(f,{groups:e=>e.groups,libraries:e=>e.libraries,formErrors:e=>e.form.errors}),...w(ce,{twentyFourHourTime:e=>e.settings.twentyFourHourTime})},mounted(){this.loadTables(["Group","Library","FailedImport"])},methods:{...v(f,["updateRow","clearErrors","librarianTask","loadTables"]),formatDateTime:e=>e?ne(e,(void 0).twentyFourHourTime):"",changeCol(e,t,m){this.lastUpdate.pk=e,this.lastUpdate.field=t;const h={[t]:m};this.updateRow("Library",e,h)},getFormErrors(e,t){if(e===this.lastUpdate.pk&&t===this.lastUpdate.field)return this.formErrors},poll(e){this.librarianTask("poll",`Poll Library ${e}`,e)},forcePoll(e){this.librarianTask("poll_force",`Force Poll Library ${e}`,e)}}},ze=e=>(B("data-v-4107b305"),e=e(),N(),e),$e={class:"tabHeader"},je=ze(()=>r("td",{class:"adminNoData",colspan:"100%"}," Add a Library to start using Codex ",-1));function Be(e,t,m,h,o,u){const i=b("AdminCreateUpdateDialog"),p=b("DateTimeColumn"),F=z,n=L,Y=b("AdminDeleteRowDialog"),G=b("AdminFailedImportsPanel");return c(),_("div",null,[r("header",$e,[l(i,{table:"Library",inputs:o.AdminLibraryCreateUpdateInputs},null,8,["inputs"])]),l(Z,{class:"adminTable","fixed-header":"","item-value":"pk",headers:o.headers,items:e.libraries,"sort-by":[{key:"path",order:"asc"}]},{"no-data":s(()=>[je]),"item.events":s(({item:a})=>[l(U,{"model-value":a.events,disabled:""},null,8,["model-value"])]),"item.poll":s(({item:a})=>[l(U,{"model-value":a.poll,disabled:""},null,8,["model-value"])]),"item.pollEvery":s(({item:a})=>[r("span",{class:me({disabled:!a.poll})},g(a.pollEvery),3)]),"item.lastPoll":s(({item:a})=>[l(p,{dttm:a.lastPoll},null,8,["dttm"])]),"item.groups":s(({item:a})=>[l(F,{pks:a.groups,objs:e.groups,"group-type":"","title-key":"name"},null,8,["pks","objs"])]),"item.actions":s(({item:a})=>[l(n,{icon:o.mdiDatabaseClockOutline,"title-text":"Poll for updated comics","object-name":a.path,"confirm-text":"Poll Library",size:"small",density:"compact",onConfirm:q=>u.poll(a.pk)},null,8,["icon","object-name","onConfirm"]),l(n,{icon:o.mdiDatabaseSyncOutline,"title-text":"Force update every comic","object-name":a.path,"confirm-text":"Force Update",size:"small",density:"compact",onConfirm:q=>u.forcePoll(a.pk)},null,8,["icon","object-name","onConfirm"]),l(i,{table:"Library","old-row":a,inputs:o.AdminLibraryCreateUpdateInputs,"max-width":"22em",size:"small",density:"compact"},null,8,["old-row","inputs"]),l(Y,{table:"Library",pk:a.pk,name:a.path,size:"small",density:"compact"},null,8,["pk","name"])]),_:2},1032,["headers","items"]),l(de,null,{default:s(()=>[l(G)]),_:1})])}const rt=k(Le,[["render",Be],["__scopeId","data-v-4107b305"]]);export{rt as default};
|
|
1
|
+
import{_ as L}from"./confirm-dialog-3RjVRgsv.js";import{A as J,a as Q,b as X,_ as z,V as Z}from"./VDataTableVirtual-oL2PAKTi.js";import{co as ee,b5 as $,M as w,t as f,a9 as te,_ as k,Q as b,R as c,aE as _,L as l,P as s,aJ as r,ae as g,O as V,aa as d,ad as T,aH as A,al as j,aF as oe,aN as B,aO as N,am as P,k as x,N as v,ag as le,b1 as re,cp as se,cq as ae,aI as ie,bb as ne,c8 as de,ab as me}from"./admin-drawer-panel-JjJ1iA6R.js";import{D as W}from"./datetime-column-hS6FHx6v.js";import{V as D,a as E,b as R,c as O}from"./VExpansionPanel-EX1vU7wN.js";import{V as ue}from"./VTable-q30xy1Qm.js";import{V as pe}from"./VTextField-1s8i2nK8.js";import{b as S,u as ce}from"./main-fEXxBNBg.js";import{V as he}from"./VCombobox-w65JObkI.js";import{V as I}from"./VCheckbox-MGquS0QE.js";import{V as U}from"./VCheckboxBtn-yxvU5omH.js";import"./confirm-footer-IJHq21-K.js";import"./VSelect-Yw9YsgjJ.js";import"./VSelectionControl-9CzKd8rG.js";import"./filter-jwn1nJiw.js";const fe={name:"AdminFailedImportsPanel",components:{DateTimeColumn:W},data(){return{mdiBookAlert:ee,mdiOpenInNew:$}},computed:{...w(f,["failedImports"]),...te(f,["unseenFailedImports"])},created(){this.unseenFailedImports=!0}},y=e=>(B("data-v-bc6470a2"),e=e(),N(),e),be={key:0,id:"failedImports"},_e=y(()=>r("thead",null,[r("tr",null,[r("th",null,"Path"),r("th",null,"Created")])],-1)),ye={class:"dateCol"},ge=y(()=>r("h4",null,"Failed Imports Help",-1)),we=y(()=>r("p",null," These are Comic archives that have failed to import. This list is updated every time the library updates. You should probably review these files and fix or remove them. ",-1)),ke=y(()=>r("h4",null,"Fixing comics",-1)),Fe=y(()=>r("p",null,[d(" Try using the zip fixer to fix comics: "),r("code",{class:"cli"},[d(" cp problem-comic.cbz /somewhere/safe/problem-comic.cbz.backup"),r("br"),d(" zip -F problem-comic.cbz --out fixed.zip"),r("br"),d(" mv fixed.zip problem-comic.cbz ")]),d(" You may also try "),r("code",null,"zip -FF"),d(" to fix comics which uses a different (not necissarily better) algorithm. If you fix some imports, and Codex does not immediately detect the change, poll the library which contains the fixed comics. ")],-1)),ve=y(()=>r("h4",null,"Reporting Issues",-1)),Pe={href:"https://github.com/ajslater/codex/issues/",target:"_blank"},Ie=y(()=>r("code",null,"config/logs/codex.log",-1));function Ce(e,t,m,h,o,u){const i=b("DateTimeColumn");return e.failedImports&&e.failedImports.length>0?(c(),_("div",be,[l(O,null,{default:s(()=>[l(D,{id:"failedImportsPanel",onClick:t[0]||(t[0]=p=>e.unseenFailedImports=!1)},{default:s(()=>[l(E,null,{default:s(()=>[r("h4",null,"Failed Imports: "+g(e.failedImports.length),1),e.unseenFailedImports?(c(),V(T,{key:0,id:"failedImportsIcon",title:"New Failed Imports"},{default:s(()=>[d(g(o.mdiBookAlert),1)]),_:1})):A("",!0)]),_:1}),l(R,null,{default:s(()=>[l(ue,{class:"highlight-table"},{default:s(()=>[_e,r("tbody",null,[(c(!0),_(j,null,oe(e.failedImports,p=>(c(),_("tr",{key:`fi:${p.path}`},[r("td",null,g(p.path),1),r("td",ye,[l(i,{dttm:p.createdAt},null,8,["dttm"])])]))),128))])]),_:1}),l(O,null,{default:s(()=>[l(D,{id:"failedImportsHelp"},{default:s(()=>[l(E,null,{default:s(()=>[ge]),_:1}),l(R,null,{default:s(()=>[we,ke,Fe,ve,r("p",null,[d(" If the comic looks good to you, but still shows up as a failed import, it might be Codex's fault for not importing it correctly. Please file an "),r("a",Pe,[d("Issue Report"),l(T,{size:"small"},{default:s(()=>[d(g(o.mdiOpenInNew),1)]),_:1})]),d(" and include the stack trace from the logs at "),Ie,d(" if you can. ")])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})])):A("",!0)}const Ve=k(fe,[["render",Ce],["__scopeId","data-v-bc6470a2"]]),Te={name:"TimeTextField",data(){return{FORMAT:"DDD HH:mm:SS",timeRules:[e=>/^(\d{1,3} )?([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/.test(e)||`Invalid time format ${this.FORMAT}`]}}};function Ae(e,t,m,h,o,u){return c(),V(pe,P({ref:"timeField",density:"compact",filled:"",hint:o.FORMAT,round:"",rules:o.timeRules},e.$attrs),null,16,["hint","rules"])}const K=k(Te,[["render",Ae]]),xe={name:"AdminServerFolderPicker",emits:["change","menu"],data(){return{path:"",originalPath:"",showHidden:!1,menuOpen:!1}},computed:{...w(f,{folders:e=>e.folderPicker.folders,rootFolder:e=>e.folderPicker.rootFolder}),...w(x,{formErrors:e=>e.form.errors}),appendOuterIcon(){return this.showHidden?this.mdiFolderHidden:this.mdiFolderOutline},showHiddenTooltipPrefix(){return this.showHidden?"Hide":"Show"}},watch:{menuOpen(e){e&&this.$emit("menu",e)}},created(){this.loadFolders().then(()=>(this.path=this.rootFolder,this.originalPath=this.rootFolder,!0)).catch(console.warn)},methods:{...v(f,["clearFolders","loadFolders"]),...v(x,["clearErrors"]),change(e){const t=e?e.startsWith("/")||e.startsWith("\\")?e:[this.rootFolder,e].join("/"):this.rootFolder,m=this.menuOpen;this.clearErrors(),this.loadFolders(t,this.showHidden).then(()=>{this.menuOpen=m;let h="";return this.formErrors.length===0&&(this.path=h=this.rootFolder),this.$emit("change",h)}).catch(console.warn)},onBlur(){this.menuOpen=!1,this.change(this.path)},onClear(){this.clearFolders(this.orignalPath).then(()=>this.change(this.orginalPath)).catch(console.error)},onKeyDownEnter(){this.change(this.path)},onItemClick(e){this.change(e)}}},De={id:"folderPicker"};function Ee(e,t,m,h,o,u){return c(),_("div",De,[l(he,P({modelValue:o.path,"onUpdate:modelValue":t[0]||(t[0]=i=>o.path=i),menu:o.menuOpen,"onUpdate:menu":t[1]||(t[1]=i=>o.menuOpen=i)},e.$attrs,{"aria-label":"Library folder",clearable:"","error-messages":e.formErrors,"full-width":"","hide-details":"auto",items:e.folders,"menu-props":{maxHeight:"370px"},"validate-on":"blur",variant:"filled",onBlur:u.onBlur,"onClick:clear":u.onClear,onKeydown:re(u.onKeyDownEnter,["enter"])}),{item:s(({item:i,props:p})=>[l(le,P(p,{title:i.title,value:i.value,onClick:F=>u.onItemClick(i.value)}),null,16,["title","value","onClick"])]),_:1},16,["modelValue","menu","error-messages","items","onBlur","onClick:clear","onKeydown"]),l(I,{modelValue:o.showHidden,"onUpdate:modelValue":t[2]||(t[2]=i=>o.showHidden=i),density:"compact",class:"showHidden","hide-details":"auto",label:"Show Hidden Folders"},null,8,["modelValue"])])}const Re=k(xe,[["render",Ee],["__scopeId","data-v-3cf2705f"]]),M=["events","poll","pollEvery","groups"];Object.freeze(M);const C={path:"",events:!0,poll:!0,pollEvery:"01:00:00",groups:[]};Object.freeze(C);const H=(e,t)=>(e=e.replaceAll("\\","/"),t=t.replaceAll("\\","/"),e.endsWith("/")||(e+="/"),t.endsWith("/")||(t+="/"),t.startsWith(e)),Oe={name:"AdminLibraryCreateUpdateInputs",components:{AdminRelationPicker:J,AdminServerFolderPicker:Re,TimeTextField:K},props:{oldRow:{type:[Object,Boolean],default:!1}},emits:["change"],data(){return{rules:{path:[e=>!!e||"Path is required",e=>{if(!e)return!1;for(const t of this.paths){if(H(t,e))return"Path is a child of an existing library";if(H(e,t))return"Path is a parent of an existing library"}return!0}]},row:S.cloneDeep(this.oldRow||C)}},computed:{...w(f,{groups:e=>e.groups,libraries:e=>e.libraries}),paths(){return this.nameSet(this.libraries,"path",this.oldRow,!1)}},watch:{row:{handler(e){this.$emit("change",e)},deep:!0},oldRow:{handler(e){this.row=S.cloneDeep(e)},deep:!0}},methods:{...v(f,["nameSet"])},UPDATE_KEYS:M,EMPTY_ROW:C},Se={key:1};function Ue(e,t,m,h,o,u){const i=b("AdminServerFolderPicker"),p=K,F=b("AdminRelationPicker");return c(),_(j,null,[m.oldRow?(c(),_("div",Se,g(m.oldRow.path),1)):(c(),V(i,{key:0,rules:o.rules.path,autofocus:"",label:"Library Folder",onChange:t[0]||(t[0]=n=>o.row.path=n)},null,8,["rules"])),l(I,{modelValue:o.row.events,"onUpdate:modelValue":t[1]||(t[1]=n=>o.row.events=n),"hide-details":"auto",hint:"Update Codex instantly when the filesystem changes",label:"Watch Filesystem Events","persistent-hint":!0},null,8,["modelValue"]),l(I,{modelValue:o.row.poll,"onUpdate:modelValue":t[2]||(t[2]=n=>o.row.poll=n),label:"Poll Filesystem Periodically","hide-details":"auto",hint:"Periodically poll the library for changes","persistent-hint":!0},null,8,["modelValue"]),l(p,{modelValue:o.row.pollEvery,"onUpdate:modelValue":t[3]||(t[3]=n=>o.row.pollEvery=n),label:"Poll Every",disabled:!o.row.poll},null,8,["modelValue","disabled"]),l(F,{modelValue:o.row.groups,"onUpdate:modelValue":t[4]||(t[4]=n=>o.row.groups=n),label:"Groups",objs:e.groups,"group-type":"","title-key":"name"},null,8,["modelValue","objs"])],64)}const He=k(Oe,[["render",Ue]]),Le={name:"AdminLibrariesTab",components:{AdminDeleteRowDialog:Q,AdminFailedImportsPanel:Ve,AdminCreateUpdateDialog:X,RelationChips:z,ConfirmDialog:L,DateTimeColumn:W},data(){return{lastUpdate:{pk:0,field:void 0},mdiDatabaseClockOutline:se,mdiDatabaseSyncOutline:ae,mdiOpenInNew:$,AdminLibraryCreateUpdateInputs:ie(He),headers:[{title:"Path",key:"path",align:"start"},{title:"Watch File Events",key:"events"},{title:"Poll Files Periodically",key:"poll"},{title:"Poll Every",key:"pollEvery"},{title:"Last Poll",key:"lastPoll"},{title:"Groups",key:"groups"},{title:"Actions",key:"actions",sortable:!1}]}},computed:{...w(f,{groups:e=>e.groups,libraries:e=>e.libraries,formErrors:e=>e.form.errors}),...w(ce,{twentyFourHourTime:e=>e.settings.twentyFourHourTime})},mounted(){this.loadTables(["Group","Library","FailedImport"])},methods:{...v(f,["updateRow","clearErrors","librarianTask","loadTables"]),formatDateTime:e=>e?ne(e,(void 0).twentyFourHourTime):"",changeCol(e,t,m){this.lastUpdate.pk=e,this.lastUpdate.field=t;const h={[t]:m};this.updateRow("Library",e,h)},getFormErrors(e,t){if(e===this.lastUpdate.pk&&t===this.lastUpdate.field)return this.formErrors},poll(e){this.librarianTask("poll",`Poll Library ${e}`,e)},forcePoll(e){this.librarianTask("poll_force",`Force Poll Library ${e}`,e)}}},ze=e=>(B("data-v-4107b305"),e=e(),N(),e),$e={class:"tabHeader"},je=ze(()=>r("td",{class:"adminNoData",colspan:"100%"}," Add a Library to start using Codex ",-1));function Be(e,t,m,h,o,u){const i=b("AdminCreateUpdateDialog"),p=b("DateTimeColumn"),F=z,n=L,Y=b("AdminDeleteRowDialog"),G=b("AdminFailedImportsPanel");return c(),_("div",null,[r("header",$e,[l(i,{table:"Library",inputs:o.AdminLibraryCreateUpdateInputs},null,8,["inputs"])]),l(Z,{class:"adminTable","fixed-header":"","item-value":"pk",headers:o.headers,items:e.libraries,"sort-by":[{key:"path",order:"asc"}]},{"no-data":s(()=>[je]),"item.events":s(({item:a})=>[l(U,{"model-value":a.events,disabled:""},null,8,["model-value"])]),"item.poll":s(({item:a})=>[l(U,{"model-value":a.poll,disabled:""},null,8,["model-value"])]),"item.pollEvery":s(({item:a})=>[r("span",{class:me({disabled:!a.poll})},g(a.pollEvery),3)]),"item.lastPoll":s(({item:a})=>[l(p,{dttm:a.lastPoll},null,8,["dttm"])]),"item.groups":s(({item:a})=>[l(F,{pks:a.groups,objs:e.groups,"group-type":"","title-key":"name"},null,8,["pks","objs"])]),"item.actions":s(({item:a})=>[l(n,{icon:o.mdiDatabaseClockOutline,"title-text":"Poll for updated comics","object-name":a.path,"confirm-text":"Poll Library",size:"small",density:"compact",onConfirm:q=>u.poll(a.pk)},null,8,["icon","object-name","onConfirm"]),l(n,{icon:o.mdiDatabaseSyncOutline,"title-text":"Force update every comic","object-name":a.path,"confirm-text":"Force Update",size:"small",density:"compact",onConfirm:q=>u.forcePoll(a.pk)},null,8,["icon","object-name","onConfirm"]),l(i,{table:"Library","old-row":a,inputs:o.AdminLibraryCreateUpdateInputs,"max-width":"22em",size:"small",density:"compact"},null,8,["old-row","inputs"]),l(Y,{table:"Library",pk:a.pk,name:a.path,size:"small",density:"compact"},null,8,["pk","name"])]),_:2},1032,["headers","items"]),l(de,null,{default:s(()=>[l(G)]),_:1})])}const rt=k(Le,[["render",Be],["__scopeId","data-v-4107b305"]]);export{rt as default};
|
|
Binary file
|
|
Binary file
|