boneio 1.6.0.dev36__tar.gz → 1.6.0.dev37__tar.gz
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.
- {boneio-1.6.0.dev36/boneio.egg-info → boneio-1.6.0.dev37}/PKG-INFO +1 -1
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/manifest.json +1 -1
- boneio-1.6.0.dev37/boneio/migrations/plans/manifest.sig +2 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/runner.py +1 -1
- boneio-1.6.0.dev37/boneio/version.py +2 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/AccountsView-4tnxNCLQ.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/AccountsView-Jsyk1Ef7.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/AccountsView-Jsyk1Ef7.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/AppInitContext-CgTDDTX5.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/AppInitContext-KyeRy8eS.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/AppInitContext-KyeRy8eS.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/BackupSection-CP9o7-ap.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/BackupSection-Cdzmi541.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/BackupSection-Cdzmi541.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/BindingMatrix-XYfyw2Oo.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/BindingMatrix-Bfqgrt7n.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/BindingMatrix-Bfqgrt7n.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/DeviceControlSection-Hjm3YPgc.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/DeviceControlSection-C57xjYoH.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/DeviceControlSection-C57xjYoH.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/DiagnosticsView-BZ5JAKTd.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/DiagnosticsView-BEb1lMIh.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/DiagnosticsView-BEb1lMIh.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/EntityGrid-C_pVwLhG.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/EntityGrid-DNNJaVe4.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/EntityGrid-DNNJaVe4.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/FactoryResetSection-cTKy0B0y.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/FactoryResetSection-BcuJIHXI.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/FactoryResetSection-BcuJIHXI.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/FormInputToggle-CG0c2SHy.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/FormInputToggle-CcnyJSPJ.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/FormInputToggle-CcnyJSPJ.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/HaDashboardWizard-chi2KDg6.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/HaDashboardWizard-CLDd6bVU.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/HaDashboardWizard-CLDd6bVU.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/HostnameSection-BqW-Kw2r.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/HostnameSection-BzEOMcTZ.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/HostnameSection-BzEOMcTZ.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/InputsView-0k0sh5t0.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/InputsView-Bn1rM9-t.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/InputsView-Bn1rM9-t.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/LoadingState-DhSlmu2Z.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/LoadingState-EMHjoCf4.js +1 -1
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/LocationSection-DS0BKQOy.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/LocationSection-BdSQkSro.js +2 -2
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/LocationSection-BdSQkSro.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/LoggerForm-B33lv-x3.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/LoggerForm-CSOdB3jF.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/LoggerForm-CSOdB3jF.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/LongPressWrapper-DVesne_P.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/LongPressWrapper-DfsNM8eH.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/LongPressWrapper-DfsNM8eH.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/MigrationsSection-SQMMsLL6.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/MigrationsSection-BaO7P0AH.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/MigrationsSection-BaO7P0AH.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/ModbusView-BHy3Mndb.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/ModbusView-CoTmPZL6.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/ModbusView-CoTmPZL6.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/MqttPasswordsSection-qLHeGpO9.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/MqttPasswordsSection-D4DmacdR.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/MqttPasswordsSection-D4DmacdR.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/NodeRedManagement-1QcH4Q9L.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/NodeRedManagement-DCNXVrEh.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/NodeRedManagement-DCNXVrEh.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/OutputsView-Dd0EcAvG.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/OutputsView-uo-tC2s7.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/OutputsView-uo-tC2s7.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/SecurityView-DVYD4h2g.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/SecurityView-Cc1gmo3z.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/SecurityView-Cc1gmo3z.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/SensorView-1Tk3COVf.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/SensorView-BSLwJQ-l.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/SensorView-BSLwJQ-l.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/SystemState-DTXysqZ9.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/SystemState-jk5U-y8L.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/SystemState-jk5U-y8L.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/TemplatesView-txEZGLnI.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/TemplatesView-CVWQBcB9.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/TemplatesView-CVWQBcB9.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/TilePicker-B0jW993C.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/TilePicker-BTopl9DQ.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/TilePicker-BTopl9DQ.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/TimezoneSection-T36tKhJx.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/TimezoneSection-DjuIh4Y9.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/TimezoneSection-DjuIh4Y9.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/UISettings-Db8pSvLh.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/UISettings-Bf_HkmqH.js +4 -4
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/UISettings-Bf_HkmqH.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/UpdateSafetyNotice-DbVwrAGZ.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/UpdateSafetyNotice-BsgoGMNU.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/UpdateSafetyNotice-BsgoGMNU.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/aiConfig--26YaLLh.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/aiConfig-CU-F_697.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/aiConfig-CU-F_697.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/aiWizardPrompt-D6oZw4D8.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/aiWizardPrompt-B0llqNKS.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/aiWizardPrompt-B0llqNKS.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/groupByArea-BV_BQO4R.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/groupByArea-BE4T6b-Z.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/groupByArea-BE4T6b-Z.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/index-CNHyHjCc.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/index-bQAmfuAt.js +3 -3
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/index-bQAmfuAt.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/monaco-Dk_qJ5Ff.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/monaco-BYHhA3i5.js +2 -2
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/monaco-BYHhA3i5.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/monaco-D2HOVaX8.js → boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/monaco-Cv3w8k4u.js +1 -1
- boneio-1.6.0.dev37/boneio/webui/frontend-dist/assets/monaco-Cv3w8k4u.js.gz +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/index.html +2 -2
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/sw.js +1 -1
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37/boneio.egg-info}/PKG-INFO +1 -1
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio.egg-info/SOURCES.txt +69 -69
- boneio-1.6.0.dev36/boneio/migrations/plans/manifest.sig +0 -0
- boneio-1.6.0.dev36/boneio/version.py +0 -2
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/AccountsView-4tnxNCLQ.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/AppInitContext-CgTDDTX5.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/BackupSection-CP9o7-ap.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/BindingMatrix-XYfyw2Oo.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/DeviceControlSection-Hjm3YPgc.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/DiagnosticsView-BZ5JAKTd.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/EntityGrid-C_pVwLhG.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/FactoryResetSection-cTKy0B0y.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/FormInputToggle-CG0c2SHy.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/HaDashboardWizard-chi2KDg6.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/HostnameSection-BqW-Kw2r.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/InputsView-0k0sh5t0.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/LocationSection-DS0BKQOy.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/LoggerForm-B33lv-x3.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/LongPressWrapper-DVesne_P.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/MigrationsSection-SQMMsLL6.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/ModbusView-BHy3Mndb.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/MqttPasswordsSection-qLHeGpO9.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/NodeRedManagement-1QcH4Q9L.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/OutputsView-Dd0EcAvG.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/SecurityView-DVYD4h2g.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/SensorView-1Tk3COVf.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/SystemState-DTXysqZ9.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/TemplatesView-txEZGLnI.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/TilePicker-B0jW993C.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/TimezoneSection-T36tKhJx.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/UISettings-Db8pSvLh.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/UpdateSafetyNotice-DbVwrAGZ.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/aiConfig--26YaLLh.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/aiWizardPrompt-D6oZw4D8.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/groupByArea-BV_BQO4R.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/index-CNHyHjCc.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/monaco-D2HOVaX8.js.gz +0 -0
- boneio-1.6.0.dev36/boneio/webui/frontend-dist/assets/monaco-Dk_qJ5Ff.js.gz +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/LICENSE +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/MANIFEST.in +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/README.md +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.2/input.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.2/output_24_16.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.2/output_32_10.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.2/output_32_5.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.2/output_cover.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.2/output_cover_mix.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.3/input.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.3/output_24_16.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.3/output_32_10.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.3/output_32_5.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.3/output_cover.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.3/output_cover_mix.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.4/input.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.4/output_24_16.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.4/output_32_10.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.4/output_32_5.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.4/output_cover.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.4/output_cover_mix.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.5/input.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.5/output_24_16.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.5/output_32_10.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.5/output_cover.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.5/output_cover_mix.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.6/input.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.6/output_24_16.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.6/output_32_10.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.6/output_cover.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.6/output_cover_mix.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.7/input.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.7/output_24_16.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.7/output_32_10.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.7/output_48_4.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.7/output_cover.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.7/output_cover_mix.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.8/input.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.8/output_24_16.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.8/output_32_10.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.8/output_48_4.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.8/output_cover.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/0.8/output_cover_mix.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/1.0/input.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/1.0/output_24_16.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/1.0/output_32_10.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/1.0/output_48_4.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/1.0/output_cover.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/1.0/output_cover_mix.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/1.1/input.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/1.1/output_24_16.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/1.1/output_32_10.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/1.1/output_48_4.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/1.1/output_cover.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/boards/1.1/output_cover_mix.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/bonecli.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/cover/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/cover/cover.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/cover/remote.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/cover/time_based.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/cover/venetian.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/group/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/group/output_group.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/input/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/input/binary_sensor.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/input/detectors.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/input/event.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/input/remote/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/input/remote/base.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/input/remote/esphome.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/input/remote/mqtt.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/irrigation/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/irrigation/controller.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/irrigation/water_source.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/output/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/output/basic.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/output/buzzer.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/output/mcp.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/output/pca.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/output/pcf.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/output/remote.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/sensor/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/sensor/virtual_energy.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/template/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/template/alarm_panel.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/template/gate_cover.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/template/thermostat.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/components/virtual_switch.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/const.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/atomic_file.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/auth/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/auth/cli.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/auth/hashing.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/auth/jwt_secret.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/auth/migration.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/auth/models.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/auth/store.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/cloud/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/cloud/data/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/cloud/data/docker-compose.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/cloud/data/init-certs-cloud.sh +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/cloud/registration.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/cloud/secrets.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/config/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/config/config_helper.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/config/input_bindings.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/config/migrations/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/config/migrations/v1_proxy_port.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/config/migrations/v2_transition.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/config/migrations/v4_wled_cache.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/config/migrations/v5_ina_screen.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/config/migrations/v6_input_keys.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/config/migrations/v7_mqtt_password_secret.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/config/package-lock.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/config/package.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/config/provenance.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/config/schema_converter.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/config/secret_masking.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/config/write_lock.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/config/yaml_compat.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/config/yaml_patch.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/config/yaml_util.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/containers.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/diagnostics/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/diagnostics/collect.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/discovery.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/events/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/events/bus.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/manager/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/manager/action_conditions.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/manager/canopen.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/manager/covers.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/manager/display.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/manager/inputs.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/manager/irrigation.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/manager/manager.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/manager/modbus.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/manager/outputs.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/manager/remote.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/manager/remote_input_registrar.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/manager/scheduler.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/manager/security_alert.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/manager/sensors.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/manager/sun.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/manager/templates/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/manager/templates/alarm.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/manager/templates/gate_cover.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/manager/templates/thermostat.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/manager/templates.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/manager/update.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/manager/virtual_switches.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/messaging/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/messaging/basic.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/messaging/basic_mqtt.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/messaging/broker_tls.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/messaging/composite.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/messaging/local.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/messaging/lox.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/messaging/mqtt.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/messaging/mqtt_tls.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/messaging/queue.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/net/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/net/discovery_guard.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/nodered_guard.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/proxy_switch.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/recovery.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/remote/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/remote/base.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/remote/can.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/remote/esphome.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/remote/mqtt.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/remote/wled.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/remote/wled_cache.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/security/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/security/certificate.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/security/framing.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/security/posture.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/sensor/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/sensor/base.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/sensor/sun.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/sensor/system.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/state/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/state/manager.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/system/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/system/host_data.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/system/monitor.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/system_ops.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/utils/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/utils/async_updater.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/utils/conditions.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/utils/filter.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/utils/font_util.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/utils/logger.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/utils/naming.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/utils/overlay.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/utils/sun.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/utils/timeperiod.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/core/utils/util.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/example_config/can_master.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/example_config/can_slave.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/example_config/different_configs/adc.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/example_config/different_configs/all_binary_sensor.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/example_config/different_configs/binary_sensor.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/example_config/different_configs/binary_sensor_v_0_7.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/example_config/different_configs/config_24_16.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/example_config/different_configs/event_all.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/example_config/different_configs/event_v_0_7.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/example_config/different_configs/led32x4A.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/example_config/different_configs/output24x16A.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/example_config/different_configs/output24x16A_v0.3.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/example_config/different_configs/output32x10A.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/example_config/different_configs/output32x5A.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/exceptions.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/24x16/adc.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/24x16/binary_sensor.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/24x16/config.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/24x16/event.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/24x16/mqtt.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/24x16/output24x16A.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/24x16/secrets.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/32x10/adc.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/32x10/binary_sensor.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/32x10/config.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/32x10/event.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/32x10/mqtt.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/32x10/output32x10A.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/32x10/secrets.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/48x4/adc.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/48x4/binary_sensor.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/48x4/config.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/48x4/event.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/48x4/mqtt.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/48x4/output48x4A.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/48x4/secrets.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/base/config.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/base/mqtt.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/base/secrets.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/cover/adc.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/cover/binary_sensor.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/cover/config.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/cover/cover.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/cover/event.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/cover/mqtt.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/cover/outputCover.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/cover/secrets.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/cover_mix/adc.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/cover_mix/binary_sensor.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/cover_mix/config.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/cover_mix/cover.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/cover_mix/event.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/cover_mix/mqtt.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/cover_mix/outputCoverMix.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/0.8/cover_mix/secrets.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/24x16/adc.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/24x16/binary_sensor.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/24x16/config.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/24x16/event.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/24x16/mqtt.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/24x16/output24x16A.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/24x16/secrets.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/32x10/adc.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/32x10/binary_sensor.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/32x10/config.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/32x10/event.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/32x10/mqtt.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/32x10/output32x10A.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/32x10/secrets.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/48x4/adc.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/48x4/binary_sensor.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/48x4/config.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/48x4/event.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/48x4/mqtt.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/48x4/output48x4A.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/48x4/secrets.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/base/config.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/base/mqtt.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/base/secrets.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/cover/adc.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/cover/binary_sensor.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/cover/config.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/cover/cover.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/cover/event.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/cover/mqtt.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/cover/outputCover.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/cover/secrets.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/cover_mix/adc.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/cover_mix/binary_sensor.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/cover_mix/config.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/cover_mix/cover.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/cover_mix/event.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/cover_mix/mqtt.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/cover_mix/outputCoverMix.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/cover_mix/secrets.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/tester/adc.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/tester/binary_sensor.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/tester/config.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/tester/event.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/tester/mqtt.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/tester/output32x10A.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.0/tester/secrets.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/24x16/adc.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/24x16/binary_sensor.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/24x16/config.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/24x16/event.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/24x16/mqtt.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/24x16/output24x16A.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/24x16/secrets.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/32x10/adc.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/32x10/binary_sensor.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/32x10/config.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/32x10/event.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/32x10/mqtt.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/32x10/output32x10A.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/32x10/secrets.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/48x4/adc.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/48x4/binary_sensor.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/48x4/config.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/48x4/event.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/48x4/mqtt.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/48x4/output48x4A.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/48x4/secrets.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/base/config.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/base/mqtt.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/base/secrets.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/cover/adc.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/cover/binary_sensor.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/cover/config.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/cover/cover.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/cover/event.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/cover/mqtt.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/cover/outputCover.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/cover/secrets.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/cover_mix/adc.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/cover_mix/binary_sensor.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/cover_mix/config.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/cover_mix/cover.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/cover_mix/event.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/cover_mix/mqtt.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/cover_mix/outputCoverMix.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/cover_mix/secrets.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/tester/adc.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/tester/binary_sensor.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/tester/config.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/tester/event.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/tester/mqtt.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/tester/output32x10A.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/1.1/tester/secrets.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/factory_config/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/analog/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/analog/adc.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/can/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/can/bridge.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/can/client.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/can/interface.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/can/node.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/can/node_id.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/can/test_od.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/display/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/display/early_oled.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/display/fonts/danube__.ttf +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/display/oled.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/gpio/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/gpio/expanders/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/gpio/expanders/mcp23017.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/gpio/expanders/pca9685.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/gpio/expanders/pcf8575.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/gpio/input/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/gpio/input/base.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/gpio/input/manager.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/i2c/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/i2c/bus.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/i2c/ina219.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/i2c/ina219_driver.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/i2c/ina226.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/i2c/ina226_driver.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/i2c/mcp9808.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/i2c/pct2075.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/onewire/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/onewire/dallas.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/sensor/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/sensor/temperature/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/sensor/temperature/base.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/sensor/temperature/mcp9808.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/sensor/temperature/pct2075.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/hardware/udev_wait.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/integration/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/integration/homeassistant.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/integration/interlock.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/integration/lox_template.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/actions.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/MANIFEST.sha256 +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/apt/52boneio-periodic +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/apt/52boneio-unattended +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/apt/53boneio-caddy +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/apt/caddy-pin.pref +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/apt/caddy-stable-archive-keyring.gpg +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/apt/caddy-stable.list +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/caddy/502.html +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/docker/daemon.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/docker/nodered/caddy/502.html +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/docker/nodered/caddy/init-certs.sh +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/docker/nodered/docker-compose-cloud.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/docker/nodered/docker-compose-native-proxy.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/docker/nodered/docker-compose.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/docker/nodered/node-red/settings.js +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/helpers/boneio-containers +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/helpers/boneio-helpers-heal +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/helpers/boneio-migrate-v2 +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/helpers/boneio-proxy-config +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/helpers/boneio-system +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/issue.d/10-boneio.issue +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/journald/boneio-console.conf +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/journald/journald.conf +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/kernel/postinst-boneio-overlay +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/migrations-recovery.pem +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/migrations.pem +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/modules-load.d/onewire.conf +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/mosquitto/boneio.conf +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/motd/20-boneio +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/overlays/BONEIO-BLACK-PINS-v0.2-v0.3.dtbo +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/sshd/10-boneio-hardening.conf +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/sshd/15-boneio-penalties.conf +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/sshd/20-boneio-banner.conf +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/sshd/boneio-banner +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/sudoers/boneio +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/sudoers/boneio-helpers +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/sudoers/boneio-timedatectl +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/systemd/boneio-dpkg-recover.service +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/systemd/boneio-helpers-heal.service +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/systemd/boneio-oled-boot.service +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/systemd/boneio-oled-shutdown.service +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/systemd/boneio-proxy-recover.service +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/systemd/boneio.service +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/systemd/caddy-boneio.conf +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/systemd/dropins/apt-daily-priority.conf +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/systemd/dropins/avahi-daemon-defer.conf +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/systemd/dropins/bb-usb-gadgets-defer.conf +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/systemd/dropins/mosquitto-priority.conf +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/systemd/dropins/timer-no-persistent.conf +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/systemd/dropins/user-manager-defer.conf +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/systemd/linger-marker +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/systemd/set-hostname-once.service +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/usr-local-bin/set-hostname-once.sh +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/usr-sbin/oled_boot_splash.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/usr-sbin/oled_boot_splash.sh +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/usr-sbin/oled_msg.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/usr-sbin/oled_msg.sh +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/assets/wheels/pyyaml-6.0.3-cp313-cp313-linux_armv7l.whl +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/bootstrap/boneio-migrate +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/bootstrap/install-helper.sh +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/bootstrap/sudoers-migrate +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.3.0.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.3.0.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.3.1.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.3.1.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.3.2.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.3.2.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.4.0.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.4.0.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.4.3.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.4.3.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.4.4.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.4.4.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.0.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.0.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.1.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.1.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.10.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.10.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.11.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.11.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.12.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.12.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.13.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.13.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.14.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.14.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.15.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.15.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.16.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.16.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.17.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.17.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.18.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.18.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.2.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.2.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.3.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.3.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.4.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.4.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.5.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.5.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.6.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.6.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.7.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.7.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.8.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.8.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.9.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.5.9.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.0.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.0.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.1.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.1.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.10.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.10.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.11.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.11.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.12.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.12.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.13.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.13.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.14.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.14.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.15.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.15.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.16.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.16.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.17.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.17.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.18.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.18.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.19.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.19.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.2.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.2.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.20.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.20.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.21.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.21.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.22.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.22.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.23.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.23.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.24.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.24.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.25.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.25.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.26.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.26.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.27.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.27.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.28.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.28.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.29.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.29.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.3.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.3.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.30.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.30.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.31.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.31.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.32.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.32.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.33.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.33.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.34.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.34.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.35.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.35.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.36.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.36.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.37.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.37.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.38.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.38.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.39.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.39.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.4.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.4.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.40.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.40.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.41.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.41.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.42.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.42.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.43.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.43.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.5.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.5.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.6.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.6.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.7.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.7.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.8.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.8.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.9.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/plans/1.6.9.sig +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/runner.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_3_0_baseline.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_3_1_fix_oled_boot.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_3_2_cleanup_can_sudoers.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_4_0_fix_mqtt_sudoers.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_4_3_oled_shutdown.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_4_4_caddy.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_5_0_fix_oled_fifo_permissions.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_5_10_disable_console_setup.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_5_11_timer_catchup.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_5_12_oled_splash_off_critical_path.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_5_13_mosquitto_priority.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_5_14_journal_apparent_size.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_5_15_prune_orphan_journals.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_5_16_login_linger.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_5_17_defer_user_manager.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_5_18_fix_hostname_once.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_5_1_ufw_lox_udp.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_5_2_libyaml.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_5_3_libyaml_retry.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_5_4_onewire_modules.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_5_5_overlay_kernel_hook.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_5_6_boot_service_order.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_5_7_journald_limits.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_5_8_apparmor_prune.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_5_9_defer_nonessential.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_0_nodered_admin_auth.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_10_narrow_sudo_rules.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_11_drop_docker_group.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_12_console_shows_ip.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_13_custom_certificate.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_14_certificate_lifetime.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_15_web_port_reaches_caddy.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_16_release_floor_ordering.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_17_service_password.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_18_os_updates.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_19_helper_apt_purge.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_1_mosquitto_passwd_perms.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_20_drop_packagekit.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_21_caddy_pinned.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_22_security_autoupdates.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_23_helper_fstab_options.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_24_boot_partition_nofail.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_25_journal_to_serial_console.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_26_kernel_check_old_images.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_27_startup_overlay_repair.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_28_ssh_login_screen.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_29_service_password_change.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_2_drop_build_sudo_rule.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_30_os_update_apt_cache.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_31_overlay_v02_v03_inputs.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_32_mqtt_broker_tls.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_33_os_update_measured_space.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_34_nodered_admin_auth_again.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_35_ssh_guessing_penalty.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_36_helper_drops_kmem.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_37_drop_kmem_group.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_38_ssh_penalty_per_block.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_39_containers_pull_timeout.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_3_firewall_rule_gaps.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_40_disk_usage.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_41_starting_page.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_42_native_caddy_staging.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_43_log2ram_cp.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_4_ssh_login_hardening.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_5_trust_transition.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_6_retire_legacy_helper.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_7_timedatectl_sudoers.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_8_system_helper.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/migrations/versions/v1_6_9_ntp_servers.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/cli.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/client.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/coordinator.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/energy_meters/dts1964_3f.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/energy_meters/le-03mw.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/energy_meters/le-03mwct.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/energy_meters/orno-or-we-517.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/energy_meters/sdm120.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/energy_meters/sdm630.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/energy_meters/socomec_e03.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/energy_meters/socomec_e23.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/hvac/defro-drx.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/hvac/eht-topventil-plus.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/hvac/fujitsu-ac.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/hvac/thessla.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/hvac/ventclear.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/hvac/wanas415.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/inverters/sofar.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/other/esp32_relay_x4_modbus.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/other/n4dsc08.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/other/r4dcb08.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/sensors/boneio-edge-temp.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/sensors/cwt.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/sensors/dyp-a12-ultrasonic.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/sensors/gdfs.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/sensors/gdfx.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/sensors/liquid-sensor.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/sensors/pt100.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/sensors/qdw90a.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/sensors/sht20.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/devices/sensors/sht30.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/entities/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/entities/base.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/entities/derived/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/entities/derived/numeric.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/entities/derived/select.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/entities/derived/switch.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/entities/derived/text.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/entities/sensor/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/entities/sensor/binary.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/entities/sensor/numeric.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/entities/sensor/text.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/entities/writeable/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/entities/writeable/binary.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/entities/writeable/numeric.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/mock_coordinator.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/modbus/utils.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/models/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/models/actions.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/models/events.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/models/files.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/models/logs.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/models/mqtt.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/models/state.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/schema/actions.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/schema/actions_sensor.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/schema/actions_switch.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/schema/condition.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/schema/filters.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/schema/filters_adc.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/schema/id.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/schema/remote_devices.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/schema/remote_inputs.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/schema/remote_outputs.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/schema/schema.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/schema/temp_unit.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/schema/update_interval.yaml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/action_validation.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/app.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/bind.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/dashboard_cards.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/NodeRedView-BZdmAtAt.js +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/NodeRedView-BZdmAtAt.js.gz +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/NumericInput-fo5QZMhp.js +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/NumericInput-fo5QZMhp.js.gz +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/Sparkline-DoHMYvvZ.js +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/Sparkline-DoHMYvvZ.js.gz +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/ViewToggle-CUtK4zn3.js +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/axios-DyqbZVcF.js +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/axios-DyqbZVcF.js.gz +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/basePath-CxHj-SSK.js +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/clipboard-CCtx29e-.js +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/codicon-ngg6Pgfi.ttf +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/codicon-ngg6Pgfi.ttf.gz +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/configCache-DZ0vWq_Z.js +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/dialog-DcnAJg2-.js +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/dialog-DcnAJg2-.js.gz +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/editor.worker-O-CH8JUO.js +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/editor.worker-O-CH8JUO.js.gz +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/fa-wf69YpA7.js +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/fa-wf69YpA7.js.gz +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/formatters-Cc0QIRxb.js +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/gi-CdbYopzz.js +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/index-BiDbe4jH.css +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/index-BiDbe4jH.css.gz +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/monaco-Br_kD0ds.css +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/monaco-Br_kD0ds.css.gz +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/rolldown-runtime-hePW80VL.js +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/select-DsYydCvY.js +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/select-DsYydCvY.js.gz +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/utils-DOQQTBMN.js +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/utils-DOQQTBMN.js.gz +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/workbox-window.prod.es5-Bd17z0YL.js +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/workbox-window.prod.es5-Bd17z0YL.js.gz +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/yaml.worker-CeS-z5zL.js +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/assets/yaml.worker-CeS-z5zL.js.gz +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/boneio-192.png +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/boneio-512.png +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/boneio.svg +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/boneio_fav.svg +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/adc.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/areas.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/binary_sensor.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/boneio.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/can.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/config.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/cover.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/dallas.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/ds2482.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/event.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/ina219.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/ina226.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/irrigation.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/lm75.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/location.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/logger.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/lox_udp.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/mcp23017.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/mcp9808.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/modbus.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/modbus_devices.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/mqtt.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/oled.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/osdp.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/output.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/output_group.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/pca9685.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/pcf8575.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/remote_devices.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/remote_inputs.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/remote_outputs.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/schedule.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/sensor.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/template.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/virtual_energy_sensor.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/virtual_switch.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/schema/web.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/frontend-dist/workbox-7e79c025.js +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/hvac_svg_templates.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/input_validation.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/middleware/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/middleware/auth.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/middleware/csrf.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/middleware/policy.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/middleware/proxy.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/modbus_card_templates.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/rate_limit.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/recovery/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/recovery/app.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/recovery/server.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/recovery/static/index.html +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/recovery/static/recovery.css +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/recovery/static/recovery.js +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/accounts.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/auth.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/can.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/config.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/config_actions.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/config_backups.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/config_core.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/config_discovery.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/config_files.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/covers.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/dashboard.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/dev_fake_device.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/diagnostics.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/irrigation.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/migrations.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/modbus.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/mqtt_reference.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/mqtt_tls.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/nodered.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/onboarding.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/os_update.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/outputs.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/proxy.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/remote_devices.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/schedule.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/security.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/sensors.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/sun.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/system.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/templates.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/timezone_sudoers.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/tools.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/routes/update.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/adc.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/areas.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/binary_sensor.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/boneio.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/can.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/config.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/cover.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/dallas.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/ds2482.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/event.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/ina219.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/ina226.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/irrigation.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/lm75.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/location.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/logger.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/lox_udp.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/mcp23017.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/mcp9808.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/modbus.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/modbus_devices.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/mqtt.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/oled.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/osdp.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/output.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/output_group.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/pca9685.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/pcf8575.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/remote_devices.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/remote_inputs.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/remote_outputs.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/schedule.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/sensor.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/template.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/virtual_energy_sensor.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/virtual_switch.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/schema/web.schema.json +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/security_events.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/security_headers.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/services/__init__.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/services/logs.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/static_assets.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/sudo_rate_limiter.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/web_server.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio/webui/websocket_manager.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio.egg-info/dependency_links.txt +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio.egg-info/entry_points.txt +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio.egg-info/requires.txt +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/boneio.egg-info/top_level.txt +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/pyproject.toml +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/setup.cfg +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/setup.py +0 -0
- {boneio-1.6.0.dev36 → boneio-1.6.0.dev37}/tests/test_py313_compatibility.py +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"plans":{"1.3.0":"645ac6bdda8dc0a73c219aa3684a29df4bdd4032aad97a833b259de489b2ce32","1.3.1":"580381a4f6f40fc1bd4e903e591ad0d5c1db27daaccafc6f79dabf8c3b84259a","1.3.2":"7a69ffaf0c41438be25a656dcdc87783daac0eae79218d023648ef9d708e373f","1.4.0":"41c3a16e7819857a4b826e944fcfb4f79c58e7192cb151b106a3acd7487d5771","1.4.3":"a8cfbabff09d21944a822c4a70f23a7ee14960c4054de151c9fbc7cdb29adff5","1.4.4":"cb3a82435fe912e048235f08d08158d4a37398b801255ee4b7e3b6c51f9ebd40","1.5.0":"52d9d118da099abda0e0153cd16892e201681f6e4d3c6e5790284d1ac469a407","1.5.1":"d283cb8c01024338fb614ae2199744d883379f59579423e4eb9234f5c59ebdd8","1.5.10":"889e2f12614e6e67d342571c1c3bab8940659bfbbf43fa30a6847e73decb85d1","1.5.11":"4906e4de2b3a9c2f0b0181817c9dc168cb910ba6941691d4e86b8387802b624a","1.5.12":"c0a0dc085bb33d9718e869ed5effc2c1581deffd7ed0d5adc119b94312181625","1.5.13":"bfe58c8756f9b5f5e55d5acbb6f7cfc469d201004d312c14e022eb7c52369b7d","1.5.14":"a0464f11e05128cba8881e6295e591fce1ed1e8d43ab0e16710effb8e543d810","1.5.15":"0687a735cb4aaf8f8f74ad6e228ca1b14e045cba8821991c7d19fc9beaeac766","1.5.16":"3544ac754f39d56ecf2b06300b7cca1b6f8723f99885cd11bd690f1a704d3728","1.5.17":"cf1e9e0ff6812cb7092a82dd588392d625decbe3680fe003dfc554f9045809d3","1.5.18":"1fd873effa66b632217d674745722f712a48b36bb79957fefae722757a74bc30","1.5.2":"39fccb7582e13e7e3436861fde7b83ddb8057788cbde792f2f0cf7003f068850","1.5.3":"39fccb7582e13e7e3436861fde7b83ddb8057788cbde792f2f0cf7003f068850","1.5.4":"e86174ba5aff6f257f8a3f4721c7942885cd203469a9d8ddc15dbe6c704e0f45","1.5.5":"f93ed2d4342e447eb9900a0150331113918f2a8b3baeeb795c07231d80f0337c","1.5.6":"e3d90e6ceb20d760f1e9fa63224c5a070a16b3ca6e7dc4cc2c594138e929cce8","1.5.7":"a0464f11e05128cba8881e6295e591fce1ed1e8d43ab0e16710effb8e543d810","1.5.8":"f075b84fb04f4043658a28402d963494dd58481f164c0b371cec94322fe6d131","1.5.9":"ac170fc924019fc2acd69a90a82ba5c2552dce7a2c01a05e5407443e7a9e5af7","1.6.0":"c8286514d1a4f1805e727e13d3c350bb390378c6f31ad6920030412d61ec9b3f","1.6.1":"aa1d3934091853fc21208993930c1bf92e17136428d1d0baaefabfa65d13e7fa","1.6.10":"41c3a16e7819857a4b826e944fcfb4f79c58e7192cb151b106a3acd7487d5771","1.6.11":"d136203e08e3b052254403815d4ccedb555b0a297686fe97952d275eb1f322eb","1.6.12":"c328d4e36bd6277e01cef0140993e23970f4dff84425f3eba236cdd9a8954355","1.6.13":"f1f8b091d054a08665f047b5ad91f1f309f729a8aa30a2992d6ffdbd7f9fa7e4","1.6.14":"f1f8b091d054a08665f047b5ad91f1f309f729a8aa30a2992d6ffdbd7f9fa7e4","1.6.15":"8cfaeae24ceefe171d40241549c1f62527ce41821e5fd2904c0df1973596c0c7","1.6.16":"c02099b67b33d905d99bcb322a8ae7dbef2b64731727671b0769a47e76facb08","1.6.17":"1bcd82ee9dcaee6f87afc32a87be5be8aced8f050bffc30c3a27cf4e1be8c0d3","1.6.18":"1bcd82ee9dcaee6f87afc32a87be5be8aced8f050bffc30c3a27cf4e1be8c0d3","1.6.19":"c02099b67b33d905d99bcb322a8ae7dbef2b64731727671b0769a47e76facb08","1.6.2":"6ef96b5e00a04a929d16f0e4a136bfcc5b8132a466d6907a99b2c8516a8952d5","1.6.20":"28027c836eef19b21b95500760961e181f6078d22cccf8cca62b77bbbb11a0c5","1.6.21":"512a7cd64b515cbb695e6f79e66a88a9b7e0d7d815a5766b4d55a2b0fd4e61cf","1.6.22":"0bc870bf7b0695e2ae67b1ee321dea1066451aabffbb0603e734ef1aca67fb7d","1.6.23":"c02099b67b33d905d99bcb322a8ae7dbef2b64731727671b0769a47e76facb08","1.6.24":"701460ed5e3ed236c8c7273ba0a98a0235786b4a04bd6c7aa6088fb835549aa6","1.6.25":"efa09d1677148bdfe4639273479c9a1fa527d4cf5d2ca9af6dd876883652ba22","1.6.26":"1bcd82ee9dcaee6f87afc32a87be5be8aced8f050bffc30c3a27cf4e1be8c0d3","1.6.27":"1bcd82ee9dcaee6f87afc32a87be5be8aced8f050bffc30c3a27cf4e1be8c0d3","1.6.28":"6e219d09a06a5de8162a521c9b3c3b54067e6bb4d1d15b3b47a8ec522fd76b5c","1.6.29":"1bcd82ee9dcaee6f87afc32a87be5be8aced8f050bffc30c3a27cf4e1be8c0d3","1.6.3":"5c10db827bcb92b9322d4aa5751076b825da87c6d18d6953847ba72317cca862","1.6.30":"1bcd82ee9dcaee6f87afc32a87be5be8aced8f050bffc30c3a27cf4e1be8c0d3","1.6.31":"aff0aceb19da38bd1c0e077f2ce8da562ee007accdb4b6dd89570da63d6ac3d6","1.6.32":"d2f6d821528a07cd0d91e1d437c7348a938ce487015e577eeefb56ccc5467fad","1.6.33":"1bcd82ee9dcaee6f87afc32a87be5be8aced8f050bffc30c3a27cf4e1be8c0d3","1.6.34":"c8286514d1a4f1805e727e13d3c350bb390378c6f31ad6920030412d61ec9b3f","1.6.35":"01e6f8e021884ed7d1eacaafb6a32fdea66477644c46ba9863628c2eb4090917","1.6.36":"c02099b67b33d905d99bcb322a8ae7dbef2b64731727671b0769a47e76facb08","1.6.37":"485e7f7147d4342ba19012cb80815450f25c43cd7d29446231f8bcf3971ddfde","1.6.38":"01e6f8e021884ed7d1eacaafb6a32fdea66477644c46ba9863628c2eb4090917","1.6.39":"bfe6864d8f414bfe2fa6fcb26cc092131e9bd43a038466aa6a00a55aee785790","1.6.4":"baf2bb1c2ec7c1bfccfc514ef1cef67907e056e4f7153bb5932ecb835c9cff78","1.6.40":"1bcd82ee9dcaee6f87afc32a87be5be8aced8f050bffc30c3a27cf4e1be8c0d3","1.6.41":"727bf34badeba075962ba0f3b95a466972756b7b5ab75a9653d8f0b2f38a0b30","1.6.42":"6af6a5e418068e9e060a4fbfb062b17b3386e294485a3f8531525ea3ab9b0cfb","1.6.43":"122079dd653ada93cfa2b59d8497e2eaa74ede6085fa07304c497b5663cb4427","1.6.5":"00eb0598fc9cae48d248102ea278b544457570bbdcf35a6fab0dec59d9c5229e","1.6.6":"535bb041b99d5ac1bc9028ea88bc2fbf3dbadc80ea8dea236cc219123c194114","1.6.7":"d59af413e270e6f34b1b9a1c8c4acef35328f00e26fad447cfe214545af78d8f","1.6.8":"fea99f3d28c93b1c6f2b97453e008ddb22223e467b8d7f18ff1f920a20f654b4","1.6.9":"63392b32b88615655806d518a05d8b451bcd0de5148d6b1b1914b6b6eee3b56b"},"release":"1.6.0.
|
|
1
|
+
{"plans":{"1.3.0":"645ac6bdda8dc0a73c219aa3684a29df4bdd4032aad97a833b259de489b2ce32","1.3.1":"580381a4f6f40fc1bd4e903e591ad0d5c1db27daaccafc6f79dabf8c3b84259a","1.3.2":"7a69ffaf0c41438be25a656dcdc87783daac0eae79218d023648ef9d708e373f","1.4.0":"41c3a16e7819857a4b826e944fcfb4f79c58e7192cb151b106a3acd7487d5771","1.4.3":"a8cfbabff09d21944a822c4a70f23a7ee14960c4054de151c9fbc7cdb29adff5","1.4.4":"cb3a82435fe912e048235f08d08158d4a37398b801255ee4b7e3b6c51f9ebd40","1.5.0":"52d9d118da099abda0e0153cd16892e201681f6e4d3c6e5790284d1ac469a407","1.5.1":"d283cb8c01024338fb614ae2199744d883379f59579423e4eb9234f5c59ebdd8","1.5.10":"889e2f12614e6e67d342571c1c3bab8940659bfbbf43fa30a6847e73decb85d1","1.5.11":"4906e4de2b3a9c2f0b0181817c9dc168cb910ba6941691d4e86b8387802b624a","1.5.12":"c0a0dc085bb33d9718e869ed5effc2c1581deffd7ed0d5adc119b94312181625","1.5.13":"bfe58c8756f9b5f5e55d5acbb6f7cfc469d201004d312c14e022eb7c52369b7d","1.5.14":"a0464f11e05128cba8881e6295e591fce1ed1e8d43ab0e16710effb8e543d810","1.5.15":"0687a735cb4aaf8f8f74ad6e228ca1b14e045cba8821991c7d19fc9beaeac766","1.5.16":"3544ac754f39d56ecf2b06300b7cca1b6f8723f99885cd11bd690f1a704d3728","1.5.17":"cf1e9e0ff6812cb7092a82dd588392d625decbe3680fe003dfc554f9045809d3","1.5.18":"1fd873effa66b632217d674745722f712a48b36bb79957fefae722757a74bc30","1.5.2":"39fccb7582e13e7e3436861fde7b83ddb8057788cbde792f2f0cf7003f068850","1.5.3":"39fccb7582e13e7e3436861fde7b83ddb8057788cbde792f2f0cf7003f068850","1.5.4":"e86174ba5aff6f257f8a3f4721c7942885cd203469a9d8ddc15dbe6c704e0f45","1.5.5":"f93ed2d4342e447eb9900a0150331113918f2a8b3baeeb795c07231d80f0337c","1.5.6":"e3d90e6ceb20d760f1e9fa63224c5a070a16b3ca6e7dc4cc2c594138e929cce8","1.5.7":"a0464f11e05128cba8881e6295e591fce1ed1e8d43ab0e16710effb8e543d810","1.5.8":"f075b84fb04f4043658a28402d963494dd58481f164c0b371cec94322fe6d131","1.5.9":"ac170fc924019fc2acd69a90a82ba5c2552dce7a2c01a05e5407443e7a9e5af7","1.6.0":"c8286514d1a4f1805e727e13d3c350bb390378c6f31ad6920030412d61ec9b3f","1.6.1":"aa1d3934091853fc21208993930c1bf92e17136428d1d0baaefabfa65d13e7fa","1.6.10":"41c3a16e7819857a4b826e944fcfb4f79c58e7192cb151b106a3acd7487d5771","1.6.11":"d136203e08e3b052254403815d4ccedb555b0a297686fe97952d275eb1f322eb","1.6.12":"c328d4e36bd6277e01cef0140993e23970f4dff84425f3eba236cdd9a8954355","1.6.13":"f1f8b091d054a08665f047b5ad91f1f309f729a8aa30a2992d6ffdbd7f9fa7e4","1.6.14":"f1f8b091d054a08665f047b5ad91f1f309f729a8aa30a2992d6ffdbd7f9fa7e4","1.6.15":"8cfaeae24ceefe171d40241549c1f62527ce41821e5fd2904c0df1973596c0c7","1.6.16":"c02099b67b33d905d99bcb322a8ae7dbef2b64731727671b0769a47e76facb08","1.6.17":"1bcd82ee9dcaee6f87afc32a87be5be8aced8f050bffc30c3a27cf4e1be8c0d3","1.6.18":"1bcd82ee9dcaee6f87afc32a87be5be8aced8f050bffc30c3a27cf4e1be8c0d3","1.6.19":"c02099b67b33d905d99bcb322a8ae7dbef2b64731727671b0769a47e76facb08","1.6.2":"6ef96b5e00a04a929d16f0e4a136bfcc5b8132a466d6907a99b2c8516a8952d5","1.6.20":"28027c836eef19b21b95500760961e181f6078d22cccf8cca62b77bbbb11a0c5","1.6.21":"512a7cd64b515cbb695e6f79e66a88a9b7e0d7d815a5766b4d55a2b0fd4e61cf","1.6.22":"0bc870bf7b0695e2ae67b1ee321dea1066451aabffbb0603e734ef1aca67fb7d","1.6.23":"c02099b67b33d905d99bcb322a8ae7dbef2b64731727671b0769a47e76facb08","1.6.24":"701460ed5e3ed236c8c7273ba0a98a0235786b4a04bd6c7aa6088fb835549aa6","1.6.25":"efa09d1677148bdfe4639273479c9a1fa527d4cf5d2ca9af6dd876883652ba22","1.6.26":"1bcd82ee9dcaee6f87afc32a87be5be8aced8f050bffc30c3a27cf4e1be8c0d3","1.6.27":"1bcd82ee9dcaee6f87afc32a87be5be8aced8f050bffc30c3a27cf4e1be8c0d3","1.6.28":"6e219d09a06a5de8162a521c9b3c3b54067e6bb4d1d15b3b47a8ec522fd76b5c","1.6.29":"1bcd82ee9dcaee6f87afc32a87be5be8aced8f050bffc30c3a27cf4e1be8c0d3","1.6.3":"5c10db827bcb92b9322d4aa5751076b825da87c6d18d6953847ba72317cca862","1.6.30":"1bcd82ee9dcaee6f87afc32a87be5be8aced8f050bffc30c3a27cf4e1be8c0d3","1.6.31":"aff0aceb19da38bd1c0e077f2ce8da562ee007accdb4b6dd89570da63d6ac3d6","1.6.32":"d2f6d821528a07cd0d91e1d437c7348a938ce487015e577eeefb56ccc5467fad","1.6.33":"1bcd82ee9dcaee6f87afc32a87be5be8aced8f050bffc30c3a27cf4e1be8c0d3","1.6.34":"c8286514d1a4f1805e727e13d3c350bb390378c6f31ad6920030412d61ec9b3f","1.6.35":"01e6f8e021884ed7d1eacaafb6a32fdea66477644c46ba9863628c2eb4090917","1.6.36":"c02099b67b33d905d99bcb322a8ae7dbef2b64731727671b0769a47e76facb08","1.6.37":"485e7f7147d4342ba19012cb80815450f25c43cd7d29446231f8bcf3971ddfde","1.6.38":"01e6f8e021884ed7d1eacaafb6a32fdea66477644c46ba9863628c2eb4090917","1.6.39":"bfe6864d8f414bfe2fa6fcb26cc092131e9bd43a038466aa6a00a55aee785790","1.6.4":"baf2bb1c2ec7c1bfccfc514ef1cef67907e056e4f7153bb5932ecb835c9cff78","1.6.40":"1bcd82ee9dcaee6f87afc32a87be5be8aced8f050bffc30c3a27cf4e1be8c0d3","1.6.41":"727bf34badeba075962ba0f3b95a466972756b7b5ab75a9653d8f0b2f38a0b30","1.6.42":"6af6a5e418068e9e060a4fbfb062b17b3386e294485a3f8531525ea3ab9b0cfb","1.6.43":"122079dd653ada93cfa2b59d8497e2eaa74ede6085fa07304c497b5663cb4427","1.6.5":"00eb0598fc9cae48d248102ea278b544457570bbdcf35a6fab0dec59d9c5229e","1.6.6":"535bb041b99d5ac1bc9028ea88bc2fbf3dbadc80ea8dea236cc219123c194114","1.6.7":"d59af413e270e6f34b1b9a1c8c4acef35328f00e26fad447cfe214545af78d8f","1.6.8":"fea99f3d28c93b1c6f2b97453e008ddb22223e467b8d7f18ff1f920a20f654b4","1.6.9":"63392b32b88615655806d518a05d8b451bcd0de5148d6b1b1914b6b6eee3b56b"},"release":"1.6.0.dev37"}
|
|
@@ -188,7 +188,7 @@ def _show_setup_notice(manager: Any, config_file: str, port: int) -> None:
|
|
|
188
188
|
_LOGGER.debug("Could not show the setup notice on the OLED: %s", err)
|
|
189
189
|
|
|
190
190
|
# Written by the eMMC flasher on the SD card it boots in factory station mode.
|
|
191
|
-
STATION_MARKER = "/
|
|
191
|
+
STATION_MARKER = "/var/lib/boneio/flasher-station"
|
|
192
192
|
# The station's tester writes "passed" or "failed" here over SSH when it is done.
|
|
193
193
|
STATION_RESULT = "/tmp/boneio-station-result"
|
|
194
194
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{Sn as t,U as n,W as r,ct as i,fn as a,hn as o,pn as s,tn as c,xn as l}from"./fa-wf69YpA7.js";import{a as u,i as d,n as f,o as p,r as m,t as h}from"./dialog-DcnAJg2-.js";import{n as g}from"./axios-DyqbZVcF.js";import{B as _,F as v,I as y,N as b,P as x,R as S,T as C,h as w,m as T,y as E}from"./index-CNHyHjCc.js";import{t as D}from"./LoadingState-DhSlmu2Z.js";var O=e(t(),1),k=l(),A=3;function j({id:e,label:t,value:i,onChange:a,autoComplete:o,error:s,autoFocus:c}){let{t:l}=S(),[u,d]=(0,O.useState)(!1);return(0,k.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,k.jsx)(`label`,{htmlFor:e,className:`text-sm font-medium`,children:t}),(0,k.jsxs)(`div`,{className:`input w-full pr-1 ${s?`input-error`:``}`,children:[(0,k.jsx)(`input`,{id:e,type:u?`text`:`password`,autoComplete:o,autoFocus:c,required:!0,className:`grow font-mono`,"aria-invalid":s?!0:void 0,"aria-describedby":s?`${e}-error`:void 0,value:i,onChange:e=>a(e.target.value)}),(0,k.jsx)(`button`,{type:`button`,onClick:()=>d(e=>!e),className:`btn btn-ghost btn-square btn-sm`,"aria-label":l(u?`login.hide_password`:`login.show_password`),"aria-pressed":u,title:l(u?`login.hide_password`:`login.show_password`),children:u?(0,k.jsx)(r,{className:`h-4 w-4 opacity-70`}):(0,k.jsx)(n,{className:`h-4 w-4 opacity-70`})})]}),s&&(0,k.jsx)(`p`,{id:`${e}-error`,role:`alert`,className:`text-error text-xs`,children:s})]})}function M({username:e,isSelf:t,onClose:n,onChanged:r}){let{t:a}=S(),[o,s]=(0,O.useState)(``),[c,l]=(0,O.useState)(``),[_,y]=(0,O.useState)(``),[b,C]=(0,O.useState)(null),[w,T]=(0,O.useState)(null),[E,D]=(0,O.useState)(!1),M=v(c,_,e??``),N=c&&M&&M!==`mismatch`?a(x[M],{min:8}):null,P=_&&M===`mismatch`?a(`accounts.password_mismatch`):null,F=async n=>{if(n.preventDefault(),!(!e||M||t&&!o)){C(null),T(null),D(!0);try{let{data:n}=t?await g.put(`/api/account/password`,{current_password:o,new_password:c},{timeout:6e4}):await g.put(`/api/accounts/${encodeURIComponent(e)}/password`,{password:c},{timeout:6e4});typeof n?.token==`string`&&localStorage.setItem(`token`,n.token),r(e)}catch(e){let t=e.response;if(t?.status===403&&t.data?.code===`current_password_wrong`){let e=t.data.attempts_left;C(typeof e==`number`&&e<=A?`${a(`accounts.current_password_wrong`)} ${a(`reauth.attempts_left`,{count:e})}`:a(`accounts.current_password_wrong`))}else t?.status===429?T(a(`reauth.throttled`)):t?.status!==401&&T(t?.data?.detail||a(`accounts.password_failed`))}finally{D(!1)}}},I=t?a(`accounts.change_own_password_title`):a(`accounts.change_password_title`,{username:e??``});return(0,k.jsx)(h,{open:e!==null,onOpenChange:e=>!e&&!E&&n(),children:(0,k.jsx)(f,{className:`sm:max-w-md`,children:(0,k.jsxs)(`form`,{onSubmit:F,className:`flex flex-col gap-4`,children:[(0,k.jsxs)(u,{children:[(0,k.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,k.jsx)(`span`,{className:`stg-chip w-10 h-10 rounded-xl flex items-center justify-center shrink-0`,children:(0,k.jsx)(i,{})}),(0,k.jsx)(p,{children:I})]}),(0,k.jsx)(m,{children:a(t?`accounts.change_own_password_intro`:`accounts.change_password_intro`)})]}),t&&(0,k.jsx)(j,{id:`account-current-password`,label:a(`accounts.current_password`),value:o,onChange:e=>{s(e),C(null)},autoComplete:`current-password`,error:b,autoFocus:!0}),(0,k.jsx)(j,{id:`account-new-password`,label:a(`accounts.new_password`),value:c,onChange:l,autoComplete:`new-password`,error:N,autoFocus:!t}),(0,k.jsx)(j,{id:`account-repeat-password`,label:a(`accounts.repeat_password`),value:_,onChange:y,autoComplete:`new-password`,error:P}),(0,k.jsx)(`p`,{className:`text-xs opacity-70`,children:a(`accounts.ssh_password_separate`)}),w&&(0,k.jsx)(`p`,{role:`alert`,className:`text-error text-sm`,children:w}),(0,k.jsxs)(d,{children:[(0,k.jsx)(`button`,{type:`button`,className:`btn btn-ghost max-sm:btn-lg`,onClick:n,disabled:E,children:a(`common.cancel`)}),(0,k.jsxs)(`button`,{type:`submit`,className:`btn btn-primary max-sm:btn-lg`,disabled:E||!!M||t&&!o,children:[E&&(0,k.jsx)(`span`,{className:`loading loading-spinner loading-sm`}),a(`accounts.change_password_button`)]})]})]})})})}function N({username:e,onClose:t,onConfirm:n}){let{t:r}=S(),[i,o]=(0,O.useState)(!1);return(0,k.jsx)(h,{open:e!==null,onOpenChange:e=>!e&&!i&&t(),children:(0,k.jsxs)(f,{className:`sm:max-w-sm`,children:[(0,k.jsxs)(u,{children:[(0,k.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,k.jsx)(`span`,{className:`stg-chip w-10 h-10 rounded-xl flex items-center justify-center shrink-0 text-error`,children:(0,k.jsx)(a,{})}),(0,k.jsx)(p,{children:r(`accounts.confirm_delete`,{username:e??``})})]}),(0,k.jsx)(m,{children:r(`accounts.confirm_delete_intro`)})]}),(0,k.jsxs)(d,{children:[(0,k.jsx)(`button`,{type:`button`,className:`btn btn-ghost max-sm:btn-lg`,onClick:t,disabled:i,children:r(`common.cancel`)}),(0,k.jsxs)(`button`,{type:`button`,className:`btn btn-error max-sm:btn-lg`,onClick:async()=>{if(e){o(!0);try{await n(e)}finally{o(!1)}}},disabled:i,children:[i&&(0,k.jsx)(`span`,{className:`loading loading-spinner loading-sm`}),r(`accounts.delete`)]})]})]})})}function P(e,t){return e===`locked`||e===`empty`?e:e===`set`||e===`shipped`?t?`form`:`outdated`:`unknown`}var F=`boneio`,I=3;function L({open:e,shipped:t,onClose:n,onChanged:r,onStale:i}){let{t:a}=S(),[o,s]=(0,O.useState)(``),[l,_]=(0,O.useState)(``),[y,b]=(0,O.useState)(``),[C,w]=(0,O.useState)(null),[T,E]=(0,O.useState)(null),[D,A]=(0,O.useState)(!1),M=v(l,y,F),N=l&&M&&M!==`mismatch`?a(x[M],{min:8}):null,P=y&&M===`mismatch`?a(`accounts.password_mismatch`):null;return(0,k.jsx)(h,{open:e,onOpenChange:e=>!e&&!D&&n(),children:(0,k.jsx)(f,{className:`sm:max-w-md`,children:(0,k.jsxs)(`form`,{onSubmit:async e=>{if(e.preventDefault(),!M&&o){w(null),E(null),A(!0);try{await g.put(`/api/accounts/ssh-password`,{current_password:o,new_password:l},{timeout:6e4}),r()}catch(e){let t=e.response,n=t?.data?.code;if(t?.status===403&&n===`current_password_wrong`){let e=t.data?.attempts_left;w(typeof e==`number`&&e<=I?`${a(`accounts.ssh_current_wrong`)} ${a(`accounts.ssh_attempts_left`,{count:e})}`:a(`accounts.ssh_current_wrong`))}else if(t?.status===429){let e=t.data?.retry_after;E(a(`accounts.ssh_throttled`,{minutes:Math.max(1,Math.ceil((typeof e==`number`?e:900)/60))}))}else n===`helper_outdated`||n===`ssh_password_not_set`?i():t?.status!==401&&E(t?.data?.detail||a(`accounts.ssh_failed`))}finally{A(!1)}}},className:`flex flex-col gap-4`,children:[(0,k.jsxs)(u,{children:[(0,k.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,k.jsx)(`span`,{className:`stg-chip w-10 h-10 rounded-xl flex items-center justify-center shrink-0`,children:(0,k.jsx)(c,{})}),(0,k.jsx)(p,{children:a(`accounts.ssh_dialog_title`)})]}),(0,k.jsx)(m,{children:a(t?`accounts.ssh_dialog_intro_shipped`:`accounts.ssh_dialog_intro`)})]}),(0,k.jsx)(j,{id:`ssh-current-password`,label:a(`accounts.ssh_current`),value:o,onChange:e=>{s(e),w(null)},autoComplete:`current-password`,error:C,autoFocus:!0}),(0,k.jsx)(j,{id:`ssh-new-password`,label:a(`accounts.ssh_new`),value:l,onChange:_,autoComplete:`new-password`,error:N}),(0,k.jsx)(j,{id:`ssh-repeat-password`,label:a(`accounts.ssh_repeat`),value:y,onChange:b,autoComplete:`new-password`,error:P}),T&&(0,k.jsx)(`p`,{role:`alert`,className:`text-error text-sm`,children:T}),(0,k.jsxs)(d,{children:[(0,k.jsx)(`button`,{type:`button`,className:`btn btn-ghost max-sm:btn-lg`,onClick:n,disabled:D,children:a(`common.cancel`)}),(0,k.jsxs)(`button`,{type:`submit`,className:`btn btn-primary max-sm:btn-lg`,disabled:D||!!M||!o,children:[D&&(0,k.jsx)(`span`,{className:`loading loading-spinner loading-sm`}),a(`accounts.ssh_button`)]})]})]})})})}function R(){let{t:e}=S(),[t,n]=(0,O.useState)(null),[r,i]=(0,O.useState)(!1),[a,o]=(0,O.useState)(!0),[s,l]=(0,O.useState)(null),[u,d]=(0,O.useState)(0),[f,p]=(0,O.useState)(!1),m=(0,O.useCallback)(async()=>{try{let{data:e}=await g.get(`/api/accounts/ssh-password`,{timeout:3e4});n(e?.state??null),i(!!e?.supported)}catch{n(null)}finally{o(!1)}},[]);(0,O.useEffect)(()=>{m()},[m]);let h=P(t,r),_=()=>a?(0,k.jsx)(D,{className:`py-2`}):h===`form`?t===`shipped`?(0,k.jsx)(b,{variant:`warning`,message:e(`accounts.ssh_shipped`)}):null:(0,k.jsx)(b,{variant:h===`empty`?`warning`:`info`,message:e(`accounts.ssh_${h}`)});return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(E,{icon:(0,k.jsx)(c,{}),title:e(`accounts.ssh_title`),description:e(`accounts.ssh_intro`),action:h===`form`&&!a?(0,k.jsx)(`button`,{type:`button`,className:`btn btn-primary btn-sm`,onClick:()=>{l(null),d(e=>e+1),p(!0)},children:e(`accounts.ssh_button`)}):void 0,children:(s||_())&&(0,k.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[s&&(0,k.jsx)(b,{variant:`success`,message:s}),_()]})}),(0,k.jsx)(L,{open:f,shipped:t===`shipped`,onClose:()=>p(!1),onChanged:()=>{p(!1),l(e(`accounts.ssh_changed`)),m()},onStale:()=>{p(!1),m()}},u)]})}function z(e,t){return e?.response?.data?.detail||t}function B(){let{t:e}=S(),{username:t,isAdmin:n}=_(),[r,i]=(0,O.useState)([]),[a,c]=(0,O.useState)(!0),[l,u]=(0,O.useState)(null),[d,f]=(0,O.useState)(null),[p,m]=(0,O.useState)(``),[h,v]=(0,O.useState)(``),[A,j]=(0,O.useState)(`viewer`),[P,F]=(0,O.useState)(!1),[I,L]=(0,O.useState)(null),[B,V]=(0,O.useState)(null),H=h?y(h,p):null,U=H?e(x[H],{min:8}):null,W=(0,O.useCallback)(async()=>{try{let{data:e}=await g.get(`/api/accounts`);i(e.accounts??[]),u(null)}catch(t){u(z(t,e(`accounts.load_failed`)))}finally{c(!1)}},[e]);(0,O.useEffect)(()=>{n&&W()},[n,W]);let G=async t=>{t.preventDefault(),u(null),f(null),F(!0);try{await g.post(`/api/accounts`,{username:p,password:h,role:A}),m(``),v(``),j(`viewer`),f(e(`accounts.created`)),await W()}catch(t){u(z(t,e(`accounts.create_failed`)))}finally{F(!1)}},K=async t=>{u(null),f(null);try{await g.delete(`/api/accounts/${encodeURIComponent(t)}`),f(e(`accounts.deleted`,{username:t})),await W()}catch(t){u(z(t,e(`accounts.delete_failed`)))}finally{V(null)}},q=async(t,n)=>{u(null),f(null);try{await g.put(`/api/accounts/${encodeURIComponent(t.username)}/role`,{role:n}),await W()}catch(t){u(z(t,e(`accounts.role_failed`))),await W()}},J=t=>{L(null),u(null),f(e(`accounts.password_reset`,{username:t}))},Y=e=>e.toLowerCase()===(t??``).toLowerCase();return n?(0,k.jsxs)(C,{width:`wide`,children:[l&&(0,k.jsx)(b,{variant:`error`,message:l}),d&&(0,k.jsx)(b,{variant:`success`,message:d}),(0,k.jsx)(E,{icon:(0,k.jsx)(o,{}),title:e(`accounts.title`),children:a?(0,k.jsx)(D,{className:`py-6`}):(0,k.jsx)(`ul`,{className:`stg-inset divide-y divide-base-content/10`,children:r.map(t=>{let n=Y(t.username);return(0,k.jsxs)(`li`,{className:`flex flex-wrap items-center gap-x-3 gap-y-2 px-3 py-2.5`,children:[(0,k.jsxs)(`div`,{className:`flex items-center gap-2 min-w-0 flex-1`,children:[(0,k.jsx)(`span`,{className:`font-medium font-mono truncate`,children:t.username}),n&&(0,k.jsx)(`span`,{className:`badge badge-ghost badge-xs shrink-0`,children:e(`accounts.you`)})]}),(0,k.jsxs)(`select`,{className:`select select-xs select-bordered w-auto`,"aria-label":e(`accounts.role`),value:t.role,disabled:n,onChange:e=>q(t,e.target.value),children:[(0,k.jsx)(`option`,{value:`admin`,children:e(`accounts.role_admin`)}),(0,k.jsx)(`option`,{value:`viewer`,children:e(`accounts.role_viewer`)})]}),(0,k.jsxs)(`div`,{className:`flex justify-end gap-1 w-full sm:w-auto`,children:[(0,k.jsx)(`button`,{className:`btn btn-ghost btn-xs`,onClick:()=>{f(null),L(t.username)},children:e(`accounts.reset_password`)}),(0,k.jsx)(`button`,{className:`btn btn-ghost btn-xs text-error`,disabled:n,onClick:()=>V(t.username),children:e(`accounts.delete`)})]})]},t.username)})})}),(0,k.jsx)(`form`,{onSubmit:G,children:(0,k.jsx)(E,{icon:(0,k.jsx)(s,{}),title:e(`accounts.add_title`),description:e(`accounts.add_intro`),footer:(0,k.jsx)(T,{children:(0,k.jsxs)(`button`,{type:`submit`,className:`btn btn-primary btn-sm gap-2`,disabled:P||!p||!h||!!U,children:[P&&(0,k.jsx)(`span`,{className:`loading loading-spinner loading-xs`}),e(`accounts.add_button`)]})}),children:(0,k.jsxs)(`div`,{className:`grid grid-cols-1 sm:grid-cols-[1fr_1fr_auto] gap-3`,children:[(0,k.jsx)(w,{label:e(`accounts.username`),children:(0,k.jsx)(`input`,{type:`text`,className:`input input-bordered w-full font-mono`,placeholder:e(`accounts.username`),autoComplete:`off`,required:!0,value:p,onChange:e=>m(e.target.value)})}),(0,k.jsx)(w,{label:e(`accounts.password`),error:U||void 0,children:(0,k.jsx)(`input`,{type:`password`,className:`input input-bordered w-full font-mono ${U?`input-error`:``}`,placeholder:e(`accounts.password`),autoComplete:`new-password`,required:!0,minLength:8,"aria-invalid":U?!0:void 0,"aria-describedby":U?`accounts-password-error`:void 0,value:h,onChange:e=>v(e.target.value)})}),(0,k.jsx)(w,{label:e(`accounts.role`),className:`sm:w-40`,children:(0,k.jsxs)(`select`,{className:`select select-bordered w-full`,value:A,onChange:e=>j(e.target.value),children:[(0,k.jsx)(`option`,{value:`viewer`,children:e(`accounts.role_viewer`)}),(0,k.jsx)(`option`,{value:`admin`,children:e(`accounts.role_admin`)})]})})]})})}),(0,k.jsx)(R,{}),(0,k.jsx)(M,{username:I,isSelf:I!==null&&Y(I),onClose:()=>L(null),onChanged:J},I??``),(0,k.jsx)(N,{username:B,onClose:()=>V(null),onConfirm:K})]}):(0,k.jsx)(C,{width:`wide`,children:(0,k.jsx)(b,{variant:`warning`,message:e(`accounts.admin_only`)})})}export{B as default};
|
|
1
|
+
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{Sn as t,U as n,W as r,ct as i,fn as a,hn as o,pn as s,tn as c,xn as l}from"./fa-wf69YpA7.js";import{a as u,i as d,n as f,o as p,r as m,t as h}from"./dialog-DcnAJg2-.js";import{n as g}from"./axios-DyqbZVcF.js";import{B as _,F as v,I as y,N as b,P as x,R as S,T as C,h as w,m as T,y as E}from"./index-bQAmfuAt.js";import{t as D}from"./LoadingState-EMHjoCf4.js";var O=e(t(),1),k=l(),A=3;function j({id:e,label:t,value:i,onChange:a,autoComplete:o,error:s,autoFocus:c}){let{t:l}=S(),[u,d]=(0,O.useState)(!1);return(0,k.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,k.jsx)(`label`,{htmlFor:e,className:`text-sm font-medium`,children:t}),(0,k.jsxs)(`div`,{className:`input w-full pr-1 ${s?`input-error`:``}`,children:[(0,k.jsx)(`input`,{id:e,type:u?`text`:`password`,autoComplete:o,autoFocus:c,required:!0,className:`grow font-mono`,"aria-invalid":s?!0:void 0,"aria-describedby":s?`${e}-error`:void 0,value:i,onChange:e=>a(e.target.value)}),(0,k.jsx)(`button`,{type:`button`,onClick:()=>d(e=>!e),className:`btn btn-ghost btn-square btn-sm`,"aria-label":l(u?`login.hide_password`:`login.show_password`),"aria-pressed":u,title:l(u?`login.hide_password`:`login.show_password`),children:u?(0,k.jsx)(r,{className:`h-4 w-4 opacity-70`}):(0,k.jsx)(n,{className:`h-4 w-4 opacity-70`})})]}),s&&(0,k.jsx)(`p`,{id:`${e}-error`,role:`alert`,className:`text-error text-xs`,children:s})]})}function M({username:e,isSelf:t,onClose:n,onChanged:r}){let{t:a}=S(),[o,s]=(0,O.useState)(``),[c,l]=(0,O.useState)(``),[_,y]=(0,O.useState)(``),[b,C]=(0,O.useState)(null),[w,T]=(0,O.useState)(null),[E,D]=(0,O.useState)(!1),M=v(c,_,e??``),N=c&&M&&M!==`mismatch`?a(x[M],{min:8}):null,P=_&&M===`mismatch`?a(`accounts.password_mismatch`):null,F=async n=>{if(n.preventDefault(),!(!e||M||t&&!o)){C(null),T(null),D(!0);try{let{data:n}=t?await g.put(`/api/account/password`,{current_password:o,new_password:c},{timeout:6e4}):await g.put(`/api/accounts/${encodeURIComponent(e)}/password`,{password:c},{timeout:6e4});typeof n?.token==`string`&&localStorage.setItem(`token`,n.token),r(e)}catch(e){let t=e.response;if(t?.status===403&&t.data?.code===`current_password_wrong`){let e=t.data.attempts_left;C(typeof e==`number`&&e<=A?`${a(`accounts.current_password_wrong`)} ${a(`reauth.attempts_left`,{count:e})}`:a(`accounts.current_password_wrong`))}else t?.status===429?T(a(`reauth.throttled`)):t?.status!==401&&T(t?.data?.detail||a(`accounts.password_failed`))}finally{D(!1)}}},I=t?a(`accounts.change_own_password_title`):a(`accounts.change_password_title`,{username:e??``});return(0,k.jsx)(h,{open:e!==null,onOpenChange:e=>!e&&!E&&n(),children:(0,k.jsx)(f,{className:`sm:max-w-md`,children:(0,k.jsxs)(`form`,{onSubmit:F,className:`flex flex-col gap-4`,children:[(0,k.jsxs)(u,{children:[(0,k.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,k.jsx)(`span`,{className:`stg-chip w-10 h-10 rounded-xl flex items-center justify-center shrink-0`,children:(0,k.jsx)(i,{})}),(0,k.jsx)(p,{children:I})]}),(0,k.jsx)(m,{children:a(t?`accounts.change_own_password_intro`:`accounts.change_password_intro`)})]}),t&&(0,k.jsx)(j,{id:`account-current-password`,label:a(`accounts.current_password`),value:o,onChange:e=>{s(e),C(null)},autoComplete:`current-password`,error:b,autoFocus:!0}),(0,k.jsx)(j,{id:`account-new-password`,label:a(`accounts.new_password`),value:c,onChange:l,autoComplete:`new-password`,error:N,autoFocus:!t}),(0,k.jsx)(j,{id:`account-repeat-password`,label:a(`accounts.repeat_password`),value:_,onChange:y,autoComplete:`new-password`,error:P}),(0,k.jsx)(`p`,{className:`text-xs opacity-70`,children:a(`accounts.ssh_password_separate`)}),w&&(0,k.jsx)(`p`,{role:`alert`,className:`text-error text-sm`,children:w}),(0,k.jsxs)(d,{children:[(0,k.jsx)(`button`,{type:`button`,className:`btn btn-ghost max-sm:btn-lg`,onClick:n,disabled:E,children:a(`common.cancel`)}),(0,k.jsxs)(`button`,{type:`submit`,className:`btn btn-primary max-sm:btn-lg`,disabled:E||!!M||t&&!o,children:[E&&(0,k.jsx)(`span`,{className:`loading loading-spinner loading-sm`}),a(`accounts.change_password_button`)]})]})]})})})}function N({username:e,onClose:t,onConfirm:n}){let{t:r}=S(),[i,o]=(0,O.useState)(!1);return(0,k.jsx)(h,{open:e!==null,onOpenChange:e=>!e&&!i&&t(),children:(0,k.jsxs)(f,{className:`sm:max-w-sm`,children:[(0,k.jsxs)(u,{children:[(0,k.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,k.jsx)(`span`,{className:`stg-chip w-10 h-10 rounded-xl flex items-center justify-center shrink-0 text-error`,children:(0,k.jsx)(a,{})}),(0,k.jsx)(p,{children:r(`accounts.confirm_delete`,{username:e??``})})]}),(0,k.jsx)(m,{children:r(`accounts.confirm_delete_intro`)})]}),(0,k.jsxs)(d,{children:[(0,k.jsx)(`button`,{type:`button`,className:`btn btn-ghost max-sm:btn-lg`,onClick:t,disabled:i,children:r(`common.cancel`)}),(0,k.jsxs)(`button`,{type:`button`,className:`btn btn-error max-sm:btn-lg`,onClick:async()=>{if(e){o(!0);try{await n(e)}finally{o(!1)}}},disabled:i,children:[i&&(0,k.jsx)(`span`,{className:`loading loading-spinner loading-sm`}),r(`accounts.delete`)]})]})]})})}function P(e,t){return e===`locked`||e===`empty`?e:e===`set`||e===`shipped`?t?`form`:`outdated`:`unknown`}var F=`boneio`,I=3;function L({open:e,shipped:t,onClose:n,onChanged:r,onStale:i}){let{t:a}=S(),[o,s]=(0,O.useState)(``),[l,_]=(0,O.useState)(``),[y,b]=(0,O.useState)(``),[C,w]=(0,O.useState)(null),[T,E]=(0,O.useState)(null),[D,A]=(0,O.useState)(!1),M=v(l,y,F),N=l&&M&&M!==`mismatch`?a(x[M],{min:8}):null,P=y&&M===`mismatch`?a(`accounts.password_mismatch`):null;return(0,k.jsx)(h,{open:e,onOpenChange:e=>!e&&!D&&n(),children:(0,k.jsx)(f,{className:`sm:max-w-md`,children:(0,k.jsxs)(`form`,{onSubmit:async e=>{if(e.preventDefault(),!M&&o){w(null),E(null),A(!0);try{await g.put(`/api/accounts/ssh-password`,{current_password:o,new_password:l},{timeout:6e4}),r()}catch(e){let t=e.response,n=t?.data?.code;if(t?.status===403&&n===`current_password_wrong`){let e=t.data?.attempts_left;w(typeof e==`number`&&e<=I?`${a(`accounts.ssh_current_wrong`)} ${a(`accounts.ssh_attempts_left`,{count:e})}`:a(`accounts.ssh_current_wrong`))}else if(t?.status===429){let e=t.data?.retry_after;E(a(`accounts.ssh_throttled`,{minutes:Math.max(1,Math.ceil((typeof e==`number`?e:900)/60))}))}else n===`helper_outdated`||n===`ssh_password_not_set`?i():t?.status!==401&&E(t?.data?.detail||a(`accounts.ssh_failed`))}finally{A(!1)}}},className:`flex flex-col gap-4`,children:[(0,k.jsxs)(u,{children:[(0,k.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,k.jsx)(`span`,{className:`stg-chip w-10 h-10 rounded-xl flex items-center justify-center shrink-0`,children:(0,k.jsx)(c,{})}),(0,k.jsx)(p,{children:a(`accounts.ssh_dialog_title`)})]}),(0,k.jsx)(m,{children:a(t?`accounts.ssh_dialog_intro_shipped`:`accounts.ssh_dialog_intro`)})]}),(0,k.jsx)(j,{id:`ssh-current-password`,label:a(`accounts.ssh_current`),value:o,onChange:e=>{s(e),w(null)},autoComplete:`current-password`,error:C,autoFocus:!0}),(0,k.jsx)(j,{id:`ssh-new-password`,label:a(`accounts.ssh_new`),value:l,onChange:_,autoComplete:`new-password`,error:N}),(0,k.jsx)(j,{id:`ssh-repeat-password`,label:a(`accounts.ssh_repeat`),value:y,onChange:b,autoComplete:`new-password`,error:P}),T&&(0,k.jsx)(`p`,{role:`alert`,className:`text-error text-sm`,children:T}),(0,k.jsxs)(d,{children:[(0,k.jsx)(`button`,{type:`button`,className:`btn btn-ghost max-sm:btn-lg`,onClick:n,disabled:D,children:a(`common.cancel`)}),(0,k.jsxs)(`button`,{type:`submit`,className:`btn btn-primary max-sm:btn-lg`,disabled:D||!!M||!o,children:[D&&(0,k.jsx)(`span`,{className:`loading loading-spinner loading-sm`}),a(`accounts.ssh_button`)]})]})]})})})}function R(){let{t:e}=S(),[t,n]=(0,O.useState)(null),[r,i]=(0,O.useState)(!1),[a,o]=(0,O.useState)(!0),[s,l]=(0,O.useState)(null),[u,d]=(0,O.useState)(0),[f,p]=(0,O.useState)(!1),m=(0,O.useCallback)(async()=>{try{let{data:e}=await g.get(`/api/accounts/ssh-password`,{timeout:3e4});n(e?.state??null),i(!!e?.supported)}catch{n(null)}finally{o(!1)}},[]);(0,O.useEffect)(()=>{m()},[m]);let h=P(t,r),_=()=>a?(0,k.jsx)(D,{className:`py-2`}):h===`form`?t===`shipped`?(0,k.jsx)(b,{variant:`warning`,message:e(`accounts.ssh_shipped`)}):null:(0,k.jsx)(b,{variant:h===`empty`?`warning`:`info`,message:e(`accounts.ssh_${h}`)});return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(E,{icon:(0,k.jsx)(c,{}),title:e(`accounts.ssh_title`),description:e(`accounts.ssh_intro`),action:h===`form`&&!a?(0,k.jsx)(`button`,{type:`button`,className:`btn btn-primary btn-sm`,onClick:()=>{l(null),d(e=>e+1),p(!0)},children:e(`accounts.ssh_button`)}):void 0,children:(s||_())&&(0,k.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[s&&(0,k.jsx)(b,{variant:`success`,message:s}),_()]})}),(0,k.jsx)(L,{open:f,shipped:t===`shipped`,onClose:()=>p(!1),onChanged:()=>{p(!1),l(e(`accounts.ssh_changed`)),m()},onStale:()=>{p(!1),m()}},u)]})}function z(e,t){return e?.response?.data?.detail||t}function B(){let{t:e}=S(),{username:t,isAdmin:n}=_(),[r,i]=(0,O.useState)([]),[a,c]=(0,O.useState)(!0),[l,u]=(0,O.useState)(null),[d,f]=(0,O.useState)(null),[p,m]=(0,O.useState)(``),[h,v]=(0,O.useState)(``),[A,j]=(0,O.useState)(`viewer`),[P,F]=(0,O.useState)(!1),[I,L]=(0,O.useState)(null),[B,V]=(0,O.useState)(null),H=h?y(h,p):null,U=H?e(x[H],{min:8}):null,W=(0,O.useCallback)(async()=>{try{let{data:e}=await g.get(`/api/accounts`);i(e.accounts??[]),u(null)}catch(t){u(z(t,e(`accounts.load_failed`)))}finally{c(!1)}},[e]);(0,O.useEffect)(()=>{n&&W()},[n,W]);let G=async t=>{t.preventDefault(),u(null),f(null),F(!0);try{await g.post(`/api/accounts`,{username:p,password:h,role:A}),m(``),v(``),j(`viewer`),f(e(`accounts.created`)),await W()}catch(t){u(z(t,e(`accounts.create_failed`)))}finally{F(!1)}},K=async t=>{u(null),f(null);try{await g.delete(`/api/accounts/${encodeURIComponent(t)}`),f(e(`accounts.deleted`,{username:t})),await W()}catch(t){u(z(t,e(`accounts.delete_failed`)))}finally{V(null)}},q=async(t,n)=>{u(null),f(null);try{await g.put(`/api/accounts/${encodeURIComponent(t.username)}/role`,{role:n}),await W()}catch(t){u(z(t,e(`accounts.role_failed`))),await W()}},J=t=>{L(null),u(null),f(e(`accounts.password_reset`,{username:t}))},Y=e=>e.toLowerCase()===(t??``).toLowerCase();return n?(0,k.jsxs)(C,{width:`wide`,children:[l&&(0,k.jsx)(b,{variant:`error`,message:l}),d&&(0,k.jsx)(b,{variant:`success`,message:d}),(0,k.jsx)(E,{icon:(0,k.jsx)(o,{}),title:e(`accounts.title`),children:a?(0,k.jsx)(D,{className:`py-6`}):(0,k.jsx)(`ul`,{className:`stg-inset divide-y divide-base-content/10`,children:r.map(t=>{let n=Y(t.username);return(0,k.jsxs)(`li`,{className:`flex flex-wrap items-center gap-x-3 gap-y-2 px-3 py-2.5`,children:[(0,k.jsxs)(`div`,{className:`flex items-center gap-2 min-w-0 flex-1`,children:[(0,k.jsx)(`span`,{className:`font-medium font-mono truncate`,children:t.username}),n&&(0,k.jsx)(`span`,{className:`badge badge-ghost badge-xs shrink-0`,children:e(`accounts.you`)})]}),(0,k.jsxs)(`select`,{className:`select select-xs select-bordered w-auto`,"aria-label":e(`accounts.role`),value:t.role,disabled:n,onChange:e=>q(t,e.target.value),children:[(0,k.jsx)(`option`,{value:`admin`,children:e(`accounts.role_admin`)}),(0,k.jsx)(`option`,{value:`viewer`,children:e(`accounts.role_viewer`)})]}),(0,k.jsxs)(`div`,{className:`flex justify-end gap-1 w-full sm:w-auto`,children:[(0,k.jsx)(`button`,{className:`btn btn-ghost btn-xs`,onClick:()=>{f(null),L(t.username)},children:e(`accounts.reset_password`)}),(0,k.jsx)(`button`,{className:`btn btn-ghost btn-xs text-error`,disabled:n,onClick:()=>V(t.username),children:e(`accounts.delete`)})]})]},t.username)})})}),(0,k.jsx)(`form`,{onSubmit:G,children:(0,k.jsx)(E,{icon:(0,k.jsx)(s,{}),title:e(`accounts.add_title`),description:e(`accounts.add_intro`),footer:(0,k.jsx)(T,{children:(0,k.jsxs)(`button`,{type:`submit`,className:`btn btn-primary btn-sm gap-2`,disabled:P||!p||!h||!!U,children:[P&&(0,k.jsx)(`span`,{className:`loading loading-spinner loading-xs`}),e(`accounts.add_button`)]})}),children:(0,k.jsxs)(`div`,{className:`grid grid-cols-1 sm:grid-cols-[1fr_1fr_auto] gap-3`,children:[(0,k.jsx)(w,{label:e(`accounts.username`),children:(0,k.jsx)(`input`,{type:`text`,className:`input input-bordered w-full font-mono`,placeholder:e(`accounts.username`),autoComplete:`off`,required:!0,value:p,onChange:e=>m(e.target.value)})}),(0,k.jsx)(w,{label:e(`accounts.password`),error:U||void 0,children:(0,k.jsx)(`input`,{type:`password`,className:`input input-bordered w-full font-mono ${U?`input-error`:``}`,placeholder:e(`accounts.password`),autoComplete:`new-password`,required:!0,minLength:8,"aria-invalid":U?!0:void 0,"aria-describedby":U?`accounts-password-error`:void 0,value:h,onChange:e=>v(e.target.value)})}),(0,k.jsx)(w,{label:e(`accounts.role`),className:`sm:w-40`,children:(0,k.jsxs)(`select`,{className:`select select-bordered w-full`,value:A,onChange:e=>j(e.target.value),children:[(0,k.jsx)(`option`,{value:`viewer`,children:e(`accounts.role_viewer`)}),(0,k.jsx)(`option`,{value:`admin`,children:e(`accounts.role_admin`)})]})})]})})}),(0,k.jsx)(R,{}),(0,k.jsx)(M,{username:I,isSelf:I!==null&&Y(I),onClose:()=>L(null),onChanged:J},I??``),(0,k.jsx)(N,{username:B,onClose:()=>V(null),onConfirm:K})]}):(0,k.jsx)(C,{width:`wide`,children:(0,k.jsx)(b,{variant:`warning`,message:e(`accounts.admin_only`)})})}export{B as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{Sn as t,xn as n}from"./fa-wf69YpA7.js";import{n as r}from"./axios-DyqbZVcF.js";import{i}from"./configCache-DZ0vWq_Z.js";var a=e(t(),1),o=`boneio-provisioned`;function s(e){let t=e?.match(/\/(proxy\/\d+)\/?$/);return t?`${o}-${t[1].replace(`/`,`-`)}`:o}function c(e,t){try{return e?.getItem(s(t))===`1`}catch{return!1}}function l(e,t,n){try{e?.setItem(s(t),n?`0`:`1`)}catch{}}var u=`boneio-update`,d=`boneio-stale-reload`;function f(e,t){let n=t?.match(/\/(proxy\/\d+)\/?$/);return n?`${e}-${n[1].replace(`/`,`-`)}`:e}function p(e){if(!e)return null;let t=e.trim();return t.startsWith(`v`)?t.slice(1):t}function m(e,t,n){try{let r=e?.getItem(f(u,t));if(!r)return null;let i=JSON.parse(r);return typeof i?.startedAt!=`number`||typeof i.fromVersion!=`string`||n-i.startedAt>36e5||i.startedAt>n+6e4?null:i}catch{return null}}function h(e,t,n){try{e?.setItem(f(u,t),JSON.stringify(n))}catch{}}function g(e,t){try{e?.removeItem(f(u,t))}catch{}}function _(e,t,n){if(t)return e.wentDown||e.downSince===void 0?e:{...e,downSince:void 0};let r=e.downSince??n,i=!!e.wentDown||n-r>=15e3;return r===e.downSince&&i===!!e.wentDown?e:{...e,downSince:r,wentDown:i}}function v(e,t){let n=p(t);if(!n)return!1;let r=p(e.toVersion);return r?n===r:n!==p(e.fromVersion)}function y(e){let{reachable:t,serverVersion:n,panelVersion:r,mark:i}=e;if(!t)return i?`updating`:`probably_updating`;let a=p(n),o=p(r);return a&&o&&a!==o?`stale_panel`:i&&i.wentDown&&a&&!v(i,a)&&a===p(i.fromVersion)?`update_failed`:`ok`}function b(e,t){try{return e?.getItem(d)===t}catch{return!0}}function x(e,t){try{e?.setItem(d,t)}catch{}}var S=n(),C=(0,a.createContext)({data:null,isLoading:!0,isApiAvailable:!0,needsOnboarding:!1,panelState:`ok`,dismissPanelState:()=>{},refetch:async()=>{}});function w(){return(0,a.useContext)(C)}function T(e,t){return e||!!t?.needs_onboarding}var E=2,D=1e3,O=3e4,k=5e3,A=`boneio-stale-bypass`,j=`1.6.0.
|
|
1
|
+
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{Sn as t,xn as n}from"./fa-wf69YpA7.js";import{n as r}from"./axios-DyqbZVcF.js";import{i}from"./configCache-DZ0vWq_Z.js";var a=e(t(),1),o=`boneio-provisioned`;function s(e){let t=e?.match(/\/(proxy\/\d+)\/?$/);return t?`${o}-${t[1].replace(`/`,`-`)}`:o}function c(e,t){try{return e?.getItem(s(t))===`1`}catch{return!1}}function l(e,t,n){try{e?.setItem(s(t),n?`0`:`1`)}catch{}}var u=`boneio-update`,d=`boneio-stale-reload`;function f(e,t){let n=t?.match(/\/(proxy\/\d+)\/?$/);return n?`${e}-${n[1].replace(`/`,`-`)}`:e}function p(e){if(!e)return null;let t=e.trim();return t.startsWith(`v`)?t.slice(1):t}function m(e,t,n){try{let r=e?.getItem(f(u,t));if(!r)return null;let i=JSON.parse(r);return typeof i?.startedAt!=`number`||typeof i.fromVersion!=`string`||n-i.startedAt>36e5||i.startedAt>n+6e4?null:i}catch{return null}}function h(e,t,n){try{e?.setItem(f(u,t),JSON.stringify(n))}catch{}}function g(e,t){try{e?.removeItem(f(u,t))}catch{}}function _(e,t,n){if(t)return e.wentDown||e.downSince===void 0?e:{...e,downSince:void 0};let r=e.downSince??n,i=!!e.wentDown||n-r>=15e3;return r===e.downSince&&i===!!e.wentDown?e:{...e,downSince:r,wentDown:i}}function v(e,t){let n=p(t);if(!n)return!1;let r=p(e.toVersion);return r?n===r:n!==p(e.fromVersion)}function y(e){let{reachable:t,serverVersion:n,panelVersion:r,mark:i}=e;if(!t)return i?`updating`:`probably_updating`;let a=p(n),o=p(r);return a&&o&&a!==o?`stale_panel`:i&&i.wentDown&&a&&!v(i,a)&&a===p(i.fromVersion)?`update_failed`:`ok`}function b(e,t){try{return e?.getItem(d)===t}catch{return!0}}function x(e,t){try{e?.setItem(d,t)}catch{}}var S=n(),C=(0,a.createContext)({data:null,isLoading:!0,isApiAvailable:!0,needsOnboarding:!1,panelState:`ok`,dismissPanelState:()=>{},refetch:async()=>{}});function w(){return(0,a.useContext)(C)}function T(e,t){return e||!!t?.needs_onboarding}var E=2,D=1e3,O=3e4,k=5e3,A=`boneio-stale-bypass`,j=`1.6.0.dev37`;function M(e){try{return window.sessionStorage.getItem(e)}catch{return null}}function N({children:e}){let[t,n]=(0,a.useState)(null),[o,s]=(0,a.useState)(!0),[c,u]=(0,a.useState)(!0),[d,f]=(0,a.useState)(!1),[p,b]=(0,a.useState)(`ok`),x=(0,a.useCallback)((e,t)=>{let n=window.__BONEIO_BASE_PATH__,r=Date.now(),i=m(window.localStorage,n,r);if(i){let t=_(i,e,r);t!==i&&h(window.localStorage,n,t),i=t}i&&e&&v(i,t)&&(g(window.localStorage,n),i=null);let a=y({reachable:e,serverVersion:t,panelVersion:j,mark:i});a===`stale_panel`&&t&&M(A)===t&&(a=`ok`),b(a)},[]),w=(0,a.useCallback)(()=>{g(window.localStorage,window.__BONEIO_BASE_PATH__);let e=t?.version;if(p===`stale_panel`&&e)try{window.sessionStorage.setItem(A,e)}catch{}b(`ok`)},[t?.version,p]),N=(0,a.useCallback)(async()=>{for(let e=0;e<=E;e++)try{let{data:e}=await r.get(`/api/init`);n(t=>t&&JSON.stringify(t)===JSON.stringify(e)?t:e),f(t=>T(t,e)),l(window.localStorage,window.__BONEIO_BASE_PATH__,!!e?.needs_onboarding),x(!0,e?.version??null),u(!0),s(!1),i();return}catch{e<E&&await new Promise(e=>setTimeout(e,D))}x(!1,null),u(!1),s(!1)},[x]);(0,a.useEffect)(()=>{N()},[N]);let P=!c||p===`stale_panel`;return(0,a.useEffect)(()=>{let e=setInterval(N,P?k:O);return()=>clearInterval(e)},[N,P]),(0,a.useEffect)(()=>{let e=()=>{document.visibilityState===`visible`&&N()};return document.addEventListener(`visibilitychange`,e),()=>document.removeEventListener(`visibilitychange`,e)},[N]),(0,S.jsx)(C.Provider,{value:{data:t,isLoading:o,isApiAvailable:c,needsOnboarding:d,panelState:p,dismissPanelState:w,refetch:N},children:e})}export{p as a,v as c,g as i,h as l,w as n,x as o,b as r,m as s,N as t,c as u};
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{B as t,G as n,P as r,Sn as i,Yt as a,cn as o,dn as s,ln as c,xn as l}from"./fa-wf69YpA7.js";import{a as u,i as d,n as f,o as p,t as m}from"./dialog-DcnAJg2-.js";import{n as h}from"./axios-DyqbZVcF.js";import{N as g,R as _,T as v,m as y,y as b}from"./index-CNHyHjCc.js";var x=e(i(),1),S=l();function C(){let{t:e}=_(),i=(0,x.useRef)(null),[l,C]=(0,x.useState)(!1),[w,T]=(0,x.useState)(!1),[E,D]=(0,x.useState)(null),[O,k]=(0,x.useState)(null),[A,j]=(0,x.useState)([]),[M,N]=(0,x.useState)(!1),[P,F]=(0,x.useState)(null),I=(0,x.useCallback)(async()=>{try{let{data:e}=await h.get(`/api/config/backups`);j(e.backups||[])}catch(e){console.error(`Error fetching available backups:`,e)}},[]);(0,x.useEffect)(()=>{I()},[I]);let L=async()=>{C(!0),k(null);try{let{data:e}=await h.post(`/api/config/create_backup`);e.status===`success`?(await I(),alert(e.message)):k(e.message)}catch(t){k(e(`backup.error`)),console.error(`Error creating backup:`,t)}finally{C(!1)}},R=async(t,n)=>{try{let e=(await h.get(`/api/config/download_backup?backup_path=${encodeURIComponent(t)}`,{responseType:`blob`})).data,r=window.URL.createObjectURL(e),i=document.createElement(`a`);i.href=r,i.download=n,document.body.appendChild(i),i.click(),window.URL.revokeObjectURL(r),document.body.removeChild(i)}catch(t){k(e(`backup.error`)),console.error(`Error downloading backup:`,t)}},z=async(t,n)=>{if(confirm(`${e(`device_management.confirm_delete_backup`)||`Delete backup`} ${n}?`))try{let{data:e}=await h.delete(`/api/config/delete_backup`,{data:{backup_path:t}});e.status===`success`?(await I(),alert(e.message)):k(e.message)}catch(t){k(e(`backup.error`)),console.error(`Error deleting backup:`,t)}},B=async t=>{t.status===`success`?(D(t),confirm(e(`device_management.restore_success_restart`))&&(await h.post(`/api/restart`),setTimeout(()=>window.location.reload(),3e3))):k(t.message||e(`device_management.restore_failed`))},V=async(t,n)=>{T(!0);try{let{data:e}=await h.post(`/api/config/restore_backup`,{backup_path:t,override_serial:n},{timeout:3e4});await B(e)}catch(t){k(e(`device_management.restore_failed`)),console.error(`Error restoring config:`,t)}finally{T(!1)}},H=async t=>{T(!0),k(null),D(null);try{let{data:n}=await h.post(`/api/config/inspect_backup_path`,{backup_path:t});n.serial_mismatch?F({backupMeta:n.backup_meta,currentSerial:n.current_serial,onConfirm:e=>{F(null),V(t,e)},onCancel:()=>{F(null),T(!1)}}):confirm(e(`device_management.confirm_restore`))?await V(t,!1):T(!1)}catch(t){k(e(`device_management.restore_failed`)),console.error(`Error inspecting backup path:`,t),T(!1)}},U=async()=>{C(!0),k(null);try{let e=await h.get(`/api/config/download`,{responseType:`blob`}),t=e.headers[`content-disposition`],n=`boneio_config.tar.gz`;if(t){let e=t.match(/filename=(.+)/);e&&(n=e[1])}let r=e.data,i=window.URL.createObjectURL(r),a=document.createElement(`a`);a.href=i,a.download=n,document.body.appendChild(a),a.click(),window.URL.revokeObjectURL(i),document.body.removeChild(a)}catch(t){k(e(`backup.error`)),console.error(`Error downloading config:`,t)}finally{C(!1)}},W=async(t,n)=>{T(!0);try{let e=new FormData;e.append(`file`,t),e.append(`override_serial`,n?`true`:`false`);let{data:r}=await h.post(`/api/config/restore`,e,{headers:{"Content-Type":`multipart/form-data`},timeout:3e4});await B(r)}catch(t){k(e(`device_management.restore_failed`)),console.error(`Error restoring config:`,t)}finally{T(!1)}};return(0,S.jsxs)(v,{width:`wide`,children:[O&&(0,S.jsx)(g,{variant:`error`,message:O,action:(0,S.jsx)(`button`,{className:`btn btn-ghost btn-xs btn-circle`,onClick:()=>k(null),children:`×`})}),(0,S.jsx)(b,{icon:(0,S.jsx)(r,{}),title:e(`device_management.configuration_backup`),description:e(`device_management.backup_description`),footer:(0,S.jsxs)(y,{children:[(0,S.jsx)(`button`,{className:`btn btn-primary btn-sm gap-2`,onClick:U,disabled:l||w,children:l?(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(a,{className:`animate-spin`}),e(`device_management.preparing`)]}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(r,{}),e(`device_management.download_config`)]})}),(0,S.jsx)(`button`,{className:`btn btn-outline btn-sm gap-2`,onClick:()=>i.current?.click(),disabled:l||w,children:w?(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(a,{className:`animate-spin`}),e(`device_management.restoring`)]}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(s,{}),e(`device_management.restore_config`)]})})]}),children:(0,S.jsxs)(`div`,{className:`space-y-3`,children:[(0,S.jsx)(`input`,{ref:i,type:`file`,accept:`.tar.gz,.tgz`,onChange:async t=>{let n=t.target.files?.[0];if(n){T(!0),k(null),D(null);try{let t=new FormData;t.append(`file`,n);let{data:r}=await h.post(`/api/config/inspect_backup_file`,t,{headers:{"Content-Type":`multipart/form-data`}});r.serial_mismatch?F({backupMeta:r.backup_meta,currentSerial:r.current_serial,onConfirm:e=>{F(null),W(n,e)},onCancel:()=>{F(null),T(!1)}}):confirm(e(`device_management.confirm_restore`))?await W(n,!1):T(!1)}catch(t){k(e(`device_management.restore_failed`)),console.error(`Error inspecting backup file:`,t),T(!1)}}i.current&&(i.current.value=``)},style:{display:`none`}}),(0,S.jsx)(g,{variant:`info`,message:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(`span`,{className:`block`,children:e(`device_management.backup_info_1`)}),(0,S.jsx)(`span`,{className:`block`,children:e(`device_management.backup_info_2`)}),(0,S.jsx)(`span`,{className:`block font-semibold mt-1`,children:e(`device_management.restore_info`)})]})}),E&&(0,S.jsx)(g,{variant:E.validation_status===`success`?`success`:`warning`,message:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(`span`,{className:`block`,children:E.message}),(0,S.jsxs)(`span`,{className:`block text-xs opacity-70 mt-1 break-all`,children:[e(`device_management.backup_created`),`: `,E.backup_path]}),E.validation_status===`warning`&&(0,S.jsx)(`span`,{className:`block text-xs mt-1`,children:E.validation_message})]})})]})}),(0,S.jsx)(b,{icon:(0,S.jsx)(n,{}),title:e(`device_management.config_backups`),collapsible:A.length>0,open:M,onOpenChange:e=>{N(e),e&&I()},summary:A.length,action:(0,S.jsx)(`button`,{className:`btn btn-primary btn-sm gap-2`,onClick:L,disabled:l||w,children:l?(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(a,{className:`animate-spin`}),e(`device_management.preparing`)]}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(n,{}),e(`device_management.create_backup`)||`Create Backup`]})}),children:(0,S.jsxs)(`div`,{className:`space-y-3`,children:[(0,S.jsx)(g,{variant:`neutral`,message:e(`device_management.backup_limit_info`)||`Maximum 10 backups are kept. Oldest backups are automatically removed when creating new ones.`}),M&&A.length>0&&(0,S.jsx)(`div`,{className:`stg-inset overflow-x-auto`,children:(0,S.jsxs)(`table`,{className:`table table-sm`,children:[(0,S.jsx)(`thead`,{children:(0,S.jsxs)(`tr`,{children:[(0,S.jsx)(`th`,{children:e(`device_management.version`)}),(0,S.jsx)(`th`,{children:e(`device_management.date`)}),(0,S.jsx)(`th`,{children:e(`device_management.files`)}),(0,S.jsx)(`th`,{className:`text-right`,children:e(`device_management.actions`)})]})}),(0,S.jsx)(`tbody`,{children:A.map(t=>(0,S.jsxs)(`tr`,{children:[(0,S.jsx)(`td`,{className:`font-mono`,children:t.version}),(0,S.jsx)(`td`,{className:`text-xs font-mono`,children:t.timestamp}),(0,S.jsxs)(`td`,{children:[t.file_count,` `,e(`device_management.yaml_files`)]}),(0,S.jsx)(`td`,{children:(0,S.jsxs)(`div`,{className:`flex gap-1 justify-end`,children:[(0,S.jsxs)(`button`,{className:`btn btn-warning btn-xs gap-1.5`,onClick:()=>H(t.path),disabled:w,title:e(`device_management.restore`),children:[(0,S.jsx)(c,{}),e(`device_management.restore`)]}),(0,S.jsx)(`button`,{className:`btn btn-ghost btn-xs btn-square`,onClick:()=>R(t.path,t.filename),title:e(`device_management.download_config`),children:(0,S.jsx)(r,{})}),(0,S.jsx)(`button`,{className:`btn btn-ghost btn-xs btn-square text-error`,onClick:()=>z(t.path,t.filename),title:e(`device_management.delete`)||`Delete`,children:(0,S.jsx)(o,{})})]})})]},t.path))})]})})]})}),P&&(0,S.jsx)(m,{open:!0,onOpenChange:e=>{e||P.onCancel()},children:(0,S.jsxs)(f,{className:`max-w-md`,children:[(0,S.jsx)(u,{children:(0,S.jsxs)(p,{className:`flex items-center gap-2 text-warning`,children:[(0,S.jsx)(t,{}),e(`device_management.serial_mismatch_title`)||`Serial Number Mismatch`]})}),(0,S.jsxs)(`div`,{className:`py-4 text-sm space-y-4`,children:[(0,S.jsx)(`p`,{children:e(`device_management.serial_mismatch_desc`)||`The uploaded configuration backup was created on a device with a different serial number:`}),(0,S.jsxs)(`div`,{className:`bg-base-300 p-3 rounded-lg font-mono text-xs space-y-1`,children:[(0,S.jsxs)(`div`,{children:[(0,S.jsxs)(`span`,{className:`opacity-60`,children:[e(`device_management.backup_serial`)||`Backup Serial`,`:`]}),` `,(0,S.jsx)(`span`,{className:`text-warning font-semibold`,children:P.backupMeta?.effective_serial||`Unknown`})]}),P.backupMeta?.hostname&&(0,S.jsxs)(`div`,{children:[(0,S.jsxs)(`span`,{className:`opacity-60`,children:[e(`device_management.backup_hostname`)||`Backup Hostname`,`:`]}),` `,(0,S.jsx)(`span`,{children:P.backupMeta.hostname})]}),P.backupMeta?.created_at&&(0,S.jsxs)(`div`,{children:[(0,S.jsxs)(`span`,{className:`opacity-60`,children:[e(`device_management.backup_created_at`)||`Created At`,`:`]}),` `,(0,S.jsx)(`span`,{children:new Date(P.backupMeta.created_at).toLocaleString()})]}),(0,S.jsxs)(`div`,{children:[(0,S.jsxs)(`span`,{className:`opacity-60`,children:[e(`device_management.current_serial`)||`Current Serial`,`:`]}),` `,(0,S.jsx)(`span`,{className:`text-info font-semibold`,children:P.currentSerial})]})]}),(0,S.jsxs)(`div`,{className:`alert alert-warning text-xs`,children:[(0,S.jsx)(t,{className:`shrink-0`}),(0,S.jsx)(`span`,{children:e(`device_management.serial_override_warning`)||`WARNING: If both controllers are running at the same time on the same MQTT broker with the same serial number, conflicts will occur!`})]})]}),(0,S.jsxs)(d,{className:`flex flex-col sm:flex-row gap-2`,children:[(0,S.jsx)(`button`,{className:`btn btn-warning btn-sm`,onClick:()=>P.onConfirm(!0),children:e(`device_management.keep_old_serial`)||`Keep Old Serial`}),(0,S.jsx)(`button`,{className:`btn btn-outline btn-sm`,onClick:()=>P.onConfirm(!1),children:e(`device_management.use_new_serial`)||`Use New Serial`}),(0,S.jsx)(`button`,{className:`btn btn-ghost btn-sm`,onClick:P.onCancel,children:e(`common.cancel`)||`Cancel`})]})]})})]})}export{C as default};
|
|
1
|
+
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{B as t,G as n,P as r,Sn as i,Yt as a,cn as o,dn as s,ln as c,xn as l}from"./fa-wf69YpA7.js";import{a as u,i as d,n as f,o as p,t as m}from"./dialog-DcnAJg2-.js";import{n as h}from"./axios-DyqbZVcF.js";import{N as g,R as _,T as v,m as y,y as b}from"./index-bQAmfuAt.js";var x=e(i(),1),S=l();function C(){let{t:e}=_(),i=(0,x.useRef)(null),[l,C]=(0,x.useState)(!1),[w,T]=(0,x.useState)(!1),[E,D]=(0,x.useState)(null),[O,k]=(0,x.useState)(null),[A,j]=(0,x.useState)([]),[M,N]=(0,x.useState)(!1),[P,F]=(0,x.useState)(null),I=(0,x.useCallback)(async()=>{try{let{data:e}=await h.get(`/api/config/backups`);j(e.backups||[])}catch(e){console.error(`Error fetching available backups:`,e)}},[]);(0,x.useEffect)(()=>{I()},[I]);let L=async()=>{C(!0),k(null);try{let{data:e}=await h.post(`/api/config/create_backup`);e.status===`success`?(await I(),alert(e.message)):k(e.message)}catch(t){k(e(`backup.error`)),console.error(`Error creating backup:`,t)}finally{C(!1)}},R=async(t,n)=>{try{let e=(await h.get(`/api/config/download_backup?backup_path=${encodeURIComponent(t)}`,{responseType:`blob`})).data,r=window.URL.createObjectURL(e),i=document.createElement(`a`);i.href=r,i.download=n,document.body.appendChild(i),i.click(),window.URL.revokeObjectURL(r),document.body.removeChild(i)}catch(t){k(e(`backup.error`)),console.error(`Error downloading backup:`,t)}},z=async(t,n)=>{if(confirm(`${e(`device_management.confirm_delete_backup`)||`Delete backup`} ${n}?`))try{let{data:e}=await h.delete(`/api/config/delete_backup`,{data:{backup_path:t}});e.status===`success`?(await I(),alert(e.message)):k(e.message)}catch(t){k(e(`backup.error`)),console.error(`Error deleting backup:`,t)}},B=async t=>{t.status===`success`?(D(t),confirm(e(`device_management.restore_success_restart`))&&(await h.post(`/api/restart`),setTimeout(()=>window.location.reload(),3e3))):k(t.message||e(`device_management.restore_failed`))},V=async(t,n)=>{T(!0);try{let{data:e}=await h.post(`/api/config/restore_backup`,{backup_path:t,override_serial:n},{timeout:3e4});await B(e)}catch(t){k(e(`device_management.restore_failed`)),console.error(`Error restoring config:`,t)}finally{T(!1)}},H=async t=>{T(!0),k(null),D(null);try{let{data:n}=await h.post(`/api/config/inspect_backup_path`,{backup_path:t});n.serial_mismatch?F({backupMeta:n.backup_meta,currentSerial:n.current_serial,onConfirm:e=>{F(null),V(t,e)},onCancel:()=>{F(null),T(!1)}}):confirm(e(`device_management.confirm_restore`))?await V(t,!1):T(!1)}catch(t){k(e(`device_management.restore_failed`)),console.error(`Error inspecting backup path:`,t),T(!1)}},U=async()=>{C(!0),k(null);try{let e=await h.get(`/api/config/download`,{responseType:`blob`}),t=e.headers[`content-disposition`],n=`boneio_config.tar.gz`;if(t){let e=t.match(/filename=(.+)/);e&&(n=e[1])}let r=e.data,i=window.URL.createObjectURL(r),a=document.createElement(`a`);a.href=i,a.download=n,document.body.appendChild(a),a.click(),window.URL.revokeObjectURL(i),document.body.removeChild(a)}catch(t){k(e(`backup.error`)),console.error(`Error downloading config:`,t)}finally{C(!1)}},W=async(t,n)=>{T(!0);try{let e=new FormData;e.append(`file`,t),e.append(`override_serial`,n?`true`:`false`);let{data:r}=await h.post(`/api/config/restore`,e,{headers:{"Content-Type":`multipart/form-data`},timeout:3e4});await B(r)}catch(t){k(e(`device_management.restore_failed`)),console.error(`Error restoring config:`,t)}finally{T(!1)}};return(0,S.jsxs)(v,{width:`wide`,children:[O&&(0,S.jsx)(g,{variant:`error`,message:O,action:(0,S.jsx)(`button`,{className:`btn btn-ghost btn-xs btn-circle`,onClick:()=>k(null),children:`×`})}),(0,S.jsx)(b,{icon:(0,S.jsx)(r,{}),title:e(`device_management.configuration_backup`),description:e(`device_management.backup_description`),footer:(0,S.jsxs)(y,{children:[(0,S.jsx)(`button`,{className:`btn btn-primary btn-sm gap-2`,onClick:U,disabled:l||w,children:l?(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(a,{className:`animate-spin`}),e(`device_management.preparing`)]}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(r,{}),e(`device_management.download_config`)]})}),(0,S.jsx)(`button`,{className:`btn btn-outline btn-sm gap-2`,onClick:()=>i.current?.click(),disabled:l||w,children:w?(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(a,{className:`animate-spin`}),e(`device_management.restoring`)]}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(s,{}),e(`device_management.restore_config`)]})})]}),children:(0,S.jsxs)(`div`,{className:`space-y-3`,children:[(0,S.jsx)(`input`,{ref:i,type:`file`,accept:`.tar.gz,.tgz`,onChange:async t=>{let n=t.target.files?.[0];if(n){T(!0),k(null),D(null);try{let t=new FormData;t.append(`file`,n);let{data:r}=await h.post(`/api/config/inspect_backup_file`,t,{headers:{"Content-Type":`multipart/form-data`}});r.serial_mismatch?F({backupMeta:r.backup_meta,currentSerial:r.current_serial,onConfirm:e=>{F(null),W(n,e)},onCancel:()=>{F(null),T(!1)}}):confirm(e(`device_management.confirm_restore`))?await W(n,!1):T(!1)}catch(t){k(e(`device_management.restore_failed`)),console.error(`Error inspecting backup file:`,t),T(!1)}}i.current&&(i.current.value=``)},style:{display:`none`}}),(0,S.jsx)(g,{variant:`info`,message:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(`span`,{className:`block`,children:e(`device_management.backup_info_1`)}),(0,S.jsx)(`span`,{className:`block`,children:e(`device_management.backup_info_2`)}),(0,S.jsx)(`span`,{className:`block font-semibold mt-1`,children:e(`device_management.restore_info`)})]})}),E&&(0,S.jsx)(g,{variant:E.validation_status===`success`?`success`:`warning`,message:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(`span`,{className:`block`,children:E.message}),(0,S.jsxs)(`span`,{className:`block text-xs opacity-70 mt-1 break-all`,children:[e(`device_management.backup_created`),`: `,E.backup_path]}),E.validation_status===`warning`&&(0,S.jsx)(`span`,{className:`block text-xs mt-1`,children:E.validation_message})]})})]})}),(0,S.jsx)(b,{icon:(0,S.jsx)(n,{}),title:e(`device_management.config_backups`),collapsible:A.length>0,open:M,onOpenChange:e=>{N(e),e&&I()},summary:A.length,action:(0,S.jsx)(`button`,{className:`btn btn-primary btn-sm gap-2`,onClick:L,disabled:l||w,children:l?(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(a,{className:`animate-spin`}),e(`device_management.preparing`)]}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(n,{}),e(`device_management.create_backup`)||`Create Backup`]})}),children:(0,S.jsxs)(`div`,{className:`space-y-3`,children:[(0,S.jsx)(g,{variant:`neutral`,message:e(`device_management.backup_limit_info`)||`Maximum 10 backups are kept. Oldest backups are automatically removed when creating new ones.`}),M&&A.length>0&&(0,S.jsx)(`div`,{className:`stg-inset overflow-x-auto`,children:(0,S.jsxs)(`table`,{className:`table table-sm`,children:[(0,S.jsx)(`thead`,{children:(0,S.jsxs)(`tr`,{children:[(0,S.jsx)(`th`,{children:e(`device_management.version`)}),(0,S.jsx)(`th`,{children:e(`device_management.date`)}),(0,S.jsx)(`th`,{children:e(`device_management.files`)}),(0,S.jsx)(`th`,{className:`text-right`,children:e(`device_management.actions`)})]})}),(0,S.jsx)(`tbody`,{children:A.map(t=>(0,S.jsxs)(`tr`,{children:[(0,S.jsx)(`td`,{className:`font-mono`,children:t.version}),(0,S.jsx)(`td`,{className:`text-xs font-mono`,children:t.timestamp}),(0,S.jsxs)(`td`,{children:[t.file_count,` `,e(`device_management.yaml_files`)]}),(0,S.jsx)(`td`,{children:(0,S.jsxs)(`div`,{className:`flex gap-1 justify-end`,children:[(0,S.jsxs)(`button`,{className:`btn btn-warning btn-xs gap-1.5`,onClick:()=>H(t.path),disabled:w,title:e(`device_management.restore`),children:[(0,S.jsx)(c,{}),e(`device_management.restore`)]}),(0,S.jsx)(`button`,{className:`btn btn-ghost btn-xs btn-square`,onClick:()=>R(t.path,t.filename),title:e(`device_management.download_config`),children:(0,S.jsx)(r,{})}),(0,S.jsx)(`button`,{className:`btn btn-ghost btn-xs btn-square text-error`,onClick:()=>z(t.path,t.filename),title:e(`device_management.delete`)||`Delete`,children:(0,S.jsx)(o,{})})]})})]},t.path))})]})})]})}),P&&(0,S.jsx)(m,{open:!0,onOpenChange:e=>{e||P.onCancel()},children:(0,S.jsxs)(f,{className:`max-w-md`,children:[(0,S.jsx)(u,{children:(0,S.jsxs)(p,{className:`flex items-center gap-2 text-warning`,children:[(0,S.jsx)(t,{}),e(`device_management.serial_mismatch_title`)||`Serial Number Mismatch`]})}),(0,S.jsxs)(`div`,{className:`py-4 text-sm space-y-4`,children:[(0,S.jsx)(`p`,{children:e(`device_management.serial_mismatch_desc`)||`The uploaded configuration backup was created on a device with a different serial number:`}),(0,S.jsxs)(`div`,{className:`bg-base-300 p-3 rounded-lg font-mono text-xs space-y-1`,children:[(0,S.jsxs)(`div`,{children:[(0,S.jsxs)(`span`,{className:`opacity-60`,children:[e(`device_management.backup_serial`)||`Backup Serial`,`:`]}),` `,(0,S.jsx)(`span`,{className:`text-warning font-semibold`,children:P.backupMeta?.effective_serial||`Unknown`})]}),P.backupMeta?.hostname&&(0,S.jsxs)(`div`,{children:[(0,S.jsxs)(`span`,{className:`opacity-60`,children:[e(`device_management.backup_hostname`)||`Backup Hostname`,`:`]}),` `,(0,S.jsx)(`span`,{children:P.backupMeta.hostname})]}),P.backupMeta?.created_at&&(0,S.jsxs)(`div`,{children:[(0,S.jsxs)(`span`,{className:`opacity-60`,children:[e(`device_management.backup_created_at`)||`Created At`,`:`]}),` `,(0,S.jsx)(`span`,{children:new Date(P.backupMeta.created_at).toLocaleString()})]}),(0,S.jsxs)(`div`,{children:[(0,S.jsxs)(`span`,{className:`opacity-60`,children:[e(`device_management.current_serial`)||`Current Serial`,`:`]}),` `,(0,S.jsx)(`span`,{className:`text-info font-semibold`,children:P.currentSerial})]})]}),(0,S.jsxs)(`div`,{className:`alert alert-warning text-xs`,children:[(0,S.jsx)(t,{className:`shrink-0`}),(0,S.jsx)(`span`,{children:e(`device_management.serial_override_warning`)||`WARNING: If both controllers are running at the same time on the same MQTT broker with the same serial number, conflicts will occur!`})]})]}),(0,S.jsxs)(d,{className:`flex flex-col sm:flex-row gap-2`,children:[(0,S.jsx)(`button`,{className:`btn btn-warning btn-sm`,onClick:()=>P.onConfirm(!0),children:e(`device_management.keep_old_serial`)||`Keep Old Serial`}),(0,S.jsx)(`button`,{className:`btn btn-outline btn-sm`,onClick:()=>P.onConfirm(!1),children:e(`device_management.use_new_serial`)||`Use New Serial`}),(0,S.jsx)(`button`,{className:`btn btn-ghost btn-sm`,onClick:P.onCancel,children:e(`common.cancel`)||`Cancel`})]})]})})]})}export{C as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{B as t,J as n,N as r,Sn as i,Tt as a,U as o,W as s,_ as c,an as l,b as u,g as d,sn as f,ut as p,xn as m,yn as h}from"./fa-wf69YpA7.js";import{s as g}from"./LoggerForm-B33lv-x3.js";import{n as _}from"./utils-DOQQTBMN.js";import{R as v,T as y,y as b}from"./index-CNHyHjCc.js";import{r as x}from"./UISettings-Db8pSvLh.js";var S=e(i(),1),C=m();function w({outputType:e,className:t}){switch(e){case`light`:return(0,C.jsx)(p,{className:_(`text-warning`,t)});case`switch`:return(0,C.jsx)(f,{className:_(`text-info`,t)});case`valve`:return(0,C.jsx)(g,{className:_(`text-accent`,t)});case`cover`:return(0,C.jsx)(r,{className:_(`text-secondary`,t)});case`shutter`:case`blind`:case`curtain`:return(0,C.jsx)(h,{className:_(`text-secondary`,t)});default:return null}}var T={single:`1×`,double:`2×`,triple:`3×`,long:`L`,pressed:`P`,released:`R`,double_then_long:`2×L`,single_then_long:`1×L`,double_then_single:`2×1`},E={TOGGLE:`short_toggle`,ON:`short_on`,OFF:`short_off`,OPEN:`short_open`,CLOSE:`short_close`,STOP:`short_stop`,SET_POSITION:`short_set_position`},D={event:{header:`bg-[color-mix(in_oklab,var(--color-primary)_13%,var(--color-base-100))] shadow-[inset_3px_0_0_var(--color-primary)]`,headerHover:`bg-[color-mix(in_oklab,var(--color-primary)_22%,var(--color-base-100))] shadow-[inset_3px_0_0_var(--color-primary)]`,card:`border-l-4 border-l-primary`,dot:`bg-primary`,labelKey:`sections.event`},binary_sensor:{header:`bg-[color-mix(in_oklab,var(--color-warning)_15%,var(--color-base-100))] shadow-[inset_3px_0_0_var(--color-warning)]`,headerHover:`bg-[color-mix(in_oklab,var(--color-warning)_25%,var(--color-base-100))] shadow-[inset_3px_0_0_var(--color-warning)]`,card:`border-l-4 border-l-warning`,dot:`bg-warning`,labelKey:`sections.binary_sensor`}},O=[{key:`single`,labelKey:`binding_matrix.legend_single`,icon:`1×`},{key:`double`,labelKey:`binding_matrix.legend_double`,icon:`2×`},{key:`triple`,labelKey:`binding_matrix.legend_triple`,icon:`3×`},{key:`long`,labelKey:`binding_matrix.legend_long`,icon:`L`},{key:`pressed`,labelKey:`binding_matrix.legend_pressed`,icon:`P`},{key:`released`,labelKey:`binding_matrix.legend_released`,icon:`R`}],k=[{labelKey:`actions.toggle`,shortKey:`actions.short_toggle`},{labelKey:`actions.on`,shortKey:`actions.short_on`},{labelKey:`actions.off`,shortKey:`actions.short_off`},{labelKey:`actions.open`,shortKey:`actions.short_open`},{labelKey:`actions.close`,shortKey:`actions.short_close`},{labelKey:`actions.stop`,shortKey:`actions.short_stop`}],A={single:`single`,double:`double`,triple:`triple`,long:`long`,pressed:`pressed`,released:`released`,double_then_long:`sequences`,single_then_long:`sequences`,double_then_single:`sequences`};function j(e,t){let n=T[e.clickType]||e.clickType,r=E[e.actionValue];return`${n} ${r?t(`actions.${r}`):e.actionValue}`}function M(e,t){let n=`actions.${e.actionValue.toLowerCase()}`,r=t(n),i=r===n?e.actionValue:r;return`${e.clickType} → ${i}`}function N(e){let t=e.action||`output`,n=``,r=``,i;switch(t){case`output`:n=e.boneio_output||``,r=e.action_output||`TOGGLE`;break;case`cover`:n=e.boneio_cover||``,r=e.action_cover||`TOGGLE`;break;case`remote_output`:i=e.boneio_id||``,n=i?`${i}/${e.output_id||``}`:e.output_id||``,r=e.action_output||`TOGGLE`;break;case`remote_cover`:i=e.boneio_id||``,n=i?`${i}/${e.cover_id||``}`:e.cover_id||``,r=e.action_cover||`TOGGLE`;break;default:n=``,r=e.action_output||e.action_cover||``}return{targetId:n,actionType:t,actionValue:r,remoteDevice:i}}function P(e){let t=[],n=[`single`,`double`,`triple`,`long`,`pressed`,`released`,`double_then_long`,`single_then_long`,`double_then_single`],r=e.local_inputs||[];for(let e=0;e<r.length;e++){let i=r[e],a=i.id||i.boneio_input||i.pin||`local_${e}`,o=[];for(let e of n){let t=i.actions?.[e]||[];for(let n of t){let{targetId:t,actionType:r,actionValue:i,remoteDevice:a}=N(n);t&&o.push({clickType:e,actionType:r,targetId:t,actionValue:i,remoteDevice:a})}}t.push({id:a,name:i.name||i.id||i.boneio_input||i.pin||a,area:i.area||void 0,type:`local`,inputKind:i._type===`binary_sensor`?`binary_sensor`:`event`,bindings:o})}let i=e.remote_inputs||[];for(let e=0;e<i.length;e++){let r=i[e],a=r.boneio_id||r.remote_device||``,o=r.id||r.entity_id||``,s=a?`${a}/${o}`:o||`remote_${e}`,c=[];for(let e of n){let t=r.actions?.[e]||[];for(let n of t){let{targetId:t,actionType:r,actionValue:i,remoteDevice:a}=N(n);t&&c.push({clickType:e,actionType:r,targetId:t,actionValue:i,remoteDevice:a})}}t.push({id:s,name:r.name||r.id||o,area:r.area||void 0,type:`remote`,inputKind:r._type===`binary_sensor`?`binary_sensor`:`event`,remoteDevice:a,bindings:c})}return t}function F(e){let t=[],n=e.output||[];for(let e=0;e<n.length;e++){let r=n[e];if(r.output_type===`cover`||r.output_type===`none`)continue;let i=r.id||`output_${e}`;t.push({id:i,name:r.name||r.id||i,area:r.area||void 0,type:`output`,outputType:r.output_type})}let r=e.cover||[];for(let e=0;e<r.length;e++){let n=r[e],i=n.id||`cover_${e}`;t.push({id:i,name:n.name||n.id||i,area:n.area||void 0,type:`cover`,outputType:n.device_class||`cover`})}let i=e.remote_outputs||[];for(let e=0;e<i.length;e++){let n=i[e],r=n.boneio_id||n.remote_device||``,a=n.id||n.output_id||``,o=r?`${r}/${a}`:a||`remote_out_${e}`,s=(n.output_type||``).toLowerCase()===`cover`;t.push({id:o,name:n.name||n.id||a,area:n.area||void 0,type:s?`cover`:`remote_output`,remoteDevice:r,outputType:n.output_type})}return t}function I({inputs:e,outputs:t,t:n}){let r=e.filter(e=>e.type===`local`),i=e.filter(e=>e.type===`remote`),a=t.filter(e=>e.type===`output`),o=t.filter(e=>e.type===`cover`),s=t.filter(e=>e.type===`remote_output`||e.type===`remote_cover`),c=r.filter(e=>e.bindings.length>0),l=i.filter(e=>e.bindings.length>0),u=new Set(e.flatMap(e=>e.bindings.map(e=>e.targetId))),d=a.filter(e=>u.has(e.id)),f=o.filter(e=>u.has(e.id)),p=s.filter(e=>u.has(e.id)),m=e.reduce((e,t)=>e+t.bindings.length,0);return(0,C.jsxs)(`div`,{className:`gap-3 grid grid-cols-1 md:grid-cols-4 mb-4`,children:[(0,C.jsxs)(`div`,{className:`stg-inset space-y-1 p-3`,children:[(0,C.jsx)(`h4`,{className:`font-semibold text-[11px] text-base-content/50 uppercase tracking-[0.08em]`,children:n(`binding_matrix.local`)}),(0,C.jsxs)(`p`,{className:`text-xs text-base-content/70`,children:[`📥 `,n(`binding_matrix.inputs`),`: `,r.length,(0,C.jsxs)(`span`,{className:`ml-1 text-success`,children:[`(`,c.length,` ✓)`]}),(0,C.jsxs)(`span`,{className:`ml-1 text-warning`,children:[`(`,r.length-c.length,` ○)`]})]}),(0,C.jsxs)(`p`,{className:`text-xs text-base-content/70`,children:[`💡 `,n(`binding_matrix.outputs`),`: `,a.length,(0,C.jsxs)(`span`,{className:`ml-1 text-success`,children:[`(`,d.length,` ✓)`]}),(0,C.jsxs)(`span`,{className:`ml-1 text-warning`,children:[`(`,a.length-d.length,` ○)`]})]}),(0,C.jsxs)(`p`,{className:`text-xs text-base-content/70`,children:[`🚪 `,n(`binding_matrix.covers`),`: `,o.length,(0,C.jsxs)(`span`,{className:`ml-1 text-success`,children:[`(`,f.length,` ✓)`]}),(0,C.jsxs)(`span`,{className:`ml-1 text-warning`,children:[`(`,o.length-f.length,` ○)`]})]})]}),(i.length>0||s.length>0)&&(0,C.jsxs)(`div`,{className:`space-y-1 rounded-xl border border-info/25 bg-info/8 p-3`,children:[(0,C.jsx)(`h4`,{className:`font-semibold text-[11px] text-info uppercase tracking-[0.08em]`,children:n(`binding_matrix.remote`)}),(0,C.jsxs)(`p`,{className:`text-xs text-base-content/70`,children:[`📥 `,n(`binding_matrix.inputs`),`: `,i.length,(0,C.jsxs)(`span`,{className:`ml-1 text-success`,children:[`(`,l.length,` ✓)`]}),(0,C.jsxs)(`span`,{className:`ml-1 text-warning`,children:[`(`,i.length-l.length,` ○)`]})]}),(0,C.jsxs)(`p`,{className:`text-xs text-base-content/70`,children:[`📡 `,n(`binding_matrix.outputs`),`: `,s.length,(0,C.jsxs)(`span`,{className:`ml-1 text-success`,children:[`(`,p.length,` ✓)`]}),(0,C.jsxs)(`span`,{className:`ml-1 text-warning`,children:[`(`,s.length-p.length,` ○)`]})]})]}),(0,C.jsxs)(`div`,{className:`flex flex-col justify-center rounded-xl border border-primary/25 bg-primary/8 p-3`,children:[(0,C.jsx)(`p`,{className:`font-extrabold text-primary text-2xl`,children:m}),(0,C.jsx)(`p`,{className:`font-medium text-primary/70 text-xs`,children:n(`binding_matrix.total_bindings`)})]}),(0,C.jsxs)(`div`,{className:`stg-inset p-3`,children:[(0,C.jsx)(`h4`,{className:`mb-1.5 font-semibold text-[11px] text-base-content/50 uppercase tracking-[0.08em]`,children:n(`binding_matrix.legend`)}),(0,C.jsx)(`div`,{className:`flex flex-wrap gap-x-3 gap-y-0.5`,children:O.map(e=>(0,C.jsxs)(`span`,{className:`text-xxs text-base-content/60 whitespace-nowrap`,children:[(0,C.jsx)(`span`,{className:`font-mono font-bold text-base-content/80`,children:e.icon}),` `,n(e.labelKey)]},e.key))}),(0,C.jsx)(`div`,{className:`flex flex-wrap gap-x-3 gap-y-0.5 mt-1.5 pt-1.5 border-base-content/10 border-t`,children:k.map(e=>(0,C.jsxs)(`span`,{className:`text-xxs text-base-content/60 whitespace-nowrap`,children:[(0,C.jsx)(`span`,{className:`font-mono font-bold text-base-content/80`,children:n(e.shortKey)}),` `,n(e.labelKey)]},e.shortKey))}),(0,C.jsx)(`div`,{className:`flex flex-wrap gap-x-3 gap-y-0.5 mt-1.5 pt-1.5 border-base-content/10 border-t`,children:Object.values(D).map(e=>(0,C.jsxs)(`span`,{className:`flex items-center gap-1 text-xxs text-base-content/60 whitespace-nowrap`,children:[(0,C.jsx)(`span`,{className:_(`inline-block rounded-sm w-2.5 h-2.5`,e.dot)}),` `,n(e.labelKey)]},e.labelKey))})]})]})}function L(e){let t=e?.parentElement??null;for(;t&&t!==document.body;){let e=getComputedStyle(t).overflowY;if((e===`auto`||e===`scroll`)&&t.scrollHeight>t.clientHeight)return t;t=t.parentElement}return null}function R({inputs:e,outputs:n,t:r}){let[i,a]=(0,S.useState)(!0),[o,s]=(0,S.useState)(!0),l=new Set(e.flatMap(e=>e.bindings.map(e=>e.targetId))),d=e.filter(e=>e.type===`local`&&e.bindings.length===0),f=n.filter(e=>e.type===`output`&&!l.has(e.id)),p=n.filter(e=>e.type===`cover`&&!l.has(e.id)),m=e.filter(e=>e.type===`remote`&&e.bindings.length===0),h=n.filter(e=>(e.type===`remote_output`||e.type===`remote_cover`)&&!l.has(e.id)),g=d.length>0||f.length>0||p.length>0,_=m.length>0||h.length>0;return!g&&!_?null:(0,C.jsxs)(`div`,{className:`space-y-3 mt-4`,children:[g&&(0,C.jsxs)(`div`,{className:`bg-warning/5 border border-warning/20 rounded-xl overflow-hidden`,children:[(0,C.jsxs)(`button`,{className:`flex justify-between items-center hover:bg-warning/10 p-3 w-full font-semibold text-warning text-sm transition-colors`,onClick:()=>a(!i),children:[(0,C.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,C.jsx)(t,{className:`w-3.5 h-3.5`}),r(`binding_matrix.unconfigured_local`)]}),i?(0,C.jsx)(u,{className:`w-3 h-3`}):(0,C.jsx)(c,{className:`w-3 h-3`})]}),i&&(0,C.jsxs)(`div`,{className:`space-y-2 p-3 pt-0`,children:[d.length>0&&(0,C.jsx)(z,{title:`📥 ${r(`binding_matrix.free_inputs`)} (${d.length})`,items:d.map(e=>({id:e.id,name:e.name,area:e.area}))}),f.length>0&&(0,C.jsx)(z,{title:`💡 ${r(`binding_matrix.free_outputs`)} (${f.length})`,items:f.map(e=>({id:e.id,name:e.name,area:e.area}))}),p.length>0&&(0,C.jsx)(z,{title:`🚪 ${r(`binding_matrix.free_covers`)} (${p.length})`,items:p.map(e=>({id:e.id,name:e.name,area:e.area}))})]})]}),_&&(0,C.jsxs)(`div`,{className:`bg-info/5 border border-info/20 rounded-xl overflow-hidden`,children:[(0,C.jsxs)(`button`,{className:`flex justify-between items-center hover:bg-info/10 p-3 w-full font-semibold text-info text-sm transition-colors`,onClick:()=>s(!o),children:[(0,C.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,C.jsx)(t,{className:`w-3.5 h-3.5`}),r(`binding_matrix.unconfigured_remote`)]}),o?(0,C.jsx)(u,{className:`w-3 h-3`}):(0,C.jsx)(c,{className:`w-3 h-3`})]}),o&&(0,C.jsxs)(`div`,{className:`space-y-2 p-3 pt-0`,children:[m.length>0&&(0,C.jsx)(z,{title:`📥 ${r(`binding_matrix.free_remote_inputs`)} (${m.length})`,items:m.map(e=>({id:e.id,name:e.name,area:e.area,badge:e.remoteDevice}))}),h.length>0&&(0,C.jsx)(z,{title:`📡 ${r(`binding_matrix.free_remote_outputs`)} (${h.length})`,items:h.map(e=>({id:e.id,name:e.name,area:e.area,badge:e.remoteDevice}))})]})]})]})}function z({title:e,items:t}){return(0,C.jsxs)(`div`,{children:[(0,C.jsx)(`p`,{className:`mb-1 font-semibold text-xs text-base-content/60`,children:e}),(0,C.jsx)(`div`,{className:`flex flex-wrap gap-1.5`,children:t.map(e=>(0,C.jsxs)(`span`,{className:`gap-1 font-mono text-xxs badge badge-sm badge-ghost`,title:e.id,children:[e.name,e.area&&(0,C.jsxs)(`span`,{className:`text-base-content/40`,children:[`(`,e.area,`)`]}),e.badge&&(0,C.jsxs)(`span`,{className:`text-info/60`,children:[`[`,e.badge,`]`]})]},e.id))})]})}function B({inputs:e,outputs:t,areaFilter:n,hideEmpty:r,t:i,onEditInput:o,onEditOutput:s}){let[c,l]=(0,S.useState)(null),[u,d]=(0,S.useState)(null),f=(0,S.useRef)(null),p=(0,S.useRef)(!1),m=(0,S.useRef)(!1),h=(0,S.useRef)(0),g=(0,S.useRef)(0),v=(0,S.useRef)(0),y=(0,S.useRef)(0),b=(0,S.useRef)(null),[x,T]=(0,S.useState)(null),E=(0,S.useRef)(null),k=(0,S.useCallback)((e,t,n)=>{n||(e.preventDefault(),T({x:e.clientX,y:e.clientY,row:t}))},[]),A=(0,S.useCallback)((e,t,n)=>{if(n)return;let r=`touches`in e?{x:e.touches[0].clientX,y:e.touches[0].clientY}:{x:e.clientX,y:e.clientY};E.current=setTimeout(()=>{T({...r,row:t}),E.current=null},500)},[]),N=(0,S.useCallback)(()=>{E.current&&=(clearTimeout(E.current),null)},[]);(0,S.useEffect)(()=>{if(!x)return;let e=null,t=requestAnimationFrame(()=>{let t=()=>T(null);window.addEventListener(`click`,t),window.addEventListener(`contextmenu`,t,{capture:!0}),window.addEventListener(`scroll`,t,!0),e=()=>{window.removeEventListener(`click`,t),window.removeEventListener(`contextmenu`,t,{capture:!0}),window.removeEventListener(`scroll`,t,!0)}});return()=>{cancelAnimationFrame(t),e?.()}},[x]);let P=(0,S.useMemo)(()=>{let e=new Map;for(let n of t)e.set(n.id,n.area);return e},[t]),F=(0,S.useMemo)(()=>{let t=e;return n.size>0&&(t=t.filter(e=>{let t=e.area||`__none__`;return n.has(t)?!0:e.bindings.some(e=>{let t=P.get(e.targetId)||`__none__`;return n.has(t)})})),r&&(t=t.filter(e=>e.bindings.length>0)),t},[e,n,r,P]),I=(0,S.useMemo)(()=>new Set(e.flatMap(e=>e.bindings.map(e=>e.targetId))),[e]),R=(0,S.useMemo)(()=>{let t=new Map;for(let n of e){let e=n.area||`__none__`;for(let r of n.bindings)t.has(r.targetId)||t.set(r.targetId,new Set),t.get(r.targetId).add(e)}return t},[e]),z=(0,S.useMemo)(()=>{let e=t;return n.size>0&&(e=e.filter(e=>{let t=e.area||`__none__`;if(n.has(t))return!0;let r=R.get(e.id);if(r){for(let e of r)if(n.has(e))return!0}return!1})),r&&(e=e.filter(e=>I.has(e.id))),e},[t,n,r,I,R]),B=(0,S.useMemo)(()=>{let e=new Map;for(let t of F){let n=new Map;for(let e of t.bindings){let t=n.get(e.targetId)||[];t.push(e),n.set(e.targetId,t)}e.set(t.id,n)}return e},[F]);return F.length===0||z.length===0?(0,C.jsx)(`div`,{className:`py-12 text-base-content/40 text-center`,children:(0,C.jsx)(`p`,{className:`text-sm`,children:i(`binding_matrix.no_data`)})}):(0,C.jsxs)(`div`,{ref:f,className:`border border-base-300 rounded-xl overflow-x-auto cursor-grab active:cursor-grabbing select-none`,onPointerDown:e=>{e.pointerType===`mouse`&&e.button===0&&(p.current=!0,m.current=!1,h.current=e.clientX,g.current=e.clientY,v.current=f.current?.scrollLeft||0,b.current=L(f.current),y.current=b.current?.scrollTop||0)},onPointerMove:e=>{if(!p.current||!f.current)return;let t=e.clientX-h.current,n=e.clientY-g.current;if(!m.current&&(Math.abs(t)>5||Math.abs(n)>5)){m.current=!0;try{e.currentTarget.setPointerCapture(e.pointerId)}catch{}}m.current&&(f.current.scrollLeft=v.current-t,b.current&&(b.current.scrollTop=y.current-n))},onPointerUp:e=>{e.currentTarget.hasPointerCapture?.(e.pointerId)&&e.currentTarget.releasePointerCapture(e.pointerId),p.current=!1,m.current=!1},onPointerCancel:()=>{p.current=!1,m.current=!1},onPointerLeave:()=>{m.current||(p.current=!1)},onClickCapture:e=>{m.current&&(e.stopPropagation(),e.preventDefault())},children:[(0,C.jsxs)(`table`,{className:`table table-xs w-auto`,children:[(0,C.jsx)(`thead`,{children:(0,C.jsxs)(`tr`,{children:[(0,C.jsx)(`th`,{className:`left-0 z-20 sticky bg-base-200 border-base-300 border-r min-w-30`}),z.map(e=>(0,C.jsxs)(`th`,{className:_(`group/col bg-base-200 px-2 py-2 border-base-300 border-r min-w-20 font-bold text-xxs text-center whitespace-nowrap cursor-pointer`,u===e.id&&`bg-primary/10`),onMouseEnter:()=>d(e.id),onMouseLeave:()=>d(null),onClick:()=>s(e),title:i(`binding_matrix.click_to_edit`),children:[(0,C.jsxs)(`div`,{className:`flex justify-center items-center gap-1`,children:[(0,C.jsx)(w,{outputType:e.outputType,className:`w-3 h-3 shrink-0`}),(0,C.jsx)(`span`,{className:`whitespace-nowrap`,children:e.name}),(0,C.jsx)(a,{className:`opacity-0 group-hover/col:opacity-40 w-2 h-2 transition-opacity shrink-0`})]}),e.area?(0,C.jsx)(`div`,{className:`font-normal text-xxs text-base-content/40 truncate`,children:e.area}):(0,C.jsx)(`div`,{className:`font-normal text-xxs text-base-content/20`,children:`—`}),e.remoteDevice&&(0,C.jsx)(`div`,{className:`font-normal text-info/50 text-xxs truncate`,children:e.remoteDevice})]},e.id))]})}),(0,C.jsx)(`tbody`,{children:F.map(e=>{let t=B.get(e.id);return(0,C.jsxs)(`tr`,{className:_(`hover:bg-base-200/50`,c===e.id&&`bg-base-200/40`),onMouseEnter:()=>l(e.id),onMouseLeave:()=>l(null),children:[(0,C.jsxs)(`td`,{className:_(`group/row left-0 z-10 sticky border-base-300 border-r font-medium text-xs cursor-pointer`,c===e.id?D[e.inputKind].headerHover:D[e.inputKind].header,e.bindings.length===0&&`text-base-content/30`),onClick:()=>o(e),title:`${i(D[e.inputKind].labelKey)}\n${i(`binding_matrix.click_to_edit`)}`,children:[(0,C.jsxs)(`div`,{className:`flex items-center gap-1 max-w-30 font-bold truncate`,title:e.id,children:[e.name,(0,C.jsx)(a,{className:`opacity-0 group-hover/row:opacity-40 w-2.5 h-2.5 transition-opacity shrink-0`})]}),e.area&&(0,C.jsx)(`div`,{className:`text-xxs text-base-content/40`,children:e.area}),e.remoteDevice&&(0,C.jsx)(`div`,{className:`text-info/50 text-xxs`,children:e.remoteDevice})]}),z.map(n=>{let r=t?.get(n.id)||[],a=c===e.id||u===n.id;return(0,C.jsx)(`td`,{className:_(`px-1 py-1 border-base-300 border-r text-xs text-center`,r.length>0?`bg-success/15 text-success font-medium`:`text-base-content/30`,a&&r.length>0&&`bg-success/25`,a&&r.length===0&&`bg-base-200/40`),onMouseEnter:()=>d(n.id),onMouseLeave:()=>{d(null),N()},onContextMenu:t=>k(t,e,r.length>0),onMouseDown:t=>{t.button===0&&A(t,e,r.length>0)},onMouseUp:N,onTouchStart:t=>A(t,e,r.length>0),onTouchEnd:N,onTouchMove:N,children:r.length>0&&(0,C.jsx)(`div`,{className:`flex flex-col gap-0.5`,children:r.map((t,n)=>(0,C.jsx)(`button`,{className:`hover:bg-success/30 px-0.5 rounded text-left whitespace-nowrap transition-colors cursor-pointer`,onClick:()=>o(e,t.clickType),title:`${M(t,i)}\n${i(`binding_matrix.click_to_edit`)}`,children:j(t,i)},n))})},n.id)})]},e.id)})})]}),x&&(0,C.jsxs)(`div`,{className:`z-50 fixed bg-base-100 shadow-xl py-1 border border-base-300 rounded-lg min-w-45 animate-in duration-100 fade-in zoom-in-95`,style:{left:x.x,top:x.y},onClick:e=>e.stopPropagation(),children:[(0,C.jsx)(`div`,{className:`px-3 py-1.5 font-semibold text-xxs text-base-content/40 uppercase tracking-wider`,children:i(`binding_matrix.add_action`)}),O.filter(e=>x.row.inputKind===`binary_sensor`?e.key===`pressed`||e.key===`released`:e.key!==`pressed`&&e.key!==`released`).map(e=>(0,C.jsxs)(`button`,{className:`flex items-center gap-2 hover:bg-primary/10 px-3 py-1.5 w-full text-sm text-left transition-colors`,onClick:()=>{o(x.row,e.key),T(null)},children:[(0,C.jsx)(`span`,{className:`font-mono text-base-content/70`,children:e.icon}),i(`binding_matrix.legend_${e.key}`)]},e.key))]})]})}function ee({inputs:e,areaFilter:t,hideEmpty:n,t:r,onEditInput:i}){let[o,s]=(0,S.useState)(null),f=(0,S.useMemo)(()=>{let r=e;return t.size>0&&(r=r.filter(e=>{let n=e.area||`__none__`;return t.has(n)})),n&&(r=r.filter(e=>e.bindings.length>0)),r},[e,t,n]),p=(0,S.useCallback)(e=>{s(t=>t===e?null:e)},[]);return f.length===0?(0,C.jsx)(`div`,{className:`py-12 text-base-content/40 text-center`,children:(0,C.jsx)(`p`,{className:`text-sm`,children:r(`binding_matrix.no_data`)})}):(0,C.jsx)(`div`,{className:`space-y-1.5`,children:f.map(e=>{let t=o===e.id,n=e.bindings.length>0,s=new Map;for(let t of e.bindings){let e=s.get(t.targetId)||[];e.push(t),s.set(t.targetId,e)}return(0,C.jsxs)(`div`,{className:_(`border rounded-xl overflow-hidden transition-colors`,n?`border-success/20 bg-success/5`:`border-base-300 bg-base-200/30`,D[e.inputKind].card),children:[(0,C.jsxs)(`button`,{className:`flex justify-between items-center hover:bg-base-200/30 p-3 w-full text-sm transition-colors`,onClick:()=>n&&p(e.id),disabled:!n,children:[(0,C.jsxs)(`div`,{className:`flex items-center gap-2 min-w-0`,children:[n?(0,C.jsx)(d,{className:`w-3.5 h-3.5 text-success shrink-0`}):(0,C.jsx)(l,{className:`w-3.5 h-3.5 text-base-content/20 shrink-0`}),(0,C.jsxs)(`div`,{className:`min-w-0 text-left`,children:[(0,C.jsx)(`span`,{className:_(`block font-semibold truncate`,!n&&`text-base-content/30`),children:e.name}),e.area&&(0,C.jsx)(`span`,{className:`text-xxs text-base-content/40`,children:e.area})]})]}),(0,C.jsxs)(`div`,{className:`flex items-center gap-2`,children:[n&&(0,C.jsx)(`span`,{className:`font-bold badge badge-sm badge-success`,children:e.bindings.length}),e.type===`remote`&&(0,C.jsx)(`span`,{className:`font-mono badge badge-xs badge-info`,children:e.remoteDevice}),n&&(t?(0,C.jsx)(u,{className:`w-3 h-3 text-base-content/30`}):(0,C.jsx)(c,{className:`w-3 h-3 text-base-content/30`}))]})]}),t&&n&&(0,C.jsxs)(`div`,{className:`space-y-2 bg-base-100/50 p-3 border-base-300 border-t`,children:[[...s.entries()].map(([e,t])=>(0,C.jsxs)(`div`,{className:`flex items-start gap-2 text-xs`,children:[(0,C.jsx)(`span`,{className:`mt-0.5 font-mono font-bold text-base-content/70 shrink-0`,children:`→`}),(0,C.jsxs)(`div`,{children:[(0,C.jsx)(`span`,{className:`font-semibold`,children:e}),(0,C.jsx)(`div`,{className:`flex flex-wrap gap-1 mt-0.5`,children:t.map((e,t)=>(0,C.jsx)(`span`,{className:`gap-0.5 font-mono badge badge-xs badge-success`,children:j(e,r)},t))})]})]},e)),(0,C.jsxs)(`button`,{className:`gap-1 mt-1 btn-outline btn btn-xs btn-primary`,onClick:t=>{t.stopPropagation(),i(e)},children:[(0,C.jsx)(a,{className:`w-2.5 h-2.5`}),r(`binding_matrix.edit_input`)]})]})]},e.id)})})}var V=({formData:e,sections:t,onSaveSection:r,onUpdateFormData:i})=>{let{t:a}=v(),[l,u]=(0,S.useState)(new Set),[d,f]=(0,S.useState)(!1),[p,m]=(0,S.useState)(!1),[h,g]=(0,S.useState)(!1),[_,w]=(0,S.useState)(null),[T,E]=(0,S.useState)(``),[D,O]=(0,S.useState)(-1),[k,j]=(0,S.useState)(`basic`),[M,N]=(0,S.useState)(!1),[L,z]=(0,S.useState)(!1),V=(0,S.useRef)(null),[te,H]=(0,S.useState)(!1),[U,W]=(0,S.useState)(null),[G,ne]=(0,S.useState)(``),[K,re]=(0,S.useState)(-1),[ie,q]=(0,S.useState)(!1),J=(0,S.useRef)(null),Y=(0,S.useCallback)((t,n)=>{let r=t.type===`remote`?`remote_inputs`:`local_inputs`,i=e[r]||[],a=i.findIndex((e,n)=>{if(t.type===`remote`){let r=e.boneio_id||e.remote_device||``,i=e.id||e.entity_id||``;return(r?`${r}/${i}`:i||`remote_${n}`)===t.id}return(e.id||e.boneio_input||e.pin||`local_${n}`)===t.id});a<0||(E(r),O(a),w(JSON.parse(JSON.stringify(i[a]))),V.current=JSON.stringify(i[a]),j(n&&A[n]||`basic`),N(!1),g(!0))},[e]),ae=(0,S.useCallback)(async()=>{if(M||D<0||!_)return;let t=[...e[T]||[]];t[D]=_,z(!0);try{i(T,t),await r(T,t),g(!1),w(null)}catch(e){console.error(`Failed to save input:`,e)}finally{z(!1)}},[_,D,T,e,M,r,i]),oe=(0,S.useCallback)(()=>{g(!1),w(null)},[]),X=(0,S.useMemo)(()=>P(e),[e]),Z=(0,S.useMemo)(()=>F(e),[e]),se=(0,S.useMemo)(()=>{let e=new Set;return X.forEach(t=>{t.area&&e.add(t.area)}),Z.forEach(t=>{t.area&&e.add(t.area)}),[...e].sort()},[X,Z]),ce=(0,S.useMemo)(()=>X.some(e=>!e.area)||Z.some(e=>!e.area),[X,Z]),Q=(0,S.useMemo)(()=>e.output||[],[e.output]),$=(0,S.useMemo)(()=>e.cover||[],[e.cover]),le=(0,S.useMemo)(()=>e.output_group||[],[e.output_group]),ue=(0,S.useMemo)(()=>e.remote_devices||[],[e.remote_devices]),de=(0,S.useMemo)(()=>e.remote_inputs||[],[e.remote_inputs]),fe=(0,S.useMemo)(()=>(e.local_inputs||[]).filter(e=>e._inputType===`binary_sensor`),[e.local_inputs]),pe=(0,S.useMemo)(()=>(e.local_inputs||[]).filter(e=>e._inputType!==`binary_sensor`),[e.local_inputs]),me=(0,S.useMemo)(()=>e.areas||[],[e.areas]),he=(0,S.useMemo)(()=>{let e=t.find(e=>e.name===`local_inputs`);return e?.schema||e?.normalizedSchema||{}},[t]),ge=(0,S.useMemo)(()=>{let e=t.find(e=>e.name===`output`);return e?.schema||e?.normalizedSchema||{}},[t]),_e=(0,S.useMemo)(()=>t.find(e=>e.name===`output`)?.uiSchema||{},[t]),ve=(0,S.useMemo)(()=>{let e=t.find(e=>e.name===`cover`);return e?.schema||e?.normalizedSchema||{}},[t]),ye=(0,S.useCallback)(t=>{let n={output:`output`,cover:`cover`,remote_output:`remote_outputs`,remote_cover:`remote_covers`}[t.type]||`output`,r=e[n]||[],i=r.findIndex((e,n)=>{if(t.type===`remote_output`||t.type===`remote_cover`){let r=e.boneio_id||e.remote_device||``,i=e.id||e.output_id||``;return(r?`${r}/${i}`:i||`remote_out_${n}`)===t.id}return(e.id||``)===t.id});i<0||(ne(n),re(i),W(JSON.parse(JSON.stringify(r[i]))),J.current=JSON.stringify(r[i]),H(!0))},[e]),be=(0,S.useCallback)(async()=>{if(K<0||!U)return;let t=[...e[G]||[]];t[K]=U,q(!0);try{i(G,t),await r(G,t),H(!1),W(null)}catch(e){console.error(`Failed to save output:`,e)}finally{q(!1)}},[U,K,G,e,r,i]),xe=(0,S.useCallback)(()=>{H(!1),W(null)},[]),Se=_&&V.current&&JSON.stringify(_)!==V.current,Ce=U&&J.current&&JSON.stringify(U)!==J.current;return(0,C.jsxs)(y,{width:`full`,children:[(0,C.jsxs)(b,{children:[(0,C.jsx)(I,{inputs:X,outputs:Z,t:a}),(0,C.jsxs)(`div`,{className:`flex flex-wrap items-center gap-3 mb-4`,children:[(0,C.jsxs)(`div`,{className:`relative flex items-center gap-2`,children:[(0,C.jsx)(n,{className:`w-3 h-3 text-base-content/40`}),(0,C.jsxs)(`button`,{className:`justify-between gap-1 btn-outline min-w-40 btn btn-sm`,onClick:()=>f(e=>!e),children:[(0,C.jsx)(`span`,{className:`text-xs truncate`,children:l.size===0?a(`binding_matrix.all_areas`):l.size===1?l.has(`__none__`)?a(`binding_matrix.no_area`):[...l][0]:a(`binding_matrix.areas_selected`,{count:l.size})}),(0,C.jsx)(c,{className:`w-2.5 h-2.5 shrink-0`})]}),d&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(`div`,{className:`z-40 fixed inset-0`,onClick:()=>f(!1)}),(0,C.jsxs)(`div`,{className:`top-full left-0 z-50 absolute bg-base-100 shadow-xl mt-1 py-1 border border-base-300 rounded-lg min-w-50 max-h-75 overflow-y-auto`,children:[(0,C.jsxs)(`label`,{className:`flex items-center gap-2 hover:bg-base-200/60 px-3 py-1.5 transition-colors cursor-pointer`,children:[(0,C.jsx)(`input`,{type:`checkbox`,className:`checkbox checkbox-xs checkbox-primary`,checked:l.size===0,onChange:()=>u(new Set)}),(0,C.jsx)(`span`,{className:`font-semibold text-xs`,children:a(`binding_matrix.all_areas`)})]}),(0,C.jsx)(`div`,{className:`my-0.5 border-base-300 border-t`}),ce&&(0,C.jsxs)(`label`,{className:`flex items-center gap-2 hover:bg-base-200/60 px-3 py-1.5 transition-colors cursor-pointer`,children:[(0,C.jsx)(`input`,{type:`checkbox`,className:`checkbox checkbox-xs checkbox-primary`,checked:l.has(`__none__`),onChange:()=>{let e=new Set(l);e.has(`__none__`)?e.delete(`__none__`):e.add(`__none__`),u(e)}}),(0,C.jsx)(`span`,{className:`text-xs text-base-content/50 italic`,children:a(`binding_matrix.no_area`)})]}),se.map(e=>(0,C.jsxs)(`label`,{className:`flex items-center gap-2 hover:bg-base-200/60 px-3 py-1.5 transition-colors cursor-pointer`,children:[(0,C.jsx)(`input`,{type:`checkbox`,className:`checkbox checkbox-xs checkbox-primary`,checked:l.has(e),onChange:()=>{let t=new Set(l);t.has(e)?t.delete(e):t.add(e),u(t)}}),(0,C.jsx)(`span`,{className:`text-xs`,children:e})]},e))]})]})]}),(0,C.jsxs)(`label`,{className:`flex items-center gap-2 cursor-pointer`,children:[(0,C.jsx)(`input`,{type:`checkbox`,className:`checkbox checkbox-sm checkbox-primary`,checked:p,onChange:e=>m(e.target.checked)}),(0,C.jsxs)(`span`,{className:`flex items-center gap-1 font-medium text-xs text-base-content/60`,children:[p?(0,C.jsx)(s,{className:`w-3 h-3`}):(0,C.jsx)(o,{className:`w-3 h-3`}),a(`binding_matrix.hide_empty`)]})]})]}),(0,C.jsx)(`div`,{className:`hidden md:block`,children:(0,C.jsx)(B,{inputs:X,outputs:Z,areaFilter:l,hideEmpty:p,t:a,onEditInput:Y,onEditOutput:ye})}),(0,C.jsx)(`div`,{className:`md:hidden`,children:(0,C.jsx)(ee,{inputs:X,areaFilter:l,hideEmpty:p,t:a,onEditInput:Y})}),(0,C.jsx)(R,{inputs:X,outputs:Z,t:a})]}),(0,C.jsx)(x,{open:h,onOpenChange:g,editingItem:_,editingIndex:D,sectionType:T,schema:T===`remote_inputs`?t.find(e=>e.name===`remote_inputs`)?.schema||t.find(e=>e.name===`remote_inputs`)?.normalizedSchema||{}:he,allBinarySensors:fe,allEvents:pe,allOutputs:Q,allOutputGroups:le,allCovers:$,allAreas:me,allRemoteDevices:ue,allRemoteInputs:de,savedOutputs:Q,savedOutputGroups:le,savedCovers:$,onChange:w,onSave:ae,onCancel:oe,onValidationChange:N,saveDisabled:M||!Se,isSaving:L,initialTab:k}),(0,C.jsx)(x,{open:te,onOpenChange:H,editingItem:U,editingIndex:K,sectionType:G,schema:G===`cover`?ve:ge,uiSchema:G===`cover`?void 0:_e,allOutputs:Q,allCovers:$,allAreas:me,onChange:W,onSave:be,onCancel:xe,saveDisabled:!Ce,isSaving:ie})]})};export{V as default};
|
|
1
|
+
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{B as t,J as n,N as r,Sn as i,Tt as a,U as o,W as s,_ as c,an as l,b as u,g as d,sn as f,ut as p,xn as m,yn as h}from"./fa-wf69YpA7.js";import{s as g}from"./LoggerForm-CSOdB3jF.js";import{n as _}from"./utils-DOQQTBMN.js";import{R as v,T as y,y as b}from"./index-bQAmfuAt.js";import{r as x}from"./UISettings-Bf_HkmqH.js";var S=e(i(),1),C=m();function w({outputType:e,className:t}){switch(e){case`light`:return(0,C.jsx)(p,{className:_(`text-warning`,t)});case`switch`:return(0,C.jsx)(f,{className:_(`text-info`,t)});case`valve`:return(0,C.jsx)(g,{className:_(`text-accent`,t)});case`cover`:return(0,C.jsx)(r,{className:_(`text-secondary`,t)});case`shutter`:case`blind`:case`curtain`:return(0,C.jsx)(h,{className:_(`text-secondary`,t)});default:return null}}var T={single:`1×`,double:`2×`,triple:`3×`,long:`L`,pressed:`P`,released:`R`,double_then_long:`2×L`,single_then_long:`1×L`,double_then_single:`2×1`},E={TOGGLE:`short_toggle`,ON:`short_on`,OFF:`short_off`,OPEN:`short_open`,CLOSE:`short_close`,STOP:`short_stop`,SET_POSITION:`short_set_position`},D={event:{header:`bg-[color-mix(in_oklab,var(--color-primary)_13%,var(--color-base-100))] shadow-[inset_3px_0_0_var(--color-primary)]`,headerHover:`bg-[color-mix(in_oklab,var(--color-primary)_22%,var(--color-base-100))] shadow-[inset_3px_0_0_var(--color-primary)]`,card:`border-l-4 border-l-primary`,dot:`bg-primary`,labelKey:`sections.event`},binary_sensor:{header:`bg-[color-mix(in_oklab,var(--color-warning)_15%,var(--color-base-100))] shadow-[inset_3px_0_0_var(--color-warning)]`,headerHover:`bg-[color-mix(in_oklab,var(--color-warning)_25%,var(--color-base-100))] shadow-[inset_3px_0_0_var(--color-warning)]`,card:`border-l-4 border-l-warning`,dot:`bg-warning`,labelKey:`sections.binary_sensor`}},O=[{key:`single`,labelKey:`binding_matrix.legend_single`,icon:`1×`},{key:`double`,labelKey:`binding_matrix.legend_double`,icon:`2×`},{key:`triple`,labelKey:`binding_matrix.legend_triple`,icon:`3×`},{key:`long`,labelKey:`binding_matrix.legend_long`,icon:`L`},{key:`pressed`,labelKey:`binding_matrix.legend_pressed`,icon:`P`},{key:`released`,labelKey:`binding_matrix.legend_released`,icon:`R`}],k=[{labelKey:`actions.toggle`,shortKey:`actions.short_toggle`},{labelKey:`actions.on`,shortKey:`actions.short_on`},{labelKey:`actions.off`,shortKey:`actions.short_off`},{labelKey:`actions.open`,shortKey:`actions.short_open`},{labelKey:`actions.close`,shortKey:`actions.short_close`},{labelKey:`actions.stop`,shortKey:`actions.short_stop`}],A={single:`single`,double:`double`,triple:`triple`,long:`long`,pressed:`pressed`,released:`released`,double_then_long:`sequences`,single_then_long:`sequences`,double_then_single:`sequences`};function j(e,t){let n=T[e.clickType]||e.clickType,r=E[e.actionValue];return`${n} ${r?t(`actions.${r}`):e.actionValue}`}function M(e,t){let n=`actions.${e.actionValue.toLowerCase()}`,r=t(n),i=r===n?e.actionValue:r;return`${e.clickType} → ${i}`}function N(e){let t=e.action||`output`,n=``,r=``,i;switch(t){case`output`:n=e.boneio_output||``,r=e.action_output||`TOGGLE`;break;case`cover`:n=e.boneio_cover||``,r=e.action_cover||`TOGGLE`;break;case`remote_output`:i=e.boneio_id||``,n=i?`${i}/${e.output_id||``}`:e.output_id||``,r=e.action_output||`TOGGLE`;break;case`remote_cover`:i=e.boneio_id||``,n=i?`${i}/${e.cover_id||``}`:e.cover_id||``,r=e.action_cover||`TOGGLE`;break;default:n=``,r=e.action_output||e.action_cover||``}return{targetId:n,actionType:t,actionValue:r,remoteDevice:i}}function P(e){let t=[],n=[`single`,`double`,`triple`,`long`,`pressed`,`released`,`double_then_long`,`single_then_long`,`double_then_single`],r=e.local_inputs||[];for(let e=0;e<r.length;e++){let i=r[e],a=i.id||i.boneio_input||i.pin||`local_${e}`,o=[];for(let e of n){let t=i.actions?.[e]||[];for(let n of t){let{targetId:t,actionType:r,actionValue:i,remoteDevice:a}=N(n);t&&o.push({clickType:e,actionType:r,targetId:t,actionValue:i,remoteDevice:a})}}t.push({id:a,name:i.name||i.id||i.boneio_input||i.pin||a,area:i.area||void 0,type:`local`,inputKind:i._type===`binary_sensor`?`binary_sensor`:`event`,bindings:o})}let i=e.remote_inputs||[];for(let e=0;e<i.length;e++){let r=i[e],a=r.boneio_id||r.remote_device||``,o=r.id||r.entity_id||``,s=a?`${a}/${o}`:o||`remote_${e}`,c=[];for(let e of n){let t=r.actions?.[e]||[];for(let n of t){let{targetId:t,actionType:r,actionValue:i,remoteDevice:a}=N(n);t&&c.push({clickType:e,actionType:r,targetId:t,actionValue:i,remoteDevice:a})}}t.push({id:s,name:r.name||r.id||o,area:r.area||void 0,type:`remote`,inputKind:r._type===`binary_sensor`?`binary_sensor`:`event`,remoteDevice:a,bindings:c})}return t}function F(e){let t=[],n=e.output||[];for(let e=0;e<n.length;e++){let r=n[e];if(r.output_type===`cover`||r.output_type===`none`)continue;let i=r.id||`output_${e}`;t.push({id:i,name:r.name||r.id||i,area:r.area||void 0,type:`output`,outputType:r.output_type})}let r=e.cover||[];for(let e=0;e<r.length;e++){let n=r[e],i=n.id||`cover_${e}`;t.push({id:i,name:n.name||n.id||i,area:n.area||void 0,type:`cover`,outputType:n.device_class||`cover`})}let i=e.remote_outputs||[];for(let e=0;e<i.length;e++){let n=i[e],r=n.boneio_id||n.remote_device||``,a=n.id||n.output_id||``,o=r?`${r}/${a}`:a||`remote_out_${e}`,s=(n.output_type||``).toLowerCase()===`cover`;t.push({id:o,name:n.name||n.id||a,area:n.area||void 0,type:s?`cover`:`remote_output`,remoteDevice:r,outputType:n.output_type})}return t}function I({inputs:e,outputs:t,t:n}){let r=e.filter(e=>e.type===`local`),i=e.filter(e=>e.type===`remote`),a=t.filter(e=>e.type===`output`),o=t.filter(e=>e.type===`cover`),s=t.filter(e=>e.type===`remote_output`||e.type===`remote_cover`),c=r.filter(e=>e.bindings.length>0),l=i.filter(e=>e.bindings.length>0),u=new Set(e.flatMap(e=>e.bindings.map(e=>e.targetId))),d=a.filter(e=>u.has(e.id)),f=o.filter(e=>u.has(e.id)),p=s.filter(e=>u.has(e.id)),m=e.reduce((e,t)=>e+t.bindings.length,0);return(0,C.jsxs)(`div`,{className:`gap-3 grid grid-cols-1 md:grid-cols-4 mb-4`,children:[(0,C.jsxs)(`div`,{className:`stg-inset space-y-1 p-3`,children:[(0,C.jsx)(`h4`,{className:`font-semibold text-[11px] text-base-content/50 uppercase tracking-[0.08em]`,children:n(`binding_matrix.local`)}),(0,C.jsxs)(`p`,{className:`text-xs text-base-content/70`,children:[`📥 `,n(`binding_matrix.inputs`),`: `,r.length,(0,C.jsxs)(`span`,{className:`ml-1 text-success`,children:[`(`,c.length,` ✓)`]}),(0,C.jsxs)(`span`,{className:`ml-1 text-warning`,children:[`(`,r.length-c.length,` ○)`]})]}),(0,C.jsxs)(`p`,{className:`text-xs text-base-content/70`,children:[`💡 `,n(`binding_matrix.outputs`),`: `,a.length,(0,C.jsxs)(`span`,{className:`ml-1 text-success`,children:[`(`,d.length,` ✓)`]}),(0,C.jsxs)(`span`,{className:`ml-1 text-warning`,children:[`(`,a.length-d.length,` ○)`]})]}),(0,C.jsxs)(`p`,{className:`text-xs text-base-content/70`,children:[`🚪 `,n(`binding_matrix.covers`),`: `,o.length,(0,C.jsxs)(`span`,{className:`ml-1 text-success`,children:[`(`,f.length,` ✓)`]}),(0,C.jsxs)(`span`,{className:`ml-1 text-warning`,children:[`(`,o.length-f.length,` ○)`]})]})]}),(i.length>0||s.length>0)&&(0,C.jsxs)(`div`,{className:`space-y-1 rounded-xl border border-info/25 bg-info/8 p-3`,children:[(0,C.jsx)(`h4`,{className:`font-semibold text-[11px] text-info uppercase tracking-[0.08em]`,children:n(`binding_matrix.remote`)}),(0,C.jsxs)(`p`,{className:`text-xs text-base-content/70`,children:[`📥 `,n(`binding_matrix.inputs`),`: `,i.length,(0,C.jsxs)(`span`,{className:`ml-1 text-success`,children:[`(`,l.length,` ✓)`]}),(0,C.jsxs)(`span`,{className:`ml-1 text-warning`,children:[`(`,i.length-l.length,` ○)`]})]}),(0,C.jsxs)(`p`,{className:`text-xs text-base-content/70`,children:[`📡 `,n(`binding_matrix.outputs`),`: `,s.length,(0,C.jsxs)(`span`,{className:`ml-1 text-success`,children:[`(`,p.length,` ✓)`]}),(0,C.jsxs)(`span`,{className:`ml-1 text-warning`,children:[`(`,s.length-p.length,` ○)`]})]})]}),(0,C.jsxs)(`div`,{className:`flex flex-col justify-center rounded-xl border border-primary/25 bg-primary/8 p-3`,children:[(0,C.jsx)(`p`,{className:`font-extrabold text-primary text-2xl`,children:m}),(0,C.jsx)(`p`,{className:`font-medium text-primary/70 text-xs`,children:n(`binding_matrix.total_bindings`)})]}),(0,C.jsxs)(`div`,{className:`stg-inset p-3`,children:[(0,C.jsx)(`h4`,{className:`mb-1.5 font-semibold text-[11px] text-base-content/50 uppercase tracking-[0.08em]`,children:n(`binding_matrix.legend`)}),(0,C.jsx)(`div`,{className:`flex flex-wrap gap-x-3 gap-y-0.5`,children:O.map(e=>(0,C.jsxs)(`span`,{className:`text-xxs text-base-content/60 whitespace-nowrap`,children:[(0,C.jsx)(`span`,{className:`font-mono font-bold text-base-content/80`,children:e.icon}),` `,n(e.labelKey)]},e.key))}),(0,C.jsx)(`div`,{className:`flex flex-wrap gap-x-3 gap-y-0.5 mt-1.5 pt-1.5 border-base-content/10 border-t`,children:k.map(e=>(0,C.jsxs)(`span`,{className:`text-xxs text-base-content/60 whitespace-nowrap`,children:[(0,C.jsx)(`span`,{className:`font-mono font-bold text-base-content/80`,children:n(e.shortKey)}),` `,n(e.labelKey)]},e.shortKey))}),(0,C.jsx)(`div`,{className:`flex flex-wrap gap-x-3 gap-y-0.5 mt-1.5 pt-1.5 border-base-content/10 border-t`,children:Object.values(D).map(e=>(0,C.jsxs)(`span`,{className:`flex items-center gap-1 text-xxs text-base-content/60 whitespace-nowrap`,children:[(0,C.jsx)(`span`,{className:_(`inline-block rounded-sm w-2.5 h-2.5`,e.dot)}),` `,n(e.labelKey)]},e.labelKey))})]})]})}function L(e){let t=e?.parentElement??null;for(;t&&t!==document.body;){let e=getComputedStyle(t).overflowY;if((e===`auto`||e===`scroll`)&&t.scrollHeight>t.clientHeight)return t;t=t.parentElement}return null}function R({inputs:e,outputs:n,t:r}){let[i,a]=(0,S.useState)(!0),[o,s]=(0,S.useState)(!0),l=new Set(e.flatMap(e=>e.bindings.map(e=>e.targetId))),d=e.filter(e=>e.type===`local`&&e.bindings.length===0),f=n.filter(e=>e.type===`output`&&!l.has(e.id)),p=n.filter(e=>e.type===`cover`&&!l.has(e.id)),m=e.filter(e=>e.type===`remote`&&e.bindings.length===0),h=n.filter(e=>(e.type===`remote_output`||e.type===`remote_cover`)&&!l.has(e.id)),g=d.length>0||f.length>0||p.length>0,_=m.length>0||h.length>0;return!g&&!_?null:(0,C.jsxs)(`div`,{className:`space-y-3 mt-4`,children:[g&&(0,C.jsxs)(`div`,{className:`bg-warning/5 border border-warning/20 rounded-xl overflow-hidden`,children:[(0,C.jsxs)(`button`,{className:`flex justify-between items-center hover:bg-warning/10 p-3 w-full font-semibold text-warning text-sm transition-colors`,onClick:()=>a(!i),children:[(0,C.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,C.jsx)(t,{className:`w-3.5 h-3.5`}),r(`binding_matrix.unconfigured_local`)]}),i?(0,C.jsx)(u,{className:`w-3 h-3`}):(0,C.jsx)(c,{className:`w-3 h-3`})]}),i&&(0,C.jsxs)(`div`,{className:`space-y-2 p-3 pt-0`,children:[d.length>0&&(0,C.jsx)(z,{title:`📥 ${r(`binding_matrix.free_inputs`)} (${d.length})`,items:d.map(e=>({id:e.id,name:e.name,area:e.area}))}),f.length>0&&(0,C.jsx)(z,{title:`💡 ${r(`binding_matrix.free_outputs`)} (${f.length})`,items:f.map(e=>({id:e.id,name:e.name,area:e.area}))}),p.length>0&&(0,C.jsx)(z,{title:`🚪 ${r(`binding_matrix.free_covers`)} (${p.length})`,items:p.map(e=>({id:e.id,name:e.name,area:e.area}))})]})]}),_&&(0,C.jsxs)(`div`,{className:`bg-info/5 border border-info/20 rounded-xl overflow-hidden`,children:[(0,C.jsxs)(`button`,{className:`flex justify-between items-center hover:bg-info/10 p-3 w-full font-semibold text-info text-sm transition-colors`,onClick:()=>s(!o),children:[(0,C.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,C.jsx)(t,{className:`w-3.5 h-3.5`}),r(`binding_matrix.unconfigured_remote`)]}),o?(0,C.jsx)(u,{className:`w-3 h-3`}):(0,C.jsx)(c,{className:`w-3 h-3`})]}),o&&(0,C.jsxs)(`div`,{className:`space-y-2 p-3 pt-0`,children:[m.length>0&&(0,C.jsx)(z,{title:`📥 ${r(`binding_matrix.free_remote_inputs`)} (${m.length})`,items:m.map(e=>({id:e.id,name:e.name,area:e.area,badge:e.remoteDevice}))}),h.length>0&&(0,C.jsx)(z,{title:`📡 ${r(`binding_matrix.free_remote_outputs`)} (${h.length})`,items:h.map(e=>({id:e.id,name:e.name,area:e.area,badge:e.remoteDevice}))})]})]})]})}function z({title:e,items:t}){return(0,C.jsxs)(`div`,{children:[(0,C.jsx)(`p`,{className:`mb-1 font-semibold text-xs text-base-content/60`,children:e}),(0,C.jsx)(`div`,{className:`flex flex-wrap gap-1.5`,children:t.map(e=>(0,C.jsxs)(`span`,{className:`gap-1 font-mono text-xxs badge badge-sm badge-ghost`,title:e.id,children:[e.name,e.area&&(0,C.jsxs)(`span`,{className:`text-base-content/40`,children:[`(`,e.area,`)`]}),e.badge&&(0,C.jsxs)(`span`,{className:`text-info/60`,children:[`[`,e.badge,`]`]})]},e.id))})]})}function B({inputs:e,outputs:t,areaFilter:n,hideEmpty:r,t:i,onEditInput:o,onEditOutput:s}){let[c,l]=(0,S.useState)(null),[u,d]=(0,S.useState)(null),f=(0,S.useRef)(null),p=(0,S.useRef)(!1),m=(0,S.useRef)(!1),h=(0,S.useRef)(0),g=(0,S.useRef)(0),v=(0,S.useRef)(0),y=(0,S.useRef)(0),b=(0,S.useRef)(null),[x,T]=(0,S.useState)(null),E=(0,S.useRef)(null),k=(0,S.useCallback)((e,t,n)=>{n||(e.preventDefault(),T({x:e.clientX,y:e.clientY,row:t}))},[]),A=(0,S.useCallback)((e,t,n)=>{if(n)return;let r=`touches`in e?{x:e.touches[0].clientX,y:e.touches[0].clientY}:{x:e.clientX,y:e.clientY};E.current=setTimeout(()=>{T({...r,row:t}),E.current=null},500)},[]),N=(0,S.useCallback)(()=>{E.current&&=(clearTimeout(E.current),null)},[]);(0,S.useEffect)(()=>{if(!x)return;let e=null,t=requestAnimationFrame(()=>{let t=()=>T(null);window.addEventListener(`click`,t),window.addEventListener(`contextmenu`,t,{capture:!0}),window.addEventListener(`scroll`,t,!0),e=()=>{window.removeEventListener(`click`,t),window.removeEventListener(`contextmenu`,t,{capture:!0}),window.removeEventListener(`scroll`,t,!0)}});return()=>{cancelAnimationFrame(t),e?.()}},[x]);let P=(0,S.useMemo)(()=>{let e=new Map;for(let n of t)e.set(n.id,n.area);return e},[t]),F=(0,S.useMemo)(()=>{let t=e;return n.size>0&&(t=t.filter(e=>{let t=e.area||`__none__`;return n.has(t)?!0:e.bindings.some(e=>{let t=P.get(e.targetId)||`__none__`;return n.has(t)})})),r&&(t=t.filter(e=>e.bindings.length>0)),t},[e,n,r,P]),I=(0,S.useMemo)(()=>new Set(e.flatMap(e=>e.bindings.map(e=>e.targetId))),[e]),R=(0,S.useMemo)(()=>{let t=new Map;for(let n of e){let e=n.area||`__none__`;for(let r of n.bindings)t.has(r.targetId)||t.set(r.targetId,new Set),t.get(r.targetId).add(e)}return t},[e]),z=(0,S.useMemo)(()=>{let e=t;return n.size>0&&(e=e.filter(e=>{let t=e.area||`__none__`;if(n.has(t))return!0;let r=R.get(e.id);if(r){for(let e of r)if(n.has(e))return!0}return!1})),r&&(e=e.filter(e=>I.has(e.id))),e},[t,n,r,I,R]),B=(0,S.useMemo)(()=>{let e=new Map;for(let t of F){let n=new Map;for(let e of t.bindings){let t=n.get(e.targetId)||[];t.push(e),n.set(e.targetId,t)}e.set(t.id,n)}return e},[F]);return F.length===0||z.length===0?(0,C.jsx)(`div`,{className:`py-12 text-base-content/40 text-center`,children:(0,C.jsx)(`p`,{className:`text-sm`,children:i(`binding_matrix.no_data`)})}):(0,C.jsxs)(`div`,{ref:f,className:`border border-base-300 rounded-xl overflow-x-auto cursor-grab active:cursor-grabbing select-none`,onPointerDown:e=>{e.pointerType===`mouse`&&e.button===0&&(p.current=!0,m.current=!1,h.current=e.clientX,g.current=e.clientY,v.current=f.current?.scrollLeft||0,b.current=L(f.current),y.current=b.current?.scrollTop||0)},onPointerMove:e=>{if(!p.current||!f.current)return;let t=e.clientX-h.current,n=e.clientY-g.current;if(!m.current&&(Math.abs(t)>5||Math.abs(n)>5)){m.current=!0;try{e.currentTarget.setPointerCapture(e.pointerId)}catch{}}m.current&&(f.current.scrollLeft=v.current-t,b.current&&(b.current.scrollTop=y.current-n))},onPointerUp:e=>{e.currentTarget.hasPointerCapture?.(e.pointerId)&&e.currentTarget.releasePointerCapture(e.pointerId),p.current=!1,m.current=!1},onPointerCancel:()=>{p.current=!1,m.current=!1},onPointerLeave:()=>{m.current||(p.current=!1)},onClickCapture:e=>{m.current&&(e.stopPropagation(),e.preventDefault())},children:[(0,C.jsxs)(`table`,{className:`table table-xs w-auto`,children:[(0,C.jsx)(`thead`,{children:(0,C.jsxs)(`tr`,{children:[(0,C.jsx)(`th`,{className:`left-0 z-20 sticky bg-base-200 border-base-300 border-r min-w-30`}),z.map(e=>(0,C.jsxs)(`th`,{className:_(`group/col bg-base-200 px-2 py-2 border-base-300 border-r min-w-20 font-bold text-xxs text-center whitespace-nowrap cursor-pointer`,u===e.id&&`bg-primary/10`),onMouseEnter:()=>d(e.id),onMouseLeave:()=>d(null),onClick:()=>s(e),title:i(`binding_matrix.click_to_edit`),children:[(0,C.jsxs)(`div`,{className:`flex justify-center items-center gap-1`,children:[(0,C.jsx)(w,{outputType:e.outputType,className:`w-3 h-3 shrink-0`}),(0,C.jsx)(`span`,{className:`whitespace-nowrap`,children:e.name}),(0,C.jsx)(a,{className:`opacity-0 group-hover/col:opacity-40 w-2 h-2 transition-opacity shrink-0`})]}),e.area?(0,C.jsx)(`div`,{className:`font-normal text-xxs text-base-content/40 truncate`,children:e.area}):(0,C.jsx)(`div`,{className:`font-normal text-xxs text-base-content/20`,children:`—`}),e.remoteDevice&&(0,C.jsx)(`div`,{className:`font-normal text-info/50 text-xxs truncate`,children:e.remoteDevice})]},e.id))]})}),(0,C.jsx)(`tbody`,{children:F.map(e=>{let t=B.get(e.id);return(0,C.jsxs)(`tr`,{className:_(`hover:bg-base-200/50`,c===e.id&&`bg-base-200/40`),onMouseEnter:()=>l(e.id),onMouseLeave:()=>l(null),children:[(0,C.jsxs)(`td`,{className:_(`group/row left-0 z-10 sticky border-base-300 border-r font-medium text-xs cursor-pointer`,c===e.id?D[e.inputKind].headerHover:D[e.inputKind].header,e.bindings.length===0&&`text-base-content/30`),onClick:()=>o(e),title:`${i(D[e.inputKind].labelKey)}\n${i(`binding_matrix.click_to_edit`)}`,children:[(0,C.jsxs)(`div`,{className:`flex items-center gap-1 max-w-30 font-bold truncate`,title:e.id,children:[e.name,(0,C.jsx)(a,{className:`opacity-0 group-hover/row:opacity-40 w-2.5 h-2.5 transition-opacity shrink-0`})]}),e.area&&(0,C.jsx)(`div`,{className:`text-xxs text-base-content/40`,children:e.area}),e.remoteDevice&&(0,C.jsx)(`div`,{className:`text-info/50 text-xxs`,children:e.remoteDevice})]}),z.map(n=>{let r=t?.get(n.id)||[],a=c===e.id||u===n.id;return(0,C.jsx)(`td`,{className:_(`px-1 py-1 border-base-300 border-r text-xs text-center`,r.length>0?`bg-success/15 text-success font-medium`:`text-base-content/30`,a&&r.length>0&&`bg-success/25`,a&&r.length===0&&`bg-base-200/40`),onMouseEnter:()=>d(n.id),onMouseLeave:()=>{d(null),N()},onContextMenu:t=>k(t,e,r.length>0),onMouseDown:t=>{t.button===0&&A(t,e,r.length>0)},onMouseUp:N,onTouchStart:t=>A(t,e,r.length>0),onTouchEnd:N,onTouchMove:N,children:r.length>0&&(0,C.jsx)(`div`,{className:`flex flex-col gap-0.5`,children:r.map((t,n)=>(0,C.jsx)(`button`,{className:`hover:bg-success/30 px-0.5 rounded text-left whitespace-nowrap transition-colors cursor-pointer`,onClick:()=>o(e,t.clickType),title:`${M(t,i)}\n${i(`binding_matrix.click_to_edit`)}`,children:j(t,i)},n))})},n.id)})]},e.id)})})]}),x&&(0,C.jsxs)(`div`,{className:`z-50 fixed bg-base-100 shadow-xl py-1 border border-base-300 rounded-lg min-w-45 animate-in duration-100 fade-in zoom-in-95`,style:{left:x.x,top:x.y},onClick:e=>e.stopPropagation(),children:[(0,C.jsx)(`div`,{className:`px-3 py-1.5 font-semibold text-xxs text-base-content/40 uppercase tracking-wider`,children:i(`binding_matrix.add_action`)}),O.filter(e=>x.row.inputKind===`binary_sensor`?e.key===`pressed`||e.key===`released`:e.key!==`pressed`&&e.key!==`released`).map(e=>(0,C.jsxs)(`button`,{className:`flex items-center gap-2 hover:bg-primary/10 px-3 py-1.5 w-full text-sm text-left transition-colors`,onClick:()=>{o(x.row,e.key),T(null)},children:[(0,C.jsx)(`span`,{className:`font-mono text-base-content/70`,children:e.icon}),i(`binding_matrix.legend_${e.key}`)]},e.key))]})]})}function ee({inputs:e,areaFilter:t,hideEmpty:n,t:r,onEditInput:i}){let[o,s]=(0,S.useState)(null),f=(0,S.useMemo)(()=>{let r=e;return t.size>0&&(r=r.filter(e=>{let n=e.area||`__none__`;return t.has(n)})),n&&(r=r.filter(e=>e.bindings.length>0)),r},[e,t,n]),p=(0,S.useCallback)(e=>{s(t=>t===e?null:e)},[]);return f.length===0?(0,C.jsx)(`div`,{className:`py-12 text-base-content/40 text-center`,children:(0,C.jsx)(`p`,{className:`text-sm`,children:r(`binding_matrix.no_data`)})}):(0,C.jsx)(`div`,{className:`space-y-1.5`,children:f.map(e=>{let t=o===e.id,n=e.bindings.length>0,s=new Map;for(let t of e.bindings){let e=s.get(t.targetId)||[];e.push(t),s.set(t.targetId,e)}return(0,C.jsxs)(`div`,{className:_(`border rounded-xl overflow-hidden transition-colors`,n?`border-success/20 bg-success/5`:`border-base-300 bg-base-200/30`,D[e.inputKind].card),children:[(0,C.jsxs)(`button`,{className:`flex justify-between items-center hover:bg-base-200/30 p-3 w-full text-sm transition-colors`,onClick:()=>n&&p(e.id),disabled:!n,children:[(0,C.jsxs)(`div`,{className:`flex items-center gap-2 min-w-0`,children:[n?(0,C.jsx)(d,{className:`w-3.5 h-3.5 text-success shrink-0`}):(0,C.jsx)(l,{className:`w-3.5 h-3.5 text-base-content/20 shrink-0`}),(0,C.jsxs)(`div`,{className:`min-w-0 text-left`,children:[(0,C.jsx)(`span`,{className:_(`block font-semibold truncate`,!n&&`text-base-content/30`),children:e.name}),e.area&&(0,C.jsx)(`span`,{className:`text-xxs text-base-content/40`,children:e.area})]})]}),(0,C.jsxs)(`div`,{className:`flex items-center gap-2`,children:[n&&(0,C.jsx)(`span`,{className:`font-bold badge badge-sm badge-success`,children:e.bindings.length}),e.type===`remote`&&(0,C.jsx)(`span`,{className:`font-mono badge badge-xs badge-info`,children:e.remoteDevice}),n&&(t?(0,C.jsx)(u,{className:`w-3 h-3 text-base-content/30`}):(0,C.jsx)(c,{className:`w-3 h-3 text-base-content/30`}))]})]}),t&&n&&(0,C.jsxs)(`div`,{className:`space-y-2 bg-base-100/50 p-3 border-base-300 border-t`,children:[[...s.entries()].map(([e,t])=>(0,C.jsxs)(`div`,{className:`flex items-start gap-2 text-xs`,children:[(0,C.jsx)(`span`,{className:`mt-0.5 font-mono font-bold text-base-content/70 shrink-0`,children:`→`}),(0,C.jsxs)(`div`,{children:[(0,C.jsx)(`span`,{className:`font-semibold`,children:e}),(0,C.jsx)(`div`,{className:`flex flex-wrap gap-1 mt-0.5`,children:t.map((e,t)=>(0,C.jsx)(`span`,{className:`gap-0.5 font-mono badge badge-xs badge-success`,children:j(e,r)},t))})]})]},e)),(0,C.jsxs)(`button`,{className:`gap-1 mt-1 btn-outline btn btn-xs btn-primary`,onClick:t=>{t.stopPropagation(),i(e)},children:[(0,C.jsx)(a,{className:`w-2.5 h-2.5`}),r(`binding_matrix.edit_input`)]})]})]},e.id)})})}var V=({formData:e,sections:t,onSaveSection:r,onUpdateFormData:i})=>{let{t:a}=v(),[l,u]=(0,S.useState)(new Set),[d,f]=(0,S.useState)(!1),[p,m]=(0,S.useState)(!1),[h,g]=(0,S.useState)(!1),[_,w]=(0,S.useState)(null),[T,E]=(0,S.useState)(``),[D,O]=(0,S.useState)(-1),[k,j]=(0,S.useState)(`basic`),[M,N]=(0,S.useState)(!1),[L,z]=(0,S.useState)(!1),V=(0,S.useRef)(null),[te,H]=(0,S.useState)(!1),[U,W]=(0,S.useState)(null),[G,ne]=(0,S.useState)(``),[K,re]=(0,S.useState)(-1),[ie,q]=(0,S.useState)(!1),J=(0,S.useRef)(null),Y=(0,S.useCallback)((t,n)=>{let r=t.type===`remote`?`remote_inputs`:`local_inputs`,i=e[r]||[],a=i.findIndex((e,n)=>{if(t.type===`remote`){let r=e.boneio_id||e.remote_device||``,i=e.id||e.entity_id||``;return(r?`${r}/${i}`:i||`remote_${n}`)===t.id}return(e.id||e.boneio_input||e.pin||`local_${n}`)===t.id});a<0||(E(r),O(a),w(JSON.parse(JSON.stringify(i[a]))),V.current=JSON.stringify(i[a]),j(n&&A[n]||`basic`),N(!1),g(!0))},[e]),ae=(0,S.useCallback)(async()=>{if(M||D<0||!_)return;let t=[...e[T]||[]];t[D]=_,z(!0);try{i(T,t),await r(T,t),g(!1),w(null)}catch(e){console.error(`Failed to save input:`,e)}finally{z(!1)}},[_,D,T,e,M,r,i]),oe=(0,S.useCallback)(()=>{g(!1),w(null)},[]),X=(0,S.useMemo)(()=>P(e),[e]),Z=(0,S.useMemo)(()=>F(e),[e]),se=(0,S.useMemo)(()=>{let e=new Set;return X.forEach(t=>{t.area&&e.add(t.area)}),Z.forEach(t=>{t.area&&e.add(t.area)}),[...e].sort()},[X,Z]),ce=(0,S.useMemo)(()=>X.some(e=>!e.area)||Z.some(e=>!e.area),[X,Z]),Q=(0,S.useMemo)(()=>e.output||[],[e.output]),$=(0,S.useMemo)(()=>e.cover||[],[e.cover]),le=(0,S.useMemo)(()=>e.output_group||[],[e.output_group]),ue=(0,S.useMemo)(()=>e.remote_devices||[],[e.remote_devices]),de=(0,S.useMemo)(()=>e.remote_inputs||[],[e.remote_inputs]),fe=(0,S.useMemo)(()=>(e.local_inputs||[]).filter(e=>e._inputType===`binary_sensor`),[e.local_inputs]),pe=(0,S.useMemo)(()=>(e.local_inputs||[]).filter(e=>e._inputType!==`binary_sensor`),[e.local_inputs]),me=(0,S.useMemo)(()=>e.areas||[],[e.areas]),he=(0,S.useMemo)(()=>{let e=t.find(e=>e.name===`local_inputs`);return e?.schema||e?.normalizedSchema||{}},[t]),ge=(0,S.useMemo)(()=>{let e=t.find(e=>e.name===`output`);return e?.schema||e?.normalizedSchema||{}},[t]),_e=(0,S.useMemo)(()=>t.find(e=>e.name===`output`)?.uiSchema||{},[t]),ve=(0,S.useMemo)(()=>{let e=t.find(e=>e.name===`cover`);return e?.schema||e?.normalizedSchema||{}},[t]),ye=(0,S.useCallback)(t=>{let n={output:`output`,cover:`cover`,remote_output:`remote_outputs`,remote_cover:`remote_covers`}[t.type]||`output`,r=e[n]||[],i=r.findIndex((e,n)=>{if(t.type===`remote_output`||t.type===`remote_cover`){let r=e.boneio_id||e.remote_device||``,i=e.id||e.output_id||``;return(r?`${r}/${i}`:i||`remote_out_${n}`)===t.id}return(e.id||``)===t.id});i<0||(ne(n),re(i),W(JSON.parse(JSON.stringify(r[i]))),J.current=JSON.stringify(r[i]),H(!0))},[e]),be=(0,S.useCallback)(async()=>{if(K<0||!U)return;let t=[...e[G]||[]];t[K]=U,q(!0);try{i(G,t),await r(G,t),H(!1),W(null)}catch(e){console.error(`Failed to save output:`,e)}finally{q(!1)}},[U,K,G,e,r,i]),xe=(0,S.useCallback)(()=>{H(!1),W(null)},[]),Se=_&&V.current&&JSON.stringify(_)!==V.current,Ce=U&&J.current&&JSON.stringify(U)!==J.current;return(0,C.jsxs)(y,{width:`full`,children:[(0,C.jsxs)(b,{children:[(0,C.jsx)(I,{inputs:X,outputs:Z,t:a}),(0,C.jsxs)(`div`,{className:`flex flex-wrap items-center gap-3 mb-4`,children:[(0,C.jsxs)(`div`,{className:`relative flex items-center gap-2`,children:[(0,C.jsx)(n,{className:`w-3 h-3 text-base-content/40`}),(0,C.jsxs)(`button`,{className:`justify-between gap-1 btn-outline min-w-40 btn btn-sm`,onClick:()=>f(e=>!e),children:[(0,C.jsx)(`span`,{className:`text-xs truncate`,children:l.size===0?a(`binding_matrix.all_areas`):l.size===1?l.has(`__none__`)?a(`binding_matrix.no_area`):[...l][0]:a(`binding_matrix.areas_selected`,{count:l.size})}),(0,C.jsx)(c,{className:`w-2.5 h-2.5 shrink-0`})]}),d&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(`div`,{className:`z-40 fixed inset-0`,onClick:()=>f(!1)}),(0,C.jsxs)(`div`,{className:`top-full left-0 z-50 absolute bg-base-100 shadow-xl mt-1 py-1 border border-base-300 rounded-lg min-w-50 max-h-75 overflow-y-auto`,children:[(0,C.jsxs)(`label`,{className:`flex items-center gap-2 hover:bg-base-200/60 px-3 py-1.5 transition-colors cursor-pointer`,children:[(0,C.jsx)(`input`,{type:`checkbox`,className:`checkbox checkbox-xs checkbox-primary`,checked:l.size===0,onChange:()=>u(new Set)}),(0,C.jsx)(`span`,{className:`font-semibold text-xs`,children:a(`binding_matrix.all_areas`)})]}),(0,C.jsx)(`div`,{className:`my-0.5 border-base-300 border-t`}),ce&&(0,C.jsxs)(`label`,{className:`flex items-center gap-2 hover:bg-base-200/60 px-3 py-1.5 transition-colors cursor-pointer`,children:[(0,C.jsx)(`input`,{type:`checkbox`,className:`checkbox checkbox-xs checkbox-primary`,checked:l.has(`__none__`),onChange:()=>{let e=new Set(l);e.has(`__none__`)?e.delete(`__none__`):e.add(`__none__`),u(e)}}),(0,C.jsx)(`span`,{className:`text-xs text-base-content/50 italic`,children:a(`binding_matrix.no_area`)})]}),se.map(e=>(0,C.jsxs)(`label`,{className:`flex items-center gap-2 hover:bg-base-200/60 px-3 py-1.5 transition-colors cursor-pointer`,children:[(0,C.jsx)(`input`,{type:`checkbox`,className:`checkbox checkbox-xs checkbox-primary`,checked:l.has(e),onChange:()=>{let t=new Set(l);t.has(e)?t.delete(e):t.add(e),u(t)}}),(0,C.jsx)(`span`,{className:`text-xs`,children:e})]},e))]})]})]}),(0,C.jsxs)(`label`,{className:`flex items-center gap-2 cursor-pointer`,children:[(0,C.jsx)(`input`,{type:`checkbox`,className:`checkbox checkbox-sm checkbox-primary`,checked:p,onChange:e=>m(e.target.checked)}),(0,C.jsxs)(`span`,{className:`flex items-center gap-1 font-medium text-xs text-base-content/60`,children:[p?(0,C.jsx)(s,{className:`w-3 h-3`}):(0,C.jsx)(o,{className:`w-3 h-3`}),a(`binding_matrix.hide_empty`)]})]})]}),(0,C.jsx)(`div`,{className:`hidden md:block`,children:(0,C.jsx)(B,{inputs:X,outputs:Z,areaFilter:l,hideEmpty:p,t:a,onEditInput:Y,onEditOutput:ye})}),(0,C.jsx)(`div`,{className:`md:hidden`,children:(0,C.jsx)(ee,{inputs:X,areaFilter:l,hideEmpty:p,t:a,onEditInput:Y})}),(0,C.jsx)(R,{inputs:X,outputs:Z,t:a})]}),(0,C.jsx)(x,{open:h,onOpenChange:g,editingItem:_,editingIndex:D,sectionType:T,schema:T===`remote_inputs`?t.find(e=>e.name===`remote_inputs`)?.schema||t.find(e=>e.name===`remote_inputs`)?.normalizedSchema||{}:he,allBinarySensors:fe,allEvents:pe,allOutputs:Q,allOutputGroups:le,allCovers:$,allAreas:me,allRemoteDevices:ue,allRemoteInputs:de,savedOutputs:Q,savedOutputGroups:le,savedCovers:$,onChange:w,onSave:ae,onCancel:oe,onValidationChange:N,saveDisabled:M||!Se,isSaving:L,initialTab:k}),(0,C.jsx)(x,{open:te,onOpenChange:H,editingItem:U,editingIndex:K,sectionType:G,schema:G===`cover`?ve:ge,uiSchema:G===`cover`?void 0:_e,allOutputs:Q,allCovers:$,allAreas:me,onChange:W,onSave:be,onCancel:xe,saveDisabled:!Ce,isSaving:ie})]})};export{V as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{At as t,Ft as n,Sn as r,Yt as i,xn as a}from"./fa-wf69YpA7.js";import{n as o}from"./axios-DyqbZVcF.js";import{N as s,R as c,T as l,m as u,y as d}from"./index-
|
|
1
|
+
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{At as t,Ft as n,Sn as r,Yt as i,xn as a}from"./fa-wf69YpA7.js";import{n as o}from"./axios-DyqbZVcF.js";import{N as s,R as c,T as l,m as u,y as d}from"./index-bQAmfuAt.js";var f=e(r(),1),p=a();function m(){let{t:e}=c(),[r,a]=(0,f.useState)(!1),[m,h]=(0,f.useState)(null),[g,_]=(0,f.useState)(!1),[v,y]=(0,f.useState)(null);return(0,p.jsxs)(l,{children:[(0,p.jsx)(d,{icon:(0,p.jsx)(n,{}),title:e(`settings.reboot_device`),description:e(`settings.reboot_description`),footer:(0,p.jsx)(u,{children:(0,p.jsx)(`button`,{className:`btn btn-warning btn-sm gap-2`,onClick:async()=>{if(confirm(e(`settings.confirm_reboot`))){a(!0),h(null);try{let{data:t}=await o.post(`/api/reboot`);h({status:`success`,message:t.message||e(`settings.device_rebooting`)})}catch(t){h({status:`error`,message:t.message||e(`settings.reboot_failed`)}),a(!1)}}},disabled:r,children:r?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(i,{className:`animate-spin`}),e(`settings.rebooting`)]}):(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(n,{}),e(`settings.reboot_device`)]})})}),children:(0,p.jsxs)(`div`,{className:`space-y-3`,children:[(0,p.jsx)(s,{variant:`warning`,message:e(`settings.reboot_warning`)}),m&&(0,p.jsx)(s,{variant:m.status===`success`?`success`:`error`,message:m.message})]})}),(0,p.jsx)(d,{variant:`danger`,icon:(0,p.jsx)(t,{}),title:e(`settings.shutdown_device`),description:e(`settings.shutdown_description`),footer:(0,p.jsx)(u,{children:(0,p.jsx)(`button`,{className:`btn btn-error btn-sm gap-2`,onClick:async()=>{if(confirm(e(`settings.confirm_shutdown`))){_(!0),y(null);try{let{data:t}=await o.post(`/api/shutdown`);y({status:`success`,message:t.message||e(`settings.device_shutting_down`)})}catch(t){y({status:`error`,message:t.message||e(`settings.shutdown_failed`)}),_(!1)}}},disabled:g,children:g?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(i,{className:`animate-spin`}),e(`settings.shutting_down`)]}):(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(t,{}),e(`settings.shutdown_device`)]})})}),children:(0,p.jsxs)(`div`,{className:`space-y-3`,children:[(0,p.jsx)(s,{variant:`error`,message:e(`settings.shutdown_warning`)}),v&&(0,p.jsx)(s,{variant:v.status===`success`?`success`:`error`,message:v.message})]})})]})}export{m as default};
|