MCPcopy Create free account
hub / github.com/eclipsesource/jsonforms / composeWithUi

Function composeWithUi

packages/core/src/util/uischema.ts:98–110  ·  view source on GitHub ↗
(scopableUi: Scopable, path: string)

Source from the content-addressed store, hash-verified

96};
97
98export const composeWithUi = (scopableUi: Scopable, path: string): string => {
99 if (!isScoped(scopableUi)) {
100 return path ?? '';
101 }
102
103 const segments = toDataPathSegments(scopableUi.scope);
104
105 if (isEmpty(segments)) {
106 return path ?? '';
107 }
108
109 return compose(path, segments.join('.'));
110};
111
112export const isInternationalized = (
113 element: unknown

Callers 3

mapStateToControlPropsFunction · 0.90
getConditionScopeFunction · 0.90
onSelectMethod · 0.90

Calls 3

toDataPathSegmentsFunction · 0.90
composeFunction · 0.90
isScopedFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…