@3kles/kles-material-dynamicforms 1.1.21 → 1.1.22

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.
@@ -11,6 +11,7 @@ export interface IUIButton {
11
11
  iconSvg?: string;
12
12
  disabled?: boolean;
13
13
  class?: string;
14
+ type?: string;
14
15
  }
15
16
  export declare class KlesButtonComponent implements OnInit, ControlValueAccessor {
16
17
  name: string;
@@ -19,6 +20,7 @@ export declare class KlesButtonComponent implements OnInit, ControlValueAccessor
19
20
  icon: string;
20
21
  iconSvg: string;
21
22
  disabled: boolean;
23
+ type: string;
22
24
  classButton: string;
23
25
  value: IButton;
24
26
  tooltip?: string;
@@ -54,4 +54,5 @@ export interface IKlesFieldConfig {
54
54
  updateOn?: 'change' | 'blur' | 'submit';
55
55
  debounceTime?: number;
56
56
  directive?: (new (ref: ViewContainerRef, field: IKlesField) => IKlesDirective);
57
+ buttonType?: 'submit' | 'button' | 'reset';
57
58
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3kles/kles-material-dynamicforms",
3
- "version": "1.1.21",
3
+ "version": "1.1.22",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "~9.1.9",
6
6
  "@angular/cdk": "^9.0.0",