chrv-components 1.12.201 → 1.12.202
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/package.json
CHANGED
|
@@ -58,7 +58,7 @@ declare class ChrButtonLegacyComponent {
|
|
|
58
58
|
readonly target: _angular_core.InputSignal<"_blank" | "_parent" | "_self" | "_top" | undefined>;
|
|
59
59
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
60
60
|
readonly tooltip: _angular_core.InputSignal<string | undefined>;
|
|
61
|
-
readonly tooltipPosition: _angular_core.InputSignal<"
|
|
61
|
+
readonly tooltipPosition: _angular_core.InputSignal<"left" | "right" | "above" | "below" | undefined>;
|
|
62
62
|
constructor();
|
|
63
63
|
doClick: () => void;
|
|
64
64
|
getBackgroundColor: (color: Color) => string;
|
|
@@ -1253,9 +1253,9 @@ declare class ChrInputComponent implements ControlValueAccessor, OnInit {
|
|
|
1253
1253
|
/**
|
|
1254
1254
|
* Position of the tooltip relative to the input
|
|
1255
1255
|
*/
|
|
1256
|
-
readonly tooltipPosition: _angular_core.InputSignal<"
|
|
1257
|
-
readonly required: _angular_core.
|
|
1258
|
-
readonly state: _angular_core.ModelSignal<"VALID" | "INVALID" | "
|
|
1256
|
+
readonly tooltipPosition: _angular_core.InputSignal<"top" | "bottom" | "left" | "right">;
|
|
1257
|
+
readonly required: _angular_core.ModelSignal<boolean>;
|
|
1258
|
+
readonly state: _angular_core.ModelSignal<"VALID" | "INVALID" | "WARNING" | "DISABLED" | "PENDING" | "IDLE">;
|
|
1259
1259
|
readonly errors: _angular_core.InputSignal<ValidationErrors | null | undefined>;
|
|
1260
1260
|
readonly valid: _angular_core.Signal<void>;
|
|
1261
1261
|
private readonly _elementRef;
|
|
@@ -1274,21 +1274,22 @@ declare class ChrInputComponent implements ControlValueAccessor, OnInit {
|
|
|
1274
1274
|
ngOnInit(): void;
|
|
1275
1275
|
private configureDebouncing;
|
|
1276
1276
|
private configureEventListeners;
|
|
1277
|
-
protected ensureNgControl
|
|
1277
|
+
protected ensureNgControl(): void;
|
|
1278
|
+
private ensureRequired;
|
|
1278
1279
|
private ensureState;
|
|
1279
1280
|
private ensureOutputType;
|
|
1280
1281
|
private ensureDefaultDisplayValue;
|
|
1281
|
-
protected
|
|
1282
|
-
protected
|
|
1282
|
+
protected formatValue(value: any): any;
|
|
1283
|
+
protected onChange(value: any | Event): void;
|
|
1283
1284
|
writeValue(value: any): void;
|
|
1284
1285
|
registerOnChange(fn: (value: any) => any): void;
|
|
1285
1286
|
registerOnTouched(fn: () => void): void;
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
private
|
|
1287
|
+
focusInput(): void;
|
|
1288
|
+
setDisabledState(isDisabled: boolean): void;
|
|
1289
|
+
getLastError(): string | null;
|
|
1290
|
+
private _getState;
|
|
1290
1291
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChrInputComponent, never>;
|
|
1291
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChrInputComponent, "chr-input", never, { "label": { "alias": "label"; "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; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "outputType": { "alias": "outputType"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "isFocused": { "alias": "isFocused"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "minLength": { "alias": "minLength"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "ngControl": { "alias": "ngControl"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "isIndicatorsOpen": { "alias": "isIndicatorsOpen"; "required": false; "isSignal": true; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; }, { "id": "idChange"; "name": "nameChange"; "value": "valueChange"; "displayValue": "displayValueChange"; "outputType": "outputTypeChange"; "isDisabled": "isDisabledChange"; "isFocused": "isFocusedChange"; "ngControl": "ngControlChange"; "isIndicatorsOpen": "isIndicatorsOpenChange"; "state": "stateChange"; "input": "input"; "change": "change"; "debouncedInput": "debouncedInput"; "focus": "focus"; "enter": "enter"; "blur": "blur"; }, never, ["chr-input-indicators", "chr-input-data-overlay", "*", "chr-input-data"], true, never>;
|
|
1292
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChrInputComponent, "chr-input", never, { "label": { "alias": "label"; "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; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "outputType": { "alias": "outputType"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "isFocused": { "alias": "isFocused"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "minLength": { "alias": "minLength"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "ngControl": { "alias": "ngControl"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "isIndicatorsOpen": { "alias": "isIndicatorsOpen"; "required": false; "isSignal": true; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; }, { "id": "idChange"; "name": "nameChange"; "value": "valueChange"; "displayValue": "displayValueChange"; "outputType": "outputTypeChange"; "isDisabled": "isDisabledChange"; "isFocused": "isFocusedChange"; "ngControl": "ngControlChange"; "isIndicatorsOpen": "isIndicatorsOpenChange"; "required": "requiredChange"; "state": "stateChange"; "input": "input"; "change": "change"; "debouncedInput": "debouncedInput"; "focus": "focus"; "enter": "enter"; "blur": "blur"; }, never, ["chr-input-indicators", "chr-input-data-overlay", "*", "chr-input-data"], true, never>;
|
|
1292
1293
|
}
|
|
1293
1294
|
declare class ChrInputIndicators {
|
|
1294
1295
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChrInputIndicators, never>;
|
|
@@ -1404,7 +1405,7 @@ declare class ChrSearchSelectInputComponent extends ChrInputComponent implements
|
|
|
1404
1405
|
readonly display: _angular_core.InputSignal<(value: any | null | undefined) => string>;
|
|
1405
1406
|
constructor();
|
|
1406
1407
|
ngOnInit(): void;
|
|
1407
|
-
formatValue
|
|
1408
|
+
formatValue(value: any): string;
|
|
1408
1409
|
/**
|
|
1409
1410
|
* Force the value to be null when the user types.
|
|
1410
1411
|
* Only a click on the datalist or a full text match should select a value
|
|
@@ -1422,7 +1423,7 @@ declare class ChrTagSelectInputComponent extends ChrInputComponent implements Co
|
|
|
1422
1423
|
constructor();
|
|
1423
1424
|
ngOnInit(): void;
|
|
1424
1425
|
writeValue(value: any): void;
|
|
1425
|
-
formatValue
|
|
1426
|
+
formatValue(value: any): string;
|
|
1426
1427
|
readonly selectedItems: _angular_core.Signal<any[]>;
|
|
1427
1428
|
readonly filteredOptions: _angular_core.Signal<any[]>;
|
|
1428
1429
|
readonly selectOption: (event: any) => void;
|
|
@@ -2497,7 +2498,7 @@ declare class DataListComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
2497
2498
|
|
|
2498
2499
|
declare class ChrHoverTitleComponent {
|
|
2499
2500
|
title: _angular_core.InputSignal<string>;
|
|
2500
|
-
position: _angular_core.InputSignal<"
|
|
2501
|
+
position: _angular_core.InputSignal<"left" | "right" | "above" | "below">;
|
|
2501
2502
|
originElement: _angular_core.InputSignal<HTMLElement | null>;
|
|
2502
2503
|
color: _angular_core.Signal<string>;
|
|
2503
2504
|
backgroundColor: _angular_core.Signal<string>;
|
|
@@ -2671,7 +2672,7 @@ declare class OutsideClickAwareDirective {
|
|
|
2671
2672
|
declare class ChrHoverTitleDirective implements OnInit, OnDestroy {
|
|
2672
2673
|
defaults: chrv_components.DebounceDefaults;
|
|
2673
2674
|
chrTitle: _angular_core.ModelSignal<string | null | undefined>;
|
|
2674
|
-
chrTitlePosition: _angular_core.InputSignal<"
|
|
2675
|
+
chrTitlePosition: _angular_core.InputSignal<"left" | "right" | "above" | "below">;
|
|
2675
2676
|
chrTitleSnap: _angular_core.InputSignal<boolean>;
|
|
2676
2677
|
chrTitleDebounce: _angular_core.InputSignal<number>;
|
|
2677
2678
|
private elementRef;
|
|
@@ -2736,7 +2737,7 @@ declare class ChrHoverDirective implements OnInit, OnDestroy {
|
|
|
2736
2737
|
template: TemplateRef<any>;
|
|
2737
2738
|
chrHoverContext: _angular_core.InputSignal<any>;
|
|
2738
2739
|
chrHoverSnap: _angular_core.InputSignal<boolean>;
|
|
2739
|
-
chrHoverPosition: _angular_core.InputSignal<"
|
|
2740
|
+
chrHoverPosition: _angular_core.InputSignal<"left" | "right" | "above" | "below">;
|
|
2740
2741
|
chrHoverCloseDelay: _angular_core.InputSignal<number>;
|
|
2741
2742
|
private overlayRef;
|
|
2742
2743
|
private portal?;
|
|
@@ -2763,7 +2764,7 @@ declare class ChrHoverDirective implements OnInit, OnDestroy {
|
|
|
2763
2764
|
*/
|
|
2764
2765
|
declare class ChrPopoverDirective implements OnInit, AfterViewInit {
|
|
2765
2766
|
readonly chrPopover: _angular_core.InputSignal<string | TemplateRef<any>>;
|
|
2766
|
-
readonly chrPopoverPosition: _angular_core.InputSignal<"
|
|
2767
|
+
readonly chrPopoverPosition: _angular_core.InputSignal<"top" | "bottom" | "left" | "right" | "center">;
|
|
2767
2768
|
readonly chrPopoverData: _angular_core.InputSignal<any>;
|
|
2768
2769
|
readonly chrPopoverOnHover: _angular_core.InputSignal<boolean>;
|
|
2769
2770
|
readonly isOpen: _angular_core.WritableSignal<boolean>;
|
|
Binary file
|