chrv-components 1.12.113 → 1.12.115
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;
|
|
@@ -1204,6 +1204,12 @@ declare class ChrInputComponent implements ControlValueAccessor, OnInit {
|
|
|
1204
1204
|
* @description an additionnal type "time-seconds" is added for granularity
|
|
1205
1205
|
*/
|
|
1206
1206
|
readonly type: _angular_core.InputSignal<InputType>;
|
|
1207
|
+
/**
|
|
1208
|
+
* The type of the value that will be returned.
|
|
1209
|
+
* @description Used to return either a number from a number input (instead of the text value of the number) or a javascript Date object instead of the text value of said date.
|
|
1210
|
+
* @default The default is 'text' for all input but 'number' type inputs that defaults to 'number'
|
|
1211
|
+
*/
|
|
1212
|
+
readonly outputType: _angular_core.ModelSignal<"number" | "text" | "date">;
|
|
1207
1213
|
/**
|
|
1208
1214
|
* Step between two values. Only used when supported by the native HTML Input Element.
|
|
1209
1215
|
*/
|
|
@@ -1252,10 +1258,10 @@ declare class ChrInputComponent implements ControlValueAccessor, OnInit {
|
|
|
1252
1258
|
/**
|
|
1253
1259
|
* Position of the tooltip relative to the input
|
|
1254
1260
|
*/
|
|
1255
|
-
readonly tooltipPosition: _angular_core.InputSignal<"
|
|
1261
|
+
readonly tooltipPosition: _angular_core.InputSignal<"top" | "bottom" | "left" | "right">;
|
|
1256
1262
|
constructor();
|
|
1257
1263
|
readonly required: _angular_core.Signal<boolean>;
|
|
1258
|
-
readonly state: _angular_core.WritableSignal<"VALID" | "INVALID" | "
|
|
1264
|
+
readonly state: _angular_core.WritableSignal<"VALID" | "INVALID" | "WARNING" | "DISABLED" | "PENDING" | "IDLE">;
|
|
1259
1265
|
readonly valid: _angular_core.Signal<void>;
|
|
1260
1266
|
private readonly _elementRef;
|
|
1261
1267
|
private readonly _element;
|
|
@@ -1271,6 +1277,7 @@ declare class ChrInputComponent implements ControlValueAccessor, OnInit {
|
|
|
1271
1277
|
private configureDebouncing;
|
|
1272
1278
|
private configureEventListeners;
|
|
1273
1279
|
protected ensureNgControl: () => void;
|
|
1280
|
+
private ensureOutputType;
|
|
1274
1281
|
protected readonly onChange: (value: any | Event) => void;
|
|
1275
1282
|
readonly writeValue: (value: any) => void;
|
|
1276
1283
|
readonly registerOnChange: (fn: (value: any) => any) => void;
|
|
@@ -1280,7 +1287,7 @@ declare class ChrInputComponent implements ControlValueAccessor, OnInit {
|
|
|
1280
1287
|
readonly getLastError: () => string | null;
|
|
1281
1288
|
private readonly _getState;
|
|
1282
1289
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChrInputComponent, never>;
|
|
1283
|
-
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; }; "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; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; "isSignal": true; }; }, { "id": "idChange"; "name": "nameChange"; "value": "valueChange"; "displayValue": "displayValueChange"; "isDisabled": "isDisabledChange"; "isFocused": "isFocusedChange"; "ngControl": "ngControlChange"; "input": "input"; "debouncedInput": "debouncedInput"; "focus": "focus"; "enter": "enter"; "blur": "blur"; }, never, ["chr-input-indicators", "*", "chr-input-data", "chr-input-data-overlay"], true, never>;
|
|
1290
|
+
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; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; "isSignal": true; }; }, { "id": "idChange"; "name": "nameChange"; "value": "valueChange"; "displayValue": "displayValueChange"; "outputType": "outputTypeChange"; "isDisabled": "isDisabledChange"; "isFocused": "isFocusedChange"; "ngControl": "ngControlChange"; "input": "input"; "debouncedInput": "debouncedInput"; "focus": "focus"; "enter": "enter"; "blur": "blur"; }, never, ["chr-input-indicators", "*", "chr-input-data", "chr-input-data-overlay"], true, never>;
|
|
1284
1291
|
}
|
|
1285
1292
|
declare class ChrInputIndicators {
|
|
1286
1293
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChrInputIndicators, never>;
|
|
@@ -2461,7 +2468,7 @@ declare class DataListComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
2461
2468
|
|
|
2462
2469
|
declare class ChrHoverTitleComponent {
|
|
2463
2470
|
title: _angular_core.InputSignal<string>;
|
|
2464
|
-
position: _angular_core.InputSignal<"
|
|
2471
|
+
position: _angular_core.InputSignal<"left" | "right" | "above" | "below">;
|
|
2465
2472
|
originElement: _angular_core.InputSignal<HTMLElement | null>;
|
|
2466
2473
|
color: _angular_core.Signal<string>;
|
|
2467
2474
|
backgroundColor: _angular_core.Signal<string>;
|
|
@@ -2635,7 +2642,7 @@ declare class OutsideClickAwareDirective {
|
|
|
2635
2642
|
declare class ChrHoverTitleDirective implements OnInit, OnDestroy {
|
|
2636
2643
|
defaults: chrv_components.DebounceDefaults;
|
|
2637
2644
|
chrTitle: _angular_core.ModelSignal<string | null | undefined>;
|
|
2638
|
-
chrTitlePosition: _angular_core.InputSignal<"
|
|
2645
|
+
chrTitlePosition: _angular_core.InputSignal<"left" | "right" | "above" | "below">;
|
|
2639
2646
|
chrTitleSnap: _angular_core.InputSignal<boolean>;
|
|
2640
2647
|
chrTitleDebounce: _angular_core.InputSignal<number>;
|
|
2641
2648
|
private elementRef;
|
|
@@ -2700,7 +2707,7 @@ declare class ChrHoverDirective implements OnInit, OnDestroy {
|
|
|
2700
2707
|
template: TemplateRef<any>;
|
|
2701
2708
|
chrHoverContext: _angular_core.InputSignal<any>;
|
|
2702
2709
|
chrHoverSnap: _angular_core.InputSignal<boolean>;
|
|
2703
|
-
chrHoverPosition: _angular_core.InputSignal<"
|
|
2710
|
+
chrHoverPosition: _angular_core.InputSignal<"left" | "right" | "above" | "below">;
|
|
2704
2711
|
chrHoverCloseDelay: _angular_core.InputSignal<number>;
|
|
2705
2712
|
private overlayRef;
|
|
2706
2713
|
private portal?;
|
|
@@ -2727,7 +2734,7 @@ declare class ChrHoverDirective implements OnInit, OnDestroy {
|
|
|
2727
2734
|
*/
|
|
2728
2735
|
declare class ChrPopoverDirectiveDirective implements OnInit, AfterViewInit {
|
|
2729
2736
|
readonly chrPopover: _angular_core.InputSignal<string | TemplateRef<any>>;
|
|
2730
|
-
readonly chrPopoverPosition: _angular_core.InputSignal<"
|
|
2737
|
+
readonly chrPopoverPosition: _angular_core.InputSignal<"top" | "bottom" | "left" | "right" | "center">;
|
|
2731
2738
|
readonly chrPopoverOnHover: _angular_core.InputSignal<boolean>;
|
|
2732
2739
|
readonly isOpen: _angular_core.WritableSignal<boolean>;
|
|
2733
2740
|
private readonly renderer;
|
|
Binary file
|