codex 1.8.0a7__py3-none-any.whl → 1.8.0a8__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/librarian/scribe/importer/create/link_fks.py +1 -1
- codex/librarian/scribe/importer/link/delete.py +1 -1
- codex/librarian/scribe/importer/link/many_to_many.py +1 -1
- codex/librarian/scribe/importer/link/prepare.py +1 -1
- codex/librarian/scribe/importer/query/{query_fks.py → foreign_keys.py} +2 -2
- codex/librarian/scribe/importer/query/update_comics.py +1 -1
- codex/librarian/scribe/importer/read/foreign_keys.py +1 -1
- codex/librarian/scribe/importer/read/many_to_many.py +1 -1
- codex/librarian/scribe/importer/search/update.py +1 -1
- codex/librarian/scribe/janitor/cleanup.py +1 -1
- codex/librarian/scribe/janitor/integrity.py +4 -3
- codex/librarian/watchdog/event_batcherd.py +1 -1
- codex/librarian/watchdog/handlers.py +1 -1
- codex/librarian/watchdog/observers.py +2 -2
- codex/models/admin.py +1 -1
- codex/serializers/admin/tasks.py +1 -1
- codex/serializers/browser/choices.py +1 -1
- codex/startup/__init__.py +2 -2
- codex/static_root/assets/{VCheckbox-DWxWEepo.1acd2cc6d629.js → VCheckbox-DUW6_hDa.1ef41a544a92.js} +1 -1
- codex/static_root/assets/VCheckbox-DUW6_hDa.1ef41a544a92.js.br +0 -0
- codex/static_root/assets/VCheckbox-DUW6_hDa.1ef41a544a92.js.gz +0 -0
- codex/static_root/assets/{VCheckbox-DWxWEepo.js → VCheckbox-DUW6_hDa.js} +1 -1
- codex/static_root/assets/VCheckbox-DUW6_hDa.js.br +0 -0
- codex/static_root/assets/VCheckbox-DUW6_hDa.js.gz +0 -0
- codex/static_root/assets/{VCheckboxBtn-C_KP91Hh.a275b49a13e7.js → VCheckboxBtn-C-lQiBqA.9a3b577ca744.js} +1 -1
- codex/static_root/assets/VCheckboxBtn-C-lQiBqA.9a3b577ca744.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-C-lQiBqA.9a3b577ca744.js.gz +0 -0
- codex/static_root/assets/{VCheckboxBtn-C_KP91Hh.js → VCheckboxBtn-C-lQiBqA.js} +1 -1
- codex/static_root/assets/VCheckboxBtn-C-lQiBqA.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-C-lQiBqA.js.gz +0 -0
- codex/static_root/assets/{VCombobox-B4BO1uO9.eba6114f3e21.js → VCombobox-DN068PcH.e48a063e22c8.js} +1 -1
- codex/static_root/assets/VCombobox-DN068PcH.e48a063e22c8.js.br +0 -0
- codex/static_root/assets/VCombobox-DN068PcH.e48a063e22c8.js.gz +0 -0
- codex/static_root/assets/{VCombobox-B4BO1uO9.js → VCombobox-DN068PcH.js} +1 -1
- codex/static_root/assets/VCombobox-DN068PcH.js.br +0 -0
- codex/static_root/assets/VCombobox-DN068PcH.js.gz +0 -0
- codex/static_root/assets/VDialog-CNXFr29h.1b503cbf1c8a.js +1 -0
- codex/static_root/assets/VDialog-CNXFr29h.1b503cbf1c8a.js.br +0 -0
- codex/static_root/assets/VDialog-CNXFr29h.1b503cbf1c8a.js.gz +0 -0
- codex/static_root/assets/VDialog-CNXFr29h.js +1 -0
- codex/static_root/assets/VDialog-CNXFr29h.js.br +0 -0
- codex/static_root/assets/VDialog-CNXFr29h.js.gz +0 -0
- codex/static_root/assets/{VDivider-CnxeDDcO.792921c1a4a1.js → VDivider-CMJgJBsn.ba01c6098f6a.js} +1 -1
- codex/static_root/assets/VDivider-CMJgJBsn.ba01c6098f6a.js.br +0 -0
- codex/static_root/assets/VDivider-CMJgJBsn.ba01c6098f6a.js.gz +0 -0
- codex/static_root/assets/{VDivider-CnxeDDcO.js → VDivider-CMJgJBsn.js} +1 -1
- codex/static_root/assets/VDivider-CMJgJBsn.js.br +0 -0
- codex/static_root/assets/VDivider-CMJgJBsn.js.gz +0 -0
- codex/static_root/assets/{VExpansionPanels-6RbcaUkU.33ee286d20e7.js → VExpansionPanels-DlvNPW3D.996da93a53cd.js} +1 -1
- codex/static_root/assets/VExpansionPanels-DlvNPW3D.996da93a53cd.js.br +0 -0
- codex/static_root/assets/VExpansionPanels-DlvNPW3D.996da93a53cd.js.gz +0 -0
- codex/static_root/assets/{VExpansionPanels-6RbcaUkU.js → VExpansionPanels-DlvNPW3D.js} +1 -1
- codex/static_root/assets/VExpansionPanels-DlvNPW3D.js.br +0 -0
- codex/static_root/assets/VExpansionPanels-DlvNPW3D.js.gz +0 -0
- codex/static_root/assets/{VForm-BiZGZD6F.fb9d8426ef72.js → VForm-g3pClFlH.e59cff7f285e.js} +1 -1
- codex/static_root/assets/VForm-g3pClFlH.e59cff7f285e.js.br +0 -0
- codex/static_root/assets/VForm-g3pClFlH.e59cff7f285e.js.gz +0 -0
- codex/static_root/assets/{VForm-BiZGZD6F.js → VForm-g3pClFlH.js} +1 -1
- codex/static_root/assets/VForm-g3pClFlH.js.br +0 -0
- codex/static_root/assets/VForm-g3pClFlH.js.gz +0 -0
- codex/static_root/assets/{VRadioGroup-C454wUvX.689995f3ff8c.js → VRadioGroup-Bv8An5nC.47fec3aea984.js} +1 -1
- codex/static_root/assets/VRadioGroup-Bv8An5nC.47fec3aea984.js.br +0 -0
- codex/static_root/assets/VRadioGroup-Bv8An5nC.47fec3aea984.js.gz +0 -0
- codex/static_root/assets/{VRadioGroup-C454wUvX.js → VRadioGroup-Bv8An5nC.js} +1 -1
- codex/static_root/assets/VRadioGroup-Bv8An5nC.js.br +0 -0
- codex/static_root/assets/VRadioGroup-Bv8An5nC.js.gz +0 -0
- codex/static_root/assets/VSelect-5V0L32ek.d6eedd1c4964.js +1 -0
- codex/static_root/assets/VSelect-5V0L32ek.d6eedd1c4964.js.br +0 -0
- codex/static_root/assets/VSelect-5V0L32ek.d6eedd1c4964.js.gz +0 -0
- codex/static_root/assets/VSelect-5V0L32ek.js +1 -0
- codex/static_root/assets/VSelect-5V0L32ek.js.br +0 -0
- codex/static_root/assets/VSelect-5V0L32ek.js.gz +0 -0
- codex/static_root/assets/VSelectionControl-DnfftqAx.556b8bb83bdc.js +1 -0
- codex/static_root/assets/VSelectionControl-DnfftqAx.556b8bb83bdc.js.br +0 -0
- codex/static_root/assets/VSelectionControl-DnfftqAx.556b8bb83bdc.js.gz +0 -0
- codex/static_root/assets/VSelectionControl-DnfftqAx.js +1 -0
- codex/static_root/assets/VSelectionControl-DnfftqAx.js.br +0 -0
- codex/static_root/assets/VSelectionControl-DnfftqAx.js.gz +0 -0
- codex/static_root/assets/{VTable-D0O9TP1l.851d06430ab7.js → VTable-DwXTycqf.626c254120d6.js} +1 -1
- codex/static_root/assets/VTable-DwXTycqf.626c254120d6.js.br +0 -0
- codex/static_root/assets/VTable-DwXTycqf.626c254120d6.js.gz +0 -0
- codex/static_root/assets/{VTable-D0O9TP1l.js → VTable-DwXTycqf.js} +1 -1
- codex/static_root/assets/VTable-DwXTycqf.js.br +0 -0
- codex/static_root/assets/VTable-DwXTycqf.js.gz +0 -0
- codex/static_root/assets/{VWindowItem-D1r_6PXp.b5cdd9ef6ce9.js → VWindowItem-CRKodQol.663a9ed570f5.js} +1 -1
- codex/static_root/assets/VWindowItem-CRKodQol.663a9ed570f5.js.br +0 -0
- codex/static_root/assets/VWindowItem-CRKodQol.663a9ed570f5.js.gz +0 -0
- codex/static_root/assets/{VWindowItem-D1r_6PXp.js → VWindowItem-CRKodQol.js} +1 -1
- codex/static_root/assets/VWindowItem-CRKodQol.js.br +0 -0
- codex/static_root/assets/VWindowItem-CRKodQol.js.gz +0 -0
- codex/static_root/assets/{admin-B9Oz5KrR.14ab2e54fa5b.js → admin-BqW0weON.8f6c13fd9ec2.js} +1 -1
- codex/static_root/assets/admin-BqW0weON.8f6c13fd9ec2.js.br +0 -0
- codex/static_root/assets/admin-BqW0weON.8f6c13fd9ec2.js.gz +0 -0
- codex/static_root/assets/{admin-B9Oz5KrR.js → admin-BqW0weON.js} +1 -1
- codex/static_root/assets/admin-BqW0weON.js.br +0 -0
- codex/static_root/assets/admin-BqW0weON.js.gz +0 -0
- codex/static_root/assets/{admin-CfDzTfnG.ba240b5a4a40.js → admin-C2Ip50qb.1b25eed056ba.js} +1 -1
- codex/static_root/assets/admin-C2Ip50qb.1b25eed056ba.js.br +0 -0
- codex/static_root/assets/admin-C2Ip50qb.1b25eed056ba.js.gz +0 -0
- codex/static_root/assets/{admin-CfDzTfnG.js → admin-C2Ip50qb.js} +1 -1
- codex/static_root/assets/admin-C2Ip50qb.js.br +0 -0
- codex/static_root/assets/admin-C2Ip50qb.js.gz +0 -0
- codex/static_root/assets/{admin-menu-BTCthv5r.js → admin-menu-BKYBVovM.8b2fd527feda.js} +1 -1
- codex/static_root/assets/admin-menu-BKYBVovM.8b2fd527feda.js.br +0 -0
- codex/static_root/assets/admin-menu-BKYBVovM.8b2fd527feda.js.gz +0 -0
- codex/static_root/assets/{admin-menu-BTCthv5r.f4c60585345c.js → admin-menu-BKYBVovM.js} +1 -1
- codex/static_root/assets/admin-menu-BKYBVovM.js.br +0 -0
- codex/static_root/assets/admin-menu-BKYBVovM.js.gz +0 -0
- codex/static_root/assets/{admin-settings-button-progress-Byb3ZZbF.c38abf7a183e.js → admin-settings-button-progress-BcsRN1LK.bdc3ca33f5a9.js} +1 -1
- codex/static_root/assets/admin-settings-button-progress-BcsRN1LK.bdc3ca33f5a9.js.br +3 -0
- codex/static_root/assets/admin-settings-button-progress-BcsRN1LK.bdc3ca33f5a9.js.gz +0 -0
- codex/static_root/assets/{admin-settings-button-progress-Byb3ZZbF.js → admin-settings-button-progress-BcsRN1LK.js} +1 -1
- codex/static_root/assets/admin-settings-button-progress-BcsRN1LK.js.br +3 -0
- codex/static_root/assets/admin-settings-button-progress-BcsRN1LK.js.gz +0 -0
- codex/static_root/assets/{browser-BbFRLvto.js → browser-BxgjC3t-.ffdd3301600f.js} +1 -1
- codex/static_root/assets/browser-BxgjC3t-.ffdd3301600f.js.br +0 -0
- codex/static_root/assets/browser-BxgjC3t-.ffdd3301600f.js.gz +0 -0
- codex/static_root/assets/{browser-BbFRLvto.2ddc78dbd6d2.js → browser-BxgjC3t-.js} +1 -1
- codex/static_root/assets/browser-BxgjC3t-.js.br +0 -0
- codex/static_root/assets/browser-BxgjC3t-.js.gz +0 -0
- codex/static_root/assets/{change-password-dialog-DVgKRnnC.0cae12f0ba55.js → change-password-dialog-HgA0CORX.1028163b5339.js} +1 -1
- codex/static_root/assets/change-password-dialog-HgA0CORX.1028163b5339.js.br +0 -0
- codex/static_root/assets/change-password-dialog-HgA0CORX.1028163b5339.js.gz +0 -0
- codex/static_root/assets/{change-password-dialog-DVgKRnnC.js → change-password-dialog-HgA0CORX.js} +1 -1
- codex/static_root/assets/change-password-dialog-HgA0CORX.js.br +0 -0
- codex/static_root/assets/change-password-dialog-HgA0CORX.js.gz +0 -0
- codex/static_root/assets/{confirm-dialog-CId2DpVz.7cc09b1259d5.js → confirm-dialog-CxSqELz_.14faaeb29572.js} +1 -1
- codex/static_root/assets/confirm-dialog-CxSqELz_.14faaeb29572.js.br +0 -0
- codex/static_root/assets/confirm-dialog-CxSqELz_.14faaeb29572.js.gz +0 -0
- codex/static_root/assets/{confirm-dialog-CId2DpVz.js → confirm-dialog-CxSqELz_.js} +1 -1
- codex/static_root/assets/confirm-dialog-CxSqELz_.js.br +0 -0
- codex/static_root/assets/confirm-dialog-CxSqELz_.js.gz +0 -0
- codex/static_root/assets/{datetime-column-80bdFW1G.8fecf1c8a4df.js → datetime-column-rZsFnTUM.d63b1f84c50e.js} +1 -1
- codex/static_root/assets/datetime-column-rZsFnTUM.d63b1f84c50e.js.br +0 -0
- codex/static_root/assets/datetime-column-rZsFnTUM.d63b1f84c50e.js.gz +0 -0
- codex/static_root/assets/{datetime-column-80bdFW1G.js → datetime-column-rZsFnTUM.js} +1 -1
- codex/static_root/assets/datetime-column-rZsFnTUM.js.br +0 -0
- codex/static_root/assets/datetime-column-rZsFnTUM.js.gz +0 -0
- codex/static_root/assets/{filter-AqFs16gs.b81b28d3b1cd.js → filter-CZcRVxSc.5d1d9164ac58.js} +1 -1
- codex/static_root/assets/filter-CZcRVxSc.5d1d9164ac58.js.br +0 -0
- codex/static_root/assets/filter-CZcRVxSc.5d1d9164ac58.js.gz +0 -0
- codex/static_root/assets/{filter-AqFs16gs.js → filter-CZcRVxSc.js} +1 -1
- codex/static_root/assets/filter-CZcRVxSc.js.br +0 -0
- codex/static_root/assets/filter-CZcRVxSc.js.gz +0 -0
- codex/static_root/assets/{flag-tab--riWEaDz.600d45990e7e.js → flag-tab-2Ll3YGPX.74f9a0136fb3.js} +1 -1
- codex/static_root/assets/flag-tab-2Ll3YGPX.74f9a0136fb3.js.br +0 -0
- codex/static_root/assets/flag-tab-2Ll3YGPX.74f9a0136fb3.js.gz +0 -0
- codex/static_root/assets/{flag-tab--riWEaDz.js → flag-tab-2Ll3YGPX.js} +1 -1
- codex/static_root/assets/flag-tab-2Ll3YGPX.js.br +0 -0
- codex/static_root/assets/flag-tab-2Ll3YGPX.js.gz +0 -0
- codex/static_root/assets/forwardRefs-BGipb1NY.101a28110d2a.js +1 -0
- codex/static_root/assets/forwardRefs-BGipb1NY.101a28110d2a.js.br +0 -0
- codex/static_root/assets/forwardRefs-BGipb1NY.101a28110d2a.js.gz +0 -0
- codex/static_root/assets/forwardRefs-BGipb1NY.js +1 -0
- codex/static_root/assets/forwardRefs-BGipb1NY.js.br +0 -0
- codex/static_root/assets/forwardRefs-BGipb1NY.js.gz +0 -0
- codex/static_root/assets/{group-tab-DW2cxPzu.c484f88ea5aa.js → group-tab-hByOodup.17ce8aae7db5.js} +1 -1
- codex/static_root/assets/group-tab-hByOodup.17ce8aae7db5.js.br +0 -0
- codex/static_root/assets/group-tab-hByOodup.17ce8aae7db5.js.gz +0 -0
- codex/static_root/assets/{group-tab-DW2cxPzu.js → group-tab-hByOodup.js} +1 -1
- codex/static_root/assets/group-tab-hByOodup.js.br +0 -0
- codex/static_root/assets/group-tab-hByOodup.js.gz +0 -0
- codex/static_root/assets/{http-error--HzaZjdl.a51e63e5e831.js → http-error-BG99vdG1.b2db362dd13f.js} +1 -1
- codex/static_root/assets/http-error-BG99vdG1.b2db362dd13f.js.br +0 -0
- codex/static_root/assets/http-error-BG99vdG1.b2db362dd13f.js.gz +0 -0
- codex/static_root/assets/{http-error--HzaZjdl.js → http-error-BG99vdG1.js} +1 -1
- codex/static_root/assets/http-error-BG99vdG1.js.br +0 -0
- codex/static_root/assets/http-error-BG99vdG1.js.gz +0 -0
- codex/static_root/assets/{index-DkPXJI21.0d7b8f8cf7be.js → index-ab7P5Bab.12abede3cd43.js} +1 -1
- codex/static_root/assets/index-ab7P5Bab.12abede3cd43.js.br +0 -0
- codex/static_root/assets/index-ab7P5Bab.12abede3cd43.js.gz +0 -0
- codex/static_root/assets/{index-DkPXJI21.js → index-ab7P5Bab.js} +1 -1
- codex/static_root/assets/index-ab7P5Bab.js.br +0 -0
- codex/static_root/assets/index-ab7P5Bab.js.gz +0 -0
- codex/static_root/assets/{library-tab-BwPXDL63.dc7f661f7bc7.js → library-tab-CbVRgrCk.4d5322f66c55.js} +1 -1
- codex/static_root/assets/library-tab-CbVRgrCk.4d5322f66c55.js.br +0 -0
- codex/static_root/assets/library-tab-CbVRgrCk.4d5322f66c55.js.gz +0 -0
- codex/static_root/assets/{library-tab-BwPXDL63.js → library-tab-CbVRgrCk.js} +1 -1
- codex/static_root/assets/library-tab-CbVRgrCk.js.br +0 -0
- codex/static_root/assets/library-tab-CbVRgrCk.js.gz +0 -0
- codex/static_root/assets/{main-DXiGoFcV.5a499dbcbbfe.js → main-693Xq5cv.40008d4a0dcd.js} +14 -14
- codex/static_root/assets/main-693Xq5cv.40008d4a0dcd.js.br +0 -0
- codex/static_root/assets/main-693Xq5cv.40008d4a0dcd.js.gz +0 -0
- codex/static_root/assets/{main-DXiGoFcV.js → main-693Xq5cv.js} +14 -14
- codex/static_root/assets/main-693Xq5cv.js.br +0 -0
- codex/static_root/assets/main-693Xq5cv.js.gz +0 -0
- codex/static_root/assets/pager-full-pdf-BjR2RW3n.89fde37b9a1e.js +1 -0
- codex/static_root/assets/pager-full-pdf-BjR2RW3n.89fde37b9a1e.js.br +0 -0
- codex/static_root/assets/pager-full-pdf-BjR2RW3n.89fde37b9a1e.js.gz +0 -0
- codex/static_root/assets/pager-full-pdf-BjR2RW3n.js +1 -0
- codex/static_root/assets/pager-full-pdf-BjR2RW3n.js.br +0 -0
- codex/static_root/assets/pager-full-pdf-BjR2RW3n.js.gz +0 -0
- codex/static_root/assets/{pagination-toolbar-gxf2sShG.4c0846bf3224.js → pagination-toolbar-BiRAGarK.78d10e3a792c.js} +1 -1
- codex/static_root/assets/pagination-toolbar-BiRAGarK.78d10e3a792c.js.br +0 -0
- codex/static_root/assets/pagination-toolbar-BiRAGarK.78d10e3a792c.js.gz +0 -0
- codex/static_root/assets/{pagination-toolbar-gxf2sShG.js → pagination-toolbar-BiRAGarK.js} +1 -1
- codex/static_root/assets/pagination-toolbar-BiRAGarK.js.br +0 -0
- codex/static_root/assets/pagination-toolbar-BiRAGarK.js.gz +0 -0
- codex/static_root/assets/{pdf-doc-BKIb3c50.71a27ab500e3.js → pdf-doc-Cxhh9veI.23ae192282cc.js} +1 -1
- codex/static_root/assets/pdf-doc-Cxhh9veI.23ae192282cc.js.br +0 -0
- codex/static_root/assets/pdf-doc-Cxhh9veI.23ae192282cc.js.gz +0 -0
- codex/static_root/assets/{pdf-doc-BKIb3c50.js → pdf-doc-Cxhh9veI.js} +1 -1
- codex/static_root/assets/pdf-doc-Cxhh9veI.js.br +0 -0
- codex/static_root/assets/pdf-doc-Cxhh9veI.js.gz +0 -0
- codex/static_root/assets/{reader-DN0gXesY.js → reader-C_ekcGCq.61c8768ed7df.js} +2 -2
- codex/static_root/assets/reader-C_ekcGCq.61c8768ed7df.js.br +0 -0
- codex/static_root/assets/reader-C_ekcGCq.61c8768ed7df.js.gz +0 -0
- codex/static_root/assets/{reader-DN0gXesY.a8decf766e54.js → reader-C_ekcGCq.js} +2 -2
- codex/static_root/assets/reader-C_ekcGCq.js.br +0 -0
- codex/static_root/assets/reader-C_ekcGCq.js.gz +0 -0
- codex/static_root/assets/relation-chips-BJa3zS3b.0fc59d112776.js +1 -0
- codex/static_root/assets/relation-chips-BJa3zS3b.0fc59d112776.js.br +0 -0
- codex/static_root/assets/relation-chips-BJa3zS3b.0fc59d112776.js.gz +0 -0
- codex/static_root/assets/relation-chips-BJa3zS3b.js +1 -0
- codex/static_root/assets/relation-chips-BJa3zS3b.js.br +0 -0
- codex/static_root/assets/relation-chips-BJa3zS3b.js.gz +0 -0
- codex/static_root/assets/{settings-drawer-BBM7vyXE.js → settings-drawer-_3XwKnOZ.d2fca6defe05.js} +2 -2
- codex/static_root/assets/settings-drawer-_3XwKnOZ.d2fca6defe05.js.br +0 -0
- codex/static_root/assets/settings-drawer-_3XwKnOZ.d2fca6defe05.js.gz +0 -0
- codex/static_root/assets/{settings-drawer-BBM7vyXE.b3a49d6d6f4c.js → settings-drawer-_3XwKnOZ.js} +2 -2
- codex/static_root/assets/settings-drawer-_3XwKnOZ.js.br +0 -0
- codex/static_root/assets/settings-drawer-_3XwKnOZ.js.gz +0 -0
- codex/static_root/assets/{ssrBoot-Bz995UNv.88843c6b5c94.js → ssrBoot-DYCTuClQ.b44e73e1499c.js} +1 -1
- codex/static_root/assets/ssrBoot-DYCTuClQ.b44e73e1499c.js.br +0 -0
- codex/static_root/assets/ssrBoot-DYCTuClQ.b44e73e1499c.js.gz +0 -0
- codex/static_root/assets/{ssrBoot-Bz995UNv.js → ssrBoot-DYCTuClQ.js} +1 -1
- codex/static_root/assets/ssrBoot-DYCTuClQ.js.br +0 -0
- codex/static_root/assets/ssrBoot-DYCTuClQ.js.gz +0 -0
- codex/static_root/assets/{stats-tab-D0ysKA-O.22ade1f1c862.js → stats-tab-Bm_-Ryds.10af923ccdf8.js} +1 -1
- codex/static_root/assets/stats-tab-Bm_-Ryds.10af923ccdf8.js.br +0 -0
- codex/static_root/assets/stats-tab-Bm_-Ryds.10af923ccdf8.js.gz +0 -0
- codex/static_root/assets/{stats-tab-D0ysKA-O.js → stats-tab-Bm_-Ryds.js} +1 -1
- codex/static_root/assets/stats-tab-Bm_-Ryds.js.br +0 -0
- codex/static_root/assets/stats-tab-Bm_-Ryds.js.gz +0 -0
- codex/static_root/assets/{task-tab-K3T_nwIk.1189081e1886.js → task-tab-DdFZN_NF.2fa5c14c097a.js} +1 -1
- codex/static_root/assets/task-tab-DdFZN_NF.2fa5c14c097a.js.br +0 -0
- codex/static_root/assets/task-tab-DdFZN_NF.2fa5c14c097a.js.gz +0 -0
- codex/static_root/assets/{task-tab-K3T_nwIk.js → task-tab-DdFZN_NF.js} +1 -1
- codex/static_root/assets/task-tab-DdFZN_NF.js.br +0 -0
- codex/static_root/assets/task-tab-DdFZN_NF.js.gz +0 -0
- codex/static_root/assets/{unauthorized-C9hDLcp6.6397ed699c7c.js → unauthorized-C7QkM-2L.c4ab0c298f6f.js} +1 -1
- codex/static_root/assets/unauthorized-C7QkM-2L.c4ab0c298f6f.js.br +0 -0
- codex/static_root/assets/unauthorized-C7QkM-2L.c4ab0c298f6f.js.gz +0 -0
- codex/static_root/assets/{unauthorized-C9hDLcp6.js → unauthorized-C7QkM-2L.js} +1 -1
- codex/static_root/assets/unauthorized-C7QkM-2L.js.br +0 -0
- codex/static_root/assets/unauthorized-C7QkM-2L.js.gz +0 -0
- codex/static_root/assets/{user-tab-DpQuTwTk.c3b440ac6074.js → user-tab-GSZppBHI.fcf50d91004a.js} +1 -1
- codex/static_root/assets/user-tab-GSZppBHI.fcf50d91004a.js.br +0 -0
- codex/static_root/assets/user-tab-GSZppBHI.fcf50d91004a.js.gz +0 -0
- codex/static_root/assets/{user-tab-DpQuTwTk.js → user-tab-GSZppBHI.js} +1 -1
- codex/static_root/assets/user-tab-GSZppBHI.js.br +0 -0
- codex/static_root/assets/user-tab-GSZppBHI.js.gz +0 -0
- codex/static_root/{manifest.b16c282e2ba4.json → manifest.27f259e865a0.json} +307 -307
- codex/static_root/manifest.27f259e865a0.json.br +0 -0
- codex/static_root/manifest.27f259e865a0.json.gz +0 -0
- codex/static_root/manifest.json +307 -307
- codex/static_root/manifest.json.br +0 -0
- codex/static_root/manifest.json.gz +0 -0
- codex/static_root/staticfiles.json +1 -1
- codex/util.py +2 -2
- codex/views/admin/tasks.py +1 -3
- codex/views/browser/breadcrumbs.py +1 -1
- codex/views/browser/page_in_bounds.py +1 -1
- codex/views/opds/v2/feed.py +1 -2
- {codex-1.8.0a7.dist-info → codex-1.8.0a8.dist-info}/METADATA +38 -39
- {codex-1.8.0a7.dist-info → codex-1.8.0a8.dist-info}/RECORD +269 -269
- codex/static_root/assets/VCheckbox-DWxWEepo.1acd2cc6d629.js.br +0 -0
- codex/static_root/assets/VCheckbox-DWxWEepo.1acd2cc6d629.js.gz +0 -0
- codex/static_root/assets/VCheckbox-DWxWEepo.js.br +0 -0
- codex/static_root/assets/VCheckbox-DWxWEepo.js.gz +0 -0
- codex/static_root/assets/VCheckboxBtn-C_KP91Hh.a275b49a13e7.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-C_KP91Hh.a275b49a13e7.js.gz +0 -0
- codex/static_root/assets/VCheckboxBtn-C_KP91Hh.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-C_KP91Hh.js.gz +0 -0
- codex/static_root/assets/VCombobox-B4BO1uO9.eba6114f3e21.js.br +0 -0
- codex/static_root/assets/VCombobox-B4BO1uO9.eba6114f3e21.js.gz +0 -0
- codex/static_root/assets/VCombobox-B4BO1uO9.js.br +0 -0
- codex/static_root/assets/VCombobox-B4BO1uO9.js.gz +0 -0
- codex/static_root/assets/VDialog-DSiQFoFP.7378780e9a46.js +0 -1
- codex/static_root/assets/VDialog-DSiQFoFP.7378780e9a46.js.br +0 -0
- codex/static_root/assets/VDialog-DSiQFoFP.7378780e9a46.js.gz +0 -0
- codex/static_root/assets/VDialog-DSiQFoFP.js +0 -1
- codex/static_root/assets/VDialog-DSiQFoFP.js.br +0 -0
- codex/static_root/assets/VDialog-DSiQFoFP.js.gz +0 -0
- codex/static_root/assets/VDivider-CnxeDDcO.792921c1a4a1.js.br +0 -0
- codex/static_root/assets/VDivider-CnxeDDcO.792921c1a4a1.js.gz +0 -0
- codex/static_root/assets/VDivider-CnxeDDcO.js.br +0 -0
- codex/static_root/assets/VDivider-CnxeDDcO.js.gz +0 -0
- codex/static_root/assets/VExpansionPanels-6RbcaUkU.33ee286d20e7.js.br +0 -0
- codex/static_root/assets/VExpansionPanels-6RbcaUkU.33ee286d20e7.js.gz +0 -0
- codex/static_root/assets/VExpansionPanels-6RbcaUkU.js.br +0 -0
- codex/static_root/assets/VExpansionPanels-6RbcaUkU.js.gz +0 -0
- codex/static_root/assets/VForm-BiZGZD6F.fb9d8426ef72.js.br +0 -0
- codex/static_root/assets/VForm-BiZGZD6F.fb9d8426ef72.js.gz +0 -0
- codex/static_root/assets/VForm-BiZGZD6F.js.br +0 -0
- codex/static_root/assets/VForm-BiZGZD6F.js.gz +0 -0
- codex/static_root/assets/VRadioGroup-C454wUvX.689995f3ff8c.js.br +0 -0
- codex/static_root/assets/VRadioGroup-C454wUvX.689995f3ff8c.js.gz +0 -0
- codex/static_root/assets/VRadioGroup-C454wUvX.js.br +0 -0
- codex/static_root/assets/VRadioGroup-C454wUvX.js.gz +0 -0
- codex/static_root/assets/VSelect-DnTo44Ok.dd359bb94795.js +0 -1
- codex/static_root/assets/VSelect-DnTo44Ok.dd359bb94795.js.br +0 -0
- codex/static_root/assets/VSelect-DnTo44Ok.dd359bb94795.js.gz +0 -0
- codex/static_root/assets/VSelect-DnTo44Ok.js +0 -1
- codex/static_root/assets/VSelect-DnTo44Ok.js.br +0 -0
- codex/static_root/assets/VSelect-DnTo44Ok.js.gz +0 -0
- codex/static_root/assets/VSelectionControl-BQOk7BCO.4cacab8d06c5.js +0 -1
- codex/static_root/assets/VSelectionControl-BQOk7BCO.4cacab8d06c5.js.br +0 -0
- codex/static_root/assets/VSelectionControl-BQOk7BCO.4cacab8d06c5.js.gz +0 -0
- codex/static_root/assets/VSelectionControl-BQOk7BCO.js +0 -1
- codex/static_root/assets/VSelectionControl-BQOk7BCO.js.br +0 -0
- codex/static_root/assets/VSelectionControl-BQOk7BCO.js.gz +0 -0
- codex/static_root/assets/VTable-D0O9TP1l.851d06430ab7.js.br +0 -0
- codex/static_root/assets/VTable-D0O9TP1l.851d06430ab7.js.gz +0 -0
- codex/static_root/assets/VTable-D0O9TP1l.js.br +0 -0
- codex/static_root/assets/VTable-D0O9TP1l.js.gz +0 -0
- codex/static_root/assets/VWindowItem-D1r_6PXp.b5cdd9ef6ce9.js.br +0 -0
- codex/static_root/assets/VWindowItem-D1r_6PXp.b5cdd9ef6ce9.js.gz +0 -0
- codex/static_root/assets/VWindowItem-D1r_6PXp.js.br +0 -0
- codex/static_root/assets/VWindowItem-D1r_6PXp.js.gz +0 -0
- codex/static_root/assets/admin-B9Oz5KrR.14ab2e54fa5b.js.br +0 -0
- codex/static_root/assets/admin-B9Oz5KrR.14ab2e54fa5b.js.gz +0 -0
- codex/static_root/assets/admin-B9Oz5KrR.js.br +0 -0
- codex/static_root/assets/admin-B9Oz5KrR.js.gz +0 -0
- codex/static_root/assets/admin-CfDzTfnG.ba240b5a4a40.js.br +0 -0
- codex/static_root/assets/admin-CfDzTfnG.ba240b5a4a40.js.gz +0 -0
- codex/static_root/assets/admin-CfDzTfnG.js.br +0 -0
- codex/static_root/assets/admin-CfDzTfnG.js.gz +0 -0
- codex/static_root/assets/admin-menu-BTCthv5r.f4c60585345c.js.br +0 -0
- codex/static_root/assets/admin-menu-BTCthv5r.f4c60585345c.js.gz +0 -0
- codex/static_root/assets/admin-menu-BTCthv5r.js.br +0 -0
- codex/static_root/assets/admin-menu-BTCthv5r.js.gz +0 -0
- codex/static_root/assets/admin-settings-button-progress-Byb3ZZbF.c38abf7a183e.js.br +0 -0
- codex/static_root/assets/admin-settings-button-progress-Byb3ZZbF.c38abf7a183e.js.gz +0 -0
- codex/static_root/assets/admin-settings-button-progress-Byb3ZZbF.js.br +0 -0
- codex/static_root/assets/admin-settings-button-progress-Byb3ZZbF.js.gz +0 -0
- codex/static_root/assets/browser-BbFRLvto.2ddc78dbd6d2.js.br +0 -0
- codex/static_root/assets/browser-BbFRLvto.2ddc78dbd6d2.js.gz +0 -0
- codex/static_root/assets/browser-BbFRLvto.js.br +0 -0
- codex/static_root/assets/browser-BbFRLvto.js.gz +0 -0
- codex/static_root/assets/change-password-dialog-DVgKRnnC.0cae12f0ba55.js.br +0 -0
- codex/static_root/assets/change-password-dialog-DVgKRnnC.0cae12f0ba55.js.gz +0 -0
- codex/static_root/assets/change-password-dialog-DVgKRnnC.js.br +0 -0
- codex/static_root/assets/change-password-dialog-DVgKRnnC.js.gz +0 -0
- codex/static_root/assets/confirm-dialog-CId2DpVz.7cc09b1259d5.js.br +0 -0
- codex/static_root/assets/confirm-dialog-CId2DpVz.7cc09b1259d5.js.gz +0 -0
- codex/static_root/assets/confirm-dialog-CId2DpVz.js.br +0 -0
- codex/static_root/assets/confirm-dialog-CId2DpVz.js.gz +0 -0
- codex/static_root/assets/datetime-column-80bdFW1G.8fecf1c8a4df.js.br +0 -0
- codex/static_root/assets/datetime-column-80bdFW1G.8fecf1c8a4df.js.gz +0 -0
- codex/static_root/assets/datetime-column-80bdFW1G.js.br +0 -0
- codex/static_root/assets/datetime-column-80bdFW1G.js.gz +0 -0
- codex/static_root/assets/filter-AqFs16gs.b81b28d3b1cd.js.br +0 -0
- codex/static_root/assets/filter-AqFs16gs.b81b28d3b1cd.js.gz +0 -0
- codex/static_root/assets/filter-AqFs16gs.js.br +0 -0
- codex/static_root/assets/filter-AqFs16gs.js.gz +0 -0
- codex/static_root/assets/flag-tab--riWEaDz.600d45990e7e.js.br +0 -0
- codex/static_root/assets/flag-tab--riWEaDz.600d45990e7e.js.gz +0 -0
- codex/static_root/assets/flag-tab--riWEaDz.js.br +0 -0
- codex/static_root/assets/flag-tab--riWEaDz.js.gz +0 -0
- codex/static_root/assets/forwardRefs-Cnj0FOMT.41a81fb0cd94.js +0 -1
- codex/static_root/assets/forwardRefs-Cnj0FOMT.41a81fb0cd94.js.br +0 -0
- codex/static_root/assets/forwardRefs-Cnj0FOMT.41a81fb0cd94.js.gz +0 -0
- codex/static_root/assets/forwardRefs-Cnj0FOMT.js +0 -1
- codex/static_root/assets/forwardRefs-Cnj0FOMT.js.br +0 -0
- codex/static_root/assets/forwardRefs-Cnj0FOMT.js.gz +0 -0
- codex/static_root/assets/group-tab-DW2cxPzu.c484f88ea5aa.js.br +0 -0
- codex/static_root/assets/group-tab-DW2cxPzu.c484f88ea5aa.js.gz +0 -0
- codex/static_root/assets/group-tab-DW2cxPzu.js.br +0 -0
- codex/static_root/assets/group-tab-DW2cxPzu.js.gz +0 -0
- codex/static_root/assets/http-error--HzaZjdl.a51e63e5e831.js.br +0 -0
- codex/static_root/assets/http-error--HzaZjdl.a51e63e5e831.js.gz +0 -0
- codex/static_root/assets/http-error--HzaZjdl.js.br +0 -0
- codex/static_root/assets/http-error--HzaZjdl.js.gz +0 -0
- codex/static_root/assets/index-DkPXJI21.0d7b8f8cf7be.js.br +0 -0
- codex/static_root/assets/index-DkPXJI21.0d7b8f8cf7be.js.gz +0 -0
- codex/static_root/assets/index-DkPXJI21.js.br +0 -0
- codex/static_root/assets/index-DkPXJI21.js.gz +0 -0
- codex/static_root/assets/library-tab-BwPXDL63.dc7f661f7bc7.js.br +0 -0
- codex/static_root/assets/library-tab-BwPXDL63.dc7f661f7bc7.js.gz +0 -0
- codex/static_root/assets/library-tab-BwPXDL63.js.br +0 -0
- codex/static_root/assets/library-tab-BwPXDL63.js.gz +0 -0
- codex/static_root/assets/main-DXiGoFcV.5a499dbcbbfe.js.br +0 -0
- codex/static_root/assets/main-DXiGoFcV.5a499dbcbbfe.js.gz +0 -0
- codex/static_root/assets/main-DXiGoFcV.js.br +0 -0
- codex/static_root/assets/main-DXiGoFcV.js.gz +0 -0
- codex/static_root/assets/pager-full-pdf-5UMeIJSd.4b0b03e1ad3e.js +0 -1
- codex/static_root/assets/pager-full-pdf-5UMeIJSd.4b0b03e1ad3e.js.br +0 -0
- codex/static_root/assets/pager-full-pdf-5UMeIJSd.4b0b03e1ad3e.js.gz +0 -0
- codex/static_root/assets/pager-full-pdf-5UMeIJSd.js +0 -1
- codex/static_root/assets/pager-full-pdf-5UMeIJSd.js.br +0 -0
- codex/static_root/assets/pager-full-pdf-5UMeIJSd.js.gz +0 -0
- codex/static_root/assets/pagination-toolbar-gxf2sShG.4c0846bf3224.js.br +0 -0
- codex/static_root/assets/pagination-toolbar-gxf2sShG.4c0846bf3224.js.gz +0 -0
- codex/static_root/assets/pagination-toolbar-gxf2sShG.js.br +0 -0
- codex/static_root/assets/pagination-toolbar-gxf2sShG.js.gz +0 -0
- codex/static_root/assets/pdf-doc-BKIb3c50.71a27ab500e3.js.br +0 -0
- codex/static_root/assets/pdf-doc-BKIb3c50.71a27ab500e3.js.gz +0 -0
- codex/static_root/assets/pdf-doc-BKIb3c50.js.br +0 -0
- codex/static_root/assets/pdf-doc-BKIb3c50.js.gz +0 -0
- codex/static_root/assets/reader-DN0gXesY.a8decf766e54.js.br +0 -0
- codex/static_root/assets/reader-DN0gXesY.a8decf766e54.js.gz +0 -0
- codex/static_root/assets/reader-DN0gXesY.js.br +0 -0
- codex/static_root/assets/reader-DN0gXesY.js.gz +0 -0
- codex/static_root/assets/relation-chips-Cu4Ch_yZ.5d94bc55409f.js +0 -1
- codex/static_root/assets/relation-chips-Cu4Ch_yZ.5d94bc55409f.js.br +0 -0
- codex/static_root/assets/relation-chips-Cu4Ch_yZ.5d94bc55409f.js.gz +0 -0
- codex/static_root/assets/relation-chips-Cu4Ch_yZ.js +0 -1
- codex/static_root/assets/relation-chips-Cu4Ch_yZ.js.br +0 -0
- codex/static_root/assets/relation-chips-Cu4Ch_yZ.js.gz +0 -0
- codex/static_root/assets/settings-drawer-BBM7vyXE.b3a49d6d6f4c.js.br +0 -0
- codex/static_root/assets/settings-drawer-BBM7vyXE.b3a49d6d6f4c.js.gz +0 -0
- codex/static_root/assets/settings-drawer-BBM7vyXE.js.br +0 -0
- codex/static_root/assets/settings-drawer-BBM7vyXE.js.gz +0 -0
- codex/static_root/assets/ssrBoot-Bz995UNv.88843c6b5c94.js.br +0 -0
- codex/static_root/assets/ssrBoot-Bz995UNv.88843c6b5c94.js.gz +0 -0
- codex/static_root/assets/ssrBoot-Bz995UNv.js.br +0 -0
- codex/static_root/assets/ssrBoot-Bz995UNv.js.gz +0 -0
- codex/static_root/assets/stats-tab-D0ysKA-O.22ade1f1c862.js.br +0 -0
- codex/static_root/assets/stats-tab-D0ysKA-O.22ade1f1c862.js.gz +0 -0
- codex/static_root/assets/stats-tab-D0ysKA-O.js.br +0 -0
- codex/static_root/assets/stats-tab-D0ysKA-O.js.gz +0 -0
- codex/static_root/assets/task-tab-K3T_nwIk.1189081e1886.js.br +0 -0
- codex/static_root/assets/task-tab-K3T_nwIk.1189081e1886.js.gz +0 -0
- codex/static_root/assets/task-tab-K3T_nwIk.js.br +0 -0
- codex/static_root/assets/task-tab-K3T_nwIk.js.gz +0 -0
- codex/static_root/assets/unauthorized-C9hDLcp6.6397ed699c7c.js.br +0 -0
- codex/static_root/assets/unauthorized-C9hDLcp6.6397ed699c7c.js.gz +0 -0
- codex/static_root/assets/unauthorized-C9hDLcp6.js.br +0 -0
- codex/static_root/assets/unauthorized-C9hDLcp6.js.gz +0 -0
- codex/static_root/assets/user-tab-DpQuTwTk.c3b440ac6074.js.br +0 -0
- codex/static_root/assets/user-tab-DpQuTwTk.c3b440ac6074.js.gz +0 -0
- codex/static_root/assets/user-tab-DpQuTwTk.js.br +0 -0
- codex/static_root/assets/user-tab-DpQuTwTk.js.gz +0 -0
- codex/static_root/manifest.b16c282e2ba4.json.br +0 -0
- codex/static_root/manifest.b16c282e2ba4.json.gz +0 -0
- {codex-1.8.0a7.dist-info → codex-1.8.0a8.dist-info}/WHEEL +0 -0
- {codex-1.8.0a7.dist-info → codex-1.8.0a8.dist-info}/entry_points.txt +0 -0
- {codex-1.8.0a7.dist-info → codex-1.8.0a8.dist-info}/licenses/LICENSE +0 -0
|
@@ -51,7 +51,7 @@ class CreateForeignKeyLinksImporter(LinkComicsImporter):
|
|
|
51
51
|
self, md, subkey: int | str, link_fks: dict[str, tuple]
|
|
52
52
|
):
|
|
53
53
|
for field_name in tuple(link_fks.keys()):
|
|
54
|
-
model: type[BaseModel] = Comic._meta.get_field(field_name).related_model # pyright: ignore[reportAssignmentType]
|
|
54
|
+
model: type[BaseModel] = Comic._meta.get_field(field_name).related_model # pyright: ignore[reportAssignmentType], # ty: ignore[invalid-assignment]│
|
|
55
55
|
key_rels = GROUP_KEY_RELS.get(model, DEFAULT_KEY_RELS)
|
|
56
56
|
values = link_fks.pop(field_name)
|
|
57
57
|
filter_dict = dict(zip(key_rels, values, strict=True))
|
|
@@ -66,7 +66,7 @@ class LinkImporterDelete(LinkComicsImporterPrepare):
|
|
|
66
66
|
return total_field_count
|
|
67
67
|
status.subtitle = f"Delete stale {field_name} links"
|
|
68
68
|
self.status_controller.update(status)
|
|
69
|
-
field: ManyToManyField = Comic._meta.get_field(field_name) # pyright:ignore[reportAssignmentType]
|
|
69
|
+
field: ManyToManyField = Comic._meta.get_field(field_name) # pyright:ignore[reportAssignmentType], # ty: ignore[invalid-assignment]│
|
|
70
70
|
related_model = field.related_model
|
|
71
71
|
table_name = related_model._meta.db_table
|
|
72
72
|
column_name = table_name.removeprefix("codex_") + "_id"
|
|
@@ -29,7 +29,7 @@ class LinkManyToManyImporter(LinkSumImporter):
|
|
|
29
29
|
"""
|
|
30
30
|
status.subtitle = field_name
|
|
31
31
|
self.status_controller.update(status)
|
|
32
|
-
field: ManyToManyField = Comic._meta.get_field(field_name) # pyright: ignore[reportAssignmentType]
|
|
32
|
+
field: ManyToManyField = Comic._meta.get_field(field_name) # pyright: ignore[reportAssignmentType], # ty: ignore[invalid-assignment]│
|
|
33
33
|
through_model = self.get_through_model(field)
|
|
34
34
|
through_field_id_name = field.related_model.__name__.lower() + "_id"
|
|
35
35
|
|
|
@@ -68,7 +68,7 @@ class LinkComicsImporterPrepare(LinkCoversImporter):
|
|
|
68
68
|
if not values:
|
|
69
69
|
return
|
|
70
70
|
self._add_complex_link_to_fts(comic_pk, field_name, values)
|
|
71
|
-
model: type[BaseModel] = Comic._meta.get_field(field_name).related_model # pyright: ignore[reportAssignmentType]
|
|
71
|
+
model: type[BaseModel] = Comic._meta.get_field(field_name).related_model # pyright: ignore[reportAssignmentType], # ty: ignore[invalid-assignment]│
|
|
72
72
|
m2m_filter = link_filter_method(field_name, values)
|
|
73
73
|
pks = model.objects.filter(m2m_filter).values_list("pk", flat=True).distinct()
|
|
74
74
|
if result := tuple(pks):
|
|
@@ -27,8 +27,8 @@ class QueryForeignKeysQueryImporter(QueryIsUpdateImporter):
|
|
|
27
27
|
"""Query the missing foreign keys methods."""
|
|
28
28
|
|
|
29
29
|
def query_existing_mds(self, model: type[BaseModel], batch_proposed_key_tuples):
|
|
30
|
-
"""Query existing
|
|
31
|
-
key_rels: tuple[str, ...] = MODEL_REL_MAP[model][0] # pyright:ignore[reportAssignmentType]
|
|
30
|
+
"""Query existing metadata tables."""
|
|
31
|
+
key_rels: tuple[str, ...] = MODEL_REL_MAP[model][0] # pyright:ignore[reportAssignmentType], # ty: ignore[invalid-assignment]
|
|
32
32
|
fk_filter = self.query_missing_model_filter(
|
|
33
33
|
model,
|
|
34
34
|
key_rels,
|
|
@@ -5,7 +5,7 @@ from codex.librarian.scribe.importer.const import (
|
|
|
5
5
|
CREATE_COMICS,
|
|
6
6
|
UPDATE_COMICS,
|
|
7
7
|
)
|
|
8
|
-
from codex.librarian.scribe.importer.query.
|
|
8
|
+
from codex.librarian.scribe.importer.query.foreign_keys import (
|
|
9
9
|
QueryForeignKeysQueryImporter,
|
|
10
10
|
)
|
|
11
11
|
from codex.librarian.scribe.importer.statii.create import (
|
|
@@ -125,7 +125,7 @@ class AggregateForeignKeyMetadataImporter(QueryForeignKeysImporter):
|
|
|
125
125
|
for field_name, related_field in COMIC_FK_FIELD_NAMES_FIELD_MAP.items():
|
|
126
126
|
# No identifiers on many2one fks yet
|
|
127
127
|
# md_key = FIELD_NAME_TO_MD_KEY_MAP.get(field_name, field_name) if they ever diverge
|
|
128
|
-
model: type[BaseModel] = related_field.model # pyright: ignore[reportAssignmentType]
|
|
128
|
+
model: type[BaseModel] = related_field.model # pyright: ignore[reportAssignmentType], # ty: ignore[invalid-assignment]
|
|
129
129
|
md_key = field_name
|
|
130
130
|
value = md.pop(md_key, None)
|
|
131
131
|
if value is None and not issubclass(model, BrowserGroupModel):
|
|
@@ -53,7 +53,7 @@ class AggregateManyToManyMetadataImporter(AggregateForeignKeyMetadataImporter):
|
|
|
53
53
|
|
|
54
54
|
if sub_sub_md_key == IDENTIFIERS_KEY and sub_sub_value:
|
|
55
55
|
field = Comic._meta.get_field(field_name)
|
|
56
|
-
model: type[BaseModel] = field.related_model # pyright: ignore[reportAssignmentType]
|
|
56
|
+
model: type[BaseModel] = field.related_model # pyright: ignore[reportAssignmentType], # ty: ignore[invalid-assignment]
|
|
57
57
|
clean_sub_sub_values = self.get_identifier_tuple(model, sub_sub_value)
|
|
58
58
|
elif sub_sub_md_key == ROLES_KEY and sub_sub_value:
|
|
59
59
|
clean_sub_sub_values = set()
|
|
@@ -107,7 +107,7 @@ class SearchIndexCreateUpdateImporter(SearchIndexSyncManyToManyImporter):
|
|
|
107
107
|
obj_list: list[ComicFTS],
|
|
108
108
|
status: Status,
|
|
109
109
|
):
|
|
110
|
-
comic_id = comicfts.comic_id # pyright:ignore[reportAttributeAccessIssue]
|
|
110
|
+
comic_id = comicfts.comic_id # pyright:ignore[reportAttributeAccessIssue], # ty: ignore[unresolved-attribute]
|
|
111
111
|
entry = self.metadata[FTS_UPDATE].pop(comic_id)
|
|
112
112
|
self._create_comicfts_entry_m2ms(comic_id, entry)
|
|
113
113
|
for field_name in entry:
|
|
@@ -84,7 +84,7 @@ def _create_reverse_rel_map():
|
|
|
84
84
|
if not field.auto_created:
|
|
85
85
|
continue
|
|
86
86
|
if hasattr(field, "get_accessor_name") and (
|
|
87
|
-
an := field.get_accessor_name() # pyright: ignore[reportAttributeAccessIssue]
|
|
87
|
+
an := field.get_accessor_name() # pyright: ignore[reportAttributeAccessIssue], # ty: ignore[call-non-callable]
|
|
88
88
|
):
|
|
89
89
|
rel = an
|
|
90
90
|
elif field.name:
|
|
@@ -85,6 +85,7 @@ def _get_model(table_name) -> type[BaseModel]:
|
|
|
85
85
|
from_rel_model_name, to_rel_model_name = model_name.split("_", 1)
|
|
86
86
|
except ValueError:
|
|
87
87
|
from_rel_model_name = to_rel_model_name = ""
|
|
88
|
+
model: type[BaseModel]
|
|
88
89
|
if from_rel_model_name in ("comic", "library"):
|
|
89
90
|
# Use the from model to create an m2m through model because I don't know a simpler way.
|
|
90
91
|
from_model = app_config.get_model(from_rel_model_name)
|
|
@@ -93,8 +94,8 @@ def _get_model(table_name) -> type[BaseModel]:
|
|
|
93
94
|
else:
|
|
94
95
|
# Not an m2m through model.
|
|
95
96
|
model_name = model_name.replace("_", "")
|
|
96
|
-
model = app_config.get_model(model_name)
|
|
97
|
-
return model
|
|
97
|
+
model = app_config.get_model(model_name) # pyright: ignore[reportAssignmentType], # ty: ignore[invalid-assignment]
|
|
98
|
+
return model
|
|
98
99
|
|
|
99
100
|
|
|
100
101
|
def _null_bad_fk_rels_table(table_name, bad_rows, log):
|
|
@@ -185,7 +186,7 @@ def _mark_comics_for_update(fix_comic_pks, log):
|
|
|
185
186
|
"""Mark comics with altered foreign keys for update."""
|
|
186
187
|
if not fix_comic_pks:
|
|
187
188
|
return
|
|
188
|
-
comic_model: type[Comic] = apps.get_model(app_label="codex", model_name="comic") # pyright: ignore[reportAssignmentType]
|
|
189
|
+
comic_model: type[Comic] = apps.get_model(app_label="codex", model_name="comic") # pyright: ignore[reportAssignmentType], # ty: ignore[invalid-assignment]
|
|
189
190
|
outdated_comics: BaseManager[Comic] = comic_model.objects.filter(
|
|
190
191
|
pk__in=fix_comic_pks
|
|
191
192
|
).only( # type: ignore[reportAssignmentType]
|
|
@@ -163,7 +163,7 @@ class WatchdogEventBatcherThread(AggregateMessageQueuedThread):
|
|
|
163
163
|
args = self.cache.pop(library_id)
|
|
164
164
|
self._subtract_args_items(args)
|
|
165
165
|
self.deduplicate_events(args)
|
|
166
|
-
return ImportTask(**args)
|
|
166
|
+
return ImportTask(**args) # ty: ignore[missing-argument]
|
|
167
167
|
|
|
168
168
|
def _send_import_task(self, library_id: int):
|
|
169
169
|
task = self._create_task(library_id)
|
|
@@ -49,7 +49,7 @@ class CodexEventHandlerBase(WorkerMixin, FileSystemEventHandler, ABC):
|
|
|
49
49
|
|
|
50
50
|
@staticmethod
|
|
51
51
|
def _match_image_suffix(path: Path) -> bool:
|
|
52
|
-
return
|
|
52
|
+
return bool(path and path.suffix[1:] in _IMAGE_EXTS)
|
|
53
53
|
|
|
54
54
|
@classmethod
|
|
55
55
|
@abstractmethod
|
|
@@ -138,7 +138,7 @@ class UatuObserver(WorkerMixin, BaseObserver):
|
|
|
138
138
|
event_handler, path, event_filter=list(POLLING_EVENT_FILTER), **kwargs
|
|
139
139
|
)
|
|
140
140
|
with self._lock:
|
|
141
|
-
watch = ObservedWatch(path, event_filter=list(EVENT_FILTER), **kwargs)
|
|
141
|
+
watch = ObservedWatch(path, event_filter=list(EVENT_FILTER), **kwargs) # ty: ignore[missing-argument]
|
|
142
142
|
self._add_handler_for_watch(event_handler, watch)
|
|
143
143
|
if self._emitter_for_watch.get(watch) is None:
|
|
144
144
|
self._add_emitter_for_watch(event_handler, watch)
|
|
@@ -156,7 +156,7 @@ class UatuObserver(WorkerMixin, BaseObserver):
|
|
|
156
156
|
# Emitter is my own DatabasePollingEmitter.
|
|
157
157
|
|
|
158
158
|
|
|
159
|
-
class LibraryEventObserver(UatuObserver, Observer): # pyright: ignore[reportGeneralTypeIssues, reportUntypedBaseClass]
|
|
159
|
+
class LibraryEventObserver(UatuObserver, Observer): # pyright: ignore[reportGeneralTypeIssues, reportUntypedBaseClass], # ty: ignore[invalid-base]
|
|
160
160
|
"""Regular observer."""
|
|
161
161
|
|
|
162
162
|
# Observer is a dynamically generated class by platform at runtime.
|
codex/models/admin.py
CHANGED
|
@@ -51,7 +51,7 @@ class LibrarianStatus(BaseModel):
|
|
|
51
51
|
status_type = CharField(
|
|
52
52
|
db_index=True,
|
|
53
53
|
max_length=max_choices_len(CHOICES),
|
|
54
|
-
choices=CHOICES.choices,
|
|
54
|
+
choices=CHOICES.choices, # ty: ignore[unresolved-attribute]
|
|
55
55
|
)
|
|
56
56
|
subtitle = CharField(db_index=True, max_length=MAX_NAME_LEN)
|
|
57
57
|
complete = PositiveSmallIntegerField(null=True, default=None)
|
codex/serializers/admin/tasks.py
CHANGED
|
@@ -10,7 +10,7 @@ from codex.choices.admin import ADMIN_TASK_GROUPS
|
|
|
10
10
|
|
|
11
11
|
_ADMIN_TASK_CHOICES = tuple(
|
|
12
12
|
sorted(
|
|
13
|
-
item["value"] # pyright: ignore[reportArgumentType]
|
|
13
|
+
item["value"] # pyright: ignore[reportArgumentType], #ty: ignore[call-non-callable]
|
|
14
14
|
for group in ADMIN_TASK_GROUPS["tasks"]
|
|
15
15
|
for item in group["tasks"]
|
|
16
16
|
)
|
|
@@ -148,7 +148,7 @@ class BrowserChoicesFilterSerializer(Serializer):
|
|
|
148
148
|
value = serializer_class(choices, many=True).data
|
|
149
149
|
elif not serializer_class and field_name in _LIST_FIELDS:
|
|
150
150
|
field = BrowserSettingsFilterSerializer().get_fields().get(field_name)
|
|
151
|
-
value = field.to_representation(choices) # pyright: ignore[reportOptionalMemberAccess]
|
|
151
|
+
value = field.to_representation(choices) # pyright: ignore[reportOptionalMemberAccess], #ty: ignore[possibly-unbound-attribute]
|
|
152
152
|
else:
|
|
153
153
|
value = BrowserChoicesIntegerPkSerializer(choices, many=True).data
|
|
154
154
|
return value
|
codex/startup/__init__.py
CHANGED
|
@@ -71,9 +71,9 @@ def init_timestamps():
|
|
|
71
71
|
|
|
72
72
|
def init_librarian_statuses():
|
|
73
73
|
"""Init librarian statuses."""
|
|
74
|
-
_delete_orphans(LibrarianStatus, "status_type", LibrarianStatus.CHOICES.values)
|
|
74
|
+
_delete_orphans(LibrarianStatus, "status_type", LibrarianStatus.CHOICES.values) # ty: ignore[possibly-unbound-attribute]
|
|
75
75
|
|
|
76
|
-
for status_type, title in LibrarianStatus.CHOICES.choices:
|
|
76
|
+
for status_type, title in LibrarianStatus.CHOICES.choices: # ty: ignore[possibly-unbound-attribute]
|
|
77
77
|
_, created = LibrarianStatus.objects.update_or_create(
|
|
78
78
|
defaults=STATUS_DEFAULTS, status_type=status_type
|
|
79
79
|
)
|
codex/static_root/assets/{VCheckbox-DWxWEepo.1acd2cc6d629.js → VCheckbox-DUW6_hDa.1ef41a544a92.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{m as I,V as r}from"./VCheckboxBtn-
|
|
1
|
+
import{m as I,V as r}from"./VCheckboxBtn-C-lQiBqA.js";import{u as A,m as F,g as u}from"./VSelectionControl-DnfftqAx.js";import{f as R}from"./forwardRefs-BGipb1NY.js";import{g as B,p as U,e as w,r as D,u as M,o as N,bt as $,bu as j,a as l,m as d}from"./main-693Xq5cv.js";const q=U({...F(),...N(I(),["inline"])},"VCheckbox"),J=B()({name:"VCheckbox",inheritAttrs:!1,props:q(),emits:{"update:modelValue":e=>!0,"update:focused":e=>!0},setup(e,c){let{attrs:n,slots:a}=c;const s=w(e,"modelValue"),{isFocused:i,focus:m,blur:f}=A(e),t=D(),V=$();return M(()=>{const[p,b]=j(n),k=u.filterProps(e),v=r.filterProps(e);return l(u,d({ref:t,class:["v-checkbox",e.class]},p,k,{modelValue:s.value,"onUpdate:modelValue":o=>s.value=o,id:e.id||`checkbox-${V}`,focused:i.value,style:e.style}),{...a,default:o=>{let{id:x,messagesId:h,isDisabled:P,isReadonly:C,isValid:y}=o;return l(r,d(v,{id:x.value,"aria-describedby":h.value,disabled:P.value,readonly:C.value},b,{error:y.value===!1,modelValue:s.value,"onUpdate:modelValue":g=>s.value=g,onFocus:m,onBlur:f}),a)}})}),R({},t)}});export{J as V};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{m as I,V as r}from"./VCheckboxBtn-
|
|
1
|
+
import{m as I,V as r}from"./VCheckboxBtn-C-lQiBqA.js";import{u as A,m as F,g as u}from"./VSelectionControl-DnfftqAx.js";import{f as R}from"./forwardRefs-BGipb1NY.js";import{g as B,p as U,e as w,r as D,u as M,o as N,bt as $,bu as j,a as l,m as d}from"./main-693Xq5cv.js";const q=U({...F(),...N(I(),["inline"])},"VCheckbox"),J=B()({name:"VCheckbox",inheritAttrs:!1,props:q(),emits:{"update:modelValue":e=>!0,"update:focused":e=>!0},setup(e,c){let{attrs:n,slots:a}=c;const s=w(e,"modelValue"),{isFocused:i,focus:m,blur:f}=A(e),t=D(),V=$();return M(()=>{const[p,b]=j(n),k=u.filterProps(e),v=r.filterProps(e);return l(u,d({ref:t,class:["v-checkbox",e.class]},p,k,{modelValue:s.value,"onUpdate:modelValue":o=>s.value=o,id:e.id||`checkbox-${V}`,focused:i.value,style:e.style}),{...a,default:o=>{let{id:x,messagesId:h,isDisabled:P,isReadonly:C,isValid:y}=o;return l(r,d(v,{id:x.value,"aria-describedby":h.value,disabled:P.value,readonly:C.value},b,{error:y.value===!1,modelValue:s.value,"onUpdate:modelValue":g=>s.value=g,onFocus:m,onBlur:f}),a)}})}),R({},t)}});export{J as V};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as f,k as a}from"./VSelectionControl-
|
|
1
|
+
import{l as f,k as a}from"./VSelectionControl-DnfftqAx.js";import{p as V,K as k,g as v,e as c,t as l,u as I,o as x,a as h,m as b}from"./main-693Xq5cv.js";const C=V({indeterminate:Boolean,indeterminateIcon:{type:k,default:"$checkboxIndeterminate"},...f({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),B=v()({name:"VCheckboxBtn",props:C(),emits:{"update:modelValue":e=>!0,"update:indeterminate":e=>!0},setup(e,r){let{slots:s}=r;const t=c(e,"indeterminate"),n=c(e,"modelValue");function u(o){t.value&&(t.value=!1)}const i=l(()=>t.value?e.indeterminateIcon:e.falseIcon),m=l(()=>t.value?e.indeterminateIcon:e.trueIcon);return I(()=>{const o=x(a.filterProps(e),["modelValue"]);return h(a,b(o,{modelValue:n.value,"onUpdate:modelValue":[d=>n.value=d,u],class:["v-checkbox-btn",e.class],style:e.style,type:"checkbox",falseIcon:i.value,trueIcon:m.value,"aria-checked":t.value?"mixed":void 0}),s)}),{}}});export{B as V,C as m};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as f,k as a}from"./VSelectionControl-
|
|
1
|
+
import{l as f,k as a}from"./VSelectionControl-DnfftqAx.js";import{p as V,K as k,g as v,e as c,t as l,u as I,o as x,a as h,m as b}from"./main-693Xq5cv.js";const C=V({indeterminate:Boolean,indeterminateIcon:{type:k,default:"$checkboxIndeterminate"},...f({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),B=v()({name:"VCheckboxBtn",props:C(),emits:{"update:modelValue":e=>!0,"update:indeterminate":e=>!0},setup(e,r){let{slots:s}=r;const t=c(e,"indeterminate"),n=c(e,"modelValue");function u(o){t.value&&(t.value=!1)}const i=l(()=>t.value?e.indeterminateIcon:e.falseIcon),m=l(()=>t.value?e.indeterminateIcon:e.trueIcon);return I(()=>{const o=x(a.filterProps(e),["modelValue"]);return h(a,b(o,{modelValue:n.value,"onUpdate:modelValue":[d=>n.value=d,u],class:["v-checkbox-btn",e.class],style:e.style,type:"checkbox",falseIcon:i.value,trueIcon:m.value,"aria-checked":t.value?"mixed":void 0}),s)}),{}}});export{B as V,C as m};
|
|
Binary file
|
|
Binary file
|
codex/static_root/assets/{VCombobox-B4BO1uO9.eba6114f3e21.js → VCombobox-DN068PcH.e48a063e22c8.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as xe,t as I,e as Ve,m as pe,a as ke,V as Ce,b as we,f as Se,d as Ie}from"./VSelect-
|
|
1
|
+
import{u as xe,t as I,e as Ve,m as pe,a as ke,V as Ce,b as we,f as Se,d as Ie}from"./VSelect-5V0L32ek.js";import{p as Fe,c as j,q as De}from"./VSelectionControl-DnfftqAx.js";import{u as Pe,f as Re,p as Ae,k as W,l as Ee}from"./forwardRefs-BGipb1NY.js";import{u as Te,m as Me,h as _e}from"./filter-CZcRVxSc.js";import{g as Ne,p as Be,aB as Le,r as _,aT as F,e as G,bD as Ke,c as y,aW as z,t as Oe,aU as D,bE as J,u as Ue,a as d,m as k,o as ze,bF as $e,bG as Q,bs as qe,b as C,bH as He,F as $,bI as je,n as We,d as Ge,y as Je}from"./main-693Xq5cv.js";import{a as X,g as Qe}from"./VDialog-CNXFr29h.js";import{a as Xe}from"./VDivider-CMJgJBsn.js";import{V as Ye}from"./VCheckboxBtn-C-lQiBqA.js";const Ze=Be({autoSelectFirst:{type:[Boolean,String]},clearOnSelect:{type:Boolean,default:!0},delimiters:Array,...Me({filterKeys:["title"]}),...pe({hideNoData:!0,returnObject:!0}),...ze(De({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...Ae({transition:!1})},"VCombobox"),sl=Ne()({name:"VCombobox",props:Ze(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:search":e=>!0,"update:menu":e=>!0},setup(e,Y){let{emit:Z,slots:r}=Y;const{t:N}=Le(),m=_(),b=F(!1),x=F(!0),B=F(!1),q=_(),P=_(),o=F(-1);let L=!1;const{items:ee,transformIn:le,transformOut:ae}=xe(e),{textColorClasses:te,textColorStyles:ue}=Pe(()=>m.value?.color),u=G(e,"modelValue",[],l=>le(Ke(l)),l=>{const n=ae(l);return e.multiple?n:n[0]??null}),R=Fe(e),A=y(()=>!!(e.chips||r.chip)),g=y(()=>A.value||!!r.selection),V=F(!e.multiple&&!g.value?u.value[0]?.title??"":""),c=y({get:()=>V.value,set:l=>{if(V.value=l??"",!e.multiple&&!g.value&&(u.value=[I(e,l)],z(()=>P.value?.scrollToIndex(0))),l&&e.multiple&&e.delimiters?.length){const n=l.split(new RegExp(`(?:${e.delimiters.join("|")})+`));n.length>1&&(n.forEach(i=>{i=i.trim(),i&&h(I(e,i))}),V.value="")}l||(o.value=-1),x.value=!l}}),ne=y(()=>typeof e.counterValue=="function"?e.counterValue(u.value):typeof e.counterValue=="number"?e.counterValue:e.multiple?u.value.length:c.value.length),{filteredItems:E,getMatches:oe}=Te(e,ee,()=>x.value?"":c.value),p=y(()=>e.hideSelected?E.value.filter(l=>!u.value.some(n=>n.value===l.value)):E.value),T=y(()=>e.hideNoData&&!p.value.length||R.isReadonly.value||R.isDisabled.value),K=G(e,"menu"),s=y({get:()=>K.value,set:l=>{K.value&&!l&&q.value?.ΨopenChildren.size||l&&T.value||(K.value=l)}}),H=Oe(()=>s.value?e.closeText:e.openText);D(V,l=>{L?z(()=>L=!1):b.value&&!s.value&&(s.value=!0),Z("update:search",l)}),D(u,l=>{!e.multiple&&!g.value&&(V.value=l[0]?.title??"")});const ie=y(()=>u.value.map(l=>l.value)),O=y(()=>(e.autoSelectFirst===!0||e.autoSelectFirst==="exact"&&c.value===p.value[0]?.title)&&p.value.length>0&&!x.value&&!B.value),U=_(),se=Ve(U,m);function re(l){L=!0,e.openOnClear&&(s.value=!0)}function ce(){T.value||(s.value=!0)}function ve(l){T.value||(b.value&&(l.preventDefault(),l.stopPropagation()),s.value=!s.value)}function de(l){(Q(l)||l.key==="Backspace")&&m.value?.focus()}function fe(l){if($e(l)||R.isReadonly.value)return;const n=m.value?.selectionStart,i=u.value.length;if(["Enter","ArrowDown","ArrowUp"].includes(l.key)&&l.preventDefault(),["Enter","ArrowDown"].includes(l.key)&&(s.value=!0),["Escape"].includes(l.key)&&(s.value=!1),["Enter","Escape","Tab"].includes(l.key)&&(O.value&&["Enter","Tab"].includes(l.key)&&!u.value.some(a=>{let{value:t}=a;return t===p.value[0].value})&&h(E.value[0]),x.value=!0),l.key==="ArrowDown"&&O.value&&U.value?.focus("next"),l.key==="Enter"&&c.value&&(h(I(e,c.value)),g.value&&(V.value="")),["Backspace","Delete"].includes(l.key)){if(!e.multiple&&g.value&&u.value.length>0&&!c.value)return h(u.value[0],!1);if(~o.value){l.preventDefault();const a=o.value;h(u.value[o.value],!1),o.value=a>=i-1?i-2:a}else l.key==="Backspace"&&!c.value&&(o.value=i-1);return}if(e.multiple)if(l.key==="ArrowLeft"){if(o.value<0&&n&&n>0)return;const a=o.value>-1?o.value-1:i-1;u.value[a]?o.value=a:(o.value=-1,m.value?.setSelectionRange(c.value.length,c.value.length))}else if(l.key==="ArrowRight"){if(o.value<0)return;const a=o.value+1;u.value[a]?o.value=a:(o.value=-1,m.value?.setSelectionRange(0,0))}else~o.value&&Q(l)&&(o.value=-1)}function me(){e.eager&&P.value?.calculateVisibleItems()}function he(){b.value&&(x.value=!0,m.value?.focus())}function h(l){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(!(!l||l.props.disabled))if(e.multiple){const i=u.value.findIndex(t=>(e.valueComparator||J)(t.value,l.value)),a=n??!~i;if(~i){const t=a?[...u.value,l]:[...u.value];t.splice(i,1),u.value=t}else a&&(u.value=[...u.value,l]);e.clearOnSelect&&(c.value="")}else{const i=n!==!1;u.value=i?[l]:[],V.value=i&&!g.value?l.title:"",z(()=>{s.value=!1,x.value=!0})}}function be(l){b.value=!0,setTimeout(()=>{B.value=!0})}function ge(l){B.value=!1}function ye(l){(l==null||l===""&&!e.multiple&&!g.value)&&(u.value=[])}return D(b,(l,n)=>{if(!(l||l===n)&&(o.value=-1,s.value=!1,c.value)){if(e.multiple){h(I(e,c.value));return}if(!g.value)return;u.value.some(i=>{let{title:a}=i;return a===c.value})?V.value="":h(I(e,c.value))}}),D(s,()=>{if(!e.hideSelected&&s.value&&u.value.length){const l=p.value.findIndex(n=>u.value.some(i=>(e.valueComparator||J)(i.value,n.value)));qe&&window.requestAnimationFrame(()=>{l>=0&&P.value?.scrollToIndex(l)})}}),D(()=>e.items,(l,n)=>{s.value||b.value&&!n.length&&l.length&&(s.value=!0)}),Ue(()=>{const l=!!(!e.hideNoData||p.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),n=u.value.length>0,i=j.filterProps(e);return d(j,k({ref:m},i,{modelValue:c.value,"onUpdate:modelValue":[a=>c.value=a,ye],focused:b.value,"onUpdate:focused":a=>b.value=a,validationValue:u.externalValue,counterValue:ne.value,dirty:n,class:["v-combobox",{"v-combobox--active-menu":s.value,"v-combobox--chips":!!e.chips,"v-combobox--selection-slot":!!g.value,"v-combobox--selecting-index":o.value>-1,[`v-combobox--${e.multiple?"multiple":"single"}`]:!0},e.class],style:e.style,readonly:R.isReadonly.value,placeholder:n?void 0:e.placeholder,"onClick:clear":re,"onMousedown:control":ce,onKeydown:fe}),{...r,default:()=>C($,null,[d(ke,k({ref:q,modelValue:s.value,"onUpdate:modelValue":a=>s.value=a,activator:"parent",contentClass:"v-combobox__content",disabled:T.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterEnter:me,onAfterLeave:he},e.menuProps),{default:()=>[l&&d(Ce,k({ref:U,filterable:!0,selected:ie.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:a=>a.preventDefault(),onKeydown:de,onFocusin:be,onFocusout:ge,tabindex:"-1","aria-live":"polite",color:e.itemColor??e.color},se,e.listProps),{default:()=>[r["prepend-item"]?.(),!p.value.length&&!e.hideNoData&&(r["no-data"]?.()??d(X,{key:"no-data",title:N(e.noDataText)},null)),d(we,{ref:P,renderless:!0,items:p.value,itemKey:"value"},{default:a=>{let{item:t,index:v,itemRef:M}=a;const w=k(t.props,{ref:M,key:t.value,active:O.value&&v===0?!0:void 0,onClick:()=>h(t,null)});return t.type==="divider"?r.divider?.({props:t.raw,index:v})??d(Xe,k(t.props,{key:`divider-${v}`}),null):t.type==="subheader"?r.subheader?.({props:t.raw,index:v})??d(Se,k(t.props,{key:`subheader-${v}`}),null):r.item?.({item:t,index:v,props:w})??d(X,k(w,{role:"option"}),{prepend:S=>{let{isSelected:f}=S;return C($,null,[e.multiple&&!e.hideSelected?d(Ye,{key:t.value,modelValue:f,ripple:!1,tabindex:"-1"},null):void 0,t.props.prependAvatar&&d(Qe,{image:t.props.prependAvatar},null),t.props.prependIcon&&d(W,{icon:t.props.prependIcon},null)])},title:()=>x.value?t.title:_e("v-combobox",t.title,oe(t)?.title)})}}),r["append-item"]?.()]})]}),u.value.map((a,t)=>{function v(f){f.stopPropagation(),f.preventDefault(),h(a,!1)}const M={"onClick:close":v,onKeydown(f){f.key!=="Enter"&&f.key!==" "||(f.preventDefault(),f.stopPropagation(),v(f))},onMousedown(f){f.preventDefault(),f.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},w=A.value?!!r.chip:!!r.selection,S=w?je(A.value?r.chip({item:a,index:t,props:M}):r.selection({item:a,index:t})):void 0;if(!(w&&!S))return C("div",{key:a.value,class:Ge(["v-combobox__selection",t===o.value&&["v-combobox__selection--selected",te.value]]),style:We(t===o.value?ue.value:{})},[A.value?r.chip?d(Ee,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:a.title}}},{default:()=>[S]}):d(Ie,k({key:"chip",closable:e.closableChips,size:"small",text:a.title,disabled:a.props.disabled},M),null):S??C("span",{class:"v-combobox__selection-text"},[a.title,e.multiple&&t<u.value.length-1&&C("span",{class:"v-combobox__selection-comma"},[Je(",")])])])})]),"append-inner":function(){for(var a=arguments.length,t=new Array(a),v=0;v<a;v++)t[v]=arguments[v];return C($,null,[r["append-inner"]?.(...t),(!e.hideNoData||e.items.length)&&e.menuIcon?d(W,{class:"v-combobox__menu-icon",color:m.value?.fieldIconColor,icon:e.menuIcon,onMousedown:ve,onClick:He,"aria-label":N(H.value),title:N(H.value),tabindex:"-1"},null):void 0])}})}),Re({isFocused:b,isPristine:x,menu:s,search:c,selectionIndex:o,filteredItems:E,select:h},m)}});export{sl as V};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as xe,t as I,e as Ve,m as pe,a as ke,V as Ce,b as we,f as Se,d as Ie}from"./VSelect-
|
|
1
|
+
import{u as xe,t as I,e as Ve,m as pe,a as ke,V as Ce,b as we,f as Se,d as Ie}from"./VSelect-5V0L32ek.js";import{p as Fe,c as j,q as De}from"./VSelectionControl-DnfftqAx.js";import{u as Pe,f as Re,p as Ae,k as W,l as Ee}from"./forwardRefs-BGipb1NY.js";import{u as Te,m as Me,h as _e}from"./filter-CZcRVxSc.js";import{g as Ne,p as Be,aB as Le,r as _,aT as F,e as G,bD as Ke,c as y,aW as z,t as Oe,aU as D,bE as J,u as Ue,a as d,m as k,o as ze,bF as $e,bG as Q,bs as qe,b as C,bH as He,F as $,bI as je,n as We,d as Ge,y as Je}from"./main-693Xq5cv.js";import{a as X,g as Qe}from"./VDialog-CNXFr29h.js";import{a as Xe}from"./VDivider-CMJgJBsn.js";import{V as Ye}from"./VCheckboxBtn-C-lQiBqA.js";const Ze=Be({autoSelectFirst:{type:[Boolean,String]},clearOnSelect:{type:Boolean,default:!0},delimiters:Array,...Me({filterKeys:["title"]}),...pe({hideNoData:!0,returnObject:!0}),...ze(De({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...Ae({transition:!1})},"VCombobox"),sl=Ne()({name:"VCombobox",props:Ze(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:search":e=>!0,"update:menu":e=>!0},setup(e,Y){let{emit:Z,slots:r}=Y;const{t:N}=Le(),m=_(),b=F(!1),x=F(!0),B=F(!1),q=_(),P=_(),o=F(-1);let L=!1;const{items:ee,transformIn:le,transformOut:ae}=xe(e),{textColorClasses:te,textColorStyles:ue}=Pe(()=>m.value?.color),u=G(e,"modelValue",[],l=>le(Ke(l)),l=>{const n=ae(l);return e.multiple?n:n[0]??null}),R=Fe(e),A=y(()=>!!(e.chips||r.chip)),g=y(()=>A.value||!!r.selection),V=F(!e.multiple&&!g.value?u.value[0]?.title??"":""),c=y({get:()=>V.value,set:l=>{if(V.value=l??"",!e.multiple&&!g.value&&(u.value=[I(e,l)],z(()=>P.value?.scrollToIndex(0))),l&&e.multiple&&e.delimiters?.length){const n=l.split(new RegExp(`(?:${e.delimiters.join("|")})+`));n.length>1&&(n.forEach(i=>{i=i.trim(),i&&h(I(e,i))}),V.value="")}l||(o.value=-1),x.value=!l}}),ne=y(()=>typeof e.counterValue=="function"?e.counterValue(u.value):typeof e.counterValue=="number"?e.counterValue:e.multiple?u.value.length:c.value.length),{filteredItems:E,getMatches:oe}=Te(e,ee,()=>x.value?"":c.value),p=y(()=>e.hideSelected?E.value.filter(l=>!u.value.some(n=>n.value===l.value)):E.value),T=y(()=>e.hideNoData&&!p.value.length||R.isReadonly.value||R.isDisabled.value),K=G(e,"menu"),s=y({get:()=>K.value,set:l=>{K.value&&!l&&q.value?.ΨopenChildren.size||l&&T.value||(K.value=l)}}),H=Oe(()=>s.value?e.closeText:e.openText);D(V,l=>{L?z(()=>L=!1):b.value&&!s.value&&(s.value=!0),Z("update:search",l)}),D(u,l=>{!e.multiple&&!g.value&&(V.value=l[0]?.title??"")});const ie=y(()=>u.value.map(l=>l.value)),O=y(()=>(e.autoSelectFirst===!0||e.autoSelectFirst==="exact"&&c.value===p.value[0]?.title)&&p.value.length>0&&!x.value&&!B.value),U=_(),se=Ve(U,m);function re(l){L=!0,e.openOnClear&&(s.value=!0)}function ce(){T.value||(s.value=!0)}function ve(l){T.value||(b.value&&(l.preventDefault(),l.stopPropagation()),s.value=!s.value)}function de(l){(Q(l)||l.key==="Backspace")&&m.value?.focus()}function fe(l){if($e(l)||R.isReadonly.value)return;const n=m.value?.selectionStart,i=u.value.length;if(["Enter","ArrowDown","ArrowUp"].includes(l.key)&&l.preventDefault(),["Enter","ArrowDown"].includes(l.key)&&(s.value=!0),["Escape"].includes(l.key)&&(s.value=!1),["Enter","Escape","Tab"].includes(l.key)&&(O.value&&["Enter","Tab"].includes(l.key)&&!u.value.some(a=>{let{value:t}=a;return t===p.value[0].value})&&h(E.value[0]),x.value=!0),l.key==="ArrowDown"&&O.value&&U.value?.focus("next"),l.key==="Enter"&&c.value&&(h(I(e,c.value)),g.value&&(V.value="")),["Backspace","Delete"].includes(l.key)){if(!e.multiple&&g.value&&u.value.length>0&&!c.value)return h(u.value[0],!1);if(~o.value){l.preventDefault();const a=o.value;h(u.value[o.value],!1),o.value=a>=i-1?i-2:a}else l.key==="Backspace"&&!c.value&&(o.value=i-1);return}if(e.multiple)if(l.key==="ArrowLeft"){if(o.value<0&&n&&n>0)return;const a=o.value>-1?o.value-1:i-1;u.value[a]?o.value=a:(o.value=-1,m.value?.setSelectionRange(c.value.length,c.value.length))}else if(l.key==="ArrowRight"){if(o.value<0)return;const a=o.value+1;u.value[a]?o.value=a:(o.value=-1,m.value?.setSelectionRange(0,0))}else~o.value&&Q(l)&&(o.value=-1)}function me(){e.eager&&P.value?.calculateVisibleItems()}function he(){b.value&&(x.value=!0,m.value?.focus())}function h(l){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(!(!l||l.props.disabled))if(e.multiple){const i=u.value.findIndex(t=>(e.valueComparator||J)(t.value,l.value)),a=n??!~i;if(~i){const t=a?[...u.value,l]:[...u.value];t.splice(i,1),u.value=t}else a&&(u.value=[...u.value,l]);e.clearOnSelect&&(c.value="")}else{const i=n!==!1;u.value=i?[l]:[],V.value=i&&!g.value?l.title:"",z(()=>{s.value=!1,x.value=!0})}}function be(l){b.value=!0,setTimeout(()=>{B.value=!0})}function ge(l){B.value=!1}function ye(l){(l==null||l===""&&!e.multiple&&!g.value)&&(u.value=[])}return D(b,(l,n)=>{if(!(l||l===n)&&(o.value=-1,s.value=!1,c.value)){if(e.multiple){h(I(e,c.value));return}if(!g.value)return;u.value.some(i=>{let{title:a}=i;return a===c.value})?V.value="":h(I(e,c.value))}}),D(s,()=>{if(!e.hideSelected&&s.value&&u.value.length){const l=p.value.findIndex(n=>u.value.some(i=>(e.valueComparator||J)(i.value,n.value)));qe&&window.requestAnimationFrame(()=>{l>=0&&P.value?.scrollToIndex(l)})}}),D(()=>e.items,(l,n)=>{s.value||b.value&&!n.length&&l.length&&(s.value=!0)}),Ue(()=>{const l=!!(!e.hideNoData||p.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),n=u.value.length>0,i=j.filterProps(e);return d(j,k({ref:m},i,{modelValue:c.value,"onUpdate:modelValue":[a=>c.value=a,ye],focused:b.value,"onUpdate:focused":a=>b.value=a,validationValue:u.externalValue,counterValue:ne.value,dirty:n,class:["v-combobox",{"v-combobox--active-menu":s.value,"v-combobox--chips":!!e.chips,"v-combobox--selection-slot":!!g.value,"v-combobox--selecting-index":o.value>-1,[`v-combobox--${e.multiple?"multiple":"single"}`]:!0},e.class],style:e.style,readonly:R.isReadonly.value,placeholder:n?void 0:e.placeholder,"onClick:clear":re,"onMousedown:control":ce,onKeydown:fe}),{...r,default:()=>C($,null,[d(ke,k({ref:q,modelValue:s.value,"onUpdate:modelValue":a=>s.value=a,activator:"parent",contentClass:"v-combobox__content",disabled:T.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterEnter:me,onAfterLeave:he},e.menuProps),{default:()=>[l&&d(Ce,k({ref:U,filterable:!0,selected:ie.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:a=>a.preventDefault(),onKeydown:de,onFocusin:be,onFocusout:ge,tabindex:"-1","aria-live":"polite",color:e.itemColor??e.color},se,e.listProps),{default:()=>[r["prepend-item"]?.(),!p.value.length&&!e.hideNoData&&(r["no-data"]?.()??d(X,{key:"no-data",title:N(e.noDataText)},null)),d(we,{ref:P,renderless:!0,items:p.value,itemKey:"value"},{default:a=>{let{item:t,index:v,itemRef:M}=a;const w=k(t.props,{ref:M,key:t.value,active:O.value&&v===0?!0:void 0,onClick:()=>h(t,null)});return t.type==="divider"?r.divider?.({props:t.raw,index:v})??d(Xe,k(t.props,{key:`divider-${v}`}),null):t.type==="subheader"?r.subheader?.({props:t.raw,index:v})??d(Se,k(t.props,{key:`subheader-${v}`}),null):r.item?.({item:t,index:v,props:w})??d(X,k(w,{role:"option"}),{prepend:S=>{let{isSelected:f}=S;return C($,null,[e.multiple&&!e.hideSelected?d(Ye,{key:t.value,modelValue:f,ripple:!1,tabindex:"-1"},null):void 0,t.props.prependAvatar&&d(Qe,{image:t.props.prependAvatar},null),t.props.prependIcon&&d(W,{icon:t.props.prependIcon},null)])},title:()=>x.value?t.title:_e("v-combobox",t.title,oe(t)?.title)})}}),r["append-item"]?.()]})]}),u.value.map((a,t)=>{function v(f){f.stopPropagation(),f.preventDefault(),h(a,!1)}const M={"onClick:close":v,onKeydown(f){f.key!=="Enter"&&f.key!==" "||(f.preventDefault(),f.stopPropagation(),v(f))},onMousedown(f){f.preventDefault(),f.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},w=A.value?!!r.chip:!!r.selection,S=w?je(A.value?r.chip({item:a,index:t,props:M}):r.selection({item:a,index:t})):void 0;if(!(w&&!S))return C("div",{key:a.value,class:Ge(["v-combobox__selection",t===o.value&&["v-combobox__selection--selected",te.value]]),style:We(t===o.value?ue.value:{})},[A.value?r.chip?d(Ee,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:a.title}}},{default:()=>[S]}):d(Ie,k({key:"chip",closable:e.closableChips,size:"small",text:a.title,disabled:a.props.disabled},M),null):S??C("span",{class:"v-combobox__selection-text"},[a.title,e.multiple&&t<u.value.length-1&&C("span",{class:"v-combobox__selection-comma"},[Je(",")])])])})]),"append-inner":function(){for(var a=arguments.length,t=new Array(a),v=0;v<a;v++)t[v]=arguments[v];return C($,null,[r["append-inner"]?.(...t),(!e.hideNoData||e.items.length)&&e.menuIcon?d(W,{class:"v-combobox__menu-icon",color:m.value?.fieldIconColor,icon:e.menuIcon,onMousedown:ve,onClick:He,"aria-label":N(H.value),title:N(H.value),tabindex:"-1"},null):void 0])}})}),Re({isFocused:b,isPristine:x,menu:s,search:c,selectionIndex:o,filteredItems:E,select:h},m)}});export{sl as V};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{bL as xt,ck as Ct,g as Q,J as ae,bR as rn,ca as sn,cb as cn,p as D,a as k,m as j,bq as Te,u as le,b as _,n as be,d as ie,c as P,bP as re,aT as F,r as I,aU as N,ce as $e,cl as un,aW as me,bl as ye,t as q,S as we,h as G,F as ke,aQ as Ot,i as se,aV as he,bD as pt,cm as z,cn as Ee,e as fe,az as He,aA as je,K as Ie,bV as tt,co as dn,A as Re,_ as _t,x as vn,v as Vt,q as fn,w as nt,y as at,bs as te,bf as We,cp as gn,bm as mn,bn as Z,bE as lt,b7 as ot,bi as qe,cq as Lt,cr as yn,cs as it,c6 as hn,bo as Sn,bk as bn,ct as Bt,bp as wn,aC as kn,cu as En,c2 as An}from"./main-693Xq5cv.js";import{a as de,P as Pn,s as Me,Q as xn,S as Tt,O as It,o as Ue,q as Ge,I as rt,c as Rt,i as Ke,p as Mt,j as Ye,M as ve,d as Xe,r as Ft,x as Nt,b as zt,K as Cn,N as Dt,k as Fe,l as Ae,B as $t,G as On,e as Ht,w as jt,R as st,g as pn,t as _n,h as Vn,v as Ln,V as ct,T as ut,U as Oe,W as pe,X as dt,Y as _e,Z as Bn,_ as vt,$ as ft,C as Tn,a0 as In,f as Rn}from"./forwardRefs-BGipb1NY.js";const Se=new WeakMap;function Mn(e,n){Object.keys(n).forEach(a=>{if(xt(a)){const t=Ct(a),l=Se.get(e);if(n[a]==null)l?.forEach(o=>{const[i,r]=o;i===t&&(e.removeEventListener(t,r),l.delete(o))});else if(!l||![...l].some(o=>o[0]===t&&o[1]===n[a])){e.addEventListener(t,n[a]);const o=l||new Set;o.add([t,n[a]]),Se.has(e)||Se.set(e,o)}}else n[a]==null?e.removeAttribute(a):e.setAttribute(a,n[a])})}function Fn(e,n){Object.keys(n).forEach(a=>{if(xt(a)){const t=Ct(a),l=Se.get(e);l?.forEach(o=>{const[i,r]=o;i===t&&(e.removeEventListener(t,r),l.delete(o))})}else e.removeAttribute(a)})}function Nn(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",a=arguments.length>2?arguments[2]:void 0;return Q()({name:a??rn(cn(e.replace(/__/g,"-"))),props:{tag:{type:String,default:n},...ae()},setup(t,l){let{slots:o}=l;return()=>sn(t.tag,{class:[e,t.class],style:t.style},o.default?.())}})}function Wt(e){if(typeof e.getRootNode!="function"){for(;e.parentNode;)e=e.parentNode;return e!==document?null:document}const n=e.getRootNode();return n!==document&&n.getRootNode({composed:!0})!==document?null:n}function zn(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;e;){if(n?Dn(e):Qe(e))return e;e=e.parentElement}return document.scrollingElement}function Pe(e,n){const a=[];if(n&&e&&!n.contains(e))return a;for(;e&&(Qe(e)&&a.push(e),e!==n);)e=e.parentElement;return a}function Qe(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const n=window.getComputedStyle(e);return n.overflowY==="scroll"||n.overflowY==="auto"&&e.scrollHeight>e.clientHeight}function Dn(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const n=window.getComputedStyle(e);return["scroll","auto"].includes(n.overflowY)}function $n(e){for(;e;){if(window.getComputedStyle(e).position==="fixed")return!0;e=e.offsetParent}return!1}const Hn=D({target:[Object,Array]},"v-dialog-transition"),Ve=new WeakMap,jn=Q()({name:"VDialogTransition",props:Hn(),setup(e,n){let{slots:a}=n;const t={onBeforeEnter(l){l.style.pointerEvents="none",l.style.visibility="hidden"},async onEnter(l,o){await new Promise(f=>requestAnimationFrame(f)),await new Promise(f=>requestAnimationFrame(f)),l.style.visibility="";const i=mt(e.target,l),{x:r,y:u,sx:v,sy:s,speed:y}=i;Ve.set(l,i);const S=de(l,[{transform:`translate(${r}px, ${u}px) scale(${v}, ${s})`,opacity:0},{}],{duration:225*y,easing:xn});gt(l)?.forEach(f=>{de(f,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*y,easing:Me})}),S.finished.then(()=>o())},onAfterEnter(l){l.style.removeProperty("pointer-events")},onBeforeLeave(l){l.style.pointerEvents="none"},async onLeave(l,o){await new Promise(f=>requestAnimationFrame(f));let i;!Ve.has(l)||Array.isArray(e.target)||e.target.offsetParent||e.target.getClientRects().length?i=mt(e.target,l):i=Ve.get(l);const{x:r,y:u,sx:v,sy:s,speed:y}=i;de(l,[{},{transform:`translate(${r}px, ${u}px) scale(${v}, ${s})`,opacity:0}],{duration:125*y,easing:Pn}).finished.then(()=>o()),gt(l)?.forEach(f=>{de(f,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*y,easing:Me})})},onAfterLeave(l){l.style.removeProperty("pointer-events")}};return()=>e.target?k(Te,j({name:"dialog-transition"},t,{css:!1}),a):k(Te,{name:"dialog-transition"},a)}});function gt(e){const n=e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list")?.children;return n&&[...n]}function mt(e,n){const a=Tt(e),t=It(n),[l,o]=getComputedStyle(n).transformOrigin.split(" ").map(d=>parseFloat(d)),[i,r]=getComputedStyle(n).getPropertyValue("--v-overlay-anchor-origin").split(" ");let u=a.left+a.width/2;i==="left"||r==="left"?u-=a.width/2:(i==="right"||r==="right")&&(u+=a.width/2);let v=a.top+a.height/2;i==="top"||r==="top"?v-=a.height/2:(i==="bottom"||r==="bottom")&&(v+=a.height/2);const s=a.width/t.width,y=a.height/t.height,S=Math.max(1,s,y),f=s/S||0,b=y/S||0,c=t.width*t.height/(window.innerWidth*window.innerHeight),h=c>.12?Math.min(1.5,(c-.12)*10+1):1;return{x:u-(l+t.left),y:v-(o+t.top),sx:f,sy:b,speed:h}}function Wn(e){return{aspectStyles:P(()=>{const n=Number(e.aspectRatio);return n?{paddingBottom:String(1/n*100)+"%"}:void 0})}}const qt=D({aspectRatio:[String,Number],contentClass:null,inline:Boolean,...ae(),...Ge()},"VResponsive"),yt=Q()({name:"VResponsive",props:qt(),setup(e,n){let{slots:a}=n;const{aspectStyles:t}=Wn(e),{dimensionStyles:l}=Ue(e);return le(()=>_("div",{class:ie(["v-responsive",{"v-responsive--inline":e.inline},e.class]),style:be([l.value,e.style])},[_("div",{class:"v-responsive__sizer",style:be(t.value)},null),a.additional?.(),a.default&&_("div",{class:ie(["v-responsive__content",e.contentClass])},[a.default()])])),{}}}),qn=D({absolute:Boolean,alt:String,cover:Boolean,color:String,draggable:{type:[Boolean,String],default:void 0},eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},crossorigin:String,referrerpolicy:String,srcset:String,position:String,...qt(),...ae(),...Ye(),...Mt()},"VImg"),Un=Q()({name:"VImg",directives:{vIntersect:rt},props:qn(),emits:{loadstart:e=>!0,load:e=>!0,error:e=>!0},setup(e,n){let{emit:a,slots:t}=n;const{backgroundColorClasses:l,backgroundColorStyles:o}=Rt(()=>e.color),{roundedClasses:i}=Ke(e),r=re("VImg"),u=F(""),v=I(),s=F(e.eager?"loading":"idle"),y=F(),S=F(),f=P(()=>e.src&&typeof e.src=="object"?{src:e.src.src,srcset:e.srcset||e.src.srcset,lazySrc:e.lazySrc||e.src.lazySrc,aspect:Number(e.aspectRatio||e.src.aspect||0)}:{src:e.src,srcset:e.srcset,lazySrc:e.lazySrc,aspect:Number(e.aspectRatio||0)}),b=P(()=>f.value.aspect||y.value/S.value||0);N(()=>e.src,()=>{c(s.value!=="idle")}),N(b,(C,A)=>{!C&&A&&v.value&&x(v.value)}),$e(()=>c());function c(C){if(!(e.eager&&C)&&!(un&&!C&&!e.eager)){if(s.value="loading",f.value.lazySrc){const A=new Image;A.src=f.value.lazySrc,x(A,null)}f.value.src&&me(()=>{a("loadstart",v.value?.currentSrc||f.value.src),setTimeout(()=>{if(!r.isUnmounted)if(v.value?.complete){if(v.value.naturalWidth||d(),s.value==="error")return;b.value||x(v.value,null),s.value==="loading"&&h()}else b.value||x(v.value),g()})})}}function h(){r.isUnmounted||(g(),x(v.value),s.value="loaded",a("load",v.value?.currentSrc||f.value.src))}function d(){r.isUnmounted||(s.value="error",a("error",v.value?.currentSrc||f.value.src))}function g(){const C=v.value;C&&(u.value=C.currentSrc||C.src)}let E=-1;ye(()=>{clearTimeout(E)});function x(C){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const L=()=>{if(clearTimeout(E),r.isUnmounted)return;const{naturalHeight:w,naturalWidth:B}=C;w||B?(y.value=B,S.value=w):!C.complete&&s.value==="loading"&&A!=null?E=window.setTimeout(L,A):(C.currentSrc.endsWith(".svg")||C.currentSrc.startsWith("data:image/svg+xml"))&&(y.value=1,S.value=1)};L()}const p=q(()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover})),V=()=>{if(!f.value.src||s.value==="idle")return null;const C=_("img",{class:ie(["v-img__img",p.value]),style:{objectPosition:e.position},crossorigin:e.crossorigin,src:f.value.src,srcset:f.value.srcset,alt:e.alt,referrerpolicy:e.referrerpolicy,draggable:e.draggable,sizes:e.sizes,ref:v,onLoad:h,onError:d},null),A=t.sources?.();return k(ve,{transition:e.transition,appear:!0},{default:()=>[we(A?_("picture",{class:"v-img__picture"},[A,C]):C,[[Ot,s.value==="loaded"]])]})},R=()=>k(ve,{transition:e.transition},{default:()=>[f.value.lazySrc&&s.value!=="loaded"&&_("img",{class:ie(["v-img__img","v-img__img--preload",p.value]),style:{objectPosition:e.position},crossorigin:e.crossorigin,src:f.value.lazySrc,alt:e.alt,referrerpolicy:e.referrerpolicy,draggable:e.draggable},null)]}),m=()=>t.placeholder?k(ve,{transition:e.transition,appear:!0},{default:()=>[(s.value==="loading"||s.value==="error"&&!t.error)&&_("div",{class:"v-img__placeholder"},[t.placeholder()])]}):null,$=()=>t.error?k(ve,{transition:e.transition,appear:!0},{default:()=>[s.value==="error"&&_("div",{class:"v-img__error"},[t.error()])]}):null,U=()=>e.gradient?_("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${e.gradient})`}},null):null,J=F(!1);{const C=N(b,A=>{A&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{J.value=!0})}),C())})}return le(()=>{const C=yt.filterProps(e);return we(k(yt,j({class:["v-img",{"v-img--absolute":e.absolute,"v-img--booting":!J.value},l.value,i.value,e.class],style:[{width:G(e.width==="auto"?y.value:e.width)},o.value,e.style]},C,{aspectRatio:b.value,"aria-label":e.alt,role:e.alt?"img":void 0}),{additional:()=>_(ke,null,[k(V,null,null),k(R,null,null),k(U,null,null),k(m,null,null),k($,null,null)]),default:t.default}),[[rt,{handler:c,options:e.options},null,{once:!0}]])}),{currentSrc:u,image:v,state:s,naturalWidth:y,naturalHeight:S}}}),Gn=D({eager:Boolean},"lazy");function Kn(e,n){const a=F(!1),t=q(()=>a.value||e.eager||n.value);N(n,()=>a.value=!0);function l(){e.eager||(a.value=!1)}return{isBooted:a,hasContent:t,onAfterLeave:l}}function Ut(){const n=re("useScopeId").vnode.scopeId;return{scopeId:n?{[n]:""}:void 0}}const Ne=Symbol.for("vuetify:list");function Ha(){let{filterable:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{filterable:!1};const n=se(Ne,{filterable:!1,hasPrepend:F(!1),updateHasPrepend:()=>null}),a={filterable:n.filterable||e,hasPrepend:F(!1),updateHasPrepend:t=>{t&&(a.hasPrepend.value=t)}};return he(Ne,a),n}function Yn(){return se(Ne,null)}const Ze=e=>{const n={activate:a=>{let{id:t,value:l,activated:o}=a;return t=z(t),e&&!l&&o.size===1&&o.has(t)||(l?o.add(t):o.delete(t)),o},in:(a,t,l)=>{let o=new Set;if(a!=null)for(const i of pt(a))o=n.activate({id:i,value:!0,activated:new Set(o),children:t,parents:l});return o},out:a=>Array.from(a)};return n},Gt=e=>{const n=Ze(e);return{activate:t=>{let{activated:l,id:o,...i}=t;o=z(o);const r=l.has(o)?new Set([o]):new Set;return n.activate({...i,id:o,activated:r})},in:(t,l,o)=>{let i=new Set;if(t!=null){const r=pt(t);r.length&&(i=n.in(r.slice(0,1),l,o))}return i},out:(t,l,o)=>n.out(t,l,o)}},Xn=e=>{const n=Ze(e);return{activate:t=>{let{id:l,activated:o,children:i,...r}=t;return l=z(l),i.has(l)?o:n.activate({id:l,activated:o,children:i,...r})},in:n.in,out:n.out}},Qn=e=>{const n=Gt(e);return{activate:t=>{let{id:l,activated:o,children:i,...r}=t;return l=z(l),i.has(l)?o:n.activate({id:l,activated:o,children:i,...r})},in:n.in,out:n.out}},Zn={open:e=>{let{id:n,value:a,opened:t,parents:l}=e;if(a){const o=new Set;o.add(n);let i=l.get(n);for(;i!=null;)o.add(i),i=l.get(i);return o}else return t.delete(n),t},select:()=>null},Kt={open:e=>{let{id:n,value:a,opened:t,parents:l}=e;if(a){let o=l.get(n);for(t.add(n);o!=null&&o!==n;)t.add(o),o=l.get(o);return t}else t.delete(n);return t},select:()=>null},Jn={open:Kt.open,select:e=>{let{id:n,value:a,opened:t,parents:l}=e;if(!a)return t;const o=[];let i=l.get(n);for(;i!=null;)o.push(i),i=l.get(i);return new Set(o)}},Je=e=>{const n={select:a=>{let{id:t,value:l,selected:o}=a;if(t=z(t),e&&!l){const i=Array.from(o.entries()).reduce((r,u)=>{let[v,s]=u;return s==="on"&&r.push(v),r},[]);if(i.length===1&&i[0]===t)return o}return o.set(t,l?"on":"off"),o},in:(a,t,l,o)=>{const i=new Map;for(const r of a||[])n.select({id:r,value:!0,selected:i,children:t,parents:l,disabled:o});return i},out:a=>{const t=[];for(const[l,o]of a.entries())o==="on"&&t.push(l);return t}};return n},Yt=e=>{const n=Je(e);return{select:t=>{let{selected:l,id:o,...i}=t;o=z(o);const r=l.has(o)?new Map([[o,l.get(o)]]):new Map;return n.select({...i,id:o,selected:r})},in:(t,l,o,i)=>t?.length?n.in(t.slice(0,1),l,o,i):new Map,out:(t,l,o)=>n.out(t,l,o)}},ea=e=>{const n=Je(e);return{select:t=>{let{id:l,selected:o,children:i,...r}=t;return l=z(l),i.has(l)?o:n.select({id:l,selected:o,children:i,...r})},in:n.in,out:n.out}},ta=e=>{const n=Yt(e);return{select:t=>{let{id:l,selected:o,children:i,...r}=t;return l=z(l),i.has(l)?o:n.select({id:l,selected:o,children:i,...r})},in:n.in,out:n.out}},Xt=e=>{const n={select:a=>{let{id:t,value:l,selected:o,children:i,parents:r,disabled:u}=a;t=z(t);const v=new Map(o),s=[t];for(;s.length;){const S=s.shift();u.has(S)||o.set(z(S),l?"on":"off"),i.has(S)&&s.push(...i.get(S))}let y=z(r.get(t));for(;y;){let S=!0,f=!0;for(const b of i.get(y)){const c=z(b);if(!u.has(c)&&(o.get(c)!=="on"&&(S=!1),o.has(c)&&o.get(c)!=="off"&&(f=!1),!S&&!f))break}o.set(y,S?"on":f?"off":"indeterminate"),y=z(r.get(y))}return e&&!l&&Array.from(o.entries()).reduce((f,b)=>{let[c,h]=b;return h==="on"&&f.push(c),f},[]).length===0?v:o},in:(a,t,l,o)=>{let i=new Map;for(const r of a||[])i=n.select({id:r,value:!0,selected:i,children:t,parents:l,disabled:o});return i},out:(a,t)=>{const l=[];for(const[o,i]of a.entries())i==="on"&&!t.has(o)&&l.push(o);return l}};return n},na=e=>{const n=Xt(e);return{select:n.select,in:n.in,out:(t,l,o)=>{const i=[];for(const[r,u]of t.entries())if(u==="on"){if(o.has(r)){const v=o.get(r);if(t.get(v)==="on")continue}i.push(r)}return i}}},ge=Symbol.for("vuetify:nested"),Qt={id:F(),root:{register:()=>null,unregister:()=>null,children:I(new Map),parents:I(new Map),disabled:I(new Set),open:()=>null,openOnSelect:()=>null,activate:()=>null,select:()=>null,activatable:I(!1),selectable:I(!1),opened:I(new Set),activated:I(new Set),selected:I(new Map),selectedValues:I([]),getPath:()=>[]}},ja=D({activatable:Boolean,selectable:Boolean,activeStrategy:[String,Function,Object],selectStrategy:[String,Function,Object],openStrategy:[String,Object],opened:null,activated:null,selected:null,mandatory:Boolean},"nested"),Wa=e=>{let n=!1;const a=F(new Map),t=F(new Map),l=F(new Set),o=fe(e,"opened",e.opened,c=>new Set(Array.isArray(c)?c.map(h=>z(h)):c),c=>[...c.values()]),i=P(()=>{if(typeof e.activeStrategy=="object")return e.activeStrategy;if(typeof e.activeStrategy=="function")return e.activeStrategy(e.mandatory);switch(e.activeStrategy){case"leaf":return Xn(e.mandatory);case"single-leaf":return Qn(e.mandatory);case"independent":return Ze(e.mandatory);case"single-independent":default:return Gt(e.mandatory)}}),r=P(()=>{if(typeof e.selectStrategy=="object")return e.selectStrategy;if(typeof e.selectStrategy=="function")return e.selectStrategy(e.mandatory);switch(e.selectStrategy){case"single-leaf":return ta(e.mandatory);case"leaf":return ea(e.mandatory);case"independent":return Je(e.mandatory);case"single-independent":return Yt(e.mandatory);case"trunk":return na(e.mandatory);case"classic":default:return Xt(e.mandatory)}}),u=P(()=>{if(typeof e.openStrategy=="object")return e.openStrategy;switch(e.openStrategy){case"list":return Jn;case"single":return Zn;case"multiple":default:return Kt}}),v=fe(e,"activated",e.activated,c=>i.value.in(c,a.value,t.value),c=>i.value.out(c,a.value,t.value)),s=fe(e,"selected",e.selected,c=>r.value.in(c,a.value,t.value,l.value),c=>r.value.out(c,a.value,t.value));ye(()=>{n=!0});function y(c){const h=[];let d=z(c);for(;d!=null;)h.unshift(d),d=t.value.get(d);return h}const S=re("nested"),f=new Set,b={id:F(),root:{opened:o,activatable:q(()=>e.activatable),selectable:q(()=>e.selectable),activated:v,selected:s,selectedValues:P(()=>{const c=[];for(const[h,d]of s.value.entries())d==="on"&&c.push(h);return c}),register:(c,h,d,g)=>{if(f.has(c)){y(c).map(String).join(" -> "),y(h).concat(c).map(String).join(" -> ");return}else f.add(c);h&&c!==h&&t.value.set(c,h),d&&l.value.add(c),g&&a.value.set(c,[]),h!=null&&a.value.set(h,[...a.value.get(h)||[],c])},unregister:c=>{if(n)return;f.delete(c),a.value.delete(c),l.value.delete(c);const h=t.value.get(c);if(h){const d=a.value.get(h)??[];a.value.set(h,d.filter(g=>g!==c))}t.value.delete(c)},open:(c,h,d)=>{S.emit("click:open",{id:c,value:h,path:y(c),event:d});const g=u.value.open({id:c,value:h,opened:new Set(o.value),children:a.value,parents:t.value,event:d});g&&(o.value=g)},openOnSelect:(c,h,d)=>{const g=u.value.select({id:c,value:h,selected:new Map(s.value),opened:new Set(o.value),children:a.value,parents:t.value,event:d});g&&(o.value=g)},select:(c,h,d)=>{S.emit("click:select",{id:c,value:h,path:y(c),event:d});const g=r.value.select({id:c,value:h,selected:new Map(s.value),children:a.value,parents:t.value,disabled:l.value,event:d});g&&(s.value=g),b.root.openOnSelect(c,h,d)},activate:(c,h,d)=>{if(!e.activatable)return b.root.select(c,!0,d);S.emit("click:activate",{id:c,value:h,path:y(c),event:d});const g=i.value.activate({id:c,value:h,activated:new Set(v.value),children:a.value,parents:t.value,event:d});if(g.size!==v.value.size)v.value=g;else{for(const E of g)if(!v.value.has(E)){v.value=g;return}for(const E of v.value)if(!g.has(E)){v.value=g;return}}},children:a,parents:t,disabled:l,getPath:y}};return he(ge,b),b.root},aa=(e,n,a)=>{const t=se(ge,Qt),l=Symbol("nested item"),o=P(()=>z(Ee(e))??l),i={...t,id:o,open:(r,u)=>t.root.open(o.value,r,u),openOnSelect:(r,u)=>t.root.openOnSelect(o.value,r,u),isOpen:P(()=>t.root.opened.value.has(o.value)),parent:P(()=>t.root.parents.value.get(o.value)),activate:(r,u)=>t.root.activate(o.value,r,u),isActivated:P(()=>t.root.activated.value.has(o.value)),select:(r,u)=>t.root.select(o.value,r,u),isSelected:P(()=>t.root.selected.value.get(o.value)==="on"),isIndeterminate:P(()=>t.root.selected.value.get(o.value)==="indeterminate"),isLeaf:P(()=>!t.root.children.value.get(o.value)),isGroupActivator:t.isGroupActivator};return $e(()=>{t.isGroupActivator||t.root.register(o.value,t.id.value,Ee(n),a)}),ye(()=>{t.isGroupActivator||t.root.unregister(o.value)}),a&&he(ge,i),i},qa=()=>{const e=se(ge,Qt);he(ge,{...e,isGroupActivator:!0})},la=D({opacity:[Number,String],...ae(),...Xe()},"VListItemSubtitle"),oa=Q()({name:"VListItemSubtitle",props:la(),setup(e,n){let{slots:a}=n;return le(()=>k(e.tag,{class:ie(["v-list-item-subtitle",e.class]),style:be([{"--v-list-item-subtitle-opacity":e.opacity},e.style])},a)),{}}}),ia=Nn("v-list-item-title"),ra=D({start:Boolean,end:Boolean,icon:Ie,image:String,text:String,...jt(),...ae(),...Ht(),...Ye(),...On(),...Xe(),...je(),...$t({variant:"flat"})},"VAvatar"),ht=Q()({name:"VAvatar",props:ra(),setup(e,n){let{slots:a}=n;const{themeClasses:t}=He(e),{borderClasses:l}=Ft(e),{colorClasses:o,colorStyles:i,variantClasses:r}=Nt(e),{densityClasses:u}=zt(e),{roundedClasses:v}=Ke(e),{sizeClasses:s,sizeStyles:y}=Cn(e);return le(()=>k(e.tag,{class:ie(["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},t.value,l.value,o.value,u.value,v.value,s.value,r.value,e.class]),style:be([i.value,y.value,e.style])},{default:()=>[a.default?k(Ae,{key:"content-defaults",defaults:{VImg:{cover:!0,src:e.image},VIcon:{icon:e.icon}}},{default:()=>[a.default()]}):e.image?k(Un,{key:"image",src:e.image,alt:"",cover:!0},null):e.icon?k(Fe,{key:"icon",icon:e.icon},null):e.text,Dt(!1,"v-avatar")]})),{}}}),sa=D({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:Ie,baseColor:String,disabled:Boolean,lines:[Boolean,String],link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:Ie,ripple:{type:[Boolean,Object],default:!0},slim:Boolean,subtitle:{type:[String,Number,Boolean],default:void 0},title:{type:[String,Number,Boolean],default:void 0},value:null,onClick:tt(),onClickOnce:tt(),...jt(),...ae(),...Ht(),...Ge(),...Ln(),...Ye(),...Vn(),...Xe(),...je(),...$t({variant:"text"})},"VListItem"),ca=Q()({name:"VListItem",directives:{vRipple:st},props:sa(),emits:{click:e=>!0},setup(e,n){let{attrs:a,slots:t,emit:l}=n;const o=pn(e,a),i=P(()=>e.value===void 0?o.href.value:e.value),{activate:r,isActivated:u,select:v,isOpen:s,isSelected:y,isIndeterminate:S,isGroupActivator:f,root:b,parent:c,openOnSelect:h,id:d}=aa(i,()=>e.disabled,!1),g=Yn(),E=P(()=>e.active!==!1&&(e.active||o.isActive?.value||(b.activatable.value?u.value:y.value))),x=q(()=>e.link!==!1&&o.isLink.value),p=P(()=>!!g&&(b.selectable.value||b.activatable.value||e.value!=null)),V=P(()=>!e.disabled&&e.link!==!1&&(e.link||o.isClickable.value||p.value)),R=q(()=>e.rounded||e.nav),m=q(()=>e.color??e.activeColor),$=q(()=>({color:E.value?m.value??e.baseColor:e.baseColor,variant:e.variant}));N(()=>o.isActive?.value,T=>{T&&U()}),$e(()=>{o.isActive?.value&&U()});function U(){c.value!=null&&b.open(c.value,!0),h(!0)}const{themeClasses:J}=He(e),{borderClasses:C}=Ft(e),{colorClasses:A,colorStyles:L,variantClasses:w}=Nt($),{densityClasses:B}=zt(e),{dimensionStyles:H}=Ue(e),{elevationClasses:W}=_n(e),{roundedClasses:ne}=Ke(R),M=q(()=>e.lines?`v-list-item--${e.lines}-line`:void 0),K=q(()=>e.ripple!==void 0&&e.ripple&&g?.filterable?{keys:["Enter"]}:e.ripple),ee=P(()=>({isActive:E.value,select:v,isOpen:s.value,isSelected:y.value,isIndeterminate:S.value}));function Y(T){l("click",T),!["INPUT","TEXTAREA"].includes(T.target?.tagName)&&V.value&&(o.navigate?.(T),!f&&(b.activatable.value?r(!u.value,T):(b.selectable.value||e.value!=null)&&v(!y.value,T)))}function oe(T){const ce=T.target;["INPUT","TEXTAREA"].includes(ce.tagName)||(T.key==="Enter"||T.key===" "&&!g?.filterable)&&(T.preventDefault(),T.stopPropagation(),T.target.dispatchEvent(new MouseEvent("click",T)))}return le(()=>{const T=x.value?"a":e.tag,ce=t.title||e.title!=null,O=t.subtitle||e.subtitle!=null,X=!!(e.appendAvatar||e.appendIcon),on=!!(X||t.append),et=!!(e.prependAvatar||e.prependIcon),Ce=!!(et||t.prepend);return g?.updateHasPrepend(Ce),e.activeColor&&dn("active-color",["color","base-color"]),we(k(T,j({class:["v-list-item",{"v-list-item--active":E.value,"v-list-item--disabled":e.disabled,"v-list-item--link":V.value,"v-list-item--nav":e.nav,"v-list-item--prepend":!Ce&&g?.hasPrepend.value,"v-list-item--slim":e.slim,[`${e.activeClass}`]:e.activeClass&&E.value},J.value,C.value,A.value,B.value,W.value,M.value,ne.value,w.value,e.class],style:[L.value,H.value,e.style],tabindex:V.value?g?-2:0:void 0,"aria-selected":p.value?b.activatable.value?u.value:b.selectable.value?y.value:E.value:void 0,onClick:Y,onKeydown:V.value&&!x.value&&oe},o.linkProps),{default:()=>[Dt(V.value||E.value,"v-list-item"),Ce&&_("div",{key:"prepend",class:"v-list-item__prepend"},[t.prepend?k(Ae,{key:"prepend-defaults",disabled:!et,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon},VListItemAction:{start:!0}}},{default:()=>[t.prepend?.(ee.value)]}):_(ke,null,[e.prependAvatar&&k(ht,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&k(Fe,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)]),_("div",{class:"v-list-item__spacer"},null)]),_("div",{class:"v-list-item__content","data-no-activator":""},[ce&&k(ia,{key:"title"},{default:()=>[t.title?.({title:e.title})??Re(e.title)]}),O&&k(oa,{key:"subtitle"},{default:()=>[t.subtitle?.({subtitle:e.subtitle})??Re(e.subtitle)]}),t.default?.(ee.value)]),on&&_("div",{key:"append",class:"v-list-item__append"},[t.append?k(Ae,{key:"append-defaults",disabled:!X,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon},VListItemAction:{end:!0}}},{default:()=>[t.append?.(ee.value)]}):_(ke,null,[e.appendIcon&&k(Fe,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&k(ht,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)]),_("div",{class:"v-list-item__spacer"},null)])]}),[[st,V.value&&K.value]])}),{activate:r,isActivated:u,isGroupActivator:f,isSelected:y,list:g,select:v,root:b,id:d,link:o}}}),ua={name:"CodexListItem"};function da(e,n,a,t,l,o){return Vt(),vn(ca,{class:"codexListItem",slim:"",compact:""})}const Ua=_t(ua,[["render",da],["__scopeId","data-v-63b84802"]]),va={name:"ConfirmFooter",props:{confirmText:{type:String,required:!0},disabled:{type:Boolean,default:!1}},emits:["confirm","cancel"]},fa={class:"confirmFooter"};function ga(e,n,a,t,l,o){return Vt(),fn("footer",fa,[k(ct,{class:"confirmButton",disabled:a.disabled,onClick:n[0]||(n[0]=i=>e.$emit("confirm"))},{default:nt(()=>[at(Re(a.confirmText),1)]),_:1},8,["disabled"]),k(ct,{class:"cancelButton",onClick:n[1]||(n[1]=i=>e.$emit("cancel"))},{default:nt(()=>n[2]||(n[2]=[at(" Cancel ")])),_:1,__:[2]})])}const Ga=_t(va,[["render",ga],["__scopeId","data-v-24df1550"]]);function Le(e,n){return{x:e.x+n.x,y:e.y+n.y}}function ma(e,n){return{x:e.x-n.x,y:e.y-n.y}}function St(e,n){if(e.side==="top"||e.side==="bottom"){const{side:a,align:t}=e,l=t==="left"?0:t==="center"?n.width/2:t==="right"?n.width:t,o=a==="top"?0:a==="bottom"?n.height:a;return Le({x:l,y:o},n)}else if(e.side==="left"||e.side==="right"){const{side:a,align:t}=e,l=a==="left"?0:a==="right"?n.width:a,o=t==="top"?0:t==="center"?n.height/2:t==="bottom"?n.height:t;return Le({x:l,y:o},n)}return Le({x:n.width/2,y:n.height/2},n)}const Zt={static:Sa,connected:wa},ya=D({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in Zt},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function ha(e,n){const a=I({}),t=I();te&&We(()=>!!(n.isActive.value&&e.locationStrategy),r=>{N(()=>e.locationStrategy,r),Z(()=>{window.removeEventListener("resize",l),visualViewport?.removeEventListener("resize",o),visualViewport?.removeEventListener("scroll",i),t.value=void 0}),window.addEventListener("resize",l,{passive:!0}),visualViewport?.addEventListener("resize",o,{passive:!0}),visualViewport?.addEventListener("scroll",i,{passive:!0}),typeof e.locationStrategy=="function"?t.value=e.locationStrategy(n,e,a)?.updateLocation:t.value=Zt[e.locationStrategy](n,e,a)?.updateLocation});function l(r){t.value?.(r)}function o(r){t.value?.(r)}function i(r){t.value?.(r)}return{contentStyles:a,updateLocation:t}}function Sa(){}function ba(e,n){const a=It(e);return n?a.x+=parseFloat(e.style.right||0):a.x-=parseFloat(e.style.left||0),a.y-=parseFloat(e.style.top||0),a}function wa(e,n,a){(Array.isArray(e.target.value)||$n(e.target.value))&&Object.assign(a.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:l,preferredOrigin:o}=gn(()=>{const d=ut(n.location,e.isRtl.value),g=n.origin==="overlap"?d:n.origin==="auto"?Oe(d):ut(n.origin,e.isRtl.value);return d.side===g.side&&d.align===pe(g).align?{preferredAnchor:dt(d),preferredOrigin:dt(g)}:{preferredAnchor:d,preferredOrigin:g}}),[i,r,u,v]=["minWidth","minHeight","maxWidth","maxHeight"].map(d=>P(()=>{const g=parseFloat(n[d]);return isNaN(g)?1/0:g})),s=P(()=>{if(Array.isArray(n.offset))return n.offset;if(typeof n.offset=="string"){const d=n.offset.split(" ").map(parseFloat);return d.length<2&&d.push(0),d}return typeof n.offset=="number"?[n.offset,0]:[0,0]});let y=!1,S=-1;const f=new mn(4),b=new ResizeObserver(()=>{if(!y)return;if(requestAnimationFrame(g=>{g!==S&&f.clear(),requestAnimationFrame(E=>{S=E})}),f.isFull){const g=f.values();if(lt(g.at(-1),g.at(-3))&&!lt(g.at(-1),g.at(-2)))return}const d=h();d&&f.push(d.flipped)});N([e.target,e.contentEl],(d,g)=>{let[E,x]=d,[p,V]=g;p&&!Array.isArray(p)&&b.unobserve(p),E&&!Array.isArray(E)&&b.observe(E),V&&b.unobserve(V),x&&b.observe(x)},{immediate:!0}),Z(()=>{b.disconnect()});let c=new _e({x:0,y:0,width:0,height:0});function h(){if(y=!1,requestAnimationFrame(()=>y=!0),!e.target.value||!e.contentEl.value)return;(Array.isArray(e.target.value)||e.target.value.offsetParent||e.target.value.getClientRects().length)&&(c=Tt(e.target.value));const d=ba(e.contentEl.value,e.isRtl.value),g=Pe(e.contentEl.value),E=12;g.length||(g.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=g.reduce((A,L)=>{const w=Bn(L);return A?new _e({x:Math.max(A.left,w.left),y:Math.max(A.top,w.top),width:Math.min(A.right,w.right)-Math.max(A.left,w.left),height:Math.min(A.bottom,w.bottom)-Math.max(A.top,w.top)}):w},void 0);x.x+=E,x.y+=E,x.width-=E*2,x.height-=E*2;let p={anchor:l.value,origin:o.value};function V(A){const L=new _e(d),w=St(A.anchor,c),B=St(A.origin,L);let{x:H,y:W}=ma(w,B);switch(A.anchor.side){case"top":W-=s.value[0];break;case"bottom":W+=s.value[0];break;case"left":H-=s.value[0];break;case"right":H+=s.value[0];break}switch(A.anchor.align){case"top":W-=s.value[1];break;case"bottom":W+=s.value[1];break;case"left":H-=s.value[1];break;case"right":H+=s.value[1];break}return L.x+=H,L.y+=W,L.width=Math.min(L.width,u.value),L.height=Math.min(L.height,v.value),{overflows:ft(L,x),x:H,y:W}}let R=0,m=0;const $={x:0,y:0},U={x:!1,y:!1};let J=-1;for(;!(J++>10);){const{x:A,y:L,overflows:w}=V(p);R+=A,m+=L,d.x+=A,d.y+=L;{const B=vt(p.anchor),H=w.x.before||w.x.after,W=w.y.before||w.y.after;let ne=!1;if(["x","y"].forEach(M=>{if(M==="x"&&H&&!U.x||M==="y"&&W&&!U.y){const K={anchor:{...p.anchor},origin:{...p.origin}},ee=M==="x"?B==="y"?pe:Oe:B==="y"?Oe:pe;K.anchor=ee(K.anchor),K.origin=ee(K.origin);const{overflows:Y}=V(K);(Y[M].before<=w[M].before&&Y[M].after<=w[M].after||Y[M].before+Y[M].after<(w[M].before+w[M].after)/2)&&(p=K,ne=U[M]=!0)}}),ne)continue}w.x.before&&(R+=w.x.before,d.x+=w.x.before),w.x.after&&(R-=w.x.after,d.x-=w.x.after),w.y.before&&(m+=w.y.before,d.y+=w.y.before),w.y.after&&(m-=w.y.after,d.y-=w.y.after);{const B=ft(d,x);$.x=x.width-B.x.before-B.x.after,$.y=x.height-B.y.before-B.y.after,R+=B.x.before,d.x+=B.x.before,m+=B.y.before,d.y+=B.y.before}break}const C=vt(p.anchor);return Object.assign(a.value,{"--v-overlay-anchor-origin":`${p.anchor.side} ${p.anchor.align}`,transformOrigin:`${p.origin.side} ${p.origin.align}`,top:G(Be(m)),left:e.isRtl.value?void 0:G(Be(R)),right:e.isRtl.value?G(Be(-R)):void 0,minWidth:G(C==="y"?Math.min(i.value,c.width):i.value),maxWidth:G(bt(ot($.x,i.value===1/0?0:i.value,u.value))),maxHeight:G(bt(ot($.y,r.value===1/0?0:r.value,v.value)))}),{available:$,contentBox:d,flipped:U}}return N(()=>[l.value,o.value,n.offset,n.minWidth,n.minHeight,n.maxWidth,n.maxHeight],()=>h()),me(()=>{const d=h();if(!d)return;const{available:g,contentBox:E}=d;E.height>g.y&&requestAnimationFrame(()=>{h(),requestAnimationFrame(()=>{h()})})}),{updateLocation:h}}function Be(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function bt(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let ze=!0;const xe=[];function ka(e){!ze||xe.length?(xe.push(e),De()):(ze=!1,e(),De())}let wt=-1;function De(){cancelAnimationFrame(wt),wt=requestAnimationFrame(()=>{const e=xe.shift();e&&e(),xe.length?De():ze=!0})}const Jt={none:null,close:Pa,block:xa,reposition:Ca},Ea=D({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in Jt}},"VOverlay-scroll-strategies");function Aa(e,n){if(!te)return;let a;qe(async()=>{a?.stop(),n.isActive.value&&e.scrollStrategy&&(a=Lt(),await new Promise(t=>setTimeout(t)),a.active&&a.run(()=>{typeof e.scrollStrategy=="function"?e.scrollStrategy(n,e,a):Jt[e.scrollStrategy]?.(n,e,a)}))}),Z(()=>{a?.stop()})}function Pa(e){function n(a){e.isActive.value=!1}en(e.targetEl.value??e.contentEl.value,n)}function xa(e,n){const a=e.root.value?.offsetParent,t=[...new Set([...Pe(e.targetEl.value,n.contained?a:void 0),...Pe(e.contentEl.value,n.contained?a:void 0)])].filter(i=>!i.classList.contains("v-overlay-scroll-blocked")),l=window.innerWidth-document.documentElement.offsetWidth,o=(i=>Qe(i)&&i)(a||document.documentElement);o&&e.root.value.classList.add("v-overlay--scroll-blocked"),t.forEach((i,r)=>{i.style.setProperty("--v-body-scroll-x",G(-i.scrollLeft)),i.style.setProperty("--v-body-scroll-y",G(-i.scrollTop)),i!==document.documentElement&&i.style.setProperty("--v-scrollbar-offset",G(l)),i.classList.add("v-overlay-scroll-blocked")}),Z(()=>{t.forEach((i,r)=>{const u=parseFloat(i.style.getPropertyValue("--v-body-scroll-x")),v=parseFloat(i.style.getPropertyValue("--v-body-scroll-y")),s=i.style.scrollBehavior;i.style.scrollBehavior="auto",i.style.removeProperty("--v-body-scroll-x"),i.style.removeProperty("--v-body-scroll-y"),i.style.removeProperty("--v-scrollbar-offset"),i.classList.remove("v-overlay-scroll-blocked"),i.scrollLeft=-u,i.scrollTop=-v,i.style.scrollBehavior=s}),o&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function Ca(e,n,a){let t=!1,l=-1,o=-1;function i(r){ka(()=>{const u=performance.now();e.updateLocation.value?.(r),t=(performance.now()-u)/(1e3/60)>2})}o=(typeof requestIdleCallback>"u"?r=>r():requestIdleCallback)(()=>{a.run(()=>{en(e.targetEl.value??e.contentEl.value,r=>{t?(cancelAnimationFrame(l),l=requestAnimationFrame(()=>{l=requestAnimationFrame(()=>{i(r)})})):i(r)})})}),Z(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(o),cancelAnimationFrame(l)})}function en(e,n){const a=[document,...Pe(e)];a.forEach(t=>{t.addEventListener("scroll",n,{passive:!0})}),Z(()=>{a.forEach(t=>{t.removeEventListener("scroll",n)})})}const Oa=Symbol.for("vuetify:v-menu"),pa=D({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function _a(e,n){let a=()=>{};function t(i){a?.();const r=Number(i?e.openDelay:e.closeDelay);return new Promise(u=>{a=yn(r,()=>{n?.(i),u(i)})})}function l(){return t(!0)}function o(){return t(!1)}return{clearDelay:a,runOpenDelay:l,runCloseDelay:o}}const Va=D({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,...pa()},"VOverlay-activator");function La(e,n){let{isActive:a,isTop:t,contentEl:l}=n;const o=re("useActivator"),i=I();let r=!1,u=!1,v=!0;const s=P(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),y=P(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!s.value),{runOpenDelay:S,runCloseDelay:f}=_a(e,m=>{m===(e.openOnHover&&r||s.value&&u)&&!(e.openOnHover&&a.value&&!t.value)&&(a.value!==m&&(v=!0),a.value=m)}),b=I(),c={onClick:m=>{m.stopPropagation(),i.value=m.currentTarget||m.target,a.value||(b.value=[m.clientX,m.clientY]),a.value=!a.value},onMouseenter:m=>{m.sourceCapabilities?.firesTouchEvents||(r=!0,i.value=m.currentTarget||m.target,S())},onMouseleave:m=>{r=!1,f()},onFocus:m=>{hn(m.target,":focus-visible")!==!1&&(u=!0,m.stopPropagation(),i.value=m.currentTarget||m.target,S())},onBlur:m=>{u=!1,m.stopPropagation(),f()}},h=P(()=>{const m={};return y.value&&(m.onClick=c.onClick),e.openOnHover&&(m.onMouseenter=c.onMouseenter,m.onMouseleave=c.onMouseleave),s.value&&(m.onFocus=c.onFocus,m.onBlur=c.onBlur),m}),d=P(()=>{const m={};if(e.openOnHover&&(m.onMouseenter=()=>{r=!0,S()},m.onMouseleave=()=>{r=!1,f()}),s.value&&(m.onFocusin=()=>{u=!0,S()},m.onFocusout=()=>{u=!1,f()}),e.closeOnContentClick){const $=se(Oa,null);m.onClick=()=>{a.value=!1,$?.closeParents()}}return m}),g=P(()=>{const m={};return e.openOnHover&&(m.onMouseenter=()=>{v&&(r=!0,v=!1,S())},m.onMouseleave=()=>{r=!1,f()}),m});N(t,m=>{m&&(e.openOnHover&&!r&&(!s.value||!u)||s.value&&!u&&(!e.openOnHover||!r))&&!l.value?.contains(document.activeElement)&&(a.value=!1)}),N(a,m=>{m||setTimeout(()=>{b.value=void 0})},{flush:"post"});const E=it();qe(()=>{E.value&&me(()=>{i.value=E.el})});const x=it(),p=P(()=>e.target==="cursor"&&b.value?b.value:x.value?x.el:tn(e.target,o)||i.value),V=P(()=>Array.isArray(p.value)?void 0:p.value);let R;return N(()=>!!e.activator,m=>{m&&te?(R=Lt(),R.run(()=>{Ba(e,o,{activatorEl:i,activatorEvents:h})})):R&&R.stop()},{flush:"post",immediate:!0}),Z(()=>{R?.stop()}),{activatorEl:i,activatorRef:E,target:p,targetEl:V,targetRef:x,activatorEvents:h,contentEvents:d,scrimEvents:g}}function Ba(e,n,a){let{activatorEl:t,activatorEvents:l}=a;N(()=>e.activator,(u,v)=>{if(v&&u!==v){const s=r(v);s&&i(s)}u&&me(()=>o())},{immediate:!0}),N(()=>e.activatorProps,()=>{o()}),Z(()=>{i()});function o(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:r(),v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;u&&Mn(u,j(l.value,v))}function i(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:r(),v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;u&&Fn(u,j(l.value,v))}function r(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator;const v=tn(u,n);return t.value=v?.nodeType===Node.ELEMENT_NODE?v:void 0,t.value}}function tn(e,n){if(!e)return;let a;if(e==="parent"){let t=n?.proxy?.$el?.parentNode;for(;t?.hasAttribute("data-no-activator");)t=t.parentNode;a=t}else typeof e=="string"?a=document.querySelector(e):"$el"in e?a=e.$el:a=e;return a}function Ta(){if(!te)return F(!1);const{ssr:e}=Sn();if(e){const n=F(!1);return bn(()=>{n.value=!0}),n}else return F(!0)}const kt=Symbol.for("vuetify:stack"),ue=Bt([]);function Ia(e,n,a){const t=re("useStack"),l=!a,o=se(kt,void 0),i=Bt({activeChildren:new Set});he(kt,i);const r=F(Number(Ee(n)));We(e,()=>{const s=ue.at(-1)?.[1];r.value=s?s+10:Number(Ee(n)),l&&ue.push([t.uid,r.value]),o?.activeChildren.add(t.uid),Z(()=>{if(l){const y=z(ue).findIndex(S=>S[0]===t.uid);ue.splice(y,1)}o?.activeChildren.delete(t.uid)})});const u=F(!0);l&&qe(()=>{const s=ue.at(-1)?.[0]===t.uid;setTimeout(()=>u.value=s)});const v=q(()=>!i.activeChildren.size);return{globalTop:wn(u),localTop:v,stackStyles:q(()=>({zIndex:r.value}))}}function Ra(e){return{teleportTarget:P(()=>{const a=e();if(a===!0||!te)return;const t=a===!1?document.body:typeof a=="string"?document.querySelector(a):a;if(t==null)return;let l=[...t.children].find(o=>o.matches(".v-overlay-container"));return l||(l=document.createElement("div"),l.className="v-overlay-container",t.appendChild(l)),l})}}function Ma(){return!0}function nn(e,n,a){if(!e||an(e,a)===!1)return!1;const t=Wt(n);if(typeof ShadowRoot<"u"&&t instanceof ShadowRoot&&t.host===e.target)return!1;const l=(typeof a.value=="object"&&a.value.include||(()=>[]))();return l.push(n),!l.some(o=>o?.contains(e.target))}function an(e,n){return(typeof n.value=="object"&&n.value.closeConditional||Ma)(e)}function Fa(e,n,a){const t=typeof a.value=="function"?a.value:a.value.handler;e.shadowTarget=e.target,n._clickOutside.lastMousedownWasOutside&&nn(e,n,a)&&setTimeout(()=>{an(e,a)&&t&&t(e)},0)}function Et(e,n){const a=Wt(e);n(document),typeof ShadowRoot<"u"&&a instanceof ShadowRoot&&n(a)}const At={mounted(e,n){const a=l=>Fa(l,e,n),t=l=>{e._clickOutside.lastMousedownWasOutside=nn(l,e,n)};Et(e,l=>{l.addEventListener("click",a,!0),l.addEventListener("mousedown",t,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[n.instance.$.uid]={onClick:a,onMousedown:t}},beforeUnmount(e,n){e._clickOutside&&(Et(e,a=>{if(!a||!e._clickOutside?.[n.instance.$.uid])return;const{onClick:t,onMousedown:l}=e._clickOutside[n.instance.$.uid];a.removeEventListener("click",t,!0),a.removeEventListener("mousedown",l,!0)}),delete e._clickOutside[n.instance.$.uid])}};function Na(e){const{modelValue:n,color:a,...t}=e;return k(Te,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&_("div",j({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},t),null)]})}const ln=D({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,opacity:[Number,String],noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...Va(),...ae(),...Ge(),...Gn(),...ya(),...Ea(),...je(),...Mt()},"VOverlay"),Pt=Q()({name:"VOverlay",directives:{vClickOutside:At},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...ln()},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,keydown:e=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(e,n){let{slots:a,attrs:t,emit:l}=n;const o=re("VOverlay"),i=I(),r=I(),u=I(),v=fe(e,"modelValue"),s=P({get:()=>v.value,set:O=>{O&&e.disabled||(v.value=O)}}),{themeClasses:y}=He(e),{rtlClasses:S,isRtl:f}=kn(),{hasContent:b,onAfterLeave:c}=Kn(e,s),h=Rt(()=>typeof e.scrim=="string"?e.scrim:null),{globalTop:d,localTop:g,stackStyles:E}=Ia(s,()=>e.zIndex,e._disableGlobalStack),{activatorEl:x,activatorRef:p,target:V,targetEl:R,targetRef:m,activatorEvents:$,contentEvents:U,scrimEvents:J}=La(e,{isActive:s,isTop:g,contentEl:u}),{teleportTarget:C}=Ra(()=>{const O=e.attach||e.contained;if(O)return O;const X=x?.value?.getRootNode()||o.proxy?.$el?.getRootNode();return X instanceof ShadowRoot?X:!1}),{dimensionStyles:A}=Ue(e),L=Ta(),{scopeId:w}=Ut();N(()=>e.disabled,O=>{O&&(s.value=!1)});const{contentStyles:B,updateLocation:H}=ha(e,{isRtl:f,contentEl:u,target:V,isActive:s});Aa(e,{root:i,contentEl:u,targetEl:R,isActive:s,updateLocation:H});function W(O){l("click:outside",O),e.persistent?oe():s.value=!1}function ne(O){return s.value&&d.value&&(!e.scrim||O.target===r.value||O instanceof MouseEvent&&O.shadowTarget===r.value)}te&&N(s,O=>{O?window.addEventListener("keydown",M):window.removeEventListener("keydown",M)},{immediate:!0}),ye(()=>{te&&window.removeEventListener("keydown",M)});function M(O){O.key==="Escape"&&d.value&&(u.value?.contains(document.activeElement)||l("keydown",O),e.persistent?oe():(s.value=!1,u.value?.contains(document.activeElement)&&x.value?.focus()))}function K(O){O.key==="Escape"&&!d.value||l("keydown",O)}const ee=Tn();We(()=>e.closeOnBack,()=>{In(ee,O=>{d.value&&s.value?(O(!1),e.persistent?oe():s.value=!1):O()})});const Y=I();N(()=>s.value&&(e.absolute||e.contained)&&C.value==null,O=>{if(O){const X=zn(i.value);X&&X!==document.scrollingElement&&(Y.value=X.scrollTop)}});function oe(){e.noClickAnimation||u.value&&de(u.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:Me})}function T(){l("afterEnter")}function ce(){c(),l("afterLeave")}return le(()=>_(ke,null,[a.activator?.({isActive:s.value,targetRef:m,props:j({ref:p},$.value,e.activatorProps)}),L.value&&b.value&&k(En,{disabled:!C.value,to:C.value},{default:()=>[_("div",j({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":s.value,"v-overlay--contained":e.contained},y.value,S.value,e.class],style:[E.value,{"--v-overlay-opacity":e.opacity,top:G(Y.value)},e.style],ref:i,onKeydown:K},w,t),[k(Na,j({color:h,modelValue:s.value&&!!e.scrim,ref:r},J.value),null),k(ve,{appear:!0,persisted:!0,transition:e.transition,target:V.value,onAfterEnter:T,onAfterLeave:ce},{default:()=>[we(_("div",j({ref:u,class:["v-overlay__content",e.contentClass],style:[A.value,B.value]},U.value,e.contentProps),[a.default?.({isActive:s})]),[[Ot,s.value],[At,{handler:W,closeConditional:ne,include:()=>[x.value]}]])]})])]})])),{activatorEl:x,scrimEl:r,target:V,animateClick:oe,contentEl:u,globalTop:d,localTop:g,updateLocation:H}}}),za=D({fullscreen:Boolean,retainFocus:{type:Boolean,default:!0},scrollable:Boolean,...ln({origin:"center center",scrollStrategy:"block",transition:{component:jn},zIndex:2400})},"VDialog"),Ka=Q()({name:"VDialog",props:za(),emits:{"update:modelValue":e=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(e,n){let{emit:a,slots:t}=n;const l=fe(e,"modelValue"),{scopeId:o}=Ut(),i=I();function r(s){const y=s.relatedTarget,S=s.target;if(y!==S&&i.value?.contentEl&&i.value?.globalTop&&![document,i.value.contentEl].includes(S)&&!i.value.contentEl.contains(S)){const f=An(i.value.contentEl);if(!f.length)return;const b=f[0],c=f[f.length-1];y===b?c.focus():b.focus()}}ye(()=>{document.removeEventListener("focusin",r)}),te&&N(()=>l.value&&e.retainFocus,s=>{s?document.addEventListener("focusin",r):document.removeEventListener("focusin",r)},{immediate:!0});function u(){a("afterEnter"),(e.scrim||e.retainFocus)&&i.value?.contentEl&&!i.value.contentEl.contains(document.activeElement)&&i.value.contentEl.focus({preventScroll:!0})}function v(){a("afterLeave")}return N(l,async s=>{s||(await me(),i.value.activatorEl?.focus({preventScroll:!0}))}),le(()=>{const s=Pt.filterProps(e),y=j({"aria-haspopup":"dialog"},e.activatorProps),S=j({tabindex:-1},e.contentProps);return k(Pt,j({ref:i,class:["v-dialog",{"v-dialog--fullscreen":e.fullscreen,"v-dialog--scrollable":e.scrollable},e.class],style:e.style},s,{modelValue:l.value,"onUpdate:modelValue":f=>l.value=f,"aria-modal":"true",activatorProps:y,contentProps:S,height:e.fullscreen?void 0:e.height,width:e.fullscreen?void 0:e.width,maxHeight:e.fullscreen?void 0:e.maxHeight,maxWidth:e.fullscreen?void 0:e.maxWidth,role:"dialog",onAfterEnter:u,onAfterLeave:v},o),{activator:t.activator,default:function(){for(var f=arguments.length,b=new Array(f),c=0;c<f;c++)b[c]=arguments[c];return k(Ae,{root:"VDialog"},{default:()=>[t.default?.(...b)]})}})}),Rn({},i)}});export{Ua as C,Ka as V,ca as a,Kn as b,Nn as c,Un as d,_a as e,pa as f,ht as g,Ga as h,aa as i,Yn as j,qa as k,Ha as l,Gn as m,Wa as n,ja as o,Pt as p,ln as q,jn as r,Oa as s,zn as t,Ut as u,ia as v};
|
|
Binary file
|
|
Binary file
|