@pongrass/utils 1.1.7-v20 → 1.1.8-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/index.d.ts CHANGED
@@ -30,10 +30,17 @@ interface IConfig {
30
30
  defaultLoginRoute?: string;
31
31
  enableMenuFromSecurity?: boolean;
32
32
  userInactivityMinutes?: number;
33
+ formConfig?: {
34
+ formValidations?: IFormValidations$1;
35
+ };
33
36
  }
34
37
  interface ITableGrid {
35
38
  defaultPageSize: number;
36
39
  defaultPageSizeSelector: number[] | boolean;
40
+ defaultMinWidth: number;
41
+ }
42
+ interface IFormValidations$1 {
43
+ defaultDecimalPrecision: number;
37
44
  }
38
45
  interface IReportsConfig {
39
46
  showExport: boolean;
@@ -502,6 +509,12 @@ declare class MultiFormComponent implements OnInit, OnChanges {
502
509
  setDefaultAdvanceDate(currentDate: Date, defaultAdvance: string): any;
503
510
  private advanceDate;
504
511
  private findStopControl;
512
+ /**
513
+ * Set precision for float type
514
+ * @param value
515
+ * @returns
516
+ */
517
+ private updateFloatValue;
505
518
  static ɵfac: i0.ɵɵFactoryDeclaration<MultiFormComponent, never>;
506
519
  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>;
507
520
  }
@@ -691,6 +704,7 @@ declare class DecimalInputDirective implements OnInit, OnDestroy {
691
704
  private control;
692
705
  private sub;
693
706
  wsDecimalInput: number;
707
+ wsAcceptStringInput: boolean;
694
708
  private specialKeys;
695
709
  ngOnInit(): void;
696
710
  ngOnDestroy(): void;
@@ -700,7 +714,7 @@ declare class DecimalInputDirective implements OnInit, OnDestroy {
700
714
  private isValidInput;
701
715
  private getNextValue;
702
716
  static ɵfac: i0.ɵɵFactoryDeclaration<DecimalInputDirective, never>;
703
- static ɵdir: i0.ɵɵDirectiveDeclaration<DecimalInputDirective, "[wsDecimalInput]", never, { "wsDecimalInput": { "alias": "wsDecimalInput"; "required": false; }; }, {}, never, never, true, never>;
717
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DecimalInputDirective, "[wsDecimalInput]", never, { "wsDecimalInput": { "alias": "wsDecimalInput"; "required": false; }; "wsAcceptStringInput": { "alias": "wsAcceptStringInput"; "required": false; }; }, {}, never, never, true, never>;
704
718
  }
705
719
 
706
720
  declare class ShowTooltipIfTruncatedDirective {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pongrass/utils",
3
- "version": "1.1.7-v20",
3
+ "version": "1.1.8-v20",
4
4
  "description": "A collection of utility components and services for Angular applications",
5
5
  "keywords": [
6
6
  "angular",