|
1 | 1 | {
|
2 | 2 | "i18n": true,
|
3 | 3 | "type": "tabs",
|
4 |
| - "items": { |
| 4 | + "items": { |
5 | 5 | "general": {
|
6 | 6 | "type": "panel",
|
7 | 7 | "label": "general",
|
|
232 | 232 | "type": "panel",
|
233 | 233 | "label": "+",
|
234 | 234 | "items": {
|
235 |
| - "pageQRselType": { |
236 |
| - "type": "select", |
237 |
| - "label": "QR Typ", |
238 |
| - "options": [ |
| 235 | + "pageQRdata": { |
| 236 | + "type": "table", |
| 237 | + "label": "pageQRdata", |
| 238 | + "sm": 12, |
| 239 | + "md": 12, |
| 240 | + "lg": 12, |
| 241 | + "xl": 12, |
| 242 | + "uniqueColumns": [ |
| 243 | + "pageName" |
| 244 | + ], |
| 245 | + "items": [ |
239 | 246 | {
|
240 |
| - "label": "none", |
241 |
| - "value": 0 |
| 247 | + "attr": "pageName", |
| 248 | + "type": "text", |
| 249 | + "label": "pageName", |
| 250 | + "width": "10%", |
| 251 | + "default": "Unique Name" |
242 | 252 | },
|
243 | 253 | {
|
244 |
| - "label": "Wifi", |
245 |
| - "value": 1 |
| 254 | + "attr": "headline", |
| 255 | + "type": "text", |
| 256 | + "label": "Headline", |
| 257 | + "width": "10%", |
| 258 | + "default": "" |
246 | 259 | },
|
247 | 260 | {
|
248 |
| - "label": "URL", |
249 |
| - "value": 2 |
250 |
| - } |
251 |
| - ], |
252 |
| - "xs": 12, |
253 |
| - "sm": 12, |
254 |
| - "md": 6, |
255 |
| - "lg": 4, |
256 |
| - "xl": 4 |
257 |
| - }, |
258 |
| - "pageQRwlantype": { |
259 |
| - "type": "text", |
260 |
| - "label": "Verschlüssselung", |
261 |
| - "hidden": "data.pageQRselType !== 1", |
262 |
| - "newLine": true, |
263 |
| - "xs": 12, |
264 |
| - "sm": 12, |
265 |
| - "md": 6, |
266 |
| - "lg": 4, |
267 |
| - "xl": 4 |
268 |
| - }, |
269 |
| - "pageQRssid": { |
270 |
| - "type": "text", |
271 |
| - "label": "SSID", |
272 |
| - "hidden": "data.pageQRselType !== 1", |
273 |
| - "xs": 12, |
274 |
| - "sm": 12, |
275 |
| - "md": 6, |
276 |
| - "lg": 4, |
277 |
| - "xl": 4 |
| 261 | + "attr": "SSIDURLTEL", |
| 262 | + "type": "text", |
| 263 | + "label": "SSIDURLTEL", |
| 264 | + "width": "40%", |
| 265 | + "default": "" |
| 266 | + }, |
| 267 | + { |
| 268 | + "attr": "selType", |
| 269 | + "type": "select", |
| 270 | + "label": "pageQRselType", |
| 271 | + "default": 0, |
| 272 | + "options": [ |
| 273 | + { |
| 274 | + "label": "FREE", |
| 275 | + "value": 0 |
| 276 | + }, |
| 277 | + { |
| 278 | + "label": "Wifi", |
| 279 | + "value": 1 |
| 280 | + }, |
| 281 | + { |
| 282 | + "label": "URL", |
| 283 | + "value": 2 |
| 284 | + } |
| 285 | + , |
| 286 | + { |
| 287 | + "label": "TEL", |
| 288 | + "value": 3 |
| 289 | + } |
| 290 | + ] |
| 291 | + }, |
| 292 | + { |
| 293 | + "type": "select", |
| 294 | + "label": "wlantype", |
| 295 | + "disabled": "data.selType !== 1", |
| 296 | + "attr": "wlantype", |
| 297 | + "options": [ |
| 298 | + {"label": "nopass", "value": "nopass"}, |
| 299 | + {"label": "WPA", "value": "WPA"}, |
| 300 | + {"label": "WPA2", "value": "WPA2"}, |
| 301 | + {"label": "WPA3", "value": "WPA3"}, |
| 302 | + {"label": "WEP", "value": "WEP"} |
| 303 | + ] |
| 304 | + }, |
| 305 | + { |
| 306 | + "attr": "qrPass", |
| 307 | + "type": "select", |
| 308 | + "label": "qrPass", |
| 309 | + "disabled": "data.selType !== 1", |
| 310 | + "options": [ |
| 311 | + { |
| 312 | + "label": "none", |
| 313 | + "value": 0 |
| 314 | + }, |
| 315 | + { |
| 316 | + "label": "Password1", |
| 317 | + "value": 1 |
| 318 | + }, |
| 319 | + { |
| 320 | + "label": "Password2", |
| 321 | + "value": 2 |
| 322 | + }, |
| 323 | + { |
| 324 | + "label": "Password3", |
| 325 | + "value": 2 |
| 326 | + } |
| 327 | + ] |
| 328 | + }, |
| 329 | + { |
| 330 | + "attr": "wlanhidden", |
| 331 | + "type": "checkbox", |
| 332 | + "label": "wlanhidden", |
| 333 | + "disabled": "data.selType !== 1", |
| 334 | + "default": false |
| 335 | + }, |
| 336 | + { |
| 337 | + "attr": "setState", |
| 338 | + "type": "objectId", |
| 339 | + "label": "Switch", |
| 340 | + "filterFunc": "return obj.common.type === 'boolean' && obj.common.role === 'switch' && obj.common.write" |
| 341 | + } |
| 342 | + ] |
278 | 343 | },
|
279 |
| - "pageQRpwd": { |
| 344 | + "pageQRpwd1": { |
280 | 345 | "type": "password",
|
281 |
| - "label": "Password", |
282 |
| - "hidden": "data.pageQRselType !== 1", |
| 346 | + "label": "Password1", |
283 | 347 | "xs": 12,
|
284 | 348 | "sm": 12,
|
285 | 349 | "md": 6,
|
286 | 350 | "lg": 4,
|
287 | 351 | "xl": 4
|
288 | 352 | },
|
289 |
| - "pageQRwlanhidden": { |
290 |
| - "type": "checkbox", |
291 |
| - "label": "verstecktes Wlan", |
292 |
| - "hidden": "data.pageQRselType !== 1", |
293 |
| - "default": false, |
| 353 | + "pageQRpwd2": { |
| 354 | + "type": "password", |
| 355 | + "label": "Password2", |
294 | 356 | "xs": 12,
|
295 | 357 | "sm": 12,
|
296 | 358 | "md": 6,
|
297 | 359 | "lg": 4,
|
298 | 360 | "xl": 4
|
299 | 361 | },
|
300 |
| - "pageQRurl": { |
301 |
| - "type": "text", |
302 |
| - "label": "URL", |
303 |
| - "default": "https://", |
304 |
| - "hidden": "data.pageQRselType !== 2", |
305 |
| - "newLine": true, |
| 362 | + "pageQRpwd3": { |
| 363 | + "type": "password", |
| 364 | + "label": "Password3", |
306 | 365 | "xs": 12,
|
307 | 366 | "sm": 12,
|
308 | 367 | "md": 6,
|
|
0 commit comments