codex 1.6.0a11__py3-none-any.whl → 1.6.0a12__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/covers/create.py +21 -16
- codex/serializers/browser/choices.py +21 -54
- codex/serializers/browser/filters.py +30 -36
- codex/serializers/browser/mixins.py +2 -2
- codex/serializers/fields.py +32 -65
- codex/serializers/opds/v2.py +4 -6
- codex/static_root/assets/{VCheckbox-BwDyxhU7.831b00df198a.js → VCheckbox-B3vCf1Vu.e1991f98ab6c.js} +1 -1
- codex/static_root/assets/VCheckbox-B3vCf1Vu.e1991f98ab6c.js.br +0 -0
- codex/static_root/assets/VCheckbox-B3vCf1Vu.e1991f98ab6c.js.gz +0 -0
- codex/static_root/assets/{VCheckbox-BwDyxhU7.js → VCheckbox-B3vCf1Vu.js} +1 -1
- codex/static_root/assets/VCheckbox-B3vCf1Vu.js.br +0 -0
- codex/static_root/assets/VCheckbox-B3vCf1Vu.js.gz +0 -0
- codex/static_root/assets/{VCheckboxBtn-DVq5lDK4.5e6464c8d80a.js → VCheckboxBtn-Cj6bUYmw.196cc43ca1c8.js} +1 -1
- codex/static_root/assets/VCheckboxBtn-Cj6bUYmw.196cc43ca1c8.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-Cj6bUYmw.196cc43ca1c8.js.gz +0 -0
- codex/static_root/assets/{VCheckboxBtn-DVq5lDK4.js → VCheckboxBtn-Cj6bUYmw.js} +1 -1
- codex/static_root/assets/VCheckboxBtn-Cj6bUYmw.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-Cj6bUYmw.js.gz +0 -0
- codex/static_root/assets/{VCombobox-BASCOy0n.7801caa5e192.js → VCombobox-wIqJY8no.3547ff73e91e.js} +1 -1
- codex/static_root/assets/VCombobox-wIqJY8no.3547ff73e91e.js.br +0 -0
- codex/static_root/assets/VCombobox-wIqJY8no.3547ff73e91e.js.gz +0 -0
- codex/static_root/assets/{VCombobox-BASCOy0n.js → VCombobox-wIqJY8no.js} +1 -1
- codex/static_root/assets/VCombobox-wIqJY8no.js.br +0 -0
- codex/static_root/assets/VCombobox-wIqJY8no.js.gz +0 -0
- codex/static_root/assets/{VDialog-DnbL_v_u.0bd289bda8e6.js → VDialog-D6HUFV6a.ac71da510b3f.js} +1 -1
- codex/static_root/assets/VDialog-D6HUFV6a.ac71da510b3f.js.br +0 -0
- codex/static_root/assets/VDialog-D6HUFV6a.ac71da510b3f.js.gz +0 -0
- codex/static_root/assets/{VDialog-DnbL_v_u.js → VDialog-D6HUFV6a.js} +1 -1
- codex/static_root/assets/VDialog-D6HUFV6a.js.br +0 -0
- codex/static_root/assets/VDialog-D6HUFV6a.js.gz +0 -0
- codex/static_root/assets/{VExpansionPanels-B8nz8lN5.56e5adec4f62.js → VExpansionPanels-BUJaYmzY.44e8a00a2ebe.js} +1 -1
- codex/static_root/assets/VExpansionPanels-BUJaYmzY.44e8a00a2ebe.js.br +0 -0
- codex/static_root/assets/VExpansionPanels-BUJaYmzY.44e8a00a2ebe.js.gz +0 -0
- codex/static_root/assets/{VExpansionPanels-B8nz8lN5.js → VExpansionPanels-BUJaYmzY.js} +1 -1
- codex/static_root/assets/VExpansionPanels-BUJaYmzY.js.br +0 -0
- codex/static_root/assets/VExpansionPanels-BUJaYmzY.js.gz +0 -0
- codex/static_root/assets/{VRadioGroup-BgwJ_b94.55f84f3429b9.js → VRadioGroup-CayclHra.0a5b1c9a7b71.js} +1 -1
- codex/static_root/assets/VRadioGroup-CayclHra.0a5b1c9a7b71.js.br +0 -0
- codex/static_root/assets/VRadioGroup-CayclHra.0a5b1c9a7b71.js.gz +0 -0
- codex/static_root/assets/{VRadioGroup-BgwJ_b94.js → VRadioGroup-CayclHra.js} +1 -1
- codex/static_root/assets/VRadioGroup-CayclHra.js.br +0 -0
- codex/static_root/assets/VRadioGroup-CayclHra.js.gz +0 -0
- codex/static_root/assets/{VSelect-BoKpXxwe.a88f065dfe3b.js → VSelect-ou2Q9UaN.8ddd219784e1.js} +1 -1
- codex/static_root/assets/VSelect-ou2Q9UaN.8ddd219784e1.js.br +0 -0
- codex/static_root/assets/VSelect-ou2Q9UaN.8ddd219784e1.js.gz +0 -0
- codex/static_root/assets/{VSelect-BoKpXxwe.js → VSelect-ou2Q9UaN.js} +1 -1
- codex/static_root/assets/VSelect-ou2Q9UaN.js.br +0 -0
- codex/static_root/assets/VSelect-ou2Q9UaN.js.gz +0 -0
- codex/static_root/assets/{VSelectionControl-BXJGg8No.js → VSelectionControl-BOKIwNZb.16e0cdde978c.js} +1 -1
- codex/static_root/assets/VSelectionControl-BOKIwNZb.16e0cdde978c.js.br +0 -0
- codex/static_root/assets/VSelectionControl-BOKIwNZb.16e0cdde978c.js.gz +0 -0
- codex/static_root/assets/{VSelectionControl-BXJGg8No.0cb36d941d2a.js → VSelectionControl-BOKIwNZb.js} +1 -1
- codex/static_root/assets/VSelectionControl-BOKIwNZb.js.br +0 -0
- codex/static_root/assets/VSelectionControl-BOKIwNZb.js.gz +0 -0
- codex/static_root/assets/{VSlideGroup-C2TL5E34.775adeb5a973.js → VSlideGroup-C3XgVg2T.d2b0ee4f596c.js} +1 -1
- codex/static_root/assets/VSlideGroup-C3XgVg2T.d2b0ee4f596c.js.br +0 -0
- codex/static_root/assets/VSlideGroup-C3XgVg2T.d2b0ee4f596c.js.gz +0 -0
- codex/static_root/assets/{VSlideGroup-C2TL5E34.js → VSlideGroup-C3XgVg2T.js} +1 -1
- codex/static_root/assets/VSlideGroup-C3XgVg2T.js.br +0 -0
- codex/static_root/assets/VSlideGroup-C3XgVg2T.js.gz +0 -0
- codex/static_root/assets/{VTable-C0FptljX.e4840b635c6e.js → VTable-CrIiBr9q.b4669247af45.js} +1 -1
- codex/static_root/assets/VTable-CrIiBr9q.b4669247af45.js.br +0 -0
- codex/static_root/assets/VTable-CrIiBr9q.b4669247af45.js.gz +0 -0
- codex/static_root/assets/{VTable-C0FptljX.js → VTable-CrIiBr9q.js} +1 -1
- codex/static_root/assets/VTable-CrIiBr9q.js.br +0 -0
- codex/static_root/assets/VTable-CrIiBr9q.js.gz +0 -0
- codex/static_root/assets/{VTextField-Aw8nKhY6.428732ac22d7.js → VTextField-HAAxrpNi.6f6dcb50079a.js} +1 -1
- codex/static_root/assets/VTextField-HAAxrpNi.6f6dcb50079a.js.br +0 -0
- codex/static_root/assets/VTextField-HAAxrpNi.6f6dcb50079a.js.gz +0 -0
- codex/static_root/assets/{VTextField-Aw8nKhY6.js → VTextField-HAAxrpNi.js} +1 -1
- codex/static_root/assets/VTextField-HAAxrpNi.js.br +0 -0
- codex/static_root/assets/VTextField-HAAxrpNi.js.gz +0 -0
- codex/static_root/assets/{VWindowItem-D9j_u9MX.828acf3dee55.js → VWindowItem-aal6-Uv4.d178e2af20a7.js} +1 -1
- codex/static_root/assets/VWindowItem-aal6-Uv4.d178e2af20a7.js.br +0 -0
- codex/static_root/assets/VWindowItem-aal6-Uv4.d178e2af20a7.js.gz +0 -0
- codex/static_root/assets/{VWindowItem-D9j_u9MX.js → VWindowItem-aal6-Uv4.js} +1 -1
- codex/static_root/assets/VWindowItem-aal6-Uv4.js.br +0 -0
- codex/static_root/assets/VWindowItem-aal6-Uv4.js.gz +0 -0
- codex/static_root/assets/admin-D5JDmLDy.e4df3dd3a3fe.js +1 -0
- codex/static_root/assets/admin-D5JDmLDy.e4df3dd3a3fe.js.br +0 -0
- codex/static_root/assets/admin-D5JDmLDy.e4df3dd3a3fe.js.gz +0 -0
- codex/static_root/assets/admin-D5JDmLDy.js +1 -0
- codex/static_root/assets/admin-D5JDmLDy.js.br +0 -0
- codex/static_root/assets/admin-D5JDmLDy.js.gz +0 -0
- codex/static_root/assets/{admin-drawer-panel-Dmn4wEY3.af7e8490f0e3.js → admin-drawer-panel-BF-h3Wm0.1f372db8d08f.js} +2 -2
- codex/static_root/assets/admin-drawer-panel-BF-h3Wm0.1f372db8d08f.js.br +0 -0
- codex/static_root/assets/{admin-drawer-panel-Dmn4wEY3.af7e8490f0e3.js.gz → admin-drawer-panel-BF-h3Wm0.1f372db8d08f.js.gz} +0 -0
- codex/static_root/assets/{admin-drawer-panel-Dmn4wEY3.js → admin-drawer-panel-BF-h3Wm0.js} +2 -2
- codex/static_root/assets/admin-drawer-panel-BF-h3Wm0.js.br +0 -0
- codex/static_root/assets/{admin-drawer-panel-Dmn4wEY3.js.gz → admin-drawer-panel-BF-h3Wm0.js.gz} +0 -0
- codex/static_root/assets/browser-B1-dPld9.0b3fa4fdbe22.css +1 -0
- codex/static_root/assets/browser-B1-dPld9.0b3fa4fdbe22.css.br +0 -0
- codex/static_root/assets/browser-B1-dPld9.0b3fa4fdbe22.css.gz +0 -0
- codex/static_root/assets/browser-B1-dPld9.css +1 -0
- codex/static_root/assets/browser-B1-dPld9.css.br +0 -0
- codex/static_root/assets/browser-B1-dPld9.css.gz +0 -0
- codex/static_root/assets/browser-VhFkImB_.9c3b2c746614.js +1 -0
- codex/static_root/assets/browser-VhFkImB_.9c3b2c746614.js.br +0 -0
- codex/static_root/assets/browser-VhFkImB_.9c3b2c746614.js.gz +0 -0
- codex/static_root/assets/browser-VhFkImB_.js +1 -0
- codex/static_root/assets/browser-VhFkImB_.js.br +0 -0
- codex/static_root/assets/browser-VhFkImB_.js.gz +0 -0
- codex/static_root/assets/{change-password-dialog-Cc1e755p.b29d200537bf.js → change-password-dialog-BCYw5K7E.a8bae0450f20.js} +1 -1
- codex/static_root/assets/change-password-dialog-BCYw5K7E.a8bae0450f20.js.br +0 -0
- codex/static_root/assets/change-password-dialog-BCYw5K7E.a8bae0450f20.js.gz +0 -0
- codex/static_root/assets/{change-password-dialog-Cc1e755p.js → change-password-dialog-BCYw5K7E.js} +1 -1
- codex/static_root/assets/change-password-dialog-BCYw5K7E.js.br +0 -0
- codex/static_root/assets/change-password-dialog-BCYw5K7E.js.gz +0 -0
- codex/static_root/assets/{confirm-dialog-Cyr7HAAz.8ab1d8b6241a.js → confirm-dialog-c9JOSGSy.3c5788f95f47.js} +1 -1
- codex/static_root/assets/confirm-dialog-c9JOSGSy.3c5788f95f47.js.br +3 -0
- codex/static_root/assets/confirm-dialog-c9JOSGSy.3c5788f95f47.js.gz +0 -0
- codex/static_root/assets/{confirm-dialog-Cyr7HAAz.js → confirm-dialog-c9JOSGSy.js} +1 -1
- codex/static_root/assets/confirm-dialog-c9JOSGSy.js.br +3 -0
- codex/static_root/assets/confirm-dialog-c9JOSGSy.js.gz +0 -0
- codex/static_root/assets/{datetime-column-Cqi99Ze-.49d0ce340183.js → datetime-column-D-6LPKdI.d46bbd8134df.js} +1 -1
- codex/static_root/assets/datetime-column-D-6LPKdI.d46bbd8134df.js.br +0 -0
- codex/static_root/assets/datetime-column-D-6LPKdI.d46bbd8134df.js.gz +0 -0
- codex/static_root/assets/{datetime-column-Cqi99Ze-.js → datetime-column-D-6LPKdI.js} +1 -1
- codex/static_root/assets/datetime-column-D-6LPKdI.js.br +0 -0
- codex/static_root/assets/datetime-column-D-6LPKdI.js.gz +0 -0
- codex/static_root/assets/{filter-CuocBoS2.885d1b8d44cc.js → filter-BOnVoHTU.93c3d0d0d3f6.js} +1 -1
- codex/static_root/assets/filter-BOnVoHTU.93c3d0d0d3f6.js.br +0 -0
- codex/static_root/assets/filter-BOnVoHTU.93c3d0d0d3f6.js.gz +0 -0
- codex/static_root/assets/{filter-CuocBoS2.js → filter-BOnVoHTU.js} +1 -1
- codex/static_root/assets/filter-BOnVoHTU.js.br +0 -0
- codex/static_root/assets/filter-BOnVoHTU.js.gz +0 -0
- codex/static_root/assets/{flag-tab-B5dRCBAt.e858f7ec9f55.js → flag-tab-IniE-dLy.a02733e359aa.js} +1 -1
- codex/static_root/assets/flag-tab-IniE-dLy.a02733e359aa.js.br +0 -0
- codex/static_root/assets/flag-tab-IniE-dLy.a02733e359aa.js.gz +0 -0
- codex/static_root/assets/{flag-tab-B5dRCBAt.js → flag-tab-IniE-dLy.js} +1 -1
- codex/static_root/assets/flag-tab-IniE-dLy.js.br +0 -0
- codex/static_root/assets/flag-tab-IniE-dLy.js.gz +0 -0
- codex/static_root/assets/{group-tab-_nT2o04v.c06032b254dc.js → group-tab-RPa8XC0J.3d483919ea92.js} +1 -1
- codex/static_root/assets/group-tab-RPa8XC0J.3d483919ea92.js.br +0 -0
- codex/static_root/assets/group-tab-RPa8XC0J.3d483919ea92.js.gz +0 -0
- codex/static_root/assets/{group-tab-_nT2o04v.js → group-tab-RPa8XC0J.js} +1 -1
- codex/static_root/assets/group-tab-RPa8XC0J.js.br +0 -0
- codex/static_root/assets/group-tab-RPa8XC0J.js.gz +0 -0
- codex/static_root/assets/{http-error-CXo9qLiW.d5a337f399c9.js → http-error-DBQycf8i.561cde2b4598.js} +1 -1
- codex/static_root/assets/http-error-DBQycf8i.561cde2b4598.js.br +0 -0
- codex/static_root/assets/http-error-DBQycf8i.561cde2b4598.js.gz +0 -0
- codex/static_root/assets/{http-error-CXo9qLiW.js → http-error-DBQycf8i.js} +1 -1
- codex/static_root/assets/http-error-DBQycf8i.js.br +0 -0
- codex/static_root/assets/http-error-DBQycf8i.js.gz +0 -0
- codex/static_root/assets/{library-tab-lz5QMD4i.2f04b226ebe8.js → library-tab-C5trLvkq.35c7a1b79c71.js} +1 -1
- codex/static_root/assets/library-tab-C5trLvkq.35c7a1b79c71.js.br +0 -0
- codex/static_root/assets/library-tab-C5trLvkq.35c7a1b79c71.js.gz +0 -0
- codex/static_root/assets/{library-tab-lz5QMD4i.js → library-tab-C5trLvkq.js} +1 -1
- codex/static_root/assets/library-tab-C5trLvkq.js.br +0 -0
- codex/static_root/assets/library-tab-C5trLvkq.js.gz +0 -0
- codex/static_root/assets/main-x0Pcl23A.364bfe447c9c.js +32 -0
- codex/static_root/assets/main-x0Pcl23A.364bfe447c9c.js.br +0 -0
- codex/static_root/assets/main-x0Pcl23A.364bfe447c9c.js.gz +0 -0
- codex/static_root/assets/main-x0Pcl23A.js +32 -0
- codex/static_root/assets/main-x0Pcl23A.js.br +0 -0
- codex/static_root/assets/main-x0Pcl23A.js.gz +0 -0
- codex/static_root/assets/pagination-toolbar-BLUoVz2y.50051431acf1.css +1 -0
- codex/static_root/assets/pagination-toolbar-BLUoVz2y.50051431acf1.css.br +0 -0
- codex/static_root/assets/pagination-toolbar-BLUoVz2y.50051431acf1.css.gz +0 -0
- codex/static_root/assets/pagination-toolbar-BLUoVz2y.css +1 -0
- codex/static_root/assets/pagination-toolbar-BLUoVz2y.css.br +0 -0
- codex/static_root/assets/pagination-toolbar-BLUoVz2y.css.gz +0 -0
- codex/static_root/assets/pagination-toolbar-DEgDOzzp.71aa03f525e4.js +1 -0
- codex/static_root/assets/pagination-toolbar-DEgDOzzp.71aa03f525e4.js.br +0 -0
- codex/static_root/assets/pagination-toolbar-DEgDOzzp.71aa03f525e4.js.gz +0 -0
- codex/static_root/assets/pagination-toolbar-DEgDOzzp.js +1 -0
- codex/static_root/assets/pagination-toolbar-DEgDOzzp.js.br +0 -0
- codex/static_root/assets/pagination-toolbar-DEgDOzzp.js.gz +0 -0
- codex/static_root/assets/{pdf-doc-BpZdmj2g.93e86d9c7927.js → pdf-doc-CkV-xfvG.35c1a6a19a41.js} +1 -1
- codex/static_root/assets/pdf-doc-CkV-xfvG.35c1a6a19a41.js.br +0 -0
- codex/static_root/assets/pdf-doc-CkV-xfvG.35c1a6a19a41.js.gz +0 -0
- codex/static_root/assets/{pdf-doc-BpZdmj2g.js → pdf-doc-CkV-xfvG.js} +1 -1
- codex/static_root/assets/pdf-doc-CkV-xfvG.js.br +0 -0
- codex/static_root/assets/pdf-doc-CkV-xfvG.js.gz +0 -0
- codex/static_root/assets/{reader-CRJUR2qj.55d626f0f9fa.js → reader-ClcgSG93.6afe950e70ac.js} +2 -2
- codex/static_root/assets/reader-ClcgSG93.6afe950e70ac.js.br +0 -0
- codex/static_root/assets/reader-ClcgSG93.6afe950e70ac.js.gz +0 -0
- codex/static_root/assets/{reader-CRJUR2qj.js → reader-ClcgSG93.js} +2 -2
- codex/static_root/assets/reader-ClcgSG93.js.br +0 -0
- codex/static_root/assets/reader-ClcgSG93.js.gz +0 -0
- codex/static_root/assets/{relation-chips-NgDnInw_.3b5ba16f68f0.js → relation-chips-2vga5ApB.d94c344f909b.js} +1 -1
- codex/static_root/assets/relation-chips-2vga5ApB.d94c344f909b.js.br +0 -0
- codex/static_root/assets/relation-chips-2vga5ApB.d94c344f909b.js.gz +0 -0
- codex/static_root/assets/{relation-chips-NgDnInw_.js → relation-chips-2vga5ApB.js} +1 -1
- codex/static_root/assets/relation-chips-2vga5ApB.js.br +0 -0
- codex/static_root/assets/relation-chips-2vga5ApB.js.gz +0 -0
- codex/static_root/assets/{settings-drawer-BaQT27kc.js → settings-drawer-BOTI_tHr.03748f801e08.js} +2 -2
- codex/static_root/assets/settings-drawer-BOTI_tHr.03748f801e08.js.br +0 -0
- codex/static_root/assets/settings-drawer-BOTI_tHr.03748f801e08.js.gz +0 -0
- codex/static_root/assets/{settings-drawer-BaQT27kc.e43fc1527b66.js → settings-drawer-BOTI_tHr.js} +2 -2
- codex/static_root/assets/settings-drawer-BOTI_tHr.js.br +0 -0
- codex/static_root/assets/settings-drawer-BOTI_tHr.js.gz +0 -0
- codex/static_root/assets/{stats-tab-DoHb54IU.30d7deea7b9f.js → stats-tab-CBz_jhmH.9bdc41225f06.js} +1 -1
- codex/static_root/assets/stats-tab-CBz_jhmH.9bdc41225f06.js.br +0 -0
- codex/static_root/assets/stats-tab-CBz_jhmH.9bdc41225f06.js.gz +0 -0
- codex/static_root/assets/{stats-tab-DoHb54IU.js → stats-tab-CBz_jhmH.js} +1 -1
- codex/static_root/assets/stats-tab-CBz_jhmH.js.br +0 -0
- codex/static_root/assets/stats-tab-CBz_jhmH.js.gz +0 -0
- codex/static_root/assets/{task-tab-B88ucu1U.4f240e3d82c4.js → task-tab-B8sYV6Ia.90a8deec0214.js} +1 -1
- codex/static_root/assets/task-tab-B8sYV6Ia.90a8deec0214.js.br +0 -0
- codex/static_root/assets/task-tab-B8sYV6Ia.90a8deec0214.js.gz +0 -0
- codex/static_root/assets/{task-tab-B88ucu1U.js → task-tab-B8sYV6Ia.js} +1 -1
- codex/static_root/assets/task-tab-B8sYV6Ia.js.br +0 -0
- codex/static_root/assets/task-tab-B8sYV6Ia.js.gz +0 -0
- codex/static_root/assets/to-case-CnnzURtN.f0e4b42ddb89.js +1 -0
- codex/static_root/assets/to-case-CnnzURtN.js +1 -0
- codex/static_root/assets/{unauthorized-AnKtlgGy.62ee74d4373c.js → unauthorized-D5-FvA2_.61b1cd239b47.js} +1 -1
- codex/static_root/assets/unauthorized-D5-FvA2_.61b1cd239b47.js.br +0 -0
- codex/static_root/assets/unauthorized-D5-FvA2_.61b1cd239b47.js.gz +0 -0
- codex/static_root/assets/{unauthorized-AnKtlgGy.js → unauthorized-D5-FvA2_.js} +1 -1
- codex/static_root/assets/unauthorized-D5-FvA2_.js.br +0 -0
- codex/static_root/assets/unauthorized-D5-FvA2_.js.gz +0 -0
- codex/static_root/assets/{user-tab-BxtZ2u7W.161cc8f0dcce.js → user-tab-pzFjrggM.97c02ebee729.js} +1 -1
- codex/static_root/assets/user-tab-pzFjrggM.97c02ebee729.js.br +0 -0
- codex/static_root/assets/user-tab-pzFjrggM.97c02ebee729.js.gz +0 -0
- codex/static_root/assets/{user-tab-BxtZ2u7W.js → user-tab-pzFjrggM.js} +1 -1
- codex/static_root/assets/user-tab-pzFjrggM.js.br +0 -0
- codex/static_root/assets/user-tab-pzFjrggM.js.gz +0 -0
- codex/static_root/{manifest.3851c028b0cb.json → manifest.a18726680d5f.json} +222 -222
- codex/static_root/manifest.a18726680d5f.json.br +0 -0
- codex/static_root/manifest.a18726680d5f.json.gz +0 -0
- codex/static_root/manifest.json +222 -222
- codex/static_root/manifest.json.br +0 -0
- codex/static_root/manifest.json.gz +0 -0
- codex/static_root/staticfiles.json +1 -1
- codex/views/browser/cover.py +13 -15
- codex/views/browser/metadata.py +5 -5
- codex/views/reader/page.py +13 -2
- codex/views/util.py +13 -0
- {codex-1.6.0a11.dist-info → codex-1.6.0a12.dist-info}/METADATA +1 -1
- {codex-1.6.0a11.dist-info → codex-1.6.0a12.dist-info}/RECORD +234 -236
- codex/static_root/assets/VCheckbox-BwDyxhU7.831b00df198a.js.br +0 -0
- codex/static_root/assets/VCheckbox-BwDyxhU7.831b00df198a.js.gz +0 -0
- codex/static_root/assets/VCheckbox-BwDyxhU7.js.br +0 -0
- codex/static_root/assets/VCheckbox-BwDyxhU7.js.gz +0 -0
- codex/static_root/assets/VCheckboxBtn-DVq5lDK4.5e6464c8d80a.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-DVq5lDK4.5e6464c8d80a.js.gz +0 -0
- codex/static_root/assets/VCheckboxBtn-DVq5lDK4.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-DVq5lDK4.js.gz +0 -0
- codex/static_root/assets/VCombobox-BASCOy0n.7801caa5e192.js.br +0 -0
- codex/static_root/assets/VCombobox-BASCOy0n.7801caa5e192.js.gz +0 -0
- codex/static_root/assets/VCombobox-BASCOy0n.js.br +0 -0
- codex/static_root/assets/VCombobox-BASCOy0n.js.gz +0 -0
- codex/static_root/assets/VDialog-DnbL_v_u.0bd289bda8e6.js.br +0 -0
- codex/static_root/assets/VDialog-DnbL_v_u.0bd289bda8e6.js.gz +0 -0
- codex/static_root/assets/VDialog-DnbL_v_u.js.br +0 -0
- codex/static_root/assets/VDialog-DnbL_v_u.js.gz +0 -0
- codex/static_root/assets/VExpansionPanels-B8nz8lN5.56e5adec4f62.js.br +0 -0
- codex/static_root/assets/VExpansionPanels-B8nz8lN5.56e5adec4f62.js.gz +0 -0
- codex/static_root/assets/VExpansionPanels-B8nz8lN5.js.br +0 -0
- codex/static_root/assets/VExpansionPanels-B8nz8lN5.js.gz +0 -0
- codex/static_root/assets/VRadioGroup-BgwJ_b94.55f84f3429b9.js.br +0 -0
- codex/static_root/assets/VRadioGroup-BgwJ_b94.55f84f3429b9.js.gz +0 -0
- codex/static_root/assets/VRadioGroup-BgwJ_b94.js.br +0 -0
- codex/static_root/assets/VRadioGroup-BgwJ_b94.js.gz +0 -0
- codex/static_root/assets/VSelect-BoKpXxwe.a88f065dfe3b.js.br +0 -0
- codex/static_root/assets/VSelect-BoKpXxwe.a88f065dfe3b.js.gz +0 -0
- codex/static_root/assets/VSelect-BoKpXxwe.js.br +0 -0
- codex/static_root/assets/VSelect-BoKpXxwe.js.gz +0 -0
- codex/static_root/assets/VSelectionControl-BXJGg8No.0cb36d941d2a.js.br +0 -0
- codex/static_root/assets/VSelectionControl-BXJGg8No.0cb36d941d2a.js.gz +0 -0
- codex/static_root/assets/VSelectionControl-BXJGg8No.js.br +0 -0
- codex/static_root/assets/VSelectionControl-BXJGg8No.js.gz +0 -0
- codex/static_root/assets/VSlideGroup-C2TL5E34.775adeb5a973.js.br +0 -0
- codex/static_root/assets/VSlideGroup-C2TL5E34.775adeb5a973.js.gz +0 -0
- codex/static_root/assets/VSlideGroup-C2TL5E34.js.br +0 -0
- codex/static_root/assets/VSlideGroup-C2TL5E34.js.gz +0 -0
- codex/static_root/assets/VTable-C0FptljX.e4840b635c6e.js.br +0 -0
- codex/static_root/assets/VTable-C0FptljX.e4840b635c6e.js.gz +0 -0
- codex/static_root/assets/VTable-C0FptljX.js.br +0 -0
- codex/static_root/assets/VTable-C0FptljX.js.gz +0 -0
- codex/static_root/assets/VTextField-Aw8nKhY6.428732ac22d7.js.br +0 -0
- codex/static_root/assets/VTextField-Aw8nKhY6.428732ac22d7.js.gz +0 -0
- codex/static_root/assets/VTextField-Aw8nKhY6.js.br +0 -0
- codex/static_root/assets/VTextField-Aw8nKhY6.js.gz +0 -0
- codex/static_root/assets/VWindowItem-D9j_u9MX.828acf3dee55.js.br +0 -0
- codex/static_root/assets/VWindowItem-D9j_u9MX.828acf3dee55.js.gz +0 -0
- codex/static_root/assets/VWindowItem-D9j_u9MX.js.br +0 -0
- codex/static_root/assets/VWindowItem-D9j_u9MX.js.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-Dmn4wEY3.af7e8490f0e3.js.br +0 -0
- codex/static_root/assets/admin-drawer-panel-Dmn4wEY3.js.br +0 -0
- codex/static_root/assets/admin-jf7zR2p_.4741813376d2.js +0 -1
- codex/static_root/assets/admin-jf7zR2p_.4741813376d2.js.br +0 -0
- codex/static_root/assets/admin-jf7zR2p_.4741813376d2.js.gz +0 -0
- codex/static_root/assets/admin-jf7zR2p_.js +0 -1
- codex/static_root/assets/admin-jf7zR2p_.js.br +0 -0
- codex/static_root/assets/admin-jf7zR2p_.js.gz +0 -0
- codex/static_root/assets/browser-BKZuypzF.86e5333bd7d6.js +0 -1
- codex/static_root/assets/browser-BKZuypzF.86e5333bd7d6.js.br +0 -0
- codex/static_root/assets/browser-BKZuypzF.86e5333bd7d6.js.gz +0 -0
- codex/static_root/assets/browser-BKZuypzF.js +0 -1
- codex/static_root/assets/browser-BKZuypzF.js.br +0 -0
- codex/static_root/assets/browser-BKZuypzF.js.gz +0 -0
- codex/static_root/assets/browser-D7xci5SY.css +0 -1
- codex/static_root/assets/browser-D7xci5SY.css.br +0 -0
- codex/static_root/assets/browser-D7xci5SY.css.gz +0 -0
- codex/static_root/assets/browser-D7xci5SY.fa305e14005c.css +0 -1
- codex/static_root/assets/browser-D7xci5SY.fa305e14005c.css.br +0 -0
- codex/static_root/assets/browser-D7xci5SY.fa305e14005c.css.gz +0 -0
- codex/static_root/assets/change-password-dialog-Cc1e755p.b29d200537bf.js.br +0 -0
- codex/static_root/assets/change-password-dialog-Cc1e755p.b29d200537bf.js.gz +0 -0
- codex/static_root/assets/change-password-dialog-Cc1e755p.js.br +0 -0
- codex/static_root/assets/change-password-dialog-Cc1e755p.js.gz +0 -0
- codex/static_root/assets/confirm-dialog-Cyr7HAAz.8ab1d8b6241a.js.br +0 -0
- codex/static_root/assets/confirm-dialog-Cyr7HAAz.8ab1d8b6241a.js.gz +0 -0
- codex/static_root/assets/confirm-dialog-Cyr7HAAz.js.br +0 -0
- codex/static_root/assets/confirm-dialog-Cyr7HAAz.js.gz +0 -0
- codex/static_root/assets/datetime-column-Cqi99Ze-.49d0ce340183.js.br +0 -0
- codex/static_root/assets/datetime-column-Cqi99Ze-.49d0ce340183.js.gz +0 -0
- codex/static_root/assets/datetime-column-Cqi99Ze-.js.br +0 -0
- codex/static_root/assets/datetime-column-Cqi99Ze-.js.gz +0 -0
- codex/static_root/assets/filter-CuocBoS2.885d1b8d44cc.js.br +0 -0
- codex/static_root/assets/filter-CuocBoS2.885d1b8d44cc.js.gz +0 -0
- codex/static_root/assets/filter-CuocBoS2.js.br +0 -0
- codex/static_root/assets/filter-CuocBoS2.js.gz +0 -0
- codex/static_root/assets/flag-tab-B5dRCBAt.e858f7ec9f55.js.br +0 -0
- codex/static_root/assets/flag-tab-B5dRCBAt.e858f7ec9f55.js.gz +0 -0
- codex/static_root/assets/flag-tab-B5dRCBAt.js.br +0 -0
- codex/static_root/assets/flag-tab-B5dRCBAt.js.gz +0 -0
- codex/static_root/assets/group-tab-_nT2o04v.c06032b254dc.js.br +0 -0
- codex/static_root/assets/group-tab-_nT2o04v.c06032b254dc.js.gz +0 -0
- codex/static_root/assets/group-tab-_nT2o04v.js.br +0 -0
- codex/static_root/assets/group-tab-_nT2o04v.js.gz +0 -0
- codex/static_root/assets/http-error-CXo9qLiW.d5a337f399c9.js.br +0 -0
- codex/static_root/assets/http-error-CXo9qLiW.d5a337f399c9.js.gz +0 -0
- codex/static_root/assets/http-error-CXo9qLiW.js.br +0 -0
- codex/static_root/assets/http-error-CXo9qLiW.js.gz +0 -0
- codex/static_root/assets/library-tab-lz5QMD4i.2f04b226ebe8.js.br +0 -0
- codex/static_root/assets/library-tab-lz5QMD4i.2f04b226ebe8.js.gz +0 -0
- codex/static_root/assets/library-tab-lz5QMD4i.js.br +0 -0
- codex/static_root/assets/library-tab-lz5QMD4i.js.gz +0 -0
- codex/static_root/assets/main-17i0EBCp.7093c3f755f1.js +0 -32
- codex/static_root/assets/main-17i0EBCp.7093c3f755f1.js.br +0 -0
- codex/static_root/assets/main-17i0EBCp.7093c3f755f1.js.gz +0 -0
- codex/static_root/assets/main-17i0EBCp.js +0 -32
- codex/static_root/assets/main-17i0EBCp.js.br +0 -0
- codex/static_root/assets/main-17i0EBCp.js.gz +0 -0
- codex/static_root/assets/pagination-toolbar-BBvsIXTd.ad891da6617a.js +0 -1
- codex/static_root/assets/pagination-toolbar-BBvsIXTd.ad891da6617a.js.br +0 -0
- codex/static_root/assets/pagination-toolbar-BBvsIXTd.ad891da6617a.js.gz +0 -0
- codex/static_root/assets/pagination-toolbar-BBvsIXTd.js +0 -1
- codex/static_root/assets/pagination-toolbar-BBvsIXTd.js.br +0 -0
- codex/static_root/assets/pagination-toolbar-BBvsIXTd.js.gz +0 -0
- codex/static_root/assets/pagination-toolbar-B_zL7BQQ.css +0 -1
- codex/static_root/assets/pagination-toolbar-B_zL7BQQ.css.br +0 -0
- codex/static_root/assets/pagination-toolbar-B_zL7BQQ.css.gz +0 -0
- codex/static_root/assets/pagination-toolbar-B_zL7BQQ.d1311bd41edc.css +0 -1
- codex/static_root/assets/pagination-toolbar-B_zL7BQQ.d1311bd41edc.css.br +0 -0
- codex/static_root/assets/pagination-toolbar-B_zL7BQQ.d1311bd41edc.css.gz +0 -0
- codex/static_root/assets/pdf-doc-BpZdmj2g.93e86d9c7927.js.br +0 -0
- codex/static_root/assets/pdf-doc-BpZdmj2g.93e86d9c7927.js.gz +0 -0
- codex/static_root/assets/pdf-doc-BpZdmj2g.js.br +0 -0
- codex/static_root/assets/pdf-doc-BpZdmj2g.js.gz +0 -0
- codex/static_root/assets/reader-CRJUR2qj.55d626f0f9fa.js.br +0 -0
- codex/static_root/assets/reader-CRJUR2qj.55d626f0f9fa.js.gz +0 -0
- codex/static_root/assets/reader-CRJUR2qj.js.br +0 -0
- codex/static_root/assets/reader-CRJUR2qj.js.gz +0 -0
- codex/static_root/assets/relation-chips-NgDnInw_.3b5ba16f68f0.js.br +0 -0
- codex/static_root/assets/relation-chips-NgDnInw_.3b5ba16f68f0.js.gz +0 -0
- codex/static_root/assets/relation-chips-NgDnInw_.js.br +0 -0
- codex/static_root/assets/relation-chips-NgDnInw_.js.gz +0 -0
- codex/static_root/assets/settings-drawer-BaQT27kc.e43fc1527b66.js.br +0 -0
- codex/static_root/assets/settings-drawer-BaQT27kc.e43fc1527b66.js.gz +0 -0
- codex/static_root/assets/settings-drawer-BaQT27kc.js.br +0 -0
- codex/static_root/assets/settings-drawer-BaQT27kc.js.gz +0 -0
- codex/static_root/assets/stats-tab-DoHb54IU.30d7deea7b9f.js.br +0 -0
- codex/static_root/assets/stats-tab-DoHb54IU.30d7deea7b9f.js.gz +0 -0
- codex/static_root/assets/stats-tab-DoHb54IU.js.br +0 -0
- codex/static_root/assets/stats-tab-DoHb54IU.js.gz +0 -0
- codex/static_root/assets/task-tab-B88ucu1U.4f240e3d82c4.js.br +0 -0
- codex/static_root/assets/task-tab-B88ucu1U.4f240e3d82c4.js.gz +0 -0
- codex/static_root/assets/task-tab-B88ucu1U.js.br +0 -0
- codex/static_root/assets/task-tab-B88ucu1U.js.gz +0 -0
- codex/static_root/assets/to-case-B7MjLIw-.08fc8412de69.js +0 -1
- codex/static_root/assets/to-case-B7MjLIw-.08fc8412de69.js.br +0 -0
- codex/static_root/assets/to-case-B7MjLIw-.js +0 -1
- codex/static_root/assets/to-case-B7MjLIw-.js.br +0 -0
- codex/static_root/assets/unauthorized-AnKtlgGy.62ee74d4373c.js.br +0 -0
- codex/static_root/assets/unauthorized-AnKtlgGy.62ee74d4373c.js.gz +0 -0
- codex/static_root/assets/unauthorized-AnKtlgGy.js.br +0 -0
- codex/static_root/assets/unauthorized-AnKtlgGy.js.gz +0 -0
- codex/static_root/assets/user-tab-BxtZ2u7W.161cc8f0dcce.js.br +0 -0
- codex/static_root/assets/user-tab-BxtZ2u7W.161cc8f0dcce.js.gz +0 -0
- codex/static_root/assets/user-tab-BxtZ2u7W.js.br +0 -0
- codex/static_root/assets/user-tab-BxtZ2u7W.js.gz +0 -0
- codex/static_root/manifest.3851c028b0cb.json.br +0 -0
- codex/static_root/manifest.3851c028b0cb.json.gz +0 -0
- {codex-1.6.0a11.dist-info → codex-1.6.0a12.dist-info}/LICENSE +0 -0
- {codex-1.6.0a11.dist-info → codex-1.6.0a12.dist-info}/WHEEL +0 -0
- {codex-1.6.0a11.dist-info → codex-1.6.0a12.dist-info}/entry_points.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{E as ee,
|
|
1
|
+
import{E as ee,be as G,M as te,cu as le,ay as oe,cU as ne,O as se,Q as ae,cv as ie,b_ as re,s as x,h as g,I as D,ag as L,a as ue,R as ce,S as h,cm as q,aP as B,dc as fe}from"./admin-drawer-panel-BF-h3Wm0.js";import{n as ve}from"./main-x0Pcl23A.js";function de(l){let{selectedElement:n,containerElement:o,isRtl:i,isHorizontal:v}=l;const d=z(v,o),a=U(v,i,o),p=z(v,n),c=K(v,n),S=p*.4;return a>c?c-S:a+d<c+p?c-d+p+S:a}function pe(l){let{selectedElement:n,containerElement:o,isHorizontal:i}=l;const v=z(i,o),d=K(i,n),a=z(i,n);return d-v/2+a/2}function N(l,n){const o=l?"scrollWidth":"scrollHeight";return(n==null?void 0:n[o])||0}function he(l,n){const o=l?"clientWidth":"clientHeight";return(n==null?void 0:n[o])||0}function U(l,n,o){if(!o)return 0;const{scrollLeft:i,offsetWidth:v,scrollWidth:d}=o;return l?n?d-v+i:i:o.scrollTop}function z(l,n){const o=l?"offsetWidth":"offsetHeight";return(n==null?void 0:n[o])||0}function K(l,n){const o=l?"offsetLeft":"offsetTop";return(n==null?void 0:n[o])||0}const ge=Symbol.for("vuetify:v-slide-group"),Se=ee({centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:ge},nextIcon:{type:G,default:"$next"},prevIcon:{type:G,default:"$prev"},showArrows:{type:[Boolean,String],validator:l=>typeof l=="boolean"||["always","desktop","mobile"].includes(l)},...te(),...le({mobile:null}),...oe(),...ne({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),xe=se()({name:"VSlideGroup",props:Se(),emits:{"update:modelValue":l=>!0},setup(l,n){let{slots:o}=n;const{isRtl:i}=ae(),{displayClasses:v,mobile:d}=ie(l),a=re(l,l.symbol),p=x(!1),c=x(0),S=x(0),_=x(0),r=g(()=>l.direction==="horizontal"),{resizeRef:u,contentRect:w}=D(),{resizeRef:f,contentRect:R}=D(),O=ve(),A=g(()=>({container:u.el,duration:200,easing:"easeOutQuart"})),Q=g(()=>a.selected.value.length?a.items.value.findIndex(e=>e.id===a.selected.value[0]):-1),$=g(()=>a.selected.value.length?a.items.value.findIndex(e=>e.id===a.selected.value[a.selected.value.length-1]):-1);if(L){let e=-1;ue(()=>[a.selected.value,w.value,R.value,r.value],()=>{cancelAnimationFrame(e),e=requestAnimationFrame(()=>{if(w.value&&R.value){const t=r.value?"width":"height";S.value=w.value[t],_.value=R.value[t],p.value=S.value+1<_.value}if(Q.value>=0&&f.el){const t=f.el.children[$.value];C(t,l.centerActive)}})})}const b=x(!1);function C(e,t){let s=0;t?s=pe({containerElement:u.el,isHorizontal:r.value,selectedElement:e}):s=de({containerElement:u.el,isHorizontal:r.value,isRtl:i.value,selectedElement:e}),W(s)}function W(e){if(!L||!u.el)return;const t=z(r.value,u.el),s=U(r.value,i.value,u.el);if(!(N(r.value,u.el)<=t||Math.abs(e-s)<16)){if(r.value&&i.value&&u.el){const{scrollWidth:k,offsetWidth:P}=u.el;e=k-P-e}r.value?O.horizontal(e,A.value):O(e,A.value)}}function j(e){const{scrollTop:t,scrollLeft:s}=e.target;c.value=r.value?s:t}function J(e){if(b.value=!0,!(!p.value||!f.el)){for(const t of e.composedPath())for(const s of f.el.children)if(s===t){C(s);return}}}function X(e){b.value=!1}let E=!1;function Y(e){var t;!E&&!b.value&&!(e.relatedTarget&&((t=f.el)!=null&&t.contains(e.relatedTarget)))&&m(),E=!1}function M(){E=!0}function Z(e){if(!f.el)return;function t(s){e.preventDefault(),m(s)}r.value?e.key==="ArrowRight"?t(i.value?"prev":"next"):e.key==="ArrowLeft"&&t(i.value?"next":"prev"):e.key==="ArrowDown"?t("next"):e.key==="ArrowUp"&&t("prev"),e.key==="Home"?t("first"):e.key==="End"&&t("last")}function m(e){var s,y;if(!f.el)return;let t;if(!e)t=fe(f.el)[0];else if(e==="next"){if(t=(s=f.el.querySelector(":focus"))==null?void 0:s.nextElementSibling,!t)return m("first")}else if(e==="prev"){if(t=(y=f.el.querySelector(":focus"))==null?void 0:y.previousElementSibling,!t)return m("last")}else e==="first"?t=f.el.firstElementChild:e==="last"&&(t=f.el.lastElementChild);t&&t.focus({preventScroll:!0})}function T(e){const t=r.value&&i.value?-1:1,s=(e==="prev"?-t:t)*S.value;let y=c.value+s;if(r.value&&i.value&&u.el){const{scrollWidth:k,offsetWidth:P}=u.el;y+=k-P}W(y)}const F=g(()=>({next:a.next,prev:a.prev,select:a.select,isSelected:a.isSelected})),I=g(()=>{switch(l.showArrows){case"always":return!0;case"desktop":return!d.value;case!0:return p.value||Math.abs(c.value)>0;case"mobile":return d.value||p.value||Math.abs(c.value)>0;default:return!d.value&&(p.value||Math.abs(c.value)>0)}}),V=g(()=>Math.abs(c.value)>1),H=g(()=>{if(!u.value)return!1;const e=N(r.value,u.el),t=he(r.value,u.el);return e-t-Math.abs(c.value)>1});return ce(()=>h(l.tag,{class:["v-slide-group",{"v-slide-group--vertical":!r.value,"v-slide-group--has-affixes":I.value,"v-slide-group--is-overflowing":p.value},v.value,l.class],style:l.style,tabindex:b.value||a.selected.value.length?-1:0,onFocus:Y},{default:()=>{var e,t,s;return[I.value&&h("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!V.value}],onMousedown:M,onClick:()=>V.value&&T("prev")},[((e=o.prev)==null?void 0:e.call(o,F.value))??h(q,null,{default:()=>[h(B,{icon:i.value?l.nextIcon:l.prevIcon},null)]})]),h("div",{key:"container",ref:u,class:"v-slide-group__container",onScroll:j},[h("div",{ref:f,class:"v-slide-group__content",onFocusin:J,onFocusout:X,onKeydown:Z},[(t=o.default)==null?void 0:t.call(o,F.value)])]),I.value&&h("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!H.value}],onMousedown:M,onClick:()=>H.value&&T("next")},[((s=o.next)==null?void 0:s.call(o,F.value))??h(q,null,{default:()=>[h(B,{icon:i.value?l.prevIcon:l.nextIcon},null)]})])]}})),{selected:a.selected,scrollTo:T,scrollOffset:c,focus:m}}});export{xe as V,Se as m};
|
|
Binary file
|
|
Binary file
|
codex/static_root/assets/{VTable-C0FptljX.e4840b635c6e.js → VTable-CrIiBr9q.b4669247af45.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{E as h,M as m,ax as d,ay as b,N as v,O as f,P as c,az as u,R as g,S as t,K as x}from"./admin-drawer-panel-
|
|
1
|
+
import{E as h,M as m,ax as d,ay as b,N as v,O as f,P as c,az as u,R as g,S as t,K as x}from"./admin-drawer-panel-BF-h3Wm0.js";const y=h({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...m(),...d(),...b(),...v()},"VTable"),V=f()({name:"VTable",props:y(),setup(a,r){let{slots:e,emit:T}=r;const{themeClasses:i}=c(a),{densityClasses:n}=u(a);return g(()=>t(a.tag,{class:["v-table",{"v-table--fixed-height":!!a.height,"v-table--fixed-header":a.fixedHeader,"v-table--fixed-footer":a.fixedFooter,"v-table--has-top":!!e.top,"v-table--has-bottom":!!e.bottom,"v-table--hover":a.hover},i.value,n.value,a.class],style:a.style},{default:()=>{var o,s,l;return[(o=e.top)==null?void 0:o.call(e),e.default?t("div",{class:"v-table__wrapper",style:{height:x(a.height)}},[t("table",null,[e.default()])]):(s=e.wrapper)==null?void 0:s.call(e),(l=e.bottom)==null?void 0:l.call(e)]}})),{}}});export{V,y as m};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{E as h,M as m,ax as d,ay as b,N as v,O as f,P as c,az as u,R as g,S as t,K as x}from"./admin-drawer-panel-
|
|
1
|
+
import{E as h,M as m,ax as d,ay as b,N as v,O as f,P as c,az as u,R as g,S as t,K as x}from"./admin-drawer-panel-BF-h3Wm0.js";const y=h({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...m(),...d(),...b(),...v()},"VTable"),V=f()({name:"VTable",props:y(),setup(a,r){let{slots:e,emit:T}=r;const{themeClasses:i}=c(a),{densityClasses:n}=u(a);return g(()=>t(a.tag,{class:["v-table",{"v-table--fixed-height":!!a.height,"v-table--fixed-header":a.fixedHeader,"v-table--fixed-footer":a.fixedFooter,"v-table--has-top":!!e.top,"v-table--has-bottom":!!e.bottom,"v-table--hover":a.hover},i.value,n.value,a.class],style:a.style},{default:()=>{var o,s,l;return[(o=e.top)==null?void 0:o.call(e),e.default?t("div",{class:"v-table__wrapper",style:{height:x(a.height)}},[t("table",null,[e.default()])]):(s=e.wrapper)==null?void 0:s.call(e),(l=e.bottom)==null?void 0:l.call(e)]}})),{}}});export{V,y as m};
|
|
Binary file
|
|
Binary file
|
codex/static_root/assets/{VTextField-Aw8nKhY6.428732ac22d7.js → VTextField-HAAxrpNi.6f6dcb50079a.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{V as me,D as te,W as be,_ as ye,Y as ge,Z as E,aF as L,aO as Ce,U as M,aG as xe,aH as le,S as t,E as N,M as Y,O,r as T,R as q,at as oe,b3 as he,bq as ke,h as m,aT as J,b8 as ie,b7 as Ve,bf as X,d3 as Z,d1 as _e,bg as Fe,N as Ie,P as Pe,cA as Se,bh as Be,Q as we,F as Re,aA as $e,aB as Te,aq as Ae,a as De,dn as Ee,K as Le,au as pe,cC as Me,di as Ne,bi as Oe,as as W,dp as qe,dq as Ue,av as Ke,b4 as je,aw as We,cB as Ye,b6 as ze,dr as Ge,n as ne,ds as He}from"./admin-drawer-panel-Dmn4wEY3.js";import{C as Qe}from"./VDialog-DnbL_v_u.js";import{h as Xe,i as Ze,b as Je,m as et,u as se,j as tt,a as lt,V as ae}from"./VSelectionControl-BXJGg8No.js";const nt={name:"SubmitFooter",components:{ConfirmFooter:Qe},props:{verb:{type:String,required:!0},table:{type:String,required:!0},label:{type:String,default:""},disabled:{type:Boolean,default:!1}},emits:["cancel","submit"],computed:{...me(te,{errors:e=>e.form.errors,success:e=>e.form.success}),confirmText(){const e=this.label||this.table;return`${this.verb} ${e}`}},beforeMount(){this.clearErrors()},methods:{...be(te,["clearErrors"])}},at={key:0,class:"errors"},ot={key:1,class:"success"},it={key:2};function st(e,o,a,k,l,s){const b=ge("ConfirmFooter");return E(),L("footer",null,[Ce("div",null,[e.errors&&e.errors.length>0?(E(),L("small",at,[(E(!0),L(M,null,xe(e.errors,(V,d)=>(E(),L("div",{key:d},le(V),1))),128))])):e.success?(E(),L("small",ot,le(e.success),1)):(E(),L("small",it," "))]),t(b,{"confirm-text":s.confirmText,disabled:a.disabled,onConfirm:o[0]||(o[0]=V=>e.$emit("submit")),onCancel:o[1]||(o[1]=V=>e.$emit("cancel"))},null,8,["confirm-text","disabled"])])}const xt=ye(nt,[["render",st],["__scopeId","data-v-d960409d"]]),rt=N({...Y(),...Xe()},"VForm"),ht=O()({name:"VForm",props:rt(),emits:{"update:modelValue":e=>!0,submit:e=>!0},setup(e,o){let{slots:a,emit:k}=o;const l=Ze(e),s=T();function b(d){d.preventDefault(),l.reset()}function V(d){const c=d,r=l.validate();c.then=r.then.bind(r),c.catch=r.catch.bind(r),c.finally=r.finally.bind(r),k("submit",c),c.defaultPrevented||r.then(F=>{var P;let{valid:p}=F;p&&((P=s.value)==null||P.submit())}),c.preventDefault()}return q(()=>{var d;return t("form",{ref:s,class:["v-form",e.class],style:e.style,novalidate:!0,onReset:b,onSubmit:V},[(d=a.default)==null?void 0:d.call(a,l)])}),oe(l,s)}}),ut=N({active:Boolean,disabled:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...Y(),...he({transition:{component:ke}})},"VCounter"),dt=O()({name:"VCounter",functional:!0,props:ut(),setup(e,o){let{slots:a}=o;const k=m(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return q(()=>t(Ve,{transition:e.transition},{default:()=>[J(t("div",{class:["v-counter",{"text-error":e.max&&!e.disabled&&parseFloat(e.value)>parseFloat(e.max)},e.class],style:e.style},[a.default?a.default({counter:k.value,max:e.max,value:e.value}):k.value]),[[ie,e.active]])]})),{}}}),ct=N({floating:Boolean,...Y()},"VFieldLabel"),j=O()({name:"VFieldLabel",props:ct(),setup(e,o){let{slots:a}=o;return q(()=>t(Je,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},a)),{}}}),ft=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],re=N({appendInnerIcon:X,bgColor:String,clearable:Boolean,clearIcon:{type:X,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:X,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>ft.includes(e)},"onClick:clear":Z(),"onClick:appendInner":Z(),"onClick:prependInner":Z(),...Y(),..._e(),...Fe(),...Ie()},"VField"),ue=O()({name:"VField",inheritAttrs:!1,props:{id:String,...et(),...re()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,o){let{attrs:a,emit:k,slots:l}=o;const{themeClasses:s}=Pe(e),{loaderClasses:b}=Se(e),{focusClasses:V,isFocused:d,focus:c,blur:r}=se(e),{InputIcon:F}=tt(e),{roundedClasses:p}=Be(e),{rtlClasses:P}=we(),S=m(()=>e.dirty||e.active),C=m(()=>!e.singleLine&&!!(e.label||l.label)),z=Re(),f=m(()=>e.id||`input-${z}`),G=m(()=>`${f.value}-messages`),U=T(),A=T(),K=T(),n=m(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:y,backgroundColorStyles:g}=$e(Te(e,"bgColor")),{textColorClasses:x,textColorStyles:H}=Ae(m(()=>e.error||e.disabled?void 0:S.value&&d.value?e.color:e.baseColor));De(S,i=>{if(C.value){const u=U.value.$el,h=A.value.$el;requestAnimationFrame(()=>{const _=Ee(u),v=h.getBoundingClientRect(),D=v.x-_.x,w=v.y-_.y-(_.height/2-v.height/2),R=v.width/.75,$=Math.abs(R-_.width)>1?{maxWidth:Le(R)}:void 0,de=getComputedStyle(u),ee=getComputedStyle(h),ce=parseFloat(de.transitionDuration)*1e3||150,fe=parseFloat(ee.getPropertyValue("--v-field-label-scale")),ve=ee.getPropertyValue("color");u.style.visibility="visible",h.style.visibility="hidden",pe(u,{transform:`translate(${D}px, ${w}px) scale(${fe})`,color:ve,...$},{duration:ce,easing:Ke,direction:i?"normal":"reverse"}).finished.then(()=>{u.style.removeProperty("visibility"),h.style.removeProperty("visibility")})})}},{flush:"post"});const B=m(()=>({isActive:S,isFocused:d,controlRef:K,blur:r,focus:c}));function Q(i){i.target!==document.activeElement&&i.preventDefault()}function I(i){var u;i.key!=="Enter"&&i.key!==" "||(i.preventDefault(),i.stopPropagation(),(u=e["onClick:clear"])==null||u.call(e,new MouseEvent("click")))}return q(()=>{var D,w,R;const i=e.variant==="outlined",u=!!(l["prepend-inner"]||e.prependInnerIcon),h=!!(e.clearable||l.clear),_=!!(l["append-inner"]||e.appendInnerIcon||h),v=()=>l.label?l.label({...B.value,label:e.label,props:{for:f.value}}):e.label;return t("div",W({class:["v-field",{"v-field--active":S.value,"v-field--appended":_,"v-field--center-affix":e.centerAffix??!n.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":u,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!v(),[`v-field--variant-${e.variant}`]:!0},s.value,y.value,V.value,b.value,p.value,P.value,e.class],style:[g.value,e.style],onClick:Q},a),[t("div",{class:"v-field__overlay"},null),t(Me,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:l.loader}),u&&t("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&t(F,{key:"prepend-icon",name:"prependInner"},null),(D=l["prepend-inner"])==null?void 0:D.call(l,B.value)]),t("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&C.value&&t(j,{key:"floating-label",ref:A,class:[x.value],floating:!0,for:f.value,style:H.value},{default:()=>[v()]}),t(j,{ref:U,for:f.value},{default:()=>[v()]}),(w=l.default)==null?void 0:w.call(l,{...B.value,props:{id:f.value,class:"v-field__input","aria-describedby":G.value},focus:c,blur:r})]),h&&t(Ne,{key:"clear"},{default:()=>[J(t("div",{class:"v-field__clearable",onMousedown:$=>{$.preventDefault(),$.stopPropagation()}},[t(Oe,{defaults:{VIcon:{icon:e.clearIcon}}},{default:()=>[l.clear?l.clear({...B.value,props:{onKeydown:I,onFocus:c,onBlur:r,onClick:e["onClick:clear"]}}):t(F,{name:"clear",onKeydown:I,onFocus:c,onBlur:r},null)]})]),[[ie,e.dirty]])]}),_&&t("div",{key:"append",class:"v-field__append-inner"},[(R=l["append-inner"])==null?void 0:R.call(l,B.value),e.appendInnerIcon&&t(F,{key:"append-icon",name:"appendInner"},null)]),t("div",{class:["v-field__outline",x.value],style:H.value},[i&&t(M,null,[t("div",{class:"v-field__outline__start"},null),C.value&&t("div",{class:"v-field__outline__notch"},[t(j,{ref:A,floating:!0,for:f.value},{default:()=>[v()]})]),t("div",{class:"v-field__outline__end"},null)]),n.value&&C.value&&t(j,{ref:A,floating:!0,for:f.value},{default:()=>[v()]})])])}),{controlRef:K}}});function vt(e){const o=Object.keys(ue.props).filter(a=>!qe(a)&&a!=="class"&&a!=="style");return Ue(e,o)}const mt=["color","file","time","date","datetime-local","week","month"],bt=N({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...lt(),...re()},"VTextField"),kt=O()({name:"VTextField",directives:{Intersect:je},inheritAttrs:!1,props:bt(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,o){let{attrs:a,emit:k,slots:l}=o;const s=We(e,"modelValue"),{isFocused:b,focus:V,blur:d}=se(e),c=m(()=>typeof e.counterValue=="function"?e.counterValue(s.value):typeof e.counterValue=="number"?e.counterValue:(s.value??"").toString().length),r=m(()=>{if(a.maxlength)return a.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),F=m(()=>["plain","underlined"].includes(e.variant));function p(n,y){var g,x;!e.autofocus||!n||(x=(g=y[0].target)==null?void 0:g.focus)==null||x.call(g)}const P=T(),S=T(),C=T(),z=m(()=>mt.includes(e.type)||e.persistentPlaceholder||b.value||e.active);function f(){var n;C.value!==document.activeElement&&((n=C.value)==null||n.focus()),b.value||V()}function G(n){k("mousedown:control",n),n.target!==C.value&&(f(),n.preventDefault())}function U(n){f(),k("click:control",n)}function A(n){n.stopPropagation(),f(),ne(()=>{s.value=null,He(e["onClick:clear"],n)})}function K(n){var g;const y=n.target;if(s.value=y.value,(g=e.modelModifiers)!=null&&g.trim&&["text","search","password","tel","url"].includes(e.type)){const x=[y.selectionStart,y.selectionEnd];ne(()=>{y.selectionStart=x[0],y.selectionEnd=x[1]})}}return q(()=>{const n=!!(l.counter||e.counter!==!1&&e.counter!=null),y=!!(n||l.details),[g,x]=Ye(a),{modelValue:H,...B}=ae.filterProps(e),Q=vt(e);return t(ae,W({ref:P,modelValue:s.value,"onUpdate:modelValue":I=>s.value=I,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":F.value},e.class],style:e.style},g,B,{centerAffix:!F.value,focused:b.value}),{...l,default:I=>{let{id:i,isDisabled:u,isDirty:h,isReadonly:_,isValid:v}=I;return t(ue,W({ref:S,onMousedown:G,onClick:U,"onClick:clear":A,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},Q,{id:i.value,active:z.value||h.value,dirty:h.value||e.dirty,disabled:u.value,focused:b.value,error:v.value===!1}),{...l,default:D=>{let{props:{class:w,...R}}=D;const $=J(t("input",W({ref:C,value:s.value,onInput:K,autofocus:e.autofocus,readonly:_.value,disabled:u.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:f,onBlur:d},R,x),null),[[ze("intersect"),{handler:p},null,{once:!0}]]);return t(M,null,[e.prefix&&t("span",{class:"v-text-field__prefix"},[t("span",{class:"v-text-field__prefix__text"},[e.prefix])]),l.default?t("div",{class:w,"data-no-activator":""},[l.default(),$]):Ge($,{class:w}),e.suffix&&t("span",{class:"v-text-field__suffix"},[t("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:y?I=>{var i;return t(M,null,[(i=l.details)==null?void 0:i.call(l,I),n&&t(M,null,[t("span",null,null),t(dt,{active:e.persistentCounter||b.value,value:c.value,max:r.value,disabled:e.disabled},l.counter)])])}:void 0})}),oe({},P,S,C)}});export{xt as S,kt as V,ht as a,bt as m};
|
|
1
|
+
import{V as me,D as te,W as be,_ as ye,Y as ge,Z as E,aF as L,aO as Ce,U as M,aG as xe,aH as le,S as t,E as N,M as Y,O,r as T,R as U,at as oe,b3 as he,bp as ke,h as m,aT as J,bV as ie,b7 as Ve,be as X,d3 as Z,d1 as _e,bf as Fe,N as Ie,P as Pe,cA as Se,bg as Be,Q as we,F as Re,aA as $e,aB as Te,aq as Ae,a as De,dn as Ee,K as Le,au as pe,cC as Me,di as Ne,bh as Oe,as as W,dp as Ue,dq as qe,av as Ke,b4 as je,aw as We,cB as Ye,b6 as ze,dr as Ge,n as ne,ds as He}from"./admin-drawer-panel-BF-h3Wm0.js";import{C as Qe}from"./VDialog-D6HUFV6a.js";import{h as Xe,i as Ze,b as Je,m as et,u as se,j as tt,a as lt,V as ae}from"./VSelectionControl-BOKIwNZb.js";const nt={name:"SubmitFooter",components:{ConfirmFooter:Qe},props:{verb:{type:String,required:!0},table:{type:String,required:!0},label:{type:String,default:""},disabled:{type:Boolean,default:!1}},emits:["cancel","submit"],computed:{...me(te,{errors:e=>e.form.errors,success:e=>e.form.success}),confirmText(){const e=this.label||this.table;return`${this.verb} ${e}`}},beforeMount(){this.clearErrors()},methods:{...be(te,["clearErrors"])}},at={key:0,class:"errors"},ot={key:1,class:"success"},it={key:2};function st(e,o,a,k,l,s){const b=ge("ConfirmFooter");return E(),L("footer",null,[Ce("div",null,[e.errors&&e.errors.length>0?(E(),L("small",at,[(E(!0),L(M,null,xe(e.errors,(V,d)=>(E(),L("div",{key:d},le(V),1))),128))])):e.success?(E(),L("small",ot,le(e.success),1)):(E(),L("small",it," "))]),t(b,{"confirm-text":s.confirmText,disabled:a.disabled,onConfirm:o[0]||(o[0]=V=>e.$emit("submit")),onCancel:o[1]||(o[1]=V=>e.$emit("cancel"))},null,8,["confirm-text","disabled"])])}const xt=ye(nt,[["render",st],["__scopeId","data-v-d960409d"]]),rt=N({...Y(),...Xe()},"VForm"),ht=O()({name:"VForm",props:rt(),emits:{"update:modelValue":e=>!0,submit:e=>!0},setup(e,o){let{slots:a,emit:k}=o;const l=Ze(e),s=T();function b(d){d.preventDefault(),l.reset()}function V(d){const c=d,r=l.validate();c.then=r.then.bind(r),c.catch=r.catch.bind(r),c.finally=r.finally.bind(r),k("submit",c),c.defaultPrevented||r.then(F=>{var P;let{valid:p}=F;p&&((P=s.value)==null||P.submit())}),c.preventDefault()}return U(()=>{var d;return t("form",{ref:s,class:["v-form",e.class],style:e.style,novalidate:!0,onReset:b,onSubmit:V},[(d=a.default)==null?void 0:d.call(a,l)])}),oe(l,s)}}),ut=N({active:Boolean,disabled:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...Y(),...he({transition:{component:ke}})},"VCounter"),dt=O()({name:"VCounter",functional:!0,props:ut(),setup(e,o){let{slots:a}=o;const k=m(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return U(()=>t(Ve,{transition:e.transition},{default:()=>[J(t("div",{class:["v-counter",{"text-error":e.max&&!e.disabled&&parseFloat(e.value)>parseFloat(e.max)},e.class],style:e.style},[a.default?a.default({counter:k.value,max:e.max,value:e.value}):k.value]),[[ie,e.active]])]})),{}}}),ct=N({floating:Boolean,...Y()},"VFieldLabel"),j=O()({name:"VFieldLabel",props:ct(),setup(e,o){let{slots:a}=o;return U(()=>t(Je,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},a)),{}}}),ft=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],re=N({appendInnerIcon:X,bgColor:String,clearable:Boolean,clearIcon:{type:X,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:X,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>ft.includes(e)},"onClick:clear":Z(),"onClick:appendInner":Z(),"onClick:prependInner":Z(),...Y(),..._e(),...Fe(),...Ie()},"VField"),ue=O()({name:"VField",inheritAttrs:!1,props:{id:String,...et(),...re()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,o){let{attrs:a,emit:k,slots:l}=o;const{themeClasses:s}=Pe(e),{loaderClasses:b}=Se(e),{focusClasses:V,isFocused:d,focus:c,blur:r}=se(e),{InputIcon:F}=tt(e),{roundedClasses:p}=Be(e),{rtlClasses:P}=we(),S=m(()=>e.dirty||e.active),C=m(()=>!e.singleLine&&!!(e.label||l.label)),z=Re(),f=m(()=>e.id||`input-${z}`),G=m(()=>`${f.value}-messages`),q=T(),A=T(),K=T(),n=m(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:y,backgroundColorStyles:g}=$e(Te(e,"bgColor")),{textColorClasses:x,textColorStyles:H}=Ae(m(()=>e.error||e.disabled?void 0:S.value&&d.value?e.color:e.baseColor));De(S,i=>{if(C.value){const u=q.value.$el,h=A.value.$el;requestAnimationFrame(()=>{const _=Ee(u),v=h.getBoundingClientRect(),D=v.x-_.x,w=v.y-_.y-(_.height/2-v.height/2),R=v.width/.75,$=Math.abs(R-_.width)>1?{maxWidth:Le(R)}:void 0,de=getComputedStyle(u),ee=getComputedStyle(h),ce=parseFloat(de.transitionDuration)*1e3||150,fe=parseFloat(ee.getPropertyValue("--v-field-label-scale")),ve=ee.getPropertyValue("color");u.style.visibility="visible",h.style.visibility="hidden",pe(u,{transform:`translate(${D}px, ${w}px) scale(${fe})`,color:ve,...$},{duration:ce,easing:Ke,direction:i?"normal":"reverse"}).finished.then(()=>{u.style.removeProperty("visibility"),h.style.removeProperty("visibility")})})}},{flush:"post"});const B=m(()=>({isActive:S,isFocused:d,controlRef:K,blur:r,focus:c}));function Q(i){i.target!==document.activeElement&&i.preventDefault()}function I(i){var u;i.key!=="Enter"&&i.key!==" "||(i.preventDefault(),i.stopPropagation(),(u=e["onClick:clear"])==null||u.call(e,new MouseEvent("click")))}return U(()=>{var D,w,R;const i=e.variant==="outlined",u=!!(l["prepend-inner"]||e.prependInnerIcon),h=!!(e.clearable||l.clear),_=!!(l["append-inner"]||e.appendInnerIcon||h),v=()=>l.label?l.label({...B.value,label:e.label,props:{for:f.value}}):e.label;return t("div",W({class:["v-field",{"v-field--active":S.value,"v-field--appended":_,"v-field--center-affix":e.centerAffix??!n.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":u,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!v(),[`v-field--variant-${e.variant}`]:!0},s.value,y.value,V.value,b.value,p.value,P.value,e.class],style:[g.value,e.style],onClick:Q},a),[t("div",{class:"v-field__overlay"},null),t(Me,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:l.loader}),u&&t("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&t(F,{key:"prepend-icon",name:"prependInner"},null),(D=l["prepend-inner"])==null?void 0:D.call(l,B.value)]),t("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&C.value&&t(j,{key:"floating-label",ref:A,class:[x.value],floating:!0,for:f.value,style:H.value},{default:()=>[v()]}),t(j,{ref:q,for:f.value},{default:()=>[v()]}),(w=l.default)==null?void 0:w.call(l,{...B.value,props:{id:f.value,class:"v-field__input","aria-describedby":G.value},focus:c,blur:r})]),h&&t(Ne,{key:"clear"},{default:()=>[J(t("div",{class:"v-field__clearable",onMousedown:$=>{$.preventDefault(),$.stopPropagation()}},[t(Oe,{defaults:{VIcon:{icon:e.clearIcon}}},{default:()=>[l.clear?l.clear({...B.value,props:{onKeydown:I,onFocus:c,onBlur:r,onClick:e["onClick:clear"]}}):t(F,{name:"clear",onKeydown:I,onFocus:c,onBlur:r},null)]})]),[[ie,e.dirty]])]}),_&&t("div",{key:"append",class:"v-field__append-inner"},[(R=l["append-inner"])==null?void 0:R.call(l,B.value),e.appendInnerIcon&&t(F,{key:"append-icon",name:"appendInner"},null)]),t("div",{class:["v-field__outline",x.value],style:H.value},[i&&t(M,null,[t("div",{class:"v-field__outline__start"},null),C.value&&t("div",{class:"v-field__outline__notch"},[t(j,{ref:A,floating:!0,for:f.value},{default:()=>[v()]})]),t("div",{class:"v-field__outline__end"},null)]),n.value&&C.value&&t(j,{ref:A,floating:!0,for:f.value},{default:()=>[v()]})])])}),{controlRef:K}}});function vt(e){const o=Object.keys(ue.props).filter(a=>!Ue(a)&&a!=="class"&&a!=="style");return qe(e,o)}const mt=["color","file","time","date","datetime-local","week","month"],bt=N({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...lt(),...re()},"VTextField"),kt=O()({name:"VTextField",directives:{Intersect:je},inheritAttrs:!1,props:bt(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,o){let{attrs:a,emit:k,slots:l}=o;const s=We(e,"modelValue"),{isFocused:b,focus:V,blur:d}=se(e),c=m(()=>typeof e.counterValue=="function"?e.counterValue(s.value):typeof e.counterValue=="number"?e.counterValue:(s.value??"").toString().length),r=m(()=>{if(a.maxlength)return a.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),F=m(()=>["plain","underlined"].includes(e.variant));function p(n,y){var g,x;!e.autofocus||!n||(x=(g=y[0].target)==null?void 0:g.focus)==null||x.call(g)}const P=T(),S=T(),C=T(),z=m(()=>mt.includes(e.type)||e.persistentPlaceholder||b.value||e.active);function f(){var n;C.value!==document.activeElement&&((n=C.value)==null||n.focus()),b.value||V()}function G(n){k("mousedown:control",n),n.target!==C.value&&(f(),n.preventDefault())}function q(n){f(),k("click:control",n)}function A(n){n.stopPropagation(),f(),ne(()=>{s.value=null,He(e["onClick:clear"],n)})}function K(n){var g;const y=n.target;if(s.value=y.value,(g=e.modelModifiers)!=null&&g.trim&&["text","search","password","tel","url"].includes(e.type)){const x=[y.selectionStart,y.selectionEnd];ne(()=>{y.selectionStart=x[0],y.selectionEnd=x[1]})}}return U(()=>{const n=!!(l.counter||e.counter!==!1&&e.counter!=null),y=!!(n||l.details),[g,x]=Ye(a),{modelValue:H,...B}=ae.filterProps(e),Q=vt(e);return t(ae,W({ref:P,modelValue:s.value,"onUpdate:modelValue":I=>s.value=I,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":F.value},e.class],style:e.style},g,B,{centerAffix:!F.value,focused:b.value}),{...l,default:I=>{let{id:i,isDisabled:u,isDirty:h,isReadonly:_,isValid:v}=I;return t(ue,W({ref:S,onMousedown:G,onClick:q,"onClick:clear":A,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},Q,{id:i.value,active:z.value||h.value,dirty:h.value||e.dirty,disabled:u.value,focused:b.value,error:v.value===!1}),{...l,default:D=>{let{props:{class:w,...R}}=D;const $=J(t("input",W({ref:C,value:s.value,onInput:K,autofocus:e.autofocus,readonly:_.value,disabled:u.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:f,onBlur:d},R,x),null),[[ze("intersect"),{handler:p},null,{once:!0}]]);return t(M,null,[e.prefix&&t("span",{class:"v-text-field__prefix"},[t("span",{class:"v-text-field__prefix__text"},[e.prefix])]),l.default?t("div",{class:w,"data-no-activator":""},[l.default(),$]):Ge($,{class:w}),e.suffix&&t("span",{class:"v-text-field__suffix"},[t("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:y?I=>{var i;return t(M,null,[(i=l.details)==null?void 0:i.call(l,I),n&&t(M,null,[t("span",null,null),t(dt,{active:e.persistentCounter||b.value,value:c.value,max:r.value,disabled:e.disabled},l.counter)])])}:void 0})}),oe({},P,S,C)}});export{xt as S,kt as V,ht as a,bt as m};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{V as me,D as te,W as be,_ as ye,Y as ge,Z as E,aF as L,aO as Ce,U as M,aG as xe,aH as le,S as t,E as N,M as Y,O,r as T,R as q,at as oe,b3 as he,bq as ke,h as m,aT as J,b8 as ie,b7 as Ve,bf as X,d3 as Z,d1 as _e,bg as Fe,N as Ie,P as Pe,cA as Se,bh as Be,Q as we,F as Re,aA as $e,aB as Te,aq as Ae,a as De,dn as Ee,K as Le,au as pe,cC as Me,di as Ne,bi as Oe,as as W,dp as qe,dq as Ue,av as Ke,b4 as je,aw as We,cB as Ye,b6 as ze,dr as Ge,n as ne,ds as He}from"./admin-drawer-panel-Dmn4wEY3.js";import{C as Qe}from"./VDialog-DnbL_v_u.js";import{h as Xe,i as Ze,b as Je,m as et,u as se,j as tt,a as lt,V as ae}from"./VSelectionControl-BXJGg8No.js";const nt={name:"SubmitFooter",components:{ConfirmFooter:Qe},props:{verb:{type:String,required:!0},table:{type:String,required:!0},label:{type:String,default:""},disabled:{type:Boolean,default:!1}},emits:["cancel","submit"],computed:{...me(te,{errors:e=>e.form.errors,success:e=>e.form.success}),confirmText(){const e=this.label||this.table;return`${this.verb} ${e}`}},beforeMount(){this.clearErrors()},methods:{...be(te,["clearErrors"])}},at={key:0,class:"errors"},ot={key:1,class:"success"},it={key:2};function st(e,o,a,k,l,s){const b=ge("ConfirmFooter");return E(),L("footer",null,[Ce("div",null,[e.errors&&e.errors.length>0?(E(),L("small",at,[(E(!0),L(M,null,xe(e.errors,(V,d)=>(E(),L("div",{key:d},le(V),1))),128))])):e.success?(E(),L("small",ot,le(e.success),1)):(E(),L("small",it," "))]),t(b,{"confirm-text":s.confirmText,disabled:a.disabled,onConfirm:o[0]||(o[0]=V=>e.$emit("submit")),onCancel:o[1]||(o[1]=V=>e.$emit("cancel"))},null,8,["confirm-text","disabled"])])}const xt=ye(nt,[["render",st],["__scopeId","data-v-d960409d"]]),rt=N({...Y(),...Xe()},"VForm"),ht=O()({name:"VForm",props:rt(),emits:{"update:modelValue":e=>!0,submit:e=>!0},setup(e,o){let{slots:a,emit:k}=o;const l=Ze(e),s=T();function b(d){d.preventDefault(),l.reset()}function V(d){const c=d,r=l.validate();c.then=r.then.bind(r),c.catch=r.catch.bind(r),c.finally=r.finally.bind(r),k("submit",c),c.defaultPrevented||r.then(F=>{var P;let{valid:p}=F;p&&((P=s.value)==null||P.submit())}),c.preventDefault()}return q(()=>{var d;return t("form",{ref:s,class:["v-form",e.class],style:e.style,novalidate:!0,onReset:b,onSubmit:V},[(d=a.default)==null?void 0:d.call(a,l)])}),oe(l,s)}}),ut=N({active:Boolean,disabled:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...Y(),...he({transition:{component:ke}})},"VCounter"),dt=O()({name:"VCounter",functional:!0,props:ut(),setup(e,o){let{slots:a}=o;const k=m(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return q(()=>t(Ve,{transition:e.transition},{default:()=>[J(t("div",{class:["v-counter",{"text-error":e.max&&!e.disabled&&parseFloat(e.value)>parseFloat(e.max)},e.class],style:e.style},[a.default?a.default({counter:k.value,max:e.max,value:e.value}):k.value]),[[ie,e.active]])]})),{}}}),ct=N({floating:Boolean,...Y()},"VFieldLabel"),j=O()({name:"VFieldLabel",props:ct(),setup(e,o){let{slots:a}=o;return q(()=>t(Je,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},a)),{}}}),ft=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],re=N({appendInnerIcon:X,bgColor:String,clearable:Boolean,clearIcon:{type:X,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:X,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>ft.includes(e)},"onClick:clear":Z(),"onClick:appendInner":Z(),"onClick:prependInner":Z(),...Y(),..._e(),...Fe(),...Ie()},"VField"),ue=O()({name:"VField",inheritAttrs:!1,props:{id:String,...et(),...re()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,o){let{attrs:a,emit:k,slots:l}=o;const{themeClasses:s}=Pe(e),{loaderClasses:b}=Se(e),{focusClasses:V,isFocused:d,focus:c,blur:r}=se(e),{InputIcon:F}=tt(e),{roundedClasses:p}=Be(e),{rtlClasses:P}=we(),S=m(()=>e.dirty||e.active),C=m(()=>!e.singleLine&&!!(e.label||l.label)),z=Re(),f=m(()=>e.id||`input-${z}`),G=m(()=>`${f.value}-messages`),U=T(),A=T(),K=T(),n=m(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:y,backgroundColorStyles:g}=$e(Te(e,"bgColor")),{textColorClasses:x,textColorStyles:H}=Ae(m(()=>e.error||e.disabled?void 0:S.value&&d.value?e.color:e.baseColor));De(S,i=>{if(C.value){const u=U.value.$el,h=A.value.$el;requestAnimationFrame(()=>{const _=Ee(u),v=h.getBoundingClientRect(),D=v.x-_.x,w=v.y-_.y-(_.height/2-v.height/2),R=v.width/.75,$=Math.abs(R-_.width)>1?{maxWidth:Le(R)}:void 0,de=getComputedStyle(u),ee=getComputedStyle(h),ce=parseFloat(de.transitionDuration)*1e3||150,fe=parseFloat(ee.getPropertyValue("--v-field-label-scale")),ve=ee.getPropertyValue("color");u.style.visibility="visible",h.style.visibility="hidden",pe(u,{transform:`translate(${D}px, ${w}px) scale(${fe})`,color:ve,...$},{duration:ce,easing:Ke,direction:i?"normal":"reverse"}).finished.then(()=>{u.style.removeProperty("visibility"),h.style.removeProperty("visibility")})})}},{flush:"post"});const B=m(()=>({isActive:S,isFocused:d,controlRef:K,blur:r,focus:c}));function Q(i){i.target!==document.activeElement&&i.preventDefault()}function I(i){var u;i.key!=="Enter"&&i.key!==" "||(i.preventDefault(),i.stopPropagation(),(u=e["onClick:clear"])==null||u.call(e,new MouseEvent("click")))}return q(()=>{var D,w,R;const i=e.variant==="outlined",u=!!(l["prepend-inner"]||e.prependInnerIcon),h=!!(e.clearable||l.clear),_=!!(l["append-inner"]||e.appendInnerIcon||h),v=()=>l.label?l.label({...B.value,label:e.label,props:{for:f.value}}):e.label;return t("div",W({class:["v-field",{"v-field--active":S.value,"v-field--appended":_,"v-field--center-affix":e.centerAffix??!n.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":u,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!v(),[`v-field--variant-${e.variant}`]:!0},s.value,y.value,V.value,b.value,p.value,P.value,e.class],style:[g.value,e.style],onClick:Q},a),[t("div",{class:"v-field__overlay"},null),t(Me,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:l.loader}),u&&t("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&t(F,{key:"prepend-icon",name:"prependInner"},null),(D=l["prepend-inner"])==null?void 0:D.call(l,B.value)]),t("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&C.value&&t(j,{key:"floating-label",ref:A,class:[x.value],floating:!0,for:f.value,style:H.value},{default:()=>[v()]}),t(j,{ref:U,for:f.value},{default:()=>[v()]}),(w=l.default)==null?void 0:w.call(l,{...B.value,props:{id:f.value,class:"v-field__input","aria-describedby":G.value},focus:c,blur:r})]),h&&t(Ne,{key:"clear"},{default:()=>[J(t("div",{class:"v-field__clearable",onMousedown:$=>{$.preventDefault(),$.stopPropagation()}},[t(Oe,{defaults:{VIcon:{icon:e.clearIcon}}},{default:()=>[l.clear?l.clear({...B.value,props:{onKeydown:I,onFocus:c,onBlur:r,onClick:e["onClick:clear"]}}):t(F,{name:"clear",onKeydown:I,onFocus:c,onBlur:r},null)]})]),[[ie,e.dirty]])]}),_&&t("div",{key:"append",class:"v-field__append-inner"},[(R=l["append-inner"])==null?void 0:R.call(l,B.value),e.appendInnerIcon&&t(F,{key:"append-icon",name:"appendInner"},null)]),t("div",{class:["v-field__outline",x.value],style:H.value},[i&&t(M,null,[t("div",{class:"v-field__outline__start"},null),C.value&&t("div",{class:"v-field__outline__notch"},[t(j,{ref:A,floating:!0,for:f.value},{default:()=>[v()]})]),t("div",{class:"v-field__outline__end"},null)]),n.value&&C.value&&t(j,{ref:A,floating:!0,for:f.value},{default:()=>[v()]})])])}),{controlRef:K}}});function vt(e){const o=Object.keys(ue.props).filter(a=>!qe(a)&&a!=="class"&&a!=="style");return Ue(e,o)}const mt=["color","file","time","date","datetime-local","week","month"],bt=N({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...lt(),...re()},"VTextField"),kt=O()({name:"VTextField",directives:{Intersect:je},inheritAttrs:!1,props:bt(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,o){let{attrs:a,emit:k,slots:l}=o;const s=We(e,"modelValue"),{isFocused:b,focus:V,blur:d}=se(e),c=m(()=>typeof e.counterValue=="function"?e.counterValue(s.value):typeof e.counterValue=="number"?e.counterValue:(s.value??"").toString().length),r=m(()=>{if(a.maxlength)return a.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),F=m(()=>["plain","underlined"].includes(e.variant));function p(n,y){var g,x;!e.autofocus||!n||(x=(g=y[0].target)==null?void 0:g.focus)==null||x.call(g)}const P=T(),S=T(),C=T(),z=m(()=>mt.includes(e.type)||e.persistentPlaceholder||b.value||e.active);function f(){var n;C.value!==document.activeElement&&((n=C.value)==null||n.focus()),b.value||V()}function G(n){k("mousedown:control",n),n.target!==C.value&&(f(),n.preventDefault())}function U(n){f(),k("click:control",n)}function A(n){n.stopPropagation(),f(),ne(()=>{s.value=null,He(e["onClick:clear"],n)})}function K(n){var g;const y=n.target;if(s.value=y.value,(g=e.modelModifiers)!=null&&g.trim&&["text","search","password","tel","url"].includes(e.type)){const x=[y.selectionStart,y.selectionEnd];ne(()=>{y.selectionStart=x[0],y.selectionEnd=x[1]})}}return q(()=>{const n=!!(l.counter||e.counter!==!1&&e.counter!=null),y=!!(n||l.details),[g,x]=Ye(a),{modelValue:H,...B}=ae.filterProps(e),Q=vt(e);return t(ae,W({ref:P,modelValue:s.value,"onUpdate:modelValue":I=>s.value=I,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":F.value},e.class],style:e.style},g,B,{centerAffix:!F.value,focused:b.value}),{...l,default:I=>{let{id:i,isDisabled:u,isDirty:h,isReadonly:_,isValid:v}=I;return t(ue,W({ref:S,onMousedown:G,onClick:U,"onClick:clear":A,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},Q,{id:i.value,active:z.value||h.value,dirty:h.value||e.dirty,disabled:u.value,focused:b.value,error:v.value===!1}),{...l,default:D=>{let{props:{class:w,...R}}=D;const $=J(t("input",W({ref:C,value:s.value,onInput:K,autofocus:e.autofocus,readonly:_.value,disabled:u.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:f,onBlur:d},R,x),null),[[ze("intersect"),{handler:p},null,{once:!0}]]);return t(M,null,[e.prefix&&t("span",{class:"v-text-field__prefix"},[t("span",{class:"v-text-field__prefix__text"},[e.prefix])]),l.default?t("div",{class:w,"data-no-activator":""},[l.default(),$]):Ge($,{class:w}),e.suffix&&t("span",{class:"v-text-field__suffix"},[t("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:y?I=>{var i;return t(M,null,[(i=l.details)==null?void 0:i.call(l,I),n&&t(M,null,[t("span",null,null),t(dt,{active:e.persistentCounter||b.value,value:c.value,max:r.value,disabled:e.disabled},l.counter)])])}:void 0})}),oe({},P,S,C)}});export{xt as S,kt as V,ht as a,bt as m};
|
|
1
|
+
import{V as me,D as te,W as be,_ as ye,Y as ge,Z as E,aF as L,aO as Ce,U as M,aG as xe,aH as le,S as t,E as N,M as Y,O,r as T,R as U,at as oe,b3 as he,bp as ke,h as m,aT as J,bV as ie,b7 as Ve,be as X,d3 as Z,d1 as _e,bf as Fe,N as Ie,P as Pe,cA as Se,bg as Be,Q as we,F as Re,aA as $e,aB as Te,aq as Ae,a as De,dn as Ee,K as Le,au as pe,cC as Me,di as Ne,bh as Oe,as as W,dp as Ue,dq as qe,av as Ke,b4 as je,aw as We,cB as Ye,b6 as ze,dr as Ge,n as ne,ds as He}from"./admin-drawer-panel-BF-h3Wm0.js";import{C as Qe}from"./VDialog-D6HUFV6a.js";import{h as Xe,i as Ze,b as Je,m as et,u as se,j as tt,a as lt,V as ae}from"./VSelectionControl-BOKIwNZb.js";const nt={name:"SubmitFooter",components:{ConfirmFooter:Qe},props:{verb:{type:String,required:!0},table:{type:String,required:!0},label:{type:String,default:""},disabled:{type:Boolean,default:!1}},emits:["cancel","submit"],computed:{...me(te,{errors:e=>e.form.errors,success:e=>e.form.success}),confirmText(){const e=this.label||this.table;return`${this.verb} ${e}`}},beforeMount(){this.clearErrors()},methods:{...be(te,["clearErrors"])}},at={key:0,class:"errors"},ot={key:1,class:"success"},it={key:2};function st(e,o,a,k,l,s){const b=ge("ConfirmFooter");return E(),L("footer",null,[Ce("div",null,[e.errors&&e.errors.length>0?(E(),L("small",at,[(E(!0),L(M,null,xe(e.errors,(V,d)=>(E(),L("div",{key:d},le(V),1))),128))])):e.success?(E(),L("small",ot,le(e.success),1)):(E(),L("small",it," "))]),t(b,{"confirm-text":s.confirmText,disabled:a.disabled,onConfirm:o[0]||(o[0]=V=>e.$emit("submit")),onCancel:o[1]||(o[1]=V=>e.$emit("cancel"))},null,8,["confirm-text","disabled"])])}const xt=ye(nt,[["render",st],["__scopeId","data-v-d960409d"]]),rt=N({...Y(),...Xe()},"VForm"),ht=O()({name:"VForm",props:rt(),emits:{"update:modelValue":e=>!0,submit:e=>!0},setup(e,o){let{slots:a,emit:k}=o;const l=Ze(e),s=T();function b(d){d.preventDefault(),l.reset()}function V(d){const c=d,r=l.validate();c.then=r.then.bind(r),c.catch=r.catch.bind(r),c.finally=r.finally.bind(r),k("submit",c),c.defaultPrevented||r.then(F=>{var P;let{valid:p}=F;p&&((P=s.value)==null||P.submit())}),c.preventDefault()}return U(()=>{var d;return t("form",{ref:s,class:["v-form",e.class],style:e.style,novalidate:!0,onReset:b,onSubmit:V},[(d=a.default)==null?void 0:d.call(a,l)])}),oe(l,s)}}),ut=N({active:Boolean,disabled:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...Y(),...he({transition:{component:ke}})},"VCounter"),dt=O()({name:"VCounter",functional:!0,props:ut(),setup(e,o){let{slots:a}=o;const k=m(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return U(()=>t(Ve,{transition:e.transition},{default:()=>[J(t("div",{class:["v-counter",{"text-error":e.max&&!e.disabled&&parseFloat(e.value)>parseFloat(e.max)},e.class],style:e.style},[a.default?a.default({counter:k.value,max:e.max,value:e.value}):k.value]),[[ie,e.active]])]})),{}}}),ct=N({floating:Boolean,...Y()},"VFieldLabel"),j=O()({name:"VFieldLabel",props:ct(),setup(e,o){let{slots:a}=o;return U(()=>t(Je,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},a)),{}}}),ft=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],re=N({appendInnerIcon:X,bgColor:String,clearable:Boolean,clearIcon:{type:X,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:X,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>ft.includes(e)},"onClick:clear":Z(),"onClick:appendInner":Z(),"onClick:prependInner":Z(),...Y(),..._e(),...Fe(),...Ie()},"VField"),ue=O()({name:"VField",inheritAttrs:!1,props:{id:String,...et(),...re()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,o){let{attrs:a,emit:k,slots:l}=o;const{themeClasses:s}=Pe(e),{loaderClasses:b}=Se(e),{focusClasses:V,isFocused:d,focus:c,blur:r}=se(e),{InputIcon:F}=tt(e),{roundedClasses:p}=Be(e),{rtlClasses:P}=we(),S=m(()=>e.dirty||e.active),C=m(()=>!e.singleLine&&!!(e.label||l.label)),z=Re(),f=m(()=>e.id||`input-${z}`),G=m(()=>`${f.value}-messages`),q=T(),A=T(),K=T(),n=m(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:y,backgroundColorStyles:g}=$e(Te(e,"bgColor")),{textColorClasses:x,textColorStyles:H}=Ae(m(()=>e.error||e.disabled?void 0:S.value&&d.value?e.color:e.baseColor));De(S,i=>{if(C.value){const u=q.value.$el,h=A.value.$el;requestAnimationFrame(()=>{const _=Ee(u),v=h.getBoundingClientRect(),D=v.x-_.x,w=v.y-_.y-(_.height/2-v.height/2),R=v.width/.75,$=Math.abs(R-_.width)>1?{maxWidth:Le(R)}:void 0,de=getComputedStyle(u),ee=getComputedStyle(h),ce=parseFloat(de.transitionDuration)*1e3||150,fe=parseFloat(ee.getPropertyValue("--v-field-label-scale")),ve=ee.getPropertyValue("color");u.style.visibility="visible",h.style.visibility="hidden",pe(u,{transform:`translate(${D}px, ${w}px) scale(${fe})`,color:ve,...$},{duration:ce,easing:Ke,direction:i?"normal":"reverse"}).finished.then(()=>{u.style.removeProperty("visibility"),h.style.removeProperty("visibility")})})}},{flush:"post"});const B=m(()=>({isActive:S,isFocused:d,controlRef:K,blur:r,focus:c}));function Q(i){i.target!==document.activeElement&&i.preventDefault()}function I(i){var u;i.key!=="Enter"&&i.key!==" "||(i.preventDefault(),i.stopPropagation(),(u=e["onClick:clear"])==null||u.call(e,new MouseEvent("click")))}return U(()=>{var D,w,R;const i=e.variant==="outlined",u=!!(l["prepend-inner"]||e.prependInnerIcon),h=!!(e.clearable||l.clear),_=!!(l["append-inner"]||e.appendInnerIcon||h),v=()=>l.label?l.label({...B.value,label:e.label,props:{for:f.value}}):e.label;return t("div",W({class:["v-field",{"v-field--active":S.value,"v-field--appended":_,"v-field--center-affix":e.centerAffix??!n.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":u,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!v(),[`v-field--variant-${e.variant}`]:!0},s.value,y.value,V.value,b.value,p.value,P.value,e.class],style:[g.value,e.style],onClick:Q},a),[t("div",{class:"v-field__overlay"},null),t(Me,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:l.loader}),u&&t("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&t(F,{key:"prepend-icon",name:"prependInner"},null),(D=l["prepend-inner"])==null?void 0:D.call(l,B.value)]),t("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&C.value&&t(j,{key:"floating-label",ref:A,class:[x.value],floating:!0,for:f.value,style:H.value},{default:()=>[v()]}),t(j,{ref:q,for:f.value},{default:()=>[v()]}),(w=l.default)==null?void 0:w.call(l,{...B.value,props:{id:f.value,class:"v-field__input","aria-describedby":G.value},focus:c,blur:r})]),h&&t(Ne,{key:"clear"},{default:()=>[J(t("div",{class:"v-field__clearable",onMousedown:$=>{$.preventDefault(),$.stopPropagation()}},[t(Oe,{defaults:{VIcon:{icon:e.clearIcon}}},{default:()=>[l.clear?l.clear({...B.value,props:{onKeydown:I,onFocus:c,onBlur:r,onClick:e["onClick:clear"]}}):t(F,{name:"clear",onKeydown:I,onFocus:c,onBlur:r},null)]})]),[[ie,e.dirty]])]}),_&&t("div",{key:"append",class:"v-field__append-inner"},[(R=l["append-inner"])==null?void 0:R.call(l,B.value),e.appendInnerIcon&&t(F,{key:"append-icon",name:"appendInner"},null)]),t("div",{class:["v-field__outline",x.value],style:H.value},[i&&t(M,null,[t("div",{class:"v-field__outline__start"},null),C.value&&t("div",{class:"v-field__outline__notch"},[t(j,{ref:A,floating:!0,for:f.value},{default:()=>[v()]})]),t("div",{class:"v-field__outline__end"},null)]),n.value&&C.value&&t(j,{ref:A,floating:!0,for:f.value},{default:()=>[v()]})])])}),{controlRef:K}}});function vt(e){const o=Object.keys(ue.props).filter(a=>!Ue(a)&&a!=="class"&&a!=="style");return qe(e,o)}const mt=["color","file","time","date","datetime-local","week","month"],bt=N({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...lt(),...re()},"VTextField"),kt=O()({name:"VTextField",directives:{Intersect:je},inheritAttrs:!1,props:bt(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,o){let{attrs:a,emit:k,slots:l}=o;const s=We(e,"modelValue"),{isFocused:b,focus:V,blur:d}=se(e),c=m(()=>typeof e.counterValue=="function"?e.counterValue(s.value):typeof e.counterValue=="number"?e.counterValue:(s.value??"").toString().length),r=m(()=>{if(a.maxlength)return a.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),F=m(()=>["plain","underlined"].includes(e.variant));function p(n,y){var g,x;!e.autofocus||!n||(x=(g=y[0].target)==null?void 0:g.focus)==null||x.call(g)}const P=T(),S=T(),C=T(),z=m(()=>mt.includes(e.type)||e.persistentPlaceholder||b.value||e.active);function f(){var n;C.value!==document.activeElement&&((n=C.value)==null||n.focus()),b.value||V()}function G(n){k("mousedown:control",n),n.target!==C.value&&(f(),n.preventDefault())}function q(n){f(),k("click:control",n)}function A(n){n.stopPropagation(),f(),ne(()=>{s.value=null,He(e["onClick:clear"],n)})}function K(n){var g;const y=n.target;if(s.value=y.value,(g=e.modelModifiers)!=null&&g.trim&&["text","search","password","tel","url"].includes(e.type)){const x=[y.selectionStart,y.selectionEnd];ne(()=>{y.selectionStart=x[0],y.selectionEnd=x[1]})}}return U(()=>{const n=!!(l.counter||e.counter!==!1&&e.counter!=null),y=!!(n||l.details),[g,x]=Ye(a),{modelValue:H,...B}=ae.filterProps(e),Q=vt(e);return t(ae,W({ref:P,modelValue:s.value,"onUpdate:modelValue":I=>s.value=I,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":F.value},e.class],style:e.style},g,B,{centerAffix:!F.value,focused:b.value}),{...l,default:I=>{let{id:i,isDisabled:u,isDirty:h,isReadonly:_,isValid:v}=I;return t(ue,W({ref:S,onMousedown:G,onClick:q,"onClick:clear":A,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},Q,{id:i.value,active:z.value||h.value,dirty:h.value||e.dirty,disabled:u.value,focused:b.value,error:v.value===!1}),{...l,default:D=>{let{props:{class:w,...R}}=D;const $=J(t("input",W({ref:C,value:s.value,onInput:K,autofocus:e.autofocus,readonly:_.value,disabled:u.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:f,onBlur:d},R,x),null),[[ze("intersect"),{handler:p},null,{once:!0}]]);return t(M,null,[e.prefix&&t("span",{class:"v-text-field__prefix"},[t("span",{class:"v-text-field__prefix__text"},[e.prefix])]),l.default?t("div",{class:w,"data-no-activator":""},[l.default(),$]):Ge($,{class:w}),e.suffix&&t("span",{class:"v-text-field__suffix"},[t("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:y?I=>{var i;return t(M,null,[(i=l.details)==null?void 0:i.call(l,I),n&&t(M,null,[t("span",null,null),t(dt,{active:e.persistentCounter||b.value,value:c.value,max:r.value,disabled:e.disabled},l.counter)])])}:void 0})}),oe({},P,S,C)}});export{xt as S,kt as V,ht as a,bt as m};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{E as
|
|
1
|
+
import{E as R,M as W,ay as H,N as O,O as k,bY as j,P as F,Q as G,bZ as M,b_ as z,r as S,h as v,s as T,a as D,p as N,S as d,ar as p,R as P,aT as $,b6 as K,b$ as Q,c0 as U,c1 as Y,i as Z,c2 as q,c3 as J,c4 as X,bV as ee,b7 as te,K as V,n as ne}from"./admin-drawer-panel-BF-h3Wm0.js";const _=Symbol.for("vuetify:v-window"),E=Symbol.for("vuetify:v-window-group"),oe=R({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:e=>typeof e=="boolean"||e==="hover"},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{type:[Boolean,String],default:"force"},...W(),...H(),...O()},"VWindow"),se=k()({name:"VWindow",directives:{Touch:j},props:oe(),emits:{"update:modelValue":e=>!0},setup(e,y){let{slots:a}=y;const{themeClasses:t}=F(e),{isRtl:l}=G(),{t:f}=M(),n=z(e,E),w=S(),u=v(()=>l.value?!e.reverse:e.reverse),r=T(!1),m=v(()=>{const o=e.direction==="vertical"?"y":"x",c=(u.value?!r.value:r.value)?"-reverse":"";return`v-window-${o}${c}-transition`}),b=T(0),g=S(void 0),h=v(()=>n.items.value.findIndex(o=>n.selected.value.includes(o.id)));D(h,(o,s)=>{const c=n.items.value.length,I=c-1;c<=2?r.value=o<s:o===I&&s===0?r.value=!0:o===0&&s===I?r.value=!1:r.value=o<s}),N(_,{transition:m,isReversed:r,transitionCount:b,transitionHeight:g,rootRef:w});const i=v(()=>e.continuous||h.value!==0),x=v(()=>e.continuous||h.value!==n.items.value.length-1);function B(){i.value&&n.prev()}function C(){x.value&&n.next()}const L=v(()=>{const o=[],s={icon:l.value?e.nextIcon:e.prevIcon,class:`v-window__${u.value?"right":"left"}`,onClick:n.prev,"aria-label":f("$vuetify.carousel.prev")};o.push(i.value?a.prev?a.prev({props:s}):d(p,s,null):d("div",null,null));const c={icon:l.value?e.prevIcon:e.nextIcon,class:`v-window__${u.value?"left":"right"}`,onClick:n.next,"aria-label":f("$vuetify.carousel.next")};return o.push(x.value?a.next?a.next({props:c}):d(p,c,null):d("div",null,null)),o}),A=v(()=>e.touch===!1?e.touch:{...{left:()=>{u.value?B():C()},right:()=>{u.value?C():B()},start:s=>{let{originalEvent:c}=s;c.stopPropagation()}},...e.touch===!0?{}:e.touch});return P(()=>$(d(e.tag,{ref:w,class:["v-window",{"v-window--show-arrows-on-hover":e.showArrows==="hover"},t.value,e.class],style:e.style},{default:()=>{var o,s;return[d("div",{class:"v-window__container",style:{height:g.value}},[(o=a.default)==null?void 0:o.call(a,{group:n}),e.showArrows!==!1&&d("div",{class:"v-window__controls"},[L.value])]),(s=a.additional)==null?void 0:s.call(a,{group:n})]}}),[[K("touch"),A.value]])),{group:n}}}),ae=R({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},...W(),...Q(),...U()},"VWindowItem"),re=k()({name:"VWindowItem",directives:{Touch:Y},props:ae(),emits:{"group:selected":e=>!0},setup(e,y){let{slots:a}=y;const t=Z(_),l=q(e,E),{isBooted:f}=J();if(!t||!l)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const n=T(!1),w=v(()=>f.value&&(t.isReversed.value?e.reverseTransition!==!1:e.transition!==!1));function u(){!n.value||!t||(n.value=!1,t.transitionCount.value>0&&(t.transitionCount.value-=1,t.transitionCount.value===0&&(t.transitionHeight.value=void 0)))}function r(){var i;n.value||!t||(n.value=!0,t.transitionCount.value===0&&(t.transitionHeight.value=V((i=t.rootRef.value)==null?void 0:i.clientHeight)),t.transitionCount.value+=1)}function m(){u()}function b(i){n.value&&ne(()=>{!w.value||!n.value||!t||(t.transitionHeight.value=V(i.clientHeight))})}const g=v(()=>{const i=t.isReversed.value?e.reverseTransition:e.transition;return w.value?{name:typeof i!="string"?t.transition.value:i,onBeforeEnter:r,onAfterEnter:u,onEnterCancelled:m,onBeforeLeave:r,onAfterLeave:u,onLeaveCancelled:m,onEnter:b}:!1}),{hasContent:h}=X(e,l.isSelected);return P(()=>d(te,{transition:g.value,disabled:!f.value},{default:()=>{var i;return[$(d("div",{class:["v-window-item",l.selectedClass.value,e.class],style:e.style},[h.value&&((i=a.default)==null?void 0:i.call(a))]),[[ee,l.isSelected.value]])]}})),{groupItem:l}}});export{se as V,ae as a,re as b,oe as m};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{E as
|
|
1
|
+
import{E as R,M as W,ay as H,N as O,O as k,bY as j,P as F,Q as G,bZ as M,b_ as z,r as S,h as v,s as T,a as D,p as N,S as d,ar as p,R as P,aT as $,b6 as K,b$ as Q,c0 as U,c1 as Y,i as Z,c2 as q,c3 as J,c4 as X,bV as ee,b7 as te,K as V,n as ne}from"./admin-drawer-panel-BF-h3Wm0.js";const _=Symbol.for("vuetify:v-window"),E=Symbol.for("vuetify:v-window-group"),oe=R({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:e=>typeof e=="boolean"||e==="hover"},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{type:[Boolean,String],default:"force"},...W(),...H(),...O()},"VWindow"),se=k()({name:"VWindow",directives:{Touch:j},props:oe(),emits:{"update:modelValue":e=>!0},setup(e,y){let{slots:a}=y;const{themeClasses:t}=F(e),{isRtl:l}=G(),{t:f}=M(),n=z(e,E),w=S(),u=v(()=>l.value?!e.reverse:e.reverse),r=T(!1),m=v(()=>{const o=e.direction==="vertical"?"y":"x",c=(u.value?!r.value:r.value)?"-reverse":"";return`v-window-${o}${c}-transition`}),b=T(0),g=S(void 0),h=v(()=>n.items.value.findIndex(o=>n.selected.value.includes(o.id)));D(h,(o,s)=>{const c=n.items.value.length,I=c-1;c<=2?r.value=o<s:o===I&&s===0?r.value=!0:o===0&&s===I?r.value=!1:r.value=o<s}),N(_,{transition:m,isReversed:r,transitionCount:b,transitionHeight:g,rootRef:w});const i=v(()=>e.continuous||h.value!==0),x=v(()=>e.continuous||h.value!==n.items.value.length-1);function B(){i.value&&n.prev()}function C(){x.value&&n.next()}const L=v(()=>{const o=[],s={icon:l.value?e.nextIcon:e.prevIcon,class:`v-window__${u.value?"right":"left"}`,onClick:n.prev,"aria-label":f("$vuetify.carousel.prev")};o.push(i.value?a.prev?a.prev({props:s}):d(p,s,null):d("div",null,null));const c={icon:l.value?e.prevIcon:e.nextIcon,class:`v-window__${u.value?"left":"right"}`,onClick:n.next,"aria-label":f("$vuetify.carousel.next")};return o.push(x.value?a.next?a.next({props:c}):d(p,c,null):d("div",null,null)),o}),A=v(()=>e.touch===!1?e.touch:{...{left:()=>{u.value?B():C()},right:()=>{u.value?C():B()},start:s=>{let{originalEvent:c}=s;c.stopPropagation()}},...e.touch===!0?{}:e.touch});return P(()=>$(d(e.tag,{ref:w,class:["v-window",{"v-window--show-arrows-on-hover":e.showArrows==="hover"},t.value,e.class],style:e.style},{default:()=>{var o,s;return[d("div",{class:"v-window__container",style:{height:g.value}},[(o=a.default)==null?void 0:o.call(a,{group:n}),e.showArrows!==!1&&d("div",{class:"v-window__controls"},[L.value])]),(s=a.additional)==null?void 0:s.call(a,{group:n})]}}),[[K("touch"),A.value]])),{group:n}}}),ae=R({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},...W(),...Q(),...U()},"VWindowItem"),re=k()({name:"VWindowItem",directives:{Touch:Y},props:ae(),emits:{"group:selected":e=>!0},setup(e,y){let{slots:a}=y;const t=Z(_),l=q(e,E),{isBooted:f}=J();if(!t||!l)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const n=T(!1),w=v(()=>f.value&&(t.isReversed.value?e.reverseTransition!==!1:e.transition!==!1));function u(){!n.value||!t||(n.value=!1,t.transitionCount.value>0&&(t.transitionCount.value-=1,t.transitionCount.value===0&&(t.transitionHeight.value=void 0)))}function r(){var i;n.value||!t||(n.value=!0,t.transitionCount.value===0&&(t.transitionHeight.value=V((i=t.rootRef.value)==null?void 0:i.clientHeight)),t.transitionCount.value+=1)}function m(){u()}function b(i){n.value&&ne(()=>{!w.value||!n.value||!t||(t.transitionHeight.value=V(i.clientHeight))})}const g=v(()=>{const i=t.isReversed.value?e.reverseTransition:e.transition;return w.value?{name:typeof i!="string"?t.transition.value:i,onBeforeEnter:r,onAfterEnter:u,onEnterCancelled:m,onBeforeLeave:r,onAfterLeave:u,onLeaveCancelled:m,onEnter:b}:!1}),{hasContent:h}=X(e,l.isSelected);return P(()=>d(te,{transition:g.value,disabled:!f.value},{default:()=>{var i;return[$(d("div",{class:["v-window-item",l.selectedClass.value,e.class],style:e.style},[h.value&&((i=a.default)==null?void 0:i.call(a))]),[[ee,l.isSelected.value]])]}})),{groupItem:l}}});export{se as V,ae as a,re as b,oe as m};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as A,Y as v,Z as m,X as w,$ as f,S as i,aj as q,ak as E,al as re,am as ie,an as G,W as K,D as le,E as P,ao as J,ap as de,O as I,aq as ce,r as j,h as $,R as W,ar as H,U as B,as as x,at as ue,au as me,av as be,i as fe,aw as Z,ax as ve,ay as we,az as pe,aA as ge,aB as h,aC as _e,aD as he,K as ye,aE as Te,B as z,V as Ve,aF as k,aG as X,aH as Se,aI as xe,aJ as Ae,aK as Ce,m as De}from"./admin-drawer-panel-BF-h3Wm0.js";import{S as ke,V as $e,a as Be,b as Pe}from"./settings-drawer-BOTI_tHr.js";import{u as Ie,t as We}from"./main-x0Pcl23A.js";import{m as Ue,V as M,a as Le,b as R}from"./VWindowItem-aal6-Uv4.js";import{m as ze,V as Y}from"./VSlideGroup-C3XgVg2T.js";import{U as Ee,V as Me}from"./unauthorized-D5-FvA2_.js";import"./copy-to-clipboard-DoUvDJVx.js";import"./VDialog-D6HUFV6a.js";import"./change-password-dialog-BCYw5K7E.js";import"./VTextField-HAAxrpNi.js";import"./VSelectionControl-BOKIwNZb.js";const Re={name:"AdminTitleToolbar",components:{SettingsDrawerButton:ke},computed:{mdAndDown(){return this.$vuetify.display.mdAndDown}}};function Ge(e,s,l,t,o,r){const a=v("SettingsDrawerButton");return m(),w(Be,{id:"titleBar",class:E(["codexToolbar",{drawerMargin:!r.mdAndDown}]),density:"compact",elevation:"8"},{default:f(()=>[i($e,{class:"codexToolbarTitle"},{default:f(()=>[q(" Codex Administration ")]),_:1}),(m(),w(a,{key:r.mdAndDown,class:E({invisible:!r.mdAndDown}),disabled:!r.mdAndDown},null,8,["class","disabled"]))]),_:1},8,["class"])}const Oe=A(Re,[["render",Ge],["__scopeId","data-v-355452b0"]]),Fe={name:"AdminSettingsPanel",components:{DrawerItem:re},data(){return{mdiBookshelf:ie}},computed:{...G(Ie,["lastRoute"])}};function Ne(e,s,l,t,o,r){const a=v("DrawerItem");return m(),w(a,{to:e.lastRoute,"prepend-icon":o.mdiBookshelf,title:"Browser"},null,8,["to","prepend-icon"])}const je=A(Fe,[["render",Ne]]),He={name:"AdminSettingsDrawer",components:{SettingsDrawer:Pe,AdminSettingsPanel:je},computed:{mdAndDown(){return this.$vuetify.display.mdAndDown}},watch:{mdAndDown(e){e||this.setSettingsDrawerOpen(!0)}},mounted(){this.mdAndDown||this.setSettingsDrawerOpen(!0)},methods:{...K(le,["setSettingsDrawerOpen"])}};function Xe(e,s,l,t,o,r){const a=v("AdminSettingsPanel"),n=v("SettingsDrawer");return m(),w(n,{title:"Admin",temporary:r.mdAndDown},{panel:f(()=>[i(a)]),_:1},8,["temporary"])}const Ye=A(He,[["render",Xe]]),O=Symbol.for("vuetify:v-tabs"),qe=P({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...J(de({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])},"VTab"),Q=I()({name:"VTab",props:qe(),setup(e,s){let{slots:l,attrs:t}=s;const{textColorClasses:o,textColorStyles:r}=ce(e,"sliderColor"),a=j(),n=j(),u=$(()=>e.direction==="horizontal"),_=$(()=>{var p,d;return((d=(p=a.value)==null?void 0:p.group)==null?void 0:d.isSelected.value)??!1});function U(p){var c,g;let{value:d}=p;if(d){const b=(g=(c=a.value)==null?void 0:c.$el.parentElement)==null?void 0:g.querySelector(".v-tab--selected .v-tab__slider"),L=n.value;if(!b||!L)return;const ee=getComputedStyle(b).color,y=b.getBoundingClientRect(),T=L.getBoundingClientRect(),C=u.value?"x":"y",D=u.value?"X":"Y",F=u.value?"right":"bottom",V=u.value?"width":"height",te=y[C],ae=T[C],S=te>ae?y[F]-T[F]:y[C]-T[C],se=Math.sign(S)>0?u.value?"right":"bottom":Math.sign(S)<0?u.value?"left":"top":"center",oe=(Math.abs(S)+(Math.sign(S)<0?y[V]:T[V]))/Math.max(y[V],T[V])||0,ne=y[V]/T[V]||0,N=1.5;me(L,{backgroundColor:[ee,"currentcolor"],transform:[`translate${D}(${S}px) scale${D}(${ne})`,`translate${D}(${S/N}px) scale${D}(${(oe-1)/N+1})`,"none"],transformOrigin:Array(3).fill(se)},{duration:225,easing:be})}}return W(()=>{const p=H.filterProps(e);return i(H,x({symbol:O,ref:a,class:["v-tab",e.class],style:e.style,tabindex:_.value?0:-1,role:"tab","aria-selected":String(_.value),active:!1},p,t,{block:e.fixed,maxWidth:e.fixed?300:void 0,"onGroup:selected":U}),{...l,default:()=>{var d;return i(B,null,[((d=l.default)==null?void 0:d.call(l))??e.text,!e.hideSlider&&i("div",{ref:n,class:["v-tab__slider",o.value],style:r.value},null)])}})}),ue({},a)}}),Ke=P({...J(Ue(),["continuous","nextIcon","prevIcon","showArrows","touch","mandatory"])},"VTabsWindow"),Je=I()({name:"VTabsWindow",props:Ke(),emits:{"update:modelValue":e=>!0},setup(e,s){let{slots:l}=s;const t=fe(O,null),o=Z(e,"modelValue"),r=$({get(){var a;return o.value!=null||!t?o.value:(a=t.items.value.find(n=>t.selected.value.includes(n.id)))==null?void 0:a.value},set(a){o.value=a}});return W(()=>{const a=M.filterProps(e);return i(M,x({_as:"VTabsWindow"},a,{modelValue:r.value,"onUpdate:modelValue":n=>r.value=n,class:["v-tabs-window",e.class],style:e.style,mandatory:!1,touch:!1}),l)}),{}}}),Ze=P({...Le()},"VTabsWindowItem"),Qe=I()({name:"VTabsWindowItem",props:Ze(),setup(e,s){let{slots:l}=s;return W(()=>{const t=R.filterProps(e);return i(R,x({_as:"VTabsWindowItem"},t,{class:["v-tabs-window-item",e.class],style:e.style}),l)}),{}}});function et(e){return e?e.map(s=>Te(s)?s:{text:s,value:s}):[]}const tt=P({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String,...ze({mandatory:"force",selectedClass:"v-tab-item--selected"}),...ve(),...we()},"VTabs"),at=I()({name:"VTabs",props:tt(),emits:{"update:modelValue":e=>!0},setup(e,s){let{attrs:l,slots:t}=s;const o=Z(e,"modelValue"),r=$(()=>et(e.items)),{densityClasses:a}=pe(e),{backgroundColorClasses:n,backgroundColorStyles:u}=ge(h(e,"bgColor")),{scopeId:_}=_e();return he({VTab:{color:h(e,"color"),direction:h(e,"direction"),stacked:h(e,"stacked"),fixed:h(e,"fixedTabs"),sliderColor:h(e,"sliderColor"),hideSlider:h(e,"hideSlider")}}),W(()=>{const U=Y.filterProps(e),p=!!(t.window||e.items.length>0);return i(B,null,[i(Y,x(U,{modelValue:o.value,"onUpdate:modelValue":d=>o.value=d,class:["v-tabs",`v-tabs--${e.direction}`,`v-tabs--align-tabs-${e.alignTabs}`,{"v-tabs--fixed-tabs":e.fixedTabs,"v-tabs--grow":e.grow,"v-tabs--stacked":e.stacked},a.value,n.value,e.class],style:[{"--v-tabs-height":ye(e.height)},u.value,e.style],role:"tablist",symbol:O},_,l),{default:()=>{var d;return[((d=t.default)==null?void 0:d.call(t))??r.value.map(c=>{var g;return((g=t.tab)==null?void 0:g.call(t,{item:c}))??i(Q,x(c,{key:c.text,value:c.value}),{default:t[`tab.${c.value}`]?()=>{var b;return(b=t[`tab.${c.value}`])==null?void 0:b.call(t,{item:c})}:void 0})})]}}),p&&i(Je,x({modelValue:o.value,"onUpdate:modelValue":d=>o.value=d,key:"tabs-window"},_),{default:()=>{var d;return[r.value.map(c=>{var g;return((g=t.item)==null?void 0:g.call(t,{item:c}))??i(Qe,{value:c.value},{default:()=>{var b;return(b=t[`item.${c.value}`])==null?void 0:b.call(t,{item:c})}})}),(d=t.window)==null?void 0:d.call(t)]}})])}),{}}}),st={name:"AdminTabs",data(){return{activeTab:"Libraries",tabs:["Users","Groups","Libraries","Flags","Tasks","Stats"]}},computed:{...G(z,["comicLibrariesExist"]),...Ve(z,{librariesLoaded:e=>!!e.libraries}),mdAndDown(){return this.$vuetify.display.mdAndDown}},watch:{$route(e){const l=e.path.split("/").at(-1);this.activeTab=We(l)}},mounted(){this.librariesLoaded||this.loadTables(["Library"])},methods:{...K(z,["loadTables"])}},ot={id:"tabContainer"},nt={key:0,id:"noLibraries"};function rt(e,s,l,t,o,r){const a=v("router-view");return m(),k("div",ot,[i(at,{class:E(["adminTabs",{drawerMargin:!r.mdAndDown}]),grow:"","show-arrows":""},{default:f(()=>[(m(!0),k(B,null,X(o.tabs,n=>(m(),w(Q,{key:n,modelValue:o.activeTab,"onUpdate:modelValue":s[0]||(s[0]=u=>o.activeTab=u),to:n.toLowerCase()},{default:f(()=>[q(Se(n),1)]),_:2},1032,["modelValue","to"]))),128))]),_:1},8,["class"]),i(M,{id:"tabItems",modelValue:o.activeTab,"onUpdate:modelValue":s[1]||(s[1]=n=>o.activeTab=n),touch:!1},{default:f(()=>[(m(!0),k(B,null,X(o.tabs,n=>(m(),w(a,{key:n},{default:f(({Component:u})=>[i(R,{value:n,class:"tabItemContainer"},{default:f(()=>[(m(),w(xe(u)))]),_:2},1032,["value"])]),_:2},1024))),128))]),_:1},8,["modelValue"]),e.comicLibrariesExist?Ae("",!0):(m(),k("div",nt," Codex has no libraries. Select the Libraries tab and add a comic library. "))])}const it=A(st,[["render",rt],["__scopeId","data-v-f7a7ae94"]]),lt={name:"MainAdmin",components:{AdminTitleToolbar:Oe,AdminTabs:it,AdminSettingsDrawer:Ye,Unauthorized:Ee},data(){return{mdiLogin:Ce}},computed:{...G(De,["isUserAdmin"])}};function dt(e,s,l,t,o,r){const a=v("AdminTitleToolbar"),n=v("AdminTabs"),u=v("AdminSettingsDrawer"),_=v("Unauthorized");return e.isUserAdmin?(m(),w(Me,{key:0},{default:f(()=>[i(a),i(n),i(u)]),_:1})):(m(),w(_,{key:1}))}const Tt=A(lt,[["render",dt]]);export{Tt as default};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as A,Y as v,Z as m,X as w,$ as f,S as i,aj as q,ak as E,al as re,am as ie,an as G,W as K,D as le,E as P,ao as J,ap as de,O as I,aq as ce,r as j,h as $,R as W,ar as H,U as B,as as x,at as ue,au as me,av as be,i as fe,aw as Z,ax as ve,ay as we,az as pe,aA as ge,aB as h,aC as _e,aD as he,K as ye,aE as Te,B as z,V as Ve,aF as k,aG as X,aH as Se,aI as xe,aJ as Ae,aK as Ce,m as De}from"./admin-drawer-panel-BF-h3Wm0.js";import{S as ke,V as $e,a as Be,b as Pe}from"./settings-drawer-BOTI_tHr.js";import{u as Ie,t as We}from"./main-x0Pcl23A.js";import{m as Ue,V as M,a as Le,b as R}from"./VWindowItem-aal6-Uv4.js";import{m as ze,V as Y}from"./VSlideGroup-C3XgVg2T.js";import{U as Ee,V as Me}from"./unauthorized-D5-FvA2_.js";import"./copy-to-clipboard-DoUvDJVx.js";import"./VDialog-D6HUFV6a.js";import"./change-password-dialog-BCYw5K7E.js";import"./VTextField-HAAxrpNi.js";import"./VSelectionControl-BOKIwNZb.js";const Re={name:"AdminTitleToolbar",components:{SettingsDrawerButton:ke},computed:{mdAndDown(){return this.$vuetify.display.mdAndDown}}};function Ge(e,s,l,t,o,r){const a=v("SettingsDrawerButton");return m(),w(Be,{id:"titleBar",class:E(["codexToolbar",{drawerMargin:!r.mdAndDown}]),density:"compact",elevation:"8"},{default:f(()=>[i($e,{class:"codexToolbarTitle"},{default:f(()=>[q(" Codex Administration ")]),_:1}),(m(),w(a,{key:r.mdAndDown,class:E({invisible:!r.mdAndDown}),disabled:!r.mdAndDown},null,8,["class","disabled"]))]),_:1},8,["class"])}const Oe=A(Re,[["render",Ge],["__scopeId","data-v-355452b0"]]),Fe={name:"AdminSettingsPanel",components:{DrawerItem:re},data(){return{mdiBookshelf:ie}},computed:{...G(Ie,["lastRoute"])}};function Ne(e,s,l,t,o,r){const a=v("DrawerItem");return m(),w(a,{to:e.lastRoute,"prepend-icon":o.mdiBookshelf,title:"Browser"},null,8,["to","prepend-icon"])}const je=A(Fe,[["render",Ne]]),He={name:"AdminSettingsDrawer",components:{SettingsDrawer:Pe,AdminSettingsPanel:je},computed:{mdAndDown(){return this.$vuetify.display.mdAndDown}},watch:{mdAndDown(e){e||this.setSettingsDrawerOpen(!0)}},mounted(){this.mdAndDown||this.setSettingsDrawerOpen(!0)},methods:{...K(le,["setSettingsDrawerOpen"])}};function Xe(e,s,l,t,o,r){const a=v("AdminSettingsPanel"),n=v("SettingsDrawer");return m(),w(n,{title:"Admin",temporary:r.mdAndDown},{panel:f(()=>[i(a)]),_:1},8,["temporary"])}const Ye=A(He,[["render",Xe]]),O=Symbol.for("vuetify:v-tabs"),qe=P({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...J(de({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])},"VTab"),Q=I()({name:"VTab",props:qe(),setup(e,s){let{slots:l,attrs:t}=s;const{textColorClasses:o,textColorStyles:r}=ce(e,"sliderColor"),a=j(),n=j(),u=$(()=>e.direction==="horizontal"),_=$(()=>{var p,d;return((d=(p=a.value)==null?void 0:p.group)==null?void 0:d.isSelected.value)??!1});function U(p){var c,g;let{value:d}=p;if(d){const b=(g=(c=a.value)==null?void 0:c.$el.parentElement)==null?void 0:g.querySelector(".v-tab--selected .v-tab__slider"),L=n.value;if(!b||!L)return;const ee=getComputedStyle(b).color,y=b.getBoundingClientRect(),T=L.getBoundingClientRect(),C=u.value?"x":"y",D=u.value?"X":"Y",F=u.value?"right":"bottom",V=u.value?"width":"height",te=y[C],ae=T[C],S=te>ae?y[F]-T[F]:y[C]-T[C],se=Math.sign(S)>0?u.value?"right":"bottom":Math.sign(S)<0?u.value?"left":"top":"center",oe=(Math.abs(S)+(Math.sign(S)<0?y[V]:T[V]))/Math.max(y[V],T[V])||0,ne=y[V]/T[V]||0,N=1.5;me(L,{backgroundColor:[ee,"currentcolor"],transform:[`translate${D}(${S}px) scale${D}(${ne})`,`translate${D}(${S/N}px) scale${D}(${(oe-1)/N+1})`,"none"],transformOrigin:Array(3).fill(se)},{duration:225,easing:be})}}return W(()=>{const p=H.filterProps(e);return i(H,x({symbol:O,ref:a,class:["v-tab",e.class],style:e.style,tabindex:_.value?0:-1,role:"tab","aria-selected":String(_.value),active:!1},p,t,{block:e.fixed,maxWidth:e.fixed?300:void 0,"onGroup:selected":U}),{...l,default:()=>{var d;return i(B,null,[((d=l.default)==null?void 0:d.call(l))??e.text,!e.hideSlider&&i("div",{ref:n,class:["v-tab__slider",o.value],style:r.value},null)])}})}),ue({},a)}}),Ke=P({...J(Ue(),["continuous","nextIcon","prevIcon","showArrows","touch","mandatory"])},"VTabsWindow"),Je=I()({name:"VTabsWindow",props:Ke(),emits:{"update:modelValue":e=>!0},setup(e,s){let{slots:l}=s;const t=fe(O,null),o=Z(e,"modelValue"),r=$({get(){var a;return o.value!=null||!t?o.value:(a=t.items.value.find(n=>t.selected.value.includes(n.id)))==null?void 0:a.value},set(a){o.value=a}});return W(()=>{const a=M.filterProps(e);return i(M,x({_as:"VTabsWindow"},a,{modelValue:r.value,"onUpdate:modelValue":n=>r.value=n,class:["v-tabs-window",e.class],style:e.style,mandatory:!1,touch:!1}),l)}),{}}}),Ze=P({...Le()},"VTabsWindowItem"),Qe=I()({name:"VTabsWindowItem",props:Ze(),setup(e,s){let{slots:l}=s;return W(()=>{const t=R.filterProps(e);return i(R,x({_as:"VTabsWindowItem"},t,{class:["v-tabs-window-item",e.class],style:e.style}),l)}),{}}});function et(e){return e?e.map(s=>Te(s)?s:{text:s,value:s}):[]}const tt=P({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String,...ze({mandatory:"force",selectedClass:"v-tab-item--selected"}),...ve(),...we()},"VTabs"),at=I()({name:"VTabs",props:tt(),emits:{"update:modelValue":e=>!0},setup(e,s){let{attrs:l,slots:t}=s;const o=Z(e,"modelValue"),r=$(()=>et(e.items)),{densityClasses:a}=pe(e),{backgroundColorClasses:n,backgroundColorStyles:u}=ge(h(e,"bgColor")),{scopeId:_}=_e();return he({VTab:{color:h(e,"color"),direction:h(e,"direction"),stacked:h(e,"stacked"),fixed:h(e,"fixedTabs"),sliderColor:h(e,"sliderColor"),hideSlider:h(e,"hideSlider")}}),W(()=>{const U=Y.filterProps(e),p=!!(t.window||e.items.length>0);return i(B,null,[i(Y,x(U,{modelValue:o.value,"onUpdate:modelValue":d=>o.value=d,class:["v-tabs",`v-tabs--${e.direction}`,`v-tabs--align-tabs-${e.alignTabs}`,{"v-tabs--fixed-tabs":e.fixedTabs,"v-tabs--grow":e.grow,"v-tabs--stacked":e.stacked},a.value,n.value,e.class],style:[{"--v-tabs-height":ye(e.height)},u.value,e.style],role:"tablist",symbol:O},_,l),{default:()=>{var d;return[((d=t.default)==null?void 0:d.call(t))??r.value.map(c=>{var g;return((g=t.tab)==null?void 0:g.call(t,{item:c}))??i(Q,x(c,{key:c.text,value:c.value}),{default:t[`tab.${c.value}`]?()=>{var b;return(b=t[`tab.${c.value}`])==null?void 0:b.call(t,{item:c})}:void 0})})]}}),p&&i(Je,x({modelValue:o.value,"onUpdate:modelValue":d=>o.value=d,key:"tabs-window"},_),{default:()=>{var d;return[r.value.map(c=>{var g;return((g=t.item)==null?void 0:g.call(t,{item:c}))??i(Qe,{value:c.value},{default:()=>{var b;return(b=t[`item.${c.value}`])==null?void 0:b.call(t,{item:c})}})}),(d=t.window)==null?void 0:d.call(t)]}})])}),{}}}),st={name:"AdminTabs",data(){return{activeTab:"Libraries",tabs:["Users","Groups","Libraries","Flags","Tasks","Stats"]}},computed:{...G(z,["comicLibrariesExist"]),...Ve(z,{librariesLoaded:e=>!!e.libraries}),mdAndDown(){return this.$vuetify.display.mdAndDown}},watch:{$route(e){const l=e.path.split("/").at(-1);this.activeTab=We(l)}},mounted(){this.librariesLoaded||this.loadTables(["Library"])},methods:{...K(z,["loadTables"])}},ot={id:"tabContainer"},nt={key:0,id:"noLibraries"};function rt(e,s,l,t,o,r){const a=v("router-view");return m(),k("div",ot,[i(at,{class:E(["adminTabs",{drawerMargin:!r.mdAndDown}]),grow:"","show-arrows":""},{default:f(()=>[(m(!0),k(B,null,X(o.tabs,n=>(m(),w(Q,{key:n,modelValue:o.activeTab,"onUpdate:modelValue":s[0]||(s[0]=u=>o.activeTab=u),to:n.toLowerCase()},{default:f(()=>[q(Se(n),1)]),_:2},1032,["modelValue","to"]))),128))]),_:1},8,["class"]),i(M,{id:"tabItems",modelValue:o.activeTab,"onUpdate:modelValue":s[1]||(s[1]=n=>o.activeTab=n),touch:!1},{default:f(()=>[(m(!0),k(B,null,X(o.tabs,n=>(m(),w(a,{key:n},{default:f(({Component:u})=>[i(R,{value:n,class:"tabItemContainer"},{default:f(()=>[(m(),w(xe(u)))]),_:2},1032,["value"])]),_:2},1024))),128))]),_:1},8,["modelValue"]),e.comicLibrariesExist?Ae("",!0):(m(),k("div",nt," Codex has no libraries. Select the Libraries tab and add a comic library. "))])}const it=A(st,[["render",rt],["__scopeId","data-v-f7a7ae94"]]),lt={name:"MainAdmin",components:{AdminTitleToolbar:Oe,AdminTabs:it,AdminSettingsDrawer:Ye,Unauthorized:Ee},data(){return{mdiLogin:Ce}},computed:{...G(De,["isUserAdmin"])}};function dt(e,s,l,t,o,r){const a=v("AdminTitleToolbar"),n=v("AdminTabs"),u=v("AdminSettingsDrawer"),_=v("Unauthorized");return e.isUserAdmin?(m(),w(Me,{key:0},{default:f(()=>[i(a),i(n),i(u)]),_:1})):(m(),w(_,{key:1}))}const Tt=A(lt,[["render",dt]]);export{Tt as default};
|
|
Binary file
|
|
Binary file
|