@vectoriox/iox-ui 4.2.10 → 4.2.11
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
|
@@ -419,6 +419,13 @@ interface EditableNode$1 {
|
|
|
419
419
|
default: any;
|
|
420
420
|
}>;
|
|
421
421
|
}
|
|
422
|
+
/**
|
|
423
|
+
* Directive-host Heading: the real `<h1>`…`<h6>` IS the host — no `app-builder-heading`
|
|
424
|
+
* wrapper, no inner/outer split. The tag is chosen by whoever CREATES the component
|
|
425
|
+
* (engine: `createComponent({ hostElement: document.createElement(level) })`; builder:
|
|
426
|
+
* RenderDirective does the same), NOT by an internal ngSwitch. `level` is kept as an input
|
|
427
|
+
* for that creation logic + serialization. Editing (contenteditable) runs in the builder only.
|
|
428
|
+
*/
|
|
422
429
|
declare class BuilderHeadingComponent implements OnInit {
|
|
423
430
|
private events;
|
|
424
431
|
private cdr;
|
|
@@ -429,14 +436,14 @@ declare class BuilderHeadingComponent implements OnInit {
|
|
|
429
436
|
editing: boolean;
|
|
430
437
|
constructor(events: IBuilderEventEmitter | null, cdr: ChangeDetectorRef);
|
|
431
438
|
ngOnInit(): void;
|
|
432
|
-
onMouseDown(event:
|
|
433
|
-
startEdit(event:
|
|
439
|
+
onMouseDown(event: Event): void;
|
|
440
|
+
startEdit(event: Event): void;
|
|
434
441
|
commitEdit(event: FocusEvent): void;
|
|
435
|
-
onKeyDown(event:
|
|
442
|
+
onKeyDown(event: Event): void;
|
|
436
443
|
private isBound;
|
|
437
444
|
private syncTraitToPanel;
|
|
438
445
|
static ɵfac: i0.ɵɵFactoryDeclaration<BuilderHeadingComponent, [{ optional: true; }, null]>;
|
|
439
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BuilderHeadingComponent, "
|
|
446
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BuilderHeadingComponent, "h1[iox-heading],h2[iox-heading],h3[iox-heading],h4[iox-heading],h5[iox-heading],h6[iox-heading]", never, { "content": { "alias": "content"; "required": false; }; "level": { "alias": "level"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; "node": { "alias": "node"; "required": false; }; }, {}, never, never, false, never>;
|
|
440
447
|
}
|
|
441
448
|
|
|
442
449
|
interface EditableNode {
|
|
@@ -448,6 +455,12 @@ interface EditableNode {
|
|
|
448
455
|
default: any;
|
|
449
456
|
}>;
|
|
450
457
|
}
|
|
458
|
+
/**
|
|
459
|
+
* Directive-host Text: the real `<p>`/`<span>` IS the host — no `app-text-block` wrapper,
|
|
460
|
+
* no inner/outer split. The tag is chosen by whoever CREATES the component (engine/builder
|
|
461
|
+
* pass `hostElement`), NOT an internal ngSwitch. Content is rich HTML (Quill) → bound via
|
|
462
|
+
* `[innerHTML]` on the host. Editing (contenteditable) runs in the builder only.
|
|
463
|
+
*/
|
|
451
464
|
declare class TextBlockComponent implements OnInit {
|
|
452
465
|
private events;
|
|
453
466
|
private cdr;
|
|
@@ -461,16 +474,16 @@ declare class TextBlockComponent implements OnInit {
|
|
|
461
474
|
editing: boolean;
|
|
462
475
|
constructor(events: IBuilderEventEmitter | null, cdr: ChangeDetectorRef);
|
|
463
476
|
ngOnInit(): void;
|
|
464
|
-
onPointerDown(event:
|
|
465
|
-
onMouseDown(event:
|
|
466
|
-
startEdit(event:
|
|
467
|
-
onPaste(event:
|
|
468
|
-
commitEdit(event:
|
|
469
|
-
onKeyDown(event:
|
|
477
|
+
onPointerDown(event: Event): void;
|
|
478
|
+
onMouseDown(event: Event): void;
|
|
479
|
+
startEdit(event: Event): void;
|
|
480
|
+
onPaste(event: Event): void;
|
|
481
|
+
commitEdit(event: Event): void;
|
|
482
|
+
onKeyDown(event: Event): void;
|
|
470
483
|
private isBound;
|
|
471
484
|
private syncTraitToPanel;
|
|
472
485
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextBlockComponent, [{ optional: true; }, null]>;
|
|
473
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextBlockComponent, "
|
|
486
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextBlockComponent, "p[iox-text],span[iox-text]", never, { "content": { "alias": "content"; "required": false; }; "tag": { "alias": "tag"; "required": false; }; "style": { "alias": "style"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; "node": { "alias": "node"; "required": false; }; }, {}, never, never, false, never>;
|
|
474
487
|
}
|
|
475
488
|
|
|
476
489
|
/** Directive-host section: the `<section>` IS the host — no wrapper, no inner/outer split. */
|
|
@@ -521,17 +534,23 @@ declare class ClientRepeaterComponent {
|
|
|
521
534
|
static ɵcmp: i0.ɵɵComponentDeclaration<ClientRepeaterComponent, "iox-repeater", never, { "nodeId": { "alias": "nodeId"; "required": false; }; }, {}, never, never, false, never>;
|
|
522
535
|
}
|
|
523
536
|
|
|
537
|
+
/**
|
|
538
|
+
* Directive-host ButtonBlock: the real `<a>`/`<button>` IS the host — no `app-button-block`
|
|
539
|
+
* wrapper, no inner/outer split. The tag is chosen by whoever CREATES the component (engine
|
|
540
|
+
* passes `hostElement`: `<a>` when `tag==='a'`, else `<button>`), NOT an internal `*ngIf`.
|
|
541
|
+
* The `iox-btn-block` class (UA resets: inline-flex, color/font inherit, no border) matches the
|
|
542
|
+
* string renderer and lives in the engine's global styles.scss — kept OFF `:host` so styleProps
|
|
543
|
+
* (`.iox-node-{id}`) can override it. Children render into the host via `childrenHost`.
|
|
544
|
+
*/
|
|
524
545
|
declare class ButtonBlockComponent {
|
|
525
546
|
tag: 'button' | 'a';
|
|
526
547
|
href: string;
|
|
527
548
|
target: '_self' | '_blank';
|
|
528
549
|
type: 'button' | 'submit' | 'reset';
|
|
529
550
|
nodeId: string;
|
|
530
|
-
|
|
531
|
-
linkHost?: ViewContainerRef;
|
|
532
|
-
get childrenHost(): ViewContainerRef | undefined;
|
|
551
|
+
childrenHost: ViewContainerRef;
|
|
533
552
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonBlockComponent, never>;
|
|
534
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonBlockComponent, "
|
|
553
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonBlockComponent, "a[iox-button-block],button[iox-button-block]", never, { "tag": { "alias": "tag"; "required": false; }; "href": { "alias": "href"; "required": false; }; "target": { "alias": "target"; "required": false; }; "type": { "alias": "type"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; }, {}, never, never, false, never>;
|
|
535
554
|
}
|
|
536
555
|
|
|
537
556
|
declare class ClientSliderContainerComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
@@ -595,35 +614,31 @@ declare class ClientSliderSlideComponent {
|
|
|
595
614
|
}
|
|
596
615
|
|
|
597
616
|
/**
|
|
598
|
-
*
|
|
599
|
-
*
|
|
600
|
-
* `
|
|
601
|
-
*
|
|
602
|
-
* The host is chosen from a `*ngIf` branch, so its ViewContainerRef only resolves after change
|
|
603
|
-
* detection — ClientTreeRendererService detects changes before reading `childrenHost`.
|
|
617
|
+
* Directive-host List: the real `<ul>`/`<ol>` IS the host — no `iox-list` wrapper, no
|
|
618
|
+
* inner/outer split. The tag is chosen by whoever CREATES the component (engine passes
|
|
619
|
+
* `hostElement: document.createElement(htmlTag)`), NOT an internal `*ngIf`. Children render
|
|
620
|
+
* into the host via `childrenHost`. `start`/`reversed` are host attrs (only meaningful on `<ol>`).
|
|
604
621
|
*/
|
|
605
622
|
declare class ClientListComponent {
|
|
606
623
|
htmlTag: 'ul' | 'ol';
|
|
607
624
|
start: string | number;
|
|
608
625
|
reversed: boolean;
|
|
609
626
|
nodeId: string;
|
|
610
|
-
|
|
611
|
-
private ulHost?;
|
|
612
|
-
get childrenHost(): ViewContainerRef | undefined;
|
|
627
|
+
childrenHost: ViewContainerRef;
|
|
613
628
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClientListComponent, never>;
|
|
614
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClientListComponent, "iox-list", never, { "htmlTag": { "alias": "htmlTag"; "required": false; }; "start": { "alias": "start"; "required": false; }; "reversed": { "alias": "reversed"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; }, {}, never, never, false, never>;
|
|
629
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClientListComponent, "ul[iox-list],ol[iox-list]", never, { "htmlTag": { "alias": "htmlTag"; "required": false; }; "start": { "alias": "start"; "required": false; }; "reversed": { "alias": "reversed"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; }, {}, never, never, false, never>;
|
|
615
630
|
}
|
|
616
631
|
|
|
617
632
|
/**
|
|
618
|
-
*
|
|
619
|
-
*
|
|
620
|
-
*
|
|
633
|
+
* Directive-host List item: the real `<li>` IS the host — no `iox-list-item` wrapper, no
|
|
634
|
+
* inner/outer split. Children render into the `<li>` via `childrenHost`. Fixed tag (`<li>`),
|
|
635
|
+
* so the engine creates it with `vcr.createComponent` (no `hostElement` needed).
|
|
621
636
|
*/
|
|
622
637
|
declare class ClientListItemComponent {
|
|
623
638
|
nodeId: string;
|
|
624
639
|
childrenHost: ViewContainerRef;
|
|
625
640
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClientListItemComponent, never>;
|
|
626
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClientListItemComponent, "iox-list-item", never, { "nodeId": { "alias": "nodeId"; "required": false; }; }, {}, never, never, false, never>;
|
|
641
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClientListItemComponent, "li[iox-list-item]", never, { "nodeId": { "alias": "nodeId"; "required": false; }; }, {}, never, never, false, never>;
|
|
627
642
|
}
|
|
628
643
|
|
|
629
644
|
declare class IoxBuilderComponentsModule {
|