cmat 0.0.81 → 0.0.82

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cmat",
3
- "version": "0.0.81",
3
+ "version": "0.0.82",
4
4
  "author": {
5
5
  "name": "Yu Tao",
6
6
  "email": "916426364@qq.com"
@@ -1,4 +1,4 @@
1
- import * as i0 from '@angular/core';
1
+ import * as _angular_core from '@angular/core';
2
2
  import { OnChanges, OnInit, OnDestroy, EventEmitter, SimpleChanges, AfterViewInit } from '@angular/core';
3
3
  import { IsActiveMatchOptions } from '@angular/router';
4
4
  import { BooleanInput } from '@angular/cdk/coercion';
@@ -48,7 +48,7 @@ declare class CmatHorizontalNavigationComponent implements OnChanges, OnInit, On
48
48
  navigation: CmatNavigationItem[];
49
49
  hasRouteReuseStrategy: boolean;
50
50
  readonly routeReuseStrategyEmitUrl: EventEmitter<string>;
51
- readonly refreshToken: i0.WritableSignal<number>;
51
+ readonly refreshToken: _angular_core.WritableSignal<number>;
52
52
  private _cmatNavigationService;
53
53
  ngOnChanges(changes: SimpleChanges): void;
54
54
  ngOnInit(): void;
@@ -56,16 +56,16 @@ declare class CmatHorizontalNavigationComponent implements OnChanges, OnInit, On
56
56
  refresh(): void;
57
57
  trackByFn(index: number, item: any): any;
58
58
  goToRouterLink(link: string): void;
59
- static ɵfac: i0.ɵɵFactoryDeclaration<CmatHorizontalNavigationComponent, never>;
60
- static ɵcmp: i0.ɵɵComponentDeclaration<CmatHorizontalNavigationComponent, "cmat-horizontal-navigation", ["cmatHorizontalNavigation"], { "name": { "alias": "name"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; "hasRouteReuseStrategy": { "alias": "hasRouteReuseStrategy"; "required": false; }; }, { "routeReuseStrategyEmitUrl": "routeReuseStrategyEmitUrl"; }, never, never, true, never>;
59
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CmatHorizontalNavigationComponent, never>;
60
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<CmatHorizontalNavigationComponent, "cmat-horizontal-navigation", ["cmatHorizontalNavigation"], { "name": { "alias": "name"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; "hasRouteReuseStrategy": { "alias": "hasRouteReuseStrategy"; "required": false; }; }, { "routeReuseStrategyEmitUrl": "routeReuseStrategyEmitUrl"; }, never, never, true, never>;
61
61
  }
62
62
 
63
63
  declare class CmatVerticalNavigationComponent implements OnChanges, OnInit, AfterViewInit, OnDestroy {
64
64
  static ngAcceptInputType_inner: BooleanInput;
65
65
  static ngAcceptInputType_opened: BooleanInput;
66
66
  static ngAcceptInputType_transparentOverlay: BooleanInput;
67
- classList: string;
68
- styleList: string;
67
+ readonly classList: _angular_core.WritableSignal<string>;
68
+ readonly styleList: _angular_core.WritableSignal<string>;
69
69
  private _navigationContentEl;
70
70
  appearance: CmatVerticalNavigationAppearance;
71
71
  autoCollapse: boolean;
@@ -84,11 +84,11 @@ declare class CmatVerticalNavigationComponent implements OnChanges, OnInit, Afte
84
84
  readonly openedChanged: EventEmitter<boolean>;
85
85
  readonly positionChanged: EventEmitter<CmatVerticalNavigationPosition>;
86
86
  readonly editSelectedItemChanged: EventEmitter<CmatNavigationItem>;
87
- readonly activeAsideItemId: i0.WritableSignal<string | null>;
88
- readonly asideOverlayVisible: i0.WritableSignal<boolean>;
87
+ readonly activeAsideItemId: _angular_core.WritableSignal<string | null>;
88
+ readonly asideOverlayVisible: _angular_core.WritableSignal<boolean>;
89
89
  onCollapsableItemCollapsed: ReplaySubject<CmatNavigationItem>;
90
90
  onCollapsableItemExpanded: ReplaySubject<CmatNavigationItem>;
91
- readonly refreshToken: i0.WritableSignal<number>;
91
+ readonly refreshToken: _angular_core.WritableSignal<number>;
92
92
  private _elementRef;
93
93
  private _renderer2;
94
94
  private _router;
@@ -142,8 +142,8 @@ declare class CmatVerticalNavigationComponent implements OnChanges, OnInit, Afte
142
142
  private _applyOpenedState;
143
143
  private _setAsideActive;
144
144
  private _syncHostBindings;
145
- static ɵfac: i0.ɵɵFactoryDeclaration<CmatVerticalNavigationComponent, never>;
146
- static ɵcmp: i0.ɵɵComponentDeclaration<CmatVerticalNavigationComponent, "cmat-vertical-navigation", ["cmatVerticalNavigation"], { "appearance": { "alias": "appearance"; "required": false; }; "autoCollapse": { "alias": "autoCollapse"; "required": false; }; "editState": { "alias": "editState"; "required": false; }; "inner": { "alias": "inner"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "name": { "alias": "name"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "position": { "alias": "position"; "required": false; }; "transparentOverlay": { "alias": "transparentOverlay"; "required": false; }; "hasRouteReuseStrategy": { "alias": "hasRouteReuseStrategy"; "required": false; }; }, { "routeReuseStrategyEmitUrl": "routeReuseStrategyEmitUrl"; "appearanceChanged": "appearanceChanged"; "modeChanged": "modeChanged"; "openedChanged": "openedChanged"; "positionChanged": "positionChanged"; "editSelectedItemChanged": "editSelectedItemChanged"; }, never, ["[cmatVerticalNavigationHeader]", "[cmatVerticalNavigationContentHeader]", "[cmatVerticalNavigationContentFooter]", "[cmatVerticalNavigationFooter]"], true, never>;
145
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CmatVerticalNavigationComponent, never>;
146
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<CmatVerticalNavigationComponent, "cmat-vertical-navigation", ["cmatVerticalNavigation"], { "appearance": { "alias": "appearance"; "required": false; }; "autoCollapse": { "alias": "autoCollapse"; "required": false; }; "editState": { "alias": "editState"; "required": false; }; "inner": { "alias": "inner"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "name": { "alias": "name"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "position": { "alias": "position"; "required": false; }; "transparentOverlay": { "alias": "transparentOverlay"; "required": false; }; "hasRouteReuseStrategy": { "alias": "hasRouteReuseStrategy"; "required": false; }; }, { "routeReuseStrategyEmitUrl": "routeReuseStrategyEmitUrl"; "appearanceChanged": "appearanceChanged"; "modeChanged": "modeChanged"; "openedChanged": "openedChanged"; "positionChanged": "positionChanged"; "editSelectedItemChanged": "editSelectedItemChanged"; }, never, ["[cmatVerticalNavigationHeader]", "[cmatVerticalNavigationContentHeader]", "[cmatVerticalNavigationContentFooter]", "[cmatVerticalNavigationFooter]"], true, never>;
147
147
  }
148
148
 
149
149
  declare class CmatNavigationService {
@@ -158,8 +158,8 @@ declare class CmatNavigationService {
158
158
  getFlatNavigation(navigation: CmatNavigationItem[], flatNavigation?: CmatNavigationItem[]): CmatNavigationItem[];
159
159
  getItem(id: string, navigation: CmatNavigationItem[]): CmatNavigationItem | null;
160
160
  getItemParent(id: string, navigation: CmatNavigationItem[], parent: CmatNavigationItem[] | CmatNavigationItem): CmatNavigationItem[] | CmatNavigationItem | null;
161
- static ɵfac: i0.ɵɵFactoryDeclaration<CmatNavigationService, never>;
162
- static ɵprov: i0.ɵɵInjectableDeclaration<CmatNavigationService>;
161
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CmatNavigationService, never>;
162
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<CmatNavigationService>;
163
163
  }
164
164
 
165
165
  export { CmatHorizontalNavigationComponent, CmatNavigationItem, CmatNavigationService, CmatVerticalNavigationComponent };
package/types/cmat.d.ts CHANGED
@@ -2290,8 +2290,8 @@ declare class CmatVerticalNavigationComponent implements OnChanges, OnInit, Afte
2290
2290
  static ngAcceptInputType_inner: BooleanInput;
2291
2291
  static ngAcceptInputType_opened: BooleanInput;
2292
2292
  static ngAcceptInputType_transparentOverlay: BooleanInput;
2293
- classList: string;
2294
- styleList: string;
2293
+ readonly classList: i0.WritableSignal<string>;
2294
+ readonly styleList: i0.WritableSignal<string>;
2295
2295
  private _navigationContentEl;
2296
2296
  appearance: CmatVerticalNavigationAppearance;
2297
2297
  autoCollapse: boolean;