@vectoriox/iox-builder 2.3.0 → 2.3.1

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.
@@ -5574,6 +5574,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
5574
5574
  * Examples: 'title', 'author.name', 'tags[0]', 'items[2].title'
5575
5575
  */
5576
5576
  function resolvePath(obj, path) {
5577
+ // Empty path (or `$`) means "the value itself" — used to bind to an item that IS a primitive
5578
+ // (e.g. a Repeater over `gallery: string[]`, where each item is the URL string). See
5579
+ // binding-panel-redesign-plan.md.
5580
+ if (path === '' || path === '$' || path == null)
5581
+ return obj;
5577
5582
  return path.split('.').reduce((current, key) => {
5578
5583
  if (current == null)
5579
5584
  return undefined;