ps-toolkit-ui 1.21.42 → 1.21.51
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 +10321 -0
- package/bundles/ps-toolkit-ui.umd.js.map +1 -0
- package/bundles/ps-toolkit-ui.umd.min.js +2 -0
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -0
- package/esm2015/lib/classes/addModal.class.js +36 -0
- package/esm2015/lib/classes/chart.class.js +165 -0
- package/esm2015/lib/classes/currentDataClass.js +17 -0
- package/esm2015/lib/classes/enum.class.js +253 -0
- package/esm2015/lib/classes/excel.class.js +56 -0
- package/esm2015/lib/classes/form.class.js +667 -0
- package/esm2015/lib/classes/header.class.js +16 -0
- package/esm2015/lib/classes/helper.class.js +650 -0
- package/esm2015/lib/classes/lang.class.js +35 -0
- package/esm2015/lib/classes/login.class.js +29 -0
- package/esm2015/lib/classes/modal.class.js +49 -0
- package/esm2015/lib/classes/permission.class.js +63 -0
- package/esm2015/lib/classes/request.class.js +155 -0
- package/esm2015/lib/classes/safehtml.class.js +17 -0
- package/esm2015/lib/classes/safestyle.class.js +17 -0
- package/esm2015/lib/classes/sidebar.class.js +16 -0
- package/esm2015/lib/classes/steps.class.js +45 -0
- package/esm2015/lib/classes/string.class.js +251 -0
- package/esm2015/lib/classes/table.class.js +593 -0
- package/esm2015/lib/components/accordion/accordion.component.js +45 -0
- package/esm2015/lib/components/alert/alert.component.js +39 -0
- package/esm2015/lib/components/base.component.js +54 -0
- package/esm2015/lib/components/calendar/calendar.component.js +98 -0
- package/esm2015/lib/components/chart/chart.component.js +17 -0
- package/esm2015/lib/components/clock/clock.component.js +33 -0
- package/esm2015/lib/components/confirm/confirm.component.js +50 -0
- package/esm2015/lib/components/error/error.component.js +26 -0
- package/esm2015/lib/components/footer/footer.component.js +23 -0
- package/esm2015/lib/components/form/bank-card/form.bank-card.component.js +200 -0
- package/esm2015/lib/components/form/button/form.button.component.js +68 -0
- package/esm2015/lib/components/form/checkbox/form.checkbox.component.js +67 -0
- package/esm2015/lib/components/form/ckeditor/form.ckeditor.component.js +90 -0
- package/esm2015/lib/components/form/date/form.date.component.js +314 -0
- package/esm2015/lib/components/form/datetime/form.datetime.component.js +106 -0
- package/esm2015/lib/components/form/file/form.file.component.js +124 -0
- package/esm2015/lib/components/form/finger/form.finger.component.js +140 -0
- package/esm2015/lib/components/form/hidden/form.hidden.component.js +31 -0
- package/esm2015/lib/components/form/icon/form.icon.component.js +84 -0
- package/esm2015/lib/components/form/index/form.component.js +51 -0
- package/esm2015/lib/components/form/label/form.label.component.js +32 -0
- package/esm2015/lib/components/form/plaque/form.plaque.component.js +258 -0
- package/esm2015/lib/components/form/plaque/select/form.plaque.select.component.js +468 -0
- package/esm2015/lib/components/form/radio/form.radio.component.js +82 -0
- package/esm2015/lib/components/form/select/form.select.component.js +452 -0
- package/esm2015/lib/components/form/select/item/form.select.item.component.js +27 -0
- package/esm2015/lib/components/form/slide/form.slide.component.js +84 -0
- package/esm2015/lib/components/form/star/form.star.component.js +66 -0
- package/esm2015/lib/components/form/table/form.table.component.js +96 -0
- package/esm2015/lib/components/form/tag/form.tag.component.js +100 -0
- package/esm2015/lib/components/form/textarea/form.textarea.component.js +83 -0
- package/esm2015/lib/components/form/textbox/form.textbox.component.js +227 -0
- package/esm2015/lib/components/form/time/form.time.component.js +149 -0
- package/esm2015/lib/components/form/toggle/form.toggle.component.js +72 -0
- package/esm2015/lib/components/form/tree/form.tree.component.js +157 -0
- package/esm2015/lib/components/form/tree/item/form.tree.item.component.js +50 -0
- package/esm2015/lib/components/form/uploader/form.uploader.component.js +159 -0
- package/esm2015/lib/components/form/vehicle/form.vehicle.component.js +104 -0
- package/esm2015/lib/components/form/vehicle/search/form.vehicle.search.component.js +237 -0
- package/esm2015/lib/components/header/header.component.js +28 -0
- package/esm2015/lib/components/header/sub/sub.header.component.js +14 -0
- package/esm2015/lib/components/layout/layout.component.js +18 -0
- package/esm2015/lib/components/loading/loading.component.js +22 -0
- package/esm2015/lib/components/login/login.component.js +159 -0
- package/esm2015/lib/components/modal/modal.component.js +25 -0
- package/esm2015/lib/components/notfound/notfound.component.js +29 -0
- package/esm2015/lib/components/notification/notification.component.js +14 -0
- package/esm2015/lib/components/sidebar/item/sidebar.item.component.js +55 -0
- package/esm2015/lib/components/sidebar/sidebar.component.js +98 -0
- package/esm2015/lib/components/steps/steps.component.js +88 -0
- package/esm2015/lib/components/table/loading/table.loading.component.js +17 -0
- package/esm2015/lib/components/table/pagination/table.pagination.component.js +84 -0
- package/esm2015/lib/components/table/row/table.row.component.js +450 -0
- package/esm2015/lib/components/table/table.component.js +240 -0
- package/esm2015/lib/components/tooltip/tooltip.component.js +19 -0
- package/esm2015/lib/ps-toolkit-ui.module.js +105 -0
- package/esm2015/lib/services/config.service.js +14 -0
- package/esm2015/lib/services/sidebar.service.js +21 -0
- package/esm2015/ps-toolkit-ui.js +21 -0
- package/esm2015/public-api.js +64 -0
- package/fesm2015/ps-toolkit-ui.js +8926 -0
- package/fesm2015/ps-toolkit-ui.js.map +1 -0
- package/lib/classes/addModal.class.d.ts +14 -0
- package/lib/classes/chart.class.d.ts +15 -0
- package/lib/classes/currentDataClass.d.ts +10 -0
- package/lib/classes/enum.class.d.ts +221 -0
- package/lib/classes/excel.class.d.ts +8 -0
- package/lib/classes/form.class.d.ts +193 -0
- package/lib/classes/header.class.d.ts +8 -0
- package/lib/classes/helper.class.d.ts +50 -0
- package/lib/classes/lang.class.d.ts +5 -0
- package/lib/classes/login.class.d.ts +21 -0
- package/lib/classes/modal.class.d.ts +19 -0
- package/lib/classes/permission.class.d.ts +35 -0
- package/lib/classes/request.class.d.ts +10 -0
- package/lib/classes/safehtml.class.d.ts +7 -0
- package/lib/classes/safestyle.class.d.ts +7 -0
- package/lib/classes/sidebar.class.d.ts +14 -0
- package/lib/classes/steps.class.d.ts +31 -0
- package/lib/classes/string.class.d.ts +249 -0
- package/lib/classes/table.class.d.ts +88 -0
- package/lib/components/accordion/accordion.component.d.ts +7 -0
- package/lib/components/alert/alert.component.d.ts +10 -0
- package/lib/components/base.component.d.ts +17 -0
- package/lib/components/calendar/calendar.component.d.ts +26 -0
- package/lib/components/chart/chart.component.d.ts +5 -0
- package/lib/components/clock/clock.component.d.ts +11 -0
- package/lib/components/confirm/confirm.component.d.ts +14 -0
- package/lib/components/error/error.component.d.ts +7 -0
- package/lib/components/footer/footer.component.d.ts +6 -0
- package/lib/components/form/bank-card/form.bank-card.component.d.ts +28 -0
- package/lib/components/form/button/form.button.component.d.ts +15 -0
- package/lib/components/form/checkbox/form.checkbox.component.d.ts +14 -0
- package/lib/components/form/ckeditor/form.ckeditor.component.d.ts +14 -0
- package/lib/components/form/date/form.date.component.d.ts +45 -0
- package/lib/components/form/datetime/form.datetime.component.d.ts +13 -0
- package/lib/components/form/file/form.file.component.d.ts +18 -0
- package/lib/components/form/finger/form.finger.component.d.ts +15 -0
- package/lib/components/form/hidden/form.hidden.component.d.ts +7 -0
- package/lib/components/form/icon/form.icon.component.d.ts +16 -0
- package/lib/components/form/index/form.component.d.ts +10 -0
- package/lib/components/form/label/form.label.component.d.ts +8 -0
- package/lib/components/form/plaque/form.plaque.component.d.ts +21 -0
- package/lib/components/form/plaque/select/form.plaque.select.component.d.ts +38 -0
- package/lib/components/form/radio/form.radio.component.d.ts +13 -0
- package/lib/components/form/select/form.select.component.d.ts +45 -0
- package/lib/components/form/select/item/form.select.item.component.d.ts +12 -0
- package/lib/components/form/slide/form.slide.component.d.ts +13 -0
- package/lib/components/form/star/form.star.component.d.ts +13 -0
- package/lib/components/form/table/form.table.component.d.ts +9 -0
- package/lib/components/form/tag/form.tag.component.d.ts +16 -0
- package/lib/components/form/textarea/form.textarea.component.d.ts +13 -0
- package/lib/components/form/textbox/form.textbox.component.d.ts +20 -0
- package/lib/components/form/time/form.time.component.d.ts +25 -0
- package/lib/components/form/toggle/form.toggle.component.d.ts +13 -0
- package/lib/components/form/tree/form.tree.component.d.ts +21 -0
- package/lib/components/form/tree/item/form.tree.item.component.d.ts +19 -0
- package/lib/components/form/uploader/form.uploader.component.d.ts +21 -0
- package/lib/components/form/vehicle/form.vehicle.component.d.ts +18 -0
- package/lib/components/form/vehicle/search/form.vehicle.search.component.d.ts +22 -0
- package/lib/components/header/header.component.d.ts +10 -0
- package/lib/components/header/sub/sub.header.component.d.ts +3 -0
- package/lib/components/layout/layout.component.d.ts +7 -0
- package/lib/components/loading/loading.component.d.ts +5 -0
- package/lib/components/login/login.component.d.ts +15 -0
- package/lib/components/modal/modal.component.d.ts +9 -0
- package/lib/components/notfound/notfound.component.d.ts +8 -0
- package/lib/components/notification/notification.component.d.ts +3 -0
- package/lib/components/sidebar/item/sidebar.item.component.d.ts +14 -0
- package/lib/components/sidebar/sidebar.component.d.ts +22 -0
- package/lib/components/steps/steps.component.d.ts +16 -0
- package/lib/components/table/loading/table.loading.component.d.ts +5 -0
- package/lib/components/table/pagination/table.pagination.component.d.ts +15 -0
- package/lib/components/table/row/table.row.component.d.ts +44 -0
- package/lib/components/table/table.component.d.ts +43 -0
- package/lib/components/tooltip/tooltip.component.d.ts +5 -0
- package/lib/ps-toolkit-ui.module.d.ts +4 -0
- package/lib/services/config.service.d.ts +6 -0
- package/lib/services/sidebar.service.d.ts +9 -0
- package/package.json +12 -16
- package/ps-toolkit-ui.d.ts +20 -0
- package/ps-toolkit-ui.metadata.json +1 -0
- package/public-api.d.ts +60 -0
- package/fesm2022/ps-toolkit-ui.mjs +0 -9472
- package/fesm2022/ps-toolkit-ui.mjs.map +0 -1
- package/types/ps-toolkit-ui.d.ts +0 -1671
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { InputClass } from '../../../classes/form.class';
|
|
3
|
+
import { InputType } from '../../../classes/enum.class';
|
|
4
|
+
export declare class FormPlaqueComponent implements OnInit {
|
|
5
|
+
inp: InputClass;
|
|
6
|
+
changeIndex: EventEmitter<string>;
|
|
7
|
+
part1: InputClass;
|
|
8
|
+
part2: InputClass;
|
|
9
|
+
part3: InputClass;
|
|
10
|
+
part4: InputClass;
|
|
11
|
+
get type(): typeof InputType;
|
|
12
|
+
inputBase: ElementRef;
|
|
13
|
+
inputDiv: ElementRef;
|
|
14
|
+
inputLabel: ElementRef;
|
|
15
|
+
constructor();
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
changeFocus(p: any, a: any): void;
|
|
18
|
+
onFocusIn(e?: any): void;
|
|
19
|
+
onKeyDown(e: any): void;
|
|
20
|
+
getValue(): string;
|
|
21
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { InputClass, OptionClass } from '../../../../classes/form.class';
|
|
3
|
+
import { InputType } from '../../../../classes/enum.class';
|
|
4
|
+
export declare class FormPlaqueSelectComponent implements OnInit {
|
|
5
|
+
changeIndex: EventEmitter<string>;
|
|
6
|
+
inp: InputClass;
|
|
7
|
+
cSearch: string;
|
|
8
|
+
open: boolean;
|
|
9
|
+
top: boolean;
|
|
10
|
+
part1: InputClass;
|
|
11
|
+
part2: InputClass;
|
|
12
|
+
part3: InputClass;
|
|
13
|
+
part4: InputClass;
|
|
14
|
+
get type(): typeof InputType;
|
|
15
|
+
inputDiv: ElementRef;
|
|
16
|
+
inputBase: ElementRef;
|
|
17
|
+
inputOptionsDiv: ElementRef;
|
|
18
|
+
inputLabel: ElementRef;
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
onFocusOutCloseOptions(e: any): void;
|
|
21
|
+
loadOptions(): void;
|
|
22
|
+
openOptions(f?: boolean): boolean;
|
|
23
|
+
focusInput(f?: boolean): void;
|
|
24
|
+
closeOptions(): boolean;
|
|
25
|
+
setPosition(): void;
|
|
26
|
+
onKeyDown(e: any): void;
|
|
27
|
+
toggleOption(): void;
|
|
28
|
+
selectOption(v: any, isEdit?: boolean): void;
|
|
29
|
+
cI(i: string): void;
|
|
30
|
+
getValue(v: any, o?: OptionClass[]): OptionClass;
|
|
31
|
+
plaqueChangeFocus(p: any, a: any): void;
|
|
32
|
+
getSearch(): string;
|
|
33
|
+
setHoverCenter(): void;
|
|
34
|
+
removeHover(): void;
|
|
35
|
+
getSelectedHover(): any;
|
|
36
|
+
setHoverUp(): void;
|
|
37
|
+
setHoverDown(): void;
|
|
38
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { InputClass } from '../../../classes/form.class';
|
|
3
|
+
export declare class FormRadioComponent implements OnInit {
|
|
4
|
+
inp: InputClass;
|
|
5
|
+
changeIndex: EventEmitter<string>;
|
|
6
|
+
inputBase: ElementRef;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
onClick(): void;
|
|
10
|
+
onKeyDown(e: any): void;
|
|
11
|
+
onChange(isEdit?: boolean): void;
|
|
12
|
+
onFocusIn(): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { InputClass, OptionClass } from '../../../classes/form.class';
|
|
3
|
+
import { InputType } from '../../../classes/enum.class';
|
|
4
|
+
export declare class FormSelectComponent implements OnInit {
|
|
5
|
+
changeIndex: EventEmitter<string>;
|
|
6
|
+
inp: InputClass;
|
|
7
|
+
inForm: boolean;
|
|
8
|
+
cSearch: string;
|
|
9
|
+
addIcon: InputClass;
|
|
10
|
+
get type(): typeof InputType;
|
|
11
|
+
inputDiv: ElementRef;
|
|
12
|
+
inputBase: ElementRef;
|
|
13
|
+
inputOptionsDiv: ElementRef;
|
|
14
|
+
inputLabel: ElementRef;
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
setValue(ids: any, rows?: OptionClass[]): boolean;
|
|
17
|
+
loadOptions(): void;
|
|
18
|
+
openOptions(): void;
|
|
19
|
+
onFocusOut(): void;
|
|
20
|
+
closeOptions(): boolean;
|
|
21
|
+
setPosition(): void;
|
|
22
|
+
setOptions(r?: OptionClass[]): void;
|
|
23
|
+
onKeyDown(e: any): void;
|
|
24
|
+
toggleOption(e: any): void;
|
|
25
|
+
onKeyUp(e: any): void;
|
|
26
|
+
selectOption(v: any, isEdit?: boolean): void;
|
|
27
|
+
toggleRadio(op: OptionClass): void;
|
|
28
|
+
toggle(op: OptionClass): void;
|
|
29
|
+
check(c: OptionClass): void;
|
|
30
|
+
unCheck(c: OptionClass): void;
|
|
31
|
+
checkChildren(o: OptionClass): void;
|
|
32
|
+
checkParent(p: OptionClass): void;
|
|
33
|
+
unCheckParent(p: OptionClass): void;
|
|
34
|
+
cI(i: string): void;
|
|
35
|
+
title(): string;
|
|
36
|
+
getTitle(os: any): string;
|
|
37
|
+
getValue(v: any, o?: OptionClass[]): OptionClass;
|
|
38
|
+
onClickButton(): void;
|
|
39
|
+
setHoverCenter(): void;
|
|
40
|
+
removeHover(): void;
|
|
41
|
+
getSelectedHover(): any;
|
|
42
|
+
setHoverUp(): void;
|
|
43
|
+
setHoverDown(): void;
|
|
44
|
+
getPlaceHolder(): string;
|
|
45
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { InputClass, OptionClass } from '../../../../classes/form.class';
|
|
3
|
+
import { InputType } from '../../../../classes/enum.class';
|
|
4
|
+
export declare class FormSelectItemComponent implements OnInit {
|
|
5
|
+
selectOption: EventEmitter<string>;
|
|
6
|
+
select: InputClass;
|
|
7
|
+
item: OptionClass;
|
|
8
|
+
parent: OptionClass;
|
|
9
|
+
level: number;
|
|
10
|
+
get type(): typeof InputType;
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { InputClass } from '../../../classes/form.class';
|
|
3
|
+
export declare class FormSlideComponent implements OnInit {
|
|
4
|
+
inp: InputClass;
|
|
5
|
+
changeIndex: EventEmitter<string>;
|
|
6
|
+
inputBase: ElementRef;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
onClick(): void;
|
|
10
|
+
onKeyDown(e: any): void;
|
|
11
|
+
onChange(isEdit?: boolean): void;
|
|
12
|
+
onFocusIn(): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { InputClass } from '../../../classes/form.class';
|
|
3
|
+
export declare class FormStarComponent implements OnInit {
|
|
4
|
+
inp: InputClass;
|
|
5
|
+
changeIndex: EventEmitter<string>;
|
|
6
|
+
inputBase: ElementRef;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
onChange(s: number): void;
|
|
10
|
+
onClick(): void;
|
|
11
|
+
onFocusIn(): void;
|
|
12
|
+
onKeyDown(e: any): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { InputClass } from '../../../classes/form.class';
|
|
3
|
+
export declare class FormTableComponent implements OnInit {
|
|
4
|
+
inp: InputClass;
|
|
5
|
+
changeIndex: EventEmitter<string>;
|
|
6
|
+
constructor();
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
changeRows(e: any): void;
|
|
9
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { InputClass } from '../../../classes/form.class';
|
|
3
|
+
export declare class FormTagComponent implements OnInit {
|
|
4
|
+
inp: InputClass;
|
|
5
|
+
cValue: string;
|
|
6
|
+
changeIndex: EventEmitter<string>;
|
|
7
|
+
inputBase: ElementRef;
|
|
8
|
+
inputDiv: ElementRef;
|
|
9
|
+
inputLabel: ElementRef;
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
onFocusIn(changeIndex?: boolean): void;
|
|
12
|
+
onKeyDown(e: any): void;
|
|
13
|
+
onFocusOut(): void;
|
|
14
|
+
removeTag(t: any): void;
|
|
15
|
+
setValue(v: any): void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { InputClass } from '../../../classes/form.class';
|
|
3
|
+
export declare class FormTextareaComponent implements OnInit {
|
|
4
|
+
inp: InputClass;
|
|
5
|
+
changeIndex: EventEmitter<string>;
|
|
6
|
+
inputBase: ElementRef;
|
|
7
|
+
inputDiv: ElementRef;
|
|
8
|
+
inputLabel: ElementRef;
|
|
9
|
+
constructor();
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
onFocusIn(): void;
|
|
12
|
+
onKeyDown(e: any): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { InputClass } from '../../../classes/form.class';
|
|
3
|
+
import { InputType } from '../../../classes/enum.class';
|
|
4
|
+
export declare class FormTextboxComponent implements OnInit {
|
|
5
|
+
inp: InputClass;
|
|
6
|
+
cValue: string;
|
|
7
|
+
changeIndex: EventEmitter<string>;
|
|
8
|
+
get type(): typeof InputType;
|
|
9
|
+
inputBase: ElementRef;
|
|
10
|
+
inputDiv: ElementRef;
|
|
11
|
+
inputLabel: ElementRef;
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
onFocusIn(changeIndex?: boolean): void;
|
|
14
|
+
onFocusOut(e: any): void;
|
|
15
|
+
onChange(e: any): void;
|
|
16
|
+
onKeyUp(e: any): void;
|
|
17
|
+
onClickButton(): void;
|
|
18
|
+
onKeyDown(e: any): void;
|
|
19
|
+
getValue(): string;
|
|
20
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { InputClass } from '../../../classes/form.class';
|
|
3
|
+
export declare class FormTimeComponent implements OnInit {
|
|
4
|
+
inp: InputClass;
|
|
5
|
+
inForm: boolean;
|
|
6
|
+
changeIndex: EventEmitter<string>;
|
|
7
|
+
cSearch: string;
|
|
8
|
+
hours: string[];
|
|
9
|
+
minutes: string[];
|
|
10
|
+
activeHour: any;
|
|
11
|
+
activeMinute: any;
|
|
12
|
+
inputBase: ElementRef;
|
|
13
|
+
inputDiv: ElementRef;
|
|
14
|
+
inputLabel: ElementRef;
|
|
15
|
+
inputOptionsDiv: ElementRef;
|
|
16
|
+
constructor();
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
toggleTime(): void;
|
|
19
|
+
openOptions(): void;
|
|
20
|
+
setPosition(): void;
|
|
21
|
+
onKeyDown(e: any): void;
|
|
22
|
+
onKeyUp(e: any): void;
|
|
23
|
+
onFocusOut(): void;
|
|
24
|
+
selectTime(v: string, s: string): void;
|
|
25
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { InputClass } from '../../../classes/form.class';
|
|
3
|
+
export declare class FormToggleComponent implements OnInit {
|
|
4
|
+
inp: InputClass;
|
|
5
|
+
changeIndex: EventEmitter<string>;
|
|
6
|
+
inputBase: ElementRef;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
onFocusIn(): void;
|
|
10
|
+
onClick(): void;
|
|
11
|
+
onChange(): void;
|
|
12
|
+
onKeyDown(e: any): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { InputClass, TreeRowClass } from '../../../classes/form.class';
|
|
3
|
+
export declare class FormTreeComponent implements OnInit {
|
|
4
|
+
inp: InputClass;
|
|
5
|
+
changeIndex: EventEmitter<string>;
|
|
6
|
+
inputBase: ElementRef;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
onClick(): void;
|
|
10
|
+
onKeyDown(e: any): void;
|
|
11
|
+
onFocusIn(): void;
|
|
12
|
+
getSelected(): any[];
|
|
13
|
+
getRowSelected(ch: TreeRowClass): any[];
|
|
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;
|
|
21
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { InputClass, TreeRowClass } from '../../../../classes/form.class';
|
|
3
|
+
import { InputType } from '../../../../classes/enum.class';
|
|
4
|
+
export declare class FormTreeItemComponent implements OnInit {
|
|
5
|
+
item: TreeRowClass;
|
|
6
|
+
level: number;
|
|
7
|
+
index: number;
|
|
8
|
+
tree: InputClass;
|
|
9
|
+
parent: TreeRowClass;
|
|
10
|
+
base: boolean;
|
|
11
|
+
toggle: EventEmitter<TreeRowClass>;
|
|
12
|
+
inputDiv: ElementRef;
|
|
13
|
+
inputBase: ElementRef;
|
|
14
|
+
get type(): typeof InputType;
|
|
15
|
+
constructor();
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
openClose(e: any): void;
|
|
18
|
+
onClick(): void;
|
|
19
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { InputClass } from '../../../classes/form.class';
|
|
3
|
+
import { FileIcons } from '../../../classes/enum.class';
|
|
4
|
+
export declare class FormUploaderComponent implements OnInit {
|
|
5
|
+
inp: InputClass;
|
|
6
|
+
changeIndex: EventEmitter<string>;
|
|
7
|
+
inputDiv: ElementRef;
|
|
8
|
+
inputBaseFile: ElementRef;
|
|
9
|
+
inputBase: ElementRef;
|
|
10
|
+
id: string;
|
|
11
|
+
get fileIcons(): typeof FileIcons;
|
|
12
|
+
constructor();
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
getPdfImage(file: any): any;
|
|
15
|
+
onClick(): void;
|
|
16
|
+
onChange(e: any): void;
|
|
17
|
+
onKeyDown(e: any): void;
|
|
18
|
+
onFocusIn(): void;
|
|
19
|
+
title(): string;
|
|
20
|
+
openFile(f: any): void;
|
|
21
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { InputClass } from '../../../classes/form.class';
|
|
3
|
+
import { VehicleType } from '../../../classes/enum.class';
|
|
4
|
+
export declare class FormVehicleComponent implements OnInit {
|
|
5
|
+
inp: InputClass;
|
|
6
|
+
changeIndex: EventEmitter<string>;
|
|
7
|
+
type: VehicleType;
|
|
8
|
+
car: InputClass;
|
|
9
|
+
carF: InputClass;
|
|
10
|
+
carG: InputClass;
|
|
11
|
+
motor: InputClass;
|
|
12
|
+
inputDiv: ElementRef;
|
|
13
|
+
get vehicleType(): typeof VehicleType;
|
|
14
|
+
constructor();
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
changeType(t: VehicleType): void;
|
|
17
|
+
onFocusIn(): void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { InputClass } from '../../../../classes/form.class';
|
|
3
|
+
import { VehicleType } from '../../../../classes/enum.class';
|
|
4
|
+
export declare class FormVehicleSearchComponent implements OnInit {
|
|
5
|
+
inp: InputClass;
|
|
6
|
+
changeIndex: EventEmitter<string>;
|
|
7
|
+
type: VehicleType;
|
|
8
|
+
car: InputClass;
|
|
9
|
+
motor: InputClass;
|
|
10
|
+
carF: InputClass;
|
|
11
|
+
carG: InputClass;
|
|
12
|
+
driver: InputClass;
|
|
13
|
+
fingerprint: InputClass;
|
|
14
|
+
addIcon: InputClass;
|
|
15
|
+
wsAuth: any;
|
|
16
|
+
get vehicleType(): typeof VehicleType;
|
|
17
|
+
inputDiv: ElementRef;
|
|
18
|
+
constructor();
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
changeType(t: VehicleType, isEdit?: boolean): void;
|
|
21
|
+
onFocusIn(): void;
|
|
22
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PsToolkitUiConfigService } from '../../services/config.service';
|
|
2
|
+
import { HeaderClass } from '../../classes/header.class';
|
|
3
|
+
import { InputType } from '../../classes/enum.class';
|
|
4
|
+
export declare class HeaderComponent {
|
|
5
|
+
config: PsToolkitUiConfigService;
|
|
6
|
+
header: HeaderClass;
|
|
7
|
+
get type(): typeof InputType;
|
|
8
|
+
constructor(config: PsToolkitUiConfigService);
|
|
9
|
+
showUserDropDown(e: any): void;
|
|
10
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { LoginClass } from '../../classes/login.class';
|
|
3
|
+
import { InputClass } from '../../classes/form.class';
|
|
4
|
+
import { PsToolkitUiConfigService } from '../../services/config.service';
|
|
5
|
+
import { ModalClass } from '../../classes/modal.class';
|
|
6
|
+
export declare class LoginComponent implements OnInit {
|
|
7
|
+
config: PsToolkitUiConfigService;
|
|
8
|
+
login: LoginClass;
|
|
9
|
+
loginTemplate: string;
|
|
10
|
+
mobile: InputClass;
|
|
11
|
+
username: InputClass;
|
|
12
|
+
rulesModal: ModalClass;
|
|
13
|
+
constructor(config: PsToolkitUiConfigService);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ModalClass } from '../../classes/modal.class';
|
|
3
|
+
import { InputClass } from '../../classes/form.class';
|
|
4
|
+
export declare class ModalComponent implements OnInit {
|
|
5
|
+
modal: ModalClass;
|
|
6
|
+
close: InputClass;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PsToolkitUiConfigService } from '../../services/config.service';
|
|
2
|
+
import { InputClass } from '../../classes/form.class';
|
|
3
|
+
export declare class NotfoundComponent {
|
|
4
|
+
config: PsToolkitUiConfigService;
|
|
5
|
+
back: InputClass;
|
|
6
|
+
l: (k: any, v?: any) => string;
|
|
7
|
+
constructor(config: PsToolkitUiConfigService);
|
|
8
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SidebarClass } from '../../../classes/sidebar.class';
|
|
2
|
+
import { PsToolkitUiConfigService } from '../../../services/config.service';
|
|
3
|
+
export declare class SidebarItemComponent {
|
|
4
|
+
config: PsToolkitUiConfigService;
|
|
5
|
+
item: SidebarClass;
|
|
6
|
+
i: number;
|
|
7
|
+
base: boolean;
|
|
8
|
+
currentSidebar: any;
|
|
9
|
+
l: (k: any, v?: any) => string;
|
|
10
|
+
constructor(config: PsToolkitUiConfigService);
|
|
11
|
+
openClose(e: any): void;
|
|
12
|
+
isActive(item: SidebarClass): boolean;
|
|
13
|
+
closeSidebar(): void;
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { PsToolkitUiConfigService } from '../../services/config.service';
|
|
3
|
+
import { SidebarClass } from '../../classes/sidebar.class';
|
|
4
|
+
import { Router } from '@angular/router';
|
|
5
|
+
import { CurrentDataClass } from '../../classes/currentDataClass';
|
|
6
|
+
import { SidebarService } from '../../services/sidebar.service';
|
|
7
|
+
export declare class SidebarComponent implements OnInit {
|
|
8
|
+
config: PsToolkitUiConfigService;
|
|
9
|
+
private router;
|
|
10
|
+
private service;
|
|
11
|
+
currentData: CurrentDataClass;
|
|
12
|
+
sidebar: SidebarClass[];
|
|
13
|
+
currentSidebar: any;
|
|
14
|
+
countItems: number;
|
|
15
|
+
l: (k: any, v?: any) => string;
|
|
16
|
+
constructor(config: PsToolkitUiConfigService, router: Router, service: SidebarService);
|
|
17
|
+
setActive(): void;
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
getSidebar(parentId?: string): SidebarClass[];
|
|
20
|
+
getSidebarActive(item: SidebarClass[], active: any): SidebarClass;
|
|
21
|
+
toggleSidebar(): void;
|
|
22
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { StepsClass, StepsItemClass } from '../../classes/steps.class';
|
|
3
|
+
import { InputClass } from '../../classes/form.class';
|
|
4
|
+
export declare class StepsComponent implements OnInit {
|
|
5
|
+
steps: StepsClass;
|
|
6
|
+
saveNext: InputClass;
|
|
7
|
+
editNext: InputClass;
|
|
8
|
+
saveDone: InputClass;
|
|
9
|
+
editDone: InputClass;
|
|
10
|
+
previous: InputClass;
|
|
11
|
+
constructor();
|
|
12
|
+
changeStep(s: StepsItemClass): void;
|
|
13
|
+
onDelete(s: StepsItemClass): void;
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
nextStep(btn: InputClass, done?: boolean): void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { TableClass } from '../../../classes/table.class';
|
|
3
|
+
import { InputClass } from '../../../classes/form.class';
|
|
4
|
+
import { InputType } from '../../../classes/enum.class';
|
|
5
|
+
export declare class TablePaginationComponent implements OnInit {
|
|
6
|
+
table: TableClass;
|
|
7
|
+
size: number;
|
|
8
|
+
perPageSelect: InputClass;
|
|
9
|
+
next: InputClass;
|
|
10
|
+
get type(): typeof InputType;
|
|
11
|
+
getButtons(): InputClass[];
|
|
12
|
+
add(s: number, f: number): InputClass[];
|
|
13
|
+
changePage(btn: any): void;
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { TableClass, TableCollClass } from '../../../classes/table.class';
|
|
3
|
+
import { InputType, TableOptionType, TableRowStatus } from '../../../classes/enum.class';
|
|
4
|
+
import { InputClass } from '../../../classes/form.class';
|
|
5
|
+
import { PsToolkitUiConfigService } from '../../../services/config.service';
|
|
6
|
+
import { PermissionClass } from '../../../classes/permission.class';
|
|
7
|
+
import 'jquery-ui-dist/jquery-ui';
|
|
8
|
+
export declare class TableRowComponent implements OnInit {
|
|
9
|
+
service: PsToolkitUiConfigService;
|
|
10
|
+
confirmShow: EventEmitter<object>;
|
|
11
|
+
changeRows: EventEmitter<object>;
|
|
12
|
+
level: number;
|
|
13
|
+
table: TableClass;
|
|
14
|
+
row: any;
|
|
15
|
+
loadParent: EventEmitter<string>;
|
|
16
|
+
get tableRowStatus(): typeof TableRowStatus;
|
|
17
|
+
get type(): typeof InputType;
|
|
18
|
+
get tableOptionType(): typeof TableOptionType;
|
|
19
|
+
showChildren: InputClass;
|
|
20
|
+
addChildren: InputClass;
|
|
21
|
+
group: InputClass;
|
|
22
|
+
children: any[];
|
|
23
|
+
options: any[];
|
|
24
|
+
childrenDiv: ElementRef;
|
|
25
|
+
constructor(service: PsToolkitUiConfigService);
|
|
26
|
+
mouseOut(e: any): void;
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
loadChildren(p: any): void;
|
|
29
|
+
check(): void;
|
|
30
|
+
onChangeRows(e: any): void;
|
|
31
|
+
onConfirmShow(e: any): void;
|
|
32
|
+
setSortRow(): void;
|
|
33
|
+
setOptions(): void;
|
|
34
|
+
getPermission(parentId: any, list: any): any;
|
|
35
|
+
getCell(col: TableCollClass): any;
|
|
36
|
+
getCol(n: any): string;
|
|
37
|
+
edit(opt: InputClass, option: PermissionClass): void;
|
|
38
|
+
getChildren(): any[];
|
|
39
|
+
getStatuses(): string;
|
|
40
|
+
selectRow(e: any): void;
|
|
41
|
+
dblclickRow(e: any): void;
|
|
42
|
+
rightClickRow(e: any): void;
|
|
43
|
+
onContextMenu(event: MouseEvent): void;
|
|
44
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { TableClass } from '../../classes/table.class';
|
|
4
|
+
import { InputType, TableCollType, TableExportType, TableOptionType } from '../../classes/enum.class';
|
|
5
|
+
import { InputClass } from '../../classes/form.class';
|
|
6
|
+
import { ConfirmComponent } from '../confirm/confirm.component';
|
|
7
|
+
import { ModalClass } from '../../classes/modal.class';
|
|
8
|
+
import 'jquery-ui-dist/jquery-ui';
|
|
9
|
+
export declare class TableComponent implements OnInit {
|
|
10
|
+
router: Router;
|
|
11
|
+
table: TableClass;
|
|
12
|
+
changeRows: EventEmitter<object>;
|
|
13
|
+
get type(): typeof InputType;
|
|
14
|
+
get tableOptionType(): typeof TableOptionType;
|
|
15
|
+
get colType(): typeof TableCollType;
|
|
16
|
+
rows: ElementRef;
|
|
17
|
+
tableDiv: ElementRef;
|
|
18
|
+
exportDropDown: ElementRef;
|
|
19
|
+
confirm: ConfirmComponent;
|
|
20
|
+
reload: InputClass;
|
|
21
|
+
excel: InputClass;
|
|
22
|
+
excelUi: InputClass;
|
|
23
|
+
pdf: InputClass;
|
|
24
|
+
print: InputClass;
|
|
25
|
+
maximum: InputClass;
|
|
26
|
+
expertSearch: InputClass;
|
|
27
|
+
export: InputClass;
|
|
28
|
+
constructor(router: Router);
|
|
29
|
+
options: InputClass[];
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
exportTable(type: TableExportType, btn: InputClass): void;
|
|
32
|
+
allChecked(): boolean;
|
|
33
|
+
isChecked(): boolean;
|
|
34
|
+
checkAll(): void;
|
|
35
|
+
getOptions(): InputClass[];
|
|
36
|
+
setSortable(): void;
|
|
37
|
+
getRows(): any[];
|
|
38
|
+
onChangeRows(e: any): void;
|
|
39
|
+
onConfirmShow(e: any): void;
|
|
40
|
+
changeSort(e: any, s: string): void;
|
|
41
|
+
getModals(): ModalClass[];
|
|
42
|
+
hideExpertSearch(e: any): void;
|
|
43
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare class SidebarService {
|
|
2
|
+
private countSource;
|
|
3
|
+
private countAllSource;
|
|
4
|
+
currentCount: import("rxjs").Observable<number>;
|
|
5
|
+
currentCountAll: import("rxjs").Observable<number>;
|
|
6
|
+
constructor();
|
|
7
|
+
changeCount(count: number): void;
|
|
8
|
+
changeCountAll(countAll: number): void;
|
|
9
|
+
}
|