1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2024-12-24 00:01:36 +01:00

Update Snapshots

This commit is contained in:
Aleksandr Gumroian 2024-06-06 16:32:08 +02:00
parent cd9eb80e9c
commit 42fb16d066
No known key found for this signature in database
GPG Key ID: 9E77849C64F0A733
5 changed files with 8402 additions and 11109 deletions

View File

@ -19,6 +19,7 @@ module.exports = {
collectCoverageFrom: ["src/**/*.{js,jsx}"],
coverageDirectory: "coverage",
testPathIgnorePatterns: ["/node_modules/", "/__fixtures__/", "/dist/"],
testEnvironment: "jsdom",
verbose: false,
setupFilesAfterEnv: [
"@testing-library/react/cleanup-after-each",

19084
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -14,10 +14,10 @@
"license": "GPL-3.0",
"main": "./src/index.js",
"dependencies": {
"axios": "^0.21.1",
"axios": "^1.7.2",
"immutability-helper": "^3.1.1",
"moment": "^2.30.1",
"qrcode.react": "^1.0.1",
"qrcode.react": "^3.1.0",
"react-datetime": "^3.2.0",
"react-uid": "^2.3.3"
},
@ -45,16 +45,17 @@
"eslint-config-reforis": "^2.1.1",
"eslint-plugin-prettier": "^5.1.3",
"file-loader": "^6.0.0",
"jest": "^25.2.0",
"jest-mock-axios": "^3.2.0",
"moment-timezone": "^0.5.34",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-mock-axios": "^4.7.3",
"moment-timezone": "^0.5.45",
"prettier": "^3.3.1",
"prop-types": "15.8.1",
"react": "16.9.0",
"react-dom": "16.9.0",
"react-router-dom": "^5.1.2",
"react-styleguidist": "^11.2.0",
"snapshot-diff": "^0.7.0",
"react-styleguidist": "^12.0.1",
"snapshot-diff": "^0.10.0",
"style-loader": "^1.2.1",
"webpack": "^5.91.0"
},

View File

@ -6,13 +6,13 @@ exports[`<WiFiSettings/> Snapshot 2.4 GHz 1`] = `
+ Second value
@@ -243,207 +243,95 @@
value=\\"0\\"
value="0"
>
auto
</option>
<option
- value=\\"36\\"
+ value=\\"1\\"
- value="36"
+ value="1"
>
- 36
@ -22,8 +22,8 @@ exports[`<WiFiSettings/> Snapshot 2.4 GHz 1`] = `
</option>
<option
- value=\\"40\\"
+ value=\\"2\\"
- value="40"
+ value="2"
>
- 40
@ -33,8 +33,8 @@ exports[`<WiFiSettings/> Snapshot 2.4 GHz 1`] = `
</option>
<option
- value=\\"44\\"
+ value=\\"3\\"
- value="44"
+ value="3"
>
- 44
@ -44,7 +44,7 @@ exports[`<WiFiSettings/> Snapshot 2.4 GHz 1`] = `
</option>
<option
- value=\\"48\\"
- value="48"
- >
-
- 48
@ -52,7 +52,7 @@ exports[`<WiFiSettings/> Snapshot 2.4 GHz 1`] = `
-
- </option>
- <option
- value=\\"52\\"
- value="52"
- >
-
- 52
@ -60,7 +60,7 @@ exports[`<WiFiSettings/> Snapshot 2.4 GHz 1`] = `
-
- </option>
- <option
- value=\\"56\\"
- value="56"
- >
-
- 56
@ -68,8 +68,8 @@ exports[`<WiFiSettings/> Snapshot 2.4 GHz 1`] = `
-
- </option>
- <option
- value=\\"60\\"
+ value=\\"4\\"
- value="60"
+ value="4"
>
- 60
@ -79,8 +79,8 @@ exports[`<WiFiSettings/> Snapshot 2.4 GHz 1`] = `
</option>
<option
- value=\\"64\\"
+ value=\\"5\\"
- value="64"
+ value="5"
>
- 64
@ -90,8 +90,8 @@ exports[`<WiFiSettings/> Snapshot 2.4 GHz 1`] = `
</option>
<option
- value=\\"100\\"
+ value=\\"6\\"
- value="100"
+ value="6"
>
- 100
@ -101,8 +101,8 @@ exports[`<WiFiSettings/> Snapshot 2.4 GHz 1`] = `
</option>
<option
- value=\\"104\\"
+ value=\\"7\\"
- value="104"
+ value="7"
>
- 104
@ -112,8 +112,8 @@ exports[`<WiFiSettings/> Snapshot 2.4 GHz 1`] = `
</option>
<option
- value=\\"108\\"
+ value=\\"8\\"
- value="108"
+ value="8"
>
- 108
@ -123,8 +123,8 @@ exports[`<WiFiSettings/> Snapshot 2.4 GHz 1`] = `
</option>
<option
- value=\\"112\\"
+ value=\\"9\\"
- value="112"
+ value="9"
>
- 112
@ -134,8 +134,8 @@ exports[`<WiFiSettings/> Snapshot 2.4 GHz 1`] = `
</option>
<option
- value=\\"116\\"
+ value=\\"10\\"
- value="116"
+ value="10"
>
- 116
@ -145,8 +145,8 @@ exports[`<WiFiSettings/> Snapshot 2.4 GHz 1`] = `
</option>
<option
- value=\\"120\\"
+ value=\\"11\\"
- value="120"
+ value="11"
>
- 120
@ -154,7 +154,7 @@ exports[`<WiFiSettings/> Snapshot 2.4 GHz 1`] = `
-
- </option>
- <option
- value=\\"124\\"
- value="124"
- >
-
- 124
@ -162,7 +162,7 @@ exports[`<WiFiSettings/> Snapshot 2.4 GHz 1`] = `
-
- </option>
- <option
- value=\\"128\\"
- value="128"
- >
-
- 128
@ -170,7 +170,7 @@ exports[`<WiFiSettings/> Snapshot 2.4 GHz 1`] = `
-
- </option>
- <option
- value=\\"132\\"
- value="132"
- >
-
- 132
@ -178,7 +178,7 @@ exports[`<WiFiSettings/> Snapshot 2.4 GHz 1`] = `
-
- </option>
- <option
- value=\\"136\\"
- value="136"
- >
-
- 136
@ -186,7 +186,7 @@ exports[`<WiFiSettings/> Snapshot 2.4 GHz 1`] = `
-
- </option>
- <option
- value=\\"140\\"
- value="140"
- >
-
- 140
@ -194,7 +194,7 @@ exports[`<WiFiSettings/> Snapshot 2.4 GHz 1`] = `
-
- </option>
- <option
- value=\\"144\\"
- value="144"
- >
-
- 144
@ -202,7 +202,7 @@ exports[`<WiFiSettings/> Snapshot 2.4 GHz 1`] = `
-
- </option>
- <option
- value=\\"149\\"
- value="149"
- >
-
- 149
@ -210,7 +210,7 @@ exports[`<WiFiSettings/> Snapshot 2.4 GHz 1`] = `
-
- </option>
- <option
- value=\\"153\\"
- value="153"
- >
-
- 153
@ -218,7 +218,7 @@ exports[`<WiFiSettings/> Snapshot 2.4 GHz 1`] = `
-
- </option>
- <option
- value=\\"157\\"
- value="157"
- >
-
- 157
@ -226,7 +226,7 @@ exports[`<WiFiSettings/> Snapshot 2.4 GHz 1`] = `
-
- </option>
- <option
- value=\\"161\\"
- value="161"
- >
-
- 161
@ -234,7 +234,7 @@ exports[`<WiFiSettings/> Snapshot 2.4 GHz 1`] = `
-
- </option>
- <option
- value=\\"165\\"
- value="165"
- >
-
- 165
@ -346,41 +346,41 @@ exports[`<WiFiSettings/> Snapshot guest network. 1`] = `
</div>
</div>
+ <div
+ class=\\"mb-3\\"
+ class="mb-3"
+ >
+ <label
+ class=\\"form-label\\"
+ for=\\"24\\"
+ class="form-label"
+ for="12"
+ >
+ SSID
+ </label>
+ <div
+ class=\\"input-group\\"
+ class="input-group"
+ >
+ <input
+ class=\\"form-control\\"
+ id=\\"24\\"
+ type=\\"text\\"
+ value=\\"TestGuestSSID\\"
+ class="form-control"
+ id="12"
+ type="text"
+ value="TestGuestSSID"
+ />
+ <div
+ class=\\"input-group-append\\"
+ class="input-group-append"
+ >
+ <button
+ class=\\"input-group-text\\"
+ type=\\"button\\"
+ class="input-group-text"
+ type="button"
+ >
+ <img
+ alt=\\"QR\\"
+ src=\\"/reforis/static/reforis/imgs/QR_icon.svg\\"
+ style=\\"opacity: 0.67;\\"
+ width=\\"20\\"
+ alt="QR"
+ src="/reforis/static/reforis/imgs/QR_icon.svg"
+ style="opacity: 0.67;"
+ width="20"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class=\\"form-text\\"
+ class="form-text"
+ >
+ <small>
+ SSID which contains non-standard characters could cause problems on some devices.
@ -388,41 +388,41 @@ exports[`<WiFiSettings/> Snapshot guest network. 1`] = `
+ </div>
+ </div>
+ <div
+ class=\\"mb-3\\"
+ class="mb-3"
+ >
+ <label
+ class=\\"form-label\\"
+ for=\\"25\\"
+ class="form-label"
+ for="13"
+ >
+ Password
+ </label>
+ <div
+ class=\\"input-group\\"
+ class="input-group"
+ >
+ <input
+ autocomplete=\\"current-password\\"
+ class=\\"form-control is-invalid\\"
+ id=\\"25\\"
+ required=\\"\\"
+ type=\\"password\\"
+ value=\\"\\"
+ autocomplete="current-password"
+ class="form-control is-invalid"
+ id="13"
+ required=""
+ type="password"
+ value=""
+ />
+ <button
+ class=\\"input-group-text\\"
+ type=\\"button\\"
+ class="input-group-text"
+ type="button"
+ >
+ <i
+ class=\\"fa fa-eye\\"
+ class="fa fa-eye"
+ />
+ </button>
+ </div>
+ <div
+ class=\\"invalid-feedback\\"
+ class="invalid-feedback"
+ >
+ Password must contain at least 8 symbols
+ </div>
+ <div
+ class=\\"form-text\\"
+ class="form-text"
+ >
+ <small>
+ WPA2/3 pre-shared key, that is required to connect to the network.
@ -431,17 +431,17 @@ exports[`<WiFiSettings/> Snapshot guest network. 1`] = `
+ </div>
<hr />
<div
class=\\"form-check form-switch mb-3 d-flex align-items-center\\"
class="form-check form-switch mb-3 d-flex align-items-center"
>
<input
@@ -553,10 +637,11 @@
<div
class=\\"text-end\\"
class="text-end"
>
<button
class=\\"btn btn-primary col-12 col-md-3 col-lg-2 d-inline-flex justify-content-center align-items-center\\"
+ disabled=\\"\\"
type=\\"submit\\"
class="btn btn-primary col-12 col-md-3 col-lg-2 d-inline-flex justify-content-center align-items-center"
+ disabled=""
type="submit"
>
<span>
Save
@ -460,38 +460,38 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
</label>
</div>
+ <div
+ class=\\"mb-3\\"
+ class="mb-3"
+ >
+ <label
+ class=\\"form-label\\"
+ for=\\"4\\"
+ class="form-label"
+ for="3"
+ >
+ SSID
+ </label>
+ <div
+ class=\\"input-group\\"
+ class="input-group"
+ >
+ <input
+ class=\\"form-control\\"
+ id=\\"4\\"
+ required=\\"\\"
+ type=\\"text\\"
+ value=\\"TestSSID1\\"
+ class="form-control"
+ id="3"
+ required=""
+ type="text"
+ value="TestSSID1"
+ />
+ <button
+ class=\\"input-group-text\\"
+ type=\\"button\\"
+ class="input-group-text"
+ type="button"
+ >
+ <img
+ alt=\\"QR\\"
+ src=\\"/reforis/static/reforis/imgs/QR_icon.svg\\"
+ style=\\"opacity: 0.67;\\"
+ width=\\"20\\"
+ alt="QR"
+ src="/reforis/static/reforis/imgs/QR_icon.svg"
+ style="opacity: 0.67;"
+ width="20"
+ />
+ </button>
+ </div>
+ <div
+ class=\\"form-text\\"
+ class="form-text"
+ >
+ <small>
+ SSID which contains non-standard characters could cause problems on some devices.
@ -499,36 +499,36 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+ </div>
+ </div>
+ <div
+ class=\\"mb-3\\"
+ class="mb-3"
+ >
+ <label
+ class=\\"form-label\\"
+ for=\\"5\\"
+ class="form-label"
+ for="4"
+ >
+ Password
+ </label>
+ <div
+ class=\\"input-group\\"
+ class="input-group"
+ >
+ <input
+ autocomplete=\\"current-password\\"
+ class=\\"form-control\\"
+ id=\\"5\\"
+ required=\\"\\"
+ type=\\"password\\"
+ value=\\"TestPass\\"
+ autocomplete="current-password"
+ class="form-control"
+ id="4"
+ required=""
+ type="password"
+ value="TestPass"
+ />
+ <button
+ class=\\"input-group-text\\"
+ type=\\"button\\"
+ class="input-group-text"
+ type="button"
+ >
+ <i
+ class=\\"fa fa-eye\\"
+ class="fa fa-eye"
+ />
+ </button>
+ </div>
+ <div
+ class=\\"form-text\\"
+ class="form-text"
+ >
+ <small>
+ WPA2/3 pre-shared key, that is required to connect to the network.
@ -536,22 +536,22 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+ </div>
+ </div>
+ <div
+ class=\\"form-check form-switch mb-3 null\\"
+ class="form-check form-switch mb-3 null"
+ >
+ <input
+ class=\\"form-check-input\\"
+ id=\\"6\\"
+ role=\\"switch\\"
+ type=\\"checkbox\\"
+ class="form-check-input"
+ id="5"
+ role="switch"
+ type="checkbox"
+ />
+ <label
+ class=\\"form-check-label\\"
+ for=\\"6\\"
+ class="form-check-label"
+ for="5"
+ >
+ Hide SSID
+ </label>
+ <div
+ class=\\"form-text\\"
+ class="form-text"
+ >
+ <small>
+ If set, network is not visible when scanning for available networks.
@ -559,51 +559,51 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+ </div>
+ </div>
+ <div
+ class=\\"mb-3\\"
+ class="mb-3"
+ >
+ <label
+ class=\\"d-block\\"
+ for=\\"7\\"
+ class="d-block"
+ for="6"
+ >
+ GHz
+ </label>
+ <div
+ class=\\"mb-2 form-check form-check-inline\\"
+ class="mb-2 form-check form-check-inline"
+ >
+ <input
+ class=\\"form-check-input me-2\\"
+ id=\\"hwmode-0-0\\"
+ name=\\"hwmode-0\\"
+ type=\\"radio\\"
+ value=\\"11g\\"
+ class="form-check-input me-2"
+ id="hwmode-0-0"
+ name="hwmode-0"
+ type="radio"
+ value="11g"
+ />
+ <label
+ class=\\"form-check-label\\"
+ for=\\"hwmode-0-0\\"
+ class="form-check-label"
+ for="hwmode-0-0"
+ >
+ 2.4
+ </label>
+ </div>
+ <div
+ class=\\"mb-2 form-check form-check-inline\\"
+ class="mb-2 form-check form-check-inline"
+ >
+ <input
+ checked=\\"\\"
+ class=\\"form-check-input me-2\\"
+ id=\\"hwmode-0-1\\"
+ name=\\"hwmode-0\\"
+ type=\\"radio\\"
+ value=\\"11a\\"
+ checked=""
+ class="form-check-input me-2"
+ id="hwmode-0-1"
+ name="hwmode-0"
+ type="radio"
+ value="11a"
+ />
+ <label
+ class=\\"form-check-label\\"
+ for=\\"hwmode-0-1\\"
+ class="form-check-label"
+ for="hwmode-0-1"
+ >
+ 5
+ </label>
+ </div>
+ <div
+ class=\\"form-text\\"
+ class="form-text"
+ >
+ <small>
+ The 2.4 GHz band is more widely supported by clients, but tends to have more interference. The 5 GHz band is a newer standard and may not be supported by all your devices. It usually has less interference, but the signal does not carry so well indoors.
@ -611,51 +611,51 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+ </div>
+ </div>
+ <div
+ class=\\"mb-3\\"
+ class="mb-3"
+ >
+ <label
+ class=\\"form-label\\"
+ for=\\"8\\"
+ class="form-label"
+ for="7"
+ >
+ 802.11n/ac/ax mode
+ </label>
+ <select
+ class=\\"form-select\\"
+ id=\\"8\\"
+ class="form-select"
+ id="7"
+ >
+ <option
+ value=\\"NOHT\\"
+ value="NOHT"
+ >
+ Disabled
+ </option>
+ <option
+ value=\\"HT20\\"
+ value="HT20"
+ >
+ 802.11n - 20 MHz wide channel
+ </option>
+ <option
+ value=\\"HT40\\"
+ value="HT40"
+ >
+ 802.11n - 40 MHz wide channel
+ </option>
+ <option
+ value=\\"VHT20\\"
+ value="VHT20"
+ >
+ 802.11ac - 20 MHz wide channel
+ </option>
+ <option
+ value=\\"VHT40\\"
+ value="VHT40"
+ >
+ 802.11ac - 40 MHz wide channel
+ </option>
+ <option
+ value=\\"VHT80\\"
+ value="VHT80"
+ >
+ 802.11ac - 80 MHz wide channel
+ </option>
+ </select>
+ <div
+ class=\\"form-text\\"
+ class="form-text"
+ >
+ <small>
+ Change this to adjust 802.11n/ac/ax mode of operation. 802.11n with 40 MHz wide channels can yield higher throughput but can cause more interference in the network. If you don't know what to choose, use the default option with 20 MHz wide channel.
@ -663,25 +663,25 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+ </div>
+ </div>
+ <div
+ class=\\"mb-3\\"
+ class="mb-3"
+ >
+ <label
+ class=\\"form-label\\"
+ for=\\"9\\"
+ class="form-label"
+ for="8"
+ >
+ Channel
+ </label>
+ <select
+ class=\\"form-select\\"
+ id=\\"9\\"
+ class="form-select"
+ id="8"
+ >
+ <option
+ value=\\"0\\"
+ value="0"
+ >
+ auto
+ </option>
+ <option
+ value=\\"36\\"
+ value="36"
+ >
+
+ 36
@ -689,7 +689,7 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+
+ </option>
+ <option
+ value=\\"40\\"
+ value="40"
+ >
+
+ 40
@ -697,7 +697,7 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+
+ </option>
+ <option
+ value=\\"44\\"
+ value="44"
+ >
+
+ 44
@ -705,7 +705,7 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+
+ </option>
+ <option
+ value=\\"48\\"
+ value="48"
+ >
+
+ 48
@ -713,7 +713,7 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+
+ </option>
+ <option
+ value=\\"52\\"
+ value="52"
+ >
+
+ 52
@ -721,7 +721,7 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+
+ </option>
+ <option
+ value=\\"56\\"
+ value="56"
+ >
+
+ 56
@ -729,7 +729,7 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+
+ </option>
+ <option
+ value=\\"60\\"
+ value="60"
+ >
+
+ 60
@ -737,7 +737,7 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+
+ </option>
+ <option
+ value=\\"64\\"
+ value="64"
+ >
+
+ 64
@ -745,7 +745,7 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+
+ </option>
+ <option
+ value=\\"100\\"
+ value="100"
+ >
+
+ 100
@ -753,7 +753,7 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+
+ </option>
+ <option
+ value=\\"104\\"
+ value="104"
+ >
+
+ 104
@ -761,7 +761,7 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+
+ </option>
+ <option
+ value=\\"108\\"
+ value="108"
+ >
+
+ 108
@ -769,7 +769,7 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+
+ </option>
+ <option
+ value=\\"112\\"
+ value="112"
+ >
+
+ 112
@ -777,7 +777,7 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+
+ </option>
+ <option
+ value=\\"116\\"
+ value="116"
+ >
+
+ 116
@ -785,7 +785,7 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+
+ </option>
+ <option
+ value=\\"120\\"
+ value="120"
+ >
+
+ 120
@ -793,7 +793,7 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+
+ </option>
+ <option
+ value=\\"124\\"
+ value="124"
+ >
+
+ 124
@ -801,7 +801,7 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+
+ </option>
+ <option
+ value=\\"128\\"
+ value="128"
+ >
+
+ 128
@ -809,7 +809,7 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+
+ </option>
+ <option
+ value=\\"132\\"
+ value="132"
+ >
+
+ 132
@ -817,7 +817,7 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+
+ </option>
+ <option
+ value=\\"136\\"
+ value="136"
+ >
+
+ 136
@ -825,7 +825,7 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+
+ </option>
+ <option
+ value=\\"140\\"
+ value="140"
+ >
+
+ 140
@ -833,7 +833,7 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+
+ </option>
+ <option
+ value=\\"144\\"
+ value="144"
+ >
+
+ 144
@ -841,7 +841,7 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+
+ </option>
+ <option
+ value=\\"149\\"
+ value="149"
+ >
+
+ 149
@ -849,7 +849,7 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+
+ </option>
+ <option
+ value=\\"153\\"
+ value="153"
+ >
+
+ 153
@ -857,7 +857,7 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+
+ </option>
+ <option
+ value=\\"157\\"
+ value="157"
+ >
+
+ 157
@ -865,7 +865,7 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+
+ </option>
+ <option
+ value=\\"161\\"
+ value="161"
+ >
+
+ 161
@ -873,7 +873,7 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+
+ </option>
+ <option
+ value=\\"165\\"
+ value="165"
+ >
+
+ 165
@ -883,36 +883,36 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+ </select>
+ </div>
+ <div
+ class=\\"mb-3\\"
+ class="mb-3"
+ >
+ <label
+ class=\\"form-label\\"
+ for=\\"10\\"
+ class="form-label"
+ for="9"
+ >
+ Encryption
+ </label>
+ <select
+ class=\\"form-select\\"
+ id=\\"10\\"
+ class="form-select"
+ id="9"
+ >
+ <option
+ value=\\"WPA3\\"
+ value="WPA3"
+ >
+ WPA3 only
+ </option>
+ <option
+ value=\\"WPA2/3\\"
+ value="WPA2/3"
+ >
+ WPA3 with WPA2 as fallback (default)
+ </option>
+ <option
+ value=\\"WPA2\\"
+ value="WPA2"
+ >
+ WPA2 only
+ </option>
+ </select>
+ <div
+ class=\\"form-text\\"
+ class="form-text"
+ >
+ <small>
+ The WPA3 standard is the new most secure encryption method that is suggested to be used with any device that supports it. The older devices without WPA3 support require older WPA2. If you experience issues with connecting older devices, try to enable WPA2.
@ -920,22 +920,22 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+ </div>
+ </div>
+ <div
+ class=\\"form-check form-switch mb-3 null\\"
+ class="form-check form-switch mb-3 null"
+ >
+ <input
+ class=\\"form-check-input\\"
+ id=\\"11\\"
+ role=\\"switch\\"
+ type=\\"checkbox\\"
+ class="form-check-input"
+ id="10"
+ role="switch"
+ type="checkbox"
+ />
+ <label
+ class=\\"form-check-label\\"
+ for=\\"11\\"
+ class="form-check-label"
+ for="10"
+ >
+ Disable Management Frame Protection
+ </label>
+ <div
+ class=\\"form-text\\"
+ class="form-text"
+ >
+ <small>
+ In case you have trouble connecting to WiFi Access Point, try disabling Management Frame Protection.
@ -943,22 +943,22 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+ </div>
+ </div>
+ <div
+ class=\\"form-check form-switch mb-3 null\\"
+ class="form-check form-switch mb-3 null"
+ >
+ <input
+ class=\\"form-check-input\\"
+ id=\\"12\\"
+ role=\\"switch\\"
+ type=\\"checkbox\\"
+ class="form-check-input"
+ id="11"
+ role="switch"
+ type="checkbox"
+ />
+ <label
+ class=\\"form-check-label\\"
+ for=\\"12\\"
+ class="form-check-label"
+ for="11"
+ >
+ Enable Guest Wi-Fi
+ </label>
+ <div
+ class=\\"form-text\\"
+ class="form-text"
+ >
+ <small>
+ Enables Wi-Fi for guests, which is separated from LAN network. Devices connected to this network are allowed to access the internet, but aren't allowed to access other devices and the configuration interface of the router. Parameters of the guest network can be set in the Guest network tab.
@ -967,7 +967,7 @@ exports[`<WiFiSettings/> Snapshot one module enabled. 1`] = `
+ </div>
<hr />
<div
class=\\"form-check form-switch mb-3 d-flex align-items-center\\"
class="form-check form-switch mb-3 d-flex align-items-center"
>
<input"
`;

View File

@ -105,8 +105,5 @@ module.exports = {
},
],
},
devServer: {
publicPath: "/",
},
},
};