@vectoriox/iox-builder 2.6.0 → 2.6.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.
package/package.json
CHANGED
|
@@ -1399,6 +1399,10 @@ declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDe
|
|
|
1399
1399
|
* scope, so the bindings panel needs the repeater to sample its current item (e.g. bind an
|
|
1400
1400
|
* Image to a `gallery` string item). Prefers the innermost repeater when nested. */
|
|
1401
1401
|
private findRepeaterAncestorOf;
|
|
1402
|
+
/** If `node` lives inside a Repeater template, tell that repeater to rebuild its preview rows so
|
|
1403
|
+
* a structural change (e.g. wrapping a template child) propagates to every repeated row. No-op
|
|
1404
|
+
* when the node is not inside a repeater. */
|
|
1405
|
+
private _refreshRepeaterFor;
|
|
1402
1406
|
/** Emit ELEMENT_SELECT with the ancestors the panels need (symbol + repeater item scope). */
|
|
1403
1407
|
private _emitElementSelect;
|
|
1404
1408
|
/** Read a node's current `display` value. The style panel mutates `styleTraits` in place at edit
|
|
@@ -1901,6 +1905,13 @@ declare class BuilderRepeaterComponent implements OnInit, OnDestroy {
|
|
|
1901
1905
|
private isInTemplate;
|
|
1902
1906
|
private refreshPreviews;
|
|
1903
1907
|
private applyFirstItemToTemplate;
|
|
1908
|
+
/** Apply item[0]'s bound values to the live template row, walking the WHOLE subtree — not just
|
|
1909
|
+
* direct children. A bound node can sit any level deep once a template child is wrapped in a
|
|
1910
|
+
* container (or otherwise nested), so recursion is required or the first row shows defaults. */
|
|
1911
|
+
private applyBindingsToNodes;
|
|
1912
|
+
/** Rebuild preview rows after the template STRUCTURE changed (e.g. a child was wrapped, deleted,
|
|
1913
|
+
* or moved). Deferred so the new DOM + overlay refs exist before bindings are re-applied. */
|
|
1914
|
+
refreshTemplate(): void;
|
|
1904
1915
|
static ɵfac: i0.ɵɵFactoryDeclaration<BuilderRepeaterComponent, never>;
|
|
1905
1916
|
static ɵcmp: i0.ɵɵComponentDeclaration<BuilderRepeaterComponent, "app-builder-repeater", never, { "children": { "alias": "children"; "required": false; }; "style": { "alias": "style"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; "dropListId": { "alias": "dropListId"; "required": false; }; "source": { "alias": "source"; "required": false; }; "sourcePath": { "alias": "sourcePath"; "required": false; }; "limit": { "alias": "limit"; "required": false; }; }, { "childClick": "childClick"; "childMouseEnter": "childMouseEnter"; "childMouseLeave": "childMouseLeave"; }, never, never, false, never>;
|
|
1906
1917
|
}
|