@shwfed/config 2.1.1 → 2.2.0

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 (41) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.d.vue.ts +8 -2
  3. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.vue.d.ts +8 -2
  4. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.d.vue.ts +8 -2
  5. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.vue.d.ts +8 -2
  6. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/schema.d.ts +8 -2
  7. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +8 -2
  8. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +8 -2
  9. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +8 -2
  10. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +8 -2
  11. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +12 -3
  12. package/dist/runtime/components/form/config.vue +36 -5
  13. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/config.d.vue.ts +8 -2
  14. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/config.vue +51 -15
  15. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/config.vue.d.ts +8 -2
  16. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/runtime.vue +16 -5
  17. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/schema.d.ts +9 -1
  18. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/schema.js +25 -4
  19. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.d.vue.ts +2 -2
  20. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue.d.ts +2 -2
  21. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.d.vue.ts +14 -0
  22. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.vue +22 -0
  23. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.vue.d.ts +14 -0
  24. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/runtime.vue +110 -22
  25. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.d.ts +14 -0
  26. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.js +4 -0
  27. package/dist/runtime/components/form/index.vue +4 -1
  28. package/dist/runtime/components/form/schema.d.ts +14 -4
  29. package/dist/runtime/components/form/schema.js +30 -10
  30. package/dist/runtime/components/form/utils/initial.d.ts +26 -0
  31. package/dist/runtime/components/form/utils/initial.js +11 -0
  32. package/dist/runtime/components/table/index.vue +3 -1
  33. package/dist/runtime/components/table/schema.d.ts +16 -4
  34. package/dist/runtime/utils/interpolate.d.ts +1 -0
  35. package/dist/runtime/utils/interpolate.js +7 -0
  36. package/dist/runtime/vendor/cel-js/CLAUDE.md +1 -1
  37. package/dist/runtime/vendor/cel-js/PROMPT.md +3 -7
  38. package/dist/runtime/vendor/cel-js/lib/http-builder.d.ts +4 -3
  39. package/dist/runtime/vendor/cel-js/lib/http-builtins.d.ts +3 -3
  40. package/dist/runtime/vendor/cel-js/lib/http-builtins.js +0 -4
  41. package/package.json +1 -1
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Registers the `http` / `HttpRequest` types, the `http` constant, and the
5
5
  * request-builder functions on the registry. `http.get(url).header(...).body(...)`
6
- * builds an `HttpRequestBuilder`; the terminal `.file()` method issues the
7
- * request and evaluates to the downloaded `File`. `.json()` is *not* a CEL
8
- * method the host dispatches that on the returned builder value.
6
+ * builds an `HttpRequestBuilder` a pure *description* of a request. CEL never
7
+ * issues it: both `.json()` and `.file()` are dispatched by the host on the
8
+ * returned builder, so expression evaluation stays free of IO.
9
9
  *
10
10
  * Wired into `globalRegistry` at module load (see `evaluator.ts`), so every
11
11
  * `Environment` gets HTTP for free — both type-checking and evaluation.
@@ -52,8 +52,4 @@ export function registerHttpBuiltins(registry) {
52
52
  "HttpRequest.body(dyn): HttpRequest",
53
53
  (b, data) => b.body(data)
54
54
  );
55
- registry.registerFunctionOverload(
56
- "HttpRequest.file(): File",
57
- (b) => b.file()
58
- );
59
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shwfed/config",
3
- "version": "2.1.1",
3
+ "version": "2.2.0",
4
4
  "description": "Configurable UI for SHWFED",
5
5
  "type": "module",
6
6
  "publishConfig": {