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.
- package/bundles/ps-toolkit-ui.umd.js +91 -114
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/classes/enum.class.js +14 -13
- package/esm2015/lib/classes/form.class.js +1 -56
- package/esm2015/lib/components/form/index/form.component.js +2 -2
- package/esm2015/lib/components/form/tree/form.tree.component.js +68 -20
- package/esm2015/lib/components/form/tree/item/form.tree.item.component.js +8 -6
- package/fesm2015/ps-toolkit-ui.js +86 -91
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/classes/enum.class.d.ts +13 -12
- package/lib/classes/form.class.d.ts +0 -6
- package/lib/components/form/tree/form.tree.component.d.ts +7 -2
- package/lib/components/form/tree/item/form.tree.item.component.d.ts +3 -1
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -49,18 +49,19 @@ export declare enum InputType {
|
|
|
49
49
|
Price = 23,
|
|
50
50
|
Radio = 24,
|
|
51
51
|
Tree = 25,
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
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
|
-
|
|
15
|
-
|
|
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
|
-
|
|
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;
|