@homebridge-plugins/homebridge-eufy-security 5.0.0-beta.15 → 5.0.0-beta.17

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.
Files changed (36) hide show
  1. package/config.schema.json +4 -0
  2. package/dist/configuration.js +11 -1
  3. package/dist/configuration.js.map +1 -1
  4. package/dist/diagnostics.js +105 -19
  5. package/dist/diagnostics.js.map +1 -1
  6. package/dist/homekit/adapters/lock.js +27 -11
  7. package/dist/homekit/adapters/lock.js.map +1 -1
  8. package/dist/homekit/adapters/package-sensor.js +63 -0
  9. package/dist/homekit/adapters/package-sensor.js.map +1 -0
  10. package/dist/homekit/adapters/registry.js +2 -0
  11. package/dist/homekit/adapters/registry.js.map +1 -1
  12. package/dist/homekit/adapters/security-system.js +10 -0
  13. package/dist/homekit/adapters/security-system.js.map +1 -1
  14. package/dist/homekit/coverage-matrix.js +0 -2
  15. package/dist/homekit/coverage-matrix.js.map +1 -1
  16. package/dist/homekit/reconciler.js +1 -0
  17. package/dist/homekit/reconciler.js.map +1 -1
  18. package/dist/platform.js +1 -0
  19. package/dist/platform.js.map +1 -1
  20. package/dist/runtime/channel.js +6 -2
  21. package/dist/runtime/channel.js.map +1 -1
  22. package/dist/runtime/owner.js +3 -0
  23. package/dist/runtime/owner.js.map +1 -1
  24. package/dist/ui/dashboard.js +7 -1
  25. package/dist/ui/dashboard.js.map +1 -1
  26. package/dist/ui/server.js +1 -0
  27. package/dist/ui/server.js.map +1 -1
  28. package/homebridge-ui/public/app.css +117 -229
  29. package/homebridge-ui/public/i18n/en.json +86 -79
  30. package/homebridge-ui/public/i18n/fr.json +87 -80
  31. package/homebridge-ui/public/index.html +84 -94
  32. package/homebridge-ui/public/js/app.js +246 -423
  33. package/homebridge-ui/public/js/dashboard.js +58 -9
  34. package/homebridge-ui/public/js/profile-wizard.js +6 -55
  35. package/i18n/runtime/en.json +1 -1
  36. package/package.json +1 -1
@@ -17,6 +17,7 @@
17
17
  data-i18n-aria-label="menuDiagnostics"
18
18
  >
19
19
  <img src="assets/icons/bug-report.svg" alt="" />
20
+ <span class="diagnostics-capturing" data-i18n="diagnosticsCapturing"></span>
20
21
  </button>
21
22
  </header>
22
23
 
@@ -62,13 +63,14 @@
62
63
  <p class="eyebrow" data-i18n="devicesEyebrow"></p>
63
64
  <h2 id="dashboard-title" data-dashboard-title></h2>
64
65
  </div>
65
- <button type="button" class="dashboard-diagnose" data-dashboard-diagnose hidden data-i18n="dashboardDiagnose"></button>
66
66
  <div class="dashboard-actions" role="group" data-i18n-aria-label="dashboardActionsLabel">
67
67
  <button type="button" class="dashboard-action" data-dashboard-authenticate data-i18n-aria-label="menuRelogin">
68
68
  <img src="assets/icons/settings_backup_restore.svg" alt="" />
69
69
  </button>
70
70
  <button type="button" class="dashboard-action" data-menu-diagnostics data-i18n-aria-label="menuDiagnostics">
71
71
  <img src="assets/icons/bug-report.svg" alt="" />
72
+ <span class="diagnostics-name" data-i18n="menuDiagnostics"></span>
73
+ <span class="diagnostics-capturing" data-i18n="diagnosticsCapturing"></span>
72
74
  </button>
73
75
  <button type="button" class="dashboard-action" data-menu-advanced data-i18n-aria-label="menuAdvanced">
74
76
  <img src="assets/icons/settings.svg" alt="" />
@@ -187,121 +189,88 @@
187
189
  </div>
188
190
  </div>
189
191
  <div class="diagnostics-stage">
190
- <div class="diagnostics-wizard diagnostics-surface" data-diagnostics-wizard aria-live="polite">
192
+ <div class="diagnostics-wizard diagnostics-surface" data-diagnostics-wizard>
191
193
  <div class="diagnostics-question" data-diagnostics-question>
192
- <strong
194
+ <h3
193
195
  id="diagnostics-question-heading"
194
196
  tabindex="-1"
195
197
  data-diagnostics-question-text
196
198
  data-i18n="diagnosticsTilesHeading"
197
- ></strong>
199
+ ></h3>
200
+ <p class="diagnostics-note" data-i18n="diagnosticsPrivacy"></p>
198
201
  <div class="diagnostics-tiles" role="group" aria-labelledby="diagnostics-question-heading">
199
- <button type="button" data-diagnostics-tile="startup-authentication" data-i18n="diagnosticsProfileStartup"></button>
200
- <button type="button" data-diagnostics-tile="device-representation" data-i18n="diagnosticsProfileDevices"></button>
201
- <button type="button" data-diagnostics-tile="control-state" data-i18n="diagnosticsProfileControl"></button>
202
- <button type="button" data-diagnostics-tile="live-media" data-i18n="diagnosticsProfileLiveMedia"></button>
203
- <button type="button" data-diagnostics-tile="hksv-recording" data-i18n="diagnosticsProfileRecording"></button>
204
- <button type="button" data-diagnostics-tile="dashboard-ui" data-i18n="diagnosticsProfileDashboard"></button>
205
- <button type="button" data-diagnostics-tile="other" data-i18n="diagnosticsProfileOther"></button>
202
+ <button type="button" data-diagnostics-tile="startup-authentication">
203
+ <span data-i18n="diagnosticsProfileStartup"></span>
204
+ <small data-i18n="diagnosticsStartupSummary"></small>
205
+ </button>
206
+ <button type="button" data-diagnostics-tile="device-representation">
207
+ <span data-i18n="diagnosticsProfileDevices"></span>
208
+ <small data-i18n="diagnosticsDevicesSummary"></small>
209
+ </button>
210
+ <button type="button" data-diagnostics-tile="control-state">
211
+ <span data-i18n="diagnosticsProfileControl"></span>
212
+ <small data-i18n="diagnosticsControlSummary"></small>
213
+ </button>
214
+ <button type="button" data-diagnostics-tile="live-media">
215
+ <span data-i18n="diagnosticsProfileLiveMedia"></span>
216
+ <small data-i18n="diagnosticsLiveSummary"></small>
217
+ </button>
218
+ <button type="button" data-diagnostics-tile="hksv-recording">
219
+ <span data-i18n="diagnosticsProfileRecording"></span>
220
+ <small data-i18n="diagnosticsRecordingSummary"></small>
221
+ </button>
222
+ <button type="button" data-diagnostics-tile="dashboard-ui">
223
+ <span data-i18n="diagnosticsProfileDashboard"></span>
224
+ <small data-i18n="diagnosticsDashboardSummary"></small>
225
+ </button>
226
+ <button type="button" data-diagnostics-tile="other">
227
+ <span data-i18n="diagnosticsProfileOther"></span>
228
+ <small data-i18n="diagnosticsOtherSummary"></small>
229
+ </button>
206
230
  </div>
207
231
  </div>
208
- <div class="diagnostics-devices" data-diagnostics-devices hidden>
209
- <strong id="diagnostics-devices-heading" tabindex="-1" data-i18n="diagnosticsDevicesHeading"></strong>
210
- <p data-i18n="diagnosticsDevicesHint"></p>
211
- <div class="diagnostics-device-list" data-diagnostics-device-list role="group" aria-labelledby="diagnostics-devices-heading"></div>
212
- <div class="diagnostics-choice-actions">
213
- <button
214
- type="button"
215
- class="diagnostics-secondary-action"
216
- data-diagnostics-devices-every
217
- data-i18n="diagnosticsDevicesEvery"
218
- ></button>
219
- <button type="button" data-diagnostics-devices-chosen disabled data-i18n="diagnosticsDevicesChosen"></button>
220
- </div>
221
- </div>
222
- <div class="diagnostics-frequency" data-diagnostics-frequency hidden>
223
- <strong
224
- id="diagnostics-frequency-heading"
225
- tabindex="-1"
226
- data-i18n="diagnosticsQuestionReproduceNow"
227
- ></strong>
228
- <div class="diagnostics-choice-actions" role="group" aria-labelledby="diagnostics-frequency-heading">
229
- <button
230
- type="button"
231
- class="diagnostics-secondary-action"
232
- data-diagnostics-frequency-answer="intermittent"
233
- data-i18n="diagnosticsNo"
234
- ></button>
235
- <button type="button" data-diagnostics-frequency-answer="now" data-i18n="diagnosticsYes"></button>
236
- </div>
237
- <button
238
- type="button"
239
- class="diagnostics-quiet-action"
240
- data-diagnostics-frequency-back
241
- data-i18n="diagnosticsFrequencyBack"
242
- ></button>
243
- </div>
244
- <div class="diagnostics-match" data-diagnostics-match hidden>
245
- <p class="eyebrow" data-i18n="diagnosticsBestMatch"></p>
246
- <strong id="diagnostics-match-heading" tabindex="-1" data-diagnostics-guidance-title></strong>
247
- <p data-diagnostics-mode-summary></p>
248
- <div class="diagnostics-choice-actions" role="group" aria-labelledby="diagnostics-match-heading">
249
- <button
250
- type="button"
251
- class="diagnostics-secondary-action"
252
- data-diagnostics-reject
253
- data-i18n="diagnosticsChangeAnswers"
254
- ></button>
255
- <button type="button" data-diagnostics-authorize data-i18n="diagnosticsContinue"></button>
256
- </div>
257
- <p class="diagnostics-privacy" data-i18n="diagnosticsPrivacy"></p>
258
- </div>
259
232
  </div>
260
- <div class="diagnostics-guidance diagnostics-surface" data-diagnostics-guidance tabindex="-1" hidden>
261
- <strong data-diagnostics-phase-title></strong>
262
- <div data-diagnostics-guidance-before-section>
263
- <span class="guidance-label" data-i18n="diagnosticsBeforeLabel"></span>
264
- <p data-diagnostics-guidance-before></p>
265
- </div>
233
+ <div class="diagnostics-guidance diagnostics-surface" data-diagnostics-guidance hidden>
234
+ <h3 tabindex="-1" data-diagnostics-phase-title></h3>
266
235
  <div>
267
236
  <span class="guidance-label" data-i18n="diagnosticsActionLabel"></span>
268
237
  <p data-diagnostics-guidance-action></p>
269
238
  </div>
270
239
  <div class="diagnostics-actions" data-diagnostics-actions hidden>
271
- <button
272
- type="button"
273
- data-diagnostics-reproduction
274
- disabled
275
- data-i18n="diagnosticsStartRecording"
276
- ></button>
240
+ <button type="button" data-diagnostics-reproduction disabled data-i18n="diagnosticsNowFinish"></button>
241
+ <button type="button" class="diagnostics-quiet-action" data-diagnostics-cancel data-i18n="diagnosticsCancel"></button>
277
242
  </div>
243
+ <p class="diagnostics-note" data-diagnostics-capture-note></p>
278
244
  </div>
279
- <div class="diagnostics-result diagnostics-surface" data-diagnostics-result hidden>
280
- <strong tabindex="-1" data-diagnostics-result-heading data-i18n="diagnosticsEvidenceReady"></strong>
281
- <p data-i18n="diagnosticsArchiveReviewIntro"></p>
282
- <div class="diagnostics-manifest" data-diagnostics-manifest hidden></div>
283
- <label class="diagnostics-review-confirm" data-diagnostics-review-confirm-label hidden>
284
- <input type="checkbox" data-diagnostics-review-confirm />
285
- <span data-i18n="diagnosticsArchiveReviewConfirm"></span>
286
- </label>
287
- <p class="diagnostics-local-note" data-i18n="diagnosticsStaysLocal"></p>
245
+ <dialog class="blocking-dialog diagnostics-result" data-diagnostics-result aria-labelledby="diagnostics-result-heading">
246
+ <h2 id="diagnostics-result-heading" tabindex="-1" data-diagnostics-result-heading data-i18n="diagnosticsEvidenceReady"></h2>
247
+ <p data-diagnostics-handoff-note hidden></p>
288
248
  <button type="button" data-diagnostics-export disabled hidden data-i18n="diagnosticsArchiveExport"></button>
289
- <a
290
- data-diagnostics-issue
249
+ <div class="diagnostics-handoff" data-diagnostics-handoff hidden>
250
+ <a data-diagnostics-issue target="_blank" rel="noopener noreferrer" data-i18n="diagnosticsOpenIssue"></a>
251
+ <a
252
+ data-diagnostics-existing-issue
253
+ target="_blank"
254
+ rel="noopener noreferrer"
255
+ data-i18n="diagnosticsExistingIssue"
256
+ ></a>
257
+ </div>
258
+ <button
259
+ type="button"
260
+ class="diagnostics-quiet-action"
261
+ data-diagnostics-download-again
291
262
  hidden
292
- target="_blank"
293
- rel="noopener noreferrer"
294
- aria-describedby="diagnostics-issue-hint"
295
- data-i18n="diagnosticsOpenIssue"
296
- ></a>
297
- <p class="diagnostics-step-hint" id="diagnostics-issue-hint" data-diagnostics-issue-hint></p>
263
+ data-i18n="diagnosticsDownloadAgain"
264
+ ></button>
298
265
  <button
299
266
  type="button"
300
- class="diagnostics-secondary-action"
267
+ class="diagnostics-quiet-action"
301
268
  data-diagnostics-start-another
269
+ hidden
302
270
  data-i18n="diagnosticsStartAnother"
303
271
  ></button>
304
- </div>
272
+ <p class="diagnostics-status" role="status" aria-live="polite" data-diagnostics-result-status></p>
273
+ </dialog>
305
274
  <p class="diagnostics-status" role="status" aria-live="polite" data-diagnostics-status></p>
306
275
  </div>
307
276
  </section>
@@ -363,11 +332,32 @@
363
332
 
364
333
  <p class="footnote" data-i18n="footnote"></p>
365
334
 
366
- <dialog class="reauth-dialog" data-reauth-dialog aria-labelledby="reauth-title" aria-describedby="reauth-summary">
335
+ <dialog class="blocking-dialog" data-reauth-dialog aria-labelledby="reauth-title" aria-describedby="reauth-summary">
367
336
  <h2 id="reauth-title" data-i18n="reauthTitle"></h2>
368
337
  <p id="reauth-summary" data-i18n="reauthSummary"></p>
369
338
  <button type="button" data-reauth-action data-i18n="reauthAction"></button>
370
339
  </dialog>
340
+
341
+ <dialog
342
+ class="blocking-dialog"
343
+ closedby="any"
344
+ data-attention-dialog
345
+ aria-labelledby="attention-title"
346
+ aria-describedby="attention-summary"
347
+ >
348
+ <h2 id="attention-title" data-attention-title></h2>
349
+ <p id="attention-summary" data-attention-summary></p>
350
+ <p class="diagnostics-note" data-i18n="diagnosticsPrivacy"></p>
351
+ <div class="diagnostics-choice-actions">
352
+ <button
353
+ type="button"
354
+ class="diagnostics-secondary-action"
355
+ data-attention-choose
356
+ data-i18n="attentionChooseAnother"
357
+ ></button>
358
+ <button type="button" data-attention-diagnose data-i18n="attentionDiagnose"></button>
359
+ </div>
360
+ </dialog>
371
361
  </main>
372
362
 
373
363
  <script src="js/dashboard.js"></script>