ps-toolkit-ui 1.21.38 → 1.21.42

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.
@@ -1,107 +1,14 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnInit, OnDestroy, EventEmitter, ElementRef, ModuleWithProviders } from '@angular/core';
2
+ import { OnInit, EventEmitter, ElementRef, OnDestroy, ModuleWithProviders } from '@angular/core';
3
+ import { Chart } from 'highcharts';
3
4
  import * as i56 from '@angular/router';
4
5
  import { Router } from '@angular/router';
5
- import * as rxjs from 'rxjs';
6
- import { Chart } from 'highcharts';
7
6
  import moment from 'jalali-moment';
8
- import * as i55 from '@angular/common';
7
+ import * as rxjs from 'rxjs';
8
+ import * as i44 from '@angular/common';
9
9
  import * as i57 from '@angular/forms';
10
10
  import * as i58 from 'ckeditor4-angular';
11
11
 
12
- declare class SidebarClass {
13
- constructor(l: (k: any, v?: any) => string, id: string, name: string, controller: string, action: string, url: string, icon: string, children?: SidebarClass[]);
14
- l: (k: any, v?: any) => string;
15
- controller: string;
16
- action: string;
17
- url: string;
18
- id: string;
19
- name: string;
20
- icon: string;
21
- count: number;
22
- countAll: number;
23
- children: SidebarClass[];
24
- active: boolean;
25
- }
26
-
27
- declare class PsToolkitUiConfigService {
28
- environment: any;
29
- strings: any;
30
- currentLang: string;
31
- constructor(environment: any, strings: any, currentLang: string);
32
- }
33
-
34
- declare class SidebarItemComponent {
35
- config: PsToolkitUiConfigService;
36
- item: SidebarClass;
37
- i: number;
38
- base: boolean;
39
- currentSidebar: any;
40
- l: (k: any, v?: any) => string;
41
- constructor(config: PsToolkitUiConfigService);
42
- openClose(e: any): void;
43
- isActive(item: SidebarClass): boolean;
44
- closeSidebar(): void;
45
- static ɵfac: i0.ɵɵFactoryDeclaration<SidebarItemComponent, never>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<SidebarItemComponent, "lib-sidebar-item", never, { "item": { "alias": "item"; "required": false; }; "i": { "alias": "i"; "required": false; }; "base": { "alias": "base"; "required": false; }; "currentSidebar": { "alias": "currentSidebar"; "required": false; }; }, {}, never, never, false, never>;
47
- }
48
-
49
- declare class CurrentDataClass {
50
- constructor(data?: any);
51
- user: any;
52
- permissions: any[];
53
- modules: any[];
54
- software: {
55
- Version: string;
56
- };
57
- setting: any;
58
- }
59
-
60
- declare class SidebarService {
61
- private countSource;
62
- private countAllSource;
63
- currentCount: rxjs.Observable<number>;
64
- currentCountAll: rxjs.Observable<number>;
65
- constructor();
66
- changeCount(count: number): void;
67
- changeCountAll(countAll: number): void;
68
- static ɵfac: i0.ɵɵFactoryDeclaration<SidebarService, never>;
69
- static ɵprov: i0.ɵɵInjectableDeclaration<SidebarService>;
70
- }
71
-
72
- declare class SidebarComponent implements OnInit {
73
- config: PsToolkitUiConfigService;
74
- private router;
75
- private service;
76
- currentData: CurrentDataClass;
77
- sidebar: SidebarClass[];
78
- currentSidebar: any;
79
- countItems: number;
80
- l: (k: any, v?: any) => string;
81
- constructor(config: PsToolkitUiConfigService, router: Router, service: SidebarService);
82
- setActive(): void;
83
- ngOnInit(): void;
84
- getSidebar(parentId?: string): SidebarClass[];
85
- getSidebarActive(item: SidebarClass[], active: any): SidebarClass;
86
- toggleSidebar(): void;
87
- static ɵfac: i0.ɵɵFactoryDeclaration<SidebarComponent, never>;
88
- static ɵcmp: i0.ɵɵComponentDeclaration<SidebarComponent, "lib-sidebar", never, { "currentData": { "alias": "currentData"; "required": false; }; }, {}, never, never, false, never>;
89
- }
90
-
91
- declare class SubHeaderComponent {
92
- constructor();
93
- static ɵfac: i0.ɵɵFactoryDeclaration<SubHeaderComponent, never>;
94
- static ɵcmp: i0.ɵɵComponentDeclaration<SubHeaderComponent, "lib-sub-header", never, {}, {}, never, never, false, never>;
95
- }
96
-
97
- declare class FooterComponent {
98
- config: PsToolkitUiConfigService;
99
- l: (k: any, v?: any) => string;
100
- constructor(config: PsToolkitUiConfigService);
101
- static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
102
- static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "lib-footer", never, {}, {}, never, never, false, never>;
103
- }
104
-
105
12
  declare class EnumUtils {
106
13
  static getValues(enumObj: any): any[];
107
14
  static getKeyByValue(enumObj: any, v: any): any[];
@@ -666,294 +573,116 @@ declare class AccordionRowClass {
666
573
  open(): void;
667
574
  }
668
575
 
669
- declare class StepsClass {
670
- constructor(environment: any, l: (k: any, v?: any) => string);
671
- environment: any;
672
- l: (k: any, v?: any) => string;
673
- items: StepsItemClass[];
674
- activeAll: boolean;
675
- isDone: boolean;
676
- updateAccess: boolean;
677
- viewAccess: boolean;
678
- onDone: () => void;
679
- onLoadStep: (s: StepsItemClass) => void;
680
- getCurrent(): number;
681
- getActive(): number;
682
- loadStep(s: StepsItemClass): void;
683
- }
684
- declare class StepsItemClass {
685
- id: number;
686
- name: string;
687
- icon: string;
688
- url: string;
689
- active: boolean;
690
- constructor(id: number, name: string, icon?: string, url?: string, active?: boolean);
691
- title: string;
692
- current: boolean;
693
- description: string;
694
- form: FormClass;
695
- formType: any;
696
- onClick: (item: any) => void;
697
- onDelete: (item: any) => void;
576
+ declare class FormSelectItemComponent implements OnInit {
577
+ selectOption: EventEmitter<string>;
578
+ select: InputClass;
579
+ item: OptionClass;
580
+ parent: OptionClass;
581
+ level: number;
582
+ get type(): typeof InputType;
583
+ ngOnInit(): void;
584
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormSelectItemComponent, never>;
585
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormSelectItemComponent, "lib-form-select-item", never, { "select": { "alias": "select"; "required": false; }; "item": { "alias": "item"; "required": false; }; "parent": { "alias": "parent"; "required": false; }; "level": { "alias": "level"; "required": false; }; }, { "selectOption": "selectOption"; }, never, never, true, never>;
698
586
  }
699
587
 
700
- declare class StepsComponent implements OnInit {
701
- steps: StepsClass;
702
- saveNext: InputClass;
703
- editNext: InputClass;
704
- saveDone: InputClass;
705
- editDone: InputClass;
706
- previous: InputClass;
588
+ declare class FormCheckboxComponent implements OnInit {
589
+ inp: InputClass;
590
+ changeIndex: EventEmitter<string>;
591
+ inputBase: ElementRef;
592
+ inputDiv: ElementRef;
707
593
  constructor();
708
- changeStep(s: StepsItemClass): void;
709
- onDelete(s: StepsItemClass): void;
710
594
  ngOnInit(): void;
711
- nextStep(btn: InputClass, done?: boolean): void;
712
- static ɵfac: i0.ɵɵFactoryDeclaration<StepsComponent, never>;
713
- static ɵcmp: i0.ɵɵComponentDeclaration<StepsComponent, "lib-steps", never, { "steps": { "alias": "steps"; "required": false; }; }, {}, never, ["*"], false, never>;
595
+ onFocusIn(): void;
596
+ onClick(): void;
597
+ onChange(): void;
598
+ onKeyDown(e: any): void;
599
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormCheckboxComponent, never>;
600
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormCheckboxComponent, "lib-form-checkbox", never, { "inp": { "alias": "inp"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
714
601
  }
715
602
 
716
- declare class HeaderClass {
717
- constructor(environment: any, l: (k: any, v?: any) => string);
718
- username: string;
719
- info: string;
720
- buttons: InputClass[];
721
- logout: (btn: any) => void;
603
+ declare class TablePaginationComponent implements OnInit {
604
+ table: TableClass;
605
+ size: number;
606
+ perPageSelect: InputClass;
607
+ next: InputClass;
608
+ get type(): typeof InputType;
609
+ getButtons(): InputClass[];
610
+ add(s: number, f: number): InputClass[];
611
+ changePage(btn: any): void;
612
+ ngOnInit(): void;
613
+ static ɵfac: i0.ɵɵFactoryDeclaration<TablePaginationComponent, never>;
614
+ static ɵcmp: i0.ɵɵComponentDeclaration<TablePaginationComponent, "lib-table-pagination", never, { "table": { "alias": "table"; "required": false; }; }, {}, never, never, true, never>;
722
615
  }
723
616
 
724
- declare class HeaderComponent {
725
- config: PsToolkitUiConfigService;
726
- header: HeaderClass;
617
+ declare class FormBankCardComponent implements OnInit {
618
+ inp: InputClass;
619
+ changeIndex: EventEmitter<string>;
620
+ cValue: string;
727
621
  get type(): typeof InputType;
728
- constructor(config: PsToolkitUiConfigService);
729
- showUserDropDown(e: any): void;
730
- static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
731
- static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "lib-header", never, { "header": { "alias": "header"; "required": false; }; }, {}, never, ["*"], false, never>;
622
+ part1: InputClass;
623
+ part2: InputClass;
624
+ part3: InputClass;
625
+ part4: InputClass;
626
+ inputPart1: ElementRef;
627
+ inputPart2: ElementRef;
628
+ inputPart3: ElementRef;
629
+ inputPart4: ElementRef;
630
+ inputIcon: ElementRef;
631
+ banks: {
632
+ name: string;
633
+ startWith: string[];
634
+ }[];
635
+ ngOnInit(): void;
636
+ setIcon(): void;
637
+ changeFocus(p: any, a: any): void;
638
+ onFocusIn(e?: any): void;
639
+ onKeyDown(e: any): void;
640
+ getValue(): string;
641
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormBankCardComponent, never>;
642
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormBankCardComponent, "lib-form-bank-card", never, { "inp": { "alias": "inp"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
732
643
  }
733
644
 
734
- declare class TooltipComponent {
735
- text: string;
736
- position: string;
737
- constructor();
738
- static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
739
- static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "lib-tooltip", never, { "text": { "alias": "text"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, never, false, never>;
645
+ declare class FormPlaqueSelectComponent implements OnInit {
646
+ changeIndex: EventEmitter<string>;
647
+ inp: InputClass;
648
+ cSearch: string;
649
+ open: boolean;
650
+ top: boolean;
651
+ part1: InputClass;
652
+ part2: InputClass;
653
+ part3: InputClass;
654
+ part4: InputClass;
655
+ get type(): typeof InputType;
656
+ inputDiv: ElementRef;
657
+ inputOptionsDiv: ElementRef;
658
+ ngOnInit(): void;
659
+ onFocusOutCloseOptions(e: any): void;
660
+ loadOptions(): void;
661
+ openOptions(f?: boolean): boolean;
662
+ focusInput(f?: boolean): void;
663
+ closeOptions(): boolean;
664
+ setPosition(): void;
665
+ onKeyDown(e: any): void;
666
+ toggleOption(): void;
667
+ selectOption(v: any, isEdit?: boolean): void;
668
+ cI(i: string): void;
669
+ getValue(v: any, o?: OptionClass[]): any;
670
+ plaqueChangeFocus(p: any, a: any): void;
671
+ getSearch(): string;
672
+ setHoverCenter(): void;
673
+ removeHover(): void;
674
+ getSelectedHover(): any;
675
+ setHoverUp(): void;
676
+ setHoverDown(): void;
677
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormPlaqueSelectComponent, never>;
678
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormPlaqueSelectComponent, "lib-form-plaque-select", never, { "inp": { "alias": "inp"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
740
679
  }
741
680
 
742
- declare class AlertComponent {
743
- config: PsToolkitUiConfigService;
744
- alert: ModalClass;
745
- alertLabel: InputClass;
746
- constructor(config: PsToolkitUiConfigService);
747
- show(l: string, accept: () => void): void;
748
- static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
749
- static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "lib-alert", never, {}, {}, never, never, false, never>;
750
- }
751
-
752
- declare class LayoutComponent {
753
- currentData: CurrentDataClass;
754
- header: HeaderClass;
755
- constructor();
756
- static ɵfac: i0.ɵɵFactoryDeclaration<LayoutComponent, never>;
757
- static ɵcmp: i0.ɵɵComponentDeclaration<LayoutComponent, "lib-layout", never, { "currentData": { "alias": "currentData"; "required": false; }; "header": { "alias": "header"; "required": false; }; }, {}, never, ["[slot=sidebar]", "[slot=header]"], false, never>;
758
- }
759
-
760
- declare class LoadingComponent {
761
- l: (k: any, v?: any) => string;
762
- constructor(config: PsToolkitUiConfigService);
763
- static ɵfac: i0.ɵɵFactoryDeclaration<LoadingComponent, never>;
764
- static ɵcmp: i0.ɵɵComponentDeclaration<LoadingComponent, "lib-loading", never, {}, {}, never, never, false, never>;
765
- }
766
-
767
- declare class NotfoundComponent {
768
- config: PsToolkitUiConfigService;
769
- back: InputClass;
770
- l: (k: any, v?: any) => string;
771
- constructor(config: PsToolkitUiConfigService);
772
- static ɵfac: i0.ɵɵFactoryDeclaration<NotfoundComponent, never>;
773
- static ɵcmp: i0.ɵɵComponentDeclaration<NotfoundComponent, "lib-notfound", never, {}, {}, never, never, false, never>;
774
- }
775
-
776
- declare class CalendarComponent {
777
- config: PsToolkitUiConfigService;
778
- state: string;
779
- months: any[];
780
- active: moment.Moment;
781
- previousDays: DayClass[];
782
- nextDays: DayClass[];
783
- days: DayClass[];
784
- todayDay: number;
785
- todayMonth: number;
786
- todayYear: number;
787
- l: (k: any, v?: any) => string;
788
- constructor(config: PsToolkitUiConfigService);
789
- changeState(s: string): void;
790
- getYears(): number[];
791
- getActiveMonth(): string;
792
- add(c: number): void;
793
- changeMonth(c: number): void;
794
- changeYear(c: number): void;
795
- setDate(): void;
796
- isToday(m: moment.Moment, d: number): boolean;
797
- parseInt(n: any): number;
798
- setActive(m: any): void;
799
- static ɵfac: i0.ɵɵFactoryDeclaration<CalendarComponent, never>;
800
- static ɵcmp: i0.ɵɵComponentDeclaration<CalendarComponent, "lib-calendar", never, {}, {}, never, never, false, never>;
801
- }
802
-
803
- declare class ClockComponent implements OnInit, OnDestroy {
804
- clockInterval: any;
805
- active: moment.Moment;
806
- constructor();
807
- ngOnInit(): void;
808
- ngOnDestroy(): void;
809
- clockUpdate(): void;
810
- static ɵfac: i0.ɵɵFactoryDeclaration<ClockComponent, never>;
811
- static ɵcmp: i0.ɵɵComponentDeclaration<ClockComponent, "lib-clock", never, {}, {}, never, never, false, never>;
812
- }
813
-
814
- declare class LoginClass {
815
- constructor(l: (k: any, v?: any) => string, type: string);
816
- modal: ModalClass;
817
- type: string;
818
- l: (k: any, v?: any) => string;
819
- steps: LoginStepClass[];
820
- active: number;
821
- onSuccess: (result: any) => void;
822
- sendCodeUrl: string;
823
- loginUrl: string;
824
- rules: string;
825
- setCookie(r: any): void;
826
- showModal(): void;
827
- }
828
- declare class LoginStepClass {
829
- constructor(form: FormClass);
830
- form: FormClass;
831
- show(result?: any): void;
832
- }
833
-
834
- declare class LoginComponent implements OnInit {
835
- config: PsToolkitUiConfigService;
836
- login: LoginClass;
837
- loginTemplate: string;
838
- mobile: InputClass;
839
- username: InputClass;
840
- rulesModal: ModalClass;
841
- constructor(config: PsToolkitUiConfigService);
842
- ngOnInit(): void;
843
- static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, never>;
844
- static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "lib-login", never, { "login": { "alias": "login"; "required": false; }; "loginTemplate": { "alias": "loginTemplate"; "required": false; }; }, {}, never, never, false, never>;
845
- }
846
-
847
- declare class FormSelectItemComponent implements OnInit {
848
- selectOption: EventEmitter<string>;
849
- select: InputClass;
850
- item: OptionClass;
851
- parent: OptionClass;
852
- level: number;
853
- get type(): typeof InputType;
854
- ngOnInit(): void;
855
- static ɵfac: i0.ɵɵFactoryDeclaration<FormSelectItemComponent, never>;
856
- static ɵcmp: i0.ɵɵComponentDeclaration<FormSelectItemComponent, "lib-form-select-item", never, { "select": { "alias": "select"; "required": false; }; "item": { "alias": "item"; "required": false; }; "parent": { "alias": "parent"; "required": false; }; "level": { "alias": "level"; "required": false; }; }, { "selectOption": "selectOption"; }, never, never, true, never>;
857
- }
858
-
859
- declare class FormCheckboxComponent implements OnInit {
860
- inp: InputClass;
861
- changeIndex: EventEmitter<string>;
862
- inputBase: ElementRef;
863
- inputDiv: ElementRef;
864
- constructor();
865
- ngOnInit(): void;
866
- onFocusIn(): void;
867
- onClick(): void;
868
- onChange(): void;
869
- onKeyDown(e: any): void;
870
- static ɵfac: i0.ɵɵFactoryDeclaration<FormCheckboxComponent, never>;
871
- static ɵcmp: i0.ɵɵComponentDeclaration<FormCheckboxComponent, "lib-form-checkbox", never, { "inp": { "alias": "inp"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
872
- }
873
-
874
- declare class TablePaginationComponent implements OnInit {
875
- table: TableClass;
876
- size: number;
877
- perPageSelect: InputClass;
878
- next: InputClass;
879
- get type(): typeof InputType;
880
- getButtons(): InputClass[];
881
- add(s: number, f: number): InputClass[];
882
- changePage(btn: any): void;
883
- ngOnInit(): void;
884
- static ɵfac: i0.ɵɵFactoryDeclaration<TablePaginationComponent, never>;
885
- static ɵcmp: i0.ɵɵComponentDeclaration<TablePaginationComponent, "lib-table-pagination", never, { "table": { "alias": "table"; "required": false; }; }, {}, never, never, true, never>;
886
- }
887
-
888
- declare class FormBankCardComponent implements OnInit {
889
- inp: InputClass;
890
- changeIndex: EventEmitter<string>;
891
- cValue: string;
892
- get type(): typeof InputType;
893
- part1: InputClass;
894
- part2: InputClass;
895
- part3: InputClass;
896
- part4: InputClass;
897
- inputPart1: ElementRef;
898
- inputPart2: ElementRef;
899
- inputPart3: ElementRef;
900
- inputPart4: ElementRef;
901
- inputIcon: ElementRef;
902
- banks: {
903
- name: string;
904
- startWith: string[];
905
- }[];
906
- ngOnInit(): void;
907
- setIcon(): void;
908
- changeFocus(p: any, a: any): void;
909
- onFocusIn(e?: any): void;
910
- onKeyDown(e: any): void;
911
- getValue(): string;
912
- static ɵfac: i0.ɵɵFactoryDeclaration<FormBankCardComponent, never>;
913
- static ɵcmp: i0.ɵɵComponentDeclaration<FormBankCardComponent, "lib-form-bank-card", never, { "inp": { "alias": "inp"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
914
- }
915
-
916
- declare class FormPlaqueSelectComponent implements OnInit {
917
- changeIndex: EventEmitter<string>;
918
- inp: InputClass;
919
- cSearch: string;
920
- open: boolean;
921
- top: boolean;
922
- part1: InputClass;
923
- part2: InputClass;
924
- part3: InputClass;
925
- part4: InputClass;
926
- get type(): typeof InputType;
927
- inputDiv: ElementRef;
928
- inputOptionsDiv: ElementRef;
929
- ngOnInit(): void;
930
- onFocusOutCloseOptions(e: any): void;
931
- loadOptions(): void;
932
- openOptions(f?: boolean): boolean;
933
- focusInput(f?: boolean): void;
934
- closeOptions(): boolean;
935
- setPosition(): void;
936
- onKeyDown(e: any): void;
937
- toggleOption(): void;
938
- selectOption(v: any, isEdit?: boolean): void;
939
- cI(i: string): void;
940
- getValue(v: any, o?: OptionClass[]): any;
941
- plaqueChangeFocus(p: any, a: any): void;
942
- getSearch(): string;
943
- setHoverCenter(): void;
944
- removeHover(): void;
945
- getSelectedHover(): any;
946
- setHoverUp(): void;
947
- setHoverDown(): void;
948
- static ɵfac: i0.ɵɵFactoryDeclaration<FormPlaqueSelectComponent, never>;
949
- static ɵcmp: i0.ɵɵComponentDeclaration<FormPlaqueSelectComponent, "lib-form-plaque-select", never, { "inp": { "alias": "inp"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
950
- }
951
-
952
- declare class TableLoadingComponent {
953
- table: TableClass;
954
- constructor();
955
- static ɵfac: i0.ɵɵFactoryDeclaration<TableLoadingComponent, never>;
956
- static ɵcmp: i0.ɵɵComponentDeclaration<TableLoadingComponent, "lib-table-loading", never, { "table": { "alias": "table"; "required": false; }; }, {}, never, never, true, never>;
681
+ declare class TableLoadingComponent {
682
+ table: TableClass;
683
+ constructor();
684
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableLoadingComponent, never>;
685
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableLoadingComponent, "lib-table-loading", never, { "table": { "alias": "table"; "required": false; }; }, {}, never, never, true, never>;
957
686
  }
958
687
 
959
688
  declare class FormTreeItemComponent implements OnInit {
@@ -1179,6 +908,13 @@ declare class FormRadioComponent implements OnInit {
1179
908
  static ɵcmp: i0.ɵɵComponentDeclaration<FormRadioComponent, "lib-form-radio", never, { "inp": { "alias": "inp"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
1180
909
  }
1181
910
 
911
+ declare class PsToolkitUiConfigService {
912
+ environment: any;
913
+ strings: any;
914
+ currentLang: string;
915
+ constructor(environment: any, strings: any, currentLang: string);
916
+ }
917
+
1182
918
  declare class ConfirmComponent implements OnInit {
1183
919
  config: PsToolkitUiConfigService;
1184
920
  tableId: string;
@@ -1559,10 +1295,274 @@ declare class ErrorComponent {
1559
1295
  static ɵcmp: i0.ɵɵComponentDeclaration<ErrorComponent, "lib-error", never, { "error": { "alias": "error"; "required": false; }; }, {}, never, never, true, never>;
1560
1296
  }
1561
1297
 
1298
+ declare class AlertComponent {
1299
+ config: PsToolkitUiConfigService;
1300
+ alert: ModalClass;
1301
+ alertLabel: InputClass;
1302
+ constructor(config: PsToolkitUiConfigService);
1303
+ show(l: string, accept: () => void): void;
1304
+ static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
1305
+ static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "lib-alert", never, {}, {}, never, never, true, never>;
1306
+ }
1307
+
1308
+ declare class SidebarClass {
1309
+ constructor(l: (k: any, v?: any) => string, id: string, name: string, controller: string, action: string, url: string, icon: string, children?: SidebarClass[]);
1310
+ l: (k: any, v?: any) => string;
1311
+ controller: string;
1312
+ action: string;
1313
+ url: string;
1314
+ id: string;
1315
+ name: string;
1316
+ icon: string;
1317
+ count: number;
1318
+ countAll: number;
1319
+ children: SidebarClass[];
1320
+ active: boolean;
1321
+ }
1322
+
1323
+ declare class CurrentDataClass {
1324
+ constructor(data?: any);
1325
+ user: any;
1326
+ permissions: any[];
1327
+ modules: any[];
1328
+ software: {
1329
+ Version: string;
1330
+ };
1331
+ setting: any;
1332
+ }
1333
+
1334
+ declare class SidebarService {
1335
+ private countSource;
1336
+ private countAllSource;
1337
+ currentCount: rxjs.Observable<number>;
1338
+ currentCountAll: rxjs.Observable<number>;
1339
+ constructor();
1340
+ changeCount(count: number): void;
1341
+ changeCountAll(countAll: number): void;
1342
+ static ɵfac: i0.ɵɵFactoryDeclaration<SidebarService, never>;
1343
+ static ɵprov: i0.ɵɵInjectableDeclaration<SidebarService>;
1344
+ }
1345
+
1346
+ declare class SidebarComponent implements OnInit {
1347
+ config: PsToolkitUiConfigService;
1348
+ private router;
1349
+ private service;
1350
+ currentData: CurrentDataClass;
1351
+ sidebar: SidebarClass[];
1352
+ currentSidebar: any;
1353
+ countItems: number;
1354
+ l: (k: any, v?: any) => string;
1355
+ constructor(config: PsToolkitUiConfigService, router: Router, service: SidebarService);
1356
+ setActive(): void;
1357
+ ngOnInit(): void;
1358
+ getSidebar(parentId?: string): SidebarClass[];
1359
+ getSidebarActive(item: SidebarClass[], active: any): SidebarClass;
1360
+ toggleSidebar(): void;
1361
+ static ɵfac: i0.ɵɵFactoryDeclaration<SidebarComponent, never>;
1362
+ static ɵcmp: i0.ɵɵComponentDeclaration<SidebarComponent, "lib-sidebar", never, { "currentData": { "alias": "currentData"; "required": false; }; }, {}, never, never, true, never>;
1363
+ }
1364
+
1365
+ declare class SidebarItemComponent {
1366
+ config: PsToolkitUiConfigService;
1367
+ item: SidebarClass;
1368
+ i: number;
1369
+ base: boolean;
1370
+ currentSidebar: any;
1371
+ l: (k: any, v?: any) => string;
1372
+ constructor(config: PsToolkitUiConfigService);
1373
+ openClose(e: any): void;
1374
+ isActive(item: SidebarClass): boolean;
1375
+ closeSidebar(): void;
1376
+ static ɵfac: i0.ɵɵFactoryDeclaration<SidebarItemComponent, never>;
1377
+ static ɵcmp: i0.ɵɵComponentDeclaration<SidebarItemComponent, "lib-sidebar-item", never, { "item": { "alias": "item"; "required": false; }; "i": { "alias": "i"; "required": false; }; "base": { "alias": "base"; "required": false; }; "currentSidebar": { "alias": "currentSidebar"; "required": false; }; }, {}, never, never, true, never>;
1378
+ }
1379
+
1380
+ declare class HeaderClass {
1381
+ constructor(environment: any, l: (k: any, v?: any) => string);
1382
+ username: string;
1383
+ info: string;
1384
+ buttons: InputClass[];
1385
+ logout: (btn: any) => void;
1386
+ }
1387
+
1388
+ declare class HeaderComponent {
1389
+ config: PsToolkitUiConfigService;
1390
+ header: HeaderClass;
1391
+ get type(): typeof InputType;
1392
+ constructor(config: PsToolkitUiConfigService);
1393
+ showUserDropDown(e: any): void;
1394
+ static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
1395
+ static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "lib-header", never, { "header": { "alias": "header"; "required": false; }; }, {}, never, ["*"], true, never>;
1396
+ }
1397
+
1398
+ declare class FooterComponent {
1399
+ config: PsToolkitUiConfigService;
1400
+ l: (k: any, v?: any) => string;
1401
+ constructor(config: PsToolkitUiConfigService);
1402
+ static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
1403
+ static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "lib-footer", never, {}, {}, never, never, true, never>;
1404
+ }
1405
+
1406
+ declare class SubHeaderComponent {
1407
+ constructor();
1408
+ static ɵfac: i0.ɵɵFactoryDeclaration<SubHeaderComponent, never>;
1409
+ static ɵcmp: i0.ɵɵComponentDeclaration<SubHeaderComponent, "lib-sub-header", never, {}, {}, never, never, true, never>;
1410
+ }
1411
+
1412
+ declare class LayoutComponent {
1413
+ currentData: CurrentDataClass;
1414
+ header: HeaderClass;
1415
+ constructor();
1416
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayoutComponent, never>;
1417
+ static ɵcmp: i0.ɵɵComponentDeclaration<LayoutComponent, "lib-layout", never, { "currentData": { "alias": "currentData"; "required": false; }; "header": { "alias": "header"; "required": false; }; }, {}, never, ["[slot=sidebar]", "[slot=header]"], true, never>;
1418
+ }
1419
+
1420
+ declare class StepsClass {
1421
+ constructor(environment: any, l: (k: any, v?: any) => string);
1422
+ environment: any;
1423
+ l: (k: any, v?: any) => string;
1424
+ items: StepsItemClass[];
1425
+ activeAll: boolean;
1426
+ isDone: boolean;
1427
+ updateAccess: boolean;
1428
+ viewAccess: boolean;
1429
+ onDone: () => void;
1430
+ onLoadStep: (s: StepsItemClass) => void;
1431
+ getCurrent(): number;
1432
+ getActive(): number;
1433
+ loadStep(s: StepsItemClass): void;
1434
+ }
1435
+ declare class StepsItemClass {
1436
+ id: number;
1437
+ name: string;
1438
+ icon: string;
1439
+ url: string;
1440
+ active: boolean;
1441
+ constructor(id: number, name: string, icon?: string, url?: string, active?: boolean);
1442
+ title: string;
1443
+ current: boolean;
1444
+ description: string;
1445
+ form: FormClass;
1446
+ formType: any;
1447
+ onClick: (item: any) => void;
1448
+ onDelete: (item: any) => void;
1449
+ }
1450
+
1451
+ declare class StepsComponent implements OnInit {
1452
+ steps: StepsClass;
1453
+ saveNext: InputClass;
1454
+ editNext: InputClass;
1455
+ saveDone: InputClass;
1456
+ editDone: InputClass;
1457
+ previous: InputClass;
1458
+ constructor();
1459
+ changeStep(s: StepsItemClass): void;
1460
+ onDelete(s: StepsItemClass): void;
1461
+ ngOnInit(): void;
1462
+ nextStep(btn: InputClass, done?: boolean): void;
1463
+ static ɵfac: i0.ɵɵFactoryDeclaration<StepsComponent, never>;
1464
+ static ɵcmp: i0.ɵɵComponentDeclaration<StepsComponent, "lib-steps", never, { "steps": { "alias": "steps"; "required": false; }; }, {}, never, ["*"], true, never>;
1465
+ }
1466
+
1467
+ declare class NotfoundComponent {
1468
+ config: PsToolkitUiConfigService;
1469
+ back: InputClass;
1470
+ l: (k: any, v?: any) => string;
1471
+ constructor(config: PsToolkitUiConfigService);
1472
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotfoundComponent, never>;
1473
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotfoundComponent, "lib-notfound", never, {}, {}, never, never, true, never>;
1474
+ }
1475
+
1476
+ declare class CalendarComponent {
1477
+ config: PsToolkitUiConfigService;
1478
+ state: string;
1479
+ months: any[];
1480
+ active: moment.Moment;
1481
+ previousDays: DayClass[];
1482
+ nextDays: DayClass[];
1483
+ days: DayClass[];
1484
+ todayDay: number;
1485
+ todayMonth: number;
1486
+ todayYear: number;
1487
+ l: (k: any, v?: any) => string;
1488
+ constructor(config: PsToolkitUiConfigService);
1489
+ changeState(s: string): void;
1490
+ getYears(): number[];
1491
+ getActiveMonth(): string;
1492
+ add(c: number): void;
1493
+ changeMonth(c: number): void;
1494
+ changeYear(c: number): void;
1495
+ setDate(): void;
1496
+ isToday(m: moment.Moment, d: number): boolean;
1497
+ parseInt(n: any): number;
1498
+ setActive(m: any): void;
1499
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarComponent, never>;
1500
+ static ɵcmp: i0.ɵɵComponentDeclaration<CalendarComponent, "lib-calendar", never, {}, {}, never, never, true, never>;
1501
+ }
1502
+
1503
+ declare class ClockComponent implements OnInit, OnDestroy {
1504
+ clockInterval: any;
1505
+ active: moment.Moment;
1506
+ constructor();
1507
+ ngOnInit(): void;
1508
+ ngOnDestroy(): void;
1509
+ clockUpdate(): void;
1510
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClockComponent, never>;
1511
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClockComponent, "lib-clock", never, {}, {}, never, never, true, never>;
1512
+ }
1513
+
1514
+ declare class LoadingComponent {
1515
+ l: (k: any, v?: any) => string;
1516
+ constructor(config: PsToolkitUiConfigService);
1517
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoadingComponent, never>;
1518
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoadingComponent, "lib-loading", never, {}, {}, never, never, true, never>;
1519
+ }
1520
+
1521
+ declare class LoginClass {
1522
+ constructor(l: (k: any, v?: any) => string, type: string);
1523
+ modal: ModalClass;
1524
+ type: string;
1525
+ l: (k: any, v?: any) => string;
1526
+ steps: LoginStepClass[];
1527
+ active: number;
1528
+ onSuccess: (result: any) => void;
1529
+ sendCodeUrl: string;
1530
+ loginUrl: string;
1531
+ rules: string;
1532
+ setCookie(r: any): void;
1533
+ showModal(): void;
1534
+ }
1535
+ declare class LoginStepClass {
1536
+ constructor(form: FormClass);
1537
+ form: FormClass;
1538
+ show(result?: any): void;
1539
+ }
1540
+
1541
+ declare class LoginComponent implements OnInit {
1542
+ config: PsToolkitUiConfigService;
1543
+ login: LoginClass;
1544
+ loginTemplate: string;
1545
+ mobile: InputClass;
1546
+ username: InputClass;
1547
+ rulesModal: ModalClass;
1548
+ constructor(config: PsToolkitUiConfigService);
1549
+ ngOnInit(): void;
1550
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, never>;
1551
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "lib-login", never, { "login": { "alias": "login"; "required": false; }; "loginTemplate": { "alias": "loginTemplate"; "required": false; }; }, {}, never, never, true, never>;
1552
+ }
1553
+
1554
+ declare class TooltipComponent {
1555
+ text: string;
1556
+ position: string;
1557
+ constructor();
1558
+ static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
1559
+ static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "lib-tooltip", never, { "text": { "alias": "text"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, never, true, never>;
1560
+ }
1561
+
1562
1562
  declare class PsToolkitUiModule {
1563
1563
  static forRoot(config: any): ModuleWithProviders<PsToolkitUiModule>;
1564
1564
  static ɵfac: i0.ɵɵFactoryDeclaration<PsToolkitUiModule, never>;
1565
- static ɵmod: i0.ɵɵNgModuleDeclaration<PsToolkitUiModule, [typeof SidebarItemComponent, typeof SidebarComponent, typeof SubHeaderComponent, typeof FooterComponent, typeof StepsComponent, typeof HeaderComponent, typeof TooltipComponent, typeof AlertComponent, typeof LayoutComponent, typeof LoadingComponent, typeof NotfoundComponent, typeof CalendarComponent, typeof ClockComponent, typeof LoginComponent], [typeof FormSelectItemComponent, typeof FormCheckboxComponent, typeof TablePaginationComponent, typeof FormBankCardComponent, typeof FormPlaqueSelectComponent, typeof TableLoadingComponent, typeof FormTreeItemComponent, typeof FormTextboxComponent, typeof FormTextareaComponent, typeof FormIconComponent, typeof FormButtonComponent, typeof FormDatetimeComponent, typeof FormPlaqueComponent, typeof FormFileComponent, typeof FormSelectComponent, typeof FormTableComponent, typeof FormLabelComponent, typeof AccordionComponent, typeof FormRadioComponent, typeof ConfirmComponent, typeof TableComponent, typeof ModalComponent, typeof FormComponent, typeof TableRowComponent, typeof FormTreeComponent, typeof FormTimeComponent, typeof FormFingerComponent, typeof FormVehicleSearchComponent, typeof FormCkeditorComponent, typeof FormUploaderComponent, typeof FormVehicleComponent, typeof FormHiddenComponent, typeof FormToggleComponent, typeof ChartComponent, typeof FormTagComponent, typeof FormStarComponent, typeof FormSlideComponent, typeof FormDateComponent, typeof NotificationComponent, typeof ErrorComponent, typeof i55.CommonModule, typeof i56.RouterModule, typeof i57.FormsModule, typeof i58.CKEditorModule], [typeof FormSelectItemComponent, typeof FormCheckboxComponent, typeof TablePaginationComponent, typeof FormBankCardComponent, typeof SidebarItemComponent, typeof SidebarComponent, typeof FormDateComponent, typeof FormPlaqueSelectComponent, typeof TableLoadingComponent, typeof FormTreeItemComponent, typeof FormTextboxComponent, typeof FormTextareaComponent, typeof FormIconComponent, typeof FormButtonComponent, typeof FormDatetimeComponent, typeof FormPlaqueComponent, typeof SubHeaderComponent, typeof FooterComponent, typeof StepsComponent, typeof FormFileComponent, typeof FormSelectComponent, typeof FormTableComponent, typeof FormLabelComponent, typeof AccordionComponent, typeof FormRadioComponent, typeof HeaderComponent, typeof TooltipComponent, typeof ConfirmComponent, typeof TableComponent, typeof ModalComponent, typeof FormComponent, typeof TableRowComponent, typeof FormTreeComponent, typeof AlertComponent, typeof FormTimeComponent, typeof NotificationComponent, typeof FormFingerComponent, typeof FormVehicleSearchComponent, typeof FormCkeditorComponent, typeof FormUploaderComponent, typeof LayoutComponent, typeof LoadingComponent, typeof NotfoundComponent, typeof FormVehicleComponent, typeof FormHiddenComponent, typeof CalendarComponent, typeof FormToggleComponent, typeof ClockComponent, typeof ChartComponent, typeof FormTagComponent, typeof ErrorComponent, typeof LoginComponent, typeof FormStarComponent, typeof FormSlideComponent]>;
1565
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PsToolkitUiModule, never, [typeof FormSelectItemComponent, typeof FormCheckboxComponent, typeof TablePaginationComponent, typeof FormBankCardComponent, typeof FormPlaqueSelectComponent, typeof TableLoadingComponent, typeof FormTreeItemComponent, typeof FormTextboxComponent, typeof FormTextareaComponent, typeof FormIconComponent, typeof FormButtonComponent, typeof FormDatetimeComponent, typeof FormPlaqueComponent, typeof FormFileComponent, typeof FormSelectComponent, typeof FormTableComponent, typeof FormLabelComponent, typeof AccordionComponent, typeof FormRadioComponent, typeof ConfirmComponent, typeof TableComponent, typeof ModalComponent, typeof FormComponent, typeof TableRowComponent, typeof FormTreeComponent, typeof FormTimeComponent, typeof FormFingerComponent, typeof FormVehicleSearchComponent, typeof FormCkeditorComponent, typeof FormUploaderComponent, typeof FormVehicleComponent, typeof FormHiddenComponent, typeof FormToggleComponent, typeof ChartComponent, typeof FormTagComponent, typeof FormStarComponent, typeof FormSlideComponent, typeof FormDateComponent, typeof NotificationComponent, typeof ErrorComponent, typeof AlertComponent, typeof SidebarComponent, typeof SidebarItemComponent, typeof i44.CommonModule, typeof HeaderComponent, typeof FooterComponent, typeof SubHeaderComponent, typeof LayoutComponent, typeof StepsComponent, typeof NotfoundComponent, typeof CalendarComponent, typeof ClockComponent, typeof LoadingComponent, typeof LoginComponent, typeof TooltipComponent, typeof i56.RouterModule, typeof i57.FormsModule, typeof i58.CKEditorModule], [typeof FormSelectItemComponent, typeof FormCheckboxComponent, typeof TablePaginationComponent, typeof FormBankCardComponent, typeof SidebarItemComponent, typeof SidebarComponent, typeof FormDateComponent, typeof FormPlaqueSelectComponent, typeof TableLoadingComponent, typeof FormTreeItemComponent, typeof FormTextboxComponent, typeof FormTextareaComponent, typeof FormIconComponent, typeof FormButtonComponent, typeof FormDatetimeComponent, typeof FormPlaqueComponent, typeof SubHeaderComponent, typeof FooterComponent, typeof StepsComponent, typeof FormFileComponent, typeof FormSelectComponent, typeof FormTableComponent, typeof FormLabelComponent, typeof AccordionComponent, typeof FormRadioComponent, typeof HeaderComponent, typeof TooltipComponent, typeof ConfirmComponent, typeof TableComponent, typeof ModalComponent, typeof FormComponent, typeof TableRowComponent, typeof FormTreeComponent, typeof AlertComponent, typeof FormTimeComponent, typeof NotificationComponent, typeof FormFingerComponent, typeof FormVehicleSearchComponent, typeof FormCkeditorComponent, typeof FormUploaderComponent, typeof LayoutComponent, typeof LoadingComponent, typeof NotfoundComponent, typeof FormVehicleComponent, typeof FormHiddenComponent, typeof CalendarComponent, typeof FormToggleComponent, typeof ClockComponent, typeof ChartComponent, typeof FormTagComponent, typeof ErrorComponent, typeof LoginComponent, typeof FormStarComponent, typeof FormSlideComponent]>;
1566
1566
  static ɵinj: i0.ɵɵInjectorDeclaration<PsToolkitUiModule>;
1567
1567
  }
1568
1568