chrv-components 1.11.58 → 1.11.60

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
@@ -45,12 +45,12 @@ declare class ChrButtonComponent {
45
45
  readonly textColor: _angular_core.InputSignal<Color | undefined>;
46
46
  readonly flat: _angular_core.InputSignal<boolean>;
47
47
  readonly predicate: _angular_core.InputSignal<boolean | undefined>;
48
- readonly type: _angular_core.InputSignal<"none" | "responsive" | "table" | "full" | "fixed" | "small">;
48
+ readonly type: _angular_core.InputSignal<"none" | "fixed" | "small" | "responsive" | "table" | "full">;
49
49
  readonly href: _angular_core.InputSignal<string | undefined>;
50
50
  readonly target: _angular_core.InputSignal<"_blank" | "_parent" | "_self" | "_top" | undefined>;
51
51
  readonly disabled: _angular_core.InputSignal<boolean>;
52
52
  readonly tooltip: _angular_core.InputSignal<string | undefined>;
53
- readonly tooltipPosition: _angular_core.InputSignal<"above" | "below" | "left" | "right" | "before" | "after" | undefined>;
53
+ readonly tooltipPosition: _angular_core.InputSignal<"left" | "right" | "above" | "below" | "before" | "after" | undefined>;
54
54
  constructor();
55
55
  doClick: () => void;
56
56
  getBackgroundColor: (color: Color) => string;
@@ -119,7 +119,7 @@ interface IContextMenuItem {
119
119
  /**
120
120
  * Action to trigger when the menu item is clicked
121
121
  */
122
- action: Function;
122
+ action: Function | (() => void | any);
123
123
  /**
124
124
  * Optional Material Icon name to display
125
125
  */
@@ -753,7 +753,7 @@ declare class ChrBaseInputComponent implements OnInit, ControlValueAccessor, Aft
753
753
  private configureValidityReplication;
754
754
  private configureFormControl;
755
755
  protected doCallback: () => void;
756
- protected visualState: () => "error" | "empty" | "valid" | "default";
756
+ protected visualState: () => "error" | "default" | "empty" | "valid";
757
757
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChrBaseInputComponent, never>;
758
758
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChrBaseInputComponent, "chr-base-input", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "displayValue": { "alias": "displayValue"; "required": false; "isSignal": true; }; "span": { "alias": "span"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconCallback": { "alias": "iconCallback"; "required": false; "isSignal": true; }; "iconCallbackDisabled": { "alias": "iconCallbackDisabled"; "required": false; "isSignal": true; }; "iconTooltip": { "alias": "iconTooltip"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; "validations": { "alias": "validations"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "autofocus": { "alias": "autofocus"; "required": false; "isSignal": true; }; "base64": { "alias": "base64"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "siblings": { "alias": "siblings"; "required": false; "isSignal": true; }; "mask": { "alias": "mask"; "required": false; "isSignal": true; }; "shownMaskExpression": { "alias": "shownMaskExpression"; "required": false; "isSignal": true; }; "maskValidation": { "alias": "maskValidation"; "required": false; "isSignal": true; }; }, { "name": "nameChange"; "value": "valueChange"; "displayValue": "displayValueChange"; "focus": "focus"; "blur": "blur"; "disabled": "disabledChange"; }, never, never, true, never>;
759
759
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chrv-components",
3
- "version": "1.11.58",
3
+ "version": "1.11.60",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=17.0.0",
6
6
  "@angular/core": ">=17.0.0",
Binary file