@vectoriox/iox-builder 9.11.0 → 9.11.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.
|
@@ -10705,6 +10705,8 @@ class BuilderButtonBlockComponent {
|
|
|
10705
10705
|
this.elRef = elRef;
|
|
10706
10706
|
this.dragEngine = dragEngine;
|
|
10707
10707
|
this.cdr = cdr;
|
|
10708
|
+
/** The node this button renders (assigned by RenderDirective, never an input). */
|
|
10709
|
+
this.node = null;
|
|
10708
10710
|
this.children = [];
|
|
10709
10711
|
this.style = {};
|
|
10710
10712
|
this.tag = 'button';
|
|
@@ -10734,7 +10736,7 @@ class BuilderButtonBlockComponent {
|
|
|
10734
10736
|
this.dragEngine.handleDrop(this.children, event, this.dropListId, this.cdr);
|
|
10735
10737
|
}
|
|
10736
10738
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BuilderButtonBlockComponent, deps: [{ token: i0.ElementRef }, { token: DragEngineService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10737
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: BuilderButtonBlockComponent, isStandalone: false, selector: "button[iox-button-block],a[iox-button-block]", inputs: { children: "children", style: "style", tag: "tag", linkType: "linkType", href: "href", pageRoute: "pageRoute", target: "target", type: "type", nodeId: "nodeId", dropListId: "dropListId" }, outputs: { childClick: "childClick", childMouseEnter: "childMouseEnter", childMouseLeave: "childMouseLeave" }, host: { properties: { "class": "'button-block-root iox-node-' + nodeId", "attr.href": "resolvedHref", "attr.target": "tag === 'a' ? (target || null) : null", "attr.type": "tag === 'a' ? null : type" } }, ngImport: i0, template: `
|
|
10739
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.31", type: BuilderButtonBlockComponent, isStandalone: false, selector: "button[iox-button-block],a[iox-button-block]", inputs: { children: "children", style: "style", tag: "tag", linkType: "linkType", href: "href", pageRoute: "pageRoute", target: "target", type: "type", nodeId: "nodeId", dropListId: "dropListId" }, outputs: { childClick: "childClick", childMouseEnter: "childMouseEnter", childMouseLeave: "childMouseLeave" }, host: { properties: { "class": "'button-block-root iox-node-' + nodeId", "attr.href": "resolvedHref", "attr.target": "tag === 'a' ? (target || null) : null", "attr.type": "tag === 'a' ? null : type", "attr.data-iox-item-key": "node?.itemKey ?? null" } }, ngImport: i0, template: `
|
|
10738
10740
|
<span *ngIf="!children.length" class="button-block-placeholder" data-iox-chrome>Button</span>
|
|
10739
10741
|
|
|
10740
10742
|
<!-- WRAPPER COLLAPSE (task 9c): render children directly into the host; iox-outer + drag land
|
|
@@ -10767,6 +10769,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
|
|
|
10767
10769
|
'[attr.href]': 'resolvedHref',
|
|
10768
10770
|
'[attr.target]': "tag === 'a' ? (target || null) : null",
|
|
10769
10771
|
'[attr.type]': "tag === 'a' ? null : type",
|
|
10772
|
+
// A tab's identity (CC4a): the exclusive runtime pairs it with its panel by this key, as an accordion item's.
|
|
10773
|
+
'[attr.data-iox-item-key]': 'node?.itemKey ?? null',
|
|
10770
10774
|
}, standalone: false, styles: [":host{box-sizing:border-box}.button-block-placeholder{flex:1;display:flex;align-items:center;justify-content:center;color:#64748b66;font-size:12px;pointer-events:none;-webkit-user-select:none;user-select:none}:host ::ng-deep>[class*=iox-outer-]{min-width:0}\n"] }]
|
|
10771
10775
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: DragEngineService }, { type: i0.ChangeDetectorRef }], propDecorators: { children: [{
|
|
10772
10776
|
type: Input
|