dino-forms 1.0.1 → 1.1.0

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,5 +1,6 @@
1
1
  export declare class Constants {
2
2
  static readonly EMPTY_SPACE = "";
3
+ static readonly BLANK_SPACE = " ";
3
4
  static readonly VERTICAL_BAR = "|";
4
5
  static readonly BACK_SLASH = "/";
5
6
  static readonly LEFT_PARENTHESIS = "(";
@@ -15,4 +16,12 @@ export declare class Constants {
15
16
  static readonly AMPERSAND = "&";
16
17
  static readonly EQUAL = "=";
17
18
  static readonly QUESTION_MARK = "?";
19
+ static readonly DFLEX = "d-flex";
20
+ static readonly JUSTIFY_CONTENT = "justify-content-";
21
+ static readonly END = "end";
22
+ static readonly START = "start";
23
+ static readonly CENTER = "center";
24
+ static readonly MS4 = "ms-4";
25
+ static readonly ME4 = "me-4";
26
+ static readonly M4 = "m-4";
18
27
  }
@@ -11,4 +11,5 @@ export declare class FormsUtility {
11
11
  static includeRequired(validators: Array<any>): boolean;
12
12
  static resetForm(fields: any[], form: FormGroup): FormGroup;
13
13
  static setValidators(input: any, form: FormGroup, result: boolean): void;
14
+ static getMargin(justify: string): "ms-4" | "me-4" | "m-4";
14
15
  }
@@ -6,9 +6,11 @@ export declare class ExpressionsFormComponent implements OnInit {
6
6
  activeMap: Map<any, any>;
7
7
  fileList: File;
8
8
  fileName: string;
9
+ buttonMargin: string;
9
10
  formFields: Array<any>;
10
11
  disabled: boolean;
11
12
  buttons: Array<any>;
13
+ buttonsJustify: string;
12
14
  onSubmit: EventEmitter<any>;
13
15
  onInit: EventEmitter<FormGroup>;
14
16
  alert_timeout: number;
@@ -54,5 +56,5 @@ export declare class ExpressionsFormComponent implements OnInit {
54
56
  setSecondary(label: string): void;
55
57
  setAlertTimeout(timeout: number): void;
56
58
  static ɵfac: i0.ɵɵFactoryDeclaration<ExpressionsFormComponent, never>;
57
- static ɵcmp: i0.ɵɵComponentDeclaration<ExpressionsFormComponent, "df-expressions-form", never, { "formFields": "formFields"; "disabled": "disabled"; "buttons": "buttons"; }, { "onSubmit": "onSubmit"; "onInit": "onInit"; }, never, never>;
59
+ static ɵcmp: i0.ɵɵComponentDeclaration<ExpressionsFormComponent, "df-expressions-form", never, { "formFields": "formFields"; "disabled": "disabled"; "buttons": "buttons"; "buttonsJustify": "buttonsJustify"; }, { "onSubmit": "onSubmit"; "onInit": "onInit"; }, never, never>;
58
60
  }
@@ -5,9 +5,11 @@ export declare class FormComponent implements OnInit {
5
5
  form: FormGroup;
6
6
  fileList: File;
7
7
  fileName: string;
8
+ buttonMargin: string;
8
9
  formFields: Array<any>;
9
10
  disabled: boolean;
10
11
  buttons: any[];
12
+ buttonsJustify: string;
11
13
  onSubmit: EventEmitter<any>;
12
14
  alert_timeout: number;
13
15
  danger: any;
@@ -47,5 +49,5 @@ export declare class FormComponent implements OnInit {
47
49
  setAlertTimeout(timeout: number): void;
48
50
  getIconClass(input: any): any;
49
51
  static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
50
- static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "df-form", never, { "formFields": "formFields"; "disabled": "disabled"; "buttons": "buttons"; }, { "onSubmit": "onSubmit"; }, never, never>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "df-form", never, { "formFields": "formFields"; "disabled": "disabled"; "buttons": "buttons"; "buttonsJustify": "buttonsJustify"; }, { "onSubmit": "onSubmit"; }, never, never>;
51
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dino-forms",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.1.3",
6
6
  "@angular/core": "^12.1.3",