dynamic-settings-widget 2.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. dynamic_settings_widget/__init__.py +56 -0
  2. dynamic_settings_widget/adapters/__init__.py +42 -0
  3. dynamic_settings_widget/adapters/base.py +179 -0
  4. dynamic_settings_widget/adapters/memory.py +201 -0
  5. dynamic_settings_widget/adapters/runner.py +63 -0
  6. dynamic_settings_widget/core/__init__.py +1 -0
  7. dynamic_settings_widget/core/catalog.py +201 -0
  8. dynamic_settings_widget/core/common.py +214 -0
  9. dynamic_settings_widget/core/conditions.py +146 -0
  10. dynamic_settings_widget/core/datatypes.py +414 -0
  11. dynamic_settings_widget/core/diagnostics.py +69 -0
  12. dynamic_settings_widget/core/loader.py +101 -0
  13. dynamic_settings_widget/core/model.py +245 -0
  14. dynamic_settings_widget/core/overrides.py +353 -0
  15. dynamic_settings_widget/core/parser.py +552 -0
  16. dynamic_settings_widget/core/presentation.py +68 -0
  17. dynamic_settings_widget/core/registry.py +258 -0
  18. dynamic_settings_widget/core/state.py +314 -0
  19. dynamic_settings_widget/data/example_catalog.json +23 -0
  20. dynamic_settings_widget/data/example_layout.json +23 -0
  21. dynamic_settings_widget/data/settings_catalog.schema.json +388 -0
  22. dynamic_settings_widget/data/settings_definition.schema.json +1041 -0
  23. dynamic_settings_widget/data/settings_layout.schema.json +701 -0
  24. dynamic_settings_widget/data/settings_override.schema.json +406 -0
  25. dynamic_settings_widget/py.typed +0 -0
  26. dynamic_settings_widget/session.py +1537 -0
  27. dynamic_settings_widget/standalone/__init__.py +67 -0
  28. dynamic_settings_widget/standalone/action_button.py +200 -0
  29. dynamic_settings_widget/standalone/auth_widget.py +377 -0
  30. dynamic_settings_widget/standalone/check_box_editor.py +233 -0
  31. dynamic_settings_widget/standalone/choice_buttons_editor.py +394 -0
  32. dynamic_settings_widget/standalone/color_editor.py +316 -0
  33. dynamic_settings_widget/standalone/dropdown_editor.py +356 -0
  34. dynamic_settings_widget/standalone/editable_label.py +428 -0
  35. dynamic_settings_widget/standalone/float_spin_box.py +621 -0
  36. dynamic_settings_widget/standalone/font_editor.py +348 -0
  37. dynamic_settings_widget/standalone/hotkey_editor.py +681 -0
  38. dynamic_settings_widget/standalone/info_label.py +190 -0
  39. dynamic_settings_widget/standalone/int_spin_box.py +627 -0
  40. dynamic_settings_widget/standalone/multi_choice_editor.py +428 -0
  41. dynamic_settings_widget/standalone/password_editor.py +348 -0
  42. dynamic_settings_widget/standalone/path_editor.py +615 -0
  43. dynamic_settings_widget/standalone/protected_group_box.py +287 -0
  44. dynamic_settings_widget/standalone/server_connection_editor.py +642 -0
  45. dynamic_settings_widget/standalone/slider_spin_box.py +840 -0
  46. dynamic_settings_widget/standalone/sound_selection_widget.py +710 -0
  47. dynamic_settings_widget/standalone/status_label.py +148 -0
  48. dynamic_settings_widget/standalone/switch_editor.py +293 -0
  49. dynamic_settings_widget/standalone/text_editor.py +265 -0
  50. dynamic_settings_widget/testlab/__init__.py +1 -0
  51. dynamic_settings_widget/testlab/__main__.py +5 -0
  52. dynamic_settings_widget/testlab/app.py +699 -0
  53. dynamic_settings_widget/testlab/assets/extra_sounds/Signal.wav +0 -0
  54. dynamic_settings_widget/testlab/assets/sounds/Benachrichtigung.wav +0 -0
  55. dynamic_settings_widget/testlab/assets/sounds/feedback/Signal.wav +0 -0
  56. dynamic_settings_widget/testlab/definitions/broken_base.json +25 -0
  57. dynamic_settings_widget/testlab/definitions/demo.json +634 -0
  58. dynamic_settings_widget/testlab/definitions/gallery.json +255 -0
  59. dynamic_settings_widget/testlab/definitions/override_example.json +41 -0
  60. dynamic_settings_widget/testlab/definitions/override_invalid.json +11 -0
  61. dynamic_settings_widget/testlab/definitions/override_syntax_error.json +5 -0
  62. dynamic_settings_widget/testlab/definitions/override_weaken.json +10 -0
  63. dynamic_settings_widget/testlab/definitions/voice_v2/01_left_top.json +1190 -0
  64. dynamic_settings_widget/testlab/definitions/voice_v2/catalog.json +1930 -0
  65. dynamic_settings_widget/testlab/definitions/voice_v2/models.json +141 -0
  66. dynamic_settings_widget/testlab/definitions/voice_v2/wakewords.json +161 -0
  67. dynamic_settings_widget/testlab/dummy.py +353 -0
  68. dynamic_settings_widget/testlab/extensions.py +149 -0
  69. dynamic_settings_widget/testlab/gallery.py +223 -0
  70. dynamic_settings_widget/testlab/http_adapter.py +430 -0
  71. dynamic_settings_widget/testlab/http_server.py +493 -0
  72. dynamic_settings_widget/testlab/voice_v2.py +251 -0
  73. dynamic_settings_widget/ui/__init__.py +23 -0
  74. dynamic_settings_widget/ui/base.py +63 -0
  75. dynamic_settings_widget/ui/builders.py +226 -0
  76. dynamic_settings_widget/ui/containers.py +441 -0
  77. dynamic_settings_widget/ui/dialog.py +231 -0
  78. dynamic_settings_widget/ui/editing.py +51 -0
  79. dynamic_settings_widget/ui/row.py +810 -0
  80. dynamic_settings_widget/ui/view.py +248 -0
  81. dynamic_settings_widget/widgets/__init__.py +74 -0
  82. dynamic_settings_widget/widgets/base.py +145 -0
  83. dynamic_settings_widget/widgets/bridge.py +222 -0
  84. dynamic_settings_widget/widgets/theme.py +107 -0
  85. dynamic_settings_widget-2.0.0.dist-info/METADATA +237 -0
  86. dynamic_settings_widget-2.0.0.dist-info/RECORD +90 -0
  87. dynamic_settings_widget-2.0.0.dist-info/WHEEL +5 -0
  88. dynamic_settings_widget-2.0.0.dist-info/entry_points.txt +5 -0
  89. dynamic_settings_widget-2.0.0.dist-info/licenses/LICENSE +21 -0
  90. dynamic_settings_widget-2.0.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,255 @@
1
+ {
2
+ "$schema": "../../data/settings_definition.schema.json",
3
+ "format": "dynamic-settings",
4
+ "version": 1,
5
+ "title": "Widget- und Container-Galerie",
6
+ "adapters": { "memory": "In-Memory-Dummy" },
7
+ "default_adapter": "memory",
8
+ "root": {
9
+ "type": "tabs",
10
+ "options": { "position": "bottom" },
11
+ "children": [
12
+ {
13
+ "id": "g.widgets",
14
+ "type": "tabs",
15
+ "label": "Widgets",
16
+ "options": { "position": "right" },
17
+ "children": [
18
+ {
19
+ "id": "g.text",
20
+ "type": "page",
21
+ "label": "Text & Dateien",
22
+ "children": [
23
+ { "id": "gallery.text", "type": "setting", "label": "Texteditor", "datatype": "string", "bind": "gallery.text", "max_length": 60, "help": "Einzeilige Texteingabe" },
24
+ { "id": "gallery.editable", "type": "setting", "label": "Bearbeitbare Beschriftung", "description": "Doppelklick, F2 oder Stift öffnet das Feld; Eingabe übernimmt, Esc verwirft.", "datatype": "string", "widget": "editable_label", "bind": "gallery.editable", "max_length": 40 },
25
+ { "id": "gallery.multiline", "type": "setting", "label": "Texteditor mehrzeilig", "datatype": "string", "bind": "gallery.multiline", "options": { "multiline": true, "lines": 3 } },
26
+ { "id": "gallery.password", "type": "setting", "label": "Passwort-/Key-Editor", "datatype": "secret", "bind": "gallery.password", "optional": true },
27
+ { "id": "gallery.path", "type": "setting", "label": "Dateieditor", "datatype": "path", "bind": "gallery.path" },
28
+ { "id": "gallery.directory", "type": "setting", "label": "Ordner", "datatype": "path", "bind": "gallery.directory", "options": { "mode": "directory" } },
29
+ { "id": "gallery.path_checked", "type": "setting", "label": "Datei mit Prüfung (Hinweis)", "datatype": "path", "bind": "gallery.path_checked", "options": { "mode": "open", "check": "warn", "filter": "Textdateien (*.txt *.md);;Alle Dateien (*)" } },
30
+ { "id": "gallery.save_path", "type": "setting", "label": "Speicherort (Pflichtprüfung)", "datatype": "path", "bind": "gallery.save_path", "options": { "mode": "save", "check": "require", "filter": "CSV (*.csv)" } },
31
+ { "id": "gallery.directory_checked", "type": "setting", "label": "Ordner (Pflichtprüfung)", "datatype": "path", "bind": "gallery.directory_checked", "options": { "mode": "directory", "check": "require" } },
32
+ { "id": "gallery.read_only", "type": "setting", "label": "Schreibgeschützt laut Adapter", "datatype": "string", "bind": "gallery.read_only" }
33
+ ]
34
+ },
35
+ {
36
+ "id": "g.numbers",
37
+ "type": "page",
38
+ "label": "Zahlen",
39
+ "children": [
40
+ { "id": "gallery.int", "type": "setting", "label": "Integer-Spinbox", "datatype": "int", "bind": "gallery.int", "min": 0, "max": 10, "unit": "Stück", "default": 5 },
41
+ { "id": "gallery.float", "type": "setting", "label": "Float-Spinbox", "datatype": "float", "bind": "gallery.float", "min": 0, "max": 10, "step": 0.25, "precision": 2, "unit": "s" },
42
+ { "id": "gallery.int_inline", "type": "setting", "label": "Integer-Spinbox (inline)", "description": "Klick, Eingabe oder F2 öffnet die Spinbox; Esc stellt den alten Wert her.", "datatype": "int", "bind": "gallery.int_inline", "min": 1, "max": 16, "options": { "inline_edit": true } },
43
+ { "id": "gallery.slider_int", "type": "setting", "label": "SliderSpinBox (Integer)", "datatype": "int", "widget": "slider_spin", "bind": "gallery.slider_int", "min": 0, "max": 100, "step": 5, "unit": "%" },
44
+ { "id": "gallery.slider_float", "type": "setting", "label": "SliderSpinBox (Float)", "description": "Anfangswert 0,333 liegt bewusst zwischen zwei Rasterpunkten.", "datatype": "float", "widget": "slider_spin", "bind": "gallery.slider_float", "min": 0, "max": 1, "step": 0.1, "precision": 3 },
45
+ { "id": "gallery.slider_inline", "type": "setting", "label": "SliderSpinBox (inline, Wert links)", "datatype": "int", "widget": "slider_spin", "bind": "gallery.slider_inline", "min": 0, "max": 100, "unit": "%", "options": { "inline_edit": true, "value_position": "left" } },
46
+ { "id": "gallery.optional_int", "type": "setting", "label": "Optionale Zahl", "datatype": "int", "bind": "gallery.optional_int", "optional": true, "min": -5, "max": 5 }
47
+ ]
48
+ },
49
+ {
50
+ "id": "g.choices",
51
+ "type": "page",
52
+ "label": "Auswahl",
53
+ "children": [
54
+ { "id": "gallery.checkbox", "type": "setting", "label": "Checkbox", "datatype": "bool", "bind": "gallery.checkbox" },
55
+ { "id": "gallery.switch", "type": "setting", "label": "Switch", "datatype": "bool", "widget": "switch", "bind": "gallery.switch" },
56
+ {
57
+ "id": "gallery.dropdown",
58
+ "type": "setting",
59
+ "label": "Dropdown",
60
+ "datatype": "choice",
61
+ "bind": "gallery.dropdown",
62
+ "choices": [ { "value": "a", "label": "Option A" }, { "value": "b", "label": "Option B" }, { "value": "c", "label": "Option C" } ]
63
+ },
64
+ { "id": "gallery.dynamic", "type": "setting", "label": "Dropdown, dynamisch geliefert", "datatype": "choice", "bind": "gallery.dynamic", "choices_from": "audio_devices" },
65
+ {
66
+ "id": "gallery.buttons",
67
+ "type": "setting",
68
+ "label": "ChoiceButtons",
69
+ "datatype": "choice",
70
+ "widget": "choice_buttons",
71
+ "bind": "gallery.buttons",
72
+ "choices": [ { "value": 1, "label": "Eins" }, { "value": 2, "label": "Zwei" }, { "value": 3, "label": "Drei" } ]
73
+ },
74
+ { "id": "gallery.multi", "type": "setting", "label": "Mehrfachauswahl, dynamisch", "description": "Wächst mit der Zahl der Optionen (Szenario „Auswahllisten ändern“).", "datatype": "multi_choice", "bind": "gallery.multi", "choices_from": "sounds" },
75
+ { "id": "gallery.multi_long", "type": "setting", "label": "Mehrfachauswahl, lange Liste begrenzt", "description": "max_lines 5 – nur hier scrollt die Liste selbst.", "datatype": "multi_choice", "bind": "gallery.multi_long", "choices": [ "Wort 1", "Wort 2", "Wort 3", "Wort 4", "Wort 5", "Wort 6", "Wort 7", "Wort 8", "Wort 9", "Wort 10", "Wort 11", "Wort 12" ], "options": { "max_lines": 5 } },
76
+ { "id": "gallery.color", "type": "setting", "label": "Farbeditor", "datatype": "color", "bind": "gallery.color" },
77
+ { "id": "gallery.color_alpha", "type": "setting", "label": "Farbeditor mit Alpha", "datatype": "color", "bind": "gallery.color_alpha", "alpha": true },
78
+ { "id": "gallery.font", "type": "setting", "label": "Schriftarteditor (optional)", "description": "Ohne eigene Auswahl gilt die Systemschrift; sie wird mit Namen und Vorschau gezeigt.", "datatype": "font", "bind": "gallery.font", "optional": true },
79
+ { "id": "gallery.font_required", "type": "setting", "label": "Schriftarteditor (Pflicht)", "datatype": "font", "bind": "gallery.font_required" }
80
+ ]
81
+ },
82
+ {
83
+ "id": "g.sounds",
84
+ "type": "page",
85
+ "label": "Sounds",
86
+ "children": [
87
+ { "id": "gallery.sound_manual", "type": "setting", "label": "Manuelle Vorschau", "datatype": "string", "widget": "sound_selection", "bind": "gallery.sound_manual", "optional": true, "options": { "bundled_path": "assets/sounds", "additional_paths": ["assets/extra_sounds"], "env_variable": "APP_SOUND_PATHS" } },
88
+ { "id": "gallery.sound_auto", "type": "setting", "label": "Vorschau bei Auswahl", "datatype": "string", "widget": "sound_selection", "bind": "gallery.sound_auto", "optional": true, "options": { "bundled_path": "assets/sounds", "auto_play": true } },
89
+ { "id": "gallery.sound_missing", "type": "setting", "label": "Sounddatei fehlt", "datatype": "string", "widget": "sound_selection", "bind": "gallery.sound_missing", "optional": true, "options": { "bundled_path": "assets/sounds" } }
90
+ ]
91
+ },
92
+ {
93
+ "id": "g.special",
94
+ "type": "page",
95
+ "label": "Spezial",
96
+ "children": [
97
+ {
98
+ "id": "gallery.hotkey",
99
+ "type": "setting",
100
+ "label": "HotkeyEditor",
101
+ "datatype": "hotkey",
102
+ "bind": "gallery.hotkey",
103
+ "optional": true,
104
+ "options": { "conflicts_from": "used_hotkeys", "reserved": { "Alt+F4": "Fenster schließen" } }
105
+ },
106
+ {
107
+ "id": "gallery.connection",
108
+ "type": "setting",
109
+ "label": "ServerConnectionEditor",
110
+ "description": "Adressen mit „fail“ scheitern in der Simulation.",
111
+ "datatype": "connection",
112
+ "bind": "gallery.connection",
113
+ "choices_from": "endpoints",
114
+ "actions": {
115
+ "test": { "adapter": "memory", "name": "connection_test" },
116
+ "apply": { "adapter": "memory", "name": "connection_apply" }
117
+ },
118
+ "options": { "schemes": [ "http", "https" ] }
119
+ },
120
+ { "id": "gallery.rating", "type": "setting", "label": "Custom-Widget", "datatype": "int", "widget": "rating", "bind": "gallery.rating", "min": 0, "max": 5 },
121
+ { "id": "gallery.action", "type": "action", "label": "Aktion mit Rückmeldung", "action": { "adapter": "memory", "name": "activate" } },
122
+ { "id": "gallery.action_fail", "type": "action", "label": "Aktion mit Fehlschlag", "action": { "adapter": "memory", "name": "fail" } },
123
+ { "id": "gallery.info", "type": "info", "text": "Informationselement: Hinweistext", "options": { "style": "info" } },
124
+ { "id": "gallery.warning", "type": "info", "text": "Informationselement: Warnung", "options": { "style": "warning" } },
125
+ { "id": "gallery.result", "type": "info", "label": "Ergebnis der Aktion", "source": { "action_result": "gallery.action_fail" } },
126
+ { "id": "gallery.live", "type": "info", "label": "Wirksamer Switch-Wert", "source": { "value": "gallery.switch" } }
127
+ ]
128
+ }
129
+ ]
130
+ },
131
+ {
132
+ "id": "g.containers",
133
+ "type": "page",
134
+ "label": "Container",
135
+ "children": [
136
+ {
137
+ "id": "g.group",
138
+ "type": "group",
139
+ "label": "Groupbox mit horizontalem Container",
140
+ "children": [
141
+ {
142
+ "id": "g.hbox",
143
+ "type": "hbox",
144
+ "children": [
145
+ {
146
+ "id": "g.vbox_a",
147
+ "type": "vbox",
148
+ "label": "Vertikal A",
149
+ "children": [
150
+ { "id": "g.info_a1", "type": "info", "text": "Links oben" },
151
+ { "id": "g.info_a2", "type": "info", "text": "Links unten" }
152
+ ]
153
+ },
154
+ {
155
+ "id": "g.vbox_b",
156
+ "type": "vbox",
157
+ "label": "Vertikal B",
158
+ "children": [
159
+ { "id": "g.info_b1", "type": "info", "text": "Rechts oben" },
160
+ { "id": "g.info_b2", "type": "info", "text": "Rechts unten" }
161
+ ]
162
+ }
163
+ ]
164
+ }
165
+ ]
166
+ },
167
+ {
168
+ "id": "g.collapsible",
169
+ "type": "collapsible",
170
+ "label": "Aufklappbare Gruppe",
171
+ "children": [
172
+ { "id": "gallery.deferred", "type": "setting", "label": "Zeitversetzt wirksam", "datatype": "int", "bind": "gallery.deferred", "min": 0, "max": 10, "default": 5, "effect": "next_activation" },
173
+ { "id": "gallery.immediate", "type": "setting", "label": "Sofort übernommen", "datatype": "bool", "widget": "switch", "bind": "gallery.immediate", "apply": "immediate" }
174
+ ]
175
+ },
176
+ {
177
+ "id": "g.grid",
178
+ "type": "grid",
179
+ "label": "Benutzerdefinierter Container (Raster)",
180
+ "options": { "columns": 2 },
181
+ "children": [
182
+ { "id": "g.cell1", "type": "info", "text": "Zelle 1", "options": { "style": "success" } },
183
+ { "id": "g.cell2", "type": "info", "text": "Zelle 2", "options": { "style": "info" } },
184
+ { "id": "g.cell3", "type": "info", "text": "Zelle 3", "options": { "style": "warning" } },
185
+ { "id": "g.cell4", "type": "info", "text": "Zelle 4", "options": { "style": "error" } }
186
+ ]
187
+ },
188
+ { "id": "g.catch_all", "type": "group", "label": "Auffanggruppe", "catch_all": { "adapter": "memory", "include": [ "gallery.extra_*" ] } }
189
+ ]
190
+ },
191
+ {
192
+ "id": "g.protected",
193
+ "type": "page",
194
+ "label": "Geschützt",
195
+ "children": [
196
+ {
197
+ "id": "g.protected_group",
198
+ "type": "protected_group",
199
+ "label": "Protected Groupbox",
200
+ "auth": { "scope": "local_admin" },
201
+ "children": [
202
+ { "id": "gallery.protected", "type": "setting", "label": "Geschützter Wert", "datatype": "int", "bind": "gallery.protected", "min": 0, "max": 10 },
203
+ { "id": "gallery.protected_action", "type": "action", "label": "Geschützte Aktion", "action": { "adapter": "memory", "name": "protected_task" } },
204
+ {
205
+ "id": "g.inner",
206
+ "type": "protected_group",
207
+ "label": "Verschachtelt",
208
+ "auth": { "scope": "inner" },
209
+ "children": [
210
+ { "id": "gallery.inner", "type": "setting", "label": "Innerer Wert", "datatype": "string", "bind": "gallery.inner" }
211
+ ]
212
+ }
213
+ ]
214
+ },
215
+ {
216
+ "id": "g.external",
217
+ "type": "protected_group",
218
+ "label": "Extern verwaltete Berechtigung",
219
+ "auth": { "scope": "operator", "mode": "external" },
220
+ "children": [
221
+ { "id": "gallery.external", "type": "setting", "label": "Wert", "datatype": "string", "bind": "gallery.external" }
222
+ ]
223
+ },
224
+ {
225
+ "id": "g.hidden",
226
+ "type": "protected_group",
227
+ "label": "Variante „verborgen“",
228
+ "auth": { "scope": "local_admin", "locked_display": "hidden" },
229
+ "children": [
230
+ { "id": "gallery.hidden", "type": "setting", "label": "Verborgener Wert", "datatype": "string", "bind": "gallery.hidden" }
231
+ ]
232
+ },
233
+ {
234
+ "id": "g.readable",
235
+ "type": "protected_group",
236
+ "label": "Variante „nur lesbar“",
237
+ "auth": { "scope": "local_admin", "locked_display": "read_only" },
238
+ "children": [
239
+ { "id": "gallery.readable", "type": "setting", "label": "Lesbarer Wert", "datatype": "string", "bind": "gallery.readable" }
240
+ ]
241
+ },
242
+ { "id": "g.auth", "type": "auth", "label": "Authentifizierungswidget", "auth": { "scope": "local_admin" } }
243
+ ]
244
+ },
245
+ {
246
+ "id": "g.custom_page",
247
+ "type": "page",
248
+ "label": "Eigene Seite",
249
+ "children": [
250
+ { "id": "g.swatch", "type": "swatch_page", "options": { "caption": "Individuell gezeichnete Seite (registrierter Typ)" } }
251
+ ]
252
+ }
253
+ ]
254
+ }
255
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "$schema": "../../data/settings_override.schema.json",
3
+ "format": "dynamic-settings-override",
4
+ "version": 1,
5
+ "description": "Teilüberschreiben, Ergänzen, Verschieben, Umordnen und Ausblenden in demo.json.",
6
+ "operations": [
7
+ {
8
+ "op": "update",
9
+ "target": "appearance.font_size",
10
+ "set": { "label": "Schriftgröße der Anzeige", "max": 24, "widget": "int_spin" }
11
+ },
12
+ { "op": "update", "target": "/client/audio", "set": { "label": "Ton" } },
13
+ { "op": "update", "target": "server", "set": { "options": { "position": "right" } } },
14
+ { "op": "move", "target": "/client/history", "before": "client.general" },
15
+ { "op": "move", "target": "ui.language", "parent": "/client/appearance/main", "index": 0 },
16
+ { "op": "hide", "target": "client.diagnostics" },
17
+ {
18
+ "op": "add",
19
+ "parent": "/client/general",
20
+ "before": "client.clipboard",
21
+ "element": {
22
+ "id": "override.hint",
23
+ "type": "info",
24
+ "text": "Dieses Element stammt aus der Override-Datei.",
25
+ "options": { "style": "success" }
26
+ }
27
+ },
28
+ {
29
+ "op": "add",
30
+ "parent": "/server/session",
31
+ "element": {
32
+ "id": "override.vad",
33
+ "type": "setting",
34
+ "label": "VAD-Schwelle (Zweitdarstellung, erbt die Sperre)",
35
+ "datatype": "float",
36
+ "bind": { "adapter": "http", "key": "defaults.vad_threshold" }
37
+ }
38
+ },
39
+ { "op": "move", "target": "defaults.max_sessions", "parent": "/server/session" }
40
+ ]
41
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "format": "dynamic-settings-override",
3
+ "version": 1,
4
+ "description": "Fehlerfall: unbekanntes Ziel, doppelte ID, unzulässiges Verschieben – wird vollständig verworfen.",
5
+ "operations": [
6
+ { "op": "update", "target": "audio.gain", "set": { "label": "Darf nicht teilweise wirken" } },
7
+ { "op": "hide", "target": "/client/gibt_es_nicht" },
8
+ { "op": "add", "parent": "/client", "element": { "id": "audio.gain", "type": "page" } },
9
+ { "op": "move", "target": "client", "parent": "client.audio" }
10
+ ]
11
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "format": "dynamic-settings-override",
3
+ "version": 1,
4
+ "operations": [ { "op": "hide" "target": "client" } ]
5
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "format": "dynamic-settings-override",
3
+ "version": 1,
4
+ "description": "Fehlerfall: versucht, Schutz und Bindung abzuschwächen – wird verworfen.",
5
+ "operations": [
6
+ { "op": "update", "target": "audio.gain", "set": { "max": 99 } },
7
+ { "op": "update", "target": "administration.defaults", "set": { "auth": null, "type": "group" } },
8
+ { "op": "update", "target": "defaults.max_sessions", "set": { "bind": { "adapter": "memory", "key": "gallery.int" } } }
9
+ ]
10
+ }