setta 0.0.8.dev1__py3-none-any.whl → 0.0.9__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 (32) hide show
  1. setta/__init__.py +1 -1
  2. setta/code_gen/export_selected.py +6 -4
  3. setta/code_gen/python/generate_code.py +2 -0
  4. setta/database/db/codeInfo/copy.py +1 -4
  5. setta/database/db/projects/saveAs.py +0 -3
  6. setta/database/db/projects/utils.py +2 -2
  7. setta/database/db/sectionVariants/copy.py +12 -3
  8. setta/database/db/sections/copy.py +4 -1
  9. setta/database/db/sections/jsonSource.py +109 -42
  10. setta/database/db/sections/load.py +145 -73
  11. setta/database/settings_file.py +1 -1
  12. setta/lsp/file_watcher.py +0 -16
  13. setta/lsp/specific_file_watcher.py +278 -0
  14. setta/lsp/utils.py +20 -0
  15. setta/routers/dependencies.py +4 -0
  16. setta/routers/projects.py +1 -1
  17. setta/routers/sections.py +28 -5
  18. setta/server.py +6 -0
  19. setta/static/constants/constants.json +3 -1
  20. setta/static/constants/defaultValues.json +3 -2
  21. setta/static/constants/settingsProject.json +200 -29
  22. setta/static/frontend/assets/{index-20612afa.js → index-0693b9a1.js} +165 -165
  23. setta/static/frontend/assets/{index-c59176d8.css → index-cf887608.css} +1 -1
  24. setta/static/frontend/index.html +2 -2
  25. setta/utils/constants.py +1 -4
  26. setta/utils/websocket_manager.py +5 -0
  27. {setta-0.0.8.dev1.dist-info → setta-0.0.9.dist-info}/METADATA +11 -6
  28. {setta-0.0.8.dev1.dist-info → setta-0.0.9.dist-info}/RECORD +32 -31
  29. {setta-0.0.8.dev1.dist-info → setta-0.0.9.dist-info}/WHEEL +1 -1
  30. {setta-0.0.8.dev1.dist-info → setta-0.0.9.dist-info}/LICENSE +0 -0
  31. {setta-0.0.8.dev1.dist-info → setta-0.0.9.dist-info}/entry_points.txt +0 -0
  32. {setta-0.0.8.dev1.dist-info → setta-0.0.9.dist-info}/top_level.txt +0 -0
@@ -42,21 +42,27 @@
42
42
  },
43
43
  "sectionVariants": {
44
44
  "19f203aa-cae6-4ccc-928c-dab0194ade77": {
45
- "name": "setta_files/setta-settings.json"
45
+ "name": "setta_files/setta-settings.json",
46
+ "codeInfoColId": "088e4b38-c05d-4b28-ab20-18763c0ac73d"
46
47
  },
47
48
  "f3cb4189-2692-4e75-b58f-76d632f44205": {
48
- "name": "setta_files/setta-settings.json"
49
+ "name": "setta_files/setta-settings.json",
50
+ "codeInfoColId": "5f3093c9-2baa-4a46-b5ae-a36a7c1f17f2"
49
51
  },
50
52
  "36d29a06-7971-48d1-a1d2-23480f770d74": {
51
- "name": "setta_files/setta-settings.json"
53
+ "name": "setta_files/setta-settings.json",
54
+ "codeInfoColId": "c88201be-0ff6-4f54-be88-6d2e448dcee8"
52
55
  },
53
56
  "4490975a-8d8d-4f02-8ed4-f48f8258f1ec": {
54
- "name": "setta_files/setta-settings.json"
57
+ "name": "setta_files/setta-settings.json",
58
+ "codeInfoColId": "ed42bd5c-edfb-4620-8477-58bbb84ee69b"
55
59
  },
56
60
  "d2c7059a-8e28-488a-aa33-056476652d5e": {
57
- "name": "setta_files/setta-settings.json"
61
+ "name": "setta_files/setta-settings.json",
62
+ "codeInfoColId": "baa5c9db-c2db-42c7-9cab-fda5cadf861c"
58
63
  }
59
64
  },
65
+ "artifacts": {},
60
66
  "uiTypes": {
61
67
  "90f2233a-2864-498f-a4df-4c027fa0c4a4": {
62
68
  "id": "90f2233a-2864-498f-a4df-4c027fa0c4a4",
@@ -123,67 +129,67 @@
123
129
  },
124
130
  "uiTypeCols": {
125
131
  "04f95495-52ba-4277-a79e-228bb1c6a5bc": {
126
- "JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"gui\",\"panOnScrollMode\"]}": {
132
+ "db7b5f4e-ee15-4f9a-9bab-fa84de3f5c00": {
127
133
  "uiTypeId": "86b19dfb-742b-4d82-aa5f-5d4cca9f3d0a"
128
134
  },
129
- "JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"gui\",\"selectionMode\"]}": {
135
+ "5ec98205-d06c-4f13-9115-1d5eec76555b": {
130
136
  "uiTypeId": "1ec5d8de-f984-451d-b43a-78917f698d52"
131
137
  },
132
- "JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"gui\",\"showGridLines\"]}": {
138
+ "b4b236b6-ec70-40cc-8765-8d1a30c1e572": {
133
139
  "uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
134
140
  },
135
- "JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"gui\",\"gridColor\"]}": {
141
+ "a2b36afb-f5ae-427b-ad8f-be12da5e2ec4": {
136
142
  "uiTypeId": "74de30af-accf-44db-9b6b-da4260f0bd60"
137
143
  },
138
- "JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"gui\",\"gridColorDarkMode\"]}": {
144
+ "7ae66c69-3261-4882-a983-26b9bcf35063": {
139
145
  "uiTypeId": "74de30af-accf-44db-9b6b-da4260f0bd60"
140
146
  },
141
- "JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"gui\",\"gridPattern\"]}": {
147
+ "d20faabd-e69e-40e6-bc6a-6ac29d7afbf0": {
142
148
  "uiTypeId": "90f2233a-2864-498f-a4df-4c027fa0c4a4"
143
149
  },
144
- "JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"backend\",\"showDefaultConfigOnLoad\"]}": {
150
+ "b387688a-a761-4396-b99a-b60945d2db0a": {
145
151
  "uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
146
152
  },
147
- "JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"backend\",\"inferImports\"]}": {
153
+ "03b2da1e-f288-40fa-ad3c-881a6a4f186f": {
148
154
  "uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
149
155
  },
150
- "JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"backend\",\"autosave\"]}": {
156
+ "7f9492a2-ce79-43ea-8778-49e256e3efaa": {
151
157
  "uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
152
158
  },
153
- "JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"backend\",\"autobackup\"]}": {
159
+ "b50f0c10-0115-4619-92e9-cc955539b72c": {
154
160
  "uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
155
161
  },
156
- "JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"gui\",\"leftSidePaneShiftsMap\"]}": {
162
+ "15e8e73b-69ed-42cb-8970-06f09617d0b2": {
157
163
  "uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
158
164
  },
159
- "JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"gui\",\"panOnDrag\"]}": {
165
+ "581e7d04-9e4c-4f63-bec9-7f7d809e7f8e": {
160
166
  "uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
161
167
  },
162
- "JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"gui\",\"panOnScroll\"]}": {
168
+ "f7ffcc87-4649-4f8b-9d4b-8276f0ed3af7": {
163
169
  "uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
164
170
  },
165
- "JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"gui\",\"zoomOnScroll\"]}": {
171
+ "fbeb8bd7-dfe7-497a-9920-83450e875501": {
166
172
  "uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
167
173
  },
168
- "JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"gui\",\"zoomOnPinch\"]}": {
174
+ "fc1c467d-b745-46b6-8f8b-94f239e0abd8": {
169
175
  "uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
170
176
  },
171
- "JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"gui\",\"zoomOnDoubleClick\"]}": {
177
+ "17466622-a5fb-4be8-8525-f06c88daae82": {
172
178
  "uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
173
179
  },
174
- "JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"backend\",\"clearTerminalBeforeMarkingAsReady\"]}": {
180
+ "85dafdca-efa6-43bc-9421-b65dd9614862": {
175
181
  "uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
176
182
  },
177
- "JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"backend\",\"exportDbRawOnSave\"]}": {
183
+ "df31626d-bb5c-44db-a72e-ea1ed9ddc57c": {
178
184
  "uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
179
185
  },
180
- "JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"backend\",\"exportDbReadableOnSave\"]}": {
186
+ "60185329-1eeb-439c-8830-e7fb77f44568": {
181
187
  "uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
182
188
  },
183
- "JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"backend\",\"exportDbReadableWithVariantsOnSave\"]}": {
189
+ "69b37725-50e6-4ddb-bd6c-f804f79e7c5a": {
184
190
  "uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
185
191
  },
186
- "JSON-{\"filenameGlob\":\"setta_files/setta-settings*.json\",\"key\":[\"backend\",\"saveRenderedValues\"]}": {
192
+ "24a214fd-f10b-44f6-a6f4-0693538ee08d": {
187
193
  "uiTypeId": "69cdf4c5-7555-4ef3-93d3-bda03f33c6d5"
188
194
  }
189
195
  }
@@ -270,7 +276,172 @@
270
276
  "jsonSourceKeys": ["sections"]
271
277
  }
272
278
  },
273
- "codeInfo": {},
274
- "codeInfoCols": {},
275
- "artifacts": {}
279
+ "codeInfo": {
280
+ "db7b5f4e-ee15-4f9a-9bab-fa84de3f5c00": {
281
+ "id": "db7b5f4e-ee15-4f9a-9bab-fa84de3f5c00",
282
+ "name": "panOnScrollMode",
283
+ "editable": true,
284
+ "jsonSource": "setta_files/setta-settings.json"
285
+ },
286
+ "5ec98205-d06c-4f13-9115-1d5eec76555b": {
287
+ "id": "5ec98205-d06c-4f13-9115-1d5eec76555b",
288
+ "name": "selectionMode",
289
+ "editable": true,
290
+ "jsonSource": "setta_files/setta-settings.json"
291
+ },
292
+ "b4b236b6-ec70-40cc-8765-8d1a30c1e572": {
293
+ "id": "b4b236b6-ec70-40cc-8765-8d1a30c1e572",
294
+ "name": "showGridLines",
295
+ "editable": true,
296
+ "jsonSource": "setta_files/setta-settings.json"
297
+ },
298
+ "a2b36afb-f5ae-427b-ad8f-be12da5e2ec4": {
299
+ "id": "a2b36afb-f5ae-427b-ad8f-be12da5e2ec4",
300
+ "name": "gridColor",
301
+ "editable": true,
302
+ "jsonSource": "setta_files/setta-settings.json"
303
+ },
304
+ "7ae66c69-3261-4882-a983-26b9bcf35063": {
305
+ "id": "7ae66c69-3261-4882-a983-26b9bcf35063",
306
+ "name": "gridColorDarkMode",
307
+ "editable": true,
308
+ "jsonSource": "setta_files/setta-settings.json"
309
+ },
310
+ "d20faabd-e69e-40e6-bc6a-6ac29d7afbf0": {
311
+ "id": "d20faabd-e69e-40e6-bc6a-6ac29d7afbf0",
312
+ "name": "gridPattern",
313
+ "editable": true,
314
+ "jsonSource": "setta_files/setta-settings.json"
315
+ },
316
+ "b387688a-a761-4396-b99a-b60945d2db0a": {
317
+ "id": "b387688a-a761-4396-b99a-b60945d2db0a",
318
+ "name": "showDefaultConfigOnLoad",
319
+ "editable": true,
320
+ "jsonSource": "setta_files/setta-settings.json"
321
+ },
322
+ "03b2da1e-f288-40fa-ad3c-881a6a4f186f": {
323
+ "id": "03b2da1e-f288-40fa-ad3c-881a6a4f186f",
324
+ "name": "inferImports",
325
+ "editable": true,
326
+ "jsonSource": "setta_files/setta-settings.json"
327
+ },
328
+ "7f9492a2-ce79-43ea-8778-49e256e3efaa": {
329
+ "id": "7f9492a2-ce79-43ea-8778-49e256e3efaa",
330
+ "name": "autosave",
331
+ "editable": true,
332
+ "jsonSource": "setta_files/setta-settings.json"
333
+ },
334
+ "b50f0c10-0115-4619-92e9-cc955539b72c": {
335
+ "id": "b50f0c10-0115-4619-92e9-cc955539b72c",
336
+ "name": "autobackup",
337
+ "editable": true,
338
+ "jsonSource": "setta_files/setta-settings.json"
339
+ },
340
+ "15e8e73b-69ed-42cb-8970-06f09617d0b2": {
341
+ "id": "15e8e73b-69ed-42cb-8970-06f09617d0b2",
342
+ "name": "leftSidePaneShiftsMap",
343
+ "editable": true,
344
+ "jsonSource": "setta_files/setta-settings.json"
345
+ },
346
+ "581e7d04-9e4c-4f63-bec9-7f7d809e7f8e": {
347
+ "id": "581e7d04-9e4c-4f63-bec9-7f7d809e7f8e",
348
+ "name": "panOnDrag",
349
+ "editable": true,
350
+ "jsonSource": "setta_files/setta-settings.json"
351
+ },
352
+ "f7ffcc87-4649-4f8b-9d4b-8276f0ed3af7": {
353
+ "id": "f7ffcc87-4649-4f8b-9d4b-8276f0ed3af7",
354
+ "name": "panOnScroll",
355
+ "editable": true,
356
+ "jsonSource": "setta_files/setta-settings.json"
357
+ },
358
+ "fbeb8bd7-dfe7-497a-9920-83450e875501": {
359
+ "id": "fbeb8bd7-dfe7-497a-9920-83450e875501",
360
+ "name": "zoomOnScroll",
361
+ "editable": true,
362
+ "jsonSource": "setta_files/setta-settings.json"
363
+ },
364
+ "fc1c467d-b745-46b6-8f8b-94f239e0abd8": {
365
+ "id": "fc1c467d-b745-46b6-8f8b-94f239e0abd8",
366
+ "name": "zoomOnPinch",
367
+ "editable": true,
368
+ "jsonSource": "setta_files/setta-settings.json"
369
+ },
370
+ "17466622-a5fb-4be8-8525-f06c88daae82": {
371
+ "id": "17466622-a5fb-4be8-8525-f06c88daae82",
372
+ "name": "zoomOnDoubleClick",
373
+ "editable": true,
374
+ "jsonSource": "setta_files/setta-settings.json"
375
+ },
376
+ "85dafdca-efa6-43bc-9421-b65dd9614862": {
377
+ "id": "85dafdca-efa6-43bc-9421-b65dd9614862",
378
+ "name": "clearTerminalBeforeMarkingAsReady",
379
+ "editable": true,
380
+ "jsonSource": "setta_files/setta-settings.json"
381
+ },
382
+ "df31626d-bb5c-44db-a72e-ea1ed9ddc57c": {
383
+ "id": "df31626d-bb5c-44db-a72e-ea1ed9ddc57c",
384
+ "name": "exportDbRawOnSave",
385
+ "editable": true,
386
+ "jsonSource": "setta_files/setta-settings.json"
387
+ },
388
+ "60185329-1eeb-439c-8830-e7fb77f44568": {
389
+ "id": "60185329-1eeb-439c-8830-e7fb77f44568",
390
+ "name": "exportDbReadableOnSave",
391
+ "editable": true,
392
+ "jsonSource": "setta_files/setta-settings.json"
393
+ },
394
+ "69b37725-50e6-4ddb-bd6c-f804f79e7c5a": {
395
+ "id": "69b37725-50e6-4ddb-bd6c-f804f79e7c5a",
396
+ "name": "exportDbReadableWithVariantsOnSave",
397
+ "editable": true,
398
+ "jsonSource": "setta_files/setta-settings.json"
399
+ },
400
+ "24a214fd-f10b-44f6-a6f4-0693538ee08d": {
401
+ "id": "24a214fd-f10b-44f6-a6f4-0693538ee08d",
402
+ "name": "saveRenderedValues",
403
+ "editable": true,
404
+ "jsonSource": "setta_files/setta-settings.json"
405
+ }
406
+ },
407
+ "codeInfoCols": {
408
+ "088e4b38-c05d-4b28-ab20-18763c0ac73d": {
409
+ "children": {}
410
+ },
411
+ "5f3093c9-2baa-4a46-b5ae-a36a7c1f17f2": {
412
+ "children": {
413
+ "b4b236b6-ec70-40cc-8765-8d1a30c1e572": [],
414
+ "d20faabd-e69e-40e6-bc6a-6ac29d7afbf0": [],
415
+ "a2b36afb-f5ae-427b-ad8f-be12da5e2ec4": [],
416
+ "7ae66c69-3261-4882-a983-26b9bcf35063": [],
417
+ "581e7d04-9e4c-4f63-bec9-7f7d809e7f8e": [],
418
+ "f7ffcc87-4649-4f8b-9d4b-8276f0ed3af7": [],
419
+ "db7b5f4e-ee15-4f9a-9bab-fa84de3f5c00": [],
420
+ "fbeb8bd7-dfe7-497a-9920-83450e875501": [],
421
+ "fc1c467d-b745-46b6-8f8b-94f239e0abd8": [],
422
+ "17466622-a5fb-4be8-8525-f06c88daae82": [],
423
+ "5ec98205-d06c-4f13-9115-1d5eec76555b": [],
424
+ "15e8e73b-69ed-42cb-8970-06f09617d0b2": []
425
+ }
426
+ },
427
+ "c88201be-0ff6-4f54-be88-6d2e448dcee8": {
428
+ "children": {
429
+ "b387688a-a761-4396-b99a-b60945d2db0a": [],
430
+ "03b2da1e-f288-40fa-ad3c-881a6a4f186f": [],
431
+ "7f9492a2-ce79-43ea-8778-49e256e3efaa": [],
432
+ "b50f0c10-0115-4619-92e9-cc955539b72c": [],
433
+ "85dafdca-efa6-43bc-9421-b65dd9614862": [],
434
+ "df31626d-bb5c-44db-a72e-ea1ed9ddc57c": [],
435
+ "60185329-1eeb-439c-8830-e7fb77f44568": [],
436
+ "69b37725-50e6-4ddb-bd6c-f804f79e7c5a": [],
437
+ "24a214fd-f10b-44f6-a6f4-0693538ee08d": []
438
+ }
439
+ },
440
+ "ed42bd5c-edfb-4620-8477-58bbb84ee69b": {
441
+ "children": {}
442
+ },
443
+ "baa5c9db-c2db-42c7-9cab-fda5cadf861c": {
444
+ "children": {}
445
+ }
446
+ }
276
447
  }