@object-ui/fields 13.2.0 → 14.0.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,51 @@
1
1
  # @object-ui/fields
2
2
 
3
+ ## 14.0.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 6a74160: Sharing-rule form: pick, don't type. Three new widget-hint field components make
8
+ the generic object form render pickers where an admin previously had to type
9
+ machine data (driven by the framework `widget` hints on `sys_sharing_rule`;
10
+ generalizes the `capability-multiselect` pattern). All degrade to the underlying
11
+ `type` renderer when a widget is unregistered.
12
+
13
+ - **`object-ref`** — choose a registered object by name (searchable `Combobox`),
14
+ backed by the new `DataSource.getObjects()` (`ObjectStackAdapter` lists code-
15
+ and DB-defined objects via `/api/v1/meta/object`), falling back to a
16
+ `sys_metadata` query. Stores the object's `name`.
17
+ - **`filter-condition`** — a visual criteria builder (`FilterBuilder`) scoped to
18
+ the fields of the object chosen in a sibling field (via `getObjectSchema`),
19
+ round-tripping the stored **MongoDB-style** FilterCondition JSON. Criteria the
20
+ builder can't represent (or invalid JSON) fall back to a raw-JSON editor, with
21
+ an always-available "Edit as JSON" toggle — nothing is hidden or lost.
22
+ - **`recipient-picker`** — a record picker whose target object follows a sibling
23
+ `recipient_type` (`user`→sys_user, `team`→sys_team, `business_unit`/
24
+ `unit_and_subordinates`→sys_business_unit, `position`→sys_position), storing the
25
+ value the evaluator matches on (a record id, or the position **name**). Resets
26
+ the stored id when the type changes.
27
+
28
+ Wiring: the three keys join `DATA_SOURCE_FIELD_TYPES` (form.tsx) so the form
29
+ threads `dataSource` + `dependentValues` to them, and `INLINE_EXCLUDED_FIELD_TYPES`
30
+ (they're authored in the record form, not a grid cell). `DataSource.getObjects()`
31
+ is optional on the interface; the ObjectStack adapter implements it.
32
+
33
+ ### Patch Changes
34
+
35
+ - Updated dependencies [443360a]
36
+ - Updated dependencies [c70bca7]
37
+ - Updated dependencies [86c69c3]
38
+ - Updated dependencies [05e56ca]
39
+ - Updated dependencies [a44e7b6]
40
+ - Updated dependencies [5971cc4]
41
+ - Updated dependencies [6a74160]
42
+ - @object-ui/core@14.0.0
43
+ - @object-ui/i18n@14.0.0
44
+ - @object-ui/react@14.0.0
45
+ - @object-ui/types@14.0.0
46
+ - @object-ui/components@14.0.0
47
+ - @object-ui/providers@14.0.0
48
+
3
49
  ## 13.2.0
4
50
 
5
51
  ### Patch Changes