ps-toolkit-ui 1.3.31 → 1.3.32

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.
@@ -49,18 +49,19 @@ export declare enum InputType {
49
49
  Price = 23,
50
50
  Radio = 24,
51
51
  Tree = 25,
52
- Plaque = 26,
53
- PlaqueM = 27,
54
- SelectAutoCompletePlaque = 28,
55
- SelectAutoCompletePlaqueM = 29,
56
- BankCard = 30,
57
- Constant = 31,
58
- Hidden = 32,
59
- Table = 33,
60
- CarSearch = 34,
61
- Car = 35,
62
- Finger = 36,
63
- Color = 37
52
+ TreeRadio = 26,
53
+ Plaque = 27,
54
+ PlaqueM = 28,
55
+ SelectAutoCompletePlaque = 29,
56
+ SelectAutoCompletePlaqueM = 30,
57
+ BankCard = 31,
58
+ Constant = 32,
59
+ Hidden = 33,
60
+ Table = 34,
61
+ CarSearch = 35,
62
+ Car = 36,
63
+ Finger = 37,
64
+ Color = 38
64
65
  }
65
66
  export declare enum OperationEnum {
66
67
  All = -1,
@@ -144,12 +144,6 @@ export declare class TreeRowClass {
144
144
  selected: boolean;
145
145
  parent: TreeRowClass;
146
146
  children: TreeRowClass[];
147
- toggle(onlyChild?: boolean): void;
148
- check(onlyChild: boolean, c?: TreeRowClass): void;
149
- unCheck(onlyChild: boolean, c?: TreeRowClass): void;
150
- checkChildren(onlyChild: boolean): void;
151
- checkParent(p?: TreeRowClass): void;
152
- unCheckParent(p?: TreeRowClass): void;
153
147
  }
154
148
  export declare class AccordionClass {
155
149
  constructor(l: (k: any, v?: any) => string, name: string, cls: string, rows: AccordionRowClass[]);
@@ -11,6 +11,11 @@ export declare class FormTreeComponent implements OnInit {
11
11
  onFocusIn(): void;
12
12
  getSelected(): any[];
13
13
  getRowSelected(ch: TreeRowClass): any[];
14
- check(ids: any, chs?: any[]): boolean;
15
- checkChildren(chs: TreeRowClass[], ids: any): void;
14
+ setValue(ids: any, rows?: any[]): boolean;
15
+ toggle(row: TreeRowClass): void;
16
+ check(c: TreeRowClass): void;
17
+ unCheck(c: TreeRowClass): void;
18
+ checkChildren(c: TreeRowClass): void;
19
+ checkParent(p: TreeRowClass): void;
20
+ unCheckParent(p: TreeRowClass): void;
16
21
  }
@@ -1,5 +1,6 @@
1
1
  import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
2
  import { InputClass, TreeRowClass } from '../../../../classes/form.class';
3
+ import { InputType } from '../../../../classes/enum.class';
3
4
  export declare class FormTreeItemComponent implements OnInit {
4
5
  item: TreeRowClass;
5
6
  level: number;
@@ -7,9 +8,10 @@ export declare class FormTreeItemComponent implements OnInit {
7
8
  tree: InputClass;
8
9
  parent: TreeRowClass;
9
10
  base: boolean;
10
- changeIndex: EventEmitter<string>;
11
+ toggle: EventEmitter<TreeRowClass>;
11
12
  inputDiv: ElementRef;
12
13
  inputBase: ElementRef;
14
+ get type(): typeof InputType;
13
15
  constructor();
14
16
  ngOnInit(): void;
15
17
  openClose(e: any): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ps-toolkit-ui",
3
- "version": "1.3.31",
3
+ "version": "1.3.32",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^10.1.6",
6
6
  "@angular/core": "^10.1.6"