@kris701/ez-ui 1.1.15 → 1.1.16

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.
@@ -1,7 +1,7 @@
1
1
  import * as i2$1 from '@angular/common';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
- import { EventEmitter, Output, Input, Component, signal, ViewChild, ContentChild, Directive, inject } from '@angular/core';
4
+ import { EventEmitter, Output, Input, Component, signal, ViewChild, ContentChild, Directive, inject, viewChild } from '@angular/core';
5
5
  import * as i1 from '@angular/forms';
6
6
  import { FormsModule } from '@angular/forms';
7
7
  import * as i3$1 from '@taiga-ui/core';
@@ -5336,13 +5336,13 @@ class EzUILayout {
5336
5336
  ...(ngDevMode ? [{ debugName: "sidebarFooterItems" }] : /* istanbul ignore next */ []));
5337
5337
  topbarright;
5338
5338
  topbarlogo;
5339
- sidebar;
5339
+ sidebar = viewChild("sidebar", /* @ts-ignore */
5340
+ ...(ngDevMode ? [{ debugName: "sidebar" }] : /* istanbul ignore next */ []));
5340
5341
  forceLoadSidebar() {
5341
- if (this.sidebar)
5342
- this.sidebar.initialize();
5342
+ this.sidebar()?.initialize();
5343
5343
  }
5344
5344
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: EzUILayout, deps: [], target: i0.ɵɵFactoryTarget.Component });
5345
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.0", type: EzUILayout, isStandalone: true, selector: "ezui-layout", inputs: { sidebarItems: "sidebarItems", sidebarFooterItems: "sidebarFooterItems" }, queries: [{ propertyName: "topbarright", first: true, predicate: ["topbarright"], descendants: true }, { propertyName: "topbarlogo", first: true, predicate: ["topbarlogo"], descendants: true }, { propertyName: "sidebar", first: true, predicate: ["sidebar"], descendants: true }], ngImport: i0, template: `
5345
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.0", type: EzUILayout, isStandalone: true, selector: "ezui-layout", inputs: { sidebarItems: "sidebarItems", sidebarFooterItems: "sidebarFooterItems" }, queries: [{ propertyName: "topbarright", first: true, predicate: ["topbarright"], descendants: true }, { propertyName: "topbarlogo", first: true, predicate: ["topbarlogo"], descendants: true }], viewQueries: [{ propertyName: "sidebar", first: true, predicate: ["sidebar"], descendants: true, isSignal: true }], ngImport: i0, template: `
5346
5346
  <tui-root class="rootContainer">
5347
5347
  <div class="layout-wrapper">
5348
5348
  <ezui-topbar></ezui-topbar>
@@ -5385,10 +5385,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImpor
5385
5385
  }], topbarlogo: [{
5386
5386
  type: ContentChild,
5387
5387
  args: ['topbarlogo', { static: false }]
5388
- }], sidebar: [{
5389
- type: ContentChild,
5390
- args: ['sidebar', { static: false }]
5391
- }] } });
5388
+ }], sidebar: [{ type: i0.ViewChild, args: ["sidebar", { isSignal: true }] }] } });
5392
5389
 
5393
5390
  // Components
5394
5391