@vectoriox/iox-builder 11.45.0 → 11.47.0
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.
|
@@ -13055,6 +13055,8 @@ class BuilderContainerComponent {
|
|
|
13055
13055
|
this._formState = 'idle';
|
|
13056
13056
|
/** A form's After sending (premium M5): `toast` keeps its fields — the Form trait, read on a form host only. */
|
|
13057
13057
|
this.afterSend = '';
|
|
13058
|
+
/** The Form's `formId` trait — written as `data-iox-form` (the shared sign-up row keys off its preset prefix). */
|
|
13059
|
+
this.formId = '';
|
|
13058
13060
|
this.childClick = new EventEmitter();
|
|
13059
13061
|
this.childMouseEnter = new EventEmitter();
|
|
13060
13062
|
this.childMouseLeave = new EventEmitter();
|
|
@@ -13081,7 +13083,7 @@ class BuilderContainerComponent {
|
|
|
13081
13083
|
this.dragEngine.handleDrop(this.children, event, this.dropListId, this.cdr);
|
|
13082
13084
|
}
|
|
13083
13085
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.31", ngImport: i0, type: BuilderContainerComponent, deps: [{ token: i0.ElementRef }, { token: DragEngineService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13084
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: BuilderContainerComponent, isStandalone: false, selector: "div[iox-container],section[iox-container],article[iox-container],header[iox-container],footer[iox-container],main[iox-container],nav[iox-container],ul[iox-container],ol[iox-container],li[iox-container],form[iox-container]", inputs: { children: "children", style: "style", nodeId: "nodeId", dropListId: "dropListId", htmlTag: "htmlTag", start: "start", reversed: "reversed", formClass: "formClass", formState: "formState", afterSend: "afterSend" }, outputs: { childClick: "childClick", childMouseEnter: "childMouseEnter", childMouseLeave: "childMouseLeave" }, host: { properties: { "class": "'container-root iox-node-' + nodeId + (listOrientation === 'horizontal' ? ' is-horizontal' : '') + (formClass ? ' ' + formClass : '')", "attr.data-iox-state": "formClass === \"iox-form\" ? formState : null", "attr.data-iox-after-send": "formClass === \"iox-form\" && afterSend === \"toast\" ? \"toast\" : null", "attr.start": "htmlTag === 'ol' && start !== 1 ? start : null", "attr.reversed": "htmlTag === 'ol' && reversed ? '' : null", "attr.data-iox-item-key": "node?.itemKey ?? null" } }, ngImport: i0, template: `
|
|
13086
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.31", type: BuilderContainerComponent, isStandalone: false, selector: "div[iox-container],section[iox-container],article[iox-container],header[iox-container],footer[iox-container],main[iox-container],nav[iox-container],ul[iox-container],ol[iox-container],li[iox-container],form[iox-container]", inputs: { children: "children", style: "style", nodeId: "nodeId", dropListId: "dropListId", htmlTag: "htmlTag", start: "start", reversed: "reversed", formClass: "formClass", formState: "formState", afterSend: "afterSend", formId: "formId" }, outputs: { childClick: "childClick", childMouseEnter: "childMouseEnter", childMouseLeave: "childMouseLeave" }, host: { properties: { "class": "'container-root iox-node-' + nodeId + (listOrientation === 'horizontal' ? ' is-horizontal' : '') + (formClass ? ' ' + formClass : '')", "attr.data-iox-state": "formClass === \"iox-form\" ? formState : null", "attr.data-iox-after-send": "formClass === \"iox-form\" && afterSend === \"toast\" ? \"toast\" : null", "attr.data-iox-form": "formClass === \"iox-form\" ? (formId || null) : null", "attr.start": "htmlTag === 'ol' && start !== 1 ? start : null", "attr.reversed": "htmlTag === 'ol' && reversed ? '' : null", "attr.data-iox-item-key": "node?.itemKey ?? null" } }, ngImport: i0, template: `
|
|
13085
13087
|
<!-- Empty-container slot (B2). pointer-events:none, so a click falls through and SELECTS
|
|
13086
13088
|
this container — and the components panel then inserts INSIDE it. -->
|
|
13087
13089
|
<div *ngIf="!children.length" class="container-placeholder" data-iox-chrome>
|
|
@@ -13168,6 +13170,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
|
|
|
13168
13170
|
'[attr.data-iox-state]': 'formClass === "iox-form" ? formState : null',
|
|
13169
13171
|
// Premium M5: a form that keeps its fields after sending — the shared CSS keeps them on screen in every state.
|
|
13170
13172
|
'[attr.data-iox-after-send]': 'formClass === "iox-form" && afterSend === "toast" ? "toast" : null',
|
|
13173
|
+
// The form's id, as the engine writes it: the shared CSS lays a newsletter's sign-up row by it (`newsletter-…`).
|
|
13174
|
+
'[attr.data-iox-form]': 'formClass === "iox-form" ? (formId || null) : null',
|
|
13171
13175
|
'[attr.start]': "htmlTag === 'ol' && start !== 1 ? start : null",
|
|
13172
13176
|
'[attr.reversed]': "htmlTag === 'ol' && reversed ? '' : null",
|
|
13173
13177
|
// An item's identity (an accordion item, or a disclosure) — the runtime pairs its header and panel ids from it.
|
|
@@ -13193,6 +13197,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.31", ngImpo
|
|
|
13193
13197
|
type: Input
|
|
13194
13198
|
}], afterSend: [{
|
|
13195
13199
|
type: Input
|
|
13200
|
+
}], formId: [{
|
|
13201
|
+
type: Input
|
|
13196
13202
|
}], childClick: [{
|
|
13197
13203
|
type: Output
|
|
13198
13204
|
}], childMouseEnter: [{
|