@pongrass/utils 1.1.1-v20 → 1.1.3-v20
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/fesm2022/pongrass-utils.mjs +39 -38
- package/fesm2022/pongrass-utils.mjs.map +1 -1
- package/index.d.ts +17 -12
- package/package.json +4 -2
package/index.d.ts
CHANGED
|
@@ -407,7 +407,7 @@ declare class MultiFormComponent implements OnInit, OnChanges {
|
|
|
407
407
|
private advanceDate;
|
|
408
408
|
private findStopControl;
|
|
409
409
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiFormComponent, never>;
|
|
410
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiFormComponent, "
|
|
410
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiFormComponent, "prg-ws-multi-form", never, { "config": { "alias": "config"; "required": false; }; "showUnsavedFlags": { "alias": "showUnsavedFlags"; "required": false; }; "currentTableGridsSelectedIndex": { "alias": "currentTableGridsSelectedIndex"; "required": false; }; "formId": { "alias": "formId"; "required": false; }; }, { "fieldAction": "fieldAction"; "formSavedUnsavedListen": "formSavedUnsavedListen"; "selectionChangeEvent": "selectionChangeEvent"; }, never, never, false, never>;
|
|
411
411
|
}
|
|
412
412
|
|
|
413
413
|
declare class ITableGridConfiguration {
|
|
@@ -564,14 +564,14 @@ declare class CircularFocusDirective implements AfterViewInit, OnDestroy {
|
|
|
564
564
|
private getFocusableElements;
|
|
565
565
|
onKeyDown(event: KeyboardEvent): void;
|
|
566
566
|
static ɵfac: i0.ɵɵFactoryDeclaration<CircularFocusDirective, never>;
|
|
567
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CircularFocusDirective, "[
|
|
567
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CircularFocusDirective, "[wsCircularFocus]", never, { "formId": { "alias": "formId"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, {}, never, never, true, never>;
|
|
568
568
|
}
|
|
569
569
|
|
|
570
570
|
declare class DecimalInputDirective implements OnInit, OnDestroy {
|
|
571
571
|
private el;
|
|
572
572
|
private control;
|
|
573
573
|
private sub;
|
|
574
|
-
|
|
574
|
+
wsDecimalInput: number;
|
|
575
575
|
private specialKeys;
|
|
576
576
|
ngOnInit(): void;
|
|
577
577
|
ngOnDestroy(): void;
|
|
@@ -581,7 +581,7 @@ declare class DecimalInputDirective implements OnInit, OnDestroy {
|
|
|
581
581
|
private isValidInput;
|
|
582
582
|
private getNextValue;
|
|
583
583
|
static ɵfac: i0.ɵɵFactoryDeclaration<DecimalInputDirective, never>;
|
|
584
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DecimalInputDirective, "[
|
|
584
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DecimalInputDirective, "[wsDecimalInput]", never, { "wsDecimalInput": { "alias": "wsDecimalInput"; "required": false; }; }, {}, never, never, true, never>;
|
|
585
585
|
}
|
|
586
586
|
|
|
587
587
|
declare class ShowTooltipIfTruncatedDirective {
|
|
@@ -592,7 +592,7 @@ declare class ShowTooltipIfTruncatedDirective {
|
|
|
592
592
|
onMouseLeave(): void;
|
|
593
593
|
private isTextTruncated;
|
|
594
594
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShowTooltipIfTruncatedDirective, never>;
|
|
595
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ShowTooltipIfTruncatedDirective, "[
|
|
595
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ShowTooltipIfTruncatedDirective, "[wsShowTooltipIfTruncated]", never, { "tooltipText": { "alias": "wsShowTooltipIfTruncated"; "required": false; }; }, {}, never, never, true, never>;
|
|
596
596
|
}
|
|
597
597
|
|
|
598
598
|
declare class MultiSelectStylerDirective implements OnInit, OnDestroy {
|
|
@@ -600,7 +600,7 @@ declare class MultiSelectStylerDirective implements OnInit, OnDestroy {
|
|
|
600
600
|
private renderer;
|
|
601
601
|
private el;
|
|
602
602
|
private mutationObserver?;
|
|
603
|
-
|
|
603
|
+
wsMultiSelectStyler: boolean;
|
|
604
604
|
options: IColorOption[];
|
|
605
605
|
private multiSelect;
|
|
606
606
|
ngOnInit(): void;
|
|
@@ -609,7 +609,7 @@ declare class MultiSelectStylerDirective implements OnInit, OnDestroy {
|
|
|
609
609
|
private updateSelectedItem;
|
|
610
610
|
ngOnDestroy(): void;
|
|
611
611
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectStylerDirective, never>;
|
|
612
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MultiSelectStylerDirective, "[
|
|
612
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MultiSelectStylerDirective, "[wsMultiSelectStyler]", never, { "wsMultiSelectStyler": { "alias": "wsMultiSelectStyler"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, {}, never, never, true, never>;
|
|
613
613
|
}
|
|
614
614
|
|
|
615
615
|
declare class MultiFormModule {
|
|
@@ -697,7 +697,7 @@ declare class TableGridComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
697
697
|
onCellValueChanged(event: CellValueChangedEvent): void;
|
|
698
698
|
ngOnDestroy(): void;
|
|
699
699
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableGridComponent, never>;
|
|
700
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableGridComponent, "
|
|
700
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableGridComponent, "prg-ws-table-grid", never, { "tableConfiguration": { "alias": "tableConfiguration"; "required": false; }; "columnToolVisible": { "alias": "columnToolVisible"; "required": false; }; "initialPageNumber": { "alias": "initialPageNumber"; "required": false; }; }, { "tableGridReady": "tableGridReady"; "tableRowSelection": "tableRowSelection"; "tableRowClicked": "tableRowClicked"; "columnStateEvent": "columnStateEvent"; "pageChange": "pageChange"; "filterChanged": "filterChanged"; "cellValueChanged": "cellValueChanged"; }, never, never, false, never>;
|
|
701
701
|
}
|
|
702
702
|
|
|
703
703
|
declare class TableGridModule {
|
|
@@ -720,7 +720,7 @@ declare class BackgroundImageDirective implements OnInit {
|
|
|
720
720
|
ngOnInit(): void;
|
|
721
721
|
private setBackgroundImage;
|
|
722
722
|
static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundImageDirective, never>;
|
|
723
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundImageDirective, "[
|
|
723
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundImageDirective, "[wsBackgroundImage]", never, { "random": { "alias": "random"; "required": false; }; "backgroundImage": { "alias": "backgroundImage"; "required": false; }; }, {}, never, never, true, never>;
|
|
724
724
|
}
|
|
725
725
|
|
|
726
726
|
interface IExcelHeaders {
|
|
@@ -805,6 +805,11 @@ interface ILoginConfig {
|
|
|
805
805
|
/** If true → pick a random image on each load */
|
|
806
806
|
random: boolean;
|
|
807
807
|
};
|
|
808
|
+
version?: {
|
|
809
|
+
currentVersion: string;
|
|
810
|
+
brandName: string;
|
|
811
|
+
copyrightYear: string;
|
|
812
|
+
};
|
|
808
813
|
}
|
|
809
814
|
declare enum ILOGIN_ACTION {
|
|
810
815
|
SUBMIT = "submit",
|
|
@@ -816,12 +821,12 @@ declare class LoginComponent implements OnInit {
|
|
|
816
821
|
private readonly rendererService;
|
|
817
822
|
private readonly formBuilder;
|
|
818
823
|
config: i0.InputSignal<ILoginConfig>;
|
|
824
|
+
showInactivityLogoutMessage: i0.InputSignal<boolean>;
|
|
819
825
|
action: i0.OutputEmitterRef<{
|
|
820
826
|
type: string;
|
|
821
827
|
data?: any;
|
|
822
828
|
}>;
|
|
823
|
-
isFormSubmitted: i0.
|
|
824
|
-
showInactivityLogoutMessage: i0.InputSignal<boolean>;
|
|
829
|
+
isFormSubmitted: i0.WritableSignal<boolean>;
|
|
825
830
|
loginForm: FormGroup;
|
|
826
831
|
contactSupportValue: string;
|
|
827
832
|
forgetPasswordValue: string;
|
|
@@ -831,7 +836,7 @@ declare class LoginComponent implements OnInit {
|
|
|
831
836
|
onSubmit(): void;
|
|
832
837
|
private initializeInitialValues;
|
|
833
838
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, never>;
|
|
834
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "prg-ws-login", never, { "config": { "alias": "config"; "required": true; "isSignal": true; }; "
|
|
839
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "prg-ws-login", never, { "config": { "alias": "config"; "required": true; "isSignal": true; }; "showInactivityLogoutMessage": { "alias": "showInactivityLogoutMessage"; "required": false; "isSignal": true; }; }, { "action": "action"; }, never, never, false, never>;
|
|
835
840
|
}
|
|
836
841
|
|
|
837
842
|
declare class LoginModule {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pongrass/utils",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3-v20",
|
|
4
4
|
"description": "A collection of utility components and services for Angular applications",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -27,7 +27,9 @@
|
|
|
27
27
|
"@ag-grid-community/infinite-row-model": "^32.3.9",
|
|
28
28
|
"@ag-grid-community/styles": "^32.3.9",
|
|
29
29
|
"exceljs": "^4.4.0",
|
|
30
|
-
"ngx-bootstrap": "^20.0.2"
|
|
30
|
+
"ngx-bootstrap": "^20.0.2",
|
|
31
|
+
"ngx-toastr": "^19.1.0",
|
|
32
|
+
"sweetalert2": "11.4.8"
|
|
31
33
|
},
|
|
32
34
|
"dependencies": {
|
|
33
35
|
"tslib": "^2.3.0"
|