@kris701/ez-ui 1.4.0 → 1.4.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.
@@ -7093,8 +7093,12 @@ class EzUISideBar {
7093
7093
  let index = 0;
7094
7094
  for (let item of from.items) {
7095
7095
  let subOpen = this.getOpenStatesRec(item);
7096
- for (let value of subOpen)
7097
- open.push(index + ";" + value);
7096
+ for (let value of subOpen) {
7097
+ if (value == "")
7098
+ open.push(index + "");
7099
+ else
7100
+ open.push(index + ";" + value);
7101
+ }
7098
7102
  index++;
7099
7103
  }
7100
7104
  }
@@ -7181,15 +7185,11 @@ class EzUISideBar {
7181
7185
  </footer>
7182
7186
  </aside>
7183
7187
  }
7184
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: i4$2.TuiAsideComponent, selector: "aside[tuiNavigationAside]", inputs: ["tuiNavigationAside"] }, { kind: "component", type: EzUISideBarItem, selector: "ezui-sidebar-item", inputs: ["item"], outputs: ["onItemClick"] }] });
7188
+ `, isInline: true, styles: ["::ng-deep tui-aside-group tui-expand tui-aside-group tui-expand [tuiAsideItem]{padding-inline-start:4rem!important}::ng-deep tui-aside-group tui-expand tui-aside-group tui-expand tui-aside-group tui-expand [tuiAsideItem]{padding-inline-start:6rem!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: i4$2.TuiAsideComponent, selector: "aside[tuiNavigationAside]", inputs: ["tuiNavigationAside"] }, { kind: "component", type: EzUISideBarItem, selector: "ezui-sidebar-item", inputs: ["item"], outputs: ["onItemClick"] }] });
7185
7189
  }
7186
7190
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: EzUISideBar, decorators: [{
7187
7191
  type: Component,
7188
- args: [{
7189
- selector: 'ezui-sidebar',
7190
- standalone: true,
7191
- imports: [CommonModule, TuiNavigation, EzUISideBarItem],
7192
- template: `
7192
+ args: [{ selector: 'ezui-sidebar', standalone: true, imports: [CommonModule, TuiNavigation, EzUISideBarItem], template: `
7193
7193
  @if(layoutService.isDesktop()){
7194
7194
  <aside style="height:100%" tuitheme="" [tuiNavigationAside]="layoutService.isMenuExpanded()">
7195
7195
  @for(item of sidebarItems(); track item){
@@ -7216,8 +7216,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImpor
7216
7216
  </footer>
7217
7217
  </aside>
7218
7218
  }
7219
- `
7220
- }]
7219
+ `, styles: ["::ng-deep tui-aside-group tui-expand tui-aside-group tui-expand [tuiAsideItem]{padding-inline-start:4rem!important}::ng-deep tui-aside-group tui-expand tui-aside-group tui-expand tui-aside-group tui-expand [tuiAsideItem]{padding-inline-start:6rem!important}\n"] }]
7221
7220
  }], ctorParameters: () => [{ type: EzUILayoutService }, { type: i2$2.Router }], propDecorators: { sidebarItems: [{
7222
7221
  type: Input
7223
7222
  }], sidebarFooterItems: [{