Creates an inspector mounted inside the given element.
The host element that will contain the inspector.
Optional style/class overrides for the inspector layout.
ProtectedhostProtectedconfigProtectedreadonlyProtecteddefinitionsProtectedadaptersProtectedsyncingProtecteddataProtectedcellsStaticregisterRegisters an adapter class under a given name for later resolution by adapter/type name.
Lookup key used in property definitions.
The adapter constructor to register.
ProtectedsyncEvaluates every row's isVisible() callback and toggles the 'is-hidden' CSS class on its label and value cells. Also hides sections whose every row is hidden. Subclasses may override to apply additional visibility rules.
StaticunregisterRemoves a previously registered adapter by name.
The lookup key of the adapter to remove.
StaticgetReturns the adapter class registered under a given name, or undefined if not found.
The lookup key.
The registered adapter class, or undefined.
Releases DOM and event resources owned by the control.
ProtectedregisterRegisters built-in native adapters. Subclasses override to add domain-specific adapters.
Registers a property definition that can be rendered into a row.
ProtectedaddRegisters a property definition and immediately builds its row in the given grid. Stores the value cell for targeted updates by refresh().
ProtectedonHook for subclasses to apply model changes when an adapter emits a user edit.
ProtectedresolveDerives the overall selection state from the item count and value diversity.
Number of currently selected nodes.
Per-key value sets collected from the selection.
'none', 'single', or 'mixed'.
ProtectedapplyApplies selection-state CSS classes to the inspector host element.
The current selection state to reflect.
ProtectedreadReads a value from a flat or nested record using the registered adapter for the key. Falls back to dot-path traversal if no adapter is registered.
The source data record.
The property key, supporting dot-separated paths.
The resolved value, or undefined if not found.
ProtectedgetTraverses a dot-separated path inside a record and returns the leaf value.
The root record to traverse.
Dot-separated property path, e.g. 'shadowStyle.offset.x'.
The value at the path, or undefined if any segment is missing.
ProtectedaddAdds a value to a set while deduplicating object values by shallow first-level comparison.
ProtectedshallowCompares two objects using only first-level keys and values.
ProtectedvalueGenerates a stable token for first-level value comparison.
ProtectedbuildCreates a collapsible section element with a heading and a two-column property grid inside. Returns the section root and the inner grid so rows can be appended to it.
ProtectedbuildCreates and appends a label + control row into the given grid. Returns the value cell so callers can populate it with a specific control.
ProtectedremoveRemoves all rows marked as volatile from the given grid. Returns the removed keys so subclasses can clear any companion maps.
ProtectedbuildCreates the appropriate inspector adapter for the given property definition and mounts it into the value cell.
Generic sectioned inspector that renders property rows and syncs adapter values.