ps-toolkit-ui 0.0.20 → 0.0.21

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.
@@ -120,13 +120,14 @@ export declare enum ResultStatusEnum {
120
120
  }
121
121
  export declare enum PermissionTypeEnum {
122
122
  Form = -1,
123
- Access = 0,
124
- OptionLink = 1,
125
- OptionLinkNewTab = 2,
126
- OptionReport = 3,
127
- OptionFile = 4,
128
- OptionModal = 5,
129
- OptionConfirm = 6
123
+ Item = 0,
124
+ Access = 1,
125
+ OptionLink = 2,
126
+ OptionLinkNewTab = 3,
127
+ OptionReport = 4,
128
+ OptionFile = 5,
129
+ OptionModal = 6,
130
+ OptionConfirm = 7
130
131
  }
131
132
  export declare enum VehicleType {
132
133
  Car = 1,
@@ -14,5 +14,6 @@ export declare class SidebarComponent implements OnInit {
14
14
  constructor(config: PsToolkitUiConfigService, router: Router);
15
15
  setActive(): void;
16
16
  ngOnInit(): void;
17
+ getSidebar(parentId?: string): SidebarClass[];
17
18
  getSidebarActive(item: SidebarClass[], active: any): SidebarClass;
18
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ps-toolkit-ui",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^10.1.6",
6
6
  "@angular/core": "^10.1.6"