ps-toolkit-ui 0.0.1
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/README.md +24 -0
- package/bundles/ps-toolkit-ui.umd.js +7344 -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/enum.class.js +162 -0
- package/esm2015/lib/classes/form.class.js +467 -0
- package/esm2015/lib/classes/helper.class.js +275 -0
- package/esm2015/lib/classes/lang.class.js +32 -0
- package/esm2015/lib/classes/login.class.js +22 -0
- package/esm2015/lib/classes/modal.class.js +52 -0
- package/esm2015/lib/classes/permission.class.js +29 -0
- package/esm2015/lib/classes/request.class.js +255 -0
- package/esm2015/lib/classes/safestyle.class.js +15 -0
- package/esm2015/lib/classes/sidebar.class.js +14 -0
- package/esm2015/lib/classes/steps.class.js +20 -0
- package/esm2015/lib/classes/string.class.js +203 -0
- package/esm2015/lib/classes/table.class.js +278 -0
- package/esm2015/lib/components/accordion/accordion.component.js +45 -0
- package/esm2015/lib/components/alert/alert.component.js +41 -0
- package/esm2015/lib/components/base.component.js +55 -0
- package/esm2015/lib/components/confirm/confirm.component.js +50 -0
- package/esm2015/lib/components/footer/footer.component.js +23 -0
- package/esm2015/lib/components/form/bank-card/form.bank-card.component.js +148 -0
- package/esm2015/lib/components/form/button/form.button.component.js +68 -0
- package/esm2015/lib/components/form/car/form.car.component.js +84 -0
- package/esm2015/lib/components/form/car/search/form.car.search.component.js +173 -0
- package/esm2015/lib/components/form/checkbox/form.checkbox.component.js +66 -0
- package/esm2015/lib/components/form/date/form.date.component.js +256 -0
- package/esm2015/lib/components/form/datetime/form.datetime.component.js +104 -0
- package/esm2015/lib/components/form/file/form.file.component.js +133 -0
- package/esm2015/lib/components/form/finger/form.finger.component.js +138 -0
- package/esm2015/lib/components/form/icon/form.icon.component.js +76 -0
- package/esm2015/lib/components/form/index/form.component.js +48 -0
- package/esm2015/lib/components/form/label/form.label.component.js +31 -0
- package/esm2015/lib/components/form/plaque/form.plaque.component.js +176 -0
- package/esm2015/lib/components/form/plaque/select/form.plaque.select.component.js +390 -0
- package/esm2015/lib/components/form/radio/form.radio.component.js +79 -0
- package/esm2015/lib/components/form/select/form.select.component.js +369 -0
- package/esm2015/lib/components/form/select/item/form.select.item.component.js +43 -0
- package/esm2015/lib/components/form/table/form.table.component.js +98 -0
- package/esm2015/lib/components/form/textarea/form.textarea.component.js +78 -0
- package/esm2015/lib/components/form/textbox/form.textbox.component.js +186 -0
- package/esm2015/lib/components/form/time/form.time.component.js +145 -0
- package/esm2015/lib/components/form/tree/form.tree.component.js +93 -0
- package/esm2015/lib/components/form/tree/item/form.tree.item.component.js +48 -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 +23 -0
- package/esm2015/lib/components/loading/loading.component.js +22 -0
- package/esm2015/lib/components/login/login.component.js +145 -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 +53 -0
- package/esm2015/lib/components/sidebar/sidebar.component.js +65 -0
- package/esm2015/lib/components/steps/steps.component.js +51 -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/report/table.report.component.js +245 -0
- package/esm2015/lib/components/table/row/table.row.component.js +274 -0
- package/esm2015/lib/components/table/table.component.js +207 -0
- package/esm2015/lib/components/tooltip/tooltip.component.js +19 -0
- package/esm2015/lib/ps-toolkit-ui.module.js +89 -0
- package/esm2015/lib/services/config.service.js +14 -0
- package/esm2015/ps-toolkit-ui.js +16 -0
- package/esm2015/public-api.js +52 -0
- package/fesm2015/ps-toolkit-ui.js +6277 -0
- package/fesm2015/ps-toolkit-ui.js.map +1 -0
- package/lib/classes/enum.class.d.ts +137 -0
- package/lib/classes/form.class.d.ts +173 -0
- package/lib/classes/helper.class.d.ts +26 -0
- package/lib/classes/lang.class.d.ts +5 -0
- package/lib/classes/login.class.d.ts +17 -0
- package/lib/classes/modal.class.d.ts +19 -0
- package/lib/classes/permission.class.d.ts +19 -0
- package/lib/classes/request.class.d.ts +12 -0
- package/lib/classes/safestyle.class.d.ts +7 -0
- package/lib/classes/sidebar.class.d.ts +11 -0
- package/lib/classes/steps.class.d.ts +17 -0
- package/lib/classes/string.class.d.ts +201 -0
- package/lib/classes/table.class.d.ts +67 -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 +12 -0
- package/lib/components/confirm/confirm.component.d.ts +14 -0
- package/lib/components/footer/footer.component.d.ts +6 -0
- package/lib/components/form/bank-card/form.bank-card.component.d.ts +22 -0
- package/lib/components/form/button/form.button.component.d.ts +15 -0
- package/lib/components/form/car/form.car.component.d.ts +16 -0
- package/lib/components/form/car/search/form.car.search.component.d.ts +18 -0
- package/lib/components/form/checkbox/form.checkbox.component.d.ts +14 -0
- package/lib/components/form/date/form.date.component.d.ts +41 -0
- package/lib/components/form/datetime/form.datetime.component.d.ts +13 -0
- package/lib/components/form/file/form.file.component.d.ts +17 -0
- package/lib/components/form/finger/form.finger.component.d.ts +15 -0
- package/lib/components/form/icon/form.icon.component.d.ts +15 -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 +22 -0
- package/lib/components/form/plaque/select/form.plaque.select.component.d.ts +36 -0
- package/lib/components/form/radio/form.radio.component.d.ts +13 -0
- package/lib/components/form/select/form.select.component.d.ts +39 -0
- package/lib/components/form/select/item/form.select.item.component.d.ts +12 -0
- package/lib/components/form/table/form.table.component.d.ts +9 -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/tree/form.tree.component.d.ts +16 -0
- package/lib/components/form/tree/item/form.tree.item.component.d.ts +17 -0
- package/lib/components/header/header.component.d.ts +7 -0
- package/lib/components/header/sub/sub.header.component.d.ts +3 -0
- package/lib/components/layout/layout.component.d.ts +6 -0
- package/lib/components/loading/loading.component.d.ts +5 -0
- package/lib/components/login/login.component.d.ts +13 -0
- package/lib/components/modal/modal.component.d.ts +9 -0
- package/lib/components/notfound/notfound.component.d.ts +7 -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 +18 -0
- package/lib/components/steps/steps.component.d.ts +10 -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/report/table.report.component.d.ts +34 -0
- package/lib/components/table/row/table.row.component.d.ts +36 -0
- package/lib/components/table/table.component.d.ts +39 -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/package.json +22 -0
- package/ps-toolkit-ui.d.ts +15 -0
- package/ps-toolkit-ui.metadata.json +1 -0
- package/public-api.d.ts +48 -0
- package/src/assets/fonts/Vazir.eot +0 -0
- package/src/assets/fonts/Vazir.ttf +0 -0
- package/src/assets/fonts/Vazir.woff +0 -0
- package/src/assets/fonts/Vazir.woff2 +0 -0
- package/src/assets/fonts/VazirBlack.eot +0 -0
- package/src/assets/fonts/VazirBlack.ttf +0 -0
- package/src/assets/fonts/VazirBlack.woff +0 -0
- package/src/assets/fonts/VazirBlack.woff2 +0 -0
- package/src/assets/fonts/VazirBold.eot +0 -0
- package/src/assets/fonts/VazirBold.ttf +0 -0
- package/src/assets/fonts/VazirBold.woff +0 -0
- package/src/assets/fonts/VazirBold.woff2 +0 -0
- package/src/assets/fonts/VazirLight.eot +0 -0
- package/src/assets/fonts/VazirLight.ttf +0 -0
- package/src/assets/fonts/VazirLight.woff +0 -0
- package/src/assets/fonts/VazirLight.woff2 +0 -0
- package/src/assets/fonts/VazirMedium.eot +0 -0
- package/src/assets/fonts/VazirMedium.ttf +0 -0
- package/src/assets/fonts/VazirMedium.woff +0 -0
- package/src/assets/fonts/VazirMedium.woff2 +0 -0
- package/src/assets/fonts/VazirThin.eot +0 -0
- package/src/assets/fonts/VazirThin.ttf +0 -0
- package/src/assets/fonts/VazirThin.woff +0 -0
- package/src/assets/fonts/VazirThin.woff2 +0 -0
- package/src/assets/images/partsilicon.png +0 -0
- package/src/assets/images/plaque.png +0 -0
- package/src/assets/images/plaque_m.png +0 -0
- package/src/assets/scripts/base.js +26 -0
- package/src/assets/styles/base.css +259 -0
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { ModalClass } from './modal.class';
|
|
2
|
+
import { FormClass, InputClass } from './form.class';
|
|
3
|
+
import { Method, TableCollType } from './enum.class';
|
|
4
|
+
import { PermissionClass } from './permission.class';
|
|
5
|
+
export declare class TableClass {
|
|
6
|
+
constructor(environment: any, l: (k: any, v?: any) => string, permissions: PermissionClass, name?: string, cls?: string, perPage?: number, height?: number);
|
|
7
|
+
environment: any;
|
|
8
|
+
l: (k: any, v?: any) => string;
|
|
9
|
+
permissions: PermissionClass;
|
|
10
|
+
permission: boolean;
|
|
11
|
+
name: string;
|
|
12
|
+
id: string;
|
|
13
|
+
class: string;
|
|
14
|
+
style: {};
|
|
15
|
+
url: any;
|
|
16
|
+
method: Method;
|
|
17
|
+
height: number;
|
|
18
|
+
perPage: number;
|
|
19
|
+
cols: TableCollClass[];
|
|
20
|
+
buttons: InputClass[];
|
|
21
|
+
options: InputClass[];
|
|
22
|
+
rows: any[];
|
|
23
|
+
count: number;
|
|
24
|
+
page: number;
|
|
25
|
+
sort: any;
|
|
26
|
+
queryParams: {};
|
|
27
|
+
sortType: any;
|
|
28
|
+
displayLabel: boolean;
|
|
29
|
+
isReport: boolean;
|
|
30
|
+
sortable: boolean;
|
|
31
|
+
loading: boolean;
|
|
32
|
+
hasStatus: boolean;
|
|
33
|
+
hasChildren: boolean;
|
|
34
|
+
childrenAutoLoad: boolean;
|
|
35
|
+
withSelect: boolean;
|
|
36
|
+
extraButtons: boolean;
|
|
37
|
+
form: FormClass;
|
|
38
|
+
searchForm: FormClass;
|
|
39
|
+
modal: ModalClass;
|
|
40
|
+
level: any;
|
|
41
|
+
onLoad: () => void;
|
|
42
|
+
onSort: () => void;
|
|
43
|
+
showConfirm: (l: string, url: string, data: any, accept: (btn: InputClass) => void) => void;
|
|
44
|
+
hasOption(): boolean;
|
|
45
|
+
load(btn?: any): void;
|
|
46
|
+
searchData(): {};
|
|
47
|
+
getUrl(isReport?: boolean): string;
|
|
48
|
+
showInsertModal(): void;
|
|
49
|
+
set(changeRows?: any): void;
|
|
50
|
+
}
|
|
51
|
+
export declare class TableCollClass {
|
|
52
|
+
constructor(name: string, percent: number, cls?: string, type?: TableCollType, withSearch?: boolean, sort?: boolean);
|
|
53
|
+
enum: any;
|
|
54
|
+
name: string;
|
|
55
|
+
percent: number;
|
|
56
|
+
class: string;
|
|
57
|
+
sort: boolean;
|
|
58
|
+
withSearch: boolean;
|
|
59
|
+
search: InputClass;
|
|
60
|
+
type: TableCollType;
|
|
61
|
+
fun: (row: any) => void;
|
|
62
|
+
}
|
|
63
|
+
export declare class TableRowClass {
|
|
64
|
+
data: any;
|
|
65
|
+
children: any;
|
|
66
|
+
constructor(data: any, children: any);
|
|
67
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { InputClass } from '../../classes/form.class';
|
|
2
|
+
import { ModalClass } from '../../classes/modal.class';
|
|
3
|
+
import { PsToolkitUiConfigService } from '../../services/config.service';
|
|
4
|
+
export declare class AlertComponent {
|
|
5
|
+
config: PsToolkitUiConfigService;
|
|
6
|
+
alert: ModalClass;
|
|
7
|
+
alertLabel: InputClass;
|
|
8
|
+
constructor(config: PsToolkitUiConfigService);
|
|
9
|
+
show(l: string, accept: (btn: InputClass) => void): void;
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PermissionClass } from '../classes/permission.class';
|
|
2
|
+
export declare abstract class BaseComponent {
|
|
3
|
+
c: any;
|
|
4
|
+
a: any;
|
|
5
|
+
l: (k: any, v?: any) => string;
|
|
6
|
+
permissions: PermissionClass;
|
|
7
|
+
protected constructor(app: any, c: any, a?: any);
|
|
8
|
+
getPermission(permissions: PermissionClass[]): any;
|
|
9
|
+
getPermissionClass(p: any): PermissionClass;
|
|
10
|
+
hasAccess(a: string): boolean;
|
|
11
|
+
hasOption(a: string): boolean;
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { InputClass } from '../../classes/form.class';
|
|
3
|
+
import { ModalClass } from '../../classes/modal.class';
|
|
4
|
+
import { PsToolkitUiConfigService } from '../../services/config.service';
|
|
5
|
+
export declare class ConfirmComponent implements OnInit {
|
|
6
|
+
config: PsToolkitUiConfigService;
|
|
7
|
+
tableId: string;
|
|
8
|
+
l: (k: any, v?: any) => string;
|
|
9
|
+
confirm: ModalClass;
|
|
10
|
+
confirmLabel: InputClass;
|
|
11
|
+
constructor(config: PsToolkitUiConfigService);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
show(l: string, url: string, data: any, accept: (btn: InputClass) => void): void;
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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 FormBankCardComponent implements OnInit {
|
|
5
|
+
inp: InputClass;
|
|
6
|
+
changeIndex: EventEmitter<string>;
|
|
7
|
+
cValue: string;
|
|
8
|
+
get type(): typeof InputType;
|
|
9
|
+
part1: InputClass;
|
|
10
|
+
part2: InputClass;
|
|
11
|
+
part3: InputClass;
|
|
12
|
+
part4: InputClass;
|
|
13
|
+
inputPart1: ElementRef;
|
|
14
|
+
inputPart2: ElementRef;
|
|
15
|
+
inputPart3: ElementRef;
|
|
16
|
+
inputPart4: ElementRef;
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
changeFocus(p: any, a: any): void;
|
|
19
|
+
onFocusIn(e?: any): void;
|
|
20
|
+
onKeyDown(e: any): void;
|
|
21
|
+
getValue(): string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { InputClass } from '../../../classes/form.class';
|
|
3
|
+
export declare class FormButtonComponent implements OnInit {
|
|
4
|
+
inp: InputClass;
|
|
5
|
+
changeIndex: EventEmitter<string>;
|
|
6
|
+
inputDiv: ElementRef;
|
|
7
|
+
inputBase: ElementRef;
|
|
8
|
+
constructor();
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
onFocusIn(): void;
|
|
11
|
+
onClick(e: any): void;
|
|
12
|
+
mouseClick(): void;
|
|
13
|
+
codeClick(): void;
|
|
14
|
+
onKeyDown(e: any): void;
|
|
15
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
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 FormCarComponent implements OnInit {
|
|
5
|
+
inp: InputClass;
|
|
6
|
+
changeIndex: EventEmitter<string>;
|
|
7
|
+
type: VehicleType;
|
|
8
|
+
car: InputClass;
|
|
9
|
+
motor: InputClass;
|
|
10
|
+
inputDiv: ElementRef;
|
|
11
|
+
get vehicleType(): typeof VehicleType;
|
|
12
|
+
constructor();
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
changeType(t: VehicleType): void;
|
|
15
|
+
onFocusIn(): void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { InputClass } from '../../../../classes/form.class';
|
|
3
|
+
export declare class FormCarSearchComponent implements OnInit {
|
|
4
|
+
inp: InputClass;
|
|
5
|
+
hasFingerprintModule: any;
|
|
6
|
+
changeIndex: EventEmitter<string>;
|
|
7
|
+
type: string;
|
|
8
|
+
car: InputClass;
|
|
9
|
+
motor: InputClass;
|
|
10
|
+
driver: InputClass;
|
|
11
|
+
fingerprint: InputClass;
|
|
12
|
+
wsAuth: any;
|
|
13
|
+
inputDiv: ElementRef;
|
|
14
|
+
constructor();
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
changeType(t: string): void;
|
|
17
|
+
onFocusIn(): void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { InputClass } from '../../../classes/form.class';
|
|
3
|
+
export declare class FormCheckboxComponent implements OnInit {
|
|
4
|
+
inp: InputClass;
|
|
5
|
+
changeIndex: EventEmitter<string>;
|
|
6
|
+
inputBase: ElementRef;
|
|
7
|
+
inputDiv: ElementRef;
|
|
8
|
+
constructor();
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
onFocusIn(): void;
|
|
11
|
+
onClick(): void;
|
|
12
|
+
onChange(): void;
|
|
13
|
+
onKeyDown(e: any): void;
|
|
14
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import * as moment from 'jalali-moment';
|
|
3
|
+
import { DayClass, InputClass } from '../../../classes/form.class';
|
|
4
|
+
export declare class FormDateComponent implements OnInit {
|
|
5
|
+
inp: InputClass;
|
|
6
|
+
inForm: boolean;
|
|
7
|
+
changeIndex: EventEmitter<string>;
|
|
8
|
+
previousDays: DayClass[];
|
|
9
|
+
nextDays: DayClass[];
|
|
10
|
+
days: DayClass[];
|
|
11
|
+
todayDay: number;
|
|
12
|
+
todayMonth: number;
|
|
13
|
+
todayYear: number;
|
|
14
|
+
cSearch: string;
|
|
15
|
+
state: string;
|
|
16
|
+
months: string[];
|
|
17
|
+
active: moment.Moment;
|
|
18
|
+
inputBase: ElementRef;
|
|
19
|
+
inputDiv: ElementRef;
|
|
20
|
+
inputLabel: ElementRef;
|
|
21
|
+
inputCalendarDiv: ElementRef;
|
|
22
|
+
constructor();
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
setDate(): void;
|
|
25
|
+
isToday(m: moment.Moment, d: number): boolean;
|
|
26
|
+
isSelected(m: moment.Moment, d: number): boolean;
|
|
27
|
+
add(c: number): void;
|
|
28
|
+
changeMonth(c: number): void;
|
|
29
|
+
changeYear(c: number): void;
|
|
30
|
+
toggleCalendar(): void;
|
|
31
|
+
openCalendar(): void;
|
|
32
|
+
onKeyDown(e: any): void;
|
|
33
|
+
onKeyUp(e: any): void;
|
|
34
|
+
onFocusOut(): void;
|
|
35
|
+
setPosition(): void;
|
|
36
|
+
selectDate(d: DayClass): void;
|
|
37
|
+
setValue(y: number, m: number, d: number): void;
|
|
38
|
+
changeState(s: string): void;
|
|
39
|
+
getYears(): number[];
|
|
40
|
+
getActiveMonth(): string;
|
|
41
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { InputClass } from '../../../classes/form.class';
|
|
3
|
+
export declare class FormDatetimeComponent implements OnInit {
|
|
4
|
+
inp: InputClass;
|
|
5
|
+
inForm: boolean;
|
|
6
|
+
changeIndex: EventEmitter<string>;
|
|
7
|
+
date: InputClass;
|
|
8
|
+
time: InputClass;
|
|
9
|
+
constructor();
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
changeFocus(p: any, a: any): void;
|
|
12
|
+
getValue(): string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { InputClass } from '../../../classes/form.class';
|
|
3
|
+
export declare class FormFileComponent implements OnInit {
|
|
4
|
+
inp: InputClass;
|
|
5
|
+
changeIndex: EventEmitter<string>;
|
|
6
|
+
inputDiv: ElementRef;
|
|
7
|
+
inputBaseFile: ElementRef;
|
|
8
|
+
inputBase: ElementRef;
|
|
9
|
+
constructor();
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
getPdfImage(file: any): any;
|
|
12
|
+
onClick(): void;
|
|
13
|
+
onChange(e: any): void;
|
|
14
|
+
onKeyDown(e: any): void;
|
|
15
|
+
onFocusIn(): void;
|
|
16
|
+
title(): string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { InputClass } from '../../../classes/form.class';
|
|
3
|
+
export declare class FormFingerComponent implements OnInit {
|
|
4
|
+
inp: InputClass;
|
|
5
|
+
changeIndex: EventEmitter<string>;
|
|
6
|
+
inputBase: ElementRef;
|
|
7
|
+
inputDiv: ElementRef;
|
|
8
|
+
inputLabel: ElementRef;
|
|
9
|
+
wsRegister: any;
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
onClick(): void;
|
|
12
|
+
onFocusIn(): void;
|
|
13
|
+
onKeyDown(e: any): void;
|
|
14
|
+
addRemoveFinger(f: string): void;
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { InputClass } from '../../../classes/form.class';
|
|
3
|
+
export declare class FormIconComponent implements OnInit {
|
|
4
|
+
inp: InputClass;
|
|
5
|
+
changeIndex: EventEmitter<string>;
|
|
6
|
+
inputDiv: ElementRef;
|
|
7
|
+
inputBase: ElementRef;
|
|
8
|
+
constructor();
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
onFocusIn(): void;
|
|
11
|
+
onClick(e: any): void;
|
|
12
|
+
mouseClick(): void;
|
|
13
|
+
codeClick(): void;
|
|
14
|
+
onKeyDown(e: any): void;
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormClass } from '../../../classes/form.class';
|
|
3
|
+
import { InputType } from '../../../classes/enum.class';
|
|
4
|
+
export declare class FormComponent implements OnInit {
|
|
5
|
+
form: FormClass;
|
|
6
|
+
get type(): typeof InputType;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
changeIndex(index: any, action: any): void;
|
|
10
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
alphas: string[];
|
|
13
|
+
inputBase: ElementRef;
|
|
14
|
+
inputDiv: ElementRef;
|
|
15
|
+
inputLabel: ElementRef;
|
|
16
|
+
constructor();
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
changeFocus(p: any, a: any): void;
|
|
19
|
+
onFocusIn(e?: any): void;
|
|
20
|
+
onKeyDown(e: any): void;
|
|
21
|
+
getValue(): string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
alphas: string[];
|
|
16
|
+
inputDiv: ElementRef;
|
|
17
|
+
inputBase: ElementRef;
|
|
18
|
+
inputOptionsDiv: ElementRef;
|
|
19
|
+
inputLabel: ElementRef;
|
|
20
|
+
ngOnInit(): 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
|
+
setHoverCenter(): void;
|
|
31
|
+
getSelected(o?: OptionClass[]): any;
|
|
32
|
+
getHover(i?: number, o?: OptionClass[], h?: number): number;
|
|
33
|
+
getValue(v: any, o?: OptionClass[]): OptionClass;
|
|
34
|
+
plaqueChangeFocus(p: any, a: any): void;
|
|
35
|
+
getSearch(): string;
|
|
36
|
+
}
|
|
@@ -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(): void;
|
|
12
|
+
onFocusIn(): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
get type(): typeof InputType;
|
|
10
|
+
inputDiv: ElementRef;
|
|
11
|
+
inputBase: ElementRef;
|
|
12
|
+
inputOptionsDiv: ElementRef;
|
|
13
|
+
inputLabel: ElementRef;
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
loadOptions(): void;
|
|
16
|
+
openOptions(): void;
|
|
17
|
+
onFocusOut(): void;
|
|
18
|
+
closeOptions(): boolean;
|
|
19
|
+
setPosition(): void;
|
|
20
|
+
setOptions(r?: OptionClass[]): void;
|
|
21
|
+
onKeyDown(e: any): void;
|
|
22
|
+
toggleOption(e: any): void;
|
|
23
|
+
onKeyUp(e: any): void;
|
|
24
|
+
selectOption(v: any, isEdit?: boolean): void;
|
|
25
|
+
toggle(op: OptionClass): void;
|
|
26
|
+
check(c: OptionClass): void;
|
|
27
|
+
unCheck(c: OptionClass): void;
|
|
28
|
+
checkChildren(o: OptionClass): void;
|
|
29
|
+
checkParent(p: OptionClass): void;
|
|
30
|
+
unCheckParent(p: OptionClass): void;
|
|
31
|
+
cI(i: string): void;
|
|
32
|
+
setHoverCenter(): void;
|
|
33
|
+
title(): string;
|
|
34
|
+
getTitle(os: any): string;
|
|
35
|
+
getSelectedHover(o?: OptionClass[]): any;
|
|
36
|
+
getHover(i?: number, o?: OptionClass[], h?: number): number;
|
|
37
|
+
getValue(v: any, o?: OptionClass[]): OptionClass;
|
|
38
|
+
getSelected(opts?: OptionClass[]): any[];
|
|
39
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { InputClass, OptionClass } from '../../../../classes/form.class';
|
|
3
|
+
export declare class FormSelectItemComponent implements OnInit {
|
|
4
|
+
selectOption: EventEmitter<string>;
|
|
5
|
+
select: InputClass;
|
|
6
|
+
item: OptionClass;
|
|
7
|
+
parent: OptionClass;
|
|
8
|
+
index: number;
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
hoverOption(opt: OptionClass): void;
|
|
11
|
+
toggleChildren(e: any): void;
|
|
12
|
+
}
|
|
@@ -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,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
|
+
navigationKeys: string[];
|
|
10
|
+
inputBase: ElementRef;
|
|
11
|
+
inputDiv: ElementRef;
|
|
12
|
+
inputLabel: ElementRef;
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
onFocusIn(changeIndex?: boolean): 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,16 @@
|
|
|
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
|
+
check(ids: any): void;
|
|
15
|
+
checkChildren(chs: TreeRowClass[], ids: any): void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { InputClass, TreeRowClass } from '../../../../classes/form.class';
|
|
3
|
+
export declare class FormTreeItemComponent implements OnInit {
|
|
4
|
+
item: TreeRowClass;
|
|
5
|
+
level: number;
|
|
6
|
+
index: number;
|
|
7
|
+
tree: InputClass;
|
|
8
|
+
parent: TreeRowClass;
|
|
9
|
+
base: boolean;
|
|
10
|
+
changeIndex: EventEmitter<string>;
|
|
11
|
+
inputDiv: ElementRef;
|
|
12
|
+
inputBase: ElementRef;
|
|
13
|
+
constructor();
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
openClose(e: any): void;
|
|
16
|
+
onClick(): void;
|
|
17
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { InputClass } from '../../classes/form.class';
|
|
2
|
+
import { PsToolkitUiConfigService } from '../../services/config.service';
|
|
3
|
+
export declare class HeaderComponent {
|
|
4
|
+
config: PsToolkitUiConfigService;
|
|
5
|
+
logout: InputClass;
|
|
6
|
+
constructor(config: PsToolkitUiConfigService);
|
|
7
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
export declare class LoginComponent implements OnInit {
|
|
6
|
+
config: PsToolkitUiConfigService;
|
|
7
|
+
login: LoginClass;
|
|
8
|
+
mobile: InputClass;
|
|
9
|
+
username: InputClass;
|
|
10
|
+
l: (k: any, v?: any) => string;
|
|
11
|
+
constructor(config: PsToolkitUiConfigService);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
}
|
|
@@ -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,7 @@
|
|
|
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
|
+
constructor(config: PsToolkitUiConfigService);
|
|
7
|
+
}
|